body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 21px;
}

p {
    font-size: 2.0rem;
    line-height: 1.8;
}

.ms-hero-badge {
    font-size: 1.1rem !important;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-weight: 700;
    margin-bottom: 2rem;
}

.ms-zero-price {
    font-weight: 900;
    color: #fbbf24;
}

.ms-hero-title {
    font-size: 3.0rem !important;
    /* 2.8 + 0.2 */
    line-height: 1.2;
    font-weight: 900;
    color: white;
    margin-bottom: 1.5rem;
}

.ms-hero-subtitle {
    font-size: 2.2rem !important;
    /* 2.0 + 0.2 */
    display: block;
    color: #FFFFFF;
    font-weight: 700;
}

.ms-hero-price {
    font-size: 4.0rem !important;
    color: #ece10a;
    font-weight: 900;
}

.ms-hero-desc {
    font-size: 1.7rem !important;
    /* 1.5 + 0.2 */
    line-height: 1.9;
    color: #FFFFFF;
    font-weight: 500;
    margin-bottom: 2.5rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.ms-hero-stat {
    font-size: 1.7rem !important;
    /* 1.5 + 0.2 */
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #FFFFFF;
}

.ms-eyebrow {
    font-size: 1.1rem !important;
    /* 0.9 + 0.2 */
    display: block;
    color: #cc0010;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.ms-heading {
    font-size: 2.2rem !important;
    /* 2.0 + 0.2 */
    line-height: 1.3;
    font-weight: 900;
    color: #660008;
    margin-bottom: 1rem;
}

.ms-heading-accent {
    color: #b3000e;
    border-bottom: 4px solid #fbbf24;
}

.ms-lead {
    font-size: 1.4rem !important;
    /* 1.2 + 0.2 */
    line-height: 1.9;
    color: #6b7280;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

/* ---- カード・ステップ内テキスト ---- */
.ms-card-title {
    font-size: 1.45rem !important;
    /* 1.25 + 0.2 */
    line-height: 1.4;
    font-weight: 900;
    color: #660008;
    margin-bottom: 0.75rem;
}

.ms-card-body {
    font-size: 1.3rem !important;
    /* 1.3 + 0.2 */
    line-height: 1.85;
    margin-bottom: 1rem;
}

.ms-card-body strong {
    color: #374151;
}

.ms-card-badge {
    font-size: 1.05rem !important;
    /* 0.85 + 0.2 */
    display: inline-block;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
    color: white;
}

.ms-badge-red {
    background: #b3000e;
}

.ms-badge-green {
    background: #16a34a;
}

.ms-badge-purple {
    background: #9333ea;
}

.ms-badge-amber {
    background: #d97706;
}

.ms-badge-blue {
    background: #2563eb;
}

.ms-badge-indigo {
    background: #4f46e5;
}

.ms-em-price {
    color: #99000c;
    font-weight: 700;
    font-size: 1.25em;
    /* 1.05 + 0.2 */
}

/* ---- 料金セクション ---- */
.ms-price-number {
    font-size: 4.2rem !important;
    /* 4.0 + 0.2 */
    font-weight: 900;
    color: #99000c;
}

.ms-price-unit {
    font-size: 1.7rem !important;
    /* 1.5 + 0.2 */
    font-weight: 700;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.ms-price-note {
    font-size: 1.2rem !important;
    /* 1.0 + 0.2 */
    color: #6b7280;
}

.ms-price-item {
    font-size: 1.25rem !important;
    /* 1.05 + 0.2 */
    color: #374151;
}

/* ---- ボタン ---- */
.ms-btn-text {
    font-size: 1.4rem !important;
    /* 1.2 + 0.2 */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    text-align: center;
    background: #b3000e;
    color: white;
    font-weight: 900;
    padding: 1.1rem 1rem;
    min-height: 56px;
    border-radius: 1rem;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    text-decoration: none;
    cursor: pointer;
    border: none;
}

.ms-btn-text:hover {
    background: #99000c;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
    color: white;
}

/* ---- FAQ ---- */
.ms-faq-q {
    font-size: 1.3rem !important;
    /* 1.1 + 0.2 */
    font-weight: 700;
    color: #80000a;
    padding-right: 1rem;
    line-height: 1.5;
}

.ms-faq-a {
    font-size: 1.25rem !important;
    /* 1.05 + 0.2 */
    line-height: 1.9;
    color: #4b5563;
}

.ms-faq-a strong {
    color: #99000c;
}

/* ---- フォーム ---- */
.ms-form-label {
    font-size: 1.2rem !important;
    /* 1.0 + 0.2 */
    display: block;
    color: #80000a;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.ms-form-hint {
    font-size: 1.075rem !important;
    /* 0.875 + 0.2 */
    display: block;
    text-align: center;
    color: #9ca3af;
    margin-top: 0.75rem;
    line-height: 1.6;
}

/* フォーム入力要素のベーススタイル（タッチしやすく） */
input[type="text"],
input[type="email"],
textarea,
select {
    font-size: 1.2rem !important;
    /* 1.0 + 0.2 */
    min-height: 52px;
    line-height: 1.5;
}

textarea {
    min-height: auto;
}

/* スケジュールチェックボックスのタッチ対象拡大 */
.faq-toggle {
    min-height: 60px;
}

/* ---- レスポンシブ ≤1024px ---- */
@media (max-width: 1024px) {
    p {
        font-size: 1.95rem;
        /* 1.75 + 0.2 */
    }

    body {
        font-size: 20px;
        /* 17px + 0.2rem相当(3px) */
    }

    .ms-hero-title {
        font-size: 2.6rem !important;
        /* 2.4 + 0.2 */
    }

    .ms-hero-subtitle {
        font-size: 1.95rem !important;
        /* 1.75 + 0.2 */
    }

    .ms-hero-price {
        font-size: 3.4rem !important;
        /* 3.2 + 0.2 */
    }

    .ms-heading {
        font-size: 2.075rem !important;
        /* 1.875 + 0.2 */
    }

    .ms-price-number {
        font-size: 3.7rem !important;
        /* 3.5 + 0.2 */
    }

    .hero-gradient {
        padding-top: 5rem;
        padding-bottom: 2rem;
    }
}

/* ---- レスポンシブ ≤768px ---- */
@media (max-width: 768px) {
    p {
        font-size: 1.9rem;
        /* 1.7 + 0.2 */
    }

    body {
        font-size: 19px;
        /* 16px + 0.2rem相当(3px) */
    }

    .ms-hero-title {
        font-size: 2.2rem !important;
        /* 2.0 + 0.2 */
    }

    .ms-hero-subtitle {
        font-size: 1.7rem !important;
        /* 1.5 + 0.2 */
    }

    .ms-hero-price {
        font-size: 3.0rem !important;
        /* 2.8 + 0.2 */
    }

    .ms-hero-desc {
        font-size: 1.35rem !important;
        /* 1.15 + 0.2 */
        line-height: 1.8;
    }

    .ms-hero-stat {
        font-size: 1.2rem !important;
        /* 1.0 + 0.2 */
    }

    .ms-heading {
        font-size: 1.95rem !important;
        /* 1.75 + 0.2 */
    }

    .ms-lead {
        font-size: 1.25rem !important;
        /* 1.05 + 0.2 */
    }

    .ms-card-title {
        font-size: 1.4rem !important;
        /* 1.2 + 0.2 */
    }

    .ms-card-body {
        font-size: 1.2rem !important;
        /* 1.0 + 0.2 */
    }

    .ms-faq-q {
        font-size: 1.25rem !important;
        /* 1.05 + 0.2 */
    }

    .ms-faq-a {
        font-size: 1.2rem !important;
        /* 1.0 + 0.2 */
    }

    .ms-price-number {
        font-size: 3.2rem !important;
        /* 3.0 + 0.2 */
    }

    /* FAQ トグルのタッチ対象 */
    .faq-toggle {
        padding: 1.25rem 1.5rem;
    }

    /* カードの余白 */
    .reason-card,
    .price-card-glow {
        margin-bottom: 1rem;
    }

    /* FAQ アイテムのスペーシング調整 */
    .faq-item {
        margin-bottom: 0.75rem;
    }
}

/* ---- レスポンシブ ≤480px ---- */
@media (max-width: 480px) {
    body {
        font-size: 19px;
        /* 16px + 0.2rem相当(3px) */
    }

    p {
        font-size: 1.85rem;
        /* 1.65 + 0.2 */
        line-height: 1.75;
    }

    .hero-gradient {
        padding-top: 4rem;
        padding-bottom: 1.5rem;
    }

    .ms-hero-title {
        font-size: 1.95rem !important;
        /* 1.75 + 0.2 */
    }

    .ms-hero-subtitle {
        font-size: 1.45rem !important;
        /* 1.25 + 0.2 */
    }

    .ms-hero-price {
        font-size: 2.6rem !important;
        /* 2.4 + 0.2 */
    }

    .ms-hero-desc {
        font-size: 1.25rem !important;
        /* 1.05 + 0.2 */
        line-height: 1.8;
    }

    .ms-hero-stat {
        font-size: 1.15rem !important;
        /* 0.95 + 0.2 */
    }

    .ms-heading {
        font-size: 1.7rem !important;
        /* 1.5 + 0.2 */
    }

    .ms-lead {
        font-size: 1.2rem !important;
        /* 1.0 + 0.2 */
    }

    .ms-card-title {
        font-size: 1.25rem !important;
        /* 1.15 + 0.2 */
    }

    .ms-card-body {
        font-size: 1.2rem !important;
        /* 1.0 + 0.2 */
    }

    .ms-faq-q {
        font-size: 1.25rem !important;
        /* 1.05 + 0.2 */
    }

    .ms-faq-a {
        font-size: 1.2rem !important;
        /* 1.0 + 0.2 */
    }

    .ms-form-label {
        font-size: 1.2rem !important;
        /* 1.0 + 0.2 */
    }

    .ms-form-hint {
        font-size: 1.075rem !important;
        /* 0.875 + 0.2 */
    }

    .ms-price-number {
        font-size: 2.7rem !important;
        /* 2.5 + 0.2 */
    }

    .ms-btn-text {
        font-size: 1.3rem !important;
        /* 1.1 + 0.2 */
        min-height: 56px;
    }

    /* カードの余白調整 */
    .reason-card,
    .price-card-glow {
        padding: 1.5rem;
    }

    /* スケジュールグリッドを1カラムに */
    #apply .grid-cols-2 {
        grid-template-columns: 1fr !important;
    }

    /* スケジュールラベルのタッチ対象拡大 */
    #apply .grid-cols-2 label {
        padding: 0.875rem 1rem;
        min-height: 52px;
    }

    /* フォームインプットのタッチ対象拡大 */
    input[type="text"],
    input[type="email"],
    textarea,
    select {
        font-size: 1.2rem !important;
        /* 1.0 + 0.2 */
        min-height: 56px;
        padding-top: 0.875rem;
        padding-bottom: 0.875rem;
    }

    textarea {
        min-height: auto;
    }

    /* FAQ トグルのタッチ対象 */
    .faq-toggle {
        padding: 1rem 1.25rem;
        min-height: 64px;
    }

    /* チェックボックスを大きく */
    input[type="checkbox"] {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }
}

/* ---- 超小型画面 ≤360px ---- */
@media (max-width: 360px) {
    .ms-hero-title {
        font-size: 1.75rem !important;
        /* 1.55 + 0.2 */
    }

    .ms-hero-price {
        font-size: 2.3rem !important;
        /* 2.1 + 0.2 */
    }

    .ms-heading {
        font-size: 1.55rem !important;
        /* 1.35 + 0.2 */
    }
}

.hero-gradient {
    background: #e60012;
}

.wave-divider {
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    display: block;
}

/* ステップコネクター */
.step-connector::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -2.5rem;
    width: 2rem;
    height: 2px;
    background: linear-gradient(90deg, #e60012, #ff9999);
    transform: translateY(-50%);
}

@media (max-width: 767px) {
    .step-connector::after {
        display: none;
    }
}

/* FAQ アコーディオン */
.faq-answer {
    display: none;
}

.faq-item.open .faq-answer {
    display: block;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-icon {
    transition: transform 0.3s ease;
}

/* スクロールアニメーション */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* トランジション遅延クラス */
.transition-delay-1 {
    transition-delay: 0.1s;
}

.transition-delay-2 {
    transition-delay: 0.15s;
}

.transition-delay-3 {
    transition-delay: 0.2s;
}

.transition-delay-4 {
    transition-delay: 0.3s;
}

/* ホバーカード */
.reason-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(230, 0, 18, 0.15);
}

.reason-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 料金カードのグロー */
.price-card-glow {
    box-shadow: 0 0 40px rgba(230, 0, 18, 0.2);
}

.price-card-glow:hover {
    box-shadow: 0 0 60px rgba(230, 0, 18, 0.35);
}

.price-card-glow {
    transition: box-shadow 0.3s ease;
}

/* ステップ番号 */
.step-number {
    background: linear-gradient(135deg, #e60012, #ff6666);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* フォームフォーカス */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #e60012;
    box-shadow: 0 0 0 3px rgba(230, 0, 18, 0.15);
}

/* コンポーネントスタイル */

/* 理由カード */
.reason-card-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .reason-card-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

.reason-card-full {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #f1f5f9;
}

.reason-icon-wrapper {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.reason-icon-navy {
    background: #fff5f5;
}

.reason-icon-green {
    background: #f0fdf4;
}

.reason-icon-purple {
    background: #faf5ff;
}

.reason-badge {
    display: inline-block;
    font-size: 1.05rem;
    /* 0.85 + 0.2 */
    font-weight: bold;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
    color: white;
}

.reason-badge-navy {
    background: #b3000e;
}

.reason-badge-green {
    background: #16a34a;
}

.reason-badge-purple {
    background: #9333ea;
}

.reason-title {
    font-size: 1.45rem;
    /* 1.25 + 0.2 */
    font-weight: 900;
    color: #0c0a09;
    margin-bottom: 0.75rem;
}

.reason-description {
    color: #6b7280;
    font-size: 1.2rem;
    /* 1.0 + 0.2 */
    line-height: 1.7;
    margin-bottom: 1rem;
}

.reason-highlight-box {
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    font-size: 1.2rem;
    /* 1.0 + 0.2 */
    font-weight: bold;
}

.highlight-box-navy {
    background: #fff5f5;
    color: #b3000e;
}

.highlight-box-green {
    background: #f0fdf4;
    color: #15803d;
}

.highlight-box-purple {
    background: #faf5ff;
    color: #7e22ce;
}

/* ステップカード */
.step-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    position: relative;
}

@media (min-width: 768px) {
    .step-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

.step-card {
    text-align: center;
}

.step-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.step-icon-circle {
    width: 5rem;
    height: 5rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.step-icon-navy {
    background: #b3000e;
}

.step-icon-green {
    background: #16a34a;
}

.step-icon-purple {
    background: #9333ea;
}

.step-number-badge {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    width: 2rem;
    height: 2rem;
    background: #fbbf24;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: #99000c;
    font-size: 1.075rem;
    /* 0.875 + 0.2 */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.step-title {
    font-size: 1.35rem;
    /* 1.15 + 0.2 */
    font-weight: 900;
    color: #0c0a09;
    margin-bottom: 0.75rem;
}

.step-description {
    color: #6b7280;
    font-size: 1.2rem;
    /* 1.0 + 0.2 */
    line-height: 1.7;
}

/* 価格カード */
.price-card-container {
    max-width: 28rem;
    margin: 0 auto;
}

.price-card-inner {
    background: white;
    border-radius: 1.5rem;
    padding: 2.5rem;
    border: 2px solid #ffc2c2;
    position: relative;
    overflow: hidden;
}

.price-badge {
    position: absolute;
    top: 0;
    right: 0;
}

.price-badge-content {
    background: #fbbf24;
    color: #99000c;
    font-weight: 900;
    font-size: 1.05rem;
    /* 0.85 + 0.2 */
    padding: 0.5rem 1rem;
    border-bottom-left-radius: 1rem;
}

.price-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 8rem;
    height: 8rem;
    background: #fff5f5;
    border-radius: 9999px;
    transform: translate(-4rem, -4rem);
    pointer-events: none;
}

.price-amount-container {
    text-align: center;
    margin-bottom: 2rem;
}

.price-amount {
    font-size: 3.95rem;
    /* 3.75 + 0.2 */
    font-weight: 900;
    color: #99000c;
}

.price-currency {
    font-size: 1.7rem;
    /* 1.5 + 0.2 */
    font-weight: bold;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.price-feature-list {
    margin-bottom: 2rem;
}

.price-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.price-feature-text {
    color: #374151;
    font-size: 1.2rem;
    /* 1.0 + 0.2 */
}

/* ボタンスタイル */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #fbbf24;
    color: #99000c;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 900;
    font-size: 1.325rem;
    /* 1.125 + 0.2 */
    min-height: 52px;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    text-decoration: none;
}

.btn-primary:hover {
    background: #fcd34d;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 1.5rem;
    border-radius: 9999px;
    font-weight: 500;
    min-height: 52px;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-secondary:hover {
    color: white;
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-apply {
    display: block;
    width: 100%;
    text-align: center;
    background: #b3000e;
    color: white;
    font-weight: 900;
    padding: 1rem;
    min-height: 56px;
    border-radius: 1rem;
    font-size: 1.325rem;
    /* 1.125 + 0.2 */
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    text-decoration: none;
}

.btn-apply:hover {
    background: #99000c;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
}

/* =============================================
   Tailwind の text-sm / text-xs 上書き（高齢者向け文字拡大）
   =============================================
   Tailwind CDN の .text-sm = 0.875rem (14px)、.text-xs = 0.75rem (12px) は
   高齢者には小さすぎるため、各セクション内のものを拡大する。
*/

/* 理由カードのリスト・ハイライトボックス */
#reasons .text-sm {
    font-size: 1.1375rem;
    /* 0.9375 + 0.2 */
}

/* カリキュラム紹介のリスト */
#curriculum .text-sm,
#conversation-lesson .text-sm,
#reading-course .text-sm {
    font-size: 1.1375rem;
    /* 0.9375 + 0.2 */
}

/* 音読レッスンの語彙タグ */
#reading-course .text-xs {
    font-size: 1.0125rem;
    /* 0.8125 + 0.2 */
}

/* 料金セクションのハイライトボックス */
#pricing .text-sm {
    font-size: 1.1375rem;
    /* 0.9375 + 0.2 */
}

/* カリキュラムセクションの課名テキスト */
#reading-course .text-gray-400 {
    font-size: 1.075rem;
    /* 0.875 + 0.2 */
}

/* 申込フォームのスケジュールラベル */
#apply .text-sm {
    font-size: 1.1375rem;
    /* 0.9375 + 0.2 */
}

/* モバイルでのさらなる拡大 */
@media (max-width: 768px) {

    #reasons .text-sm,
    #curriculum .text-sm,
    #conversation-lesson .text-sm,
    #reading-course .text-sm,
    #pricing .text-sm,
    #apply .text-sm {
        font-size: 1.2rem;
        /* 1.0 + 0.2 */
    }

    #reading-course .text-xs {
        font-size: 1.075rem;
        /* 0.875 + 0.2 */
    }
}