/* ==========================================================
   RICOH 作業検査カメラ まとめ買いキャンペーン 2026-2027
   テーマ: ブラック × ゴールド
   ========================================================== */

:root {
    --bg: #0b0b0d;
    --bg-soft: #141417;
    --bg-card: #1b1b1f;
    --line: rgba(212, 175, 90, 0.35);
    --gold-1: #f6e3a1;
    --gold-2: #d9b55a;
    --gold-3: #a8802a;
    --gold-grad: linear-gradient(135deg, #f6e3a1 0%, #d9b55a 45%, #a8802a 100%);
    --red: #c3202a;
    --red-dark: #8f141c;
    --text: #ececec;
    --text-sub: #a9a9b0;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--gold-2); }
a:hover { color: var(--gold-1); }

.container {
    width: 90%;
    max-width: 1120px;
    margin: 0 auto;
    position: relative;
}

/* ---------------- ヘッダー ---------------- */
header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    background: #fff;
    border-bottom: 3px solid var(--gold-2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}
header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 64px;
}
header logo { display: block; line-height: 0; }
header logo img { height: 34px; width: auto; }
header nav ul {
    list-style: none;
    display: flex;
    gap: 6px;
    margin: 0;
    padding: 0;
}
header nav ul li a {
    display: block;
    padding: 8px 14px;
    text-decoration: none;
    color: #222;
    font-size: 14px;
    font-weight: bold;
    border-radius: 6px;
    transition: background-color .25s, color .25s;
}
header nav ul li a:hover { background: #111; color: var(--gold-1); }

/* ---------------- ヒーロー ---------------- */
.hero {
    padding: 64px 0 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(217, 181, 90, 0.18), transparent 60%),
        linear-gradient(180deg, #1a1a1e 0%, var(--bg) 100%);
    border-bottom: 1px solid var(--line);
}
.hero-banner { padding: 40px 0 0; text-align: center; }
.hero-banner img {
    display: block;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

/* 期間バッジ */
.period-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 40px;
    margin: 36px auto 0;
    padding: 22px 0 40px;
}
.period-item { text-align: center; }
.period-label {
    display: inline-block;
    font-size: 12px;
    letter-spacing: .15em;
    color: #111;
    background: var(--gold-grad);
    padding: 2px 14px;
    border-radius: 20px;
    font-weight: bold;
}
.period-value {
    display: block;
    margin-top: 6px;
    font-size: 22px;
    font-weight: bold;
    color: #fff;
}
.period-value small { font-size: 14px; color: var(--text-sub); font-weight: normal; }

/* ---------------- 共通セクション ---------------- */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-soft); }

.section-head { text-align: center; margin-bottom: 54px; }
.section-eyebrow {
    display: block;
    font-size: 13px;
    letter-spacing: .35em;
    color: var(--gold-2);
    margin-bottom: 8px;
}
.section-title {
    margin: 0;
    font-size: 32px;
    line-height: 1.4;
    color: #fff;
}
.section-title::after {
    content: "";
    display: block;
    width: 64px; height: 3px;
    margin: 18px auto 0;
    background: var(--gold-grad);
    border-radius: 2px;
}
.section-lead {
    margin: 22px auto 0;
    max-width: 720px;
    color: var(--text-sub);
}

/* ---------------- 特典カード ---------------- */
.benefit-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}
.benefit-card {
    position: relative;
    display: grid;
    grid-template-columns: 220px 1fr;
    align-items: stretch;
    background: linear-gradient(135deg, #202026 0%, #141417 100%);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}
.benefit-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: var(--gold-grad);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: .7;
    pointer-events: none;
}
.benefit-tier {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
    background: linear-gradient(160deg, var(--red) 0%, var(--red-dark) 100%);
    color: #fff;
    text-align: center;
}
.benefit-tier .tier-pre { font-size: 14px; letter-spacing: .1em; opacity: .9; }
.benefit-tier .tier-num {
    font-size: 84px;
    line-height: 1;
    font-weight: 900;
    font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(180deg, #fff 0%, var(--gold-1) 100%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
}
.benefit-tier .tier-num small { font-size: 32px; margin-left: 2px; -webkit-text-fill-color: #fff; }
.benefit-tier .tier-post { font-size: 16px; font-weight: bold; }

.benefit-body { padding: 34px 40px; display: flex; flex-direction: column; justify-content: center; }
.benefit-badge {
    align-self: flex-start;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: .12em;
    color: #111;
    background: var(--gold-grad);
    padding: 3px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}
.benefit-main {
    margin: 0;
    font-size: 26px;
    line-height: 1.5;
    font-weight: bold;
    color: #fff;
}
.benefit-main .gold {
    font-size: 1.35em;
    font-weight: 900;
    background: var(--gold-grad);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
}
.benefit-main .amp { color: var(--gold-2); margin: 0 .3em; }
.benefit-note { margin: 12px 0 0; font-size: 14px; color: var(--text-sub); }

/* 10台以上カードを特別扱い */
.benefit-card.premium {
    background:
        radial-gradient(ellipse at 90% 0%, rgba(246, 227, 161, 0.18), transparent 55%),
        linear-gradient(135deg, #2a2415 0%, #141417 100%);
}
.benefit-plus {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 0 auto;
    color: var(--gold-1);
    font-weight: bold;
    letter-spacing: .2em;
    font-size: 14px;
}
.benefit-plus::before, .benefit-plus::after {
    content: "";
    height: 1px;
    width: 80px;
    background: var(--gold-grad);
}

/* ---------------- 流れ ---------------- */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    counter-reset: step;
    list-style: none;
    margin: 0; padding: 0;
}
.steps li {
    position: relative;
    padding: 36px 26px 28px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 14px;
    text-align: center;
}
.steps li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    top: -20px; left: 50%;
    transform: translateX(-50%);
    width: 40px; height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background: var(--gold-grad);
    color: #111;
    font-weight: 900;
    font-size: 18px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
}
.steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%; right: -17px;
    width: 10px; height: 10px;
    border-top: 2px solid var(--gold-2);
    border-right: 2px solid var(--gold-2);
    transform: translateY(-50%) rotate(45deg);
}
.steps h3 { margin: 0 0 8px; font-size: 18px; color: #fff; }
.steps p { margin: 0; font-size: 14px; color: var(--text-sub); }

/* ---------------- 概要テーブル ---------------- */
.campaign-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
}
.campaign-table th,
.campaign-table td {
    padding: 22px 26px;
    text-align: left;
    vertical-align: top;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.campaign-table tr:last-child th,
.campaign-table tr:last-child td { border-bottom: 0; }
.campaign-table th {
    width: 25%;
    background: rgba(217, 181, 90, 0.08);
    color: var(--gold-1);
    font-weight: bold;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.campaign-table td { color: var(--text); }
.campaign-table ul { margin: 10px 0 0; padding-left: 1.2em; }
.campaign-table li { margin-bottom: 6px; color: #d4d4d8; }
.campaign-table li::marker { color: var(--gold-2); }
.campaign-table td strong { color: var(--gold-1); }

.link-arrow {
    display: inline-block;
    margin-top: 6px;
    font-weight: bold;
}

/* ---------------- CTA ---------------- */
.cta-section {
    padding: 90px 0;
    text-align: center;
    background:
        radial-gradient(ellipse at 50% 100%, rgba(217, 181, 90, 0.22), transparent 65%),
        #0b0b0d;
    border-top: 1px solid var(--line);
}
.cta-section h2 { margin: 0 0 8px; font-size: 30px; color: #fff; }
.cta-section p { margin: 0 0 34px; color: var(--text-sub); }

.cta-button-campaign {
    display: inline-block;
    min-width: 380px;
    padding: 20px 40px;
    text-decoration: none;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: .06em;
    color: #1a1204;
    background: var(--gold-grad);
    border-radius: 60px;
    box-shadow: 0 10px 30px rgba(217, 181, 90, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: transform .25s, box-shadow .25s, filter .25s;
}
.cta-button-campaign::after { content: "  ▶"; font-size: .7em; }
.cta-button-campaign:hover {
    color: #1a1204;
    transform: translateY(-3px);
    filter: brightness(1.08);
    box-shadow: 0 16px 40px rgba(217, 181, 90, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.deadline-note { margin-top: 18px; font-size: 14px; color: var(--gold-1); }

/* ---------------- フッター ---------------- */
footer {
    padding: 22px 0;
    background: #000;
    color: #8a8a90;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
footer p { margin: 0; font-size: 13px; }

/* ---------------- スクロールアニメーション ---------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.active { opacity: 1; transform: none; }

/* ---------------- レスポンシブ ---------------- */
@media (max-width: 900px) {
    header .container { flex-direction: column; padding: 8px 0; gap: 4px; }
    header nav ul { flex-wrap: wrap; justify-content: center; }
    header nav ul li a { padding: 4px 10px; font-size: 13px; }
    .hero { padding-top: 104px; }
    .hero-banner { padding-top: 24px; }
    .section { padding: 64px 0; }
    .section-title { font-size: 26px; }
    .benefit-card { grid-template-columns: 1fr; }
    .benefit-tier { flex-direction: row; gap: 10px; padding: 20px 16px; }
    .benefit-tier .tier-num { font-size: 60px; }
    .benefit-body { padding: 26px 22px; }
    .benefit-main { font-size: 21px; }
    .steps { grid-template-columns: 1fr; gap: 34px; }
    .steps li:not(:last-child)::after {
        top: auto; bottom: -22px; right: 50%;
        transform: translateX(50%) rotate(135deg);
    }
    .campaign-table th, .campaign-table td { display: block; width: 100%; padding: 14px 18px; }
    .campaign-table th { border-right: 0; border-bottom: 0; }
    .cta-button-campaign { min-width: 0; width: 100%; font-size: 20px; padding: 18px 20px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { transition: none; opacity: 1; transform: none; }
}
