/* ==========================================================================
   モダンCSSリセット ＆ トレンド変数設定
   ========================================================================== */
:root {
    --slate-50: #f8fafc;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --amber-600: #d97706;
    --emerald-600: #16a34a;
    --emerald-700: #15803d;
    --red-500: #ef4444;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans JP", sans-serif;
}

body {
    background-color: #f1f5f9;
    color: var(--slate-800);
    line-height: 1.8;
}

.container {
    max-width: 1000px; /* 全体LP幅 */
    margin: 0 auto;
    background-color: #ffffff;
    box-shadow: 0 10px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
	box-sizing: border-box; /* 幅の計算を狂わせないための安心設定 */
}

/* 画像共通設定 */
.responsive-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

/* ==========================================================================
   各セクションデザイン
   ========================================================================== */

/* ファーストビュー */
.hero {
    background: linear-gradient(180deg, var(--slate-900) 0%, #1e3a8a 100%);
    color: #ffffff;
    padding: 50px 24px;
    text-align: center;
}

.hero-badge {
    background-color: var(--red-500);
    color: #ffffff;
    display: inline-block;
    padding: 5px 14px;
    font-weight: 700;
    font-size: 13px;
    border-radius: 9999px;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.hero-title {
    font-size: 26px;
    line-height: 1.4;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-title span {
    color: #f59e0b;
}

.hero-sub {
    font-size: 15px;
    color: #cbd5e1;
    margin-bottom: 30px;
}

.hero-img-wrap {
    margin-top: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.3);
}

/* 5大ターゲットマルチタブ */
.tab-section {
    background-color: var(--slate-50);
    padding: 30px 20px;
    border-bottom: 1px solid #e2e8f0;
}

.tab-heading {
    font-size: 14px;
    text-align: center;
    color: #475569;
    margin-bottom: 15px;
    font-weight: 700;
}

.tab-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

/* 特殊：最後のボタンだけ横幅いっぱいに広げる */
.tab-grid .tab-btn:last-child {
    grid-column: span 2;
}

.tab-btn {
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 12px 10px;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    font-weight: 700;
    font-size: 13px;
    color: var(--slate-800);
    transition: all 0.2s ease;
}

.tab-btn .btn-sub {
    font-size: 10px;
    font-weight: 500;
    color: #64748b;
    display: block;
    margin-top: 2px;
}

.tab-btn.active {
    background-color: var(--blue-600);
    color: #ffffff;
    border-color: var(--blue-600);
    box-shadow: 0 4px 6px -1px rgb(37 99 235 / 0.2);
}

.tab-btn.active .btn-sub {
    color: #bfdbfe;
}

/* タブコンテンツ可変エリア */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.pain-section {
    padding: 40px 24px;
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.target-title {
    font-size: 20px;
    color: var(--blue-600);
    margin-bottom: 20px;
    font-weight: 800;
    border-left: 5px solid var(--blue-600);
    padding-left: 10px;
}

.pain-list {
    list-style: none;
    margin-bottom: 25px;
}

.pain-item {
    background-color: #fff5f5;
    border-left: 4px solid var(--red-500);
    padding: 16px;
    margin-bottom: 12px;
    border-radius: 0 8px 8px 0;
    font-size: 15px;
    font-weight: 500;
}

/* シミュレーションBOX（ビジュアル強化） */
.simulation-box {
    background-color: var(--slate-50);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
}

.simulation-box h4 {
    font-size: 15px;
    color: var(--slate-900);
    margin-bottom: 15px;
    font-weight: 700;
}

.mini-img {
    height: auto;  /* 自動計算にすることで、画像の全体が縦長にしっかり表示されます */
    max-height: none; /* 念のため上限の制限も解除します */
    margin-bottom: 15px;
}

.sim-text {
    font-size: 14px;
    color: #475569;
}

/* 真実セクション・実績カード */
.value-section {
    padding: 50px 24px;
    background-color: #fffbeb;
    border-bottom: 1px solid #e2e8f0;
}

.section-title {
    font-size: 22px;
    text-align: center;
    color: var(--slate-900);
    margin-bottom: 30px;
    font-weight: 800;
    line-height: 1.4;
}

.value-lead-box {
    text-align: center;
    font-size: 16px;
    margin-bottom: 30px;
    color: #475569;
}

.grid-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modern-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05);
    border: 1px solid #fde68a;
}

.card-icon {
    font-size: 24px;
    margin-bottom: 10px;
}

.modern-card h4 {
    font-size: 17px;
    color: var(--slate-900);
    margin-bottom: 8px;
    font-weight: 700;
}

.modern-card p {
    font-size: 14px;
    color: #475569;
}

/* プロフィール */
.profile-section {
    padding: 50px 24px;
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.profile-card {
    background-color: var(--slate-50);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 10px rgb(0 0 0 / 0.1);
    flex-shrink: 0;        /* 周りの要素（Flexbox等）に潰されるのを防ぐ */
    aspect-ratio: 1 / 1;   /* 縦横比を絶対に1:1の正方形に固定する */
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-tag {
    font-size: 11px;
    background-color: var(--blue-600);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
}

.profile-info h4 {
    font-size: 18px;
    margin: 8px 0;
}

.profile-desc {
    font-size: 14px;
    color: #475569;
    text-align: left;
}

/* CTAエリア（超強力デザイン） */
.cta-area {
    background-color: var(--slate-900);
    padding: 60px 24px;
    color: #9f42e1;
}

.cta-inner {
    background: linear-gradient(145deg, #9de9a7 0%, #dee35f 100%);
    border: 2px solid #5d9af0;
    border-radius: 16px;
    padding: 40px 20px;
    text-align: center;
}

.cta-alert {
    color: #f50b0b;
    font-weight: 700;
    font-size: 16px;
    display: inline-block;
    margin-bottom: 15px;
}

.cta-heading {
    font-size: 30px;
    line-height: 1.4;
    margin-bottom: 10px;
}

.cta-sub {
    font-size: 14px;
    color: #141c29;
    margin-bottom: 25px;
}

/* 価格表示 */
.price-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.old-price {
    font-size: 14px;
    text-decoration: line-through;
    color: #64748b;
}

.arrow {
    color: #64748b;
}

.new-price {
    font-size: 22px;
    font-weight: 800;
    color: var(--red-500);
    background-color: #fef2f2;
    padding: 4px 12px;
    border-radius: 6px;
}

/* ボタン */
.cta-button-trigger {
    display: block;
    background: linear-gradient(180deg, #22c55e 0%, var(--emerald-700) 100%);
    color: #ffffff;
    text-decoration: none;
    padding: 20px;
    border-radius: 50px;
    font-weight: 800;
    box-shadow: 0 10px 20px -5px rgb(22 163 74 / 0.5);
    transition: transform 0.2s ease;
}

.cta-button-trigger:hover {
    transform: scale(1.02);
}

.cta-button-trigger .btn-main {
    font-size: 28px;
    display: block;
}

.cta-button-trigger .btn-sub-text {
    font-size: 12px;
    color: #bbf7d0;
    font-weight: 400;
    display: block;
    margin-top: 2px;
}

.cta-footer-note {
    font-size: 12px;
    color: #2b3c53;
    margin-top: 15px;
}

/* 公式LINEとメール境界線（明るい背景に合わせて微調整） */
.cta-divider {
    text-align: center;
    margin: 35px 0 25px;
    position: relative;
    border-top: 1px dashed #475569;  /* 線を少し見やすく */
}

.cta-divider span {
    background-color: #c4db2f;       /* 枠内背景と被らない */
    padding: 0 15px;
    color: #384ef3;
    font-size: 16px;
    position: relative;
    top: -10px;
    display: inline-block;
}

/* メール講座ボックス（明るい白ベースのデザイン） */
.email-magazine-box {
    background-color: #f8fafc;  /* 枠内明るいオフホワイト */
    border: 1px solid #e2e8f0;  /* 上品で薄いグレーの枠線 */
    border-radius: 12px;
    padding: 24px 16px;
    text-align: left;
    box-shadow: 0 4px 15px rgb(0 0 0 / 0.2); /* 浮き出るような影 */
}

/* 枠が明るくいため中の文字色を濃い色に反転 */
.magazine-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;   /* 読みやすい濃いネイビー */
    margin-bottom: 6px;
    text-align: center;
}

.magazine-sub {
    font-size: 13px;
    color: #475569;   /* 読みやすいグレー */
    margin-bottom: 20px;
    text-align: center;
}

/* フォーム入力欄の配置設定 */
.form-input-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

/* フォーム入力欄のデザイン */
.magazine-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #cbd5e1;   /* 白背景に馴染む薄いグレーの枠線 */
    border-radius: 8px;
    background-color: #ffffff;   /* 背景色を白 */
    color: #0f172a;              /* 入力文字は濃いネイビー */
    font-size: 14px;
    box-sizing: border-box;
}

/* フォーム入力前の見本文字（プレースホルダー）の色調整 */
.magazine-input::placeholder {
    color: #94a3b8;        /* 白背景で見やすい明るめのグレー */
}

/* フォーム入力欄をクリック（フォーカス）したときの動き */
.magazine-input:focus {
    outline: none;
    border-color: #3b82f6;       /* 入力中は爽やかな青枠で強調 */
    box-shadow: 0 0 0 3px rgb(59 130 246 / 0.15);
}

/* フォーム登録ボタン（2行対応・デザイン強化版） */
.magazine-submit-btn {
    display: block;
    width: 100%;
    background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
    color: #ffffff;
    border: none;
    padding: 16px 20px;            /* 上下の余白を調整 */
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgb(29 78 216 / 0.3);
    transition: transform 0.2s ease;
    text-align: center;            /* 文字を中央揃えに */
}

.magazine-submit-btn:hover {
    transform: scale(1.01);
}

/* ボタン内のメインテキスト（1行目） */
.magazine-submit-btn .btn-main-text {
    font-size: 28px;
    display: block;
}

/* ボタン内のサブテキスト（2行目） */
.magazine-submit-btn .btn-sub-text {
    font-size: 11px;       /* 1行目より少し小さく */
    color: #bfdbfe;      /* 青色のボタンに馴染む薄い水色 */
    font-weight: 400;
    display: block;
    margin-top: 3px;       /* 1行目との間に少し隙間を空ける */
}

/* 追伸 */
.ps-footer {
    padding: 40px 24px;
    background-color: var(--slate-50);

    /* フッター全体の最大幅を制限し画面中央寄せ */
    max-width: 100%; /* コンテンツ幅に合わせる */
    margin-left: auto;
    margin-right: auto;
    text-align: center; /* リンクや注記テキストを中央揃え */
    box-sizing: border-box;
}

.ps-box {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 24px;
    background-color: #ffffff;

    /* 追伸枠が広がりすぎないよう小さめにして中央寄せ */
    max-width: 900px; 
    margin-left: auto;
    margin-right: auto;
    text-align: left; /* 枠内の文章は読みやすいように左揃え */
    box-sizing: border-box;
    margin-bottom: 24px;
}

.ps-title {
    color: var(--red-500);
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 12px;
}

.ps-text {
    font-size: 14px;
    color: #475569;
}

/* =================================================================
   タブレット以上のPC表示調整（一応レスポンシブの安心設計）
   ================================================================= */
@media (min-width: 600px) {
    .tab-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .tab-grid .tab-btn:last-child {
        grid-column: span 4;
    }
    .profile-card {
        flex-direction: row;
        text-align: left;
    }
}
/* =================================================================
   PC表示でのフォームとボタンの横幅制限
   ================================================================= */
@media (min-width: 768px) {
    /* フォームを包むボックス最大幅を600pxに制限して中央寄せ */
    .email-magazine-box {
        max-width: 600px; /* ←横幅調整ならここを変える */
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }

    /* 名前とメールアドレス入力欄を囲むグループ */
    .form-input-group {
        display: flex;
        flex-direction: column; /* 縦並び（横並びは row に変更） */
        gap: 12px; /* 入力欄どうしの隙間 */
        margin-bottom: 16px; /* ボタンとの隙間 */
		max-width: 250px; /* 入力欄の幅 */
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }

    .magazine-input {
        width: 100% !important;
        box-sizing: border-box;
    }

    /* 送信ボタンの横幅を100%（＝600pxいっぱい）にして中央に収める */
    .magazine-submit-btn {
        width: 100% !important;
        box-sizing: border-box;
        display: block;
        margin: 0 auto;
    }
    /* =================================================================
       LINE登録ボタンの横幅制限と中央寄せ
       ================================================================= */
    .cta-button-trigger {
        max-width: 600px; /* フォームの幅と一致さる */
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        box-sizing: border-box;
    }

    /*  .cta-button-trigger 自体がaタグやbuttonタグなどの場合は
       以下の一行を追加してブロック要素化すると中央に寄る */
    display: block; 

}
