@charset "UTF-8";

/* ========================================
   Base & Reset
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #003b5c; /* 深いネイビーブルー */
    line-height: 1.6;
    background-color: #f4fbff;
    /* ドット背景の再現 */
    background-image: radial-gradient(#d5eaf5 1.5px, transparent 1.5px);
    background-size: 22px 22px;
    background-position: 0 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

main {
    display: block; /* 修正：Flexboxを解除してデフォルトに戻す */
    width: 100%;
    overflow-x: hidden; /* スマホ時の横揺れ防止 */
}

/* ========================================
   Layout (PC First)
======================================== */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.container {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto; /* 修正：これを入れることで全セクションの中身が中央に揃います */
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 10;
}

/* ========================================
   Hero Content (Left Side)
======================================== */
.hero-content {
    flex: 0 1 55%;
    text-align: center; /* 全体的に中央揃え */
    padding-right: 20px;
}

.sub-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 2;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.sp-br {
    display: none; /* PCでは非表示 */
}

/* マーカーとキラキラ装飾 */
.highlight-wrapper {
    position: relative;
    display: inline-block;
    padding: 0 5px;
}

.highlight {
    background: linear-gradient(transparent 60%, #ffeba3 60%);
    position: relative;
    z-index: 1;
}

/* キラキラマークの簡易再現 */
.sparkle {
    position: absolute;
    top: -15px;
    right: -20px;
    width: 30px;
    height: 30px;
    background-image: radial-gradient(circle, #ffcc00 10%, transparent 20%), 
                      radial-gradient(circle, #ffcc00 10%, transparent 20%), 
                      radial-gradient(circle, #ffcc00 10%, transparent 20%);
    background-position: 0 10px, 10px 0, 20px 10px;
    background-size: 10px 10px;
    background-repeat: no-repeat;
    transform: rotate(15deg);
}

.main-title {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 40px;
    letter-spacing: 0.05em;
}

/* ========================================
   Benefit Cards
======================================== */
/* ========================================
   Benefit Cards (5項目対応)
======================================== */
/* ========================================
   Benefit Cards (5項目対応・中央揃え修正)
======================================== */
.benefits {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* 折り返しを許可 */
    gap: 12px;       /* カード同士の間隔を少し広げて見やすく */
    margin-bottom: 40px;
    width: 100%;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #d5ecf7;
    border-radius: 12px;
    padding: 10px 2px; /* 左右の余白を極限まで削って文字スペースを確保 */
    width: 150px;      /* 幅を5pxだけ広げて余裕を持たせる */
    min-height: 90px;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    text-align: center;
}

.card-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: #0076a8;
    display: block;
    margin-bottom: 8px; /* ラベルと値の間の余白 */
    line-height: 1.3;
}

.card-value {
    color: #0076a8;
    font-weight: 900;
    font-size: 0.9rem;      /* ほんの少しだけ小さくして1行に収まりやすく */
    line-height: 1;        /* 行間を詰め、上下中央を際立たせる */
    margin: 0;
    white-space: nowrap;    /* ★重要：絶対に改行させない設定 */
}

/* ========================================
   スマホ表示の調整
======================================== */
@media screen and (max-width: 768px) {
    .benefits {
        gap: 8px;
    }

    .benefit-card {
        /* スマホでも3つ並びを維持しつつ、文字がはみ出さないよう調整 */
        width: calc((100% - 16px) / 3);
        min-height: 80px;
        padding: 8px 1px;
    }
    
    .card-label {
        font-size: 0.65rem;
        margin-bottom: 4px;
    }
    
    .card-value {
        font-size: 0.8rem; /* スマホではさらに少し小さく */
    }
}

.number-value .large-num {
    font-size: 1.6rem;
    letter-spacing: -0.05em;
}

.number-value .small-text {
    font-size: 0.8rem;
}

.text-value {
    font-size: 1.2rem;
    margin-top: 5px;
}

/* ========================================
   CTA Button
======================================== */
.btn-wrapper {
    display: flex;
    justify-content: center;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f05a46 0%, #e51d45 100%);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.4rem;
    padding: 15px 50px;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(229, 29, 69, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    letter-spacing: 0.1em;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(229, 29, 69, 0.4);
}

.arrow-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-left: 20px;
    position: relative;
}

.arrow-circle::after {
    content: '';
    width: 6px;
    height: 6px;
    border-top: 2px solid #e51d45;
    border-right: 2px solid #e51d45;
    transform: rotate(45deg);
    margin-right: 2px;
}

/* ========================================
   Hero Image Area (Right Side)
======================================== */
.hero-image-area {
    flex: 0 1 45%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-mask {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1 / 1.1;
    overflow: hidden;
    /* 画像の複雑な切り抜き形状の再現 */
    border-radius: 50% 50% 40% 60% / 60% 40% 60% 40%;
    position: relative;
    z-index: 2;
    background-color: #e0f0fa;
}

.image-mask img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

/* 後ろの青い図形 */
.blob-blue {
    position: absolute;
    bottom: -5%;
    left: -10%;
    width: 180px;
    height: 180px;
    background-color: #2ea1e8;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    z-index: 1;
}

/* ========================================
   Background Decorations (CSSで簡易再現)
======================================== */
.bg-decoration {
    position: absolute;
    z-index: 1;
    opacity: 0.7;
}

/* 左下の斜め線模様 */
.bottom-left {
    bottom: 20px;
    left: -20px;
    width: 150px;
    height: 50px;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        #aee489 10px,
        #aee489 12px,
        transparent 12px,
        transparent 20px,
        #2ea1e8 20px,
        #2ea1e8 22px
    );
}

/* ========================================
   Problems & Solution Section
======================================== */
.problems-solution-section {
    padding: 80px 20px;
    background-color: #f4fbff;
    position: relative;
    z-index: 1;
}

.problems-solution-section .container {
    flex-direction: column;
}

/* ========================================
   Problems Section
======================================== */
.problems-section {
    width: 100%;
    margin-bottom: 60px;
    position: relative;
}

/* 薄い青色の台形背景（CSSのみで再現） */
.problems-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 120%;
    background-color: #e3f2fd;
    border-radius: 30px;
    z-index: -1;
    clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0076a8;
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.4;
}

.problems-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.problem-bubbles-top,
.problem-bubbles-bottom {
    width: 100%;
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.problem-bubble {
    background-color: #fff;
    border-radius: 20px;
    padding: 20px 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
    width: 45%;
    position: relative;
}

/* 吹き出しのしっぽ */
.problem-bubble::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
}

.problem-bubbles-top .problem-bubble::after {
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 15px 15px 0 15px;
    border-color: #fff transparent transparent transparent;
}

.problem-bubbles-bottom .problem-bubble::after {
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 15px 15px 15px;
    border-color: transparent transparent #fff transparent;
}

.problem-bubble .highlight-wrapper {
    line-height: 1.6;
}

/* 悩むイラスト（PC版のみ） */
.problem-images {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 20px 0;
}

.problem-images img {
    width: 120px;
    height: auto;
}

/* ========================================
   Arrows Area
======================================== */
.arrows-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 60px;
}

.down-arrow {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 20px 20px 0 20px;
    border-color: #2ea1e8 transparent transparent transparent;
}

/* ========================================
   Solution Section
======================================== */
.solution-section {
    width: 100%;
}

.solution-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.solution-image {
    width: 150px;
    height: auto;
}

.solution-text {
    text-align: center;
}

.school-logo {
    margin-bottom: 20px;
}

.school-logo img {
    max-width: 150px;
    height: auto;
}

.solve-message {
    font-size: 1.6rem;
    font-weight: 700;
}

.highlight-red {
    background-color: #e51d45;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
}

/* ========================================
   PC-only / SP-only
======================================== */
.pc-only {
    display: flex;
}

.sp-only {
    display: none;
}

/* ========================================
   Responsive (Smartphone)
======================================== */
@media screen and (max-width: 768px) {
    /* ヒーローセクションSP版 */
    .hero-section {
        padding: 40px 15px;
        align-items: flex-start;
    }

    .hero-section .container {
        flex-direction: column; /* 画像を上に配置 */
    }

    .hero-image-area {
        width: 100%;
        margin-bottom: 30px;
        order: -1; /* テキストより上に配置 */
    }

    .image-mask {
        max-width: 90%;
        aspect-ratio: 1 / 1;
        /* スマホ時は丸みを少し変更（画像の通り） */
        border-radius: 50% 50% 30% 70% / 60% 50% 50% 40%;
    }

    .blob-blue {
        bottom: 5%;
        left: 0;
        width: 120px;
        height: 120px;
    }

    .hero-content {
        width: 100%;
        padding-right: 0;
    }

    .sp-br {
        display: block; /* スマホのみ改行 */
    }

    .sub-title {
        font-size: 1rem;
        line-height: 1.8;
        margin-bottom: 15px;
    }

    .sparkle {
        top: -10px;
        right: -15px;
        transform: scale(0.8) rotate(15deg);
    }

    .main-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .benefits {
        gap: 8px;
        margin-bottom: 30px;
    }

    .benefit-card {
        width: calc(33.33% - 6px); /* 3等分に収める */
        padding: 12px 5px;
    }

    .card-label {
        font-size: 0.65rem;
    }

    .number-value .large-num {
        font-size: 1.2rem;
    }

    .text-value {
        font-size: 0.95rem;
    }

    .cta-button {
        width: 100%; /* スマホでは横幅いっぱいに */
        font-size: 1.15rem;
        padding: 15px 20px;
    }

    /* 悩みと解決SP版 */
    .problems-solution-section {
        padding: 60px 15px;
    }

    .problems-section::before {
        clip-path: polygon(0 10%, 100% 0, 100% 90%, 0 100%); /* スマホ用の形に調整 */
        height: 110%;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 40px;
    }

    .problems-container {
        gap: 20px;
    }

    .problem-bubbles-top,
    .problem-bubbles-bottom {
        flex-direction: column;
        gap: 15px;
    }

    .problem-bubble {
        width: 100%;
        padding: 15px 20px;
    }

    .pc-only {
        display: none !important;
    }

    .sp-only {
        display: block;
    }

    /* 吹き出しのしっぽをスマホ版に調整 */
    .problem-bubbles-top .problem-bubble::after,
    .problem-bubbles-bottom .problem-bubble:nth-child(1)::after {
        display: none;
    }
    
    .problem-bubbles-bottom .problem-bubble:nth-child(2)::after {
        top: -15px;
        border-width: 0 15px 15px 15px;
        border-color: transparent transparent #fff transparent;
    }

    .sp-problem-img {
        width: 80px;
        height: auto;
        margin-top: 20px;
        margin-left: auto;
        margin-right: auto;
    }

    /* 解決パートSP版 */
    .solution-container {
        flex-direction: column;
        gap: 30px;
        position: relative;
        padding-bottom: 80px;
    }

    .solve-message {
        font-size: 1.4rem;
    }

    .solution-image.sp-only {
        width: 100px;
        position: absolute;
        bottom: 0;
    }

    .solution-image.male.sp-only { left: 0; }
    .solution-image.female.sp-only { right: 0; }

    /* Support Section (SP版) */
    .support-section {
        padding: 60px 20px;
    }

    .support-section .section-title {
        font-size: 26px;
    }

    .support-section .section-intro {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .support-list {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 40px;
    }

    .support-item {
        padding: 30px;
    }

    .support-icon {
        width: 100px;
        height: 100px;
        margin-bottom: 20px;
    }

    .support-icon .img{
        height: 100%;
    }

    .support-title {
        font-size: 18px;
    }

    .support-section .btn-cv {
        font-size: 18px;
        padding: 12px 30px;
        width: 100%;
    }
}

/* ========================================
   Reasons Section (選ばれる4つの理由)
======================================== */
.reasons-section {
    padding: 60px 20px;
    background-color: #f4fbff; /* 全体の背景色 */
}

.reasons-card {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 80px 40px 60px;
    position: relative;
    width: 100%;
    
    /* 方眼紙（グリッド）背景の再現 */
    background-image: 
        linear-gradient(#f0f8ff 1px, transparent 1px),
        linear-gradient(90deg, #f0f8ff 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: center top;
}

/* タイトルバッジ */
.reasons-badge {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #0076a8; /* 青色 */
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 15px 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 118, 168, 0.3);
    white-space: nowrap;
}

/* バッジ上のキラキラ風の線（///） */
.reasons-badge::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 15px;
    background-image: 
        linear-gradient(70deg, transparent 40%, #0076a8 40%, #0076a8 60%, transparent 60%),
        linear-gradient(90deg, transparent 40%, #0076a8 40%, #0076a8 60%, transparent 60%),
        linear-gradient(110deg, transparent 40%, #0076a8 40%, #0076a8 60%, transparent 60%);
    background-size: 10px 100%;
    background-position: 0 0, 10px 0, 20px 0;
    background-repeat: no-repeat;
}

/* リストレイアウト */
.reasons-list {
    display: flex;
    flex-direction: column;
    gap: 60px; /* 各項目の余白 */
}

.reason-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* PC版ジグザグ配置のキモ */
.reason-item.reverse {
    flex-direction: row-reverse;
}

/* テキストエリア */
.reason-text-area {
    flex: 1;
}

.reason-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.reason-num {
    color: #4ab4f0; /* 水色 */
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
}

.reason-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #003b5c;
    line-height: 1.4;
}

.reason-desc {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #333;
}

/* 黄色マーカー */
.marker-yellow {
    background: linear-gradient(transparent 60%, #ffeba3 60%);
    font-weight: 700;
}

/* 画像エリアと装飾 */
.reason-image-area {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.reason-img {
    max-width: 80%;
    position: relative;
    z-index: 2;
}

/* 斜めのグラデーションバー */
.gradient-bar {
    position: absolute;
    bottom: 10%;
    right: 10%;
    width: 150px;
    height: 20px;
    background: linear-gradient(90deg, #0076a8 0%, #aee489 100%);
    border-radius: 10px;
    transform: rotate(-30deg);
    z-index: 1;
}

.reason-item.reverse .gradient-bar {
    left: 10%;
    right: auto;
}

/* ========================================
   Skills Section (身につくスキル)
======================================== */
.skills-section {
    padding: 80px 20px 100px;
    background-color: #fdf3a9; /* 柔らかなイエロー背景 */
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* 親要素（.container）のFlexbox設定を解除し、グリッドに変更 */
.skills-section .container {
    display: grid;
    grid-template-columns: 1fr; /* 1列のグリッドにする */
    justify-items: center; /* 中身を中央揃えにする */
}

/* セクションタイトルを中央揃えにし、1行を占有させる */
.skills-section .section-title {
    grid-column: 1 / -1; /* グリッドの全列を占有させる */
    text-align: center;
    font-size: 2.4rem;
    font-weight: 700;
    color: #003b5c;
    margin-bottom: 50px;
    width: 100%; /* 横幅を100%にする */
}

/* 上部：4つのスキル特徴カード */
.skill-cards-grid {
    grid-column: 1 / -1; /* グリッドの全列を占有させる */
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* PCは2列 */
    gap: 25px;
    margin-bottom: 50px;
    width: 100%; /* 横幅を100%にする */
    max-width: 1100px; /* 最大幅を指定 */
}

.skill-card {
    background-color: #ffffff;
    border-radius: 60px; /* ピル型（カプセル型） */
    padding: 20px 40px;
    display: flex;
    align-items: center;
    gap: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.skill-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.skill-text {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.6;
    color: #003b5c;
    /* 改行を許可する設定 */
    white-space: normal; 
}

/* 見出し（黄色マーカー部分）に改行を適用 */
.skill-text .marker-yellow {
    display: inline-block; /* inline-blockに変更 */
}

/* 下部：4つのカテゴリ別カード */
.category-cards-grid {
    grid-column: 1 / -1; /* グリッドの全列を占有させる */
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* PCは2列 */
    gap: 40px 30px; /* 縦の余白を少し広めに（リボンのため） */
    width: 100%; /* 横幅を100%にする */
    max-width: 1100px; /* 最大幅を指定 */
}

.category-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 60px 40px 40px; /* 上部にリボン用の余白を持たせる */
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

/* リボン装飾の構造 */
.category-header {
    position: absolute;
    top: 15px;
    left: 0;
    display: flex;
}

/* リボンの左側の縦線 */
.category-header .vertical-line {
    width: 6px;
    height: 50px; /* リボンに合わせて少し短く */
    background-color: #003b5c;
}

/* リボンの旗部分 */
.category-ribbon {
    background-color: #003b5c;
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem; /* コンパクトに */
    height: 35px; /* コンパクトに */
    line-height: 35px; /* コンパクトに */
    padding: 0 30px 0 15px;
    /* 右側を三角に切り抜く */
    clip-path: polygon(0 0, 100% 0, calc(100% - 15px) 50%, 100% 100%, 0 100%);
    position: relative;
    left: -1px; /* 隙間を埋める */
}

/* カテゴリカードの中身 */
.category-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.category-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.group-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #003b5c;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 黄色いドット */
.group-label::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background-color: #ffcc00;
    border-radius: 50%;
}

.group-items {
    font-size: 0.95rem;
    font-weight: 700;
    color: #436e85; /* 少し薄めのネイビー */
    line-height: 1.8;
}

/* ツール・スキルのラベルがないリスト用 */
.category-content.single-list {
    padding-top: 10px;
}

/* 下部の白いカーブ装飾 */
.bottom-curve {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #ffffff;
    /* 右側が少し高くなる非対称なカーブ */
    border-radius: 100% 20% 0 0 / 100% 100% 0 0;
}

/* ========================================
   Responsive (Smartphone) - スマホ版対応
======================================== */
@media screen and (max-width: 768px) {
    .skills-section {
        padding: 50px 15px 80px;
    }

    .skills-section .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .skill-cards-grid {
        grid-template-columns: 1fr; /* スマホは1列 */
        gap: 15px;
        margin-bottom: 40px;
    }

    .skill-card {
        flex-direction: column; /* アイコン上、テキスト下 */
        text-align: center; /* 中央揃え */
        padding: 25px 20px;
        border-radius: 20px; /* 角丸を少し抑える */
        gap: 15px;
    }

    .skill-text {
        font-size: 0.95rem;
    }

    .category-cards-grid {
        grid-template-columns: 1fr; /* スマホは1列 */
        gap: 30px;
    }

    .category-card {
        padding: 60px 20px 25px;
        border-radius: 12px;
    }

    .category-ribbon {
        font-size: 1rem;
        height: 35px;
        line-height: 35px;
    }

    .category-header .vertical-line {
        height: 45px;
    }

    .group-items {
        font-size: 0.9rem;
    }

    .bottom-curve {
        height: 40px;
        border-radius: 50% 50% 0 0 / 100% 100% 0 0; /* スマホは左右対称のカーブ */
    }
}

/* ========================================
   Comparison Section (他社比較) - PC版修正
======================================== */
.comparison-section {
    padding: 80px 20px;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* 親要素のFlex設定を「縦並び・中央」に固定 */
.comparison-section .container {
    display: flex;
    flex-direction: column; /* 縦に並べる */
    align-items: center;    /* 中央に寄せる */
}

/* 見出しを中央に配置 */
.comparison-section .section-title {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 700;
    color: #003b5c;
    margin-bottom: 40px;
    width: 100%;
}

/* 導入テキストも中央 */
.comparison-intro {
    text-align: center;
    margin-bottom: 50px;
    line-height: 2;
    max-width: 800px;
}

.comparison-intro p {
    margin-bottom: 15px;
}

/* 比較表グリッドラッパー */
.table-wrapper {
    width: 100%;
    max-width: 1000px;
    position: relative;
}

.compare-grid {
    display: grid;
    grid-template-columns: 140px 1.2fr 1fr 1fr;
    column-gap: 15px;
    row-gap: 0;
}

/* セル共通設定 */
.grid-cell {
    padding: 20px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #ffffff;
    line-height: 1.6;
}

/* 左端の見出し列の隙間を作る工夫 */
.grid-cell.col1 {
    padding: 5px 0;
    background: transparent;
}
.grid-cell.col1.empty { padding: 0; }

.col1-inner {
    background-color: #e6f1f8;
    color: #003b5c;
    font-weight: 700;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

/* 「当社」列の強調（青枠） */
.grid-cell.col2 {
    border-left: 3px solid #0076a8;
    border-right: 3px solid #0076a8;
}
.grid-cell.col2.header {
    background-color: #0076a8;
    color: #ffffff;
    border-top: 3px solid #0076a8;
    border-radius: 10px 10px 0 0;
}
.grid-cell.col2.bottom {
    border-bottom: 3px solid #0076a8;
    border-radius: 0 0 10px 10px;
}

/* 他社列の境界線 */
.grid-cell.col3, .grid-cell.col4 {
    border-left: 1px solid #eef1f5;
    border-right: 1px solid #eef1f5;
}
.grid-cell.col3.header, .grid-cell.col4.header {
    background-color: #dce3e9;
    color: #556b7a;
    border-top: 1px solid #eef1f5;
    border-radius: 10px 10px 0 0;
}
.grid-cell.col3.bottom, .grid-cell.col4.bottom {
    border-bottom: 1px solid #eef1f5;
    border-radius: 0 0 10px 10px;
}

/* セル間の下線 */
.grid-cell:not(.header):not(.bottom):not(.col1) {
    border-bottom: 1px solid #eef1f5;
}

/* ========================================
   Comparison Section (SP版)
======================================== */
@media screen and (max-width: 768px) {
    .comparison-section {
        padding: 60px 15px;
    }

    .comparison-section .container {
        align-items: flex-start; /* スマホでは左寄せ（スクロールがあるため） */
    }

    .comparison-intro {
        text-align: left;
    }

    .table-wrapper {
        overflow-x: auto; /* 横スクロールを許可 */
        padding-bottom: 20px;
    }

    .compare-grid {
        width: 750px; /* 横幅を固定してスクロールさせる */
        grid-template-columns: 100px 180px 160px 160px;
    }
}

/* ========================================
   Price Section (料金)
======================================== */
.price-section {
    padding: 80px 20px;
    background-color: #ffffff;
}

/* 親要素のFlex設定を「縦並び・中央」に固定 */
.price-section .container {
    display: flex;
    flex-direction: column; /* 縦に並べる */
    align-items: center;    /* 中央に寄せる */
}

.price-section .section-title {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 900;
    color: #003b5c;
    margin-bottom: 40px;
    width: 100%; /* 幅をいっぱいにして中央揃えを確実に */
}

.price-subtitle-area {
    text-align: center;
    margin-bottom: 50px;
    width: 100%;
}

.price-subtitle-top {
    font-size: 1.2rem;
    font-weight: 700;
    color: #003b5c;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.price-subtitle-bottom {
    font-size: 1.4rem;
    font-weight: 700;
    color: #003b5c;
}

.large-price {
    display: inline-block;
}

.large-price .price-num {
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: -0.05em;
}

/* 料金表（CSS Grid） */
.price-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "h1 h2"
        "b1 b2";
    gap: 10px 25px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto 30px;
}

.p-head-1 { grid-area: h1; }
.p-head-2 { grid-area: h2; }
.p-body-1 { grid-area: b1; }
.p-body-2 { grid-area: b2; }

.p-head {
    background-color: #e5f0f9;
    color: #003b5c;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    padding: 25px;
    border-radius: 8px;
}

.p-body {
    background-color: #ffffff;
    color: #003b5c;
    font-weight: 900;
    font-size: 1.8rem;
    text-align: center;
    padding: 30px;
    border: 2px solid #f4f7fa;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.p-body .small-yen {
    font-size: 1.2rem;
}

.p-body .small-tax {
    font-size: 0.9rem;
    font-weight: 500;
    color: #556b7a;
    margin-left: 5px;
}

.price-notes {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    font-size: 0.85rem;
    color: #556b7a;
    line-height: 1.8;
    text-align: left; /* 注釈は左揃えが一般的ですがお好みで */
}

/* ========================================
   Flow Section (学習の流れ)
======================================== */
.flow-section {
    padding: 80px 20px;
    background-color: #f4fbff; /* 薄い青色背景 */
}

.flow-section .container {
    display: flex;
    flex-direction: column; /* 縦に並べる */
    align-items: center;    /* 中央に寄せる */
}

.flow-section .section-title {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 900;
    color: #003b5c;
    margin-bottom: 50px;
}

/* 方眼紙背景のラッパー */
.flow-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 20px;
    padding: 60px 50px;
    box-shadow: 0 10px 30px rgba(0, 118, 168, 0.05);
    
    /* 方眼紙模様 */
    background-image: 
        linear-gradient(#f0f8ff 1px, transparent 1px),
        linear-gradient(90deg, #f0f8ff 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: center top;
}

/* 各ステップカード */
.flow-step {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2; /* 矢印の上に配置 */
}

.step-left {
    flex: 0 0 220px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.step-num {
    color: #4ab4f0;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

.step-title {
    color: #003b5c;
    font-size: 1.2rem;
    font-weight: 900;
}

.step-right {
    flex: 1;
    color: #333;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.8;
}

/* 繋ぎの矢印（下向きの黄色い三角形） */
.flow-arrow {
    width: 0;
    height: 0;
    border-left: 18px solid transparent;
    border-right: 18px solid transparent;
    border-top: 25px solid #fce883; /* 黄色 */
    margin: -5px auto; /* マイナスマージンでカードと少し重なるように */
    position: relative;
    z-index: 1;
}

/* 最後のステップの注釈 */
.flow-note {
    max-width: 900px;
    margin: 20px auto 0;
    font-size: 0.85rem;
    color: #556b7a;
    text-align: left;
}


/* ========================================
   Support Section (各メニューの料金)
======================================== */
.support-section {
    background-color: #f0faff;
    padding: 80px 20px;
}

.support-section .container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* リスト全体のスタイル */
.support-list {
    display: flex;
    flex-wrap: wrap; /* 折り返しを許可 */
    gap: 30px;       /* アイテム間の余白 */
    margin-bottom: 60px;
    width: 100%;
}

/* PC：3列（100%から隙間分を引いて3分割） */
.support-item {
    flex: 0 1 calc((100% - 60px) / 3); 
    background-color: #ffffff;
    border-radius: 12px;
    padding: 40px 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.support-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #e0f2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.support-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #003b5c;
}

.support-desc {
    color: #2b8cb8;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 15px;
}

.support-text {
    font-size: 14px;
    color: #556b7a;
    line-height: 1.6;
    text-align: left; /* 説明文は左寄せの方が見やすいです */
}

/* ========================================
   レスポンシブ（タブレット・スマホ）
======================================== */
@media screen and (max-width: 1024px) {
    /* タブレット：2列 */
    .support-item {
        flex: 0 1 calc((100% - 30px) / 2);
    }
}

@media screen and (max-width: 768px) {
    /* スマホ：1列 */
    .support-list {
        gap: 20px;
    }

    .support-item {
        flex: 0 1 100%;
        padding: 30px 20px;
    }
    
    .support-section .section-title {
        font-size: 24px;
    }
}



/* ========================================
   Signup Flow Section (申し込み後の流れ)
======================================== */
.signup-flow-section {
    padding: 100px 20px;
    background-color: #ffffff;
}

.signup-flow-section .container {
    display: flex;
    flex-direction: column; /* 縦に並べる */
    align-items: center;    /* 中央に寄せる */
}
.signup-flow-section .section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #003b5c;
    margin-bottom: 60px;
}

.signup-flow-list {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

/* 各ステップ */
.signup-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* アイコンとバッジのエリア */
.signup-icon-area {
    position: relative;
    margin-bottom: 25px;
}

/* 丸いアイコン枠 */
.signup-circle {
    width: 200px;
    height: 200px;
    background-color: #d8edf8; /* 薄い水色 */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.signup-circle img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* STEPバッジ (リボン型) */
.step-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

/* バッジを吊るす縦線 */
.step-badge::before {
    content: '';
    width: 4px;
    height: 30px;
    background-color: #003b5c;
    position: absolute;
    top: 0;
    left: 10px; /* 左側に少し寄せる */
    z-index: 1;
}

/* バッジ本体（旗型） */
.badge-text {
    background-color: #003b5c;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 8px 25px 8px 15px;
    margin-top: 20px; /* 縦線の分下げる */
    position: relative;
    z-index: 2;
    /* 右側を三角に切り抜く */
    clip-path: polygon(0 0, 100% 0, calc(100% - 15px) 50%, 100% 100%, 0 100%);
}

.badge-num {
    font-size: 1.2rem;
    margin-left: 5px;
}

/* テキストエリア */
.signup-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #003b5c;
    margin-bottom: 15px;
}

.signup-desc {
    font-size: 0.85rem;
    color: #556b7a;
    line-height: 1.8;
}

/* 矢印（PCは右向き） */
.signup-arrow {
    margin-top: 80px; /* アイコンの高さに合わせる */
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 20px solid #fce883; /* 黄色 */
}

/* PCのみ改行 */
.pc-only {
    display: block;
}


/* ========================================
   FAQ Section (よくあるご質問)
======================================== */
.faq-section {
    padding: 80px 20px 100px;
    background-color: #f4fbff; /* 薄い水色背景 */
}

.faq-section .container {
    display: flex;
    flex-direction: column; /* 縦に並べる */
    align-items: center;    /* 中央に寄せる */
}

.faq-section .section-title {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 700;
    color: #003b5c;
    margin-bottom: 50px;
}

.faq-list {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background-color: #ffffff;
    border: 3px solid #0076a8;
    border-radius: 10px;
    overflow: hidden;
}

/* 質問エリア (Q) */
.faq-q {
    background-color: #0076a8;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.q-icon {
    background-color: #ffffff;
    color: #0076a8;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 900;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.q-text {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
}

/* 回答エリア (A) */
.faq-a {
    padding: 30px;
}

.faq-a p {
    color: #556b7a;
    font-size: 0.95rem;
    line-height: 1.8;
}



/* ========================================
   Voice Section (受講生の声)
======================================== */
.voice-section {
    padding: 80px 20px 100px;
    background-color: #ffffff;
    
    /* Reasonsセクションから方眼紙背景を再利用 */
    background-image: 
        linear-gradient(#f0f8ff 1px, transparent 1px),
        linear-gradient(90deg, #f0f8ff 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: center top;
}

.voice-section .container {
    display: flex;
    flex-direction: column; /* 縦に並べる */
    align-items: center;    /* 中央に寄せる */
}

.voice-section .section-title {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 700;
    color: #003b5c;
    margin-bottom: 60px;
}

.voice-list {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.voice-card {
    flex: 1;
    background-color: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 118, 168, 0.05);
    display: flex;
    flex-direction: column;
}

.voice-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.voice-card .image-mask {
    width: 80px;
    height: 80px;
    border-radius: 50%; /* 正円に切り抜き */
    overflow: hidden;
    flex-shrink: 0;
}

.voice-card .image-mask img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.voice-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.voice-attribute {
    font-size: 0.8rem;
    color: #0076a8;
    font-weight: 700;
}

.voice-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #003b5c;
}

.voice-content {
    flex: 1;
}

.voice-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #003b5c;
    line-height: 1.4;
    margin-bottom: 20px;
}

.voice-text {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #333;
}


/* ========================================
   Final CV Section (最後のCV)
======================================= */
/* ヒーローセクションの背景CSSを再利用するため、ここでは独自の調整のみ記述 */
.final-cv-section {
    padding: 100px 20px;
    min-height: auto; /* ヒーローセクションの100vhを解除 */
    background-position: center top; /* ドット背景の調整 */
}

.final-cv-section .container {
    flex-direction: column; /* ヒーローセクションの横並びを解除 */
    align-items: center;
    gap: 40px;
}

.final-message-area {
    text-align: center;
}

.final-message-area .school-logo {
    margin-bottom: 15px;
}

.final-message-area .school-logo img {
    max-width: 120px;
}

.final-cv-section .annotation {
    color: #cc5b68;
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
    margin-top: -20px; /* CVボタンとの隙間調整 */
}


/* ========================================
   Contact Section (お問い合わせ・お申し込み)
======================================== */
.contact-section {
    padding: 80px 20px 100px;
    background: linear-gradient(135deg, #4ab4f0 0%, #0076a8 100%); /* 青のグラデーション背景 */
}

.contact-section .container {
    display: flex;
    flex-direction: column; /* 縦に並べる */
    align-items: center;    /* 中央に寄せる */
}

/* フォーム全体を囲む白いカード */
.form-container {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 60px 80px;
    max-width: 1000px;
    box-shadow: 0 10px 40px rgba(0, 59, 92, 0.2);
}

.contact-section .section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #003b5c;
    margin-bottom: 50px;
}

/* ========================================
   LINEエリア
======================================== */
.line-area {
    text-align: center;
    margin-bottom: 60px;
}

.qr-code {
    margin-bottom: 15px;
}

.line-text {
    color: #33cc66;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 20px;
}

.btn-line {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #00c300;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    padding: 12px 40px;
    border-radius: 50px;
    transition: opacity 0.3s;
}

.btn-line:hover {
    opacity: 0.8;
}

.arrow-circle-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-left: 15px;
    position: relative;
}

.arrow-circle-small::after {
    content: '';
    width: 5px;
    height: 5px;
    border-top: 2px solid #00c300;
    border-right: 2px solid #00c300;
    transform: rotate(45deg);
    margin-right: 2px;
}

/* ========================================
   フォーム要素
======================================== */
.form-row {
    display: flex;
    margin-bottom: 30px;
    align-items: flex-start;
}

.form-label {
    flex: 0 0 250px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    color: #003b5c;
    padding-top: 15px; /* インプットボックスと高さを合わせる */
}

/* テキストエリアのラベルだけ上揃えにする */
.textarea-label {
    align-items: flex-start;
}

.required {
    background-color: #e62143;
    color: #ffffff;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 4px;
}

.form-input {
    flex: 1;
}

/* テキスト・メール入力枠 */
.form-input input[type="text"],
.form-input input[type="email"],
.form-input textarea {
    width: 100%;
    padding: 15px 20px;
    border: none;
    background-color: #eaf3f8; /* 薄い水色 */
    border-radius: 4px;
    font-size: 1rem;
    color: #333;
    font-family: inherit;
}

.form-input input::placeholder {
    color: #99aab5;
}

/* ========================================
   ラジオボタンのカスタムデザイン
======================================== */
.type-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.radio-label {
    flex: 1;
    position: relative;
    cursor: pointer;
}

/* 本来のラジオボタンは隠す */
.radio-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* カスタムボタンの見た目（通常時：白背景） */
.radio-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 15px;
    border: 1px solid #003b5c;
    border-radius: 40px;
    color: #003b5c;
    font-weight: 700;
    transition: all 0.3s;
}

/* 選択された状態（青背景＋チェックマーク） */
.radio-label input[type="radio"]:checked ~ .radio-btn {
    background-color: #003b5c;
    color: #ffffff;
}

.radio-label input[type="radio"]:checked ~ .radio-btn::before {
    content: '✓';
    margin-right: 8px;
}

.input-note {
    width: 100%;
    font-size: 0.8rem;
    color: #556b7a;
    margin-top: 5px;
}

/* ========================================
   reCAPTCHA ダミー
======================================== */
.recaptcha-dummy {
    background-color: #f9f9f9;
    border: 1px solid #d3d3d3;
    border-radius: 3px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 300px;
    margin-bottom: 30px;
    margin-left: 250px; /* PC時はラベルの幅だけ右にずらす */
}

.recaptcha-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #333;
}

.recaptcha-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.6rem;
    color: #888;
}

.recaptcha-logo img {
    width: 30px;
    margin-bottom: 3px;
}

/* ========================================
   注意書きリスト
======================================== */
.form-notes {
    list-style: none;
    font-size: 0.85rem;
    color: #556b7a;
    line-height: 1.8;
    margin-bottom: 50px;
}

.form-notes li {
    margin-bottom: 10px;
}

.form-notes a {
    color: #0076a8;
    text-decoration: underline;
}

/* ========================================
   送信ボタン
======================================== */
.submit-wrapper {
    text-align: center;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #ff5f45 0%, #e62143 100%);
    color: white;
    font-weight: 700;
    font-size: 1.4rem;
    padding: 15px 60px;
    border: none;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(230, 33, 67, 0.4);
    cursor: pointer;
    transition: transform 0.3s;
}

.btn-submit:hover {
    transform: scale(1.05);
}

.arrow-circle-small.red::after {
    border-color: #e62143;
}

/* ========================================
   Footer Section (フッター)
======================================== */
.site-footer {
    background-color: #eaf3f8; /* 薄い水色 */
    padding: 30px 20px;
    border-top: 1px solid #8ce; /* 少し濃い水色のボーダー */
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 15px;
}

.footer-links a {
    color: #2b8cb8;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover {
    text-decoration: underline;
}

.separator {
    color: #2b8cb8;
    font-size: 0.9rem;
}


/* ========================================
   【追加分】スマホ用レスポンシブ補完
   PC版で横並びの要素をスマホ時に縦並び等に調整
======================================== */
@media screen and (max-width: 768px) {
    /* 選ばれる4つの理由 */
    .reasons-card {
        padding: 60px 20px 40px; /* 余白をスマホサイズに */
    }
    .reason-item, .reason-item.reverse {
        flex-direction: column; /* 縦並び */
        gap: 20px;
        text-align: center;
    }
    .reason-heading {
        justify-content: center;
    }
    .gradient-bar {
        display: none; /* スマホでは斜めの装飾バーを非表示（はみ出し防止） */
    }

    /* 料金表 */
    .price-grid {
        grid-template-columns: 1fr; /* 1列に変更 */
        grid-template-areas: 
            "h1" 
            "b1" 
            "h2" 
            "b2";
    }

    /* 学習の流れ */
    .flow-step {
        flex-direction: column; /* 縦並び */
        text-align: center;
        gap: 20px;
        padding: 20px;
    }
    .step-left {
        flex: 0 0 auto;
    }

    /* 申し込み後の流れ */
    .signup-flow-list {
        flex-direction: column; /* 縦並び */
        align-items: center;
        gap: 0;
    }
    .signup-arrow {
        margin: 20px 0;
        width: 0;
        height: 0;
        /* 矢印を下向きに変更 */
        border-left: 15px solid transparent;
        border-right: 15px solid transparent;
        border-top: 20px solid #fce883; 
        border-bottom: none;
    }

    /* 受講生の声 */
    .voice-list {
        flex-direction: column; /* 縦並び */
    }

    /* お問い合わせフォーム */
    .form-container {
        padding: 40px 20px;
    }
    .form-row {
        flex-direction: column; /* ラベルと入力欄を縦並び */
        gap: 10px;
    }
    .form-label {
        flex: 0 0 auto;
        width: 100%;
        padding-top: 0;
    }
    .recaptcha-dummy {
        margin-left: 0; /* PC用の左余白をリセット */
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    /* フッター */
    .footer-links {
        flex-wrap: wrap; /* 折り返しを許可 */
    }
    .footer-links .sp-break {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }
}