/* miharuba — 共通スタイル
   ロゴの深緑とマス目、黄色い点を結ぶ線を題材にする。
   区切りは罫線と余白でつけ、角丸と影は使わない。 */

:root {
  --paper: #f2f4f1;
  --paper-2: #e8ece7;
  --ink: #0e1a13;
  --forest: #1d3c27;
  --forest-2: #16301f;
  --signal: #f0b71e;
  --signal-2: #d9a212;
  --rule: #cbd3cc;
  --mute: #5b6960;
  --on-forest: #f2f4f1;
  --on-forest-mute: #a9bdae;
  --on-forest-rule: rgba(242, 244, 241, 0.16);

  --jp: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
  --num: "Instrument Sans", "Zen Kaku Gothic New", system-ui, sans-serif;
  --mark: "Bitter", Georgia, serif; /* ロゴの文字と同じ書体。社名の表記だけに使う */

  --wrap: 1200px;
  --gutter: 32px;
  --sec: 112px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--jp);
  font-size: 16px;
  line-height: 1.95;
  font-feature-settings: "palt";
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.ib { display: inline-block; }
.num { font-family: var(--num); font-feature-settings: "tnum"; letter-spacing: 0; }

/* ── ヘッダー ─────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(242, 244, 241, 0.88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand img { height: 34px; width: auto; }
.brand span { font-family: var(--mark); font-weight: 800; font-size: 23px; letter-spacing: -0.01em; color: var(--forest); }
.nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 500; }
.nav a:not(.btn) { position: relative; padding: 4px 0; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .2s;
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }

/* ── ボタン ───────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border: 1px solid transparent; border-radius: 2px;
  font-family: var(--jp); font-weight: 700; font-size: 15px; letter-spacing: 0.04em;
  cursor: pointer; transition: background .18s, color .18s, border-color .18s;
}
.btn-signal { background: var(--signal); color: var(--ink); }
.btn-signal:hover { background: var(--signal-2); }
.btn-ghost { border-color: currentColor; }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.on-forest .btn-ghost:hover { background: var(--on-forest); border-color: var(--on-forest); color: var(--forest); }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }

.text-link { display: inline-block; font-weight: 700; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.text-link:hover { color: var(--forest); }

/* ── ヒーロー ─────────────────────────── */
.hero { position: relative; overflow: hidden; background: var(--forest); color: var(--on-forest); }
.hero .wrap { position: relative; z-index: 1; min-height: min(760px, calc(100vh - 68px)); display: flex; flex-direction: column; justify-content: center; padding-top: 96px; padding-bottom: 96px; }
.hero-copy { max-width: 620px; }
.hero h1 { font-size: clamp(42px, 6.2vw, 84px); line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; }
.hero h1 span { display: block; }
.hero .lead { margin-top: 32px; max-width: 520px; font-size: 16.5px; color: var(--on-forest-mute); }
.hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 44px; }
.hero .note { margin-top: 22px; font-size: 13px; color: var(--on-forest-mute); max-width: 520px; }

.hero-figure { position: absolute; top: 0; bottom: 0; right: max(-80px, calc((100vw - var(--wrap)) / 2 - 80px)); width: min(58vw, 760px); pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%); mask-image: linear-gradient(to right, transparent 0, #000 22%); }
.hero-figure svg { width: 100%; height: 100%; }
.hf-grid line { stroke: var(--on-forest-rule); stroke-width: 1; }
.hf-tick { stroke: var(--on-forest-mute); stroke-width: 1; opacity: .5; }
.hf-label { font-family: var(--num); font-size: 11px; fill: var(--on-forest-mute); opacity: .7; letter-spacing: .04em; }
.hf-pane { fill: rgba(242, 244, 241, 0.07); stroke: rgba(242, 244, 241, 0.22); stroke-width: 1; }
.hf-link { fill: none; stroke: var(--signal); stroke-width: 2; stroke-linecap: round; }
.hf-halo { fill: var(--signal); opacity: .14; }
.hf-node { fill: var(--signal); }
.hf-ring { fill: none; stroke: var(--signal); stroke-width: 1; opacity: .5; }

/* 線を一度だけ引く。ページ唯一の動き */
@media (prefers-reduced-motion: no-preference) {
  .hf-link { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: draw 1.1s cubic-bezier(.6,0,.2,1) forwards; animation-delay: var(--d, 0s); }
  .hf-dot { opacity: 0; transform-box: fill-box; transform-origin: center; animation: pop .5s cubic-bezier(.2,.8,.2,1.2) forwards; animation-delay: var(--d, 0s); }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: scale(1); } }

/* ── News ─────────────────────────────── */
.news { border-bottom: 1px solid var(--rule); }
.news .wrap { display: grid; grid-template-columns: 180px 1fr; gap: 32px; padding-top: 40px; padding-bottom: 40px; }
.news h2 { font-family: var(--num); font-size: 15px; font-weight: 600; letter-spacing: 0.02em; padding-top: 16px; }
.news-list { border-top: 1px solid var(--ink); }
.news-item { display: grid; grid-template-columns: 112px 1fr; gap: 24px; padding: 16px 4px; border-bottom: 1px solid var(--rule); transition: background .15s; }
.news-item:hover { background: var(--paper-2); }
.news-item time { font-family: var(--num); font-size: 14px; color: var(--mute); padding-top: 1px; }
.news-kind { display: inline-flex; align-items: center; gap: 7px; margin-right: 12px; font-size: 12.5px; font-weight: 700; color: var(--forest); }
.news-kind::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 3px rgba(240, 183, 30, .25); }
.news-title { font-size: 15px; font-weight: 500; }
.news-item:hover .news-title { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.coupon { display: block; margin-top: 4px; font-size: 13px; font-weight: 700; color: #8a6406; }

/* ── セクション共通 ───────────────────── */
.sec { padding: var(--sec) 0; border-bottom: 1px solid var(--rule); }
.sec-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); align-items: end; margin-bottom: 64px; }
.sec-head h2 { grid-column: 1 / span 6; font-size: clamp(28px, 3.3vw, 42px); line-height: 1.35; letter-spacing: -0.01em; }
.sec-head p { grid-column: 8 / span 5; color: var(--mute); font-size: 15px; }
.sec-head.solo { margin-bottom: 0; align-items: start; }
.sec-head.solo p { color: var(--ink); font-size: 17px; line-height: 2.05; }

/* 残るもの（4列） */
.leaves { margin-top: 80px; }
.leaves-title { font-size: 15px; color: var(--forest); padding-bottom: 14px; }
.leaves-title small { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--mute); }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.grid4 > div { padding: 28px 28px 8px 0; }
.grid4 > div + div { padding-left: 28px; border-left: 1px solid var(--rule); }
.grid4 h3 { font-size: 18px; line-height: 1.5; }
.grid4 p { margin-top: 10px; font-size: 14px; color: var(--mute); }

/* 見出し＋説明を2列に並べる一覧（Value・Services・Media） */
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 64px; border-top: 1px solid var(--ink); }
.grid2 > div { padding: 32px 0 40px; border-bottom: 1px solid var(--rule); }
.grid2 h3 { font-size: 20px; line-height: 1.5; }
.grid2 p { margin-top: 12px; color: var(--mute); font-size: 15px; }

.rows { border-top: 1px solid var(--ink); }
.row { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); padding: 30px 0; border-bottom: 1px solid var(--rule); }
.row h3 { grid-column: 1 / span 4; font-size: 20px; line-height: 1.5; }
.row p { grid-column: 6 / span 7; color: var(--mute); font-size: 15px; }
.sec-foot { margin-top: 40px; }

/* ── 進め方（順番があるので番号を付ける） ── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.step { position: relative; padding: 0 28px 0 0; }
.step-no { display: flex; align-items: center; gap: 0; margin-bottom: 28px; }
.step-no b { font-family: var(--num); font-size: 44px; font-weight: 500; line-height: 1; color: var(--forest); letter-spacing: -0.02em; }
.step-no i { flex: 1; height: 1px; margin-left: 18px; background: var(--rule); position: relative; }
.step-no i::after { content: ""; position: absolute; right: -4px; top: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--signal); }
.step:last-child .step-no i { background: none; }
.step:last-child .step-no i::after { display: none; }
.step h3 { font-size: 19px; }
.step p { margin-top: 10px; color: var(--mute); font-size: 14.5px; }

/* ── 料金 ─────────────────────────────── */
.terms-more { margin: -24px 0 40px; border-top: 0; max-width: 100%; }
.terms-more summary { justify-content: flex-start; gap: 12px; }
.terms { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); padding: 12px 0 8px; }
.terms div { padding-top: 16px; border-top: 2px solid var(--forest); }
.terms h3 { font-size: 15px; }
.terms p { margin-top: 6px; font-size: 14px; color: var(--mute); }

.plans { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--rule); }
.plan { padding: 40px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; }
.plan-meta { font-size: 13px; color: var(--mute); }
.plan h3 { margin-top: 8px; font-size: 22px; }
.price { margin-top: 18px; font-family: var(--num); font-size: 40px; font-weight: 500; line-height: 1.1; letter-spacing: -0.02em; }
.price small { font-family: var(--jp); font-size: 16px; font-weight: 700; margin-left: 2px; letter-spacing: 0; }
.plan-sub { margin-top: 28px; font-size: 13px; font-weight: 700; color: var(--forest); }
.checks { margin-top: 10px; }
.checks li { position: relative; padding: 8px 0 8px 22px; font-size: 14.5px; border-top: 1px solid var(--paper-2); }
.checks li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 8px; height: 8px; background: var(--signal); }
.plan-note { margin-top: auto; padding-top: 22px; font-size: 13px; color: var(--mute); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tags span { font-size: 12.5px; padding: 4px 10px; border: 1px solid var(--rule); }
.plan p.body { margin-top: 18px; font-size: 14.5px; color: var(--mute); }
.plan .text-link { margin-top: 24px; align-self: flex-start; }

.plan-feature { grid-column: 1 / -1; background: var(--forest); color: var(--on-forest); display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); padding: 56px 48px; border-color: var(--forest); }
.plan-feature > div:first-child { grid-column: 1 / span 6; }
.plan-feature > div:last-child { grid-column: 8 / span 5; }
.plan-feature .plan-meta, .plan-feature p.body, .plan-feature .plan-note { color: var(--on-forest-mute); }
.plan-feature .price { color: var(--signal); }
.plan-feature .plan-sub { color: var(--signal); margin-top: 0; }
.plan-feature .checks li { border-top-color: var(--on-forest-rule); }


/* 支援内容のタブ（JSが動いたときだけ .is-tabs が付く） */
.svc.is-tabs { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); border-top: 1px solid var(--ink); }
.svc.is-tabs .tab-list { grid-column: 1 / span 4; display: flex; flex-direction: column; }
.tab { display: flex; align-items: center; gap: 14px; width: 100%; padding: 20px 0; border: 0; border-bottom: 1px solid var(--rule); background: none; font: inherit; font-size: 18px; font-weight: 700; color: var(--mute); text-align: left; cursor: pointer; transition: color .15s; }
.tab::before { content: ""; width: 9px; height: 9px; flex: none; border: 1px solid var(--rule); transition: background .15s, border-color .15s; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); }
.tab[aria-selected="true"]::before { background: var(--signal); border-color: var(--signal); }
.svc.is-tabs .row { grid-column: 6 / span 7; grid-row: 1; display: block; padding: 20px 0 0; border: 0; }
.svc.is-tabs .row[hidden] { display: none; }
.svc.is-tabs .row h3 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.35; }
.svc.is-tabs .row p { margin-top: 20px; font-size: 17px; line-height: 2.05; color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .svc.is-tabs .row:not([hidden]) { animation: fadein .35s ease; }
}
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* 料金の「含むこと」を開閉にする */
.more { margin-top: 24px; border-top: 1px solid var(--rule); }
.more summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 12px 0; font-size: 13.5px; font-weight: 700; color: var(--forest); }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; font-family: var(--num); font-size: 18px; font-weight: 500; line-height: 1; }
.more[open] summary::after { content: "−"; }
.more .checks { margin-top: 0; }

/* 経歴の開閉（FAQより小さい） */
.faq-sm summary { font-size: 16px; font-weight: 700; padding: 20px 0; }
.faq-sm .answer { padding-right: 0; }
.about-main .faq { margin-top: 44px; }

/* ── 姿勢 ─────────────────────────────── */
.stance .wrap { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); }
.stance-copy { grid-column: 1 / span 6; }
.stance h2 { font-size: clamp(30px, 3.8vw, 50px); line-height: 1.3; letter-spacing: -0.015em; }
.stance-copy p { margin-top: 24px; font-size: 15.5px; color: var(--mute); max-width: 520px; }
.stance-list { grid-column: 8 / span 5; align-self: end; }
.stance-list h3 { font-size: 14px; color: var(--forest); padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.stance-list li { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.stance-list li::before { content: ""; flex: none; width: 12px; height: 1px; background: var(--ink); transform: translateY(-4px); }

/* ── FAQ ──────────────────────────────── */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: 17px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--forest); }
.faq .ic { position: relative; flex: none; width: 16px; height: 16px; }
.faq .ic::before, .faq .ic::after { content: ""; position: absolute; left: 0; top: 7.5px; width: 16px; height: 1.5px; background: currentColor; transition: transform .25s; }
.faq .ic::after { transform: rotate(90deg); }
.faq details[open] .ic::after { transform: rotate(0); }
.faq .answer { padding: 0 64px 28px 0; color: var(--mute); font-size: 15px; max-width: 820px; }

/* ── 代表 ─────────────────────────────── */
.about .wrap { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); }
.about-side { grid-column: 1 / span 5; }
.about-side h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.45; }
.person { margin-top: 40px; }
.person img { width: 100%; max-width: 280px; aspect-ratio: 1; object-fit: cover; filter: saturate(.9); }
.person-name { margin-top: 16px; font-size: 20px; font-weight: 700; }
.person-role { font-size: 13px; color: var(--mute); }
.about-main { grid-column: 7 / span 6; }
.about-main > p { font-size: 17px; line-height: 2.05; }
.about-main .rows { margin-top: 48px; }
.about-main .row { grid-template-columns: 1fr; gap: 8px; }
.about-main .row h3, .about-main .row p { grid-column: 1 / -1; }
.about-main .row h3 { font-size: 17px; }

/* ── 教材・記事 ───────────────────────── */
.links { border-top: 1px solid var(--ink); }
.link-row { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); align-items: baseline; padding: 20px 4px; border-bottom: 1px solid var(--rule); transition: background .15s; }
.link-row:hover { background: var(--paper-2); }
.link-row .where { grid-column: 1 / span 2; font-family: var(--num); font-weight: 600; font-size: 15px; }
.link-row .what { grid-column: 3 / span 9; font-size: 15px; }
.link-row .go { grid-column: 12; justify-self: end; font-family: var(--num); font-size: 13px; color: var(--mute); }
.link-row:hover .what { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ── 問い合わせ・フッター ───────────────── */
.cta { background: var(--forest); color: var(--on-forest); }
.cta .wrap { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); align-items: end; padding-top: 120px; padding-bottom: 120px; }
.cta h2 { grid-column: 1 / span 7; font-size: clamp(32px, 4.4vw, 58px); line-height: 1.25; letter-spacing: -0.02em; }
.cta-body { grid-column: 9 / span 4; }
.cta-body p { color: var(--on-forest-mute); font-size: 15px; }
.cta-body .btn { margin-top: 28px; }

.site-footer { background: var(--forest-2); color: var(--on-forest-mute); font-size: 13px; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 36px; padding-bottom: 36px; }
.site-footer .brand span { color: var(--on-forest); font-size: 19px; }
.site-footer .brand img { height: 30px; }
.site-footer .tagline { margin-left: 16px; }
.site-footer nav { display: flex; gap: 24px; align-items: center; }
.site-footer a:hover { color: var(--on-forest); }

/* ── 下層ページ ───────────────────────── */
.page-head { padding: 104px 0 72px; border-bottom: 1px solid var(--rule); }
.page-head h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.2; letter-spacing: -0.02em; }
.page-head p { margin-top: 24px; max-width: 640px; color: var(--mute); font-size: 16px; }

.tech-group { padding: 80px 0; border-bottom: 1px solid var(--rule); }
.tech-group .wrap { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); }
.tech-group h2 { grid-column: 1 / span 3; font-size: 22px; line-height: 1.45; }
.tech-group h2 small { display: block; margin-top: 4px; font-family: var(--num); font-size: 13px; font-weight: 500; color: var(--mute); }
.tech-list { grid-column: 5 / span 8; border-top: 1px solid var(--ink); }
.tech { display: grid; grid-template-columns: 44px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--rule); }
.tech-ic { width: 44px; height: 44px; border: 1px solid var(--rule); background: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--num); font-size: 10px; font-weight: 700; line-height: 1.1; text-align: center; color: var(--forest); }
.tech-ic img { width: 22px; height: 22px; }
.tech h3 { font-size: 17px; }
.tech h3 small { margin-left: 10px; font-size: 13px; font-weight: 500; color: var(--mute); }
.tech p { margin-top: 6px; font-size: 14.5px; color: var(--mute); }
.tech .tags { margin-top: 12px; }

.prose { max-width: 760px; margin: 0 auto; padding: 88px var(--gutter) 120px; }
.prose h1 { font-size: clamp(32px, 4vw, 48px); line-height: 1.25; letter-spacing: -0.02em; }
.prose .updated { margin-top: 12px; font-size: 13px; color: var(--mute); }
.prose h2 { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--ink); font-size: 19px; }
.prose p, .prose ul { margin-top: 14px; font-size: 15.5px; }
.prose ul { padding-left: 1.3em; list-style: disc; }
.prose a { border-bottom: 1px solid currentColor; }

/* 問い合わせフォーム */
.contact .wrap { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); padding-top: 96px; padding-bottom: 120px; }
.contact-info { grid-column: 1 / span 4; align-self: start; position: sticky; top: 108px; }
.contact-info h1 { font-size: clamp(34px, 4vw, 52px); line-height: 1.25; letter-spacing: -0.02em; }
.contact-info > p { margin-top: 24px; color: var(--mute); font-size: 15px; }
.mail { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--ink); }
.mail h2 { font-size: 13px; color: var(--forest); }
.mail a { display: inline-block; margin-top: 4px; font-family: var(--num); font-size: 20px; font-weight: 600; border-bottom: 1px solid currentColor; }
.mail p { margin-top: 10px; font-size: 13.5px; color: var(--mute); }
.contact-info .checks { margin-top: 28px; }
.contact-info .checks li { font-size: 13.5px; }
.contact form { grid-column: 6 / span 7; }
.field { margin-bottom: 26px; }
.field label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 700; }
.req { color: #b0421c; margin-left: 4px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 14px; border: 1px solid var(--rule); border-radius: 2px; background: #fff;
  font: inherit; font-size: 15.5px; line-height: 1.6; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder, .field textarea::placeholder { color: #93a097; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(29, 60, 39, .15); }
.field textarea { min-height: 140px; resize: vertical; }
.field .hint { margin-top: 6px; font-size: 12.5px; color: var(--mute); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.consent { display: flex; gap: 12px; align-items: flex-start; padding: 18px; margin: 8px 0 28px; background: var(--paper-2); font-size: 14px; cursor: pointer; }
.consent input { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--forest); flex: none; }
.contact form .btn { width: 100%; padding: 17px; font-size: 16px; }
.form-foot { margin-top: 14px; font-size: 12.5px; color: var(--mute); text-align: center; }
.form-foot a { border-bottom: 1px solid currentColor; }

.done { max-width: 640px; margin: 0 auto; padding: 128px var(--gutter) 144px; }
.done-mark { width: 44px; height: 44px; border-radius: 50%; background: var(--signal); display: flex; align-items: center; justify-content: center; margin-bottom: 32px; }
.done h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.02em; }
.done p { margin-top: 18px; color: var(--mute); }
.done .btn { margin-top: 40px; }

/* ── レスポンシブ ─────────────────────── */
@media (max-width: 960px) {
  .svc.is-tabs .tab-list { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; gap: 0 22px; }
  .svc.is-tabs .tab { width: auto; font-size: 15px; padding: 16px 0; border-bottom: 0; }
  .svc.is-tabs .row { grid-column: 1 / -1 !important; grid-row: 2; border-top: 1px solid var(--rule); padding-top: 28px; }
  :root { --sec: 96px; }
  .nav .navlinks { display: none; }
  .sec-head, .row, .stance .wrap, .about .wrap, .cta .wrap, .link-row, .tech-group .wrap, .contact .wrap, .plan-feature { grid-template-columns: 1fr; }
  .sec-head > *, .row > *, .stance .wrap > *, .about .wrap > *, .cta .wrap > *, .tech-group .wrap > *, .contact .wrap > *, .plan-feature > div { grid-column: 1 / -1 !important; }
  .sec-head { gap: 20px; margin-bottom: 48px; }
  .row { gap: 8px; }
  .link-row { grid-template-columns: 88px 1fr auto; gap: 16px; }
  .link-row .where, .link-row .what, .link-row .go { grid-column: auto !important; }
  .steps, .grid4 { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .grid4 { row-gap: 0; }
  .grid4 > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(2) .step-no i { background: none; }
  .step:nth-child(2) .step-no i::after { display: none; }
  .plan-feature { gap: 32px; }
  .contact-info { position: static; }
  .stance-list { margin-top: 32px; }
  .about-main { margin-top: 16px; }
  .person img { max-width: 200px; }
  .hero-figure { width: 100%; right: -30%; opacity: .45; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; --sec: 72px; }
  body { font-size: 15px; }
  .site-header .wrap { height: 60px; }
  .brand img { height: 30px; }
  .brand span { font-size: 20px; }
  .hero .wrap { min-height: 0; padding-top: 72px; padding-bottom: 72px; }
  .hero-figure { right: -55%; width: 150%; opacity: .3; }
  .news .wrap { grid-template-columns: 1fr; gap: 12px; padding-top: 28px; padding-bottom: 28px; }
  .news h2 { padding-top: 0; }
  .news-item { grid-template-columns: 1fr; gap: 2px; }
  .grid2 { grid-template-columns: 1fr; }
  .grid2 > div { padding: 24px 0 28px; }
  .steps, .terms, .plans, .row2, .grid4 { grid-template-columns: 1fr; }
  /* 残るもの：横にスワイプして読む */
  .grid4 { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter); gap: 12px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; border-top: 0; scrollbar-width: none; }
  .grid4::-webkit-scrollbar { display: none; }
  .grid4 > div, .grid4 > div + div { flex: 0 0 78%; scroll-snap-align: start; padding: 20px 18px; border: 0; border-top: 2px solid var(--ink); background: var(--paper-2); }
  .grid4 > div:nth-child(3) { padding-left: 18px; }
  .step .step-no i { background: none !important; }
  .step .step-no i::after { display: none !important; }
  .steps { row-gap: 0; border-top: 1px solid var(--ink); }
  .step { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
  .step-no { grid-row: 1 / span 2; margin: 0; align-items: flex-start; }
  .step-no b { font-size: 26px; }
  .step p { margin-top: 4px; }
  .terms { gap: 20px; }
  .plan { padding: 28px 22px; }
  .plan-feature { padding: 36px 22px; }
  .price { font-size: 34px; }
  .faq .answer { padding-right: 0; }
  .link-row { grid-template-columns: 1fr; gap: 2px; }
  .link-row .go { display: none; }
  .cta .wrap { padding-top: 80px; padding-bottom: 80px; }
  .site-footer .tagline { display: block; margin: 10px 0 0; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
