@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
}


a {
    color: #202020;
    text-decoration: none;
}

li {
    list-style: none;
}

@font-face {
    font-family: Noto_Sans_JP/static;
    src: url(../font/Noto_Sans_JP/static/NotoSansJP-Light.ttf);
}

@font-face {
    font-family: Zen_Maru_Gothic;
    src: url(../font/Zen_Maru_Gothic/ZenMaruGothic-Medium.ttf);
}



/* グルーバルナビゲーション */
header {
    width: 100%;
}

header h1 {
    display: none;
    width: 15%;
    font-size: 1.5vw;
}

.header-guidance {
    position: fixed;
    top: 0;
    left: 0;
    width: 35%;
    padding-top: 1%;
    padding-left: 4%;
    z-index: 10;
}

.header-guidance p:nth-child(1) {
    font-size: 2.2vw;
    font-family: Zen_Maru_Gothic;
}

.header-guidance p:nth-child(2) a {
    font-size: 4vw;
    color: royalblue;
}

.mv-flexbox {
    width: 100%;
    height: 55vw;
    margin-bottom: 7%;
}

.mv-flexbox .copy {
    display: none;
}

.mv-flexbox .mv {
    width: 100%;
    height: 50vw;
    margin: 0 auto;
}


.mv-flexbox .mv h2 {
    display: none;
}

.mv-flexbox .mv .sub-copy:nth-of-type(1) {
    display: none;
}

.mv-flexbox .mv .sub-copy:nth-of-type(2) {
    display: none;
}

.mv-Accreditation-fb {
    display: none;
}



.notice {
    display: none;
    width: 60vw;
    height: 25vw;
    margin: 3% auto;
    padding-top: 1%;
    padding-left: 2%;
    border-radius: 2vw;
    background-color: #f8f7c4;
}

.notice .notice-title {
    width: 30%;
    font-size: 3vw;
    line-height: 3;
    margin-bottom: 4%;
}

.notice p {
    font-size: 2vw;
    line-height: 1.7;
}

.notice span {
    margin-right: 4%;
}

.notice p:nth-of-type(5) {
    width: 10%;
    margin-left: auto;
    font-size: 1.2vw;
}



/*ナビメニューのスタイルを指定*/
nav.NavMenu {
    position: fixed;
    /*表示位置を固定*/
    z-index: 2;
    /*重ね順を変更*/
    top: 0;
    /*表示位置を指定*/
    left: 0;
    /*表示位置を指定*/
    text-align: center;
    /*テキストを中央揃え*/
    width: 100%;
    /*全幅表示*/
    transform: translateY(-100%);
    /*ナビを上に隠す上から出したい場合は、transform: translateYを使う。
    Xに変えると横から出てくる。*/
    transition: 0.6s;
    /*アニメーションの時間を指定*/
}

nav.NavMenu ul {
    background: #50A1DB;
}

nav.NavMenu ul li {
    font-size: 1.1em;
    list-style-type: none;
    border-bottom: 1px dotted #333;
}

nav.NavMenu ul li:last-child {
    border-bottom: none;
    /*最後のメニュー項目のみ下線を消す*/
}

nav.NavMenu ul li a {
    display: block;
    /*クリックできる領域を広げる*/
    color: #fff;
    padding: 1em 0;
    text-decoration: none;
}


/*トグルボタンが押されたときに付与するクラス*/
nav.NavMenu.active {
    transform: translateY(0%);
    /*上から出したい場合は、transform: translateYを使う。
    Xに変えると横から出てくる。*/
}


/*トグルボタンのスタイルを指定*/
.Toggle {
    position: fixed;
    /* bodyに対しての絶対位置指定 */
    right: 13px;
    top: 12px;
    width: 42px;
    height: 42px;
    cursor: pointer;
    /*divだけどカーソルが変わるようにしている*/
    z-index: 100;
    /*ボタンを一番上にしている(押せなくなるから)*/
}

.Toggle span {
    display: block;
    position: absolute;
    left: 6px;
    width: 30px;
    border-bottom: solid 3px #000;
    /* heightでも可可 */
    transition: .35s ease-in-out;
    /*変化の速度を指定*/

}

.Toggle span:nth-child(1) {
    top: 9px;
}

.Toggle span:nth-child(2) {
    top: 18px;
}

.Toggle span:nth-child(3) {
    top: 27px;
}

/* 最初のspanをマイナス45度に */
.Toggle.active span:nth-child(1) {
    top: 18px;
    left: 6px;
    transform: rotate(-45deg);
}

/* 2番目と3番目のspanを45度に */
.Toggle.active span:nth-child(2),
.Toggle.active span:nth-child(3) {
    top: 18px;
    transform: rotate(45deg);
}


/*=== 画像の表示エリア ================================= */
.slide {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    border-radius: 5vw;
}

/*=== 画像の設定 === */
.slide img {
    display: block;
    position: absolute;
    width: inherit;
    /* 画像のサイズを表示エリアに合せる */
    height: inherit;
    opacity: 0;
    animation: slideAnime 24s ease infinite;
}

/*=== スライドのアニメーションを段差で開始する ========= */
.slide img:nth-of-type(1) {
    animation-delay: 0s
}

.slide img:nth-of-type(2) {
    animation-delay: 6s
}

.slide img:nth-of-type(3) {
    animation-delay: 12s
}

.slide img:nth-of-type(4) {
    animation-delay: 18s
}

/*=== スライドのアニメーション ========================= */
@keyframes slideAnime {
    0% {
        opacity: 0
    }

    12% {
        opacity: 1
    }

    13% {
        opacity: 1
    }

    25% {
        opacity: 0
    }

    100% {
        opacity: 0
    }
}



/* .box2をクリック後のcss */
.mv-nav1.active {
    background-color: pink;
    transition: 1s;
}

/* .box2をクリック前のcss（.box3が連動） */
.mv-nav2 {
    background-color: purple;
    transform: translateX(100%);
    transition: 1s
}

/* .box2をクリック後の.box3のcss（.box3が連動） */
.mv-nav2.active {
    transform: translateX(0%);
    transition: 1s;
}

/* メインセクション */

.reservation-box {
    width: 70%;
    margin-bottom: 7%;
    margin-left: auto;
    margin-right: auto;
}

.reservation-box a img {
    width: 100%;
    vertical-align: bottom;
}

/* treatmentセクション */

.treatment-flexbox {
    width: 85%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3%;
}

.treatment-flexbox h2 {
    width: 40%;
    margin: 5% auto 3% auto;
    letter-spacing: 0.2em;
    text-align: center;
    font-size: 4vw;
    font-family: Zen_Maru_Gothic;
}

.treatment-cot {
    width: 100%;
}

.treatment-cot p {
    width: 80%;
    margin: 0 auto;
    font-size: 2vw;
    line-height: 2;
    font-family: Zen_Maru_Gothic;
}

.treatment-flexbox p:nth-child(1) {
    padding-top: 1.5%;
}

.section-flexbox {
    display: none;
    display: flex;
    width: 85%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3%;
}

.section-flexbox a {
    display: none;
    width: 22%;
    height: 18vw;
    border-radius: 2vw;
    transition: 1s;
}

.tablet-section-flexbox {
    display: flex;
    width: 90%;
    margin: 0 auto;
}

.tablet-section-flexbox .tablet-sec-iconbox {
    width: 100%;
    height: 40vw;
    margin-bottom: 3%;
    border-radius: 2vw;
    text-align: center;
    background-color: lightblue;
}

.tablet-sec-iconbox:nth-of-type(1) {
    margin-right: 4%;
}


.tablet-section-flexbox.tablet-sec-iconbox:nth-child(1) {
    margin-right: 6%;
}

.tablet-sec-iconbox img {
    display: block;
    width: 50%;
    margin: 0% auto 10% auto;
}

.tablet-sec-iconbox p {
    font-size: 3.2vw;
    font-family: Zen_Maru_Gothic;
}

/* headingセクション */


.heading {
    width: 20vw;
    margin: 10% auto 5% auto;
    text-align: center;
    font-size: 4vw;
    font-family: Zen_Maru_Gothic;
}

.features-flexbox {
    display: none;
    align-items: center;
    width: 90%;
    height: 45vw;
    margin: 0 auto;
}

.feat-box {
    display: none;
    width: 30%;
    height: 100%;
}

.feat-box img {
    display: none;
}

.feat-box h3 {
    display: none;
}

.feat-box p {
    display: none;
    width: 100%;
    height: 20%;
    font-size: 1.2vw;
    color: #202020;
}

.feat-box input {
    display: none;
    width: 75%;
    height: 5vw;
    margin: 0 auto;
    border-radius: 5vw;
    font-size: 1.2vw;
    text-align: center;
    border: none;
    color: #fff;
    background-color: #91C3E0;
    transition: 0.7s;
    cursor: pointer;
}

.tablet-features-flexbox {
    display: flex;
    width: 90%;
    margin: 0 auto;
    font-family: Zen_Maru_Gothic;
}

.tablet-feat-box {
    width: 48%;

}

.tablet-feat-box:nth-child(1) {
    margin-right: 4%;
}

.tablet-feat-box img {
    width: 100%;
    vertical-align: bottom;
    border-radius: 2vw;
}

.tablet-feat-box h3 {
    width: 90%;
    margin: 2% auto 3% auto;
    text-align: center;
    font-size: 2.2vw;
}

.tablet-feat-box p {
    width: 100%;
    font-size: 2vw;
    margin-bottom: 5%;
}

.tablet-feat-box input {
    display: block;
    width: 60%;
    height: 5vw;
    margin: 8% auto;
    font-size: 2.2vw;
    border: none;
    color: #fff;
    border-radius: 3vw;
    cursor: pointer;
    background-color: #91C3E0;
}


/* noticeセクション */

.notice-flexbox {
    display: block;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.notice-flexbox .notice-box {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    font-family: Zen_Maru_Gothic;
}

.notice-flexbox .notice-box:nth-child(2) {
    display: none;
}

.notice-flexbox .notice-box:nth-child(3) {
    display: none;
}

.notice-flexbox .notice-box:nth-child(4) {
    display: none;
    
}


.notice-flexbox .notice-box .notice-datetime {
    width: 30%;
    margin: 0 auto 3% auto;
    text-align: center;
    font-size: 2.4vw;
    color: #538CAD;
}

.notice-flexbox .notice-box img {
    width: 100%;
    vertical-align: bottom;
    border-radius: 1vw;
}

.notice-flexbox .notice-box h3 {
    width: 30%;
    margin: 3% auto 5% auto;
    text-align: center;
    font-size: 3vw;
    color: #202020;
}

.notice-flexbox .notice-box p {
    width: 80%;
    margin: 0 auto 5% auto;
    text-align: center;
    font-size: 2.2vw;
    color: #202020;
}

.notice-morebt {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20vw;
    height: 5vw;
    text-align: center;
    margin-bottom: 10%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 3vw;
    color: #fff;
    background-color: #91C3E0;
}


.notice-morebt a {
    width: 100%;
    line-height: 2;
    color: #fff;
    font-size: 2.2vw;
}
/* 診察時間と地図 */

.recruitment-flexbox {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.recruitment-flexbox a {
    display: block;
    width: 100%;
    margin:0 auto 10% auto;
}


.recruitment-flexbox a img {
    width: 100%;
    vertical-align: bottom;
    border-radius: 3vw;
}

.about-flexbox {
    display: block;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
}

.about-flexbox .about-box {
    width: 90%;
}

.about-flexbox .about-box img {
    display: none;
    vertical-align: bottom;
    width: 90%;
    margin-bottom: 5%;
}

.about-flexbox .about-box p:nth-of-type(1) {
    width: 50%;
    margin: 5% auto 5% auto;
    text-align: center;
    font-size: 3.5vw;
    font-family: Zen_Maru_Gothic;
}

.about-flexbox .about-box p:nth-of-type(2) a {
    width: 30%;    
    margin: 5% auto 5% 5%;
    font-size: 3vw;
    color: royalblue;
}

/* noticeセクション */
table {
    width: 90%;
    margin:3% auto 3% auto;
}

table tr {
    width: 50%;
    background-color: #fff;
}

table tr th {
    width: 2.5%;
    border-bottom: 0.1vw solid #ddd;
    font-size: 2vw;
    line-height: 4;
    color: #202020;
}

table tr td {
    text-align: center;
    vertical-align: middle;
    color: #50A1DB;
}

.sunday-pm {
    font-size: 1.5vw;
    text-align: center;
    color: #202020;
}


.adress-flexbox {
    display: none;
    width: 100%;
}

.g-map {
    width: 100%;
    text-align: center;
    margin: 5% auto 5% auto;
}


/* フッターセクション */
footer {
    margin-top: 8%;
}

.footer-flexbox {
    display: none;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.footer-flexbox .footer-box {
    width: 100%;
    margin: 0 auto;
    padding-top: 2%;
}

.footer-flexbox .footer-box ul {
    width: 100%;
}

.footer-box ul li {
    width: 100%;
    margin: 3% auto 3% 38%;
}

.footer-box ul li a {
    font-size: 2.5vw;
}
.footer-box p {
    display: none;
    margin-top: 2%;
    margin-bottom: 3%;
}

.sns-icon {
    margin-top: 10%;
}

.sns-icon a {
    margin-left: 5%;
}

.footer-box a .fa-brands {
    font-size: 5vw;
    letter-spacing: 0.5em;
}


/* レスポンシブ対応 */

.tablet-footer-flexbox {
    display: flex;
    width: 90%;
    margin: 3% auto 3% auto;
}

.tablet-footer-box {
    width: 45%;
    padding-left: 5%;
}
.tablet-footer-box ul {

}

.tablet-footer-box ul li {
    margin-bottom: 4%;

}

.tablet-footer-box ul li a {
    font-size: 2.5vw;
    font-family: Zen_Maru_Gothic;
}

.tablet-sns-icon {
    width: 100%;
}

.tablet-sns-icon ul li a i {
    font-size: 5vw;
}


.fa-instagram {
    color: #d93078;
}

.fa-facebook {
    color: #1877F2;
}

.tablet-footer-box a .fa-brands {
    font-size: 5vw;
    letter-spacing: 0.5em;
}

