/* IderCast LP / 申込フォーム  ダーク × シャンパンゴールド */
:root {
  --bg0: #0a0a0c; --bg1: #101012; --bg2: #161619; --bg3: #1d1d21;
  --line: #242428; --line2: #32323a;
  --tx: #ebe8e1; --tx2: #a6a39c; --tx3: #6d6b67;
  --gold: #c9a96e; --gold-hi: #e0c691; --gold-dim: rgba(201, 169, 110, .12); --gold-line: rgba(201, 169, 110, .45);
  --danger: #e0877b; --ok: #9cc5a4;
  --sans: 'Inter', 'Noto Sans JP', system-ui, -apple-system, 'Hiragino Sans', sans-serif;
  --serif: 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gut: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg0); color: var(--tx);
  font-family: var(--sans); font-size: 16px; line-height: 1.9;
  word-break: auto-phrase; line-break: strict; overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--gold-hi); text-underline-offset: 3px; }
a:hover { color: var(--tx); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
b { font-weight: 600; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gut); }

/* ボタン */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 30px;
  background: var(--gold); color: #17130a; font-weight: 700; font-size: 16px; line-height: 1.4; text-decoration: none;
  border: 0; border-radius: 8px; cursor: pointer; font-family: inherit;
  transition: background .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { background: var(--gold-hi); color: #17130a; box-shadow: 0 0 0 4px var(--gold-dim); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 7px; white-space: nowrap; }
.btn-ghost { display: inline-flex; align-items: center; min-height: 52px; padding: 0 8px; color: var(--tx); text-decoration: none; border-bottom: 1px solid var(--gold-line); align-self: center; }
.btn-ghost:hover { color: var(--gold-hi); }
.btn-line { background: transparent; color: var(--tx); border: 1px solid var(--line2); }
.btn-line:hover { background: var(--bg3); color: var(--tx); box-shadow: none; border-color: var(--gold-line); }

/* ヘッダー */
.hd { position: sticky; top: 0; z-index: 20; background: rgba(10, 10, 12, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.hd-in { display: flex; align-items: center; gap: 20px; height: 64px; }
.logo { font-weight: 600; font-size: 20px; letter-spacing: .01em; color: var(--tx); text-decoration: none; margin-right: auto; }
.hd-nav { display: none; gap: 28px; }
.hd-nav a { color: var(--tx2); text-decoration: none; font-size: 14px; }
.hd-nav a:hover { color: var(--gold-hi); }

/* ヒーロー */
.hero {
  position: relative; padding: 56px 0 72px; overflow: hidden;
  background:
    radial-gradient(900px 520px at 85% -10%, rgba(201, 169, 110, .16), transparent 70%),
    radial-gradient(700px 420px at 0% 30%, rgba(201, 169, 110, .06), transparent 70%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, rgba(235, 232, 225, .045) 1px, transparent 1px), linear-gradient(to bottom, rgba(235, 232, 225, .045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 78%); mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
}
.hero .wrap { position: relative; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 12px; border: 1px solid var(--gold-line); border-radius: 999px; background: var(--gold-dim); color: var(--gold-hi); font-size: 14px; line-height: 1.6; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; }
.hero-title { margin-top: 28px; font-family: var(--serif); font-weight: 600; font-size: clamp(29px, 5.2vw, 60px); line-height: 1.38; letter-spacing: .01em; }
.hero-lead { margin-top: 24px; color: var(--tx2); font-size: clamp(15px, 1.6vw, 18px); }
.hero-cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px 28px; }
.hero-note { margin-top: 20px; color: var(--tx2); font-size: 14px; padding-left: 14px; border-left: 2px solid var(--gold-line); }
.shot { position: relative; }
.shot img { width: 100%; border: 1px solid var(--line2); border-radius: 12px; background: var(--bg1); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(201, 169, 110, .08), 0 0 120px -40px rgba(201, 169, 110, .35); }
.shot figcaption { margin-top: 12px; color: var(--tx3); font-size: 13px; }
.hero-shot { margin-top: 56px; }

/* セクション */
.sec { padding: 72px 0; border-top: 1px solid var(--line); }
.sec-alt { background: var(--bg1); }
.sec h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(23px, 3.4vw, 36px); line-height: 1.5; }
.sec-lead { margin-top: 18px; color: var(--tx2); }
.sec-lead b { color: var(--gold-hi); }
.fine { margin-top: 24px; color: var(--tx3); font-size: 13px; line-height: 1.8; }
.sec h3 { font-size: 17px; font-weight: 600; line-height: 1.6; }

/* 課題 */
.vs { margin-top: 44px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.vs-col { padding: 28px 22px; border: 1px solid var(--line2); border-radius: 12px; background: var(--bg1); }
.vs-new { border-color: var(--gold-line); background: linear-gradient(180deg, rgba(201, 169, 110, .08), rgba(201, 169, 110, .02)); }
.vs-col h3 { color: var(--tx2); font-size: 15px; }
.vs-new h3 { color: var(--gold-hi); }
.vs-list { margin-top: 8px; }
.vs-list li { padding: 18px 0; border-top: 1px solid var(--line); }
.vs-list li:first-child { border-top: 0; }
.vs-list b { display: block; font-weight: 500; }
.vs-list span { display: block; margin-top: 4px; color: var(--tx2); font-size: 14px; line-height: 1.8; }

/* 仕組み図 */
.diagram { margin-top: 44px; padding: 20px 12px; border: 1px solid var(--line2); border-radius: 14px; background: var(--bg0); }
.dg { width: 100%; height: auto; margin: 0 auto; }
.dg-wide { display: none; }
.dg-tall { max-width: 420px; }
.dg-zone { fill: rgba(201, 169, 110, .045); stroke: var(--gold-line); stroke-width: 1; }
.dg-zone-r { fill: rgba(235, 232, 225, .03); stroke: var(--line2); }
.dg-zt { fill: var(--gold-hi); font: 500 15px var(--sans); }
.dg-row { fill: var(--bg2); stroke: var(--line2); stroke-width: 1; }
.dg-hi { stroke: var(--gold-line); fill: #1b1a16; }
.dg-view { fill: var(--bg3); stroke: var(--line2); }
.dg-t { fill: var(--tx); font: 400 16px var(--sans); }
.dg-tall .dg-t { font-size: 13.5px; }
.dg-c { font-weight: 500; }
.dg-m { fill: var(--tx3); font: 400 14px var(--sans); }
.dg-tall .dg-m, .dg-tall .dg-zt { font-size: 12.5px; }
.dg-lbl { fill: var(--tx2); font: 400 13.5px var(--sans); }
.dg-tall .dg-lbl { font-size: 12px; }
.dg-line { fill: none; stroke: var(--gold); stroke-width: 1.5; }
.dg-line-b { stroke: var(--gold-hi); }
.dg-dash { stroke-dasharray: 5 5; stroke: var(--tx2); }
.dg-ahp { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
marker { color: var(--gold); }
.pts { margin-top: 44px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.pt { padding: 24px 0; border-top: 1px solid var(--line2); }
.pt p { margin-top: 8px; color: var(--tx2); font-size: 15px; }

/* 編集体験 */
.sec .shot { margin-top: 40px; }
.split { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
.split p { margin-top: 12px; color: var(--tx2); }
.split .shot { margin-top: 0; }

/* AI */
.ai-flow { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.ai-flow li { position: relative; padding: 22px 0 22px 28px; border-top: 1px solid var(--line2); }
.ai-flow li::before { content: ""; position: absolute; left: 0; top: 33px; width: 9px; height: 9px; border: 1.5px solid var(--gold); border-radius: 50%; background: var(--bg1); }
.ai-flow li:last-child::before { background: var(--gold); }
.ai-flow b { display: block; font-weight: 600; }
.ai-flow span { display: block; margin-top: 4px; color: var(--tx2); font-size: 15px; }

/* 組織 */
.feat { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.f { padding: 22px 0; border-top: 1px solid var(--line2); }
.f p { margin-top: 6px; color: var(--tx2); font-size: 15px; }

/* 料金表 */
.scroll-hint { display: none; margin-top: 28px; margin-bottom: -20px; color: var(--tx3); font-size: 13px; }
.tbl-wrap { margin-top: 36px; overflow-x: auto; border: 1px solid var(--line2); border-radius: 12px; background: var(--bg0); -webkit-overflow-scrolling: touch; }
.tbl { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 880px; font-size: 14px; line-height: 1.6; }
.tbl th, .tbl td { padding: 13px 14px; text-align: center; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl thead th { background: var(--bg2); color: var(--tx); font-weight: 600; font-size: 14px; white-space: nowrap; }
.tbl tbody th { text-align: left; font-weight: 400; color: var(--tx2); min-width: 190px; background: var(--bg0); position: sticky; left: 0; z-index: 1; border-right: 1px solid var(--line); }
.tbl thead th:first-child { position: sticky; left: 0; z-index: 2; }
.tbl tbody tr:last-child th, .tbl tbody tr:last-child td { border-bottom: 0; }
.tbl .r-price td { font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--gold-hi); white-space: nowrap; }
.tbl .r-price th { color: var(--tx); }
.tbl .r-who td { font-size: 12.5px; color: var(--tx2); }
.tbl .ok { color: var(--gold-hi); }
.tbl .no { color: var(--tx3); }
.tbl .grp th { background: var(--bg2); color: var(--tx); font-weight: 600; position: static; border-right: 0; }
.tbl th[colspan] { text-align: left; }

/* 流れ */
.steps { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.steps li { position: relative; padding: 24px 0 24px 30px; border-left: 1px solid var(--gold-line); margin-left: 4px; }
.steps li::before { content: ""; position: absolute; left: -5px; top: 33px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.steps b { display: block; font-weight: 600; font-size: 17px; }
.steps span { display: block; margin-top: 6px; color: var(--tx2); }

/* FAQ */
.faq { margin-top: 36px; border-bottom: 1px solid var(--line2); }
.faq details { border-top: 1px solid var(--line2); }
.faq summary { position: relative; padding: 20px 40px 20px 0; cursor: pointer; list-style: none; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 22px; color: var(--tx2); font-size: 15px; }

/* CTA */
.cta-sec { padding: 88px 0; border-top: 1px solid var(--line); text-align: center; background: radial-gradient(800px 360px at 50% 100%, rgba(201, 169, 110, .14), transparent 70%); }
.cta-in { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.cta-sec h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 3.2vw, 34px); line-height: 1.5; }
.cta-sec p { color: var(--tx2); }

/* フッター */
.ft { padding: 40px 0 48px; border-top: 1px solid var(--line); background: var(--bg0); }
.ft-in { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 28px; }
.ft-logo { font-weight: 600; font-size: 18px; margin-right: auto; }
.ft-op, .ft-links { color: var(--tx2); font-size: 14px; }
.ft-links a { color: var(--tx2); }

/* ========== 申込フォーム ========== */
.ap-main { padding: 48px 0 88px; }
.ap-wrap { max-width: 880px; }
.ap-main h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(25px, 4vw, 38px); line-height: 1.5; }
.ap-lead { margin-top: 16px; color: var(--tx2); }
.notice { margin-top: 28px; padding: 16px 18px; border: 1px solid var(--gold-line); border-radius: 10px; background: var(--gold-dim); color: var(--tx); font-size: 15px; line-height: 1.8; }
.notice b { color: var(--gold-hi); }
.err-box { margin-top: 28px; padding: 16px 18px; border: 1px solid rgba(224, 135, 123, .55); border-radius: 10px; background: rgba(224, 135, 123, .08); font-size: 15px; }
.err-box b { color: var(--danger); display: block; margin-bottom: 4px; }
.err-box ul { list-style: disc; padding-left: 1.3em; }
.form { margin-top: 36px; display: grid; gap: 28px; }
.fld { display: grid; gap: 8px; min-width: 0; align-content: start; }
fieldset.fld { border: 0; padding: 0; margin: 0; }
.lbl, fieldset.fld > legend { font-weight: 500; font-size: 15px; padding: 0; }
.req { margin-left: 8px; padding: 1px 8px; border-radius: 4px; background: var(--gold); color: #17130a; font-size: 12px; font-weight: 700; vertical-align: 1px; }
.opt { margin-left: 8px; color: var(--tx3); font-size: 12px; font-weight: 400; }
.hint { color: var(--tx3); font-size: 13px; line-height: 1.7; }
.in, .ta, .sel {
  width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; font-size: 16px; line-height: 1.5; color: var(--tx);
  background: var(--bg1); border: 1px solid var(--line2); border-radius: 8px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.ta { min-height: 160px; resize: vertical; }
.in:focus, .ta:focus, .sel:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-dim); }
.in.bad, .ta.bad, .sel.bad { border-color: var(--danger); }
.msg { color: var(--danger); font-size: 14px; }
.sel { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.opts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.opt-i { position: relative; display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line2); border-radius: 8px; background: var(--bg1); cursor: pointer; font-size: 15px; line-height: 1.5; }
.opt-i:hover { border-color: var(--gold-line); }
.opt-i input { accent-color: var(--gold); width: 18px; height: 18px; margin: 0; flex: none; }
.opt-i:has(input:checked) { border-color: var(--gold); background: var(--gold-dim); }
.opt-i:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.two { align-items: start; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; border: 1px solid var(--line2); border-radius: 10px; background: var(--bg1); font-size: 15px; line-height: 1.7; }
.consent input { accent-color: var(--gold); width: 20px; height: 20px; margin: 3px 0 0; flex: none; }
.consent.bad { border-color: var(--danger); }
.count { text-align: right; color: var(--tx3); font-size: 13px; }
.acts { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 4px; }
.acts.mt { margin-top: 32px; }
.acts form { margin: 0; }
.sum { margin-top: 32px; border-top: 1px solid var(--line2); }
.sum div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line2); }
.sum dt { color: var(--tx3); font-size: 13px; }
.sum dd { white-space: pre-wrap; overflow-wrap: anywhere; }
.done-mark { width: 52px; height: 52px; border: 1.5px solid var(--gold); border-radius: 50%; display: grid; place-items: center; color: var(--gold-hi); }
.thanks h1 { margin-top: 24px; }
.thanks ul { margin-top: 24px; list-style: disc; padding-left: 1.3em; color: var(--tx2); }
.thanks li + li { margin-top: 6px; }

@media (min-width: 720px) {
  :root { --gut: 28px; }
  .hd-nav { display: flex; }
  .hero { padding: 88px 0 96px; }
  .sec { padding: 104px 0; }
  .vs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .vs-col { padding: 34px 32px; }
  .dg-wide { display: block; }
  .dg-tall { display: none; }
  .diagram { padding: 36px 32px; }
  .pts { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; }
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; }
  .ai-flow { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .ai-flow li { padding: 26px 0 0; border-top: 1px solid var(--gold-line); }
  .ai-flow li::before { left: 0; top: -5px; }
  .feat { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .steps li { border-left: 0; margin-left: 0; padding: 30px 0 0; border-top: 1px solid var(--gold-line); }
  .steps li::before { left: 0; top: -5px; }
  .opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sum div { grid-template-columns: 240px minmax(0, 1fr); gap: 24px; }
  .ft-in { flex-wrap: nowrap; }
}
@media (min-width: 1100px) {
  :root { --gut: 40px; }
  .hero-lead { max-width: 1040px; }
}
@media (max-width: 719px) {
  .tbl { min-width: 780px; font-size: 12.5px; }
  .tbl th, .tbl td { padding: 10px 8px; }
  .tbl tbody th { min-width: 118px; max-width: 118px; font-size: 12px; }
  .tbl .r-price td { font-size: 16px; }
  .tbl .r-who td { font-size: 11.5px; }
  .scroll-hint { display: block; }
  .btn { width: 100%; }
  .btn-sm { width: auto; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn-ghost { justify-content: center; align-self: flex-start; }
  .acts .btn { width: 100%; }
  .acts form { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
