/* OptiReach 製品サイト 共通スタイル */
:root {
  --ink: #161A2B;
  --ink-2: #4B5166;
  --ink-3: #7A8093;
  --orange: #F57A2C;
  --orange-deep: #D9631A;
  --o1: #FF8A3D;
  --o2: #FFD23F;
  --grad: linear-gradient(120deg, #FF8A3D 0%, #FFD23F 100%);
  --cream: #FFF8EE;
  --cream-2: #FFF0DA;
  --line: #EDE5D8;
  --line-2: #F3EEE6;
  --white: #FFFFFF;
  --radius: 20px;
  --radius-s: 12px;
  --shadow: 0 1px 2px rgba(22, 26, 43, .04), 0 8px 28px rgba(22, 26, 43, .07);
  --wrap: 1120px;
  --font: Arial, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: .02em;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--orange-deep); text-underline-offset: 3px; }
a:hover { color: var(--orange); }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.45; margin: 0; letter-spacing: .03em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(245, 122, 44, .55); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 0;
  font-weight: 700; font-size: 15px; letter-spacing: .04em;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn-primary { background: var(--grad); color: var(--ink); box-shadow: 0 6px 18px rgba(255, 138, 61, .32); }
.btn-primary:hover { color: var(--ink); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(255, 138, 61, .38); }
.btn-ghost { background: var(--white); color: var(--ink); border: 1.5px solid var(--ink); }
.btn-ghost:hover { color: var(--ink); background: var(--cream); }
.btn-s { min-height: 40px; padding: 0 18px; font-size: 13.5px; }
.btn-block { width: 100%; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 30px; width: auto; }
.gnav { display: flex; align-items: center; gap: 28px; }
.gnav a.nav-link { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; }
.gnav a.nav-link:hover { color: var(--orange); }
@media (max-width: 760px) {
  .gnav a.nav-link { display: none; }
  .brand img { height: 26px; }
  .header-inner { height: 58px; }
  .gnav .btn-s { padding: 0 14px; font-size: 12.5px; }
}

/* ---------- 共通の見出し ---------- */
.section { padding: 96px 0; }
.section-cream { background: var(--cream); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--orange-deep);
}
.eyebrow::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: var(--grad); }
.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(24px, 3.2vw, 34px); margin-top: 12px; }
.section-head p { margin-top: 16px; color: var(--ink-2); }
@media (max-width: 760px) {
  .section { padding: 68px 0; }
  .section-head { margin-bottom: 36px; text-align: left; }
}

/* ---------- ファーストビュー ---------- */
.hero { position: relative; padding: 64px 0 88px; background: linear-gradient(180deg, #FFFFFF 0%, var(--cream) 100%); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; right: -180px; top: -160px; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 210, 63, .28), rgba(255, 138, 61, .10) 60%, transparent);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line);
  font-size: 13px; font-weight: 600; color: var(--ink-2);
}
.hero-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.hero h1 { margin-top: 20px; font-size: clamp(30px, 4.4vw, 46px); line-height: 1.38; letter-spacing: .04em; }
.hero h1 .accent { color: var(--orange); }
.hero-lead { margin-top: 20px; font-size: 16.5px; color: var(--ink-2); max-width: 34em; }
.hero-price {
  margin-top: 28px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 18px 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow);
  max-width: 520px;
}
.hero-price .label { font-size: 13px; font-weight: 700; color: var(--ink-2); line-height: 1.5; }
.hero-price .amount { display: flex; align-items: baseline; gap: 4px; color: var(--ink); line-height: 1; }
.hero-price .amount .num { font-size: 40px; font-weight: 700; letter-spacing: .01em; }
.hero-price .amount .unit { font-size: 15px; font-weight: 700; }
.hero-price .amount .tax { font-size: 12px; color: var(--ink-3); margin-left: 4px; }
.hero-price .what { font-size: 14px; font-weight: 600; line-height: 1.6; }
.hero-price .what strong { color: var(--orange); }
.hero-price .what small { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: var(--ink-3); }
.hero-cta { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 12.5px; color: var(--ink-3); line-height: 1.7; }
@media (max-width: 900px) {
  .hero { padding: 36px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-lead { font-size: 15.5px; }
  .hero-price .amount .num { font-size: 34px; }
  .hero-cta .btn { flex: 1 1 100%; }
}

/* ---------- スマホ画面のイラスト ---------- */
.mock { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.mock-caption { width: 300px; text-align: center; font-size: 11.5px; color: var(--ink-3); margin-top: 14px; }
.phone {
  position: relative; width: 300px; border-radius: 44px; padding: 10px;
  background: #1D2133;
  box-shadow: 0 30px 60px rgba(22, 26, 43, .18), 0 6px 16px rgba(22, 26, 43, .10), inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.screen { position: relative; border-radius: 35px; overflow: hidden; background: #F6F2EC; height: 620px; display: flex; flex-direction: column; }
.screen-status { display: flex; justify-content: space-between; align-items: center; padding: 12px 24px 4px; font-size: 11px; font-weight: 700; color: var(--ink); background: var(--white); }
.screen-status .notch { width: 84px; height: 22px; border-radius: 12px; background: #1D2133; }
.screen-status .icons { display: flex; gap: 4px; align-items: center; }
.screen-status .icons i { display: block; width: 14px; height: 8px; border-radius: 2px; border: 1.5px solid var(--ink); }
.screen-head { display: flex; align-items: center; gap: 10px; padding: 8px 16px 12px; background: var(--white); border-bottom: 1px solid var(--line-2); }
.screen-head .back { width: 9px; height: 9px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); margin-left: 4px; }
.screen-head .shop { font-size: 13px; font-weight: 700; line-height: 1.3; }
.screen-head .shop small { display: block; font-size: 10px; color: var(--ink-3); font-weight: 400; }
.chat { flex: 1; min-height: 0; padding: 12px 12px 10px; display: flex; flex-direction: column; justify-content: flex-end; gap: 9px; overflow: hidden; }
.chat .day { align-self: center; font-size: 10px; color: var(--ink-3); background: rgba(22, 26, 43, .06); padding: 2px 10px; border-radius: 999px; }
.msg { display: flex; gap: 6px; align-items: flex-end; max-width: 100%; }
.msg .av { width: 26px; height: 26px; border-radius: 50%; background: var(--white); border: 1px solid var(--line); flex-shrink: 0; display: grid; place-items: center; }
.msg .av img { width: 18px; height: 18px; }
.bubble { background: var(--white); border-radius: 16px 16px 16px 4px; padding: 8px 11px; font-size: 11.5px; line-height: 1.6; max-width: 200px; box-shadow: 0 1px 1px rgba(22, 26, 43, .04); }
.msg .time { font-size: 9px; color: var(--ink-3); }
.msg.me { justify-content: flex-end; }
.msg.me .bubble { background: #FFE2C4; border-radius: 16px 16px 4px 16px; }
.card-msg { width: 190px; background: var(--white); border-radius: 14px; overflow: hidden; box-shadow: 0 1px 1px rgba(22, 26, 43, .04); }
.card-msg .ph { height: 44px; background: linear-gradient(135deg, #FFE7C9 0%, #FFD9A8 55%, #FFC97A 100%); position: relative; }
.card-msg .ph::after { content: ""; position: absolute; left: 14px; bottom: 12px; width: 46px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .8); box-shadow: 0 -12px 0 rgba(255, 255, 255, .55); }
.card-msg .bd { padding: 8px 11px 4px; font-size: 11px; line-height: 1.55; }
.card-msg .bd b { display: block; font-size: 12px; }
.card-msg .bt { margin: 6px 10px 10px; text-align: center; font-size: 11px; font-weight: 700; color: var(--orange-deep); border: 1px solid #FFD2AE; border-radius: 8px; padding: 5px 0; }
.richmenu { background: var(--white); border-top: 1px solid var(--line-2); padding: 8px 8px 14px; }
.rm-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 6px; background: var(--cream); padding: 3px; border-radius: 10px; }
.rm-tabs span { text-align: center; font-size: 10.5px; font-weight: 700; padding: 4px 0; border-radius: 8px; color: var(--ink-3); }
.rm-tabs span.on { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(22, 26, 43, .08); }
.rm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.rm-grid div { background: var(--cream); border-radius: 10px; padding: 9px 2px 7px; text-align: center; font-size: 10px; font-weight: 700; line-height: 1.3; }
.rm-grid div svg { width: 20px; height: 20px; margin: 0 auto 4px; stroke: var(--orange); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rm-grid div.main { background: var(--grad); }
.rm-grid div.main svg { stroke: var(--ink); }
.float-card {
  position: absolute; background: var(--white); border-radius: 16px; padding: 12px 14px; box-shadow: var(--shadow); border: 1px solid var(--line);
  font-size: 12px; line-height: 1.55; width: 196px;
}
.float-card .k { display: inline-block; font-size: 10.5px; font-weight: 700; color: var(--orange-deep); background: var(--cream-2); padding: 1px 8px; border-radius: 999px; margin-bottom: 4px; }
.float-card.a { left: 324px; top: 96px; }
.float-card.b { left: 324px; top: 360px; }
@media (max-width: 1100px) {
  .float-card { display: none; }
  .mock { align-items: center; }
}
@media (max-width: 360px) { .phone { width: 280px; } }

/* ---------- お困りごと ---------- */
.worries { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.worry { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 22px; }
.worry .q { display: flex; gap: 12px; font-weight: 700; font-size: 16px; line-height: 1.6; }
.worry .q::before { content: ""; flex-shrink: 0; width: 8px; height: 8px; margin-top: 9px; border-radius: 50%; background: var(--grad); }
.worry .a { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 14.5px; color: var(--ink-2); line-height: 1.8; }
.worry .a b { color: var(--orange-deep); font-weight: 700; }

/* ---------- 機能 ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--white); border-radius: var(--radius); padding: 28px 26px; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(22, 26, 43, .03); }
.feature .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--cream-2); display: grid; place-items: center; }
.feature .ic svg { width: 26px; height: 26px; stroke: var(--orange); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin-top: 16px; font-size: 19px; }
.feature p.desc { margin-top: 8px; font-size: 14px; color: var(--ink-2); line-height: 1.75; }
.feature ul { list-style: none; margin-top: 14px; display: grid; gap: 6px; }
.feature li { position: relative; padding-left: 20px; font-size: 14px; line-height: 1.65; }
.feature li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 9px; height: 5px; border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(-45deg); }
.features-note { margin-top: 24px; text-align: center; font-size: 13px; color: var(--ink-3); }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .features { grid-template-columns: 1fr; } .features-note { text-align: left; } }

/* ---------- OptiLync 連携 ---------- */
.link-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 48px; align-items: center; }
.link-copy h2 { font-size: clamp(24px, 3vw, 32px); margin-top: 12px; }
.link-copy p { margin-top: 16px; color: var(--ink-2); }
.link-copy .free-note { margin-top: 22px; padding: 16px 18px; border-radius: var(--radius-s); background: var(--white); border: 1px solid var(--line); font-size: 14px; color: var(--ink); }
.link-copy .free-note b { color: var(--orange-deep); }
.flow3 { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 10px; margin-bottom: 18px; }
.flow3 .node { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 14px 8px; text-align: center; font-size: 12.5px; line-height: 1.5; }
.flow3 .node b { display: block; font-size: 14px; }
.flow3 .node.center { background: var(--grad); border-color: transparent; }
.flow3 .arrow { width: 18px; height: 2px; background: var(--orange); position: relative; }
.flow3 .arrow::after { content: ""; position: absolute; right: -1px; top: -4px; border-left: 7px solid var(--orange); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.scenes { display: grid; gap: 10px; }
.scene { display: grid; grid-template-columns: 128px 1fr; gap: 14px; align-items: start; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.scene .when { font-size: 12.5px; font-weight: 700; color: var(--orange-deep); background: var(--cream-2); border-radius: 10px; padding: 6px 10px; line-height: 1.5; text-align: center; }
.scene .what { font-size: 14px; line-height: 1.7; }
.scene .what small { display: block; color: var(--ink-3); font-size: 12px; }
@media (max-width: 900px) { .link-grid { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 480px) {
  .scene { grid-template-columns: 1fr; gap: 8px; }
  .scene .when { justify-self: start; }
  .flow3 { gap: 6px; }
  .flow3 .node { font-size: 11px; padding: 10px 4px; }
  .flow3 .node b { font-size: 12.5px; }
  .flow3 .arrow { width: 10px; }
}

/* ---------- 料金 ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 30px 26px 26px; }
.plan.rec { border: 2px solid transparent; background: linear-gradient(var(--white), var(--white)) padding-box, var(--grad) border-box; box-shadow: 0 16px 40px rgba(255, 138, 61, .16); }
.plan .badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--grad); color: var(--ink); font-size: 12.5px; font-weight: 700; padding: 4px 16px; border-radius: 999px; white-space: nowrap; }
.plan h3 { font-size: 20px; }
.plan .for { margin-top: 4px; font-size: 13px; color: var(--ink-3); }
.plan .price { margin-top: 18px; display: flex; align-items: baseline; gap: 4px; line-height: 1; }
.plan .price .num { font-size: 40px; font-weight: 700; }
.plan .price .unit { font-size: 15px; font-weight: 700; }
.plan .price .tax { font-size: 12px; color: var(--ink-3); margin-left: 4px; }
.plan ul { list-style: none; margin: 22px 0 24px; display: grid; gap: 8px; flex: 1; }
.plan li { position: relative; padding-left: 22px; font-size: 14px; line-height: 1.65; }
.plan li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 10px; height: 5px; border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(-45deg); }
.line-fee {
  margin-top: 22px; display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px; border-radius: var(--radius-s); background: var(--cream); border: 1px solid #F6DFC0; font-size: 14px; line-height: 1.8;
}
.line-fee .mark { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.line-fee b { font-weight: 700; }
.limits-wrap { margin-top: 40px; }
.limits-wrap h3 { font-size: 19px; margin-bottom: 14px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
table.limits { width: 100%; border-collapse: collapse; min-width: 600px; font-size: 14px; }
table.limits th, table.limits td { padding: 13px 14px; border-bottom: 1px solid var(--line-2); text-align: center; vertical-align: middle; line-height: 1.55; }
table.limits thead th { background: var(--cream); font-size: 13.5px; font-weight: 700; }
table.limits thead th.rec { background: #FFE9CF; }
table.limits tbody th { text-align: left; font-weight: 600; width: 32%; }
table.limits td.rec { background: #FFFAF3; font-weight: 600; }
table.limits tr:last-child th, table.limits tr:last-child td { border-bottom: 0; }
.nw { white-space: nowrap; }
@media (max-width: 640px) {
  table.limits { min-width: 520px; font-size: 13px; }
  table.limits th, table.limits td { padding: 11px 10px; }
  table.limits tbody th, table.limits thead th:first-child { position: sticky; left: 0; z-index: 1; width: 136px; min-width: 136px; box-shadow: 1px 0 0 var(--line-2); }
  table.limits tbody th { background: var(--white); }
}
.scroll-hint { display: none; font-size: 12px; color: var(--ink-3); margin-top: 8px; }
.notes { margin-top: 20px; list-style: none; display: grid; gap: 6px; font-size: 13px; color: var(--ink-2); line-height: 1.75; }
.notes li { position: relative; padding-left: 1.2em; }
.notes li::before { content: "※"; position: absolute; left: 0; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; gap: 28px; } }
@media (max-width: 640px) { .scroll-hint { display: block; } }

/* ---------- 他社の料金 ---------- */
.compare { display: grid; gap: 14px; }
.cmp-row { display: grid; grid-template-columns: 200px 1fr; gap: 16px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; }
.cmp-row.ours { border: 2px solid transparent; background: linear-gradient(var(--white), var(--white)) padding-box, var(--grad) border-box; }
.cmp-name b { display: block; font-size: 16.5px; }
.cmp-name small { display: block; font-size: 12px; color: var(--ink-3); line-height: 1.5; margin-top: 2px; }
.cmp-name a { font-size: 12px; }
.cmp-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cmp-plans div { background: var(--cream); border-radius: 12px; padding: 8px 10px; text-align: center; }
.cmp-plans div span { display: block; font-size: 12px; color: var(--ink-2); line-height: 1.4; }
.cmp-plans div b { display: block; font-size: 17px; font-weight: 700; line-height: 1.5; }
.cmp-plans div.empty { background: transparent; }
@media (max-width: 760px) {
  .cmp-row { grid-template-columns: 1fr; gap: 12px; padding: 16px; }
  .cmp-plans { grid-template-columns: repeat(2, 1fr); }
  .cmp-plans div.empty { display: none; }
}

/* ---------- 流れ ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: st; }
.step { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px 22px; }
.step .n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--grad); font-weight: 700; font-size: 15px; }
.step h3 { margin-top: 14px; font-size: 17px; }
.step p { margin-top: 8px; font-size: 14px; color: var(--ink-2); line-height: 1.75; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- よくある質問 ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.faq summary { list-style: none; cursor: pointer; display: flex; gap: 14px; align-items: flex-start; padding: 18px 52px 18px 20px; position: relative; font-weight: 700; font-size: 15.5px; line-height: 1.6; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .qm { flex-shrink: 0; color: var(--orange); font-weight: 700; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 24px; width: 9px; height: 9px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 28px; }
.faq .ans { padding: 0 22px 20px 48px; font-size: 14.5px; color: var(--ink-2); line-height: 1.85; }
.faq .ans p + p { margin-top: 8px; }

/* ---------- フォーム ---------- */
.form-section { background: linear-gradient(180deg, var(--cream) 0%, #FFF3E2 100%); }
.form-card { max-width: 720px; margin: 0 auto; background: var(--white); border-radius: 28px; padding: 40px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-grid { display: grid; gap: 20px; }
.field label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.field .req, .field .opt { font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 999px; }
.field .req { background: var(--orange); color: var(--white); }
.field .opt { background: var(--line-2); color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; font-size: 16px;
  border: 1.5px solid var(--line); border-radius: 12px; background: #FFFDFA;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 110px; resize: vertical; line-height: 1.7; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 22px) 23px, calc(100% - 16px) 23px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(245, 122, 44, .14); }
.field .err { display: none; margin-top: 6px; font-size: 12.5px; color: #C4410F; }
.field.invalid input, .field.invalid select { border-color: #E06A3A; }
.field.invalid .err { display: block; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-foot { margin-top: 8px; font-size: 12.5px; color: var(--ink-3); line-height: 1.75; }
.form-msg { display: none; margin-top: 14px; padding: 12px 16px; border-radius: 12px; background: #FFF1EC; color: #A63A10; font-size: 14px; }
.form-msg.show { display: block; }
.done { display: none; text-align: center; padding: 20px 0; }
.done .ok { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto; background: var(--grad); display: grid; place-items: center; }
.done .ok svg { width: 30px; height: 30px; stroke: var(--ink); fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.done h3 { margin-top: 18px; font-size: 21px; }
.done p { margin-top: 10px; color: var(--ink-2); font-size: 15px; }
.form-card.is-done form { display: none; }
.form-card.is-done .done { display: block; }
@media (max-width: 640px) {
  .form-card { padding: 28px 20px; border-radius: 22px; }
  .two { grid-template-columns: 1fr; }
}

/* ---------- フッター ---------- */
.site-footer { background: var(--ink); color: #D9DBE3; padding: 56px 0 36px; font-size: 13.5px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; }
.site-footer .brand img { height: 30px; }
.site-footer address { font-style: normal; margin-top: 16px; line-height: 1.9; }
.site-footer a { color: #FFFFFF; text-decoration: none; }
.site-footer a:hover { color: var(--o2); }
.footer-links { list-style: none; display: grid; gap: 10px; align-content: start; }
.footer-legal { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 12px; color: #A9ADBB; line-height: 1.8; }
.footer-legal p + p { margin-top: 6px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- 文書ページ（プライバシーポリシー・404） ---------- */
.doc { padding: 56px 0 96px; }
.doc .wrap { max-width: 820px; }
.doc h1 { font-size: clamp(26px, 3.4vw, 34px); }
.doc .meta { margin-top: 8px; font-size: 13px; color: var(--ink-3); }
.doc h2 { font-size: 19px; margin-top: 44px; padding-left: 14px; border-left: 4px solid var(--o1); }
.doc p, .doc li { font-size: 15px; color: var(--ink-2); line-height: 1.9; }
.doc p { margin-top: 12px; }
.doc ul, .doc ol { margin-top: 12px; padding-left: 1.4em; display: grid; gap: 4px; }
.doc .box { margin-top: 16px; padding: 18px 20px; border-radius: 14px; background: var(--cream); border: 1px solid var(--line); }
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound .code { font-size: 64px; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
.notfound h1 { margin-top: 12px; font-size: 22px; }
.notfound p { margin-top: 12px; color: var(--ink-2); }
.notfound .btn { margin-top: 28px; }

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