/* ベーススタイル */
body {
    font-family: "Sawarabi Gothic", serif;
    margin: 0;
    padding: 0;
    color: #444;
    background-color: #fff;
    background-image: url('../img/bg-img.webp');
    background-size: cover;
    background-attachment: fixed;
    font-size: 0.9375rem;
}

.pc-only {
    display: block;
}

.tb-only {
    display: none;
}

.sp-only {
    display: none;
}

/* フェードインアニメーション */
.fade-in {
    opacity: 0;
    /* 初期状態は透明 */
    transform: translateY(50px);
    /* 50px下に移動 */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* 表示時のスタイル */
.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

/* 初期状態：透明 & 左にずらしておく */
.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* 表示時のスタイル */
.fade-in-left.show {
    opacity: 1;
    transform: translateX(0);
}

/* 共通横幅1040px */
section.message,
section.about,
.menu__container,
.voice__container,
.footer {
    width: 82%;
    margin: auto;
    max-width: 1040px;
}

/* 共通横幅920px */
.profile__info,
.profile__description,
.faq__container,
.access__container {
    width: 72%;
    margin: auto;
    max-width: 920px;
}

/* ローディング */
/* ✅ ローディング画面（白背景） */
/* ✅ ローディング画面（白背景） */
#loading {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 1.5s ease-in-out, visibility 1.5s ease-in-out;
}

/* ✅ テキスト（最初は `opacity: 0;` で透明に） */
.loading-text {
    font-size: clamp(14px, 1.5vw, 30px);
    font-family: "Noto Sans JP", serif;
    color: #333;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    /* 2秒かけてフェードイン */
    transition-delay: 0.1s;
    /* 1秒後にフェードイン開始 */
}

/* ✅ テキストをフェードイン */
#loading.show-text .loading-text {
    opacity: 1;
}

/* ✅ フェードアウト（背景 & テキスト） */
#loading.fade-out {
    opacity: 0;
    visibility: hidden;
}

@media (min-width: 768px) and (max-width: 1180px) {
    .tb-only {
        display: block;
    }
    body {
        background-image: none;
    }

    body-bg {
        position: relative;
        height: 100%;
        clip-path: inset(0);
    }

    body img.bg-sp-img {
        position: fixed;
        height: auto;
        z-index: -1;
    }

}



@media (max-width: 768px) {
    body {
        background-image: none;
    }

    body-bg {
        position: relative;
        height: 100%;
        clip-path: inset(0);
    }

    body img.bg-sp-img {
        position: fixed;
        height: auto;
        z-index: -1;
    }

    section.message,
    section.about,
    .menu__container,
    .voice__container,
    .footer {
        width: 90%;
    }

    .profile__info,
    .profile__description,
    .faq__container,
    .access__container {
        width: 90%;
    }

    .pc-only {
        display: none;
    }
    .tb-only {
        display: none;
    }

    .sp-only {
        display: block;
    }
    p.message__text, p.profile__text, p.about__text, p.point__text, h2.point__title, p.swiper-slide-ex, .menu__details, p.voice__text, .faq__answer, p.access__method-text{
        text-align:justify;
    }
}

/* ヘッダー */
.header {
    position: fixed;
    width: 100%;
    font-family: "Jost", serif;
    z-index: 999;
}

/* ヘッダーのレイアウト */
.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px;
    margin: auto;
}

/* ロゴ */
.header__logo img {
    width: clamp(100px, 7vw, 200px);
}

/* メニュー */
.header__menu {
    list-style: none;
    display: flex;
    gap: 24px;
    /* はみ出し防止のため、px指定 */
    padding: 0;
    margin: 0;
    font-family: "Jost", serif;
    letter-spacing: 1.2px;
}

/* メニューアイテム */
.header__menu-item a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-size: clamp(12px, 1.2vw, 18px);
    position: relative;
    display: inline-block;
}

/* ホバー時の下線アニメーション */
.header__menu-item a::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -3px;
    width: 0;
    height: 1px;
    background-color: #333;
    transition: width 0.3s ease-in-out;
}

.header__menu-item a:hover::after {
    width: 100%;
}

/* スマホ表示用（768px以下） */
@media screen and (max-width: 768px) {
    .header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        height: 106px;
        /* ヘッダーの高さを指定 */
        display: flex;
        align-items: center;
        height: fit-content;
    }

    .header__nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 80vh;
        background: white;
        box-shadow: 5px 2px 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease-in-out;
    }

    .header__container {
        padding: 40px 0 40px 0;
        width: 90%;
        margin: 0 auto;
    }

    .header__nav.active {
        right: 0;
    }

    .header__menu {
        flex-direction: column;
        gap: 0px;
        padding: 20px;
        align-items: start;
    }

    /* ハンバーガーメニュー */
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 12px;
        cursor: pointer;
        z-index: 1001;
        /* メニューより前面に */
        position: relative;
    }

    /* 上の線 */
    .hamburger .line1 {
        display: block;
        width: 100%;
        height: 1px;
        background: #333;
        border-radius: 2px;
        transition: 0.3s;
    }

    /* 下の線（少し短くする） */
    .hamburger .line2 {
        display: block;
        width: 70%;
        /* 長さを短くする */
        height: 1px;
        background: #333;
        border-radius: 2px;
        transition: 0.3s;
        align-self: flex-end;
        /* 右寄せ */
    }

    /* メニューが開いた時の `×` 表示 */
    .hamburger.open .line1 {
        transform: translateY(3px) rotate(20deg);
    }

    .hamburger.open .line2 {
        transform: translateY(-8px) rotate(-20deg);
        width: 100%;
        /* 下の線も長さを100%にして `×` の形に */
    }

    /* ナビゲーションメニューのスタイル */
    .header__nav {
        position: fixed;
        top: 0;
        right: -100%;
        /* 初期状態で画面外 */
        width: 100%;
        height: 70vh;
        display: flex;
        align-items: center;
        transition: right 0.3s ease-in-out;
        z-index: 1000;
        max-width: 375px;
    }

    /* メニューのリスト */
    .header__menu {
        list-style: none;
        text-align: center;
        padding: 0;
        width: 78%;
        margin: auto;
        margin-top: 92px;
    }

    .header__menu-item {
        margin-bottom: 24px;
    }

    .header__menu-item a {
        text-decoration: none;
        color: #333;
        font-size: 0.9375rem;
    }

    /* メニューが開いたとき */
    .header__nav.open {
        right: 0;
    }

    /* ヘッダーの高さ分のスペースを確保 */
    .header-placeholder {
        height: 97px;
        /* ヘッダーと同じ高さ */
    }
}



/* メインビジュアル */
.main-visual {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 60px;
    padding-left: 68px;
    position: relative;
    padding-top: 80px;
    max-width: 1750px;
    margin: auto;
}


.main-visual__image {
    text-align: end;
    width: auto;
    margin: auto;
    margin-right: 0;
    padding-left: 100px;
}

/* @media (max-width: 1280px) {
    .main-visual__image {
        max-width: 870px;
    }
} */

@media (max-width: 1280px) {
    .main-visual__image {
        max-width: 1280px;
    }
}


.main-visual__image img {
    width: 90%;
    margin: auto;
    margin-right: 0;
    height: auto;
    min-width: 250px;
    max-height: 88vh;
}

/* @media (max-width: 1280px) {
    .main-visual__image img {
        width: auto;
        height: 60vh;
    }
} */

.main-visual__content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 80vh;
    position: absolute;
    max-height: 600px;
    padding-top: 20px;
}

@media (max-width: 1280px) {
    .main-visual__content {
        height: 70%;
    }
}

.main-visual__content-top {
    display: flex;
    flex-direction: column;
}

p.main-visual__tagline img {
    padding-bottom: 44px;
    width: clamp(305px, 18vw, 400px);
}

h1.main-visual__title img {
    padding-bottom: 55px;
    width: clamp(300px, min(90vw, 600px), 720px);
}

@media (max-width: 1280px) {
    h1.main-visual__title img {
        max-width: 400px;
    }
}

p.main-visual__subtitle {
    font-family: "Noto Sans JP", serif;
    font-size: clamp(14px, 1.25vw, 24px);
    letter-spacing: 2.56px;
    font-weight: 200;
}

p.main-visual__producer {
    font-family: "Jost", serif;
    font-size: clamp(12px, 1.1vw, 18px);
    letter-spacing: 1.68px;
}

p.main-visual__producer::before {
    content: "";
    display: inline-block;
    width: 24px;
    /* 横線の長さ */
    height: 1px;
    /* 横線の太さ */
    background-color: #444;
    /* 横線の色 */
    margin-right: 10px;
    /* タイトルとの間隔 */
    margin-bottom: 4px;
}

/* Instagramバナー */
.instagram {
    position: absolute;
    position: fixed;
    z-index: 999;
    bottom: 20px;
    right: 4px;
    padding: 10px;
    display: flex;
    align-items: center;
}

.instagram :hover {
    opacity: 0.6;
}

/* 縦書きのテキスト */
.instagram__link {
    display: flex;
    align-items: center;
    writing-mode: vertical-rl;
    /* 縦書きにする */
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 1.44px;
}

/* Instagramアイコン */
.instagram__link img {
    width: 24px;
    height: 24px;
    margin-top: 5px;
    /* テキストとの間隔 */
}


@media (max-width: 768px) {
    .main-visual {
        padding-right: 0;
        padding-left: 20px;
        padding-top: 0;
        display: flex;
        flex-direction: column-reverse;
        align-items: flex-end;
        height: calc(100vh - 106px);
        height: 100%;
        max-width: auto;
    }

    h1.main-visual__title img {
        padding-bottom: 48px;
        max-width: 70%;
        width: 100%;
    }

    .main-visual__image img {
        max-width: 550px;
        margin: auto;
        margin-right: 0;
        width: 90%;
        height: auto;
    }

    .main-visual__image {
        padding-left: 0px;
        margin: 0;
    }

    .main-visual__content-top {
        padding-top: 48px;
        padding-top: 10%;
    }

    .main-visual__content {
        height: auto;
        position: relative;
        height: auto;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    p.main-visual__tagline img {
        padding-bottom: 20px;
        width: 49%;
    }

    p.main-visual__producer {
        padding-top: 80px;
    }

    .instagram {
        display: none;
    }
}

/* メッセージ */
.message {
    padding: 180px 0;
}

.message__container,
.about__container {
    display: flex;
    gap: 4%;
    align-items: center;
}

/* 左側の画像 */
.message__image,
.about__image {
    flex: 1;
    width: 44%;
    max-width: 460px;
}

.message__image img {
    width: 100%;
    height: auto;
}

/* 右側のテキスト */
.message__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 英字タイトル */
.message__label,
.profile__label,
.about__label,
.point__label,
.flow__label,
.menu__label,
.voice__label,
.faq__label,
.access__label,
.contact__label {
    font-family: "Open Sans", serif;
    font-size: 0.75rem;
    letter-spacing: 1.9px;
    color: #818688;
    padding-bottom: 8px;
}

/* 上部タイトル */
h2.message__title,
h2.profile__name,
h2.access__title,
h2.contact__title {
    font-size: 1.75rem;
    letter-spacing: 2.2px;
}

h2.message__title {
    line-height: 48px;
    padding-bottom: 48px;
}

/* 下部タイトル */
h2.about__title,
h2.flow__title,
h2.menu__title,
h2.voice__title,
h2.faq__title {
    font-size: 2rem;
    letter-spacing: 2.6px;
    padding-bottom: 48px;
}

.message__text {
    font-size: 0.9375rem;
    line-height: 36px;
    letter-spacing: 1.2px;
}

@media (max-width: 768px) {
    .message {
        padding: 136px 0 100px 0;
    }

    /* 英字タイトル */
    .message__label,
    .profile__label,
    .about__label,
    .point__label,
    .flow__label,
    .menu__label,
    .voice__label,
    .faq__label,
    .access__label,
    .contact__label {
        font-size: 0.75rem;
        letter-spacing: 1.9px;
        padding-bottom: 8px;
    }

    h2.about__title,
    h2.flow__title,
    h2.menu__title,
    h2.voice__title,
    h2.faq__title {
        font-size: 1.75rem;
        letter-spacing: 2.6px;
        padding-bottom: 36px;
    }

    h2.message__title {
        line-height: 40px;
        padding-bottom: 36px;
    }

    .message__container,
    .about__container {
        display: block;
    }

    .message__image,
    .about__image {
        width: 100%;
        padding-bottom: 60px;
        text-align: end;
    }

    .message__image img,
    .about__image img {
        width: 85%;
        text-align: end;
    }

    .message__content {
        text-align: left;
    }

    .message__container {
        text-align: -webkit-right;
    }
    

}

/* プロフィール */
.profile {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    padding-top: 120px;
}

.profile__container {
    width: 100%;
}

/* プロフィール情報 */
.profile__info {
    text-align: left;
    margin-bottom: 60px;
}

.profile__name--en {
    font-size: 0.9375rem;
    margin-left: 24px;
    font-family: "Jost", serif;
    letter-spacing: 1.2px;
}

.profile__details {
    font-size: 0.75rem;
    color: #7D7D7D;
    line-height: 24px;
    padding-top: 24px;
}

/* 画像ギャラリー */
/* ギャラリーの親要素 */
.profile__gallery {
    overflow: hidden;
    width: 100%;
    position: relative;
}

/* 画像のトラック（スクロールする部分） */
.profile__gallery-track {
    display: flex;
    animation: scrollGallery 20s linear infinite;
}

/* 画像 */
.profile__image {
    width: 25%;
    /* 4枚並べる */
    max-width: 320px;
    height: auto;
    flex-shrink: 0;
    margin-right: 15px;
}

/* 疑似要素でループ用の画像を複製 */
.profile__gallery-track::after {
    content: "";
    display: flex;
    width: 100%;
}

/* アニメーション */
@keyframes scrollGallery {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}



/* プロフィール説明 */
.profile__description {
    text-align: left;
    padding: 60px 0 120px 0;
}

.profile__text {
    line-height: 28px;
    letter-spacing: 0.6px;
}

@media (max-width: 768px) {
    .profile__info {
        margin-bottom: 36px;
    }

    .profile {
        display: block;
        padding-top: 100px;
    }

    .profile__details {
        padding-top: 30px;
    }

    .profile__description {
        padding: 36px 0 100px 0;
    }

    .profile__image {
        margin-right: 8px;
        width: 42%;
    }
}


/* ABOUT */
.about {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 120px 0;
}

/* テキスト部分 */
.about__content {
    flex: 1;
    text-align: left;
}

.about__text {
    font-size: 16px;
    line-height: 28px;
    letter-spacing: 0.6px;
}

.about__note {
    font-size: 0.75rem;
    margin-top: 36px;
    color: #7D7D7D;
}

.about__image img {
    width: 100%;
    height: auto;
}

h2.about__title span {
    font-size: 0.75rem;
}

.profile__img img,
.point-bg img,
p.footer-bg img {
    width: 100%;
    position: sticky;
    top: 10px;
}
@media (orientation: landscape){
    .profile__img img, 
    .point-bg img {
        top: -300px;
    }
}


.profile__img {
    background-image: url("../img/profile5.webp");
    /* 背景画像を指定 */
    background-size: cover;
    /* 画像をカバー */
    background-position: center;
    /* 画像を中央配置 */
    background-attachment: fixed;
    /* 背景を固定 */
    width: 100%;
    /* ビューポートの高さいっぱいに */
    display: flex;
    align-items: center;
    justify-content: center;
    height: 732px;
}
@media (min-width: 768px) and (max-width: 1180px) {
    .profile__img {
        clip-path: inset(0);
        background-image: none;
        position: relative;
        height: 300px;
        width: 100%;
        /* 🔹 画像の中心を中央に設定 */
    }

    .profile__img img {
        position: fixed;
        height: auto;
    }
}

@media (max-width: 768px) {
    .about {
        display: block;
        padding: 100px 0 40px 0;
    }

    .about__note {
        margin-bottom: 60px;
    }

    .about__image img {
        width: 85%;
    }

    .about__image {
        text-align: left;
    }

    .profile__img {
        clip-path: inset(0);
        background-image: none;
        position: relative;
        height: 300px;
        width: 100%;
        /* 🔹 画像の中心を中央に設定 */
    }

    .profile__img img {
        position: fixed;
        height: auto;
    }
}


/* POINT */
/* POINTセクション（共通スタイル） */
.points {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    /* 各POINTの間隔 */
    padding: 144px 0 24px 0;
    background-color: #FCFCFC;
    /* 背景色を適宜変更 */
}

.points__container {
    width: 100%;
}

/* POINT セクション */
.point {
    display: flex;
    justify-content: center;
    align-items: center;
    background-repeat: no-repeat;
    background-size: contain;
    padding: 24px 0;
    margin-bottom: 72px;
}

.point--reverse {
    position: relative;
    background-position: right center;
    /* 背景を右寄せ */
}


.point__container {
    display: flex;
    max-width: 1040px;
    margin: auto;
    width: 82%;
    gap: 5%;
    align-items: center;
}

/* テキスト部分 */
.point__content {
    flex: 1;
    text-align: left;
}

.point__title {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.6;
    padding-bottom: 48px;
    letter-spacing: 1.92px;
}

.point__text {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
    letter-spacing: 0.6px;
}

/* 画像部分 */
.point__image {
    flex: 1;
    max-width: 330px;
}

.point__image img {
    width: 100%;
    height: auto;
    max-width: 330px;
}

/* ポイント画像の背景固定 */
.point-bg {
    background-image: url("../img/point-bg.webp");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    width: 100%;
    height: 732px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.point::before {
    content: '';
    position: absolute;
    background: #fff;
    bottom: 0px;
    left: 0;
    width: 45%;
    height: 100%;
    border-radius: 0 37.8rem 37.8rem 0;
    z-index: -999;
}

/* 逆配置のPOINT 02は左右反転 */
.point--reverse::before {
    left: auto;
    right: 0;
    border-radius: 37.8rem 0 0 37.8rem;
    /* 右ではなく左に角丸 */
}

@media (min-width: 768px) and (max-width: 1180px) {
    .point-bg {
        clip-path: inset(0);
        background-image: none;
        position: relative;
        height: 300px;
        width: 100%;
    }
    .point-bg img {
        position: fixed;
        height: auto;

    }
}


@media (max-width: 768px) {
    .point {
        background-image: none;
        padding: 8px 0 0 0;
    }

    .points {
        padding-top: 80px;
    }

    .point__title {
        padding-bottom: 36px;
    }

    .point::before {
        content: '';
        position: absolute;
        background: #fff;
        bottom: 0;
        left: 0;
        width: 100vw;
        height: 308px;
        border-radius: 0 37.8rem 37.8rem 0;
        z-index: -1;
    }

    /* 逆配置のPOINT 02は左右反転 */
    .point--reverse::before {
        left: auto;
        right: 0;
        border-radius: 37.8rem 0 0 37.8rem;
        /* 右ではなく左に角丸 */
    }


    .point__container {
        display: flex;
        flex-direction: column;
        /* 縦並びにする */
        width: 90%;
        text-align: center;
        /* 中央配置 */
    }

    .point__content {
        order: 1;
        /* テキストを上に */
        text-align: left;
        /* テキストを左寄せに */
    }

    .point__image {
        order: 2;
        /* 画像を下に */
        max-width: 100%;
        /* 画像を幅いっぱいに */
    }

    .point__image img {
        width: 100%;
        /* 画像をコンテナの幅いっぱいに */
        max-width: 330px;
        /* PC時と同じ最大幅 */
        display: block;
        margin: auto;
    }

    .point--reverse .point__container {
        flex-direction: column;
        /* 逆配置も統一して縦並び */
    }

    .point-bg {
        clip-path: inset(0);
        background-image: none;
        position: relative;
        height: 300px;
        width: 100%;

    }

    .point-bg img {
        position: fixed;
        height: auto;

    }
}




/* セッションの流れ */
/* FLOW セクション */
/* 全体レイアウト */
.flow {
    display: flex;
    align-items: center;
    padding: 180px 0 140px 0;
    justify-content: end;
    width: 100%;
    position: relative;
}

.flow::before {
    content: '';
    position: absolute;
    background: #fff;
    top: 100px;
    left: 0;
    width: 48vw;
    height: 90vh;
    border-radius: 0 37.8rem 37.8rem 0;
    z-index: -1;
    max-height: 700px;
}



.flow__container {
    display: flex;
    max-width: 1100px;
    width: 90%;
    max-width: 1160px;
    margin: auto;
    gap: 50px;
    align-items: flex-start;
    justify-content: space-between;
}

/* 左側のステップリスト */
.flow__list {
    list-style: none;
    padding: 0;
    position: relative;
    margin-left: 18%;
    width: 100%;
}

.flow__list::before {
    content: "";
    position: absolute;
    left: 69px;
    top: 6px;
    width: 1px;
    height: 89%;
    background-color: #e0e0e0;
}

.flow__step {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
    display: flex;
    position: relative;
    align-items: flex-start;
}

/* ステップ番号 */
.flow__step span {
    display: block;
    letter-spacing: 0.4px;
}

.flow__step-number {
    font-size: 12px;
    color: #999;
    white-space: nowrap;
    margin-right: 15px;
    /* 黒丸との間隔 */
}

.flow__step-s-text {
    font-size: 0.625rem;
    color: #7d7d7d;
}

/* 丸アイコン */
.flow__step-icon {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid #999;
    display: inline-block;
    margin-right: 15px;
    margin-top: 6px;
}

/* アクティブなステップ */
.flow__step.active .flow__step-icon {
    background-color: #333;
    border-color: #333;
}

/* 右側のスライダー */
.flow__slider {
    flex: 1;
    position: relative;
    overflow: hidden;
    max-width: 600px;
    /* 
    /* 画面外のスライドを非表示 */
}


/* スライド全体 */
.swiper {
    width: 54vw;
    height: auto;
    position: absolute;
    right: 0;
    max-width: 90%;
    /* 最大幅を90%に制限 */
    min-width: 300px;
    height: -webkit-fill-available;
    height: fit-content;
}

/* スライドのラッパー */
.swiper-wrapper {
    display: flex;
    transition: transform 0.3s ease-in-out;
    padding: 60px 0;
    padding-left: 30px;
    height: -webkit-fill-available;
    position: relative;
    height: fit-content;
}

/* 各スライド */
.swiper-slide {
    width: 85%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    /* 次のスライドを少し薄くする */
    transition: opacity 0.3s ease-in-out;
    max-width: 440px;
    /* スライドの最大幅を指定 */
    flex-shrink: 0;
    /* スライドが縮まないようにする */
    height: 70vh;
}

.swiper-slide-active {
    opacity: 1;
    /* アクティブなスライドを強調 */
}

/* スライド内の画像 */
.swiper-slide img {
    width: 100%;
    height: auto;
}

/* スライダーの矢印ボタン */
.swiper-button-prev,
.swiper-button-next {
    position: absolute;
    transform: translateY(-50%);
    background: #fff;
    bottom: 32vh;
    /* 背景を白に */
    border: none;
    cursor: pointer;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease, color 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    /* 影を追加 */
    background-repeat: no-repeat;
    background-position: center;
    background-size: 50%;
    /* 画像サイズ調整 */
}

/* 画面幅が767px〜1024pxのとき（タブレット） */
@media screen and (min-width: 767px) and (max-width: 1023px) {
    .swiper-button-prev,
    .swiper-button-next {
      bottom: 48vh; /* 適宜調整してください */
    }
  }
  
  /* 画面幅が1025px〜1499pxのとき */
  @media screen and (min-width: 1024px) and (max-width: 1499px) {
    .swiper-button-prev,
    .swiper-button-next {
      bottom: 32vh;
    }
  }
  
  /* 画面幅が1500px以上のとき */
  @media screen and (min-width: 1500px) {
    .swiper-button-prev,
    .swiper-button-next {
      bottom: 48vh;
    }
  }
  

/* 左矢印（画像を設定） */
.swiper-button-prev {
    background-image: url("../img/left.webp");
    /* 左矢印画像 */
    left: 6px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.12);
    position: absolute;
}

/* 右矢印（画像を設定） */
.swiper-button-next {
    background-image: url("../img/right.webp");
    /* 右矢印画像 */
    right: 10px;
    position: absolute;
}

h3.swiper-slide-title {
    font-size: 0.9375rem;
    font-family: "Sawarabi Gothic", serif;
    letter-spacing: 0.6px;
}

.swiper-slide p {
    color: #7d7d7d;
    font-size: 0.75rem;
    /* letter-spacing: 0.48px; */
    padding: 0px 0 8px 0;
}
.voice-swiper .swiper-slide p {
    font-size: 0.9375rem;
}

.flow__container .swiper-slide p {
    padding: 24px 0 8px 0;
}

.swiper-slide p.swiper-slide-ex {
    padding: 12px 0 0 0;
    font-family: "Noto Sans JP", serif;
    text-align: justify;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .flow {
        padding: 80px 0;
    }

    .flow__slider {
        max-width: 100%;
    }

    .swiper {
        width: 100%;
        position: relative;
        overflow: hidden;
    }

    /* STEP一覧のコンテナ */
    .flow__list {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow: hidden;
        /* はみ出たSTEPを非表示 */
        width: 100%;
        max-width: 375px;
        position: relative;
        transition: transform 0.3s ease-in-out;
        margin-left: 0;
        max-width: -webkit-fill-available;
    }

    /* 各STEPのスタイル */
    .flow__step {
        flex: 0 0 auto;
        width: 120px;
        /* STEPの幅を統一 */
        text-align: center;
        scroll-snap-align: center;
        /* スナップの基準 */
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
        opacity: 1;
        visibility: visible;
        flex-direction: column;
        align-items: center;
        margin-bottom: 0px;
    }

    .flow__steps {
        width: 100%;
    }

    /* 表示エリア内の要素だけ表示する */
    .flow__step.visible {
        opacity: 1;
        visibility: visible;
    }

    .flow__list.visible {
        overflow: visible;
        /* スライドで表示されたら変更 */
    }

    /* 初期表示ではSTEP1が一番左に表示される */
    .flow__list {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        /* ✅ 左寄せ */
        width: max-content;
        /* ✅ **要素の合計幅に合わせる** */
        -webkit-overflow-scrolling: touch;
        /* ✅ **スマホでスムーズスクロール** */
        scroll-snap-type: x mandatory;
        /* ✅ **スライドをスナップ** */
    }

    .flow__step.active {
        width: 120px;
        /* アクティブなSTEPの幅を拡大 */
    }

    .flow__list.initial {
        transform: translateX(calc(100% - 375px));
        /* **✅ 右端揃え** */
    }

    /* STEPのテキスト */
    span.flow__step-text {
        font-size: 0.625rem;
        text-align: center;
        padding-bottom: 8px;
    }

    /* アイコンの調整 */
    .flow__step-icon {
        margin: 12px 0;
    }

    /* 中央揃え */
    .flow__container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: start;
        gap: 0px;
    }

    .flow__list::before {
        top: 38px;
        height: 1px;
        width: var(--step-line-width, 100%);
        /* ✅ JavaScript で設定された幅を適用 */
        background-color: #e0e0e0;
        position: absolute;
        left: 56px;
        /* ✅ **黒丸の位置に合わせる** */
        content: "";
        /* 🔹 JavaScript で計算された値を適用 */
    }

    .flow::before {
        width: 100vw;
        height: 308px;
        top: 170px;
    }

    .flow__step-number {
        margin-right: 0px;
    }

    h2.flow__title {
        padding-bottom: 60px;
    }

    /* Swiper スライド用のスタイル */
    .swiper-container {
        width: 66%;
        margin: auto;
        overflow: hidden;
    }

    .swiper-wrapper {
        display: flex;
        transition: transform 0.3s ease-in-out;
    }

    .swiper-slide {
        width: 80%;
        flex-shrink: 0;
        display: flex;
        align-items: start;
        height: fit-content;
    }

    /* 矢印ボタンを非表示 */
    .swiper-button-prev,
    .swiper-button-next {
        display: none !important;
    }

    /* ページネーション（ドット） */
    .swiper-pagination {
        position: relative;
        margin-top: 15px;
    }

    .swiper-pagination-bullet {
        background-color: #ccc;
        width: 8px;
        height: 8px;
        margin: 0 5px;
        opacity: 0.5;
        transition: opacity 0.3s ease;
    }

    .swiper-pagination-bullet-active {
        background-color: #333;
        opacity: 1;
    }

    .flow__container .swiper-wrapper {
        padding-left: 0;
        padding-bottom: 20px;
        height: fit-content;
    }

    .swiper-slide p.swiper-slide-ex {
        text-align: justify;
        line-height: 14px;
    }
}





/* メニュー */
/* MENU セクション */
.menu {
    padding: 120px 0;
    background-color: #fff;
}

.menu__container {
    display: flex;
    gap: 7%;
    align-items: flex-start;
}

/* 左側の情報部分 */
.menu__info {
    text-align: left;
}

.menu__image {
    max-width: 220px;
    margin-top: 64px;
}

.menu__image img {
    width: 100%;
    height: auto;
    max-width: 220px;
}

/* 右側のアコーディオンメニュー */
.menu__list {
    flex: 2;
    border-top: 1px solid #E1E1E1;
}

.menu__item {
    border-bottom: 1px solid #E1E1E1;
}

.menu__button {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    /* アイコンを右端に */
    align-items: center;
    padding: 15px;
    font-size: 0.9375rem;
    cursor: pointer;
    text-align: left;
}

.menu__text {
    display: flex;
    flex-direction: column;
    /* 縦並び */
    flex: 1;
    /* 左側を広く取る */
}

.menu__name {
    flex: 1;
    padding-bottom: 4px;
}

.menu__price {
    font-size: 0.75rem;
    color: #7D7D7D;
    font-family: "Noto Sans JP", serif;
    line-height: 16px;
}


.menu__icon {
    flex-shrink: 0;
    /* アイコンのサイズを固定 */
    transition: transform 0.3s ease;
}

.menu__icon img {
    width: 24px;
}

/* アコーディオン詳細（デフォルトで非表示） */
.menu__details {
    display: none;
    padding: 15px;
    font-size: 14px;
    color: #555;
    background: #f9f9f9;
    line-height: 20px;
}

/* 開いた時のスタイル */
.menu__item.active .menu__details {
    display: block;
    text-align: justify;
}

.menu__item.active .menu__icon {
    transform: rotate(45deg);
}

@media (max-width: 768px) {
    .menu {
        padding: 80px 0;
    }

    .menu__container {
        display: block;
    }

    .menu__image-sp {
        margin-top: 60px;
    }

    .menu__image-sp img {
        width: 100%;
    }
}


/* お客様の声 */
/* VOICE セクション */
.voice {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #FCFCFC;
    padding: 80px 0 120px 0;
}

.voice__container {
    text-align: center;
}

/* セクションタイトル */
.voice__header {
    margin-bottom: 40px;
}

/* ✅ クラス名を変更 */
.voice-swiper {
    width: 100%;
    position: relative;
}

/* スライダーラッパー */
.voice-swiper .swiper-wrapper {
    display: flex;
    transition: transform 0.8s ease-in-out;
}

/* スライド */
.voice-swiper .swiper-slide {
    flex: 0 0 33.33%;
    /* **PCでは3つ並べる** */
    max-width: 33.33%;
    text-align: center;
    padding: 0 5%;
    box-sizing: border-box;
    border-right: 1px solid #e1e1e1;
}

/* 最後のスライドの右側の線を消す */
.voice-swiper .swiper-slide:last-child {
    border-right: none;
}

/* 画像 */
.voice__image {
    width: 77%;
    max-width: 180px;
    padding-bottom: 24px;
}

/* レビューテキスト */
.voice__subtitle {
    font-size: 1.25rem;
    padding-bottom: 24px;
    line-height: 29px;
}

.voice__text {
    font-size: 0.9375rem;
    line-height: 28px;
    color: #7d7d7d;
    text-align: justify;
}

.voice-swiper {
    width: 100%;
    max-width: 1100px;
    /* ✅ スライダーの最大幅を指定 */
}

.voice-swiper .swiper-wrapper {
    display: flex;
    justify-content: center;
    align-items: stretch;
}

/* ✅ スライドを3つ表示 */
.voice-swiper .swiper-slide {
    padding: 0 5%;
    box-sizing: border-box;
    text-align: center;
    border-right: 1px solid #e1e1e1;
    flex: 0 0 88%;
    margin: 0 auto;
    /* 中央配置 */
}

/* ✅ 最後のスライドのボーダーを消す */
.voice-swiper .swiper-slide:last-child {
    border-right: none;
}

.voice-swiper {
    display: flex;
    justify-content: center;
    /* スライダー全体を中央に配置 */
    align-items: center;
    /*  上下中央揃え */
    width: 100%;
    position: relative;
}

.voice-swiper {
    width: 100%;
    background-color: #fff;
}

.voice-swiper .swiper-slide {
    margin-right: 0 !important;
    /* Swiperのデフォルト設定を無視 */
}

/* ✅ スライダーの動きをスムーズに */
.voice-swiper .swiper-wrapper {
    display: flex;
    transition: transform 0.8s ease-in-out;
    padding-left: 0;
    height: 100%;
}

.voice-swiper {
    height: fit-content !important;
}

/* ✅ スライドのスタイル */
.voice-swiper .swiper-slide {
    flex: 0 0 100%;
    text-align: center;
    padding: 0 6%;
    box-sizing: border-box;
    align-items: center;
    height: auto;
}

/* スマホ表示時（1つだけ表示 & 中央配置） */
@media (max-width: 768px) {
    .voice__header {
        margin-bottom: 0px;
    }

    .voice-swiper {
        background: none;
        height: 80vh;
    }

    .voice-swiper .swiper-wrapper {
        display: flex;
        padding-left: 20px;
        padding-right: 20px;
        overflow: auto;
        justify-content: left;
        gap: 24px;
        padding-top: 0;
        padding-bottom: 0;
    }

    .voice-swiper .swiper-slide {
        flex: 0 0 100%;
        /* **スマホでは1つだけ表示** */
        border-right: none;
        /* スマホではボーダーを消す */
        width: 75% !important;
        margin: auto;
        /* ✅ スライドの幅を 80% に設定 */
        max-width: 500px !important;
        min-width: 295px;
        /* ✅ 最大幅を制限（調整可能） */
        margin: 0 auto;
        flex: 1 1 auto;
        align-items: center;
        background: #fff;
        padding: 48px 36px;
    }

    .swiper-slide p {
        padding: 24px 0 0 0;
    }
}






/* よくあるご質問 */
/* FAQ セクション */
.faq {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 120px 0;
    background: #fff;
}

.faq__container {
    text-align: center;
}

/* セクションタイトル */
.faq__header {
    margin-bottom: 32px;
}

/* 質問リスト */
.faq__list {
    text-align: left;
    border-top: 1px solid #e1e1e1;
}

/* 質問項目 */
.faq__item {
    border-bottom: 1px solid #e1e1e1;
}

/* 質問ボタン */
.faq__question {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    font-size: 1rem;
    cursor: pointer;
    text-align: left;
    line-height: 24px;
}

.faq__question span {
    display: flex;
    align-items: center;
}

.faq__q {
    font-size: 0.9375rem;
    margin-right: 16px;
    font-family: "Open Sans", serif;
}

.faq__icon {
    transition: transform 0.3s ease;
    margin-left: auto;
    /* アイコンを右端に配置 */
}

.faq__icon img {
    width: 20px;
}

/* 回答（デフォルトで非表示） */
.faq__answer {
    display: none;
    padding: 15px;
    font-size: 14px;
    color: #555;
    background: #f9f9f9;
}

/* 開いた時のスタイル */
.faq__item.active .faq__answer {
    display: block;
}

.faq__item.active .faq__icon {
    transform: rotate(45deg);
}

@media (max-width: 768px) {
    .faq {
        padding: 80px 0;
    }

    .faq__header {
        margin-bottom: 0px;
    }

    .faq__question {
        padding: 16px 8px;
        font-size: 0.9375rem;
        letter-spacing: 0.6px;
        line-height: 22px;
    }

    .faq__q {
        margin-right: 8px;
    }

    .faq__icon img {
        width: 16px;
        margin-left: 8px;
    }

    .faq {
        padding: 80px 0;
    }
}

/* アクセス */
/* ACCESS セクション */
.access {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 120px 0 0 0;
}

.access__container {
    display: flex;
    gap: 8%;
    align-items: center;
}

/* 左側の画像 */
.access__image {
    flex: 1;
    max-width: 500px;
}

.access__image img {
    width: 100%;
    height: auto;
}

/* 右側の情報 */
.access__info {
    flex: 1;
    text-align: left;
}

/* サロン情報 */
.access__details {
    margin-bottom: 48px;
}

.access__name {
    font-size: 1.25rem;
    font-family: "Jost", serif;
    letter-spacing: 2.4px;
    padding: 48px 0 12px 0;
}

.access__address {
    font-size: 0.9375rem;
    color: #7d7d7d;
    line-height: 28px;
    font-family: "Noto Sans JP", serif;
    padding-bottom: 24px;
}

/* MAPボタン */
.access__map-button {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 48px;
    font-size: 0.9375rem;
    text-decoration: none;
    background: #fff;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.12);
    border-radius: 30px;
    transition: background 0.3s, color 0.3s;
    font-family: "Jost", serif;
}

.access__map-button:hover {
    opacity: 0.6;
}

/* 交通手段 */
.access__method {
    margin-bottom: 20px;
}

.access__method-title {
    font-size: 0.9375rem;
    padding-bottom: 8px;
    letter-spacing: 0.6px;
    display: flex;
    align-items: center;
}

.access__method-title::before {
    content: "";
    display: inline-block;
    width: 24px;
    /* 横線の長さ */
    height: 1px;
    /* 横線の太さ */
    background-color: #444;
    /* 横線の色 */
    margin-right: 10px;
    /* タイトルとの間隔 */
}

.access__method-text {
    font-size: 0.75rem;
    color: #7d7d7d;
    font-weight: 300;
    line-height: 20px;
    padding-left: 32px;
    letter-spacing: 0.48px;
    font-family: "Noto Sans JP", serif;
}

@media (max-width: 768px) {
    .access {
        padding: 80px 0;
    }

    .access__method {
        margin-bottom: 32px;
    }

    .access__container {
        display: block;
    }

    .access__name {
        padding: 60px 0 12px 0;
    }

    .access__info__sp-box {
        display: flex;
        align-items: flex-end;
    }

    .access__info__sp-box-inner {
        display: block;
    }

    .access__image-sp {
        flex: 1;
        text-align: end;
    }

    .access__image-sp img {
        width: 53%;
        height: auto;
        min-width: 180px;
    }

    .access__map-button {
        margin-top: 0px;
    }

    .access__method-title {
        line-height: 22px;
    }
}



/* お問い合わせ */
/* CONTACT セクション */
.contact__container {
    width: 50%;
    margin: auto;
    max-width: 640px;
}

.contact {
    width: 50%;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 120px 0 110px 0;
    position: relative;
    text-align: center;
}

.contact__container {
    max-width: 800px;
    width: 100%;
}

/* セクションタイトル */
.contact__header {
    margin-bottom: 48px;
    text-align: left;
}

/* LINEボタン */
.contact__card {
    display: flex;
    justify-content: center;
    /* 中央揃え */
    align-items: center;
    background: #fff;
    padding: 0px 0;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.12);
    border-radius: 100px;
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    transition: opacity 0.3s ease;
}

/* ボタン全体をクリック可能に */
.contact__card a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    /*  aタグをボタン全体に拡張 */
    height: 100%;
    text-decoration: none;
    /* 下線を消す */
    color: inherit;
    /* 文字色を継承 */
    padding: 48px 0;
    /* クリック範囲を広げる */
}

/* ホバー時 */
.contact__card:hover {
    opacity: 0.6;
}

/* テキスト部分 */
.contact__content {
    text-align: center;
    flex: 1;
    width: 40%;
    margin: auto;
}

.contact__subtitle {
    font-size: 1.25rem;
    padding-bottom: 16px;
    font-family: "Jost", serif;
    letter-spacing: 0.96px;
}

.contact__text {
    font-size: 0.75rem;
    color: #7d7d7d;
    line-height: 20px;
    letter-spacing: 0.96px;
    font-family: "Noto Sans JP", serif;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .contact {
        width: 90%;
        padding: 0 0 74px 0;
    }

    .contact__card {
        padding: 0px 0;
        max-width: 420px;
    }

    .contact__card a {
        padding: 36px 0;
    }

    .contact__header {
        margin-bottom: 36px;
    }
}


/* フッター */
/* 背景ロゴ */
.footer {
    white-space: nowrap;
    display: flex;
    align-items: flex-end;
    padding-bottom: 37.2px;
    justify-content: space-between;
}

.footer img {
    width: 100%;
    max-width: 790px;
    margin-left: 16.2px;
}

p.footer__copyright {
    font-family: "Jost", serif;
    font-size: 0.625rem;
    letter-spacing: 0.8px;
    color: #7C7C7C;
}

.footer__instagram {
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

@media (max-width: 768px) {
    .footer {
        display: block;
        padding-bottom: 0;
    }

    .footer img {
        width: 94%;
        margin: auto;
        margin-left: 0;
    }

    p.footer__copyright {
        text-align: center;
        padding: 30px 0 16px 0;
    }

    .footer__background {
        text-align: center;
    }
}