/* ===========================================
   Font Face / フォント定義
   =========================================== */


/* Google Fonts: Kosugi Maru は functions.php で読み込み */


/* ===========================================
   Header Navigation / ヘッダーナビゲーション
   =========================================== */


/* ヘッダーナビ全体 - 透明でオーバーレイ配置 */

.p-headerNav {
    background: transparent;
    /* padding: 15px 0; */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}


/* スクロール時のヘッダー（パソコンのみ） */

@media (min-width: 961px) {
    .p-headerNav.is-scrolled {
        position: fixed;
        background: #ffffff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        padding: 0;
    }
    .p-headerNav.is-scrolled .p-headerNav__inner {
        align-items: center;
        width: 90%;
        min-width: 860px;
        margin: 0 auto;
    }
    .p-headerNav.is-scrolled .p-headerNav__name {
        color: #414141;
        text-shadow: none;
    }
    .p-headerNav.is-scrolled .p-headerNav__link {
        color: #414141;
    }
    /* スクロール時のロゴサイズを小さく */
    .p-headerNav.is-scrolled .p-headerNav__logo .custom-logo {
        width: clamp(80px, 8vw, 120px);
        height: auto;
    }
    /* スクロール時の予約ボタンを横並び・高さ調整 */
    .p-headerNav.is-scrolled .c-btn--reserve {
        flex-direction: row;
        align-items: center;
        padding: clamp(8px, 0.6vw, 12px) clamp(20px, 1.5vw, 32px);
        border-radius: clamp(20px, 1.5vw, 30px);
        font-size: clamp(14px, 1.1vw, 16px);
        gap: clamp(6px, 0.5vw, 8px);
        height: auto;
    }
    .p-headerNav.is-scrolled .c-btn--reserve .c-btn__icon {
        width: clamp(20px, 1.5vw, 24px);
        height: clamp(20px, 1.5vw, 24px);
        margin-bottom: 0;
    }
    .p-headerNav.is-scrolled .c-btn--reserve .c-btn__icon svg {
        width: clamp(12px, 0.9vw, 14px);
        height: clamp(10px, 0.75vw, 12px);
    }
    .p-headerNav.is-scrolled .c-btn--reserve span {
        margin-left: 0;
        font-size: clamp(10px, 0.8vw, 12px);
    }
}


/* ヘッダー内部レイアウト - 左右に分ける */

.p-headerNav__inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}


/* ロゴエリア */

.p-headerNav__logo {
    flex-shrink: 0;
}


/* WordPressカスタムロゴサイズ調整 */

.p-headerNav__logo .custom-logo {
    width: clamp(200px, 15.6vw, 350px);
    height: auto;
}

.p-headerNav__name {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    font-family: "Kosugi Maru", "Hiragino Maru Gothic ProN", "Yu Gothic", Meiryo, system-ui, -apple-system, "Segoe UI", sans-serif;
}


/* メニューエリア */

.p-headerNav__menu {
    display: flex;
    gap: clamp(1rem, 3vw, 2rem);
    align-items: center;
}

.p-headerNav__toggle {
    display: none;
    border: none;
    background: #566E48;
    color: #ffffff;
    border-radius: 0 0 0 25px;
    padding: 15px;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.3s ease, color 0.3s ease;
    z-index: 250;
    position: relative;
    box-sizing: border-box;
}

.p-headerNav__toggle:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.6);
    outline-offset: 3px;
}

.p-headerNav__toggleLines {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 7px;
    transition: gap 0.3s ease;
    width: 100%;
    position: relative;
    height: 16px;
}

.p-headerNav__toggleLine {
    display: block;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
    transform-origin: center center;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55), width 0.3s ease, opacity 0.3s ease;
    position: absolute;
    left: 0;
}

.p-headerNav__toggleLine--top {
    width: 60%;
    top: 0;
}

.p-headerNav__toggleLine--middle {
    width: 80%;
    top: 60%;
    transform: translateY(-60%);
}

.p-headerNav__toggleLine--bottom {
    width: 100%;
    /* bottom: 0; */
    bottom: -20%;
}

.p-headerNav__toggle.is-active .p-headerNav__toggleLines {
    gap: 0;
}

.p-headerNav__toggle.is-active .p-headerNav__toggleLine--top {
    width: 100%;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.p-headerNav__toggle.is-active .p-headerNav__toggleLine--middle {
    opacity: 0;
    width: 0;
    transform: translateY(-50%) scale(0);
}

.p-headerNav__toggle.is-active .p-headerNav__toggleLine--bottom {
    width: 100%;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}


/* メニュー展開時のハンバーガーボタンの色変更 */

.p-headerNav__toggle.is-active {
    background: #ffffff;
    color: #566E48;
}

.p-headerNav__toggleLabel {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    white-space: nowrap;
    margin-top: 5px;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.p-headerNav__toggle.is-active .p-headerNav__toggleLabel {
    opacity: 0;
    visibility: hidden;
}

.p-headerNav__menuSp {
    display: none;
}

.p-headerNav__menuSpInner {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.p-headerNav__menuSpLink {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 16px;
    font-weight: 600;
    color: #414141;
    text-decoration: none;
    letter-spacing: 0.04em;
}

.p-headerNav__menuSpLink span {
    font-size: 11px;
    font-weight: 400;
    color: #35BAC7;
}

.c-btn--reserve--fixed {
    display: none;
}


/* メニューリンク */

.p-headerNav__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #414141;
    font-size: clamp(0.9rem, 1.6vw, 1rem);
    font-weight: 500;
    line-height: 1.2;
    transition: color 0.3s ease;
    /* text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); */
    font-family: "Kosugi Maru", "Hiragino Maru Gothic ProN", "Yu Gothic", Meiryo, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.p-headerNav__link:hover {
    color: #35BAC7;
}


/* メニューリンクのspan（英語部分） */

.p-headerNav__link span {
    color: #35BAC7;
    font-size: clamp(10px, 1.2vw, 12px);
    margin-top: 2px;
    font-weight: 400;
    /* text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); */
}


/* CTAはメニュー内に統合 */


/* WEB予約ボタン */

.c-btn--reserve {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 8px;
    background: #35BAC7;
    color: #ffffff;
    text-decoration: none;
    padding: clamp(28px, 2.1vw, 40px) clamp(48px, 3.7vw, 96px);
    border-radius: 0 0 0 clamp(15px, 3vw, 20px);
    font-size: clamp(16px, 1.25vw, 26px);
    font-weight: 600;
    line-height: 1.2;
    transition: background-color 0.3s ease;
}

.c-btn--reserve:hover {
    background: #2a9aa5;
}


/* WEB予約ボタンのspan（英語部分） */

.c-btn--reserve span {
    color: #ffffff;
    font-size: clamp(10px, 1.2vw, 12px);
    margin-left: 4px;
    font-weight: 400;
}

.c-btn--reserve.c-btn--reserve--fixed {
    display: none;
}


/* メールアイコン */

.c-btn__icon {
    width: 32px;
    height: 32px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.c-btn__icon svg {
    width: 16px;
    height: 13px;
}


/* ===========================================
   Fixed Copyright / 固定コピーライト
   =========================================== */

.p-copyright {
    position: fixed;
    right: clamp(10px, 2vw, 20px);
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    pointer-events: none;
}

.p-copyright__text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: clamp(10px, 1.2vw, 12px);
    color: #999999;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.1em;
    opacity: 0.7;
}


/* ===========================================
   Media Queries / メディアクエリ
   =========================================== */


/* タブレット (960px以下) */

@media (max-width: 960px) {
    .p-headerNav {
        padding: 0;
        position: fixed;
    }
    .p-headerNav__inner {
        padding: 0;
        align-items: flex-start;
    }
    .p-headerNav__logo {
        margin-left: clamp(12px, 4vw, 18px);
    }
    .p-headerNav__logo .custom-logo {
        width: clamp(100px, 7.8vw, 200px);
    }
    .p-headerNav__menu {
        display: none;
    }
    .p-headerNav__toggle {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: center;
        width: 72px;
        height: 72px;
        margin-left: auto;
        margin-right: 0;
        border-radius: 0 0 0 25px;
        z-index: 250;
        position: relative;
    }
    .p-headerNav__toggle.is-active {
        background: #ffffff;
        color: #566E48;
    }
    .p-headerNav__menuSp {
        display: flex;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 280px;
        padding: 100px 30px;
        background: #ffffff;
        box-shadow: -20px 0 40px rgba(0, 0, 0, 0.12);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 200;
    }
    .p-headerNav__menuSp.is-open {
        transform: translateX(0);
    }
    .p-headerNav__menuSpLink {
        align-items: flex-start;
    }
    .c-btn--reserve--fixed {
        display: none !important;
    }
}


/*/ スマホ用 (450px以下) */

@media (max-width: 450px) {
    /* 下層ページメインビジュアル */
    .p-heroSection--subpage {
        height: 200px !important;
        min-height: 200px !important;
        padding-left: clamp(20px, 1.6vw, 30px);
        padding-bottom: clamp(40px, 3vw, 60px);
    }
    .p-heroSection__h1 {
        font-size: 18px !important;
        text-shadow: 1px 1px 3px #fff !important;
    }
    .p-heroSection__h1::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translate(-40%, -50%);
        width: 75px !important;
        height: 75px !important;
        background-color: #ffffff;
        border-radius: 50%;
        z-index: -1;
        opacity: 0.95;
        pointer-events: none;
    }
    .p-heroSection__h1::after {
        content: '';
        position: absolute;
        left: 20px !important;
        top: -20px !important;
        transform: translate(60%, -60%);
        width: 20px !important;
        height: 20px !important;
        background-color: #ffffff;
        border-radius: 50%;
        z-index: -1;
        opacity: 0.85;
        pointer-events: none;
    }
    /* パンクズりすと */
    .l-breadcrumbSpace {
        height: 5px !important;
    }
    .l-breadcrumbWrapper {
        width: 90%;
        margin: 0 auto;
        font-size: 10px !important;
    }
    /* ハンバーガーメニュー */
    .p-headerNav__menuSp {
        padding: 60px 15px 15px !important;
    }
    .p-headerNav__menuSpInner {
        gap: 12px !important;
    }
    .p-headerNav__menuSpLink {
        font-size: 15px !important;
        gap: 3px !important;
    }
    .p-headerNav__menuSpLink span {
        font-size: 10px !important;
    }
    /* ボタン類 */
    .c-btn--green {
        padding: 8px 28px !important;
        font-size: 14px;
    }
    .c-btn--arrow::after {
        width: 27px !important;
    }
    .c-btn--white {
        background-color: #ffffff;
        color: #566E48;
        padding: 8px clamp(32px, 3vw, 48px) !important;
        border-radius: clamp(60px, 4.68vw, 100px);
        font-size: clamp(16px, 1.2vw, 20px);
        font-weight: 600;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        white-space: nowrap;
    }
    .c-btn--reserve {
        padding: clamp(16px, 5vw, 20px) clamp(22px, 7vw, 30px);
        border-radius: clamp(28px, 10vw, 38px);
        flex-direction: row;
        gap: clamp(8px, 2.5vw, 12px);
        font-size: 15px;
    }
    .c-btn--reserve--menuSp {
        width: fit-content;
    }
    .c-btn--reserve span {
        margin-left: 2px;
    }
    /* トップページと同じスタイルを適用（page-first.phpの施術メニュー） */
    .p-firstMenuSection .c-menuCard {
        padding: clamp(40px, 3vw, 60px) !important;
        min-height: 200px !important;
        height: 200px;
        border-radius: clamp(22px, 1.71vw, 42px) !important;
    }
    .p-firstMenuSection .c-menuCard__title {
        font-size: clamp(22px, 1.71vw, 42px) !important;
        font-weight: 700;
        line-height: 1.3;
        margin-bottom: clamp(24px, 1.8vw, 32px);
    }
    .p-firstMenuSection .c-menuCard__cta {
        position: absolute !important;
        right: -10px !important;
        bottom: -5px !important;
    }
    .p-firstMenuSection .c-menuCard__label {
        border-top-left-radius: clamp(22px, 1.71vw, 42px) !important;
        border-bottom-right-radius: clamp(22px, 1.71vw, 42px) !important;
    }
    .c-btn--reserve.c-btn--reserve--fixed {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: fixed;
        right: 0;
        bottom: clamp(16px, 6vw, 24px);
        width: clamp(74px, 24vw, 96px);
        height: auto;
        border-radius: 25px 0 0 25px;
        gap: 5px;
        z-index: 240;
        box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
        padding: clamp(16px, 5vw, 22px);
        line-height: 1;
        white-space: nowrap;
    }
    .c-btn--reserve.c-btn--reserve--fixed .c-btn__icon {
        width: clamp(32px, 10vw, 40px);
        height: clamp(32px, 10vw, 40px);
        margin-bottom: 5px;
    }
    /* バナー */
    .p-bannerSection__inner {
        /* max-width: 1200px; */
        width: 90% !important;
        margin: 0 auto;
    }
    /* 初めての方へ */
    .p-firstFlow {
        position: relative;
        background: #ffffff;
        padding: 20px 0 clamp(60px, 4.7vw, 120px) !important;
        overflow: visible;
    }
    .p-firstFlow__title {
        font-size: clamp(24px, 2vw, 40px);
        font-weight: 700;
        color: #5A5A5A;
        text-align: center;
        margin-bottom: 40px !important;
    }
    .p-firstFlow__stepPin {
        position: absolute;
        top: -30px !important;
        left: 50%;
        transform: translateX(-50%);
        z-index: 3;
    }
    .p-firstFlow__stepContent {
        flex-direction: column;
        gap: 10px !important;
    }
    .p-firstFlow__stepImage {
        width: 100%;
        max-width: fit-content !important;
        margin: 0 auto;
        flex: none;
        aspect-ratio: 5 / 3;
    }
    .p-firstFlow__stepText {
        flex: none;
        gap: 5px !important;
    }
    /* 初めての方へ-こんな悩みはありませんか？ */
    .p-firstConcern {
        padding: clamp(40px, 3.1vw, 60px) 0;
        margin-top: 0px !important;
    }
    /* 料金ページ */
    .p-priceIntro__container {
        width: 95% !important;
        height: clamp(300px, 23.4vw, 500px);
        margin: 0 auto;
        background: #ffffff;
        border-radius: clamp(36px, 2.8vw, 72px);
        padding: clamp(40px, 3.1vw, 80px) clamp(24px, 2vw, 48px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .p-priceIntro__title {
        font-size: clamp(28px, 2.1vw, 40px) !important;
        font-weight: 700;
        color: #526456;
        text-align: center;
        margin-bottom: clamp(16px, 1.2vw, 24px);
    }
    .p-priceIntro__desc {
        font-size: clamp(16px, 1.25vw, 32px);
        color: #526456;
        line-height: 2;
        text-align: left !important;
    }
    .p-priceMenuSection__heading {
        padding-top: 0px !important;
        padding-bottom: 10px !important;
        margin-top: clamp(48px, 3.7vw, 96px);
        margin-bottom: clamp(24px, 1.8vw, 40px);
        font-size: clamp(24px, 2vw, 40px);
        font-weight: 700;
        color: #5A5A5A;
        text-align: center;
    }
    .p-priceMenuSection__container {
        width: 90% !important;
        min-width: auto !important;
        margin: 0 auto;
        position: relative;
        z-index: 1;
    }
    .c-priceItem {
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 15px !important;
        align-items: center;
        background: #ffffff;
        border-radius: clamp(24px, 1.9vw, 36px);
        padding: clamp(28px, 2.1vw, 40px);
    }
    /* お客様の声関連 */
    .p-voiceArchiveFilter__chips {
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: clamp(10px, .8vw, 16px);
        max-width: 100%;
    }
    .p-voiceArchiveList {
        position: relative;
        background: #F3F8F0;
        padding: 40px 15px !important;
        margin-top: clamp(24px, 1.8vw, 40px);
        overflow: hidden;
        border-top-left-radius: clamp(40px, 3.1vw, 80px);
        border-top-right-radius: clamp(40px, 3.1vw, 80px);
        margin-left: 0;
        margin-right: 0;
    }
    /* お客様の声個別ページ */
    .p-voiceDetailSection {
        background-color: #F3F8F0;
        padding: 0 15px;
        position: relative;
        margin: 0;
        margin-top: 0px !important;
        overflow: hidden;
        border-top-left-radius: clamp(40px, 3.1vw, 80px);
        border-top-right-radius: clamp(40px, 3.1vw, 80px);
        margin-left: 0;
        margin-right: 0;
    }
    .p-voiceDetailSection__container {
        width: 100%;
        padding: 0 clamp(15px, 1.2vw, 20px);
        margin-top: 0px !important;
    }
    .p-voiceDetailContent {
        padding: 0px clamp(20px, 1.6vw, 30px) clamp(30px, 2.3vw, 40px) !important;
    }
    .p-voiceDetailContent__title {
        font-size: clamp(20px, 1.56vw, 40px) !important;
        font-weight: 700;
        color: #5A5A5A;
        line-height: 1.6 !important;
        margin-bottom: 0 !important;
        text-align: left !important;
    }
    .p-voiceDetailContent__meta {
        text-align: center;
        margin-bottom: 10px !important;
    }
    /* よくある質問 */
    .p-priceMenuSection__heading {
        padding-top: 30px;
        padding-bottom: 30px;
        margin-top: 40px !important;
        margin-bottom: 5px !important;
        font-size: clamp(24px, 2vw, 40px);
        font-weight: 700;
        color: #5A5A5A;
        text-align: center;
    }
    .c-faqItem__question {
        padding: 5px clamp(20px, 1.6vw, 25px) !important;
    }
    .p-priceMenuSection {
        position: relative;
        background-color: #F2F8EF;
        padding: 0 15px 20px 15px !important;
        overflow: hidden;
        border-top-left-radius: clamp(40px, 3.1vw, 80px);
        border-top-right-radius: clamp(40px, 3.1vw, 80px);
        margin-left: 0;
        margin-right: 0;
    }
    .p-firstMenuSection__notice {
        text-align: left;
        font-size: 14px;
    }
    .p-firstMenuSection__notice br {
        display: none;
    }
}

body.is-nav-open {
    overflow: hidden;
}


/* タブレット以下（960px以下）ではハンバーガーメニューを表示 */

@media (max-width: 960px) {
    .p-headerNav__menu {
        display: none;
    }
    .p-headerNav__toggle {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: center;
        width: 72px;
        height: 72px;
        margin-left: auto;
        margin-right: 0;
        border-radius: 0 0 0 25px;
        z-index: 250;
    }
    .p-headerNav__menuSp {
        display: flex;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 280px;
        padding: 70px 20px 20px;
        background: #ffffff;
        box-shadow: -20px 0 40px rgba(0, 0, 0, 0.12);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 200;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .p-headerNav__menuSp.is-open {
        transform: translateX(0);
    }
    .p-headerNav__menuSpLink {
        align-items: flex-start;
    }
    .p-headerNav__menuSpInner {
        gap: 14px;
    }
    .p-headerNav__menuSpLink {
        font-size: 16px;
        gap: 4px;
    }
    .p-headerNav__menuSpLink span {
        font-size: 11px;
    }
    .c-btn--reserve--fixed {
        display: none !important;
    }
}


/* パソコン（961px以上）では通常メニューを表示 */

@media (min-width: 961px) {
    .p-headerNav__toggle,
    .p-headerNav__toggleLines,
    .p-headerNav__toggleLabel,
    .c-btn--reserve.c-btn--reserve--fixed {
        display: none !important;
    }
    .p-headerNav__menuSp {
        display: none !important;
    }
}


/* ===========================================
   First Menu Section / 初めての方へページの施術メニューセクション
   =========================================== */

.p-firstMenuSection {
    background-color: #65A373;
    padding: clamp(80px, 6vw, 120px) 0 0;
    position: relative;
}

.p-firstMenuSection .l-container {
    background-color: #ffffff;
    border-top-left-radius: clamp(200px, 15.6vw, 350px);
    border-top-right-radius: clamp(200px, 15.6vw, 350px);
    padding: clamp(60px, 4.5vw, 90px) clamp(40px, 3vw, 60px);
}

.p-firstMenuSection__inner {
    width: 70%;
    min-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.p-firstMenuSection__subtitle {
    font-size: clamp(14px, 1.2vw, 18px);
    font-weight: 600;
    color: #36BAC7;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
    text-align: center;
}

.p-firstMenuSection__title {
    font-size: clamp(28px, 2.1vw, 40px);
    font-weight: 700;
    color: #5A5A5A;
    line-height: 1.3;
    text-align: center;
    margin-bottom: clamp(20px, 1.5vw, 30px);
}

.p-firstMenuSection__lead {
    font-size: clamp(16px, 1.25vw, 20px);
    color: #5A5A5A;
    line-height: 1.8;
    margin: 0 auto clamp(60px, 4.7vw, 90px);
    text-align: center;
    max-width: 760px;
}

.p-firstMenuSection__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(24px, 2vw, 36px);
    margin-bottom: clamp(60px, 4.7vw, 80px);
}

.p-firstMenuSection__button {
    text-align: center;
    margin-bottom: clamp(40px, 3vw, 60px);
}

.p-firstMenuSection__notice {
    color: #526456;
    font-size: clamp(20px, 1.56vw, 40px);
    text-align: center;
    line-height: 1.8;
    margin-top: clamp(40px, 3vw, 60px);
}

.p-firstConcern {}


/* Media Queries for First Menu Section */

@media (max-width: 960px) {
    .p-firstMenuSection {
        padding: clamp(60px, 5vw, 80px) 0 clamp(40px, 3vw, 60px);
    }
    .p-firstMenuSection__inner {
        width: 85%;
    }
    .p-firstMenuSection__list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 540px) {
    .p-firstMenuSection {
        padding: clamp(40px, 4vw, 60px) 0 clamp(30px, 2.5vw, 40px);
    }
    .p-firstMenuSection .l-container {
        border-top-left-radius: clamp(60px, 4.68vw, 100px);
        border-top-right-radius: clamp(60px, 4.68vw, 100px);
        padding: clamp(40px, 3vw, 60px) clamp(20px, 2vw, 30px);
    }
    .p-firstMenuSection__inner {
        width: 100%;
        min-width: auto;
    }
    .p-firstMenuSection__list {
        grid-template-columns: 1fr;
        gap: clamp(15px, 1.2vw, 20px);
    }
    /* トップページと同じスタイルを適用 */
    .p-firstMenuSection .c-menuCard {
        padding: clamp(40px, 3vw, 60px) !important;
        min-height: 200px !important;
        height: 200px;
        border-radius: clamp(22px, 1.71vw, 42px) !important;
    }
    .p-firstMenuSection .c-menuCard__title {
        font-size: clamp(22px, 1.71vw, 42px) !important;
        font-weight: 700;
        line-height: 1.3;
        margin-bottom: clamp(24px, 1.8vw, 32px);
    }
    .p-firstMenuSection .c-menuCard__cta {
        position: absolute !important;
        right: -10px !important;
        bottom: -5px !important;
    }
    .p-firstMenuSection .c-menuCard__label {
        border-top-left-radius: clamp(22px, 1.71vw, 42px) !important;
        border-bottom-right-radius: clamp(22px, 1.71vw, 42px) !important;
    }
}