@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 {
    display: flex;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    position: fixed;
    top: 0;
    left: 5%;
    background-color: rgba(256, 256, 256, 0.8);
    z-index: 10;
}

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

header h1 a img {
    width: 100%;
    vertical-align: bottom;
}


header nav {
    width: 50%;
    margin-left: auto;
    padding-top: 2%;
}

header nav ul {
    display: flex;
    margin-left: auto;
}

header nav ul li {
    width: calc(100% / 5);
    text-align: center;
}

header nav ul li a {
    display: block;
    height: 60%;
    padding: 8% 0;
    font-size: 1vw;
    margin-left: 0.5em;
    font-family: Zen_Maru_Gothic;
}

.header-guidance {
    width: 20%;
    padding-top: 1%;
    padding-left: 4%;
}

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

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



.mv-flexbox {
    display: flex;
    width: 95%;
    height: 46vw;
    margin-right: auto;
    margin-bottom: 7%;
    padding-top: 8%;
}

.mv-flexbox .copy {
    width: 3.9%;
    height: 50vw;
    padding-right: 1.1%;
    text-align: center;
    writing-mode: tb;
}

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

.mv-flexbox .mv .slide {
    position: relative;
}


.mv-flexbox .mv h2 {
    position: absolute;
    top: 35%;
    left: 10%;
    width: 50%;
    font-size: 3vw;
    font-family: Zen_Maru_Gothic;
    color: #fff;
}

.mv-flexbox .mv .sub-copy:nth-of-type(1) {
    position: absolute;
    top: 45%;
    left: 10%;
    width: 50%;
    font-size: 1.5vw;
    font-family: Zen_Maru_Gothic;
    color: #fff;
}

.mv-flexbox .mv .sub-copy:nth-of-type(2) {
    position: absolute;
    top: 50%;
    left: 10%;
    width: 50%;
    font-size: 1.5vw;
    font-family: Zen_Maru_Gothic;
    color: #fff;
}

.mv-Accreditation-fb {
    position: absolute;
    top: 60%;
    left: 10%;
    width: 11vw;
    height: 11vw;
    text-align: center;
    border-radius: 2vw;
    background-color: #f8f7c4;
}


.mv-Accreditation-fb p {
    width: 30%;
    margin-left: auto;
    margin-right: auto;
}


.mv-Accreditation-img {
    width: 70%;
    margin-top: 5%;
    margin-left: auto;
    margin-right: auto;
}

.mv-Accreditation-img img {
    display: inline-block;
    width: 100%;
    vertical-align: baseline;
}

.notice {
    position: absolute;
    top: 90%;
    left: 10%;
    width: 45vw;
    height: 13vw;
    padding-top: 1%;
    padding-left: 2%;
    border-radius: 2vw;
    background-color: #f8f7c4;
}

.notice .notice-title {
    width: 15%;
    font-size: 1.5vw;
    margin-bottom: 4%;
}

.notice p {
    font-size: 1.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;
}


/*=== 画像の表示エリア ================================= */
.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
    }
}


.mv-nav table {
    width: 90%;
    margin-bottom: 3%;
}

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

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

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

.mv-nav1 {
    width: 5%;
    height: 7vw;
    margin-left: auto;
    border-radius: 2vw;
    writing-mode: tb-rl;
    background-color: blue;
    transition: 1s;
}

/* .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: 45%;
    margin-bottom: 7%;
    margin-left: auto;
    margin-right: auto;
    transition: 1s;
}

.reservation-box:hover {
    transition: 1s;
    opacity: 0.4;
}

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

.tablet-section-flexbox {
    display: none;
}

/* treatmentセクション */

.treatment-flexbox {
    display: flex;
    align-items: center;
    width: 85%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3%;
}

.treatment-flexbox h2 {
    width: 25%;
    letter-spacing: 0.2em;
    font-size: 3.2vw;
    font-family: Zen_Maru_Gothic;
}

.treatment-cot {
    width: 60%;
    margin-left: 8%;
}


.treatment-flexbox p {
    font-size: 1.1vw;
    line-height: 2;
    font-family: Zen_Maru_Gothic;
}

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

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

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

.section-flexbox a:hover {
    opacity: 0.4;
    transition: 1s;
}

.sec-iconbox {
    width: 100%;
    height: 18vw;
    border-radius: 2vw;
    text-align: center;
    background-color: lightblue;
}

.section-flexbox a:nth-of-type(1) {
    margin-right: 4%;
}

.section-flexbox a:nth-of-type(2) {
    margin-right: 4%;
}

.section-flexbox a:nth-of-type(3) {
    margin-right: 4%;
}

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

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

/* headingセクション */


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

.features-flexbox {
    display: flex;
    align-items: center;
    width: 85%;
    height: 45vw;
    margin-left: auto;
    margin-right: auto;
}

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

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

.feat-box:nth-child(2) {
    margin-right: 5%;
}


.feat-box img {
    display: block;
    width: 100%;
    border-radius: 2vw;
}

.feat-box h3 {
    width: 100%;
    margin-top: 5%;
    margin-bottom: 8%;
    text-align: center;
    font-size: 1.8vw;
    color: #202020;
    font-family: Zen_Maru_Gothic;
}

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

.feat-box input {
    display: block;
    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;
}

.feat-box input:hover {
    background-color: #538CAD;
    border: none;
    transition: 0.7s;
}

.tablet-features-flexbox {
    display: none;
}

.tablet-notice-morebt {
    display: none;
}

/* noticeセクション */

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

.notice-flexbox .notice-box {
    width: 22%;
    transition: 0.7s;
}

.notice-flexbox .notice-box:hover {
    opacity: 0.5;
    transition: 0.7s;
}

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

.notice-flexbox .notice-box:nth-child(2) {
    margin-right: 4%;
}

.notice-flexbox .notice-box:nth-child(3) {
    margin-right: 4%;
}


.notice-flexbox .notice-box .notice-datetime {
    font-size: 1.3vw;
    color: #538CAD;
}

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

.notice-flexbox .notice-box h3 {
    margin-top: 3%;
    margin-bottom: 5%;
    font-size: 1.5vw;
    color: #202020;
}

.notice-flexbox .notice-box p {
    font-size: 1.1vw;
    color: #202020;
}

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


.notice-morebt a {
    width: 100%;
    line-height: 2;
    color: #fff;
    font-size: 1.2vw;

}



.notice-morebt:hover {
    background-color: #538CAD;
    border: none;
    transition: 0.7s;
}

.recruitment-flexbox {
    display: flex;
    width: 90%;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

.recruitment-flexbox a {
    display: block;
    width: 40%;
    margin-bottom: 15%;
}

.recruitment-flexbox a:nth-child(1) {
    margin-right: 10%;
}

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

.about-flexbox {
    display: flex;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

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

.about-flexbox .about-box img {
    display: inline-block;
    vertical-align: bottom;
    width: 35%;
    margin-bottom: 5%;
}

.about-flexbox .about-box p:nth-of-type(1) {
    font-size: 1.2vw;
}

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

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

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

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

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

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


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

.adress-flexbox p {
    font-size: 1vw;
}

.adress-flexbox a {
    display: block;
    width: 15%;
    margin-left: 5%;
    text-align: center;
    padding-top: 0.5%;
    font-size: 0.9vw;
    border-radius: 3vw;
    color: #fff;
    background-color: #50A1DB;
}

.g-map {
    width: 30%;
}


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

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

.footer-flexbox .footer-box {
    width: 18%;
    padding-top: 2%;
}

.footer-flexbox .footer-box:nth-of-type(1) li a {
    font-weight: bolder;
}


.footer-flexbox .footer-box:nth-of-type(2) li a {
    font-weight: bolder;
}


.footer-flexbox .footer-box:nth-of-type(4) {
    padding-top: 5%;
}

.footer-flexbox .footer-box:nth-of-type(5) {
    padding-top: 5%;
}

.footer-box p {
    margin-top: 2%;
    margin-bottom: 3%;
}

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

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

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

.fa-instagram {
    color: #d93078;
    transition: 0.5s;
}

.fa-instagram:hover {
    opacity: 0.5;
    transition: 0.5s;
}

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

.fa-facebook:hover {
    opacity: 0.5;
    transition: 0.5s;
}

.fa-square-x-twitter:hover {
    opacity: 0.5;
    transition: 0.5s;
}

.footer-flexbox .footer-box:nth-of-type(3) {
    margin-left: 8%;
}

.footer-box ul li {
    margin-bottom: 3%;
}

.footer-box ul li a {
    line-height: 2;
    font-size: 1.1vw;
}

/* レスポンシブ対応 */
.tablet-footer-flexbox {
    display: none;
}