@charset "UTF-8";

/* =========================================================
   Rough WEB マンマミーア ｜ 代理店パートナー募集LP
   配色は募集資料（PPTX）のスライドから抽出したブランドカラー
   ========================================================= */

:root {
  /* ---- カラー ---- */
  --c-bg:        #0B0F0E;  /* ベース（ほぼ黒） */
  --c-bg-alt:    #121817;  /* セクション交互背景 */
  --c-surface:   #18201E;  /* カード背景 */
  --c-border:    #2A3533;
  --c-text:      #E9EFED;  /* 本文 */
  --c-muted:     #9DABA8;  /* 補足テキスト */
  --c-accent:    #8FD5CC;  /* メインアクセント（ミント） */
  --c-gold:      #E8C77A;  /* 金額・強調 */
  --c-pink:      #E0A8C0;
  --c-blue:      #9CC8F0;

  /* ---- タイポグラフィ ---- */
  --font-base: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
               "Yu Gothic", "Meiryo", sans-serif;

  /* ---- レイアウト ---- */
  --wrap: 1080px;
  --wrap-narrow: 760px;
  --radius: 14px;
}

/* ---------- リセット ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%;
}

h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
table { border-collapse: collapse; }

/* ---------- 共通レイアウト ---------- */
.wrap {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
}
.wrap.narrow { max-width: var(--wrap-narrow); }

.section { padding: 88px 0; }
.section-alt { background: var(--c-bg-alt); }

.sec-title {
  font-size: clamp(24px, 4.2vw, 34px);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: .02em;
}
.sec-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 18px;
  background: var(--c-accent);
  border-radius: 2px;
}
.sec-lead {
  margin-top: 20px;
  color: var(--c-muted);
  font-size: 15px;
}

.note {
  margin-top: 24px;
  color: var(--c-muted);
  font-size: 13px;
  line-height: 1.8;
}
.note.disclaimer {
  padding: 14px 16px;
  border-left: 3px solid var(--c-border);
  background: rgba(255, 255, 255, .02);
}

.unit { font-size: .6em; margin-left: 2px; font-weight: 700; }

.pc-only { display: none; }

/* ---------- 仮ページバナー ---------- */
.draft-banner {
  padding: 8px 16px;
  background: var(--c-gold);
  color: #1A1403;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  letter-spacing: .02em;
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 15, 14, .86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.brand { text-decoration: none; line-height: 1.3; }
.brand-main { display: block; font-size: 15px; font-weight: 700; }
.brand-sub {
  display: block;
  color: var(--c-accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-block;
  background: var(--c-accent);
  color: #07110F;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  border-radius: 999px;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn:hover {
  background: #A7E2DA;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(143, 213, 204, .22);
}
.btn-sm { padding: 9px 18px; font-size: 13px; white-space: nowrap; }
.btn-lg { padding: 18px 44px; font-size: 17px; }

/* ---------- ヒーロー ---------- */
.hero {
  padding: 96px 0 88px;
  background:
    radial-gradient(800px 420px at 15% -10%, rgba(143, 213, 204, .16), transparent 60%),
    radial-gradient(680px 420px at 95% 10%, rgba(224, 168, 192, .10), transparent 62%);
}
.eyebrow {
  color: var(--c-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
}
.hero-title {
  margin-top: 22px;
  font-size: clamp(30px, 7vw, 60px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: .01em;
}
.hero-lead {
  margin-top: 26px;
  color: var(--c-muted);
  font-size: clamp(15px, 2.4vw, 17px);
}
.hero-lead strong { color: var(--c-text); }

.hero-cta { margin-top: 40px; }
.cta-note {
  margin-top: 18px;
  color: var(--c-muted);
  font-size: 13px;
  line-height: 1.9;
}
.mail-text {
  color: var(--c-accent);
  font-weight: 700;
  word-break: break-all;
}

/* ---------- カード ---------- */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 40px;
}
.card {
  padding: 28px 24px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
}
.card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--c-accent);
}
.card p {
  margin-top: 12px;
  color: var(--c-muted);
  font-size: 14px;
}

.card.sim { text-align: center; }
.card.sim h3 { color: var(--c-text); }
.sim-cond { font-size: 13px; }
.sim-value {
  margin-top: 10px !important;
  color: var(--c-gold);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: .01em;
}

/* ---------- 費用 ---------- */
.fee-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 40px;
}
.fee {
  padding: 26px 24px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  text-align: center;
}
.fee-label {
  display: block;
  color: var(--c-muted);
  font-size: 13px;
  font-weight: 700;
}
.fee-value {
  display: block;
  margin-top: 6px;
  color: var(--c-gold);
  font-size: 36px;
  font-weight: 900;
  line-height: 1.3;
}
.fee-note { display: block; color: var(--c-muted); font-size: 12px; }

/* ---------- 特典リスト ---------- */
.benefits { margin-top: 28px; display: grid; gap: 12px; }
.benefits li {
  padding: 18px 20px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  color: var(--c-muted);
  font-size: 14px;
}
.benefits strong {
  display: block;
  margin-bottom: 4px;
  color: var(--c-text);
  font-size: 15px;
}

/* ---------- 報酬テーブル ---------- */
.table-scroll {
  margin-top: 40px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.rank-table {
  width: 100%;
  min-width: 720px;
  font-size: 14px;
}
.rank-table thead th {
  padding: 14px 16px;
  background: var(--c-surface);
  color: var(--c-accent);
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid var(--c-border);
}
.rank-table tbody th,
.rank-table tbody td {
  padding: 16px;
  border-bottom: 1px solid var(--c-border);
  text-align: left;
  vertical-align: middle;
  color: var(--c-muted);
}
.rank-table tbody th {
  color: var(--c-text);
  font-weight: 700;
  white-space: nowrap;
}
.rank-table .num {
  color: var(--c-gold);
  font-weight: 700;
  white-space: nowrap;
}
.rank-table tr.is-top th,
.rank-table tr.is-top td { background: rgba(143, 213, 204, .06); }

/* ---------- 流れ ---------- */
.flow { margin-top: 40px; display: grid; gap: 12px; }
.flow li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 4px 16px;
  align-items: center;
  padding: 18px 20px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  color: var(--c-muted);
  font-size: 14px;
}
.flow .step {
  grid-row: span 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--c-accent);
  color: #07110F;
  font-weight: 900;
}
.flow strong {
  align-self: end;
  color: var(--c-text);
  font-size: 15px;
}

/* ---------- FAQ ---------- */
#faq details {
  margin-top: 12px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
}
#faq summary {
  padding: 18px 48px 18px 20px;
  position: relative;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
#faq summary::-webkit-details-marker { display: none; }
#faq summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -6px;
  border-right: 2px solid var(--c-accent);
  border-bottom: 2px solid var(--c-accent);
  transform: rotate(45deg);
  transition: transform .2s ease;
}
#faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
#faq details p {
  padding: 0 20px 20px;
  color: var(--c-muted);
  font-size: 14px;
}

/* ---------- クロージング ---------- */
.closing {
  padding: 96px 0;
  text-align: center;
  background:
    radial-gradient(760px 420px at 50% 0%, rgba(143, 213, 204, .14), transparent 62%),
    var(--c-bg-alt);
  border-top: 1px solid var(--c-border);
}
.closing-label {
  color: var(--c-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3em;
}
.closing-title {
  margin-top: 20px;
  font-size: clamp(24px, 5.4vw, 42px);
  font-weight: 900;
  line-height: 1.45;
}
.closing-lead {
  margin-top: 22px;
  margin-bottom: 36px;
  color: var(--c-muted);
  font-size: 15px;
}

/* ---------- フッター ---------- */
.site-footer {
  padding: 48px 0;
  border-top: 1px solid var(--c-border);
  color: var(--c-muted);
  font-size: 13px;
  line-height: 1.9;
}
.site-footer .company { color: var(--c-text); font-weight: 700; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 20px;
}
.footer-links a { color: var(--c-accent); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.copyright { margin-top: 24px; font-size: 12px; }

/* ---------- スクロール表示アニメーション ----------
   `.js` は <head> のインラインスクリプトが <html> に付与する。
   JSが動かない環境ではこのセレクタが一致しないため、
   コンテンツは最初から表示されたままになる（非表示で固まらない）。 */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- レスポンシブ（スマホファースト） ---------- */
@media (min-width: 768px) {
  .pc-only { display: inline; }
  .section { padding: 104px 0; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .fee-grid { grid-template-columns: repeat(2, 1fr); max-width: 620px; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- アクセシビリティ ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* `.js [data-reveal]` と同じ詳細度にしないと打ち消せないため、セレクタを揃える */
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}
