@charset "utf-8";

html{
    font-size: 62.5%;
}

body,h1,h2,h3,h4,dl,dt,dd,ul,ol,li,table,tr,th,td,p{
    margin: 0;
    padding: 0;
    list-style: none;
}

img{
    vertical-align: bottom;
}

*{
    box-sizing: border-box;
    color: #333;
}

p,th,td,li{
    font-size: 1.8rem;
}

body{
    font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
}

.clearfix::after{
    content: "";
    display: block;
    clear: both;
}

.inner{
    width: 1060px;
    margin-left: auto;
    margin-right: auto;
}

.inner_hd{
    width: 770px;
    margin-left: auto;
    margin-right: auto;
}

.df{
    display: flex;
}

.df_sp{
    display: flex;
}

.jc_sb{
    justify-content: space-between;
}

header{
    background-color: #ffcce5;
    width: 100%;
    height: 70px;
    top: 0;
    left: 0;
    z-index: 100;
    overflow: hidden;
}

header .logo{
    margin-top: 5px;
}

header .hm_btn{
    display: none;
}

.hm_btn, .hm_btn span {
    display: inline-block;
    transition: all .4s;
    box-sizing: border-box;
}

header .hm_btn {
    left: 290px;
    position: relative;
    transform: translateX(100%);
    top: 32px;
    width: 30px;
    height: 25px;
    background: none;
    border: none;
    appearance: none;
    cursor: pointer;
    margin-top: -20px;
}

header .hm_btn span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #333;
    border-radius: 2px;
}

header .hm_btn span:nth-of-type(1) {
    top: 0;
}

header .hm_btn span:nth-of-type(2) {
    top: 12px;
}

header .hm_btn span:nth-of-type(3) {
    bottom: 0;
}

header .hm_btn.active span:nth-of-type(1) {
    transform: translateY(10px) rotate(-45deg);
}

header .hm_btn.active span:nth-of-type(2) {
    opacity: 0;
}

header .hm_btn.active span:nth-of-type(3) {
    transform: translateY(-13px) rotate(45deg);
}

.line_icon_sp{
    display: none;
}

header nav{
    margin-top: 40px;
    padding-bottom: 50px;
}

header nav ul{
    margin-left: 40px;
}

header nav li{
    margin-left: 40px;
}

header nav p{
    font-size: 1.6rem;
}

header nav a{
    text-decoration: none;
}

header nav a:hover{
    color: #fff;
    text-decoration: underline;
}

.line_icon{
    margin-top: 20px;
    margin-left: 40px;
}

main .inner{
    position: relative;
    padding-bottom: 95px;
}

h1{
    font-size: 4rem;
    width: 270px;
    text-align: center;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
}

table{
    border-spacing: 0;
    border-collapse: collapse;
    table-layout: fixed;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

caption{
    font-size: 2.5rem;
}

th, td{
    border: 1px solid #000;
    padding: 10px;
}

th{
    text-align: center;
    background-color: #ccf9ff;
}

td{
    text-align: center;
}

main h2{
    font-size: 2.5rem;
    position: relative;
    margin-bottom: 50px;
    margin-left: 40px;
}

main h2::before{
    content:"";
    position:absolute;
    display: block;
    width:30px;
    height:30px;
    margin:0 0 0 -40px;
    background-image: linear-gradient(to right,#ffcce5, #ccf9ff);
    background-size:contain;
    border-radius:50%;
    box-shadow: 5px 5px 5px rgba(220, 204, 255);
}

main h3{
    font-size: 2rem;
    margin-bottom: 20px;
}

.btn_pg{
    font-size: 3rem;
    text-indent: -1rem;
    text-align: center;
    background-image: linear-gradient(to right,#ffcce5, #ccf9ff);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: block;
    margin-left: auto;
    position: relative;
}

.btn_pg:hover{
    box-shadow: 0 5px 0 #ff99ca;
    transform: translate(0, 5px);
}

.btn_pg::after{
    content: "≫";
    font-size: 2.3rem;
    width: 25px;
    position: absolute;
    top: 62px;
    right: 10px;
    pointer-events: none;
}

.btn_circle{
    text-decoration: none;
    display: block;
    box-sizing: border-box;
    line-height: 5;
    width: 150px;
    height: 150px;
    border-radius: 50%;
}

.strong{
    background-image: linear-gradient(to right,#ffcce5, #ccf9ff);
}

.hr_line{
    border-width: 3px 0 0 0;
	border-style: dotted;
	border-color: #dcccff;
    margin-bottom: 50px;
}

main .totop{
    position: absolute;
    bottom: 50px;
    right: 0;
    width: 100px;
    height: 100px;
    border: 3px solid #dcccff;
    border-radius: 50%;
    box-sizing: border-box;
    cursor: pointer;
}

main .totop a{
    display: block;
    box-sizing: border-box;
    width: 40px;
    height: 40px;
    position: relative;
    left: 40px;
    top: calc(58% - 5px);
    border-top: 5px solid #dcccff;
    border-right: 5px solid #dcccff;
    transform: rotate(315deg) translateY(-50%);
}

main .totop_sp{
    display: none;
}

footer{
    background-color: #ffcce5;
}

footer .ft_address{
    margin-top: 20px;
}

footer .ft_sns_icon{
    width: 200px;
    flex-wrap: wrap;
    padding-left: 30px;
}

footer .ft_line_icon{
    margin-top: 20px;
}

footer .ft_icon{
    justify-content: space-around;
}

footer .ft_icon li:last-child{
    margin-left: 20px;
}

footer .ft_nav ul{
    margin-top: 75px;
}

footer .ft_nav li{
    margin-left: 30px;
}

footer .ft_nav li a{
    font-size: 1.6rem;
    text-decoration: none;
}

footer .ft_nav li a:hover{
    color: #fff;
    text-decoration: underline;
}

footer .ft .small{
    text-align: center;
}

@media screen and (max-width:640px){
    img{
        width : 100%;
        height: auto;
    }
    .inner{
        width: auto;
    }

    p, th, td, li{
        font-size: 1.6rem;
    }

    nav{
        display: none;
    }

    .df_sp{
        flex-direction: column;
    }

    .inner_hd{
        width: auto;
    }

    header{
        height: auto;
    }

    header .logo {
        width: 10%;
        margin-top: 0;
        margin-left: 15px;
        margin-bottom: 10px;
    }

    header .hd .logo a{
        display: block;
    }

    header .line_icon_sp{
        display: block;
        width: 30%;
        margin-left: auto;
        margin-right: 80px;
        margin-top: -45px;
        margin-bottom: 7px;
    }

    .line_icon{
        display: none;
    }

    header .hm_btn{
        display: block;
    }

    header nav{
        margin-top: 0;
        padding-bottom: 0;
    }

    header nav ul{
        margin-left: 0;
        text-align: center;
    }

    header nav ul li{
        margin-left: 0;
    }
    
    header nav p{
    line-height: 2.5;
    }

    h1{
        height: 40px;
    }

    main h2{
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    main h2::before{
        content:"";
        position:absolute;
        display: block;
        width:20px;
        height:20px;
        margin:0 0 0 -30px;
        background-image: linear-gradient(to right,#ffcce5, #ccf9ff);
        background-size:contain;
        border-radius:50%;
        box-shadow: 5px 5px 5px rgba(220, 204, 255);
    }

    caption{
        font-size: 2rem;
        margin-bottom: 20px;
    }

    main th, main td{
        padding: 5px;
    }

    main .nav-links{
        margin-bottom: 80px;
    }

    .btn_pg{
        font-size: 2.5rem;
        width: 100px;
        height: 100px;
    }
    
    .btn_pg::after{
        content: "≫";
        font-size: 2.3rem;
        top: 35px;
        right: 0;
    }
    
    .btn_circle{
        text-decoration: none;
        display: block;
        box-sizing: border-box;
        line-height: 4;
        width: 100px;
        height: 100px;
        border-radius: 50%;
      }

    .hr_line{
        margin-bottom: 30px;
    }

    main .totop{
        display: none;
    }

    main .totop_sp{
        display: block;
        position: absolute;
        bottom: 50px;
        right: 0;
        width: 50px;
        height: 50px;
        border: 3px solid #dcccff;
        border-radius: 50%;
        box-sizing: border-box;
        cursor: pointer;
        margin-right: 30px;
    }
    
    main .totop_sp a {
        display: block;
        box-sizing: border-box;
        width: 20px;
        height: 20px;
        position: relative;
        left: 20px;
        top: calc(60% - 3px);
        border-top: 3px solid #dcccff;
        border-right: 3px solid #dcccff;
        transform: rotate(315deg) translateY(-50%);
    }

    footer .ft_nav{
        order: -2;
    }

    footer .ft_sns_icon{
        order: -1;
        margin-bottom: 20px;
    }

    footer .ft_nav ul{
        text-align: center;
        margin-top: 40px;
    }

    footer .ft_nav ul li{
        margin-left: 0;
        margin-bottom: 15px;
    }

    footer .ft_address{
        margin-top: 0;
        margin-bottom: 20px;
    }

    footer .ft_address p{
        font-size: 1.3rem;
        text-align: center;
    }

    footer .ft_icon{
        margin-top: 0;
        margin-left: auto;
        margin-right: auto;
    }

    footer .ft_sns_icon{
        width: 130px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 0;
    }

    footer .ft_line_icon{
        margin-bottom: 20px;
    }

    footer .ft_icon{
        margin-bottom: 20px;
    }

}