/* ========================================
   リセット・ベーススタイル
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* カラーパレット */
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --accent-color: #ff6b35;
    --accent-dark: #e55a2b;
    --success-color: #2ecc71;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --text-light: #9ca3af;
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --bg-gray: #f3f4f6;
    --border-color: #e5e7eb;
    
    /* タイポグラフィ */
    --font-main: 'Noto Sans JP', sans-serif;
    
    /* スペーシング */
    --section-padding: 100px 0;
    --container-padding: 0 20px;
    
    /* アニメーション */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ========================================
   共通コンポーネント
   ======================================== */

/* セクションタイトル */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.section-title .title-emphasis {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.section-title .title-small {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-gray);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-gray);
    font-weight: 400;
}

/* CTAボタン */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 40px;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 50px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.4);
}

.cta-button.secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-button.secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.cta-button .cta-badge {
    background: var(--accent-color);
    color: white;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-right: 5px;
}

.cta-button i {
    transition: var(--transition);
}

.cta-button:hover i {
    transform: translateX(5px);
}

/* ========================================
   ヒーロースライダーセクション（修正・統合版）
   ======================================== */

/* --- ヒーローセクション全体の基本設定 --- */
.hero-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
    color: white;
    padding: 70px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-layout {
    position: relative;
    z-index: 1;
}

/* --- スライダーの基本構造 --- */
.hero-image-slider {
    position: relative;
    width: 100%;
    margin-bottom: 35px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 280px; /* スマホのデフォルト高さ */
    overflow: hidden;
}

/* --- ★★★ これがスライド制御の核です ★★★ --- */
.slider-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden; /* ★ 動かない原因：これが欠けていました */
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
}

.slider-item.active {
    opacity: 1;
    visibility: visible; /* ★ 動かない原因：これも欠けていました */
    z-index: 1;
    pointer-events: auto;
}

.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- ナビゲーション（矢印とドット） --- */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.slider-nav:hover { background: white; transform: translateY(-50%) scale(1.1); }
.slider-nav.prev { left: 15px; }
.slider-nav.next { right: 15px; }

.slider-dots {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}
.dot:hover { background: rgba(255, 255, 255, 0.8); }
.dot.active { background: white; width: 28px; border-radius: 5px; }

/* --- スライド上のテキストやバッジ --- */
.hero-image-badge {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.95rem;
    z-index: 2;
}

.hero-content { text-align: center; }

.hero-title {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 35px;
}
.hero-title .hero-main-text {
    display: block;
    font-size: 1.85rem;
    margin-bottom: 8px;
}
.hero-title .hero-emphasis {
    display: block;
    font-size: 2.3rem;
    background: linear-gradient(90deg, #fff 0%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.25;
}

/* --- レスポンシブ対応（画面サイズごとの調整） --- */

/* タブレット以上 */
@media (min-width: 768px) {
    .hero-section {
        padding: 90px 0 70px;
    }
    .hero-layout {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: center;
    }
    .hero-image-slider {
        order: 2;
        margin-bottom: 0;
        border-radius: 25px;
    }
    .hero-content {
        order: 1;
        text-align: left;
    }
    .slider-wrapper {
        height: 550px; /* 高さを変更 */
    }
    .slider-nav {
        width: 50px;
        height: 50px;
    }
    .slider-nav.prev {
        left: 20px;
    }
    .slider-nav.next {
        right: 20px;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-title .hero-emphasis {
        font-size: 3.3rem;
    }
}

/* PC */
@media (min-width: 1200px) {
    .hero-section {
        padding: 110px 0 80px;
    }
    .hero-layout {
        gap: 80px;
    }
    .slider-wrapper {
        height: 600px; /* 高さを変更 */
    }
    .hero-title {
        font-size: 3.2rem;
    }
    .hero-title .hero-emphasis {
        font-size: 3.8rem;
    }
}

/* 小型スマホ */
@media (max-width: 375px) {
    .slider-wrapper {
        height: 240px; /* 高さを変更 */
    }
    .slider-nav {
        width: 40px;
        height: 40px;
    }
    .slider-nav.prev {
        left: 10px;
    }
    .slider-nav.next {
        right: 10px;
    }
    .hero-title {
        font-size: 1.75rem;
    }
    .hero-title .hero-emphasis {
        font-size: 2rem;
    }
}



/* ========================================
   ナビゲーションボタン（細長い楕円形）
   ======================================== */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 70px;
    background: rgba(255, 255, 255, 0.85);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 35px;
    color: var(--primary-color);
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    -webkit-tap-highlight-color: transparent;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.slider-nav:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.slider-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.slider-nav.prev {
    left: 8px;
}

.slider-nav.next {
    right: 8px;
}

.slider-nav i {
    font-size: 1rem;
}

/* ========================================
   インジケーター（ドット）
   ======================================== */
.slider-dots {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 100;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.dot:active {
    transform: scale(1.2);
}

.dot.active {
    background: white;
    width: 24px;
    border-radius: 5px;
}

/* ========================================
   テキストコンテンツ（スマホ）
   ======================================== */
.hero-content {
    text-align: center;
}

.hero-title {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 35px;
}

.hero-title .hero-main-text {
    display: block;
    font-size: 1.85rem;
    margin-bottom: 8px;
}

.hero-title .hero-emphasis {
    display: block;
    font-size: 2.3rem;
    background: linear-gradient(90deg, #fff 0%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.25;
}

/* 実績カード */
.hero-stats--card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 35px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 18px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:active {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(0.98);
}

.stat-title {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 6px;
    font-weight: 500;
}

.stat-main {
    font-size: 1.65rem;
    font-weight: 900;
    line-height: 1.2;
}

.stat-main .stat-note {
    font-size: 0.7rem;
    margin-left: 3px;
    opacity: 0.8;
}

/* CTAエリア */
.hero-cta--single {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.hero-cta--single .cta-button {
    width: 100%;
    max-width: 100%;
    padding: 20px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.hero-cta--single .cta-button .cta-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-cta--single .cta-button .cta-badge {
    background: var(--accent-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

.hero-note {
    font-size: 0.85rem;
    opacity: 0.9;
    line-height: 1.65;
    text-align: center;
}

/* ========================================
   タブレット（768px〜1023px）
   ======================================== */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-section {
        padding: 90px 0 70px;
    }

    .hero-section .container {
        max-width: 100%;
        padding: 0 30px;
    }

    .hero-layout {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        align-items: center;
    }

    .hero-image-slider {
        order: 2;
        margin-bottom: 0;
        border-radius: 25px;
    }

    .slider-wrapper {
        height: 420px;
    }

    .hero-content {
        order: 1;
        text-align: left;
    }

    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 35px;
    }

    .hero-title .hero-main-text {
        font-size: 1.9rem;
    }

    .hero-title .hero-emphasis {
        font-size: 2.6rem;
    }

    .hero-stats--card {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        margin-bottom: 30px;
    }

    .stat-card {
        padding: 16px 12px;
    }

    .stat-title {
        font-size: 0.8rem;
    }

    .stat-main {
        font-size: 1.4rem;
    }

    .hero-cta--single {
        align-items: flex-start;
    }

    .hero-cta--single .cta-button {
        width: auto;
        min-width: 280px;
        padding: 18px 32px;
    }

    .hero-note {
        text-align: left;
    }

    .slider-nav {
        width: 40px;
        height: 80px;
        border-radius: 40px;
    }

    .slider-nav.prev {
        left: 12px;
    }

    .slider-nav.next {
        right: 12px;
    }

    .hero-image-badge {
        bottom: 15px;
        padding: 10px 22px;
        font-size: 0.95rem;
    }

    .slider-dots {
        bottom: 52px;
    }
}

/* ========================================
   PC標準（1024px〜1199px）
   ======================================== */
@media (min-width: 1024px) and (max-width: 1199px) {
    .hero-section {
        padding: 100px 0 80px;
    }

    .hero-section .container {
        max-width: 100%;
        padding: 0 40px;
    }

    .hero-layout {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 50px;
        align-items: center;
    }

    .hero-image-slider {
        order: 2;
        margin-bottom: 0;
        border-radius: 25px;
    }

    .slider-wrapper {
        height: 480px;
    }

    .hero-content {
        order: 1;
        text-align: left;
    }

    .hero-title {
        font-size: 2.6rem;
        margin-bottom: 40px;
    }

    .hero-title .hero-main-text {
        font-size: 2.2rem;
    }

    .hero-title .hero-emphasis {
        font-size: 3rem;
    }

    .hero-stats--card {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
        margin-bottom: 35px;
    }

    .stat-card {
        padding: 18px 14px;
    }

    .stat-title {
        font-size: 0.85rem;
    }

    .stat-main {
        font-size: 1.5rem;
    }

    .hero-cta--single {
        align-items: flex-start;
    }

    .hero-cta--single .cta-button {
        width: auto;
        min-width: 300px;
        padding: 19px 35px;
    }

    .hero-note {
        text-align: left;
    }

    .slider-nav {
        width: 45px;
        height: 90px;
        border-radius: 45px;
        font-size: 1.3rem;
    }

    .slider-nav.prev {
        left: 15px;
    }

    .slider-nav.next {
        right: 15px;
    }

    .hero-image-badge {
        bottom: 18px;
        padding: 11px 24px;
        font-size: 1rem;
    }

    .slider-dots {
        bottom: 58px;
    }

    .dot {
        width: 9px;
        height: 9px;
    }

    .dot.active {
        width: 27px;
    }
}

/* ========================================
   大画面（1200px〜1439px）
   ======================================== */
@media (min-width: 1200px) and (max-width: 1439px) {
    .hero-section {
        padding: 110px 0 90px;
    }

    .hero-section .container {
        max-width: 1200px;
        padding: 0 40px;
    }

    .hero-layout {
        display: grid;
        grid-template-columns: 48fr 52fr; /* 左48% 右52% */
        gap: 60px;
        align-items: center;
    }

    .hero-image-slider {
        order: 2;
        margin-bottom: 0;
        border-radius: 28px;
    }

    .slider-wrapper {
        height: 520px;
    }

    .hero-content {
        order: 1;
        text-align: left;
    }

    .hero-title {
        font-size: 2.9rem;
        margin-bottom: 45px;
    }

    .hero-title .hero-main-text {
        font-size: 2.4rem;
    }

    .hero-title .hero-emphasis {
        font-size: 3.4rem;
    }

    .hero-stats--card {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        margin-bottom: 40px;
    }

    .stat-card {
        padding: 20px 16px;
    }

    .stat-title {
        font-size: 0.9rem;
    }

    .stat-main {
        font-size: 1.65rem;
    }

    .hero-cta--single {
        align-items: flex-start;
    }

    .hero-cta--single .cta-button {
        width: auto;
        min-width: 330px;
        padding: 20px 38px;
        font-size: 1.12rem;
    }

    .hero-note {
        text-align: left;
        font-size: 0.88rem;
    }

    .slider-nav {
        width: 48px;
        height: 96px;
        border-radius: 48px;
        font-size: 1.4rem;
    }

    .slider-nav.prev {
        left: 18px;
    }

    .slider-nav.next {
        right: 18px;
    }

    .hero-image-badge {
        bottom: 20px;
        padding: 12px 26px;
        font-size: 1.02rem;
    }

    .slider-dots {
        bottom: 62px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .dot.active {
        width: 28px;
    }
}

/* ========================================
   超大画面（1440px以上）
   ======================================== */
@media (min-width: 1440px) {
    .hero-section {
        padding: 120px 0 100px;
    }

    .hero-section .container {
        max-width: 1400px;
        padding: 0 50px;
    }

    .hero-layout {
        display: grid;
        grid-template-columns: 46fr 54fr; /* 左46% 右54% */
        gap: 80px;
        align-items: center;
    }

    .hero-image-slider {
        order: 2;
        margin-bottom: 0;
        border-radius: 30px;
    }

    .slider-wrapper {
        height: 580px;
    }

    .hero-content {
        order: 1;
        text-align: left;
    }

    .hero-title {
        font-size: 3.3rem;
        margin-bottom: 50px;
    }

    .hero-title .hero-main-text {
        font-size: 2.7rem;
    }

    .hero-title .hero-emphasis {
        font-size: 3.9rem;
    }

    .hero-stats--card {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
        margin-bottom: 45px;
    }

    .stat-card {
        padding: 22px 18px;
    }

    .stat-title {
        font-size: 0.92rem;
    }

    .stat-main {
        font-size: 1.75rem;
    }

    .hero-cta--single {
        align-items: flex-start;
    }

    .hero-cta--single .cta-button {
        width: auto;
        min-width: 360px;
        padding: 22px 42px;
        font-size: 1.18rem;
    }

    .hero-note {
        text-align: left;
        font-size: 0.9rem;
    }

    .slider-nav {
        width: 52px;
        height: 104px;
        border-radius: 52px;
        font-size: 1.5rem;
    }

    .slider-nav.prev {
        left: 22px;
    }

    .slider-nav.next {
        right: 22px;
    }

    .hero-image-badge {
        bottom: 24px;
        padding: 13px 28px;
        font-size: 1.08rem;
    }

    .hero-image-badge i {
        font-size: 1.25rem;
    }

    .slider-dots {
        bottom: 68px;
    }

    .dot {
        width: 11px;
        height: 11px;
    }

    .dot.active {
        width: 30px;
    }
}

/* ========================================
   小型スマホ（375px以下）
   ======================================== */
@media (max-width: 375px) {
    .hero-section {
        padding: 60px 0 50px;
    }

    .hero-image-slider {
        margin-bottom: 30px;
        border-radius: 16px;
    }

    .slider-wrapper {
        height: 240px;
    }

    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 30px;
    }

    .hero-title .hero-main-text {
        font-size: 1.65rem;
    }

    .hero-title .hero-emphasis {
        font-size: 2rem;
    }

    .stat-card {
        padding: 16px 18px;
    }

    .stat-main {
        font-size: 1.5rem;
    }

    .hero-cta--single .cta-button {
        padding: 18px 25px;
        font-size: 1.05rem;
    }

    .hero-note {
        font-size: 0.8rem;
    }

    .slider-nav {
        width: 32px;
        height: 65px;
        border-radius: 32px;
    }

    .slider-nav.prev {
        left: 6px;
    }

    .slider-nav.next {
        right: 6px;
    }

    .hero-image-badge {
        font-size: 0.85rem;
        padding: 7px 16px;
    }

    .slider-dots {
        bottom: 44px;
    }

    .dot {
        width: 7px;
        height: 7px;
    }

    .dot.active {
        width: 22px;
    }
}


/* ========================================
   ビフォーアフターセクション
   ======================================== */
.results-section {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.result-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
}

.result-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.result-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-color);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.result-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.result-card:hover .result-image img {
    transform: scale(1.05);
}

.result-info {
    padding: 30px;
}

.result-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.result-period {
    font-size: 0.875rem;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.result-achievement {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

/* ========================================
   お悩み共感セクション
   ======================================== */
.problems-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

.problems-header {
    text-align: center;
    margin-bottom: 60px;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.problem-item {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.problem-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.problem-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.problem-text {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.6;
}

.problems-solution {
    text-align: center;
    background: white;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.15);
}

.solution-arrow {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    animation: bounce 2s infinite;
}

.solution-title {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 20px;
}

.solution-description {
    font-size: 1.125rem;
    color: var(--text-gray);
    line-height: 1.8;
}

/* ========================================
   3つのメソッドセクション
   ======================================== */
.methods-section {
    padding: var(--section-padding);
    background: white;
}

.methods-list {
    margin-top: 80px;
}

.method-item {
    margin-bottom: 100px;
    position: relative;
}

.method-item:last-child {
    margin-bottom: 0;
}

.method-number {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.method-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: var(--bg-light);
    padding: 60px;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.method-item.reverse .method-content {
    direction: rtl;
}

.method-item.reverse .method-content > * {
    direction: ltr;
}

.method-visual {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.method-visual img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: var(--transition);
}

.method-item:hover .method-visual img {
    transform: scale(1.05);
}

.method-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 20px;
}

.method-title {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.method-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.method-features {
    list-style: none;
}

.method-features li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
}

.method-features li i {
    color: var(--success-color);
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.methods-cta {
    text-align: center;
    margin-top: 80px;
    padding: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 30px;
    color: white;
}

.methods-cta .cta-message {
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* ========================================
   選ばれる理由セクション
   ======================================== */
.reasons-section {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.reason-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.reason-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.reason-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
}

.reason-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.reason-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-gray);
}

/* ========================================
   Googleマップ口コミセクションのスタイル
   ======================================== */

/* セクション全体の背景色など（既存のスタイルに合わせて調整） */
.reviews-section {
    background: var(--bg-light, #f9fafb);
    padding: var(--section-padding, 80px 0);
}

/* 横スクロールギャラリーのコンテナ */
.google-reviews-gallery {
    display: flex;
    overflow-x: auto; /* 横スクロールを有効に */
    gap: 24px; /* 画像間の隙間 */
    padding: 20px 0;
    scroll-snap-type: x mandatory; /* スクロール時に画像がピタッと止まるようにする */
    -webkit-overflow-scrolling: touch; /* スマホでの滑らかなスクロール */
    cursor: grab; /* PCで掴んで動かせることを示すカーソル */
}

/* スクロールバーの見た目を控えめに（任意） */
.google-reviews-gallery::-webkit-scrollbar {
    height: 8px;
}
.google-reviews-gallery::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

/* 個々の口コミ画像アイテム */
.google-review-item {
    flex: 0 0 85%; /* スマホでは画面幅の85%を占める */
    scroll-snap-align: start; /* スナップ位置を左端に */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
.google-review-item:hover {
    transform: translateY(-5px);
}

/* 口コミ画像 */
.google-review-item img {
    display: block;
    width: 100%;
    height: auto; /* 画像の縦横比を維持 */
}


/* --- PC表示用のスタイル（画面幅768px以上） --- */
@media (min-width: 768px) {
    .google-review-item {
        flex-basis: 350px; /* PCでは画像の幅を350pxに固定 */
    }
}


/* ========================================
   料金プランセクション
   ======================================== */
.pricing-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.pricing-card {
    background: white;
    border-radius: 25px;
    padding: 50px 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.pricing-card.recommended {
    border: 3px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    color: white;
    padding: 8px 25px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
}

.pricing-name {
    font-size: 1.75rem;
    font-weight: 900;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.pricing-target {
    font-size: 1rem;
    color: var(--text-gray);
}

.pricing-price {
    text-align: center;
    margin-bottom: 40px;
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-color);
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-tax {
    display: block;
    font-size: 0.875rem;
    color: var(--text-gray);
    margin-top: 5px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 40px;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 1rem;
    color: var(--text-dark);
}

.pricing-features li i {
    color: var(--success-color);
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-button {
    display: block;
    width: 100%;
    padding: 18px;
    text-align: center;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 50px;
    transition: var(--transition);
    background: var(--bg-gray);
    color: var(--text-dark);
}

.pricing-button:hover {
    background: var(--primary-color);
    color: white;
}

.pricing-button.primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.pricing-button.primary:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.pricing-notes {
    margin-top: 80px;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.notes-title {
    font-size: 1.75rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.notes-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.note-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.note-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.note-item p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

/* ========================================
   よくある質問セクション
   ======================================== */
.faq-section {
    padding: var(--section-padding);
    background: white;
}

.faq-list {
    max-width: 900px;
    margin: 60px auto 0;
}

.faq-item {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-q {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 900;
}

.faq-question h3 {
    flex: 1;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
}

.faq-question i {
    flex-shrink: 0;
    font-size: 1.25rem;
    color: var(--text-gray);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer {
    display: flex;
    gap: 20px;
    padding: 0 30px 30px;
}

.faq-a {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 900;
}

.faq-answer p {
    flex: 1;
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-gray);
    padding-top: 10px;
}

/* ========================================
   アクセス・施設情報セクション
   ======================================== */
.access-section {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.access-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.access-info {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.access-subtitle {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.info-item h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.info-item p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-gray);
}

.access-map {
    background: var(--bg-gray);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
}

.map-placeholder i {
    font-size: 5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.map-placeholder p {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.map-placeholder small {
    font-size: 0.875rem;
}

.facility-gallery {
    margin-top: 80px;
}

.facility-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-item p {
    padding: 20px;
    background: white;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    color: var(--text-dark);
}

/* ========================================
   最終CTAセクション
   ======================================== */
.contact-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-header .section-title {
    color: white;
}

.contact-header .title-emphasis {
    color: #ffd700;
}

.contact-description {
    font-size: 1.25rem;
    line-height: 1.8;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.contact-method {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.contact-method:hover {
    transform: translateY(-10px);
}

.contact-method.primary {
    background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
    color: var(--text-dark);
}

.contact-method .method-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
}

.contact-method.primary .method-icon {
    background: white;
    color: var(--primary-color);
}

.method-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.method-description {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 25px;
    line-height: 1.6;
}

.contact-method .method-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--primary-color);
    color: white;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    transition: var(--transition);
}

.contact-method .method-button:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.contact-method.primary .method-button {
    background: white;
    color: var(--primary-color);
}

.contact-notes {
    text-align: center;
    margin-top: 40px;
}

.contact-notes p {
    font-size: 1rem;
    opacity: 0.9;
}

/* ========================================
   フッター
   ======================================== */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo h3 {
    font-size: 1.75rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.footer-tagline {
    font-size: 1rem;
    opacity: 0.8;
}

.footer-info p {
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0.8;
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    opacity: 0.6;
}

/* ========================================
   トップへ戻るボタン
   ======================================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.4);
}

/* ========================================
   レスポンシブデザイン
   ======================================== */

/* タブレット (768px以下) */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

   
/* ========================================
   ナビゲーションボタン
   ======================================== */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slider-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.slider-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.slider-nav.prev {
    left: 15px;
}

.slider-nav.next {
    right: 15px;
}

/* ========================================
   インジケーター（ドット）
   ======================================== */
.slider-dots {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.dot.active {
    background: white;
    width: 28px;
    border-radius: 5px;
}

/* ========================================
   テキストコンテンツ
   ======================================== */
.hero-content {
    text-align: center;
}

.hero-title {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 35px;
}

.hero-title .hero-main-text {
    display: block;
    font-size: 1.85rem;
    margin-bottom: 8px;
}

.hero-title .hero-emphasis {
    display: block;
    font-size: 2.3rem;
    background: linear-gradient(90deg, #fff 0%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.25;
}

/* 実績カード（縦並び） */
.hero-stats--card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 35px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 18px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:active {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(0.98);
}

.stat-title {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 6px;
    font-weight: 500;
}

.stat-main {
    font-size: 1.65rem;
    font-weight: 900;
    line-height: 1.2;
}

.stat-main .stat-note {
    font-size: 0.7rem;
    margin-left: 3px;
    opacity: 0.8;
}

/* CTAエリア */
.hero-cta--single {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.hero-cta--single .cta-button {
    width: 100%;
    max-width: 100%;
    padding: 20px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.hero-cta--single .cta-button .cta-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-cta--single .cta-button .cta-badge {
    background: var(--accent-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

.hero-note {
    font-size: 0.85rem;
    opacity: 0.9;
    line-height: 1.65;
    text-align: center;
}

/* ========================================
   タブレット以上（768px以上）
   ======================================== */
@media (min-width: 768px) {
    .hero-section {
        padding: 90px 0 70px;
    }

    .hero-layout {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: center;
    }

    .hero-image-slider {
        order: 2;
        margin-bottom: 0;
        border-radius: 25px;
    }

    .slider-wrapper {
        height: 550px;
    }

    .hero-content {
        order: 1;
        text-align: left;
    }

    .hero-title {
        font-size: 2.8rem;
        margin-bottom: 45px;
    }

    .hero-title .hero-main-text {
        font-size: 2.3rem;
    }

    .hero-title .hero-emphasis {
        font-size: 3.3rem;
    }

    .hero-stats--card {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        margin-bottom: 40px;
    }

    .stat-card {
        padding: 20px 16px;
    }

    .hero-cta--single {
        align-items: flex-start;
    }

    .hero-cta--single .cta-button {
        width: auto;
        min-width: 320px;
    }

    .hero-note {
        text-align: left;
    }

    .hero-image-badge {
        bottom: 25px;
        padding: 14px 28px;
        font-size: 1.05rem;
    }

    .slider-nav {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }

    .slider-nav.prev {
        left: 20px;
    }

    .slider-nav.next {
        right: 20px;
    }

    .slider-dots {
        bottom: 60px;
    }
}

/* ========================================
   大画面（1200px以上）
   ======================================== */
@media (min-width: 1200px) {
    .hero-section {
        padding: 110px 0 80px;
        min-height: 85vh;
    }

    .hero-layout {
        gap: 80px;
    }

    .hero-image-slider {
        border-radius: 30px;
    }

    .slider-wrapper {
        height: 600px;
    }

    .hero-title {
        font-size: 3.2rem;
        margin-bottom: 50px;
    }

    .hero-title .hero-main-text {
        font-size: 2.6rem;
    }

    .hero-title .hero-emphasis {
        font-size: 3.8rem;
    }

    .stat-main {
        font-size: 1.75rem;
    }

    .hero-cta--single .cta-button {
        padding: 22px 40px;
        font-size: 1.15rem;
    }
}

/* ========================================
   小型スマホ（375px以下）
   ======================================== */
@media (max-width: 375px) {
    .hero-section {
        padding: 60px 0 50px;
    }

    .hero-image-slider {
        margin-bottom: 30px;
        border-radius: 16px;
    }

    .slider-wrapper {
        height: 240px;
    }

    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 30px;
    }

    .hero-title .hero-main-text {
        font-size: 1.65rem;
    }

    .hero-title .hero-emphasis {
        font-size: 2rem;
    }

    .stat-card {
        padding: 16px 18px;
    }

    .stat-main {
        font-size: 1.5rem;
    }

    .hero-cta--single .cta-button {
        padding: 18px 25px;
        font-size: 1.05rem;
    }

    .hero-note {
        font-size: 0.8rem;
    }

    .hero-image-badge {
        font-size: 0.85rem;
        padding: 8px 18px;
    }

    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .slider-nav.prev {
        left: 10px;
    }

    .slider-nav.next {
        right: 10px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    .dot.active {
        width: 24px;
    }
}


    /* ビフォーアフター */
    .results-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* お悩み */
    .problems-grid {
        grid-template-columns: 1fr;
    }

    /* メソッド */
    .method-content {
        grid-template-columns: 1fr;
        padding: 40px 30px;
        gap: 40px;
    }

    .method-item.reverse .method-content {
        direction: ltr;
    }

    .method-number {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }

    /* 選ばれる理由 */
    .reasons-grid {
        grid-template-columns: 1fr;
    }

    /* インタビュー */
    .interview-card {
        grid-template-columns: 1fr;
    }

    .interview-card.reverse {
        direction: ltr;
    }

    .interview-content,
    .interview-card.reverse .interview-content {
        padding: 40px 30px;
    }

    /* 料金プラン */
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.recommended {
        transform: scale(1);
    }

    /* FAQ */
    .faq-question {
        padding: 20px;
    }

    .faq-answer {
        padding: 0 20px 20px;
    }

    .faq-q,
    .faq-a {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    /* アクセス */
    .access-content {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    /* コンタクト */
    .contact-methods {
        grid-template-columns: 1fr;
    }

    /* フッター */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* スマートフォン (480px以下) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-title .hero-emphasis {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .cta-button {
        padding: 16px 30px;
        font-size: 1rem;
    }

    .method-content {
        padding: 30px 20px;
    }

    .pricing-card {
        padding: 30px 20px;
    }

    .access-info {
        padding: 30px 20px;
    }
}

/* CTAを1つに最適化 */
.hero-cta--single{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.hero-cta--single .cta-button{
  width: min(560px, 92vw);
  justify-content: center;
  padding: 22px 26px;         /* 1つなら少し厚めが強い */
  border-radius: 999px;
}

.hero-cta--single .cta-button .cta-text{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
}

.hero-cta--single .cta-button .cta-badge{
  margin-right: 0;            /* gapで管理 */
  padding: 5px 14px;
  font-size: .9rem;
}

.hero-cta-note{
  font-size: .95rem;
  opacity: .9;
}

/* モバイルの見出し/数値を詰めて見栄えを上げる */
@media (max-width: 520px){
  .hero-section{ padding: 96px 0 72px; }
  .hero-title{ font-size: 2.3rem; margin-bottom: 36px; }
  .hero-title .hero-emphasis{ font-size: 3.0rem; }
  .hero-stats{ gap: 22px; margin-bottom: 34px; }
  .stat-number{ font-size: 2.6rem; }
  .stat-number span{ font-size: 1.1rem; }
}

.hero-section{
  min-height: 92vh;      /* 100vhより安定 */
  padding: 110px 0 70px; /* 少し詰める */
}

/* ヒーロー実績カード */
.hero-stats--card{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 900px;
  margin: 0 auto 44px;
}

.stat-card{
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 18px;
  padding: 22px 16px;
  text-align: center;
}

.stat-title{
  font-size: .9rem;
  opacity: .85;
  margin-bottom: 6px;
}

.stat-main{
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1.2;
}

.stat-main span.stat-note{
  font-size: .75rem;
  margin-left: 4px;
}

.stat-sub{
  font-size: .85rem;
  opacity: .85;
  margin-top: 6px;
}

/* モバイル */
@media (max-width: 520px){
  .hero-stats--card{
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 34px;
  }
}

/* 3つの実績ブロックを“透明枠カード”にする */
.trust-card{
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 20px;
  padding: 16px 22px;
  background: rgba(255,255,255,0.07); /* 透明で行くなら 0 にしてOK */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* 1行目（ラベル） */
.trust-card .label{
  font-size: 14px;
  opacity: 0.85;
  letter-spacing: 0.02em;
}

/* 2行目（強調） */
.trust-card .headline{
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 8px;
}

/* 3行目（補足） */
.trust-card .sub{
  font-size: 14px;
  opacity: 0.85;
  margin-top: 8px;
}

/* ※注釈（当社調べ） */
.trust-card .note{
  font-size: 12px;
  opacity: 0.75;
  margin-top: 6px;
}

.hero-image-badge {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 5;
    pointer-events: none;
    white-space: nowrap;
    max-width: 90%;
    min-width: 140px; /* 👈 最小幅を追加 */
    justify-content: center; /* 👈 中央揃え */
}

/* ========================================
   ビフォーアフター - 数値のズレ修正版
   ======================================== */

/* 数値エリア - 等幅フォントで位置を揃える */
.result-achievement {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
    min-height: 5.4em;
    flex: 1;
    
    /* 👇 等幅フォントを使用 */
    font-family: 'Courier New', Courier, 'Consolas', 'Monaco', monospace, 'Noto Sans JP', sans-serif;
    
    /* 👇 または、数字だけ等幅にする */
    font-variant-numeric: tabular-nums;
    
    /* 👇 文字間隔を微調整 */
    letter-spacing: 0.02em;
}

/* その他のスタイルは変更なし */
.results-section {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
    align-items: stretch;
}

.result-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.result-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.result-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ff6b35;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.4;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: calc(100% - 40px);
}

.result-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.result-card:hover .result-image img {
    transform: scale(1.05);
}

.result-info {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.result-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.result-period {
    font-size: 0.875rem;
    color: var(--text-gray);
    margin-bottom: 15px;
}

/* ========================================
   レスポンシブ対応
   ======================================== */

@media (max-width: 768px) {
    .results-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .result-badge {
        top: 15px;
        right: 15px;
        padding: 8px 18px;
        font-size: 0.8rem;
        max-width: calc(100% - 30px);
    }
    
    .result-image {
        height: 350px;
    }
    
    .result-info {
        padding: 25px;
    }
    
    .result-name {
        font-size: 1.3rem;
    }
    
    .result-achievement {
        font-size: 0.95rem;
        min-height: 5.1em;
    }
}

@media (max-width: 480px) {
    .result-badge {
        top: 12px;
        right: 12px;
        padding: 7px 16px;
        font-size: 0.75rem;
        max-width: calc(100% - 24px);
    }
    
    .result-image {
        height: 300px;
    }
    
    .result-info {
        padding: 20px;
    }
    
    .result-name {
        font-size: 1.2rem;
    }
    
    .result-achievement {
        font-size: 0.95rem;
        min-height: 4.8em;
        letter-spacing: 0.01em; /* スマホでは少し詰める */
    }
}

@media (min-width: 1200px) {
    .results-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
}

/* 全体を囲むコンテナのスタイル */
.section-title {
  /* これが最も重要！中のテキストをすべて中央揃えにします */
  text-align: center;
  width: 100%; /* 横幅いっぱいに広がるようにする */
  padding: 20px 0; /* 上下の余白 */
}

/* メインの見出しのスタイル */
.section-title h2 {
  font-size: 32px; /* フォントサイズ（デザインに合わせて調整） */
  font-weight: bold;
  line-height: 1.5; /* 行の高さ。文字が詰まりすぎないように調整 */
  margin: 0; /* 余計な余白をリセット */
}

/* 色を変えたい部分のスタイル */
.section-title .highlight {
  color: #1a73e8; /* 画像に近い青色（任意の色に変更可能） */
}

/* サブタイトルのスタイル */
.section-title .subtitle {
  font-size: 16px; /* フォントサイズ（デザインに合わせて調整） */
  color: #5f6368; /* 画像に近い灰色 */
  margin-top: 10px; /* 見出しとの間の余白 */
}

/* =======================================
   スマートフォン向けのスタイル 
   画面幅が768px以下の場合に適用
========================================= */
@media (max-width: 768px) {

  /* 見出し全体のフォントサイズを小さくする */
  .section-title h2 {
    font-size: 24px; /* ←ここの数値を調整して1行に収まるようにする */
  }

  /* サブタイトルのフォントサイズも合わせて調整 */
  .section-title .subtitle {
    font-size: 14px;
  }
  
}

/* =======================================
   ヘッダー（ロゴ＆お問い合わせ）のスタイル
========================================= */

/* ヘッダー全体 */
.site-header-contact {
  display: flex;                  /* 重要：要素を横並びに */
  justify-content: space-between; /* 重要：ロゴと情報を両端に配置 */
  align-items: center;            /* 重要：縦方向の中央揃え */
  padding: 20px 30px;             /* ヘッダーの内側の余白 */
  background-color: #fff;         /* ヘッダーの背景色 */
  border-bottom: 1px solid #eee;  /* ヘッダーの下の薄い境界線 */
}

/* 【左側】ロゴのラッパー */
.logo-wrapper img {
  height: 60px; /* ロゴの高さを指定（サイトに合わせて調整） */
  display: block;
}

/* 【右側】お問い合わせ情報のラッパー */
.contact-info-wrapper {
  display: flex;
  flex-direction: column; /* 中の要素（電話番号と受付時間）を縦に並べる */
  align-items: flex-end;  /* 右端に揃える */
  gap: 8px;               /* 縦に並べた要素の間の隙間 */
}

/* 電話番号のリンク */
.tel-number-link {
  display: flex;
  align-items: center;
  gap: 8px; /* アイコンと番号の間の隙間 */
  font-size: 22px;
  font-weight: bold;
  color: #333;
  text-decoration: none;
}
.tel-number-link i {
  color: #00b8d4; /* アイコンの色をロゴの色に合わせる */
}

/* 受付時間のテキスト */
.reception-hours {
  font-size: 13px;
  color: #757575;
  margin: 0;
}
.reception-hours small {
  margin-left: 5px;
}

/* =======================================
   スマートフォン向けのスタイル（レスポンシブ対応）
   画面幅が 768px 以下の場合に適用
========================================= */
@media (max-width: 768px) {
  .site-header-contact {
    flex-direction: column; /* 横並びから縦並びに変更 */
    align-items: center;    /* 全体を中央揃えに */
    gap: 20px;              /* ロゴと情報の間の隙間を空ける */
  }

  .contact-info-wrapper {
    align-items: center; /* スマホでは中央揃えに変更 */
  }
}

/* ===============================================
   ヒーローヘッダー（ロゴとCTA配置）- 元の状態に戻す
   =============================================== */

.hero-header {
    position: relative;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 15px 0;
    margin-bottom: 0;
}

.hero-header-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ロゴエリア */
.hero-logo {
    flex-shrink: 0;
}

.logo-image {
    height: 50px;
    width: auto;
    display: block;
}

/* ヘッダーCTAボタン */
.hero-cta-action {
    flex-shrink: 0;
}

.cta-button-header {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    white-space: nowrap;
}

.cta-button-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.cta-icon {
    font-size: 1.2rem;
}

.cta-text {
    display: inline-block;
}

/* ===============================================
   ヒーローセクション本体 - 青基調の背景に戻す
   =============================================== */

.hero-section {
    position: relative;
    background: linear-gradient(135deg, #2e5cb8 0%, #4a7fd4 100%); /* 青基調に戻す */
    padding: 60px 0 90px 0;
    overflow: visible;
}

/* ===============================================
   レスポンシブ対応
   =============================================== */

/* 極小画面（375px以下） */
@media (max-width: 375px) {
    .hero-header {
        padding: 12px 0;
    }
    
    .hero-header-layout {
        padding: 0 12px;
        gap: 10px;
    }
    
    .logo-image {
        height: 40px;
    }
    
    .cta-button-header {
        padding: 8px 14px;
        font-size: 0.75rem;
        gap: 5px;
    }
    
    .cta-icon {
        font-size: 0.95rem;
    }
    
    .hero-section {
        padding: 50px 0 70px 0;
    }
}

/* 小型スマホ（376px〜480px） */
@media (min-width: 376px) and (max-width: 480px) {
    .hero-header {
        padding: 12px 0;
    }
    
    .hero-header-layout {
        padding: 0 15px;
    }
    
    .logo-image {
        height: 45px;
    }
    
    .cta-button-header {
        padding: 10px 18px;
        font-size: 0.85rem;
        gap: 6px;
    }
    
    .cta-icon {
        font-size: 1rem;
    }
    
    .hero-section {
        padding: 50px 0 70px 0;
    }
}

/* 通常スマホ（481px〜767px） */
@media (min-width: 481px) and (max-width: 767px) {
    .logo-image {
        height: 50px;
    }
    
    .hero-section {
        padding: 55px 0 80px 0;
    }
}

/* タブレット（768px〜1023px） */
@media (min-width: 768px) {
    .hero-header {
        padding: 20px 0;
    }
    
    .logo-image {
        height: 60px;
    }
    
    .cta-button-header {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .hero-section {
        padding: 70px 0 90px 0;
    }
}

/* PC（1024px以上） */
@media (min-width: 1024px) {
    .logo-image {
        height: 65px;
    }
    
    .cta-button-header {
        padding: 16px 32px;
        font-size: 1.05rem;
    }
    
    .hero-section {
        padding: 80px 0 100px 0;
    }
}

/* 大画面（1440px以上） */
@media (min-width: 1440px) {
    .logo-image {
        height: 70px;
    }
    
    .hero-section {
        padding: 90px 0 110px 0;
    }
}

/* ===============================================
   白背景のセクション（実際にPersonal Gym I'mで〜）
   =============================================== */

.hero-white {
    background: #ffffff;
    padding: 50px 0;
}

/* セクションタイトル */
.section-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: #2c3e50; /* 黒字 */
    text-align: center;
    margin-bottom: 15px; /* 間隔を適度に */
    line-height: 1.4;
}

.title-highlight {
    display: block;
    color: #2e5cb8; /* 「変化した会員様たち」だけ青 */
    font-size: 1.6rem;
    margin-bottom: 0; /* 下の余白をゼロに */
}

.section-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50; /* 黒字に変更 */
    text-align: center;
    margin-top: 15px; /* 上の余白を縮小 */
    margin-bottom: 40px;
}

/* ===============================================
   レスポンシブ対応
   =============================================== */

/* スマホ（480px以下） */
@media (max-width: 480px) {
    .hero-white {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .title-highlight {
        font-size: 1.4rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        margin-top: 12px;
        margin-bottom: 30px;
    }
}

/* タブレット（481px〜767px） */
@media (min-width: 481px) and (max-width: 767px) {
    .hero-white {
        padding: 45px 0;
    }
    
    .section-title {
        font-size: 1.4rem;
        margin-bottom: 14px;
    }
    
    .title-highlight {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        margin-top: 14px;
        margin-bottom: 35px;
    }
}

/* タブレット（768px以上） */
@media (min-width: 768px) {
    .hero-white {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 18px;
    }
    
    .title-highlight {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
        margin-top: 18px;
        margin-bottom: 45px;
    }
}

/* PC（1024px以上） */
@media (min-width: 1024px) {
    .hero-white {
        padding: 70px 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .title-highlight {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1.2rem;
        margin-top: 20px;
    }
}

/* 大画面（1440px以上） */
@media (min-width: 1440px) {
    .hero-white {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .title-highlight {
        font-size: 2.4rem;
    }
}

/* ===============================================
   お悩み共感セクション
   =============================================== */

.problems-section {
    background: #f8f9fa;
    padding: 80px 0;
}

/* ヘッダー部分 */
.problems-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: #2c3e50;
    line-height: 1.5;
}

.title-small {
    font-size: 1.2rem;
    color: #7f8c8d;
    display: block;
    margin-bottom: 10px;
}

.title-emphasis {
    color: #2e5cb8;
    font-size: 2rem;
    display: block;
    margin-top: 10px;
}

/* お悩みグリッド */
.problems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

/* お悩みカード */
.problem-item {
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.problem-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.problem-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2e5cb8 0%, #4a7fd4 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.problem-icon i {
    font-size: 2rem;
    color: white;
}

.problem-text {
    font-size: 1rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.6;
    margin: 0;
}

/* ===============================================
   解決策テキスト
   =============================================== */

.solution-simple {
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
    padding: 0 20px;
}

.solution-text {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.9;
    margin: 0;
}

.solution-method {
    color: #2e5cb8;
    font-weight: 700;
    font-size: 1.1rem;
}

.solution-text strong {
    color: #2c3e50;
    font-weight: 700;
}

/* スマホ用の改行 */
.sp-only {
    display: inline;
}

/* ===============================================
   レスポンシブ対応（解決策テキスト）
   =============================================== */

/* スマホ（767px以下） */
@media (max-width: 767px) {
    .solution-text {
        font-size: 0.95rem;
        line-height: 1.8;
    }
    
    .solution-method {
        font-size: 1rem;
    }
}

/* タブレット以上（768px以上） */
@media (min-width: 768px) {
    /* PC用は改行を削除 */
    .sp-only {
        display: none;
    }
    
    .solution-text {
        font-size: 1.1rem;
        line-height: 2;
    }
    
    .solution-method {
        font-size: 1.15rem;
    }
}

/* PC（1024px以上） */
@media (min-width: 1024px) {
    .solution-text {
        font-size: 1.15rem;
        line-height: 2.1;
    }
    
    .solution-method {
        font-size: 1.2rem;
    }
}

/* テキスト */
.problem-text {
    font-size: 1rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.6;
    margin: 0;
}

/* ===============================================
   レスポンシブ対応（お悩みカード）
   =============================================== */

/* スマホ（767px以下） - 改行あり */
@media (max-width: 767px) {
    .problem-text {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}

/* タブレット（768px〜1023px） - 改行なし */
@media (min-width: 768px) {
    .problem-text br {
        display: none; /* PCでは改行を削除 */
    }
    
    .problem-text {
        font-size: 1rem;
        line-height: 1.5;
    }
}

/* PC（1024px以上） - 改行なし */
@media (min-width: 1024px) {
    .problem-text {
        font-size: 1.1rem;
        line-height: 1.5;
    }
}

/* ===============================================
   共通: 青丸のグラデーション（全体統一）
   =============================================== */

/* お悩みセクションの青丸 */
.problem-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4A7FD4 0%, #6BA3E8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.problem-icon i {
    font-size: 2rem;
    color: white;
}

/* 実績カードの青丸アイコン（もしあれば） */
.stat-icon {
    background: linear-gradient(135deg, #4A7FD4 0%, #6BA3E8 100%);
}

/* 特徴・メリットセクションの青丸（もしあれば） */
.feature-icon {
    background: linear-gradient(135deg, #4A7FD4 0%, #6BA3E8 100%);
}

/* その他の青丸要素 */
.circle-icon,
.round-icon {
    background: linear-gradient(135deg, #4A7FD4 0%, #6BA3E8 100%);
}

/* ===============================================
   お悩みカード全体
   =============================================== */

.problems-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.problems-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: #2c3e50;
    line-height: 1.5;
}

.title-small {
    font-size: 1.2rem;
    color: #7f8c8d;
    display: block;
    margin-bottom: 10px;
}

.title-emphasis {
    color: #2e5cb8;
    font-size: 2rem;
    display: block;
    margin-top: 10px;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.problem-item {
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.problem-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.problem-text {
    font-size: 1rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.6;
    margin: 0;
}

/* ===============================================
   解決策テキスト
   =============================================== */

.solution-simple {
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
    padding: 0 20px;
}

.solution-text {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.9;
    margin: 0;
}

.solution-method {
    color: #2e5cb8;
    font-weight: 700;
    font-size: 1.1rem;
}

.solution-text strong {
    color: #2c3e50;
    font-weight: 700;
}

/* ===============================================
   レスポンシブ対応
   =============================================== */

/* スマホ（767px以下） */
@media (max-width: 767px) {
    .problems-section {
        padding: 60px 0;
    }
    
    .problems-header {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .title-small {
        font-size: 1rem;
    }
    
    .title-emphasis {
        font-size: 1.6rem;
    }
    
    .problems-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 20px;
        margin-bottom: 50px;
    }
    
    .problem-item {
        padding: 25px 15px;
    }
    
    .problem-icon {
        width: 70px;
        height: 70px;
    }
    
    .problem-icon i {
        font-size: 1.8rem;
    }
    
    .problem-text {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .solution-text {
        font-size: 0.95rem;
        line-height: 1.8;
    }
    
    .solution-method {
        font-size: 1rem;
    }
}

/* タブレット（768px以上） */
@media (min-width: 768px) {
    .problems-section {
        padding: 70px 0;
    }
    
    .problems-grid {
        gap: 20px;
        padding: 0 40px;
        margin-bottom: 55px;
    }
    
    /* PCではカード内の改行を削除 */
    .problem-text br {
        display: none;
    }
    
    .problem-text {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .solution-text {
        font-size: 1.1rem;
        line-height: 2;
    }
    
    .solution-method {
        font-size: 1.15rem;
    }
}

/* PC（1024px以上） */
@media (min-width: 1024px) {
    .problems-section {
        padding: 90px 0;
    }
    
    .problems-grid {
        gap: 25px;
        margin-bottom: 60px;
    }
    
    .problem-item {
        padding: 35px 25px;
    }
    
    .problem-icon {
        width: 90px;
        height: 90px;
    }
    
    .problem-icon i {
        font-size: 2.2rem;
    }
    
    .problem-text {
        font-size: 1.1rem;
    }
    
    .solution-text {
        font-size: 1.15rem;
        line-height: 2.1;
    }
    
    .solution-method {
        font-size: 1.2rem;
    }
}

/* ===============================================
   お悩みグリッド - レスポンシブ改善
   =============================================== */

.problems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 常に2列 */
    gap: 20px;
    max-width: 800px;
    margin: 0 auto 60px auto;
    padding: 0 20px; /* 左右に余白を追加 */
}

.problem-item {
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    min-width: 0; /* グリッドアイテムの縮小を許可 */
}

.problem-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.problem-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4A7FD4 0%, #6BA3E8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    flex-shrink: 0;
}

.problem-icon i {
    font-size: 2rem;
    color: white;
    display: block;
}

.problem-text {
    font-size: 1rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.6;
    margin: 0;
    word-break: keep-all; /* 日本語の改行を適切に */
}

/* ===============================================
   レスポンシブ対応（改善版）
   =============================================== */

/* 極小画面（320px〜479px） - 2×2を維持 */
@media (max-width: 479px) {
    .problems-grid {
        grid-template-columns: repeat(2, 1fr); /* 2列維持 */
        gap: 12px;
        padding: 0 15px;
        margin-bottom: 50px;
    }
    
    .problem-item {
        padding: 20px 12px;
    }
    
    .problem-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 12px;
    }
    
    .problem-icon i {
        font-size: 1.5rem;
    }
    
    .problem-text {
        font-size: 0.85rem;
        line-height: 1.5;
    }
}

/* スマホ（480px〜767px） - 2×2を維持 */
@media (min-width: 480px) and (max-width: 767px) {
    .problems-grid {
        grid-template-columns: repeat(2, 1fr); /* 2列維持 */
        gap: 15px;
        padding: 0 20px;
        margin-bottom: 50px;
    }
    
    .problem-item {
        padding: 25px 15px;
    }
    
    .problem-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 15px;
    }
    
    .problem-icon i {
        font-size: 1.8rem;
    }
    
    .problem-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

/* タブレット（768px〜1023px） - 2×2 */
@media (min-width: 768px) and (max-width: 1023px) {
    .problems-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 40px;
        margin-bottom: 55px;
    }
    
    .problem-item {
        padding: 30px 20px;
    }
    
    .problem-icon {
        width: 80px;
        height: 80px;
    }
    
    .problem-icon i {
        font-size: 2rem;
    }
    
    /* PCではカード内の改行を削除 */
    .problem-text br {
        display: none;
    }
    
    .problem-text {
        font-size: 1rem;
        line-height: 1.5;
    }
}

/* PC（1024px以上） - 2×2 */
@media (min-width: 1024px) {
    .problems-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        padding: 0;
        margin-bottom: 60px;
        max-width: 800px;
    }
    
    .problem-item {
        padding: 35px 25px;
    }
    
    .problem-icon {
        width: 90px;
        height: 90px;
    }
    
    .problem-icon i {
        font-size: 2.2rem;
    }
    
    /* PCではカード内の改行を削除 */
    .problem-text br {
        display: none;
    }
    
    .problem-text {
        font-size: 1.1rem;
        line-height: 1.5;
    }
}

/* 大画面（1200px以上） - 2×2を維持 */
@media (min-width: 1200px) {
    .problems-grid {
        max-width: 900px;
        gap: 30px;
    }
    
    .problem-item {
        padding: 40px 30px;
    }
}

/* --- タイトルのレスポンシブ対応 --- */

/* 画面幅が768pxより大きい場合（タブレットやPCなど）のスタイル */
@media (min-width: 769px) {
  .method-title br {
    display: none; /* brタグを非表示にする */
  }
}

/* 画面幅が768px以下の場合（スマホなど）は、
   HTMLの<br>がそのまま機能するため、特別な記述は不要です。 */

/* ========================================
   選ばれる理由セクション：強制中央揃え
======================================== */

.reasons-section {
  padding: 80px 0 !important;
  background: #f8f9fa !important;
}

/* セクションヘッダー全体 */
.section-header {
  text-align: center !important;
  margin: 0 auto 60px !important;
  padding: 0 20px !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* セクションタイトル「選ばれる理由」 */
.section-title {
  font-size: 2.5rem !important;
  font-weight: 700 !important;
  color: #2c3e50 !important;
  margin: 0 auto 20px !important;
  text-align: center !important;
  line-height: 1.4 !important;
  display: block !important;
  width: 100% !important;
  padding: 0 !important;
}

/* 強調部分「選ばれる理由」 */
.title-emphasis {
  color: #2e5cb8 !important;
  display: inline !important;
}

/* サブタイトル「他のジムとは違う、当ジムの強み」 */
.section-subtitle {
  font-size: 1.1rem !important;
  color: #2c3e50 !important;
  margin: 0 auto !important;
  text-align: center !important;
  line-height: 1.8 !important;
  font-weight: 400 !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 20px !important;
  white-space: normal !important; /* ★ 自動改行を許可 */
  word-break: keep-all !important; /* ★ 単語の途中で改行しない */
}

/* editable-text クラスにも適用 */
.editable-text[data-edit="reasons-subtitle"] {
  text-align: center !important;
  margin: 0 auto !important;
  width: 100% !important;
}

/* ========================================
   レスポンシブ対応
======================================== */

/* スマホ（767px以下） */
@media (max-width: 767px) {
  .reasons-section {
    padding: 60px 0 !important;
  }

  .section-header {
    margin-bottom: 40px !important;
    padding: 0 15px !important;
  }

  .section-title {
    font-size: 1.8rem !important;
    margin-bottom: 15px !important;
  }

  .section-subtitle {
    font-size: 0.95rem !important;
    padding: 0 15px !important;
    line-height: 1.7 !important;
  }
}

/* タブレット（768-1023px） */
@media (min-width: 768px) and (max-width: 1023px) {
  .section-header {
    margin-bottom: 50px !important;
  }

  .section-title {
    font-size: 2.2rem !important;
  }

  .section-subtitle {
    font-size: 1.05rem !important;
  }
}

/* PC（1024px以上） */
@media (min-width: 1024px) {
  .section-title {
    font-size: 2.8rem !important;
  }

  .section-subtitle {
    font-size: 1.2rem !important;
    padding: 0 30px !important;
  }
}

/* Googleマップのレスポンシブ対応 */
.map-container {
    position: relative;
    width: 100%;
    padding-bottom: 75%; /* 地図の縦横比（4:3）。16:9なら56.25% */
    height: 0;
    overflow: hidden;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ========================================
   カスタムプラン提案セクション
======================================== */

/* 中央配置用のラッパー */
.custom-plan-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 60px;
  padding: 0 20px;
}

/* カスタムプランセクション本体 */
.custom-plan-section {
  background-color: #f8f9fa;
  color: #212529;
  text-align: center;
  padding: 50px 40px;
  border-radius: 15px;
  max-width: 900px;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* タイトル */
.custom-plan-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: #2c3e50;
  line-height: 1.4;
}

/* 説明文 */
.custom-plan-description {
  max-width: 700px;
  margin: 0 auto 30px;
  line-height: 1.9;
  font-size: 1rem;
  color: #555;
}

/* 強調部分 */
.custom-plan-highlight {
  color: #2e5cb8;
  font-weight: 700;
}

/* CTAボタンエリア */
.custom-plan-cta {
  margin-top: 30px;
}

/* ========================================
   レスポンシブ対応
======================================== */

/* スマホ（767px以下） */
@media (max-width: 767px) {
  .custom-plan-wrapper {
    margin-top: 40px;
    padding: 0 15px;
  }

  .custom-plan-section {
    padding: 40px 25px;
    border-radius: 12px;
  }

  .custom-plan-title {
    font-size: 1.4rem;
    margin-bottom: 20px;
  }

  .custom-plan-description {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 25px;
  }

  .custom-plan-cta {
    margin-top: 25px;
  }
}

/* タブレット（768-1023px） */
@media (min-width: 768px) and (max-width: 1023px) {
  .custom-plan-wrapper {
    margin-top: 50px;
  }

  .custom-plan-section {
    padding: 45px 35px;
  }

  .custom-plan-title {
    font-size: 1.6rem;
  }

  .custom-plan-description {
    font-size: 0.98rem;
  }
}

/* PC（1024px以上） */
@media (min-width: 1024px) {
  .custom-plan-wrapper {
    margin-top: 70px;
  }

  .custom-plan-section {
    padding: 60px 50px;
  }

  .custom-plan-title {
    font-size: 2rem;
  }

  .custom-plan-description {
    font-size: 1.05rem;
  }
}

/* ========================================
   最終CTAセクション（青背景）
======================================== */

.contact-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #2e5cb8 0%, #4a7fd4 100%);
  position: relative;
  overflow: hidden;
}

/* 背景の装飾（オプション） */
.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.contact-content {
  position: relative;
  z-index: 1;
}

/* ヘッダー部分 */
.contact-header {
  text-align: center;
  margin-bottom: 60px;
}

/* メインタイトル「人生を変えるなら今！」 */
.contact-header .section-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #ffffff !important; /* ★ 白文字 */
  margin-bottom: 20px;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.3); /* ★ 強めの影 */
  line-height: 1.3;
  letter-spacing: 0.05em;
}

/* サブタイトル「無料カウンセリング受付中」 */
.contact-header .section-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff !important; /* ★ 白文字 */
  margin-bottom: 30px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25); /* ★ 影 */
  letter-spacing: 0.03em;
}

/* 説明文 */
.contact-description {
  font-size: 1.15rem;
  color: #ffffff !important; /* ★ 白文字 */
  line-height: 1.9;
  max-width: 850px;
  margin: 0 auto;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); /* ★ 影 */
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* 問い合わせ方法（2列グリッド） */
.contact-methods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto 50px;
}

.contact-method {
  background: #fff;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-method:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

/* アイコン */
.method-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #2e5cb8 0%, #4a7fd4 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  box-shadow: 0 4px 12px rgba(46, 92, 184, 0.3);
}

.method-icon i {
  font-size: 2.2rem;
  color: #fff;
}

/* タイトル */
.method-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
}

/* 説明文 */
.method-description {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 25px;
}

/* ボタン */
.method-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #2e5cb8 0%, #4a7fd4 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(46, 92, 184, 0.3);
}

.method-button:hover {
  background: linear-gradient(135deg, #2545a0 0%, #3d6bc6 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(46, 92, 184, 0.4);
}

.method-button i {
  font-size: 1.1rem;
}

/* 注意書き */
.contact-notes {
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
}

.contact-notes p {
  font-size: 1rem;
  color: #ffffff !important; /* ★ 白文字 */
  line-height: 1.8;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); /* ★ 影 */
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* ========================================
   レスポンシブ対応
======================================== */

/* タブレット（768-1023px） */
@media (max-width: 1023px) {
  .contact-header .section-title {
    font-size: 2.3rem;
  }
  
  .contact-header .section-subtitle {
    font-size: 1.3rem;
  }
  
  .contact-description {
    font-size: 1.05rem;
  }
  
  .contact-methods {
    gap: 30px;
  }
  
  .contact-method {
    padding: 35px 25px;
  }
  
  .method-icon {
    width: 70px;
    height: 70px;
  }
  
  .method-icon i {
    font-size: 2rem;
  }
  
  .method-title {
    font-size: 1.3rem;
  }
}

/* スマホ（767px以下） */
@media (max-width: 767px) {
  .contact-section {
    padding: 60px 0;
  }
  
  .contact-header {
    margin-bottom: 40px;
  }
  
  .contact-header .section-title {
    font-size: 1.9rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  }
  
  .contact-header .section-subtitle {
    font-size: 1.15rem;
    margin-bottom: 25px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  }
  
  .contact-description {
    font-size: 1rem;
    line-height: 1.8;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
  }
  
  /* スマホは1列表示 */
  .contact-methods {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 40px;
  }
  
  .contact-method {
    padding: 30px 20px;
  }
  
  .method-icon {
    width: 65px;
    height: 65px;
    margin-bottom: 20px;
  }
  
  .method-icon i {
    font-size: 1.8rem;
  }
  
  .method-title {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }
  
  .method-description {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }
  
  .method-button {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
  
  .contact-notes p {
    font-size: 0.95rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
  }
}

//* ========================================
   アクセス・施設情報セクション
======================================== */

.access-section {
  padding: 80px 0 60px 0;
  background: #fff;
}

/* セクションヘッダー */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

/* アクセスコンテンツ（店舗情報 + マップ） */
.access-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

/* 店舗情報 */
.access-info {
  background: #f8f9fa;
  padding: 40px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 500px;
}

.access-subtitle {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 30px;
  text-align: center;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid #e0e0e0;
}

.info-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.info-item i {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #4A7FD4 0%, #6BA3E8 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-right: 20px;
}

.info-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0 0 8px 0;
}

.info-item p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
  margin: 0;
}

/* Googleマップ */
.map-container {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-height: 500px;
  height: 100%;
  position: relative;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 500px;
  display: block;
}

/* ========================================
   レスポンシブ対応
======================================== */

/* タブレット（768-1023px） */
@media (max-width: 1023px) {
  .access-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .access-info {
    min-height: auto;
  }
  
  .map-container {
    min-height: 450px !important;
  }
  
  .map-container iframe {
    min-height: 450px !important;
  }
}

/* スマホ（767px以下） */
@media (max-width: 767px) {
  .access-section {
    padding: 60px 0 40px 0;
  }
  
  /* ★ コンテナのパディングをリセット */
  .access-section .container {
    padding: 0 20px;
  }
  
  .access-content {
    gap: 25px;
  }
  
  .access-info {
    padding: 30px 20px;
    min-height: auto;
  }
  
  .access-subtitle {
    font-size: 1.5rem;
    margin-bottom: 25px;
  }
  
  .info-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
  }
  
  .info-item i {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
    margin-right: 15px;
  }
  
  .info-item h4 {
    font-size: 0.95rem;
  }
  
  .info-item p {
    font-size: 0.9rem;
  }
  
  /* ★★★ スマホでマップを大きく表示（強制版） ★★★ */
  .map-container {
    min-height: 400px !important; /* ★ 高さを確保 */
    height: 400px !important; /* ★ 固定高さ */
    border-radius: 12px !important;
    margin: 0 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  }
  
  .map-container iframe {
    width: 100% !important;
    height: 400px !important; /* ★ 固定高さ */
    min-height: 400px !important;
    display: block !important;
  }
}

/* 極小スマホ（480px以下） */
@media (max-width: 480px) {
  .access-info {
    padding: 25px 15px;
  }
  
  .access-subtitle {
    font-size: 1.3rem;
  }
  
  .info-item i {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  /* ★ 極小スマホでも十分な高さ */
  .map-container {
    min-height: 350px !important;
    height: 350px !important;
  }
  
  .map-container iframe {
    height: 350px !important;
    min-height: 350px !important;
  }
}

/* PC大画面（1440px以上） */
@media (min-width: 1440px) {
  .access-info {
    min-height: 550px;
  }
  
  .map-container {
    min-height: 550px;
  }
  
  .map-container iframe {
    min-height: 550px;
  }
}

/* ========================================
   3メソッドセクション
======================================== */

.method-section {
  padding: 80px 0;
  background: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
}

.title-emphasis {
  color: #2e5cb8;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.8;
}

/* 各メソッドアイテム */
.method-item {
  margin-bottom: 60px;
}

/* ★★★ オレンジ丸アイコンを左寄せ ★★★ */
.method-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 20px 0; /* ★ 左寄せ（auto削除） */
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.method-icon i {
  font-size: 2.2rem;
  color: #fff;
}

/* タイトル */
.method-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  text-align: left; /* ★ 左寄せ */
  margin: 0 0 15px 0;
  line-height: 1.4;
}

/* 説明文 */
.method-description {
  font-size: 1rem;
  color: #555;
  line-height: 1.8;
  text-align: left; /* ★ 左寄せ */
  margin: 0 0 20px 0;
}

/* チェックリスト */
.method-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.method-list li {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 12px;
  padding-left: 28px;
  position: relative;
  line-height: 1.6;
}

.method-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2ECC71;
  font-weight: 700;
  font-size: 1.1rem;
}

/* ========================================
   レスポンシブ対応
======================================== */

/* タブレット（768-1023px） */
@media (max-width: 1023px) {
  .method-section {
    padding: 70px 0;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .method-item {
    margin-bottom: 50px;
  }
  
  .method-icon {
    width: 75px;
    height: 75px;
    margin-bottom: 18px;
  }
  
  .method-icon i {
    font-size: 2rem;
  }
  
  .method-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
  }
  
  .method-description {
    font-size: 0.98rem;
    margin-bottom: 18px;
  }
  
  .method-list li {
    font-size: 0.93rem;
    margin-bottom: 10px;
  }
}

/* スマホ（767px以下） */
@media (max-width: 767px) {
  .method-section {
    padding: 60px 0;
  }
  
  .section-header {
    margin-bottom: 40px;
  }
  
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 12px;
  }
  
  .section-subtitle {
    font-size: 0.95rem;
  }
  
  .method-item {
    margin-bottom: 40px;
  }
  
  /* ★ スマホでもアイコンは左寄せ */
  .method-icon {
    width: 70px;
    height: 70px;
    margin: 0 0 15px 0; /* ★ 左寄せ維持 */
  }
  
  .method-icon i {
    font-size: 1.8rem;
  }
  
  .method-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }
  
  .method-description {
    font-size: 0.95rem;
    margin-bottom: 15px;
  }
  
  .method-list li {
    font-size: 0.9rem;
    margin-bottom: 10px;
    padding-left: 24px;
  }
  
  .method-list li:before {
    font-size: 1rem;
  }
}

/* 極小スマホ（480px以下） */
@media (max-width: 480px) {
  .method-icon {
    width: 65px;
    height: 65px;
  }
  
  .method-icon i {
    font-size: 1.6rem;
  }
  
  .method-title {
    font-size: 1.2rem;
  }
  
  .method-description {
    font-size: 0.9rem;
  }
  
  .method-list li {
    font-size: 0.85rem;
  }
}

/* ========================================
   3メソッドセクション（白背景・オレンジ丸・左寄せ）
======================================== */

.method-section {
  padding: 80px 0;
  background: #fff;
}

.method-section .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.method-section .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
}

.method-section .title-emphasis {
  color: #2e5cb8;
}

/* 各メソッドアイテム */
.method-item {
  margin-bottom: 60px;
}

/* ★★★ オレンジ丸アイコン（左寄せ） ★★★ */
.method-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%); /* ★ オレンジ */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 20px 0; /* ★ 左寄せ */
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.method-icon i {
  font-size: 2.2rem;
  color: #fff;
}

/* タイトル（左寄せ） */
.method-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  text-align: left; /* ★ 左寄せ */
  margin: 0 0 15px 0;
  line-height: 1.4;
}

/* 説明文（左寄せ） */
.method-description {
  font-size: 1rem;
  color: #555;
  line-height: 1.8;
  text-align: left; /* ★ 左寄せ */
  margin: 0 0 20px 0;
}

/* チェックリスト */
.method-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.method-list li {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 12px;
  padding-left: 28px;
  position: relative;
  line-height: 1.6;
}

.method-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2ECC71;
  font-weight: 700;
  font-size: 1.1rem;
}

/* ========================================
   問い合わせセクション（青背景・青丸・中央揃え）
======================================== */

.contact-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #2e5cb8 0%, #4a7fd4 100%);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.contact-content {
  position: relative;
  z-index: 1;
}

/* ヘッダー部分 */
.contact-header {
  text-align: center;
  margin-bottom: 60px;
}

.contact-header .section-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #ffffff !important;
  margin-bottom: 20px;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  line-height: 1.3;
  letter-spacing: 0.05em;
}

.contact-header .section-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff !important;
  margin-bottom: 30px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  letter-spacing: 0.03em;
}

.contact-description {
  font-size: 1.15rem;
  color: #ffffff !important;
  line-height: 1.9;
  max-width: 850px;
  margin: 0 auto;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* 問い合わせ方法（2列グリッド） */
.contact-methods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto 50px;
}

.contact-method {
  background: #fff;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center; /* ★ 中央揃え */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-method:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

/* ★★★ 青丸アイコン（中央揃え） ★★★ */
.contact-method .method-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #2e5cb8 0%, #4a7fd4 100%); /* ★ 青 */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px; /* ★ 中央揃え */
  box-shadow: 0 4px 12px rgba(46, 92, 184, 0.3);
}

.contact-method .method-icon i {
  font-size: 2.2rem;
  color: #fff;
}

/* タイトル（中央揃え） */
.contact-method .method-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
  text-align: center; /* ★ 中央揃え */
}

/* 説明文（中央揃え） */
.contact-method .method-description {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 25px;
  text-align: center; /* ★ 中央揃え */
}

/* ボタン */
.method-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #2e5cb8 0%, #4a7fd4 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(46, 92, 184, 0.3);
}

.method-button:hover {
  background: linear-gradient(135deg, #2545a0 0%, #3d6bc6 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(46, 92, 184, 0.4);
}

.method-button i {
  font-size: 1.1rem;
}

/* 注意書き */
.contact-notes {
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
}

.contact-notes p {
  font-size: 1rem;
  color: #ffffff !important;
  line-height: 1.8;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* ========================================
   レスポンシブ対応
======================================== */

/* タブレット（768-1023px） */
@media (max-width: 1023px) {
  /* 3メソッドセクション */
  .method-section {
    padding: 70px 0;
  }
  
  .method-section .section-title {
    font-size: 2.2rem;
  }
  
  .method-item {
    margin-bottom: 50px;
  }
  
  .method-icon {
    width: 75px;
    height: 75px;
    margin-bottom: 18px;
  }
  
  .method-icon i {
    font-size: 2rem;
  }
  
  .method-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
  }
  
  .method-description {
    font-size: 0.98rem;
    margin-bottom: 18px;
  }
  
  /* 問い合わせセクション */
  .contact-header .section-title {
    font-size: 2.3rem;
  }
  
  .contact-header .section-subtitle {
    font-size: 1.3rem;
  }
  
  .contact-methods {
    gap: 30px;
  }
  
  .contact-method {
    padding: 35px 25px;
  }
  
  .contact-method .method-icon {
    width: 70px;
    height: 70px;
  }
  
  .contact-method .method-icon i {
    font-size: 2rem;
  }
}

/* スマホ（767px以下） */
@media (max-width: 767px) {
  /* 3メソッドセクション */
  .method-section {
    padding: 60px 0;
  }
  
  .method-section .section-header {
    margin-bottom: 40px;
  }
  
  .method-section .section-title {
    font-size: 1.8rem;
    margin-bottom: 12px;
  }
  
  .method-item {
    margin-bottom: 40px;
  }
  
  .method-icon {
    width: 70px;
    height: 70px;
    margin: 0 0 15px 0; /* ★ スマホでも左寄せ */
  }
  
  .method-icon i {
    font-size: 1.8rem;
  }
  
  .method-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }
  
  .method-description {
    font-size: 0.95rem;
    margin-bottom: 15px;
  }
  
  .method-list li {
    font-size: 0.9rem;
    margin-bottom: 10px;
    padding-left: 24px;
  }
  
  /* 問い合わせセクション */
  .contact-section {
    padding: 60px 0;
  }
  
  .contact-header {
    margin-bottom: 40px;
  }
  
  .contact-header .section-title {
    font-size: 1.9rem;
    margin-bottom: 15px;
  }
  
  .contact-header .section-subtitle {
    font-size: 1.15rem;
    margin-bottom: 25px;
  }
  
  .contact-description {
    font-size: 1rem;
    line-height: 1.8;
  }
  
  /* スマホは1列表示 */
  .contact-methods {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 40px;
  }
  
  .contact-method {
    padding: 30px 20px;
  }
  
  .contact-method .method-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 20px; /* ★ スマホでも中央揃え */
  }
  
  .contact-method .method-icon i {
    font-size: 1.8rem;
  }
  
  .contact-method .method-title {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }
  
  .contact-method .method-description {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }
  
  .method-button {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
  
  .contact-notes p {
    font-size: 0.95rem;
  }
}

/* --- 「あなたに最適なプラン」セクションのレスポンシブ設定 --- */

/* PCなど広い画面でのスタイル */
.custom-plan-wrapper {
    padding: 0 20px; /* 左右に20pxの余白を設ける */
}

/* スマホなど画面幅が768px以下の時のスタイル */
@media (max-width: 768px) {
    .custom-plan-wrapper {
        /* 左右の余白を小さくして、カードを広く見せる */
        padding: 0 10px; 
    }
}

/* ========================================
   新デザイン フローティングCTA
   ======================================== */
.floating-cta-container {
    position: fixed; bottom: 0; left: 0; width: 100%; background: white;
    padding: 12px; box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.08);
    border-top-left-radius: 16px; border-top-right-radius: 16px;
    z-index: 998; opacity: 0; transform: translateY(100%);
    pointer-events: none; transition: opacity 0.5s ease, transform 0.5s ease;
}
.floating-cta-container.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.floating-cta-button {
    display: flex; align-items: center; width: 100%;
    background-color: #e83349; padding: 8px; border-radius: 12px;
    text-decoration: none; transition: background-color 0.3s;
}
.floating-cta-button:hover { background-color: #d12a3f; }
.cta-badge {
    background-color: white; color: #e83349; font-weight: bold; font-size: 1rem;
    padding: 12px 16px; border-radius: 8px; margin-right: 15px;
}
.cta-text {
    flex-grow: 1; text-align: center; color: white;
    font-weight: bold; font-size: 1.1rem;
}
.cta-arrow {
    background-color: white; color: #e83349; width: 36px; height: 36px;
    min-width: 36px; border-radius: 50%; display: flex;
    align-items: center; justify-content: center; margin-right: 8px; font-size: 0.9rem;
}

/* ========================================
   フローティングCTA（PC表示用のスタイル）
   画面幅が768px以上の場合に適用
   ======================================== */
@media (min-width: 768px) {

    /* CTA全体の白い背景コンテナ */
    .floating-cta-container {
        /* 位置を画面の右下に固定 */
        top: auto;
        bottom: 30px; /* 下からの距離 */
        left: auto;
        right: 30px;  /* 右からの距離 */

        /* PCでは背景や枠線をなくす */
        width: auto; /* 幅を自動調整に */
        background: none;
        box-shadow: none;
        padding: 0;
        border-radius: 0;

        /* PC用のアニメーション初期状態（右からスライドイン） */
        transform: translateX(100%);
    }

    /* 表示される時のスタイル（PC版） */
    .floating-cta-container.is-visible {
        transform: translateX(0);
    }

    /* 赤いボタン本体 */
    .floating-cta-button {
        width: 350px; /* PCでのボタンの幅を固定 */
        border-radius: 12px; /* PCでも角丸を維持 */
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); /* PC用の少し濃い影 */
    }

}

/* ========================================
   Googleマップ口コミセクションのスタイル
   ======================================== */

/* セクション全体の背景色など（既存のスタイルに合わせて調整） */
.reviews-section {
    background: var(--bg-light, #f9fafb);
    padding: var(--section-padding, 80px 0);
}

/* 横スクロールギャラリーのコンテナ */
.google-reviews-gallery {
    display: flex;
    overflow-x: auto; /* 横スクロールを有効に */
    gap: 24px; /* 画像間の隙間 */
    padding: 20px 0;
    scroll-snap-type: x mandatory; /* スクロール時に画像がピタッと止まるようにする */
    -webkit-overflow-scrolling: touch; /* スマホでの滑らかなスクロール */
    cursor: grab; /* PCで掴んで動かせることを示すカーソル */
}

/* スクロールバーの見た目を控えめに（任意） */
.google-reviews-gallery::-webkit-scrollbar {
    height: 8px;
}
.google-reviews-gallery::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

/* 個々の口コミ画像アイテム */
.google-review-item {
    flex: 0 0 85%; /* スマホでは画面幅の85%を占める */
    scroll-snap-align: start; /* スナップ位置を左端に */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
.google-review-item:hover {
    transform: translateY(-5px);
}

/* 口コミ画像 */
.google-review-item img {
    display: block;
    width: 100%;
    height: auto; /* 画像の縦横比を維持 */
}


/* --- PC表示用のスタイル（画面幅768px以上） --- */
@media (min-width: 768px) {
    .google-review-item {
        flex-basis: 350px; /* PCでは画像の幅を350pxに固定 */
    }
}

/* ========================================
   CTAセクションのスタイル
   ======================================== */

/* 背景のコンテナ全体 */
.interviews-cta {
    /* 背景色を強制的に透明にします */
    background-color: transparent !important; 
    padding: 60px 20px;       /* 上下の余白 */
    text-align: center;       /* ボタンを中央揃えに */
}

/* ボタン本体 */
.cta-button.primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #3572E1;
    color: #ffffff;
    padding: 18px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* ホバー時の効果 */
.cta-button.primary:hover {
    background-color: #2A5AB5;
    transform: translateY(-2px);
}

/* 「無料」とテキスト部分をまとめるコンテナ */
.cta-text {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* 「無料」バッジのスタイル */
.cta-badge {
    background-color: #FF6B35;
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
}

/* メインテキストのスタイル */
.cta-main-text {
    /* 親のスタイルを継承 */
}

/* 矢印アイコンのスタイル */
.cta-button.primary .fa-arrow-right {
    font-size: 16px;
}

/* ========================================
   セクションごとの背景色設定
   ======================================== */

/* 「選ばれる理由」セクションのスタイル */
.reasons-section {
    background-color: #ffffff !important; /* 白色の背景を強制適用 */
    padding: 80px 0;
}

/* 「お客様の声」セクションのスタイル */
.reviews-section {
    background-color: #f8f9fa !important; /* 薄いグレーの背景を強制適用 */
    padding: 80px 0;
}

/* ========================================
   CTAボタンのコンテナ
   ======================================== */
.interviews-cta {
    background-color: transparent !important; /* 背景を透明に */
    padding: 60px 20px;
    text-align: center;
}

/* フッターの「Powered by WordPress」を非表示にする */
.site-info {
    display: none;
}

/* ========================================
   お問い合わせフォームデザイン（最終レイアウト修正版）
   ======================================== */

/* ===== サイト全体の基本デザイン ===== */
body {
    background-color: #f4f5f7 !important;
}

/* ===== ページ全体のコンテナを中央に配置【今回の修正の核】 ===== */
.entry-content {
    max-width: 750px !important; /* PC表示でのコンテンツ最大幅 */
    margin: 0 auto !important;   /* コンテナ全体を左右中央に配置 */
}

/* ===== ページタイトル（「お問い合わせ」）のスタイル ===== */
.entry-title {
    font-size: 26px;
    font-weight: 800;
    text-align: center; /* コンテナ内でテキストを中央揃え */
    margin: 40px 0;
    color: #2c3e50;
}

/* ===== フォーム全体のカードデザイン ===== */
.wpforms-container {
    padding: 35px !important;
    border: none !important;
    border-radius: 12px !important;
    background-color: #ffffff !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

/* ===== 各項目のラベルと必須バッジのレイアウト ===== */
.wpforms-field-label {
    display: flex !important;
    align-items: center !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    color: #2c3e50 !important;
    padding: 0 !important;
}
.wpforms-field-label .wpforms-required-label {
    order: 2;
    margin-left: 10px;
    font-size: 0 !important;
    background-color: #f0f0f0 !important;
    padding: 3px 8px !important;
    border-radius: 3px !important;
    line-height: 1.2 !important;
}
.wpforms-field-label .wpforms-required-label::before {
    content: '必須';
    font-size: 11px !important;
    color: #555 !important;
    font-weight: bold !important;
}

/* ===== 入力欄とラベルの間の余白 ===== */
.wpforms-form .wpforms-field-container input,
.wpforms-form .wpforms-field-container textarea {
    margin-top: 8px;
}

/* ===== 入力欄のスタイル ===== */
.wpforms-form input[type="text"],
.wpforms-form input[type="email"],
.wpforms-form input[type="tel"],
.wpforms-form textarea {
    background-color: #fafafa !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    padding: 12px !important;
}

/* ===== 送信ボタン ===== */
.wpforms-form .wpforms-submit {
    width: 100% !important;
    background-color: #3572E1 !important;
    color: #ffffff !important;
    padding: 16px !important;
    font-size: 18px !important;
    font-weight: bold !important;
    border-radius: 8px !important;
}

/* ===== 不要な要素を非表示 ===== */
#footer, .site-info, .wpforms-title {
    display: none !important;
}

/* ========================================
   スマートフォン表示用の最終調整
   ======================================== */
@media (max-width: 768px) {
    /* ページ全体の左右の余白を確保 */
    .entry-content {
        padding-left: 15px;
        padding-right: 15px;
    }
    .entry-title { font-size: 22px; margin: 30px 0; }
    .wpforms-container { padding: 25px !important; }

    /* 「姓」「名」の縦並び */
    .wpforms-field-name-first-last .wpforms-one-half {
        width: 100% !important; margin-left: 0 !important; float: none !important;
    }
    .wpforms-field-name-first-last .wpforms-one-half.wpforms-last {
        margin-top: 10px !important;
    }
    
    /* ズーム防止のためのフォントサイズ指定 */
    .wpforms-form input[type="text"],
    .wpforms-form input[type="email"],
    .wpforms-form input[type="tel"],
    .wpforms-form textarea {
        font-size: 16px !important;
    }
}

/* ========================================
   セクションごとの背景色設定
======================================== */

/* ■ 青背景を適用するセクション */
/* デザインの区切りとして背景色を変更したいセクションを指定します */
.problems-section,
.reasons-section,
.pricing-section,
.contact-section {
    background-color: #f0f6ff; /* 例：薄い青色。お好みの色に変更してください */
}

/* ■ 白背景を適用するセクション */
/* 背景を白にしたいセクションを指定します */
.hero-white,
.methods-section,
.reviews-section,
.faq-section,
.access-section,
.trainer-section { /* 今回追加したトレーナー紹介セクションも白に設定 */
    background-color: #ffffff; /* 白色 */
}


/* ========================================
   トレーナー紹介セクションのスタイル（単体完結版）
======================================== */


/* ▼ コンテンツのレイアウト ▼ */
section#trainer .trainer-profile-grid {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

/* ▼ セクションタイトルの下の余白 ▼ */
section#trainer .section-header {
    margin-bottom: 40px;
}

/* ▼ 左側：トレーナーの写真 ▼ */
section#trainer .trainer-photo {
    flex: 0 0 320px;
}

section#trainer .trainer-photo img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* ▼ 右側：プロフィール詳細 ▼ */
section#trainer .trainer-details {
    flex: 1;
    text-align: left;
}

/* ▼ 各パーツの文字スタイルなど ▼ */
section#trainer .trainer-catchphrase {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.6;
    color: #2c3e50;
    margin-bottom: 15px;
}

section#trainer .trainer-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
    border-bottom: 2px solid #2e5cb8;
    padding-bottom: 10px;
}

section#trainer .trainer-bio p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1em;
}

section#trainer .trainer-credentials {
    margin-top: 30px;
}

section#trainer .credential-block {
    margin-bottom: 25px;
}

section#trainer .credential-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

section#trainer .credential-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

section#trainer .credential-list li {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

section#trainer .credential-list .fa-check {
    color: #2e5cb8;
    margin-right: 10px;
}

/* ========================================
   レスポンシブ対応（スマホ表示用）
======================================== */
@media (max-width: 768px) {
    section#trainer {
        padding: 40px 15px;
    }

    section#trainer .trainer-profile-grid {
        flex-direction: column;
        gap: 30px;
    }

    section#trainer .trainer-photo {
        flex: 0 0 auto;
        width: 80%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    section#trainer .trainer-catchphrase {
        font-size: 1.3rem;
    }

    section#trainer .trainer-name {
        font-size: 1.2rem;
    }
}

.wp-block-button__link {
  background: linear-gradient(45deg, #005c97, #363795); /* 青系のグラデーション */
  border: none; /* 元の枠線を消す */
  transition: all 0.3s ease; /* アニメーションを滑らかに */
  box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.2); /* 立体感を出す影 */
}

.wp-block-button__link:hover {
  transform: translateY(-2px); /* マウスを乗せると少し浮き上がる */
  box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.3); /* 影を濃くする */
}

