@charset "UTF-8";

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
body {
    overflow: visible!important;
}

/* variables.css */
:root {
    --base: 1440;
}

/* # =================================================================
   # 汎用クラス
   # ================================================================= */
   /* デバイスの表示・非表示 */
   @media screen and (min-width: 768px) {
        .is-pc {display:block!important}
        .is-sp {display:none!important}
    }
   @media screen and (max-width: 767px) {
        .is-pc {display:none!important}
        .is-sp {display:block!important}
    }

    /* スマホの時だけ電話をタップでかけれるように */
    .tel-link {
        text-decoration: none;
        pointer-events: none;
    }
    @media (hover: none) and (pointer: coarse) {
        .tel-link {
        text-decoration: underline;
        pointer-events: auto;
        }
    }

   /* 下層H1タイトル */
   .contents__title__wrapper {
        margin: 90px auto 200px;
        max-width: 1160px;
        position: relative;
        @media screen and (max-width: 767px) {
            margin: 0 auto 100px;
            padding: 0 20px;
        }
        .contents__title {
            font-size: clamp(4.8rem, 6rem / (1440 * 1px) * 100vw, 7.6rem);
            font-family: futura-pt, sans-serif;
            font-style: normal;
            font-weight: 400;
            line-height: 100%;
            @media (768px <= width <= 1300px) {
                padding: 0 10px 0 80px;
            }
            @media screen and (max-width: 1200px) {
                margin-bottom: 20px;
            }
            @media screen and (max-width: 767px) {
                line-height: 120%;
            }
            span {
                display: block;
                font-size: 1.7rem;
                font-style: normal;
                font-weight: 500;
                line-height: 100%;
                letter-spacing: 0.34px;
                margin-bottom: 25px;
                @media screen and (max-width: 767px) {
                    font-size: 1.3rem;
                    letter-spacing: 0.26px;
                    margin-bottom: 15px;
                }
            }
        }
        .title__lead {
            max-width: 360px;
            font-size: 1.4rem;
            font-style: normal;
            font-weight: 400;
            line-height: 170%;
            letter-spacing: 0.28px;
            position: absolute;
            top: 40px;
            right: 0;
            @media screen and (max-width: 1300px) {
                right: 10px;
                line-height: 180%;
            }
            @media screen and (max-width: 1200px) {
                position: static;
                padding: 0 10px 0 80px;
            }
            @media screen and (max-width: 767px) {
                max-width: 100%;
                padding: 0;
            }
        }
    }

   /* パンくず */
   #breadcrumbs {
        writing-mode: vertical-rl; /* 縦書きにする */
        text-orientation: sideways;
        color: #606060;
        @media screen and (max-width: 767px) {
            margin-bottom: 52px;
        }
        a {
            font-family: "Jost";
            font-size: 1.2rem;
            font-style: normal;
            font-weight: 400;
            line-height: 100%; /* 12px */
            letter-spacing: 0.48px;
            display: inline-block;
            border-left: 1px solid #333;
            color: #919191;
            @media screen and (min-width: 768px) {
                &:hover {
                    border: none;
                }
            }
            @media screen and (max-width: 767px) {
                border: none;
                text-decoration: underline;                 /* リンク同士の間の余白 */
            }
        }
        &> span {
            display: flex;
            gap: 10px;
        }
        span {
            font-family: "Jost";
            font-size: 1.2rem;
            font-style: normal;
            font-weight: 400;
            line-height: 100%; /* 12px */
            letter-spacing: 0.48px;
        }
        @media screen and (min-width: 768px) {
            position: absolute;
            top: 112px;
            left: 39px;
            z-index: 1;
        }
        @media screen and (max-width: 767px) {
            writing-mode: horizontal-tb;
            display: flex;
            gap: 10px;
            padding-left: 12px;
        }
    }

   /* 要素をフェードインさせる */
   .target-animation {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 1.4s 0.2s cubic-bezier(0, 0, 0.2, 1),
                    transform 1.4s cubic-bezier(0, 0, 0.2, 1);
    }
    .target-animation.visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* ボタン黒 */
    .btn-style-black {
        display: inline-block;
        border-radius: 6px;
        background: #110101;
        font-size: 1.8rem;
        font-style: normal;
        font-weight: 500;
        line-height: 170%; /* 30.6px */
        letter-spacing: 0.36px;
        padding: 12px 58px;
        color: #fff;
    }

    /* 回転ボタン */
    .btn-style {
        display: inline-block;
        background-color: #110101;
        border-radius: 6px;
        color: #fff;
        font-size: 1.4rem;
        font-weight: 400;
        line-height: 100%;
        letter-spacing: 1.4px;
        @media screen and (min-width: 768px) {
            &:hover {
                background-color: #C52626;
                opacity: 1;
            }
        }
        @media screen and (max-width: 767px) {
            font-size: 1.5rem;
            letter-spacing: 1.5px;
        }
        .btn-style__inner {
            position: relative;
            display: inline-block;
            padding: 12px 86px 12px 20px;
            @media screen and (max-width: 767px) {
                padding: 16.5px 116px 16.5px 24px;
            }
            &::before {
                content: '';
                width: 1px;
                height: 22px;
                background-color: #EDECEB;
                position: absolute;
                top: 50%;
                right: 40px;
                transform: translateY(-50%);
                @media screen and (max-width: 767px) {
                    height: 30px;
                }
            }
            &::after {
                content: '';
                width: 24px;
                height: 24px;
                background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M14.1001 17L13.1866 16.0409L16.4966 12.6633H6V11.3367H16.4966L13.1866 7.9591L14.1001 7L19 12L14.1001 17Z' fill='%23FFFFFF'/%3E%3C/svg%3E");
                background-repeat: no-repeat;
                background-size: 24px;
                background-position: top left;
                position: absolute;
                top: 50%;
                right: 8px;
                transform: translateY(-50%);
            }
        }
        .words {
            display: block;
            position: relative;
            overflow: hidden;
            &::before {
                content: attr(data-text);
                position: absolute;
                top: 100%;
                left: 0;
                transition: top 0.2s cubic-bezier(0.76, 0, 0.24, 1);
            }
            & > span {
                display: block;
                transition: transform 0.2s cubic-bezier(0.76, 0, 0.24, 1);
            }
        }
        @media screen and (min-width: 768px) {
            &:hover .words::before {
                top: 0;
            }
            &:hover .words > span {
                transform: translateY(-100%);
            }
        }
    }

    /* アンカーリンク */
    #philosophy {
        scroll-margin-top: 80px;
    }
  

/* # =================================================================
   # HTML
   # ================================================================= */
   html {
        scroll-behavior: smooth;
    }
    html.is-lock {
        overflow: hidden;
    }
    body {
        background-color: #EDECEB;
        color: #110101;
    }

/* # =================================================================
   # HEADER
   # ================================================================= */
   .header {
    position: sticky;
    top: 0;
    width: 100%;
    height: 95px;
    background-color: #EDECEB;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 19px 32px;
    z-index: 101;
    .header__logo {
        width: 134px;
        @media screen and (min-width: 768px) {
            transition: width 0.3s ease;
        }
        @media screen and (max-width: 1200px) {
            width: 86px!important;
        }
    }
    &.fixed {
        height: 72px !important;
        padding: 19px 32px;
        border-bottom: 1px solid #D9D8D7;
        .header__logo {
            width: 102px;
            @media screen and (min-width: 768px) {
                transition: width 0.3s ease;
            }
        }
    }

    @media screen and (min-width: 1201px) {
        transition: height 0.3s ease, padding 0.3s ease;
        .nav__trigger {
            display: none;
        }
    }

    @media screen and (max-width: 1200px) {
        height: 70px!important;
        padding: 24px!important;
        display: flex;
        align-items: center;
        justify-content: space-between;
        &.is-open .nav__trigger span:nth-child(1) {
            transform: translateY(4.5px) rotate(45deg);
        }
        &.is-open .nav__trigger span:nth-child(2) {
            transform: translateY(-4.5px) rotate(-45deg);
        }
    }

    @media screen and (max-width: 1200px) {
        .nav__trigger {
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 7px;
            width: 25px;
            height: 25px;
            cursor: pointer;
            z-index: 100;
    
            span {
                display: block;
                width: 100%;
                height: 2px;
                background: #110101;
                transition: transform 0.3s ease;
                transform-origin: center;
            }
        }
    
        .header.is-open .nav__trigger span:nth-child(1) {
            transform: translateY(4.5px) rotate(45deg);
        }
    
        .header.is-open .nav__trigger span:nth-child(2) {
            transform: translateY(-4.5px) rotate(-45deg);
        }
    }

    .header__nav {
        display: flex;

        @media screen and (max-width: 1200px) {
            display: block;
            position: fixed;
            top: 70px;
            right: 0;
            width: 100%;
            height: calc(100svh - 70px);
            background: #EDECEB;
            transform: translateX(100%);
            transition: transform 0.3s ease;
            z-index: 99;
            padding: 30px 24px 60px;
            overflow-y: auto;
        }

        .nav__lists {
            display: flex;
            font-size: 1.3rem;
            align-items: center;
            gap: 20px;

            @media screen and (max-width: 1200px) {
                margin-left: 0;
                flex-wrap: wrap;
                gap: 0 22px;
                margin-bottom: 60px;
                align-items: stretch;

                li {
                    display: flex;
                    width: calc(50% - 11px);
                    &:nth-child(1),
                    &:nth-child(2) {
                        border-top: 1px solid #C7C7C7;
                    }
                    a {
                        font-size: 1.6rem;
                        padding: 23px 32px 23px 0;
                        display: block;
                        border-bottom: 1px solid #C7C7C7;
                        position: relative;
                        display: flex;
                        width: 100%;
                        align-items: center;
                        &::after {
                            content: '';
                            width: 24px;
                            height: 24px;
                            background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIj4KICA8bWFzayBpZD0ibWFzazBfMTk3OV8yOTM5IiBzdHlsZT0ibWFzay10eXBlOmFscGhhIiBtYXNrVW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4PSIwIiB5PSIwIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiPgogICAgPHJlY3Qgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiBmaWxsPSIjRDlEOUQ5Ii8+CiAgPC9tYXNrPgogIDxnIG1hc2s9InVybCgjbWFzazBfMTk3OV8yOTM5KSI+CiAgICA8cGF0aCBkPSJNMTQuMTAwMSAxN0wxMy4xODY2IDE2LjA0MDlMMTYuNDk2NiAxMi42NjMzSDZWMTEuMzM2N0gxNi40OTY2TDEzLjE4NjYgNy45NTkxTDE0LjEwMDEgN0wxOSAxMkwxNC4xMDAxIDE3WiIgZmlsbD0iIzNCM0EzQSIvPgogIDwvZz4KPC9zdmc+");
                            background-repeat: no-repeat;
                            background-size: 24px;
                            background-position: top left;
                            position: absolute;
                            top: 50%;
                            right: 10px;
                            transform: translateY(-50%);
                        }
                    }
                }
            }
        }

        .nav__button {
            @media screen and (max-width: 1200px) {
                margin-bottom: 15px;
            }
            a {
                display: flex;
                align-items: center;
                padding: 0 14px;
                height: 34px;
                font-style: normal;
                font-weight: 400;
                line-height: 100%;
                border-radius: 4px;
                @media screen and (max-width: 1200px) {
                    padding: 0 20px;
                }
            }

            &.clinic {
                margin-left: 24px;
                @media screen and (max-width: 1200px) {
                    margin-left: 0;
                }
                a {
                    font-size: 1.2rem;
                    letter-spacing: 0.6px;
                    border: 1px solid #110101;
                    position: relative;
                    padding-left: 36px;
                    &::before {
                        content: '';
                        width: 12px;
                        height: 12px;
                        background-image: url(../images/common/icon_blank.svg);
                        background-size: 12px;
                        background-position: top left;
                        background-repeat: no-repeat;
                        position: absolute;
                        top: 50%;
                        left: 14px;
                        transform: translateY(-50%);
                    }
                    @media screen and (max-width: 1200px) {
                        font-size: 1.5rem;
                        height: 42px;
                        display: inline-flex;
                        padding-left: 44px;
                        &::before {
                            width: 14px;
                            height: 14px;
                            background-size: 14px;
                            left: 18px;
                        }
                    }
                }
            }

            &.guide {
                margin-left: 8px;
                @media screen and (max-width: 1200px) {
                    margin-left: 0;
                }
                a {
                    font-size: 1.2rem;
                    letter-spacing: 0.6px;
                    border: 1px solid #110101;
                    @media screen and (max-width: 1200px) {
                        font-size: 1.5rem;
                        height: 35px;
                        display: inline-flex;
                    }
                }
            }

            &.online {
                margin-left: 24px;
                @media screen and (max-width: 1200px) {
                    margin-left: 0;
                }
                a {
                    font-size: 1.3rem;
                    letter-spacing: 0.65px;
                    background: #110101;
                    color: #fff;
                    font-family: 'League Spartan', sans-serif;
                    @media screen and (max-width: 1200px) {
                        font-size: 1.5rem;
                        height: 36px;
                        display: inline-flex;
                    }
                }
            }
        }
    }

    &.is-open {
        .header__nav {
            @media screen and (max-width: 1200px) {
                transform: translateX(0);
            }
        }
    }
}


/* =================================================================
   FOOTER
   ================================================================= */

.footer {
    will-change: transform;
    transform: translateZ(0);
    background-color: #110101;
    color: #fff;
}
.footer__main {
    max-width: 1180px;
    margin: 0 auto;
    padding: 80px 10px;
    display: flex;
    justify-content: space-between;
    position: relative;
}

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

.footer__logo {
    color: #fff;
    width: 158px;
}

.footer__sns {
    display: flex;
    gap: 16px;
    position: absolute;
    top: 180px;
    left: 10px;
}

.footer__sns a {
    width: 24px;
    height: 24px;
}

.footer__nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 24px;
    column-gap: 12px;
    max-width: 554px;
}

.footer__nav-heading {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: 0.3px;
    a {
        color: #fff;
        opacity: 1;
        @media screen and (min-width: 768px) {
            &:hover {
                opacity: 0.6;
            }
        }
    }
}

.footer__nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer__nav-list a {
    font-size: 1.3rem;
    color: #fff;
    opacity: 0.6;
    line-height: 100%;
    @media screen and (min-width: 768px) {
        &:hover {
            opacity: 0.3;
        }
    }
}

/* 右列：白・やや大きめ */
.footer__nav-list--primary a {
    font-size: 1.5rem;
    font-weight: 500;
    color: #fff;
    opacity: 1!important;
    @media screen and (min-width: 768px) {
        &:hover {
            opacity: 0.6!important;
        }
    }
}

/* 下段：3列またがる */
.footer__nav-bottom {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.footer__nav-single {
    font-size: 1.5rem;
    font-weight: 400;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.03em;
    line-height: 100%;
    display: block;
    letter-spacing: 0.3px;
    transition: opacity 0.2s ease;
}

@media screen and (min-width: 768px) {
    .footer__nav-single:hover {
        opacity: 0.6;
    }
}

.footer__related-heading {
    font-size: 1.35rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.03em;
    margin-bottom: 15px;
    line-height: 1;
}

.footer__related-link {
    font-size: 1.3rem;
    color: #fff;
    opacity: 0.6;
}

@media screen and (min-width: 768px) {
    .footer__related-link:hover {
        color: #fff;
        opacity: 0.3;
    }
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 29px 0;
}
.footer__bottom__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__bottom-links {
    display: flex;
    gap: 24px;
}

.footer__bottom-links a {
    font-size: 1.2rem;
    color: #fff;
    opacity: 0.6;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: 0.24px;
    @media screen and (min-width: 768px) {
        &:hover {
            opacity: 0.3;
        }
    }
}

@media screen and (min-width: 768px) {
    .footer__bottom-links a:hover {
        color: #fff;
    }
}

.footer__copyright {
    font-size: 1.3rem;
    color: #fff;
    opacity: 0.6;
    font-weight: 300;
    line-height: 100%;
}

@media screen and (min-width: 768px) {
    .footer__nav-group {
        width: 190px;
        &.overview {
            order: 1;
        }
        &.company {
            order: 2;
        }
        &.belief {
            order: 4;
        }
        &.link-list {
            order: 3;
            width: 150px;
        }
    }
}

@media screen and (max-width: 767px) {

    .footer__main {
        padding: 20px 24px 0;
        display: block;
    }

    .footer__logo {
        width: 247px;
        margin-bottom: 80px;
    }

    .footer__sns {
        margin: 0 0 35px;
        position: static;
        gap: 24px;
    }

    /* ナビ：縦1列 */
    .footer__nav {
        grid-template-columns: 1fr;
        row-gap: 0;
    }

    .footer__nav-group {
        margin-bottom: 35px;
        &.belief {
            margin: 0;
        }
        &.link-list {
            margin-bottom: 80px;
        }
    }

    .footer__nav-heading {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }

    .footer__nav-list {
        gap: 20px;
    }

    .footer__nav-list a {
        font-size: 1.3rem;
    }

    .footer__nav-list--primary a {
        font-size: 1.6rem;
        font-weight: 400;
    }

    /* 下段エリア */
    .footer__nav-bottom {
        grid-column: 1;
        gap: 0;
    }

    .footer__nav-bottom__item {
        margin-bottom: 35px;
    }

    .footer__nav-single {
        font-size: 1.6rem;
    }

    .footer__related-heading {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }

    .footer__related-link {
        font-size: 1.3rem;
    }

    /* ボトムバー */
    .footer__bottom {
        padding: 15px 24px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .footer__bottom__inner {
        padding: 0;
        display: block;
    }

    .footer__bottom-links {
        justify-content: center;
        margin-bottom: 25px;
    }

    .footer__bottom-links a {
        font-size: 1.2rem;
    }

    .footer__copyright {
        font-size: 1.3rem;
        text-align: center;
    }
}

/* =================================================================
   アコーディオン
   ================================================================= */
.faq__quetion {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.faq__icon {
    margin-left: auto;
    font-size: 20px;
    line-height: 1;
}

.faq__answer {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
}