/* ベースカラー設定：ロゴから抽出した色を使用 */
:root {
    /* Navy: ロゴの着物の色 (信頼、プロフェッショナル)
       Gold/Orange: ロゴの馬と小判の色 (金運、成果、コンバージョン)
    */
    --bg: #f4f6f9;
    --card-bg: #ffffff;
    --text: #2c3e50;
    --text-muted: #7f8c8d;
    --primary: #0f3460;   /* 濃いネイビー */
    --accent: #e94560;    /* 差し色の赤（ロゴの襟元など） */
    --gold: #f39c12;      /* コインのゴールド */
    --gold-hover: #d68910;
    --line: #e2e8f0;
    --radius: 12px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--text);
    background-color: var(--bg);
    /* 縁起の良い和柄っぽい雰囲気の薄いパターンを入れる */
    background-image: radial-gradient(#e0e0e0 1px, transparent 1px);
    background-size: 20px 20px;
    font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    line-height: 1.6;
}

.container {
    width: min(800px, 94%);
    margin: 0 auto;
}

/* ヘッダー */
.site-header {
    text-align: center;
    padding: 60px 0 40px;
}

.logo-area {
    margin-bottom: 20px;
}

.site-logo {
    width: 140px;
    height: 140px;
    object-fit: contain;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    background: #fff;
}

.site-title {
    font-family: 'Oswald', sans-serif; /* 強いフォント */
    font-size: clamp(28px, 5vw, 42px);
    margin: 0;
    color: var(--primary);
    letter-spacing: 0.05em;
    text-shadow: 2px 2px 0px rgba(255,255,255,1);
}

.site-sub {
    margin: 10px 0 0;
    color: var(--text-muted);
    font-weight: 500;
}

/* ステップカード共通 */
.step-card {
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 0;
    border: 1px solid var(--line);
}

.step-header {
    background: var(--primary);
    color: #fff;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.step-badge {
    background: var(--gold);
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 14px;
    letter-spacing: 0.05em;
}

.badge-blue {
    background: #4a90e2;
}

.step-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.step-body {
    padding: 24px 32px 40px;
}

@media (max-width: 600px) {
    .step-body {
        padding: 20px;
    }
}

.step-desc {
    margin-top: 0;
    margin-bottom: 24px;
    font-size: 15px;
    color: var(--text-muted);
}

/* 決済ボックス */
.payment-box {
    border: 2px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 20px;
    transition: all 0.2s ease;
}

/* 推奨ボックス（PayPal）を目立たせる */
.payment-box.recommended {
    border-color: var(--gold);
    background-color: #fffcf5; /* ほんのりゴールド背景 */
    position: relative;
}

.payment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    border-bottom: 1px dashed rgba(0,0,0,0.1);
    padding-bottom: 10px;
}

.payment-title {
    margin: 0;
    font-size: 18px;
    color: var(--primary);
}

.badge-rec {
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 20px;
}

/* フォーム要素 */
.form-group {
    margin-bottom: 20px;
}

.field-label {
    display: block;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--primary);
}

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: "▼";
    font-size: 12px;
    color: var(--gold);
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.custom-select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    appearance: none;
    background: #fff;
    transition: border-color 0.2s;
}

.custom-select:focus {
    outline: none;
    border-color: var(--gold);
}

/* ボタン */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px; /* 丸みのあるモダンなボタン */
    padding: 16px 24px;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-block {
    width: 100%;
    display: flex;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hover) 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.5);
}

.btn-outline {
    background: #fff;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

.icon {
    margin-right: 8px;
}

.external-icon {
    font-size: 12px;
    margin-left: 6px;
}

/* 銀行情報 */
.bank-info dl {
    margin: 0;
}

.dl-row {
    display: flex;
    flex-wrap: wrap;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.dl-row:last-child {
    border-bottom: none;
}

.dl-row dt {
    width: 100px;
    color: var(--text-muted);
    font-size: 14px;
}

.dl-row dd {
    width: calc(100% - 100px);
    margin: 0;
    font-weight: 500;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.bank-code {
    font-size: 12px;
    color: var(--text-muted);
    margin-left: 4px;
}

.dl-row.highlight {
    background: #f9f9f9;
    padding: 10px;
    border-radius: 6px;
    margin-top: 5px;
}

.dl-row.highlight dt,
.dl-row.highlight dd {
    color: var(--accent);
    font-weight: bold;
}

.copy-btn {
    margin-left: 10px;
    padding: 2px 8px;
    font-size: 11px;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    color: var(--text-muted);
}
.copy-btn:hover {
    background: #eee;
    color: var(--text);
}

/* 注釈 */
.note {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 10px;
    margin-bottom: 0;
}

/* フロー矢印 */
.flow-arrow {
    text-align: center;
    margin: 20px 0;
    color: var(--primary);
    font-weight: bold;
    opacity: 0.6;
}

/* PayPay用リンク */
.link-mail {
    display: inline-block;
    margin-top: 10px;
    color: var(--primary);
    text-decoration: underline;
    font-weight: bold;
}

/* フッター */
.site-footer {
    margin-top: 60px;
    padding: 30px 0;
    background: var(--primary);
    color: #fff;
    font-size: 13px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-nav a {
    color: #cbd5e0;
    text-decoration: none;
    margin-left: 20px;
}

.footer-nav a:hover {
    color: #fff;
}

/* スマホ対応 */
@media (max-width: 480px) {
    .dl-row dt {
        width: 100%;
        font-size: 12px;
        margin-bottom: 2px;
    }
    .dl-row dd {
        width: 100%;
    }
    .site-title {
        font-size: 28px;
    }
    .footer-inner {
        flex-direction: column;
        gap: 15px;
    }
    .footer-nav a {
        margin: 0 10px;
    }
}