/* アフィロケット — 共通スタイル */

:root {
  --navy: #1B2A4A;
  --navy-2: #24365C;
  --orange: #FF6B35;
  --orange-d: #E85520;
  --blue: #4A9DFF;
  --gold: #FFC24B;
  --ink: #1E2633;
  --muted: #5C6B85;
  --line: #E3E9F2;
  --bg: #FFFFFF;
  --bg-soft: #F5F8FC;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(27, 42, 74, .08);
  --shadow-lg: 0 18px 50px rgba(27, 42, 74, .14);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* hidden にすると body がスクロールコンテナ化して sticky が壊れる */
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP",
               "Yu Gothic", Meiryo, system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
a { color: inherit; }

.wrap { width: min(1080px, calc(100% - 40px)); margin-inline: auto; }

section[id] { scroll-margin-top: 84px; }

/* ---------------------------------------------------------------- header */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 18px;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 34px; height: 34px; display: block; }
.brand-name { font-size: 1.08rem; font-weight: 700; letter-spacing: .02em; color: var(--navy); }

.nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-size: .92rem; color: var(--muted); font-weight: 600; }
.nav a:hover { color: var(--navy); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary {
  background: var(--orange); color: #fff;
  box-shadow: 0 8px 20px rgba(255, 107, 53, .3);
}
.btn-primary:hover { background: var(--orange-d); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: 10px 20px; font-size: .88rem; }

/* ---------------------------------------------------------------- hero */

.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #16233E 0%, #1B2A4A 45%, #2A3E68 100%);
  color: #fff;
  padding: 84px 0 96px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(520px 320px at 82% 14%, rgba(255, 107, 53, .22), transparent 70%),
    radial-gradient(460px 300px at 12% 88%, rgba(74, 157, 255, .18), transparent 70%);
  pointer-events: none;
}
/* ヒーロー背景（index.html にインラインSVG） */
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; pointer-events: none; }
.hb-trail { stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: hb-draw 2.4s cubic-bezier(.3, .6, .2, 1) .2s forwards; }
.hb-trail-2 { animation-delay: .5s; }
.hb-trail-3 { animation-delay: .8s; }
@keyframes hb-draw { to { stroke-dashoffset: 0; } }
.hb-stars circle { animation: hb-twinkle 3.6s ease-in-out infinite; }
.hb-stars circle:nth-child(3n) { animation-delay: 1.2s; }
.hb-stars circle:nth-child(3n+1) { animation-delay: 2.3s; }
@keyframes hb-twinkle { 50% { opacity: .25; } }
.hb-sparkles path { transform-box: fill-box; transform-origin: center; animation: hb-spark 4s ease-in-out infinite; }
.hb-sparkles path:nth-child(2) { animation-delay: 1.3s; }
.hb-sparkles path:nth-child(3) { animation-delay: 2.1s; }
@keyframes hb-spark { 50% { transform: scale(.55) rotate(45deg); opacity: .5; } }
@media (prefers-reduced-motion: reduce) {
  .hb-trail { animation: none; stroke-dashoffset: 0; }
  .hb-stars circle, .hb-sparkles path { animation: none; }
}
/* SVG側に光だまりがあるので、旧来の ::before は重ねない */
.hero:has(.hero-bg)::before { display: none; }
.hero-visual img { position: relative; }

.hero .wrap { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .82rem; font-weight: 700; letter-spacing: .08em;
  color: var(--gold); margin: 0 0 18px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  line-height: 1.45; letter-spacing: .01em; font-weight: 800;
}
.hero h1 .accent { color: var(--orange); }
@media (max-width: 560px) { .pc-br { display: none; } }
.hero p.lead { margin: 0 0 32px; font-size: 1.02rem; color: #C7D3E8; line-height: 2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin: 20px 0 0; font-size: .84rem; color: #8FA2C2; }

.hero-visual { display: flex; justify-content: center; }
.hero-visual img { width: min(260px, 100%); filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .35)); }

/* ---------------------------------------------------------------- sections */

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

.section-head { text-align: center; margin-bottom: 52px; }
.section-head .eyebrow { color: var(--orange); justify-content: center; }
.section-head .eyebrow .dot { background: var(--orange); }
.section-head h2 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 800; line-height: 1.5;
  color: var(--navy);
}
.section-head p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------------------------------------------------------------- problem */

.problem-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.problem-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px; display: flex; gap: 16px; align-items: flex-start;
}
.problem-card .x {
  flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%;
  background: #FDEAE3; color: var(--orange-d);
  display: grid; place-items: center; font-weight: 800; font-size: .95rem;
  margin-top: 4px;
}
.problem-card p { margin: 0; font-size: .96rem; line-height: 1.85; }

/* ---------------------------------------------------------------- features */

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.feature-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 30px; box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-card .num {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--navy); color: var(--gold);
  font-weight: 800; font-size: 1rem; margin-bottom: 16px;
}
.feature-card h3 { margin: 0 0 12px; font-size: 1.13rem; color: var(--navy); line-height: 1.6; }
.feature-card p { margin: 0; font-size: .95rem; color: var(--muted); line-height: 1.9; }

/* ---------------------------------------------------------------- genres */

.genre-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.genre-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; position: relative;
}
.genre-card h3 { margin: 0 0 8px; font-size: 1.04rem; color: var(--navy); }
.genre-card p { margin: 0; font-size: .89rem; color: var(--muted); line-height: 1.8; }
.tag {
  position: absolute; top: 18px; right: 18px;
  font-size: .72rem; font-weight: 700; padding: 4px 11px; border-radius: 999px;
  letter-spacing: .02em;
}
.tag-live { background: #E4F3EC; color: #1F7A55; }
.tag-soon { background: #EEF2F8; color: #7C8CA8; }

/* ---------------------------------------------------------------- flow */

.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.flow-step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; position: relative; text-align: center;
}
.flow-step .step-no {
  display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: .1em;
  color: var(--orange); margin-bottom: 12px;
}
.flow-step h3 { margin: 0 0 10px; font-size: 1rem; color: var(--navy); }
.flow-step p { margin: 0; font-size: .87rem; color: var(--muted); line-height: 1.8; }
.flow-step::after {
  content: ""; position: absolute; top: 50%; right: -12px;
  width: 9px; height: 9px; border-top: 2px solid var(--line); border-right: 2px solid var(--line);
  transform: translateY(-50%) rotate(45deg);
}
.flow-step:last-child::after { display: none; }

/* ---------------------------------------------------------------- advertiser */

.ad-band {
  background: var(--navy); color: #fff; border-radius: 20px;
  padding: 52px 56px; display: grid; grid-template-columns: 1.3fr .7fr;
  gap: 40px; align-items: center;
}
.ad-band h2 { margin: 0 0 16px; font-size: clamp(1.35rem, 2.4vw, 1.8rem); line-height: 1.6; }
.ad-band p { margin: 0 0 10px; color: #BDCBE2; font-size: .96rem; line-height: 1.95; }
.ad-band ul { margin: 18px 0 0; padding-left: 0; list-style: none; }
.ad-band li {
  position: relative; padding-left: 24px; margin-bottom: 10px;
  font-size: .94rem; color: #DCE5F2;
}
.ad-band li::before {
  content: ""; position: absolute; left: 0; top: .72em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--orange);
}
.ad-band .side { text-align: center; }

/* ---------------------------------------------------------------- faq */

.faq-list { max-width: 800px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: 0; text-align: left;
  padding: 24px 44px 24px 0; position: relative; cursor: pointer;
  font-size: 1rem; font-weight: 700; color: var(--navy); line-height: 1.7;
  font-family: inherit;
}
.faq-q::after {
  content: ""; position: absolute; right: 12px; top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--orange); border-bottom: 2px solid var(--orange);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq-item.open .faq-q::after { transform: translateY(-20%) rotate(-135deg); }
.faq-a { display: none; padding: 0 0 24px; color: var(--muted); font-size: .95rem; line-height: 1.95; }
.faq-item.open .faq-a { display: block; }

/* ---------------------------------------------------------------- cta */

.cta {
  background: linear-gradient(160deg, #16233E 0%, #1B2A4A 60%, #2A3E68 100%);
  color: #fff; text-align: center; padding: 84px 0;
}
.cta h2 { margin: 0 0 16px; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.6; }
.cta p { margin: 0 0 32px; color: #C7D3E8; font-size: .98rem; }
.cta .hero-actions { justify-content: center; }

/* ---------------------------------------------------------------- footer */

.site-footer { background: #101B31; color: #93A4C2; padding: 52px 0 34px; font-size: .88rem; }
.footer-top { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start; }
.site-footer .brand-name { color: #fff; }
.footer-desc { margin: 14px 0 0; max-width: 420px; line-height: 1.9; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .8rem; color: #6E7F9E;
}

/* ---------------------------------------------------------------- responsive */

@media (max-width: 900px) {
  .hero { padding: 60px 0 68px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 34px; }
  .hero-visual { order: -1; }
  .hero-visual img { width: 168px; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow-step:nth-child(2)::after { display: none; }
  .genre-grid { grid-template-columns: repeat(2, 1fr); }
  .ad-band { grid-template-columns: 1fr; padding: 40px 32px; }
  .ad-band .side { display: none; }
}

@media (max-width: 640px) {
  .nav { display: none; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 36px; }
  .problem-grid, .feature-grid, .genre-grid, .flow { grid-template-columns: 1fr; }
  .flow-step::after { display: none; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .cta .hero-actions .btn { width: 100%; }
  .feature-card, .ad-band { padding: 26px 22px; }
}

/* ================================================================ 下層ページ共通 */

.page-head {
  background: linear-gradient(160deg, #16233E 0%, #1B2A4A 70%, #24365C 100%);
  color: #fff; padding: 58px 0 62px; position: relative; overflow: hidden;
}
.page-head::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(460px 260px at 88% 10%, rgba(255, 107, 53, .2), transparent 70%);
}
.page-head .wrap { position: relative; }
.page-head h1 { margin: 0 0 12px; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; }
.page-head p { margin: 0; color: #C0CEE6; font-size: .95rem; line-height: 1.9; max-width: 720px; }

.crumb { font-size: .82rem; color: #8FA2C2; margin: 0 0 16px; }
.crumb a { text-decoration: none; }
.crumb a:hover { color: #fff; }

/* ================================================================ フィルター */

.filters {
  display: flex; flex-wrap: wrap; gap: 10px;
  padding: 26px 0 30px; border-bottom: 1px solid var(--line); margin-bottom: 32px;
}
.filter-btn {
  border: 1px solid var(--line); background: #fff; color: var(--muted);
  padding: 9px 18px; border-radius: 999px; cursor: pointer;
  font-size: .88rem; font-weight: 700; font-family: inherit;
  transition: all .15s ease;
}
.filter-btn:hover { border-color: var(--navy); color: var(--navy); }
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.result-count { font-size: .86rem; color: var(--muted); margin: 0 0 22px; }

/* ================================================================ 案件カード */

.program-list { display: flex; flex-direction: column; gap: 18px; }

.program-card {
  display: grid; grid-template-columns: 220px 1fr auto; gap: 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; align-items: center;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.program-card.is-live:hover {
  border-color: #C9D6E8; box-shadow: var(--shadow-lg); transform: translateY(-2px);
}
.program-card.is-soon { opacity: .72; background: #FAFCFE; }

/* サムネは案件サービスのOGP画像（1200×630）。枠も同じ比率にして切り抜かない */
.pc-thumb {
  position: relative; display: block; width: 220px; aspect-ratio: 1200 / 630;
  border-radius: 12px; overflow: hidden; background: #EEF2F8; border: 1px solid var(--line);
}
.pc-thumb > img:first-child { width: 100%; height: 100%; object-fit: cover; display: block; }
.pc-title { display: flex; align-items: center; gap: 10px; }
.pc-mark { width: 36px; height: 36px; flex: none; }
.pc-thumb.soon { display: grid; place-items: center; color: #9AAAC2; font-size: .84rem; font-weight: 800; background: #E7EDF5; }

.pc-body h3 { margin: 0 0 6px; font-size: 1.12rem; color: var(--navy); line-height: 1.55; }
.pc-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.chip {
  font-size: .74rem; font-weight: 700; padding: 3px 10px; border-radius: 999px;
  background: #EEF3FA; color: #4C6180;
}
.chip.cat { background: #FDEFE8; color: #C4501F; }
.pc-desc { margin: 0 0 14px; font-size: .9rem; color: var(--muted); line-height: 1.8; }

.pc-stats { display: flex; flex-wrap: wrap; gap: 26px; }
.stat .label { display: block; font-size: .72rem; color: #90A0B8; font-weight: 700; letter-spacing: .04em; }
.stat .value { display: block; font-size: 1.02rem; font-weight: 800; color: var(--navy); line-height: 1.6; }
.stat .value.sm { font-size: .92rem; }
.stat .value.na { color: #A6B3C7; font-weight: 700; }

.pc-action { display: flex; flex-direction: column; gap: 10px; align-items: stretch; min-width: 168px; }
.pc-action .btn { white-space: nowrap; }
.badge-soon {
  text-align: center; font-size: .82rem; font-weight: 700; color: #8494AC;
  background: #EEF2F8; border-radius: 999px; padding: 11px 18px;
}

/* ================================================================ 詳細ページ */

.detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }

.detail-block { margin-bottom: 42px; }
.detail-block h2 {
  margin: 0 0 16px; font-size: 1.22rem; color: var(--navy);
  padding-bottom: 12px; border-bottom: 2px solid var(--line);
}
.detail-block h2 .n { color: var(--orange); margin-right: 10px; font-size: .95rem; }
.detail-block p { margin: 0 0 14px; font-size: .95rem; line-height: 1.95; }
.detail-block p:last-child { margin-bottom: 0; }

.spec-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.spec-table th, .spec-table td {
  border: 1px solid var(--line); padding: 13px 16px; text-align: left; vertical-align: top;
}
.spec-table th { background: var(--bg-soft); width: 34%; color: var(--navy); font-weight: 700; }

.rule-list { margin: 0; padding: 0; list-style: none; }
.rule-list li {
  position: relative; padding: 11px 0 11px 32px;
  border-bottom: 1px dashed var(--line); font-size: .93rem; line-height: 1.8;
}
.rule-list li:last-child { border-bottom: 0; }
.rule-list li::before {
  position: absolute; left: 0; top: 11px;
  width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; font-size: .72rem; font-weight: 800;
}
.rule-list.ok li::before { content: "OK"; background: #E4F3EC; color: #1F7A55; font-size: .6rem; }
.rule-list.ng li::before { content: "NG"; background: #FDE7E2; color: #C4401F; font-size: .6rem; }

.note-box {
  background: #FFF8F2; border: 1px solid #F6DCC8; border-left: 4px solid var(--orange);
  border-radius: 10px; padding: 20px 24px; font-size: .92rem; line-height: 1.9;
}
.note-box strong { color: var(--orange-d); }

.side-card {
  position: sticky; top: 92px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow);
}
.side-card .side-logo { display: block; width: 100%; max-width: 220px; height: auto; margin: 0 auto 18px; }
.detail-hero { margin: 0 0 32px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.detail-hero img { display: block; width: 100%; height: auto; }
.side-card .reward-label { font-size: .76rem; color: #90A0B8; font-weight: 700; letter-spacing: .04em; }
.side-card .reward { font-size: 1.85rem; font-weight: 800; color: var(--navy); line-height: 1.4; margin: 2px 0 4px; }
.side-card .reward-sub { font-size: .84rem; color: var(--muted); margin: 0 0 20px; }
.side-card dl { margin: 0 0 22px; padding: 18px 0 0; border-top: 1px solid var(--line); font-size: .87rem; }
.side-card dt { color: #90A0B8; font-weight: 700; margin-bottom: 3px; }
.side-card dd { margin: 0 0 13px; color: var(--ink); font-weight: 700; }
.side-card dd:last-child { margin-bottom: 0; }
.side-card .btn { width: 100%; }
.side-note { margin: 12px 0 0; font-size: .78rem; color: #90A0B8; text-align: center; line-height: 1.7; }

/* ================================================================ 準備中パネル */

.gate-mask {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(16, 27, 49, .58); backdrop-filter: blur(3px);
  align-items: center; justify-content: center; padding: 20px;
}
.gate-mask.open { display: flex; }
.gate {
  background: #fff; border-radius: 18px; padding: 38px 34px;
  max-width: 420px; width: 100%; text-align: center; box-shadow: var(--shadow-lg);
}
.gate img { width: 54px; margin-bottom: 16px; }
.gate h3 { margin: 0 0 12px; font-size: 1.14rem; color: var(--navy); }
.gate p { margin: 0 0 24px; font-size: .92rem; color: var(--muted); line-height: 1.9; }
.gate .btn { width: 100%; margin-bottom: 10px; }
.gate .close {
  background: none; border: 0; color: var(--muted); font-size: .86rem;
  cursor: pointer; font-family: inherit; text-decoration: underline;
}

/* ================================================================ 下層 responsive */

@media (max-width: 900px) {
  .detail-grid { grid-template-columns: 1fr; gap: 30px; }
  .side-card { position: static; }
}
@media (max-width: 700px) {
  .program-card { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
  .pc-thumb { width: 100%; }
  .pc-thumb.soon { display: none; } /* 下の「準備中」バッジと重複するため */
  .pc-action { grid-column: 1 / -1; min-width: 0; }
  .pc-stats { gap: 18px; }
  .spec-table th, .spec-table td { display: block; width: auto; }
  .spec-table th { border-bottom: 0; }
}

/* ================================================================ ブログ */

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card {
  display: flex; flex-direction: column; text-decoration: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-thumb { aspect-ratio: 32 / 17; background: var(--navy); }
.post-thumb svg, .post-eyecatch svg { display: block; width: 100%; height: 100%; }
.post-card-body { padding: 20px 22px 24px; }
.post-card h2 { margin: 6px 0 10px; font-size: 1.02rem; line-height: 1.65; color: var(--navy); }
.post-card p { margin: 0; font-size: .86rem; color: var(--muted); line-height: 1.8; }
.post-card .post-meta { margin: 0; }

.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .8rem; color: var(--muted); }
.post-cat {
  display: inline-block; padding: 2px 10px; border-radius: 999px;
  background: #FFF1EA; color: var(--orange-d); font-weight: 700; font-size: .74rem;
}
.article-head .post-meta { color: #8FA2C2; margin-top: 14px; }
.article-head h1 { max-width: 820px; line-height: 1.6; }

.article-section { padding-top: 48px; }
.prose { max-width: 760px; margin-inline: auto; }
.post-eyecatch { aspect-ratio: 32 / 13; border-radius: var(--radius); overflow: hidden; margin-bottom: 32px; background: var(--navy); }
.prose .lead { font-size: 1.04rem; line-height: 2; margin: 0 0 12px; }
.prose h2 {
  margin: 52px 0 18px; padding: 0 0 12px 16px; position: relative;
  font-size: clamp(1.2rem, 2.4vw, 1.42rem); line-height: 1.6; color: var(--navy);
  border-bottom: 1px solid var(--line);
}
.prose h2::before {
  content: ""; position: absolute; left: 0; top: .3em; bottom: calc(12px + .3em);
  width: 5px; border-radius: 3px; background: linear-gradient(var(--orange), var(--gold));
}
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 1.4em; }
.prose li { margin-bottom: 8px; }
.prose table {
  width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: .9rem; line-height: 1.75;
  display: block; overflow-x: auto;
}
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; vertical-align: top; }
.prose th { background: var(--bg-soft); color: var(--navy); white-space: nowrap; }
.prose .figure { margin: 8px 0 24px; padding: 18px; background: var(--bg-soft); border-radius: var(--radius); }
.prose .figure svg { display: block; width: 100%; height: auto; }
.prose ol.steps { list-style: none; padding: 0; counter-reset: st; }
.prose ol.steps li {
  counter-increment: st; position: relative; padding: 14px 16px 14px 56px; margin-bottom: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
}
.prose ol.steps li::before {
  content: counter(st); position: absolute; left: 16px; top: 14px;
  width: 26px; height: 26px; border-radius: 8px; background: var(--navy); color: var(--gold);
  display: grid; place-items: center; font-weight: 800; font-size: .85rem; line-height: 1;
}
.prose .note {
  margin: 44px 0 0; padding: 22px 26px; border-radius: var(--radius);
  background: #FFF8EE; border: 1px solid #FFE0B8;
}
.prose .note-title { margin: 0 0 10px; font-weight: 800; color: var(--navy); }
.prose .note ul { margin: 0; }

@media (max-width: 900px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .post-grid { grid-template-columns: 1fr; }
  .prose .note { padding: 18px 18px; }
  /* 図の文字が潰れないよう、狭い画面では横スクロールにする */
  .prose .figure { overflow-x: auto; }
  .prose .figure svg { min-width: 560px; }
}

/* ---------------------------------------------------------------- 法務ページ（特商法・プライバシー・規約） */
.legal { padding-top: 48px; }
.legal .prose > p:first-child { margin-top: 0; }
.legal .prose table { display: table; }
.legal .prose th { width: 11em; white-space: normal; }
.legal .prose td a { color: var(--orange-d); word-break: break-all; }
.legal .prose ol li, .legal .prose ul li { line-height: 1.85; }
.legal-date { margin: 48px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: #6B7A93; font-size: .86rem; line-height: 1.9; }
@media (max-width: 640px) {
  /* 狭い画面では見出しセルを上に積む */
  .legal .prose table, .legal .prose tbody, .legal .prose tr, .legal .prose th, .legal .prose td { display: block; width: 100%; }
  .legal .prose tr { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-bottom: 10px; }
  .legal .prose th, .legal .prose td { border: 0; }
  .legal .prose th { padding-bottom: 6px; }
  .legal .prose td { padding-top: 8px; }
}

/* 準備中ポップアップ（assets/soon.js） */
.gate .soon-mail { font-size: .86rem; margin-bottom: 20px; }
.gate .soon-mail a { color: var(--orange-d); font-weight: 700; }

/* ---------- forms（contact / register / login） ---------- */
.form-page { padding-top: 48px; }
.form-card { max-width: 720px; margin-inline: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px 40px; }
.form-card.form-narrow { max-width: 460px; }
.form-intro { margin: 0 0 24px; line-height: 1.9; color: var(--muted); }
.form-notice { margin: 0 0 24px; padding: 14px 18px; background: #FFF4EC; border: 1px solid #FFD2BA; border-radius: 10px; font-size: .92rem; line-height: 1.8; color: var(--ink); }
.form-notice strong { display: block; color: var(--orange-d); }
.form-steps { list-style: none; counter-reset: fs; margin: 0 0 8px; padding: 0; display: grid; gap: 8px; }
.form-steps li { counter-increment: fs; position: relative; padding: 10px 14px 10px 46px; background: var(--bg-soft); border-radius: 10px; font-size: .9rem; font-weight: 700; color: var(--navy); }
.form-steps li::before { content: counter(fs); position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: #fff; font-size: .78rem; display: grid; place-items: center; }
.form-h { margin: 36px 0 6px; padding-bottom: 10px; border-bottom: 2px solid var(--line); font-size: 1.1rem; color: var(--navy); }
.form-sub { margin: 0 0 8px; font-size: .88rem; color: var(--muted); }
.field { margin-top: 20px; }
.field > label { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-weight: 700; font-size: .92rem; color: var(--navy); }
.req, .opt { font-size: .68rem; font-weight: 800; padding: 2px 7px; border-radius: 4px; letter-spacing: .04em; }
.req { background: var(--orange); color: #fff; }
.opt { background: var(--line); color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="url"],
.field input[type="date"], .field input[type="password"], .field select, .field textarea {
  width: 100%; min-width: 0; box-sizing: border-box; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid #CCD6E4; border-radius: 10px; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; line-height: 1.8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(74, 157, 255, .18); }
.field .hint { margin: 6px 0 0; font-size: .8rem; color: #7C8AA3; line-height: 1.7; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.choice { display: inline-flex; align-items: flex-start; gap: 8px; padding: 9px 14px; border: 1px solid #CCD6E4; border-radius: 10px; font-size: .92rem; line-height: 1.6; cursor: pointer; background: #fff; }
.choice input { margin: 4px 0 0; accent-color: var(--orange); flex-shrink: 0; }
.agree { display: grid; gap: 10px; margin-top: 12px; }
.agree .choice { display: flex; }
.agree a, .form-foot a, .form-fallback a { color: var(--orange-d); font-weight: 700; }
.form-error { margin: 18px 0 0; color: #D33A2C; font-weight: 700; font-size: .9rem; }
.btn-block { display: flex; width: 100%; justify-content: center; margin-top: 28px; border: 0; cursor: pointer; font: inherit; font-weight: 800; }
.form-foot { margin: 16px 0 0; text-align: center; font-size: .88rem; color: var(--muted); }
.form-fallback { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); text-align: center; font-size: .9rem; color: var(--muted); }
.form-fallback p { margin: 0 0 8px; }
.form-fallback .mail { font-size: 1.15rem; }
.form-fallback .small { margin-top: 16px; font-size: .8rem; line-height: 1.8; }
@media (max-width: 640px) {
  .form-page { padding-top: 32px; }
  .form-card { padding: 24px 18px; border-radius: 12px; }
  .choice { font-size: .88rem; }
}
