@charset "utf-8";
/*===========================
common
===========================*/
html {
    font-size: 62.5%;
    scroll-padding-top: 100px;
    scroll-behavior: smooth;
}

body {
    font-family:
        "Zen Kaku Gothic New",
        "Noto Sans JP"、
        "DM Sans";
    font-style: normal;
    color: #4A2B22;
    background-color: #F5F1EC;
    overflow-x: hidden;
}

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

.brSp {
    display: none;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* common sp */
@media screen and (max-width: 767px) {
    .brSp {
        display: block;
    }
}

/*===========================
header
===========================*/

.header {
    margin: 0 auto;
    padding: 8px 3.4%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(245, 241, 236, 0);
    backdrop-filter: blur(0px);
    transform: translateY(0); 
    opacity: 1;
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, padding 0.4s ease;
}

.header.is-scrolled {
    background-color: rgba(245, 241, 236, 0.7);
    backdrop-filter: blur(10px);
}

.header__topic {
    display: block;
    text-align: center;
}

.header__index {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo__wide {
    display: block;
    width: 150px;
    height: auto;
}

.header__copy {
    display: block;
    margin-top: 2px;
    font-family: "Noto Sans JP";
    font-size: 1rem;
    font-weight: 300;
    line-height: normal;
}

.nav {
    align-items: center;
    background: transparent;
    width: auto;
    height: auto;
    padding: 0;
    position: static;
    transform: translate(0);
    transition: none;
}

.nav__header {
    display: none;
}

.header__content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 30px;
}

.menu__itemSp {
    display: none;
}

.menu__itemTxt {
    display: flex;
    align-items: center;
    font-family: "Noto Sans JP";
    font-size: 1.4rem;
    font-weight: 300;
    cursor: pointer;
    transition: 0.5s ease;
}

.menu__itemTxt:hover {
    color: #FD7777;
}

.header__btn {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header__reserve {
    display: block;
    text-align: center;
    gap: 4px;
}

.btn__txt {
    font-family: "Noto Sans JP";
    font-size: 1.2rem;
    font-weight: 400;
    line-height: normal;
}

.btn__rectangle {
    display: flex;
    margin-top: 3px;
    padding: 10px;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    border-radius: 10px;
    background: #FD7777;
    transition: 0.5s ease;
}

.btn__rectangle:hover {
    background: #FBC494;
    transform: scale(1.05);
}

.header__reserveTxt {
    color: #FFFBFB;
    font-family: "Noto Sans JP";
    font-size: 1.6rem;
    font-weight: 350;
    line-height: normal;
}

.header__sns {
    display: flex;
    align-items: center;
    gap: 15px;
}

.menu__line,
.menu__instagram {
    display: block;
    width: 30px;
    height: auto;
    transition: 0.5s ease;
}

.menu__line:hover,
.menu__instagram:hover {
    transform: scale(1.2);
}

.tablet__right {
    display: none;
}

@media screen and (max-width: 1024px) {
    .header {
        padding: 5px 5.3%;
        /* backdrop-filter: blur(10px); */
    }

    .logo__wide {
        width: 120px;
    }

    .header__copy {
        font-size: 0.8rem;
    }

    .nav {
        background-color: #F5F1EC;
        width: 100%;
        height: 100vh;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 100;
        transform: translateX(-100%);
        transition: transform 0.4s;
        overflow-y: auto;
    }

    .nav.active {
        transform: translateX(0);
    }

    .nav__header {
        display: flex;
        margin: 0 auto;
        padding: 5px 5.3%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .menu__itemTxt {
        font-size: 1.6rem;
    }

    .header__reserveTxt {
        font-size: 1.8rem;
    }

    .tablet__index {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .tablet__copy {
        display: block;
        margin-top: 2px;
        font-family: "Noto Sans JP";
        font-size: 0.8rem;
        font-weight: 300;
        line-height: normal;
    }

    .nav__logo {
        display: block;
        width: 120px;
        height: auto;
    }

    .close {
        display: block;
        width: 65px;
        height: auto;
        cursor: pointer;
        transition: 0.5s ease;
    }

    .close:hover {
        transform: scale(1.1);
    }

    .header__content {
        flex-direction: column;
        gap: 60px;
        margin: 100px auto 0;
        width: fit-content;
    }

    .nav__list {
        flex-direction: column;
        gap: 40px;
        align-items: flex-start;
    }

    .menu__itemSp,
    .menu__item {
        display: block;
        width: 100%;
    }

    .menu__itemSp a,
    .menu__item a {
        display: flex;
        gap: 10px;
        width: 100%;
    }

    .nav__arrow {
        display: block;
        width: 40px;
        height: 40px;
        cursor: pointer;
        /* === 通常時のアイコン画像 === */
        background-image: url(../images/arrow_sp.webp);
        background-size: contain;   /* 画像を枠内に収める */
        background-repeat: no-repeat;
        background-position: center; /* 中央に配置 */
  
        /* === 切り替えをふわっとさせる（これ重要！） === */
        transition: background-image 0.5s ease;
        
        flex-shrink: 0;
    }

    /* 親要素（.menu-item）がホバーされた時 */
    .menu__itemSp:hover .nav__arrow,
    .menu__item:hover .nav__arrow {
        background-image: url(../images/hoverArrow_sp.webp);
    }

    .header__btn {
        flex-direction: column;
        gap: 35px;
        /* text-align: center; */
    }

    .btn__txt {
        font-size: 1rem;
    }

    .header__sns {
        margin: 0 auto;
        width: fit-content;
        gap: 35px;
    }

    .menu__line,
    .menu__instagram {
        width: 40px;
    }

    .tablet__right {
        display: flex;
        align-items: flex-end;
        gap: 20px;
    }

    .tablet__reserve {
        display: block;
        text-align: center;
        gap: 4px;
    }

    .open {
        display: block;
        width: 65px;
        height: auto;
        cursor: pointer;
        transition: 0.5s ease;
    }

    .open:hover {
        transform: scale(1.1);
    }
}

@media screen and (max-width: 767px) {
    .logo__wide {
        width: 100px;
    }

    .header__copy {
        display: none;
    }

    .header__content {
        gap: 40px;
        margin: 40px auto 0;
    }

    .nav__list {
        gap: 25px;
    }

    .nav__logo {
        width: 100px;
    }

    .tablet__copy {
        display: none;
    }

    .close {
        width: 57px;
    }

    .header__reserve {
        display: none;
    }
    
    .tablet__reserve {
        display: none;
    }

    .open {
        width: 57px;
    }
}

/*===========================
footer
===========================*/

.footer__content {
    margin: 0 auto;
    width: 70%;
    max-width: 1012px;
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.logo__square {
    width: 257px;
    height: auto;
}

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

.clinic__title {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    padding: 0 10px 15px 10px;
    /* align-self: stretch; */
    border-bottom: 0.5px solid rgba(46, 13, 3, 0.50);
}

.clinic__name {
    font-family: "Zen Kaku Gothic New";
    font-size: 2rem;
    font-weight: 400;
    line-height: 100%;
}

.clinic__copy {
    font-family: "Zen Kaku Gothic New";
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 110%;
}

.clinic__access {
    display: flex;
    align-items: flex-start;
    display: flex;
    padding: 20px 10px;
    gap: 8px;
    /* align-self: stretch; */
    border-bottom: 0.5px solid rgba(46, 13, 3, 0.50);
}

.icon__place {
    width: 16px;
    height: auto;
}

.access__detail {
    margin-top: -4px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

.address,
.hours__title,
.reserve__title {
    font-family: "Noto Sans JP";
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 150%;
}

.directions,
.hours__day {
    font-family: "Noto Sans JP";
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 150%;
}

.access__txt,
.hours__txt,
.reserve__txt {
    font-family: "Noto Sans JP";
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 150%;
}

.clinic__hours {
    display: flex;
    align-items: flex-start;
    display: flex;
    padding: 20px 10px;
    gap: 8px;
    /* align-self: stretch; */
    border-bottom: 0.5px solid rgba(46, 13, 3, 0.50);
}

.icon__hours {
    width: 18.5px;
    height: auto;
}

.hours__detail {
    margin-top: -4px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.clinic__reserve {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 20px 10px;
    /* align-self: stretch; */
}

.icon__reserve {
    width: 12px;
    height: auto;
}

.reserve__content {
    margin-top: -4px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.reserve__detail {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bold {
    font-weight: 400;
}

.footer__link {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer__reserveTxt {
    color: #FFFBFB;
    font-family: "Noto Sans JP";
    font-size: 1.8rem;
    font-weight: 350;
    line-height: normal;
}

.footer__sns {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer__line,
.footer__instagram {
    display: block;
    width: 30px;
    height: auto;
    transition: 0.5s ease;
}

.footer__line:hover,
.footer__instagram:hover {
    transform: scale(1.2);
}

.copy {
    margin: 0 auto;
    width: fit-content;
    padding: 140px 0 80px;
    font-family: "DM Sans";
    font-size: 1.2rem;
    font-weight: 300;
    line-height: normal;
}

.fixed-btn-area {
    display: none;
}

@media (max-width: 970px) {
    .clinic__title {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding: 0 5px 15px 5px;
    }
}

@media (max-width: 767px) {
    .footer__content {
        width: 80%;
        max-width: 500px;
        flex-direction: column;
        align-items: center;
        gap: 38px;
    }

    .logo__square {
        width: 200px;
    }

    .clinic__content {
        text-align: left;
    }

    .clinic__name {
        font-size: 1.8rem;
    }

    .clinic__copy {
        font-size: 1.6rem;
        line-height: 110%;
    }

    .clinic__access {
        padding: 15px 5px;
        gap: 8px;
    }

    .access__detail {
        margin-top: -4px;
    }

    .address,
    .hours__title,
    .reserve__title {
        font-size: 1.6rem;
    }

    .directions,
    .hours__day {
        font-size: 1.4rem;
    }

    .access__txt,
    .hours__txt,
    .reserve__txt {
        font-size: 1.2rem;
    }

    .clinic__hours {
        padding: 15px 5px;
    }

    .hours__detail {
        margin-top: -4px;
    }

    .clinic__reserve {
        padding: 15px 5px;
    }

    .reserve__content {
        margin-top: -4px;
        gap: 10px;
    }

    .footer__link {
        display: none;
    }

    .footer__sns {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .footer__line,
    .footer__instagram {
        display: block;
        width: 30px;
        height: auto;
        transition: 0.5s ease;
    }

    .footer__line:hover,
    .footer__instagram:hover {
        transform: scale(1.2);
    }

    .copy {
        padding: 65px 0 80px;
        font-size: 1rem;
    }

    .fixed-btn-area {
        display: block;
        position: fixed;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 60%;
        z-index: 3000;
    }
    .fixed-btn {
        display: block;
        background: #FD7777;
        color: #FFFBFB;
        font-family: "Noto Sans JP";
        font-size: 1.6rem;
        font-weight: 350;
        line-height: normal;
        text-align: center;
        padding: 15px;
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    }
}