@charset "utf-8";
@media screen and (min-width: 961px){
    a:hover{
        opacity: 0.6;
    }    
    .hidden-pc{
    display: none;
    }
    header{
        max-width:1200px;
        margin: auto;
        overflow: hidden;
        box-sizing: border-box;
        z-index: 10000000;
        background-color: #FFF;
        width: 100%;
        display: flex;
        justify-content: space-between;

    }
    #logo{
        width: 153px;
        height: 153px;
    }
    #logo img{
        width: 100%;
    }
    #g-nav{
        width: 57%;
        box-sizing: border-box;

    }
    #g-nav ul{
        display: flex;
    }
    #g-nav li{
        box-sizing: border-box;
        width: 20%;
    }
    #g-nav li a{
        display: block;
        text-align: center;
        line-height: 153px;
    }
    /* ヘッダー予約ボタン */
    #reservation{
        float: right;
        overflow: hidden;
        box-sizing: border-box;

    }
    #reservation ul{
        overflow: hidden;
    }
    #reservation li a{
        display: block;
        width: 100%;
        height: 100%;
        color: #fff;
        text-align: center;
    } 
    #reservation span{
        position: absolute;
        bottom: 5%;
        left: 50%;
        transform: translateX(-50%);  /* 中央寄せ */
        white-space: nowrap;
    }
    #reservation li{
        float: left;
        box-sizing: border-box;
        width: 127px;
        height: 153px;
        position: relative;
    }
    #reservation li::before{
        content: "";
        position: absolute;
        width: 71px;
        height: 71px;
        left: 50%;
        top: 38%;
        transform: translate(-50%,-50%);
        background-repeat: no-repeat;
    }
    #reservation li:nth-child(1){
        background-color: #ffb37b;
    }
    #reservation li:nth-child(1)::before{
        background-image: url(../images/tel.png);
    }
    #reservation li:nth-child(2){
        background-color: #f2989d;
    }
    #reservation li:nth-child(2)::before{
        background-image: url(../images/web.png);
    }

/* 以下、FV */

    #main_Photo {
        width: 100%;
        min-height: 660px;
        background-image: url(../../images/main_Photo2.jpg);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        position: relative;
    }
    h1{
        position: absolute;
        line-height: 70px;
        font-size: 54px;
        letter-spacing: .9rem;
        text-shadow: 1px 1px 10px whitesmoke;
        color: #746e6a;
        margin-left: 10%;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        font-family: "M PLUS Rounded 1c", sans-serif;


    }   
    
    #main_Photo img{
        width: 30%;
        position: absolute;
        left: 50%;
        bottom: 3%;
        transform: translateX(-50%);
    }
    #under_main{
        width: 50%;
        height: auto;
        margin-left: auto;
        margin-right: auto;
        position: relative;
    }
    #schedule{
        width: 100%;
        margin:60px auto;
    }
    #schedule img{
        width: 100%;
    }
    #present {
        position: absolute;
        width: 35%;
        top: -188px;
        right: -182px;
        }
    #schedule p{
        font-size: 16px;
        display: block;
        padding-left: 5%;
        color: #434242;
    }

    /* ここからABOUTセクション */

#about{
    background-image: url(../../images/sec_about.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position-x: 40%;
    background-position-y: top;
    padding-top: 45px;
    padding-bottom: 5%;
}
    
#about p:first-child{
    display: block;
    width:60%;
    line-height: 2em;
    padding:0 5%;
}
h2{
    font-size: 45px;
    text-align: center;
    padding-top: 5%;
    padding-bottom: 5%;
}
#about_wrap{
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
}
#incyou_img{
    width: 40%;
    margin-left: auto;
}
#incyou_img img{
    width: 75%;
}
#incyou_img p{
    width: 75%;
    text-align: center;
}
#button{
        width: 20%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 2%;
}
#button img{
    width: 100%;
}

    /* 以下、診療案内セクション */
    #shinryou {
        padding-bottom: 10%;
    }
    #shinryou h2{
        font-size: 45px;
        text-align: center;
        padding: 85px 0 35px;
    }
    #shinryou ul{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        margin-left: 25%;
        margin-right: 25%;
    }
    #shinryou a{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 5px;
        color: #FFF;
        background-color: #ffb37b;
        border-radius: 10px;
        font-size: clamp(16px,2vw,30px);

    }
    #shinryou div{
        width: 80%;
        aspect-ratio: 1/1;
        background-size: 50%;
        background-repeat: no-repeat;
        background-position: center;
    }
    #S_ippan{
        background-image: url(../images/img-ippan.png);
    }
    #S_syouni{
        background-image: url(../images/img-syoni.png);
    }
    #S_yobou{
        background-image: url(../images/img-yobou.png);
    }
    #S_white{
        background-image: url(../images/img-white.png);
    }
    #S_teiki{
        background-image: url(../images/img-teiki.png);
    }
    #S_kyousei{
        background-image: url(../images/img-kyousei.png);
    }
        /* 以下から院長案内セクション */
        #Incyou{
            background-image: url(../../images/sec_about.png);
            background-size: cover;
            background-position-x: 56%;
            padding-bottom: 10%;
        }
        #Incyou img{
            margin: 0 auto;
            margin-bottom: 2%;
            width: 40%;
        }
        #Incyou_name{
            text-align: center;
            font-size:clamp(26px,3vw,30px);
        }
        #Incyou_name span:nth-child(2){
            font-size: clamp(20px,3vw,40px);
            margin-left: 2%;
        }
        #Incyou_name span:nth-of-type(odd){
            color: #817e7e;
            font-size: .65em;
        }
        #Incyou table{
            margin: 5% auto 0;
            border-collapse: collapse;
            font-size:clamp(18px,2vw,25px);
            width: 60%;
        }
        #Incyou tr{
            border-bottom: 1px solid #434242;
        }
        #Incyou tr:last-of-type{
            border: none;
        }
        #Incyou th,#Incyou td{
            padding: 2% 0;
        }
        #Incyou th{
            padding-right: 10%;
            width: 30%;
        }

    /* 以下から、Q＆Aセクション */
    #Qa{
        width: 80%;
        margin: 35px auto 55px;
    }
    /* checkbox非表示 */
    /* #Qa input[type="checkbox"]{
        display: none;
    } */
    /* ラベルをボタン風に */
    #Qa ul{
        margin: 0 auto;
        width: 75%;
        font-size:clamp(12px,3vw,20px);

    }
    #Qa li{
        padding-bottom: 1%;
    }
    /* #Qa label{
        display: block;
        background-color: #ffb37b;
        color: #FFF;
        border-radius: 15px;
        padding: 2%;
        width: 100%;
        cursor: pointer;
        transition: opacity 0.3s ease;
        box-sizing: border-box;
    } */
    /* #Qa label:hover{
        opacity: 0.3;
    } */
    /* #Qa label span:first-child{
        display: inline-block;
        margin-right:5%
    } */
    /* .answer{
        display: flex;
        flex-wrap: wrap;
        max-height: 0;
        overflow: hidden;
        transition: height 0.5s ease,padding 0.5s ease;
        width: 100%;

    } */
    /* #Qa .answer span:first-child{
        margin-right: 5%;
    }
    .text{
        display: inline-block;
        width: 85%;
    } */
    /* #Qa input[type="checkbox"]:checked + label + .answer {
        max-height: 500px; 
        padding: 2%;
        border-radius: 15px;
        border: 0.2em solid #ffb37b;
        padding: 02%;
        box-sizing: border-box;
    } */
    .qa summary {
        background: #ffb37b;
        color: #fff;
        padding: 2%;
        border-radius: 15px;
        cursor: pointer;
        list-style: none;
      }
      /*PCはホバー時 */
      .qa summary:hover{
        opacity: 0.8;
      }
      
      .qa summary span:first-child {
        margin-right: 5%;
        font-weight: bold;
      }
            
      .answer {
        border: 0.2em solid #ffb37b;
        border-radius: 15px;
        padding: 2%;
        display: flex;
      }
      
      .answer span:first-child {
        margin-right: 5%;
        font-weight: bold;
      }


        /* 以下からACCESSセクション */
        #Access{
            padding: 10% 5% 5%;
            background-image: url(../../images/sec_about.png);
            background-size: 130%;
            background-position-x: 56%;
        }
        #Access h2{
            text-align: left;
            font-size: clamp(45px,4vw,33px);
        }
        #Ac_wrap{
            position: relative;
        }
        #Ac_leftwrap{
            width: 60%;
            box-sizing: border-box;
        }
        #Ac_tel{
            display: flex;
            margin-bottom: 5%;
        }
        #Ac_icon{
            width: 20%;
        }
        #Ac_text{
            width: 80%;
            margin-left: 2%;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            z-index: 2;
        }
        #Ac_text p:nth-child(1){
            font-size: 1.7em;
            letter-spacing: .05em;
        }
        #Ac_text p:nth-child(2){
            font-size: 2.5em;
            font-weight: bold;
            line-height: .8em;
            letter-spacing: .2rem;
        }
        #Ac_text p:nth-child(3){
            font-size: 1.2em;
            letter-spacing: .3rem;
        }
    
    
    
        #Ac_rightwrap{
            width: 40%;
            position: absolute;
            top: 0;
            right: 0;
        }
        #Ac_rightwrap iframe{
            width: 100%;
            max-height: 300px;
        }    
    
        #Ac_icon img{
            width: 100%;
        }
        #Ac_scg{
            width: 100%;
            margin: 0 auto;
        }
        #Ac_scg img{
            width: 80%;
        }
    
            /* 以下より、フッター */
    footer{
        background-color: #fffce0;
    }
    footer nav{
        width: 50%;
        padding: 5% 0 5%;
        margin: 0 auto;
    }
    footer ul{
        display: flex;
        justify-content: space-between;
    }
    footer a{
        color: #434242;
        font-size: clamp(10px,3vw,20px);
    }
    footer a:active{
        opacity: 0.2;
    }
    footer p{
        font-size: 10px;
        text-align: center;
        padding-bottom: 5%;
    }

/* CTA　TEL予約 */
    #cta_tel{
        position: fixed;
        top: 125px;
        right: 0;
        width: 3%;
        height: 190px;
        background-color: #ffb37b;
        border-radius: 25px 0px 0 25px;
        border: solid 2px white;
        border-right: none;
        color: #FFF;
        padding: 1%;
        writing-mode: vertical-lr;
        text-orientation: unset;
        box-shadow: 0 0 15px 0 #33425833;
    }
    #cta_tel a{
        display: flex;
        flex-direction: column;
        align-items: center;
        line-height: 1em;
    }
    #cta_tel span:nth-child(1){
        text-orientation: upright;
        font-size: .8em;
    }
    #cta_tel span:nth-child(2){
        writing-mode: sideways-rl;
        font-weight: bold;
        letter-spacing: .1em;
        line-height: 1.25em;
        color: #FFF;
    }
 /*CTA WEB予約  */
    #cta_web{
    position: fixed;
    top: 347px;
    right: 0;
    width: 3%;
    height: 210px;
    background-color: #f2989d;
    border-radius: 25px 0px 0 25px;
    border: solid 2px white;
    border-right:none ;
    color: #FFF;
    padding: 1%;
    writing-mode: vertical-lr;
    text-orientation: unset;
    letter-spacing: .1em;
    text-align: center;
    box-shadow: 0 0 15px 0 #33425833;
}
    #cta_web a{
        color: #FFF;
        text-orientation: upright;
    }
/* topへ戻るボタン */
    #topback{
        position: fixed;
        right: 2%;
        bottom: 3%;
    }    
    #topback a{
        background-color: #f2989d;
        background-image: url(../../images/topback.png);
        width: 90px;
        height: 90px;
        border-radius: 90px;
        border: 3px solid white;
        text-align: center;
        font-size: 20px;
        background-size: 75%;
        background-repeat: no-repeat;
        background-position: 15px 1px;
        color: #FFF;
        display: flex;
        align-items: end;
        justify-content: center;
        padding: 5px;
        box-shadow: 0 0 15px 0 #33425833;
    }    
        

}    