/* --- 基本設定 --- */
:root {
    --primary-color: #0b2c58; /* 信頼感のあるネイビー */
    --accent-color: #c9a063;  /* 高級感のあるゴールド/ベージュ */
    --text-color: #333;
    --white: #fff;
    --header-height: 70px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* --- ヘッダー（グラデーション変更版） --- */
.header {
    width: 100%;
    height: var(--header-height);
    
    /* ▼▼▼ ここを変更（白背景からグラデーションへ） ▼▼▼ */
    /* 左から右へ、濃いネイビーから少し明るいネイビーへのグラデーション */
    background: linear-gradient(90deg, #0b2c58 0%, #5c98e6 100%);
    
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

/* ロゴ */
.logo-img {
    height: 50px;
    width: auto;
    display: block;
}

/* ナビゲーション（PC用） */
.nav-list {
    display: flex;
    flex-direction: row; /* 横並びにする */
    align-items: center; /* 上下中央揃え */
    gap: 30px; /* メニュー間の余白 */
    margin: 0;
    padding: 0;
}

.nav-item a {
    font-weight: bold;
    font-size: 16px;
    transition: color 0.3s;
    
    /* ▼▼▼ ここを変更（背景が濃いので文字は白に） ▼▼▼ */
    color: var(--white);
}

.nav-item a:hover {
    /* ホバー時はアクセントカラー（ゴールド系）に */
    color: var(--accent-color);
}

/* お問い合わせボタン */
.nav-btn {
    /* ボタンを目立たせるため、背景をゴールド、文字を白または黒に */
    background-color: var(--accent-color);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 4px;
}

.nav-btn:hover {
    background-color: #e0b06b; /* 少し明るく */
}

/* ハンバーガーボタン（PCでは非表示） */
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 101;
}

.hamburger-btn span {
    display: block;
    width: 100%;
    height: 2px;
    
    /* ▼▼▼ ここを変更（背景が濃いので線は白に） ▼▼▼ */
    background-color: var(--white);
    
    position: absolute;
    left: 0;
    transition: all 0.3s;
}

.hamburger-btn span:nth-child(1) { top: 0; }
.hamburger-btn span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger-btn span:nth-child(3) { bottom: 0; }

/* --- レスポンシブ対応（スマホ表示） --- */
@media screen and (max-width: 768px) {
    /* ハンバーガーボタンの表示設定 */
    .hamburger-btn {
        display: block;
        background-color: transparent;
    }
    .hamburger-btn span {
        background-color: var(--white);
    }

    /* ナビゲーション（スマホメニュー本体） */
    .header-nav {
        position: fixed;
        top: var(--header-height);
        right: -100%; /* 隠れている位置 */
        
        /* ▼▼▼ 変更：幅を画面の60%程度にする（半分強） ▼▼▼ */
        width: 60%; 
        min-width: 250px; /* 小さすぎないように最低幅を確保 */
        
        height: calc(100vh - var(--header-height));
        background-color: #494949;
        
        /* ▼▼▼ 追加：背景が見えるので、左側に影を落として浮き上がらせる ▼▼▼ */
        box-shadow: -5px 0 20px rgba(0,0,0,0.2);
        
        transition: right 0.3s ease;
        display: flex;
        justify-content: flex-start; 
        align-items: flex-start;
        text-align: left;
        
        padding-top: 40px;
        z-index: 99;
    }

    .header-nav.active {
        right: 0; /* 出てくる位置 */
    }

    /* メニューリスト */
    .nav-list {
        flex-direction: column;
        
        /* ▼▼▼ 変更：間隔を広げる（25px → 40px） ▼▼▼ */
        gap: 40px; 
        
        width: 100%;
        margin: 0; 
        padding: 0;
        align-items: flex-start;
        
        /* ▼▼▼ 変更：全体を右に寄せる（左の余白を増やす 40px → 60px） ▼▼▼ */
        padding-left: 60px;
        padding-right: 20px;
    }
    
    /* メニューリンク */
    .nav-item a {
        display: block;
        font-size: 16px;
        color: #f0f8ff;
        text-align: left;
        
        /* 左側の金の棒 */
        border-left: 4px solid var(--accent-color);
        padding-left: 15px;
    }

    /* ハンバーガーボタンのアニメーション */
    .hamburger-btn.active span {
        background-color: var(--primary-color);
    }
    .hamburger-btn.active span:nth-child(1) {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }
    .hamburger-btn.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger-btn.active span:nth-child(3) {
        bottom: 50%;
        transform: translateY(50%) rotate(-45deg);
    }
}

/* --- ファーストビュー (FV) --- */
.fv {
    width: 100%;
    min-height: 800px; /* 最低限の高さ確保 */
    padding-top: var(--header-height); /* ヘッダーの裏に隠れないように */
    
    /* 背景画像の設定 */
    background-image: url('../img/fv-bg.jpg'); /* ここに背景画像を指定 */
    background-size: cover;
    background-position: center;
    background-color: #051830; /* 画像がない時の予備色（さらに濃い紺） */
    
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 50px;
}

.fv-container {
    width: 100%;
    max-width: 1200px;
    padding: 20px;
}

/* 全体を囲むパネル（ガラス風デザイン） */
.fv-panel {
    background: rgba(11, 44, 88, 0.85); /* 透過した濃紺 */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px); /* 背景を少しぼかす */
}

.fv-content {
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

/* --- 左側：テキストエリア --- */
.fv-text-area {
    flex: 1; /* 幅を自動調整 */
    color: var(--white);
}

.fv-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 5px 15px;
    font-size: 13px;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.2);
}

.fv-title {
    font-size: 36px;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.fv-desc {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 10px;
    color: #d0dceb; /* 真っ白より少し落ち着いた色 */
}

.fv-notes {
    font-size: 12px;
    color: #8fa6c4;
    line-height: 1.6;
}

.fv-notes li {
    margin-bottom: 5px;
    list-style: disc;
    margin-left: 1.2em;
}

/* --- 右側：フォームエリア --- */
.fv-form-area {
    width: 400px; /* 幅固定 */
    flex-shrink: 0;
}

.form-title {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 15px;
    font-weight: bold;
}

.form-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.form-input {
    flex: 1;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #446;
    background: rgba(0, 0, 0, 0.3);
    color: var(--white);
    font-size: 14px;
}
.form-input::placeholder {
    color: #889;
}

/* ボタン（光るグラデーション） */
.form-btn {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border: none;
    border-radius: 6px;
    padding: 0 20px;
    color: #004;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s;
}

.form-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 242, 254, 0.4);
}

.form-check {
    font-size: 13px;
    color: #ccc;
    margin-bottom: 20px;
}

.form-check label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.form-footer {
    font-size: 11px;
    color: #778;
    line-height: 1.6;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 15px;
}

.form-footer a {
    color: #99a;
    text-decoration: underline;
}

/* --- レスポンシブ対応（FV用） --- */
@media screen and (max-width: 900px) {
    .fv-content {
        flex-direction: column; /* 縦並びにする */
        gap: 40px;
    }
    
    .fv-form-area {
        width: 100%; /* スマホでは幅いっぱい */
    }

    .fv-title {
        font-size: 24px;
    }
    
    /* スマホでは入力欄とボタンを縦にする */
    .form-group {
        flex-direction: column;
    }
    
    .form-btn {
        padding: 12px;
        width: 100%;
    }
    
    .fv-panel {
        padding: 30px 20px;
    }
}

/* --- 共通クラス（コンテナ幅などを統一） --- */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-gold {
    color: var(--accent-color); /* 定義済みのゴールド */
}

/* --- 概要セクション (About) --- */
.about {
    background-color: #0b1e3b; /* FVより少しだけ明るいか、同系統の濃紺 */
    padding: 50px 0;
    color: var(--white);
    position: relative;
}

/* 見出しエリア */
.about-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    font-size: 14px;
    color: #8fa6c4;
    margin-bottom: 15px;
    letter-spacing: 0.1em;
    border-bottom: 1px solid var(--accent-color); /* 下に短い線 */
    padding-bottom: 5px;
}

.about-title {
    font-size: 32px;
    font-weight: bold;
    line-height: 1.5;
    margin-bottom: 30px;
}

.about-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #d0dceb;
    max-width: 800px;
    margin: 0 auto; /* 中央寄せ */
    text-align: left; /* 文章自体は左揃えが読みやすい */
}

/* 3つのカードエリア */
.about-cards {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

/* 個別カードデザイン */
.card {
    background: rgba(255, 255, 255, 0.05); /* わずかに透ける白 */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 40px 30px;
    flex: 1; /* 3等分 */
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden; /* 数字がはみ出さないように */
}

.card:hover {
    transform: translateY(-5px); /* ホバーで少し浮く */
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-color); /* 枠線がゴールドに光る */
}

/* 背景の数字装飾 */
.card-num {
    position: absolute;
    top: -20px;
    right: -10px;
    font-size: 100px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05); /* 背景に溶け込む薄さ */
    z-index: 0;
    font-family: sans-serif;
    line-height: 1;
}

.card-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--white);
    position: relative;
    z-index: 1; /* 数字より上に */
}

.card-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
    margin-top: 15px;
}

.card-text {
    font-size: 14px;
    line-height: 1.7;
    color: #c0cddb;
    position: relative;
    z-index: 1;
}

/* --- スマホ対応 --- */
@media screen and (max-width: 768px) {
    .about {
        padding: 30px 0;
    }
    
    .about-title {
        font-size: 24px;
        text-align: left; /* スマホなら左寄せでもOK */
    }
    
    .about-desc {
        font-size: 15px;
    }

    .about-cards {
        flex-direction: column; /* 縦並び */
        gap: 20px;
    }
    
    .card {
        padding: 15px 20px;
    }
}

/* --- 使い方セクション (Usage) --- */
.usage {
    /* 前のセクションから自然に繋がる暗いグラデーション */
    background: linear-gradient(180deg, #0b1e3b 0%, #051830 100%);
    padding: 50px 0;
    color: var(--white);
}

/* イントロエリア */
.usage-intro {
    text-align: center;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.usage-catch {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* 文字の一部をグラデーションにする装飾 */
.text-grad {
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

.usage-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #d0dceb;
}

.note {
    font-size: 12px;
    color: #8fa6c4;
    display: block;
    margin-top: 10px;
}

/* --- ステップフロー --- */
.steps-wrapper {
    margin-bottom: 80px;
}

.section-sub-title {
    font-size: 28px;
    margin-bottom: 10px;
    text-align: center;
}

.section-sub-desc {
    text-align: center;
    color: #aab;
    margin-bottom: 50px;
}

/* グリッドレイアウト */
.step-grid {
    display: grid;
    /* PCでは4列 */
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* 個別カード */
.step-card {
    /* 枠線はなし。背景色の差でエリアを作る */
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s;
}

.step-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.07);
}

/* アイコンと数字のエリア */
.step-icon-area {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px; /* 中央寄せ */
}

.step-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* 画像がない時に四角を表示するフォールバック */
    background-color: rgba(255,255,255,0.1); 
    border-radius: 50%;
}

.step-num {
    position: absolute;
    top: -5px;
    right: -10px;
    background-color: var(--accent-color);
    color: #fff;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.step-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--white);
}

.step-text {
    font-size: 14px;
    line-height: 1.6;
    color: #b0c0d0;
    text-align: left; /* 文章は左揃え */
}

/* 4つ目のプラス項目の特別デザイン */
.step-plus .step-num {
    background-color: #4facfe; /* 青色に変更 */
}

/* --- おすすめの使い分け（Tips） --- */
.usage-tips {
    background: rgba(11, 44, 88, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
}

.tips-title {
    font-size: 20px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.tips-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tip-item {
    display: flex;
    align-items: center; /* 縦方向中央揃え */
    gap: 20px;
}

.tip-label {
    background-color: rgba(255,255,255,0.1);
    color: var(--accent-color);
    padding: 8px 15px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 14px;
    white-space: nowrap; /* 改行させない */
    min-width: 140px;
    text-align: center;
}

.tip-text {
    font-size: 15px;
    color: #d0dceb;
}

/* --- スマホ対応 --- */
@media screen and (max-width: 768px) {
    .usage-catch {
        font-size: 24px;
    }
    
    .step-grid {
        grid-template-columns: 1fr; /* 1列にする */
        gap: 40px;
    }
    
    /* スマホでは矢印のようなデザインを追加しても面白い（今回はシンプルに間隔だけ） */
    
    .tip-item {
        flex-direction: column; /* 縦並び */
        align-items: flex-start;
        gap: 10px;
        border-bottom: 1px dashed rgba(255,255,255,0.1);
        padding-bottom: 20px;
    }
    
    .tip-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .tip-label {
        width: 100%; /* 幅いっぱい */
    }
}

/* --- できること/できないこと (Capabilities) --- */
.capabilities {
    background-color: #051830;
    padding: 50px 0;
    color: var(--white);
    /* 背景にうっすら光を入れる演出 */
    background-image: radial-gradient(circle at 50% 50%, rgba(11, 44, 88, 0.4) 0%, #051830 70%);
}

.cap-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cap-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 30px;
    line-height: 1.5;
}

.cap-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #d0dceb;
}

.cap-desc strong {
    color: var(--white);
    border-bottom: 1px solid var(--accent-color);
}

/* 2カラムレイアウト */
.cap-grid {
    display: flex;
    gap: 40px;
    justify-content: center;
}

/* カード共通設定 */
.cap-card {
    flex: 1; /* 幅を均等に */
    max-width: 500px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

/* --- できること (OK) デザイン --- */
.cap-card.is-ok {
    /* 上部に青緑のアクセントライン */
    border-top: 4px solid #00f2fe;
    /* 背景にうっすら青緑のグラデーション */
    background: linear-gradient(180deg, rgba(0, 242, 254, 0.05) 0%, rgba(0, 0, 0, 0) 100%);
}

.cap-card.is-ok .cap-card-title {
    color: #00f2fe;
}

/* --- できないこと (NG) デザイン --- */
.cap-card.is-ng {
    /* 上部に赤のアクセントライン */
    border-top: 4px solid #ff6b6b;
    /* 背景にうっすら赤のグラデーション */
    background: linear-gradient(180deg, rgba(255, 107, 107, 0.05) 0%, rgba(0, 0, 0, 0) 100%);
}

.cap-card.is-ng .cap-card-title {
    color: #ff6b6b;
}


/* ヘッダー部分（アイコン＋タイトル） */
.cap-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cap-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    /* アイコンがない時のダミー円 */
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.cap-card-title {
    font-size: 20px;
    font-weight: bold;
}

/* リスト部分 */
.cap-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.cap-list li {
    position: relative;
    padding-left: 20px;
}

/* リストの「・」の代わりに装飾をつける */
.cap-card.is-ok .cap-list li::before {
    content: '✔'; /* チェックマーク */
    position: absolute;
    left: 0;
    top: 2px;
    color: #00f2fe;
    font-size: 14px;
}

.cap-card.is-ng .cap-list li::before {
    content: '✕'; /* バツマーク */
    position: absolute;
    left: 0;
    top: 2px;
    color: #ff6b6b;
    font-size: 12px;
}

.cap-point {
    display: block;
    font-size: 16px;
    font-weight: bold;
    color: var(--white);
    margin-bottom: 5px;
}

.cap-sub {
    display: block;
    font-size: 13px;
    color: #8fa6c4;
}

/* --- スマホ対応 --- */
@media screen and (max-width: 768px) {
    .cap-grid {
        flex-direction: column; /* 縦並び */
        align-items: center;
        gap: 30px;
    }
    
    .cap-card {
        width: 100%;
        padding: 30px 20px;
    }
}

/* --- 無料体験・CTAセクション --- */
.cta {
    /* 最後に期待感を高めるため、少し明るめのネイビーグラデーション */
    background: linear-gradient(135deg, #0b2c58 0%, #1a4a85 100%);
    padding: 50px 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

/* 背景に装飾（大きな光） */
.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(201, 160, 99, 0.15) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    pointer-events: none; /* クリックの邪魔をしない */
}

.cta-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.cta-label {
    background-color: var(--accent-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 20px;
}

.cta-title {
    font-size: 36px;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 25px;
}

.cta-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #d0dceb;
}

/* --- フロー（ステップ図） --- */
.cta-flow {
    max-width: 900px;
    margin: 0 auto 60px;
    background: rgba(0, 0, 0, 0.2);
    padding: 30px;
    border-radius: 12px;
    position: relative;
    z-index: 1;
}

.flow-title {
    text-align: center;
    font-size: 16px;
    color: #8fa6c4;
    margin-bottom: 20px;
}

.flow-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.flow-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.flow-num {
    width: 40px;
    height: 40px;
    background-color: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0;
}

.flow-text {
    display: flex;
    flex-direction: column;
}

.flow-text strong {
    font-size: 16px;
    color: var(--white);
}

.flow-text span {
    font-size: 12px;
    color: #ccc;
}

.flow-arrow {
    color: var(--accent-color);
    font-size: 14px;
}

/* --- アクションボックス（フォーム＋画像） --- */
.cta-action-box {
    background: var(--white);
    border-radius: 16px;
    padding: 50px;
    display: flex;
    align-items: center;
    gap: 50px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

/* 左側：フォーム */
.cta-form-wrapper {
    flex: 1;
    color: var(--text-color); /* ここだけ背景が白なので文字は黒系 */
}

.cta-form-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.cta-form-note {
    font-size: 13px;
    color: #666;
    margin-bottom: 30px;
}

.cta-input {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    margin-bottom: 15px;
    background: #f9f9f9;
}

.cta-check {
    font-size: 14px;
    margin-bottom: 25px;
}

.cta-check a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cta-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(90deg, #c9a063 0%, #e0b06b 100%); /* ゴールド */
    border: none;
    border-radius: 6px;
    color: var(--white);
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s, transform 0.2s;
    box-shadow: 0 5px 15px rgba(201, 160, 99, 0.4);
}

.cta-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* 右側：画像 */
.cta-img-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
}

.cta-img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
    /* 画像がない時のダミー */
    min-height: 200px;
    background-color: #eee;
    border-radius: 8px;
}

/* --- スマホ対応 --- */
.sp-only { display: none; }

@media screen and (max-width: 768px) {
    .sp-only { display: block; }
    
    .cta-title { font-size: 24px; }
    
    /* フローを縦並びにする */
    .flow-steps {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .flow-arrow {
        transform: rotate(90deg); /* 下向きにする */
        margin-left: 13px; /* 数字の下に来るように調整 */
    }

    /* アクションボックスを縦並びにする */
    .cta-action-box {
        flex-direction: column-reverse; /* 画像を上に、フォームを下に */
        padding: 30px 20px;
        gap: 30px;
    }
    
    .cta-img-wrapper {
        width: 100%;
    }
    
    .cta-btn {
        font-size: 16px;
    }
}

/* --- よくある質問 (FAQ) --- */
.faq {
    background-color: #051830;
    padding: 50px 0;
    color: var(--white);
}

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

.faq-title {
    font-size: 32px;
    font-weight: bold;
    margin-top: 10px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 質問アイテム全体 */
.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: background 0.3s;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* 質問ボタン（クリックエリア） */
.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 16px;
    font-weight: bold;
    text-align: left;
    display: flex;
    justify-content: space-between; /* 文字は左、アイコンは右へ */
    align-items: center;
    cursor: pointer;
}

.faq-q-text {
    padding-right: 20px;
    line-height: 1.5;
}

/* 右側の開閉アイコン（＋マークを作成） */
.faq-toggle-icon {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.faq-toggle-icon::before,
.faq-toggle-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: var(--accent-color); /* ゴールド */
    transform: translate(-50%, -50%);
    transition: transform 0.3s;
}

.faq-toggle-icon::before {
    width: 100%;
    height: 2px; /* 横線 */
}

.faq-toggle-icon::after {
    width: 2px; /* 縦線 */
    height: 100%;
}

/* 開いた状態（クラスが付いた時）のアイコン変化 */
.faq-question.is-open .faq-toggle-icon::after {
    transform: translate(-50%, -50%) rotate(90deg); /* 縦線を回転させて横線と重ねる（－になる） */
}
/* さらに全体を少し回して動きをつける場合 */
.faq-question.is-open .faq-toggle-icon {
    transform: rotate(180deg);
}


/* 回答エリア（初期は閉じる） */
.faq-answer {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease-out; /* なめらかに開閉 */
    background: rgba(0, 0, 0, 0.2); /* 少し暗くする */
}

.faq-answer-inner {
    padding: 20px 25px 30px;
    color: #d0dceb;
    font-size: 15px;
    line-height: 1.8;
}

/* --- スマホ対応 --- */
@media screen and (max-width: 768px) {
    .faq-question {
        padding: 15px 20px;
        font-size: 15px;
    }
}

/* --- 重要事項 (Disclaimer) --- */
.disclaimer {
    background-color: #051830;
    padding: 50px 0 80px; /* フッターとの間隔を確保 */
    color: var(--white);
}

.disclaimer-header {
    margin-bottom: 20px;
}

/* ラベルやタイトルは共通クラス(.section-label等)も効きますが、微調整用に独自定義 */
.disclaimer-title {
    font-size: 24px;
    font-weight: bold;
    margin-top: 10px;
}

.disclaimer-box {
    background: rgba(255, 255, 255, 0.05); /* 背景よりわずかに明るい透過 */
    border: 1px solid rgba(255, 255, 255, 0.15); /* 薄い枠線 */
    border-radius: 8px;
    padding: 30px;
    font-size: 14px;
    line-height: 1.8;
    color: #d0dceb; /* 真っ白ではなく読みやすいグレー */
}

/* --- フッター (Footer) --- */
.footer {
    background-color: #051830;
    padding: 0 0 40px;
    color: #8fa6c4;
    font-size: 13px;
}

.footer-inner {
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* 区切り線 */
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-corp {
    font-size: 14px;
    color: #b0c0d0;
}

.footer-links {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-links a {
    text-decoration: underline; /* リンクだとわかるように下線 */
    color: #8fa6c4;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--white);
    text-decoration: none;
}

.copyright {
    margin-top: 20px;
    font-size: 12px;
    color: #667;
    font-family: sans-serif;
}

/* --- スマホ対応 --- */
@media screen and (max-width: 768px) {
    .disclaimer {
        padding: 40px 0 60px;
    }
    
    .disclaimer-box {
        padding: 20px;
        font-size: 13px;
    }

    .footer-links {
        flex-direction: column; /* スマホでは縦並び */
        gap: 15px;
    }
}

.copyright {
    margin-top: 20px;
    font-size: 12px;
    color: #667;
    font-family: sans-serif;
    
    /* ▼▼▼ これを追加してください ▼▼▼ */
    text-align: center;
}


/* =========================================
   下層ページ共通 (Sub Page)
   ========================================= */

/* 背景設定：トップページ同様のダークネイビー */
.sub-page {
    background-color: #051830;
    min-height: 100vh; /* コンテンツが少なくても画面いっぱいにする */
    padding-top: var(--header-height); /* 固定ヘッダーの裏に入り込まないように */
}

.legal-section {
    padding: 60px 0 100px;
}

/* ページタイトルエリア */
.page-header {
    text-align: center;
    margin-bottom: 50px;
}

.page-title {
    font-size: 32px;
    font-weight: bold;
    color: var(--white);
    display: inline-block;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--accent-color); /* ゴールドの下線 */
}

/* コンテンツボックス（枠） */
.legal-content {
    background: rgba(255, 255, 255, 0.05); /* わずかに明るい透過背景 */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 60px;
    color: #d0dceb; /* 読みやすいグレーホワイト */
    font-size: 15px;
    line-height: 1.8;
}

/* 導入文 */
.legal-intro {
    margin-bottom: 40px;
}

/* 各セクションのブロック */
.legal-block {
    margin-bottom: 40px;
}

.legal-block:last-child {
    margin-bottom: 0;
}

/* 見出し (h3) */
.legal-block h3 {
    color: var(--white);
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    border-left: 4px solid var(--accent-color); /* 左にゴールドのアクセント */
    padding-left: 15px;
}

/* リスト（箇条書き） */
.legal-list {
    list-style: disc;
    margin-left: 20px;
    margin-top: 10px;
}

.legal-list li {
    margin-bottom: 5px;
}

/* 連絡先情報の囲み */
.contact-info {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 6px;
    margin-top: 15px;
}

/* --- スマホ対応 (Sub Page) --- */
@media screen and (max-width: 768px) {
    .legal-section {
        padding: 40px 0 60px;
    }

    .page-title {
        font-size: 24px;
    }

    .legal-content {
        padding: 30px 20px; /* スマホでは余白を狭く */
    }

    .legal-block h3 {
        font-size: 16px;
    }
}

/* =========================================
   特商法ページ用テーブル (Legal Table)
   ========================================= */

.legal-table {
    width: 100%;
    border-collapse: collapse; /* 枠線を重ねる */
    margin-top: 20px;
    font-size: 15px;
}

.legal-table th,
.legal-table td {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* 薄い区切り線 */
    text-align: left;
    vertical-align: top;
}

/* 左側の項目名 */
.legal-table th {
    width: 30%; /* 幅を3割に固定 */
    color: var(--white);
    font-weight: bold;
    background: rgba(255, 255, 255, 0.02); /* ほんの少し背景色をつける */
}

/* 右側の内容 */
.legal-table td {
    width: 70%;
    color: #d0dceb;
}

/* --- スマホ対応 (Table) --- */
@media screen and (max-width: 768px) {
    .legal-table th,
    .legal-table td {
        display: block; /* 縦並びにする */
        width: 100%;
        border-bottom: none; /* 間の線を消す */
        padding: 10px 0;
    }
    
    .legal-table th {
        background: none;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        color: var(--accent-color); /* スマホでは項目名をゴールドにして目立たせる */
    }

    .legal-table td {
        padding-bottom: 20px;
    }
    
    /* 最初の線だけ調整 */
    .legal-table tr:first-child th {
        border-top: none;
        padding-top: 0;
    }
}

/* =========================================
   お問い合わせページ (Contact)
   ========================================= */

.contact-section {
    padding: 60px 0 100px;
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 50px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-intro {
    color: #d0dceb;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.8;
}

/* フォームの行 */
.form-row {
    margin-bottom: 30px;
}

.form-label {
    display: block;
    color: var(--white);
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 15px;
}

/* 必須・任意バッジ */
.badge-req, .badge-any {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: middle;
}

.badge-req {
    background-color: #ff6b6b;
    color: #fff;
}

.badge-any {
    background-color: #8fa6c4;
    color: #fff;
}

/* 入力フィールド共通 */
.input-field {
    width: 100%;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.3);
    color: var(--white);
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

.input-field:focus {
    border-color: var(--accent-color); /* フォーカス時にゴールドに */
    background: rgba(0, 0, 0, 0.5);
}

/* プルダウンの矢印などの調整 */
select.input-field {
    cursor: pointer;
    appearance: none; /* 標準スタイルを消す */
    /* ↓矢印アイコンをCSSで描画 */
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 24px;
}

.textarea-field {
    height: 200px;
    resize: vertical; /* 縦方向のみリサイズ可 */
}

/* 送信ボタンエリア */
.form-submit {
    text-align: center;
    margin-top: 50px;
}

.submit-btn {
    background: linear-gradient(90deg, #c9a063 0%, #e0b06b 100%);
    color: var(--white);
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    padding: 15px 60px;
    cursor: pointer;
    transition: opacity 0.3s, transform 0.2s;
    box-shadow: 0 5px 15px rgba(201, 160, 99, 0.3);
}

.submit-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* --- スマホ対応 (Contact) --- */
@media screen and (max-width: 768px) {
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    
    .submit-btn {
        width: 100%; /* スマホではボタンを幅いっぱいに */
    }
}

.achievement-wrapper {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.achievement-item {
    flex: 1;
    max-width: 600px;
    min-width: 300px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.achievement-item img {
    width: 100%;
    height: auto;
    display: block;
}

.achievement-note {
    text-align: left;
    font-size: 0.8rem;
    color: #999;
    line-height: 1.6;
}

/* ===== member_registration 専用スコープ ===== */
.member-registration.auth-page{
  padding: 32px 16px;
  /* フッターが中途半端な位置に来るのを防ぐ */
  min-height: calc(100vh - 120px); /* header/footer高さに合わせて調整 */
}

.member-registration .auth-container{
  max-width: 720px;
  margin: 0 auto;
}

.member-registration .auth-head{
  margin: 0 0 16px;
}

.member-registration .auth-title{
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 6px;
}

.member-registration .auth-subtitle{
  margin: 0;
  opacity: .75;
}

.member-registration .auth-card{
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 10px 25px rgba(0,0,0,.06);
  padding: 18px;
}

.member-registration .auth-row{
  margin-bottom: 14px;
}

.member-registration .auth-label{
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}

/* ★ここが効く：Djangoの素の<input>にも確実に当てる */
.member-registration input,
.member-registration select,
.member-registration textarea{
  width: 100%;
  box-sizing: border-box;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.18);
  background: #fff;
  outline: none;
}

.member-registration input:focus,
.member-registration select:focus,
.member-registration textarea:focus{
  border-color: rgba(0,0,0,.45);
  box-shadow: 0 0 0 4px rgba(0,0,0,.06);
}

.member-registration .auth-btn{
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: none;
  font-weight: 800;
  cursor: pointer;
}

.member-registration .auth-alert{
  padding: 12px;
  border-radius: 12px;
  background: #fff2f2;
  border: 1px solid #ffd0d0;
  margin-bottom: 14px;
}

.member-registration .auth-error{
  color: #c62828;
  font-size: 13px;
  margin-top: 6px;
}

.member-registration .auth-foot{
  margin-top: 14px;
  text-align: center;
}

/* ===== Member Registration: last/first name 2-column grid ===== */
.member-registration-form .form-row.name-grid{
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px !important;
  align-items: start !important;
}

/* スマホでは縦 */
@media (max-width: 640px){
  .member-registration-form .form-row.name-grid{
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}

