@charset "utf-8";
    @media screen and (max-width: 960px) {
        .hidden-sp {
            display: none;
        }

        header {
            width: 100%;
            height: 50px;
            display: flex;
            font-size: 20px;
            box-sizing: border-box;
            justify-content: center;
            position: relative;
            z-index: 1001;
            position: fixed;
            background-color: #FFF;
            box-shadow: 0 0 15px 0 #33425833;

        }
        #logo{
            height: 50px;
            aspect-ratio: 1/1;
        }
        #logo img {
            width: 100%;

        }

        #reservation {
            width: 65%;
        }

        #reservation ul {
            display: flex;
            justify-content: flex-end;
            color: #fff;
        }

        #reservation ul li {
            width: 20%;
            height: 50px;
            position: relative;
            text-align: center;
            line-height: 2;
        }

        #reservation li:nth-child(1) {
            background-color: #ffb37b;
        }

        #reservation li:nth-child(2) {
            background-color: #f2989d;
        }

        #reservation a {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 100%;
            color: #fff;
            text-decoration: none;
            position: relative;
            font-size: 8px;

        }

        #reservation li:nth-child(1)>a::before {
            content: "";
            display: block;
            background: url(../images/tel.png) no-repeat center center / contain;
            width: 60%;
            height: 52px;
            margin-top: 3px;
        }

        #reservation li:nth-child(2)>a::before {
            content: "";
            display: block;
            background: url(../images/web.png) no-repeat center center / contain;
            width: 60%;
            height: 52px;
            margin-top: 3px;
        }

        #nav-toggle {
            position: relative;
            display: block;
            width: 10%;
            color: #f2989d;
            text-align: center;
            height: 50px;
            font-size: 9px;
            margin-left: 5px;
            margin-right: 5px;
            cursor: pointer;
            z-index: 10000;

        }

        #nav-toggle>div {
            position: relative;
            display: block;
            width: 100%;
            color: #f2989d;
            text-align: center;
            max-width:40px;
            height: 36px;
            font-size: 9px;
            margin: 0 auto;

        }

        #nav-toggle span {
            width: 100%;
            transition: 0.5s;
            
        }

        #nav-toggle span::before {
            content: "";
            display: block;
            width: 100%;
            height: 3px;
            background-color: #f2989d;
        }

        #nav-toggle div span:nth-child(1) {
            position: absolute;
            top: 10px;
            left: 0;
        }

        #nav-toggle div span:nth-child(2) {
            position: absolute;
            top: 20px;
            left: 0;
        }

        #nav-toggle div span:nth-child(3) {
            position: absolute;
            top: 30px;
            left: 0;
        }

    #main_Photo{
        width: 100%;
        height: 48.7vw;
        background-image: url(../../images/main_Photo2.jpg);
        background-size: cover;
    }
    h1{ 
        line-height: 2;
        font-size: clamp(13px,5vw,37px);
        letter-spacing: .4rem;
        text-shadow: 1px 1px 10px whitesmoke;
        color: #746e6a;
        margin-left: 10%;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        left: 0;
        font-family: "M PLUS Rounded 1c", sans-serif;

    }
    #main_logo{
        padding-top: 50px;
    }
    #main_Photo{
        position: relative;
    }
    #main_Photo img{
        width: 30%;
        position: absolute;
        left: 50%;
        bottom: 3%;
        transform: translateX(-50%);
    }
    #under_main{
        position: relative;
    }
    #present{
        position: absolute;
        width: 18%;
        top: -54px;
        left: 72%;
    }    
    #schedule{
        width: 85%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 5%;
        margin-top: 4%;
    }
    #present {
        position: absolute;
        width: 20vw;
        top: -93%;
        right: 10vw;
        }

    #schedule img{
        width: 100%;

    }
    #schedule p{
        font-size: 10px;
        display: block;
        padding-left: 5%;
        color: #434242;
    }

/* ここからABOUTセクション↓ */
        #about{
        background-image: url(../../images/sec_about.png);
        background-size: cover;
        background-position-x: 56%;
        padding-bottom: 10%;

    }

    h2{
        font-size: clamp(24px,4vw,33px);
        text-align: center;
        padding-top: 11%;
        padding-bottom: 8%;
        letter-spacing: .4rem;
    }
    #about_wrap{
        width: 95%;
        margin: auto;
    }
    #about_wrap p br:nth-child(1),
    /* #about_wrap p br:nth-child(2), */
    #about_wrap p br:nth-child(4){
        display: none;
    }
    #about p{
        font-size: clamp(14px,2vw,20px);
        display: block;
        padding: 1% 1% 5%;
        line-height: 1.7em;
    }
    #incyou_img{
        width: 40%;
        margin: 0 auto;
    }
    #incyou_img img{
        width: 100%;
    }
    #incyou_img p{
        width: 100%;
        text-align: center;
    }
    #button{
            width: 40%;
            margin-left: auto;
            margin-right: auto;
    }
    #button img{
        width: 100%;
    }

    /* 以下、診療案内セクション */
    #shinryou {
        padding-bottom: 10%;
    }

    #shinryou ul{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 10%;
        margin: 0 auto;
        max-width: 600px;

    }
    #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(18px,4vw,30px);
        font-weight: bold;

    }
    #shinryou div{
        width: 90%;
        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: 80%;
    }
    #Incyou_name{
        text-align: center;
        font-size:clamp(13px,3vw,20px);
    }
    #Incyou_name span:nth-child(2){
        font-size: clamp(20px,3vw,27px);
        margin-left: 2%;
    }
    #Incyou_name span:nth-of-type(odd){
        color: #817e7e;
    }
    #Incyou table{
        margin: 5% auto 0;
        border-collapse: collapse;
        font-size:clamp(13px,3vw,27px);
        width: 85%;
    }
    #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: 1%;
        width: 20%;
        font-weight: normal;
    }

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

    }
    #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:active{
        opacity: 0.8;
        filter: brightness(0.95);
    }
    #Qa label span:first-child{
        display: inline-block;
        width: 10%;
        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%;
        width: 10%;
    } */
    /* .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;
      }
      /* スマホはアクティブ時 */
      .qa summary:active{
        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: 400%;
        background-repeat: no-repeat;
        background-position: top;
    }
    #Access h2{
        text-align: left;
        font-size: clamp(26px,4vw,33px);
    }
    /* #Ac_leftwrap{
        width: 65%;
        box-sizing: border-box;
    } */
    #Ac_tel{
        display: flex;
        margin-bottom: 5%;
    }
    #Ac_icon{
        width: 25%;
    }
    #Ac_text{
        width: 70%;
        margin-left: 2%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        font-size: 3vw;
        align-items: flex-start;

    }
    #Ac_text p:nth-child(1){
        font-size: 1.7em;
        letter-spacing: .1rem;
    }
    #Ac_text p:nth-child(2){
        font-size: 2.5em;
        font-weight: bold;
        line-height: .8em;
        letter-spacing: .1em;
    }
    #Ac_text p:nth-child(3){
        font-size: 1.3em;
    }




    #Ac_rightwrap iframe{
        width: 100%;
        height: 230px;
    }

    #Ac_icon img{
        width: 100%;
    }
    #Ac_scg{
        width: 100%;
        margin: 0 auto;
    }
    #Ac_scg img{
        width: 100%;
    }

    /* 以下より、フッター */
    footer{
        background-color: #fffce0;
    }
    footer nav{
        width: 70%;
        padding: 0 0 15%;
        margin: 0 auto 0;
    }
    footer ul{
        display: flex;
        justify-content: space-between;
    }
    footer a{
        color: #434242;
        font-size: clamp(10px,3vw,25px);
    }
    footer a:active{
        opacity: 0.2;
    }
    footer p{
        font-size: 10px;
        text-align: center;
        padding-bottom: 5%;
    }

/* ハンバーガーメニュー */
/* ハンバーガーが×になったとき */
.open #nav-toggle span:nth-child(1) {
    transform: rotate(45deg) ;
    top: 20px;
    background-color: #FFF;
  }
  
  .open #nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  
  .open #nav-toggle span:nth-child(3) {
    transform: rotate(-45deg);
    top: 20px;
    background-color: #FFF;

  }

#g-nav{
    background-color: #f2989d;
    width: 100%;
    position: fixed;
    top: 50px;
    left: 0;
    transform: translateX(200%);
    z-index: 1000;
    transition: 0.5s;
    position: absolute;
    transition: 0.8s ease;
}
.open #g-nav{
    background-color:rgba(242,151,157,0.92);
    width: 100%;
    height: 50%;
    position: fixed;
    top: 50px;
    left: 0;
    transform: translateY(0px);


}
#g-nav ul{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40%;
    height: 100%;
    margin: auto;
}
#g-nav li{
    margin: 5% 0;
    border-bottom: 0.9px solid #FFF;
    text-align: center;
    margin-bottom: 10%;
    width: 95%;
}
#g-nav li a{
    color: #FFF;
}
#topback{
    position: fixed;
    right: 3%;
    bottom: 2%;
}

#topback a{
    background-color: #f2989d;
    background-image: url(../../images/topback.png);
    width: 65px;
    height: 65px;
    border-radius: 65px;
    border: 2px solid white;
    text-align: center;
    font-size: 14px;
    background-size: 65%;
    background-repeat: no-repeat;
    background-position: 13px 5px;
    color: #FFF;
    display: flex;
    align-items: end;
    justify-content: center;
    padding: 5%;
    box-shadow: 0 0 15px 0 #33425833;
}
#topback a:active{
    opacity: .7;
}




}