@charset "UTF-8";

/* ==========
common
=============*/
:root {
    --primary-charcoalgray: #4E454A;
    --primary-lightgreen: #C8E6C9;
    --primary-turquoise: #7FD6DA;
    --primary-bluegreen: #47969A;
    --primary-white: #FDFDFD;
    --contentWidth: 34.7%;
    --contentPadding: 32.7%;
}

html {
    font-size: 62.5%;
}

body {
    .m-plus-rounded-1c-regular {
        font-family: "M PLUS Rounded 1c", sans-serif;
        font-weight: 400;
        font-style: normal;
    }

    .m-plus-rounded-1c-medium {
        font-family: "M PLUS Rounded 1c", sans-serif;
        font-weight: 500;
        font-style: normal;
    }

    .m-plus-rounded-1c-bold {
        font-family: "M PLUS Rounded 1c", sans-serif;
        font-weight: 700;
        font-style: normal;
    }

    font-family: "M PLUS Rounded 1c",
    sans-serif;
    font-style: normal;
    color: var(--primary-charcoalgray);
    line-height: 1.5;
    background-color: #EBF2F4
}

img {
    max-width: 100%;
    height: auto;
}

.Topics {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 500;
    line-height: 1.3;
}


/* btnの装飾を１から作る場合下記に記載 */


/* ==========
header
=============*/
.header {
    display: flex;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    background-color: rgba(255, 255, 255, 0.9);
    justify-content: space-between;
}

.header_nav-rogo {
    display: flex;
    padding: 10px 16px;
    justify-content: space-between;
    width: 100%;
}

.header_nav-rogo a {
    display: flex;
    align-items: center;
}

.rogo {
    margin-right: 3px;
}

.store_name {
    display: flex;
    flex-direction: column;
}


.nav__header {
    display: flex;
    justify-content: space-between;
    padding: 10px 16px;
}

.nav__rogo {
    margin-right: 8px;
}

.logo_name {
    font-size: 1.6rem;
    margin-left: 0;
}

.nav__item {
    padding: 0 0 20px 10px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    font-size: 1.6rem;
}

.nav__item img {
    margin-right: 10px;
}

.nav__item:nth-child(6) a {
    display: inline-flex;
    align-items: center;
    font-size: 1.6rem;
    font-weight: bold;
    background-color: var(--primary-lightgreen);
    padding: 20px;
    border-radius: 50px;
    gap: 10px;

}

.nav__item:nth-child(5) a {
    font-weight: bold;
    color: #47969A;
}

.nav_sp-only {
    background-color: rgba(252, 255, 255, 0.90);
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    transform: translateX(-100%);
    transition: transform 0.4s;
}

.nav_sp-only.active {
    transform: translateX(0);
}


.nav_pc-only {
    display: none;
}

/* header pc */
@media screen and (min-width:769px) {
    .header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 8px 140px;
    }

    .header_nav-rogo {
        width: auto;
    }

    .rogo {
        width: 100px;
    }

    .nav_sp-only {
        display: none;
    }

    .header__btn {
        display: none;
    }

    .nav_pc-only {
        display: block;
        justify-content: flex-end;
        text-align: right;
    }

    .nav__top-buttons {
        display: flex;
        justify-content: flex-end;
        gap: 80px;
        align-items: center;
    }

    .nav__list {
        display: flex;
        justify-content: flex-start;
        gap: 77px;
    }

    .phone {
        font-size: 2rem;
        font-weight: bold;
        color: var(--primary-bluegreen);
        letter-spacing: 8px;
    }

    .webreservation {
        display: inline-flex;
        align-items: center;
        font-size: 1.6rem;
        font-weight: bold;
        background-color: var(--primary-lightgreen);
        padding: 20px;
        border-radius: 50px;
        gap: 20px;
        transition: background-color 0.4s ease, color 0.4s ease;
    }

    .webreservation:hover {
        background-color: #e6f3e6;

    }
}

/* pc 769px */

/* main header */
.mainImg__pc {
    display: none;
}

.mainImg {
    position: relative;
    width: 100%;
}

.mainImg__sp {
    margin-top: 70px;
    position: relative;
    width: 100%;
    height: auto;
    display: block;
}

.mainImg_txt1,
.mainImg_txt2,
.mainImg_txt3 {
    writing-mode: vertical-rl;
    position: absolute;
    color: var(--primary-charcoalgray);
    white-space: nowrap;
}

.mainImg_txt1 {
    font-size: 2rem;
    top: 30px;
    right: 100px;
}

.mainImg_txt2 {
    font-size: 1.5rem;
    top: 93px;
    right: 130px;
}

.mainImg_txt3 {
    font-size: 1.5rem;
    top: 93px;
    right: 150px;

}

/* mainImg pc */
@media screen and (min-width:769px) {
    .mainImg__sp {
        display: none;
    }

    .mainImg {
        margin-top: 164px;
        overflow: hidden;
        padding: 0 267px 0 130px;
    }

    .mainImg__pc {
        display: block;
        width: 1295px;
        height: 600px;
        object-fit: cover;
        object-position: 50% 73%;
        border-radius: 50px;
    }

    .mainImg_txt1 {
        font-size: 4rem;
        top: 150px;
        right: 130px;

    }

    .mainImg_txt2,
    .mainImg_txt3 {
        font-size: 2rem;
    }

    .mainImg_txt2 {
        top: 290px;
        right: 190px;
    }

    .mainImg_txt3 {
        top: 335px;
        right: 220px;
    }

    /* pc 769px */

}

/* 診療時間 */
.main_medicalhours {
    display: none;
}




/* 診療時間pc */
@media screen and (min-width:769px) {
    .main_medicalhours {
        position: fixed;
        display: flex;
        justify-content: flex-end;
        column-gap: 20px;
        padding: 20px 35px;
        height: auto;
        background-color: var(--primary-white);
        border-radius: 0 50px 50px 0px;
        position: fixed;
        bottom: 220px;
        right: 50%;
        width: 50%;
        transition: 0.4s;
        transform: translateX(0);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        z-index: 999;
    }

    .main_medicalhours.active {
        transform: translateX(calc(-100% + 100px));
    }

    .medicalhours-open {
        width: 90%;
    }

    .medicalhours {
        width: 20px;
    }

    .medicalhours1_arrow {
        width: 10px;
        transition: transform 0.3s ease;
        cursor: pointer;
        transform: rotate(180deg);
    }

    .medicalhours1_arrow.active {
        transform: rotate(0);
    }
}

/* pc 769px */

/* about */
.section--about {
    margin-top: 150px;
    font-weight: bold;
    text-align: center;
    font-size: 2rem;
    padding: 0 16px;
}

/* 院紹介 */
.section--our_hospital {
    display: flex;
    margin-top: 120px;
    flex-wrap: wrap;
    padding: 0 16px;

}

.hospital-block {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    margin-top: 8px;
    font-size: 1.6rem;
}

.etc {
    width: 343px;
    height: 181px;
    border-radius: 30px;
    object-fit: cover;
    object-position: 50% 40%;
}

.etc2 {
    margin-top: 24px;
    width: 343px;
    height: 181px;
    border-radius: 30px;
    object-fit: cover;
    object-position: 50% 75%;
}

.btn--our_hospital {
    display: inline-flex;
    gap: 10px;
}

/* 診療時間pc */
@media screen and (min-width:769px) {
    .section--our_hospital {
        display: block !important;

    }

    .our_hospital {
        display: flex;
        justify-content: center;
        gap: 24px;
    }

    .etc {
        width: 570px;
        height: 300px;
        margin-bottom: 10px;
    }

    .etc2 {
        width: 570px;
        height: 300px;
        margin-top: 0;
        margin-bottom: 10px;
    }

    .btn--our_hospital {
        font-size: 2.4rem;
    }

}

/* pc 769px */

/* 診療内容 */
.section--treatment_details {
    margin-top: 120px;
    text-align: center;
}

.general_dentistry {
    padding: 5px;
}

.Treatment_dentails_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 24px;
}

.btn--treatment_dentails {
    align-items: center;
    margin: 16px;
    background-color: var(--primary-white);
    display: inline-flex;
    margin-top: 24px;
    border: 3px solid #4E454A;
    border-radius: 150px;
    padding: 30px 90px;
    font-size: 1.6rem;
    transform: 0.4s;
}


.btn--treatment_dentails:hover {
    background-color: #8a7f84;
    color: #FDFDFD;
    opacity: 0.4s;
}

.Treatment_dentails_list img:nth-child(7) {
    margin-left: 30px;
    margin-right: auto;
}

.txt-treatment_dentails {
    margin-left: 10px;
}

/* 診療時間pc */
@media screen and (min-width:769px) {
    .Treatment_dentails_list {
        display: flex;
    }

    .Treatment_dentails_list img:nth-child(7) {
        margin-left: 0;
        margin-right: 0;

    }
}

/* pc 769px */
.btn-list {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: var(--primary-lightgreen);
    border-radius: 50px;
    width: 343px;
    height: 100px;
    margin: 120px auto 0;
    box-shadow: 4px 4px 4px rgba(78, 69, 74, 0.3);
    transition: background-color 0.4s ease, color 0.4s ease;

}

.btn-list:nth-child(2){
    margin-top: 32px;
}

.btn-list:hover {
    background-color: #e6f3e6;
}

.btn-list:nth-child(2){
     background-color: var(--primary-turquoise);
}

.btn-list:nth-child(2):hover {
    background-color: rgba(127, 214, 218, 0.3);
}

.entry_btn:nth-child(2){
    width: 50%;
    height: auto;
}

.inner-dotted {
    position: absolute;
    top: 10px;
    /* 親内側に寄せる */
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 2px dotted var(--primary-white);
    /* 点線枠 */
    border-radius: 40px;
    z-index: 0;
}



.btn-list a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    /* 前面に */
    z-index: 1;
    /* 前面に */
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.bold-text {
    font-weight: bold;
    font-size: 2rem;
}

.small-text {
    font-size: 1.6rem;
}

.text-wrapper {
    text-align: left;
    display: flex;
    flex-direction: column;
}


.text-wrapper span {
    margin: 0;
    padding: 0;
    display: block;
}

.btn-arrow {
    margin-top: 23px;
}






/*お問い合わせボタンpc */
@media screen and (min-width:769px) {
    .btn-contens {
        margin-top: 120px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 40px;
    }

    .btn-list {
        margin: 0;
        width: 591px;
        height: 317px;
        box-shadow: 4px 4px 4px rgba(78, 69, 74, 0.3);
    }

    .btn-list:nth-child(2) {
        margin-top: 0;
        background-color: var(--primary-turquoise);
    }

    .entry_btn {
        width: 150px;
        height: 150px;
    }


}

/* pc 769px */

/* アクセス */
.section--access {
    margin-top: 120px;
    padding: 0px 16px;
}

.map-wrapper {
    text-align: center;
}

.google-map {
    display: inline-block;
    max-width: 100%;
    /* 画面幅に応じて縮小 */
    height: 343px;
    border-radius: 50px;
}

.information {
    margin-top: 24px;
}

.access-store_name {
    font-size: 2rem;


}

.access-addres,
.access-train,
.access-car {
    align-items: flex-start;
    padding: 40px 0 0 0;
    display: flex;
    font-size: 1.6rem;
}

.icon {
    margin-right: 10px;
}

/*アクセスpc */
@media screen and (min-width:769px) {
    .access-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .google-map {
        margin-right: 8px;
        width: 570px;
        height: 570px;
    }
}

/* pc 769px */

.footer {
    margin-top: 120px;
    padding: 0 16px;
    border-top: 1px solid var(--primary-charcoalgray);
}

.footer-rogo {
    width: 100px;
    height: auto;
}

.footer_nav a {
    margin-top: 20px;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.footer_medicalhours {
    margin-top: 16px;
    padding: 20px 10px;
    background-color: var(--primary-white);
    border: 1px solid var(--primary-charcoalgray);
    border-radius: 20px;
}

.footer-side a:nth-of-type(2) {
    display: none;
}

.footer-nav__list {
    margin-top: 24px;
    font-size: 1.6rem;
}

.footer-nav__item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    gap: 10px;
}

.footer-bottom {
    text-align: right;
    padding: 10px 0;
}

.top-btn {
    display: flex;
    background-image: url(../img/Topbtn.svg);
    background-repeat: no-repeat;
    width: 61px;
    height: 88px;
    position: relative;

    bottom: 1.4%;
    left: 87%;
}

.top-btn span {
    display: block;
    position: relative;
    top: -11px;
    right: 5px;
}

/*footer pc */
@media screen and (min-width:769px) {
    .footer_contents {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 50px;

    }

    .footer-side a:nth-of-type(2) {
        display: block;
    }

    .footer_side {
        display: flex;
        align-items: center;
        gap: 155px;
    }


    .sp-only-side {
        font-size: 2rem;
        font-weight: bold;
        color: var(--primary-bluegreen);
    }

    .footer_medicalhours {
        width: 650px;
        height: 216px;
    }

    .top-btn {
        bottom: 1.4%;
        left: 96%;
    }

    .footer_medicalhours {
        border-radius: 50px;

    }



}

/* pc 769px */