/* =========================================================
   IRODORI DESIGN LAB  —  style.css
   方針：装飾より「文字組み」と「余白」で見せる、紙もののようなデザイン
   ========================================================= */

:root {
  --paper: #fbf7f1;
  --paper-2: #f4ede3;
  --white: #fffdf9;
  --line: #e2d5c3;
  --rule: #cdbba4;
  --ink: #1f2a44;
  --ink-soft: #4a5368;
  --muted: #858a96;
  --terra: #c27a3e;
  --terra-deep: #9a5a27;
  --terra-pale: #f3e3d1;

  --serif: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;

  --wrap: 1080px;
  --gutter: 24px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 2; letter-spacing: .04em;
  font-feature-settings: "palt" 1; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 600; line-height: 1.55; letter-spacing: .06em; }
.ib { display: inline-block; }
@media (max-width: 640px) { br.pc { display: none; } }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 112px 0; }
.section--paper2 { background: var(--paper-2); }
@media (max-width: 640px) { :root { --gutter: 20px; } .section { padding: 80px 0; } }

/* ---------- 見出し：左揃え・罫線つき ---------- */
.sec-head { display: grid; grid-template-columns: 300px 1fr; gap: 40px; margin-bottom: 56px; align-items: end; }
.sec-head h2 { font-size: clamp(24px, 3.4vw, 32px); position: relative; padding-top: 22px; }
.sec-head h2::before { content: ""; position: absolute; top: 0; left: 0; width: 32px; height: 2px; background: var(--terra); }
.sec-head p { margin: 0; color: var(--ink-soft); max-width: 560px; }
@media (max-width: 800px) { .sec-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 30px; border-radius: 3px;
  font-family: var(--sans); font-weight: 700; font-size: 15px; letter-spacing: .1em;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background .2s, color .2s;
}
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #33415f; }
.btn--terra { background: var(--terra-deep); color: #fff; }
.btn--terra:hover { background: #82491d; }
.btn--line { color: var(--ink); border-color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 14px; }
.btn .arrow { display: inline-block; width: 18px; height: 1px; background: currentColor; position: relative; }
.btn .arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 1px; background: currentColor; transform: rotate(35deg); transform-origin: right; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.text-link { color: var(--terra-deep); font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.text-link:hover { color: var(--ink); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(251, 247, 241, .94); border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 52px; width: auto; mix-blend-mode: multiply; }
.gnav { display: flex; align-items: center; gap: 30px; }
.gnav a:not(.btn) { text-decoration: none; font-size: 14px; color: var(--ink-soft); }
.gnav a:not(.btn):hover { color: var(--terra-deep); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 0; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 10px; right: 10px; height: 1px; background: var(--ink); transition: transform .25s, opacity .2s; }
.menu-btn span:nth-child(1) { top: 17px; }
.menu-btn span:nth-child(2) { top: 22px; }
.menu-btn span:nth-child(3) { top: 27px; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .site-header { background: var(--paper); }
  .brand img { height: 42px; }
  .menu-btn { display: block; }
  .gnav {
    position: fixed; inset: var(--header-h) 0 0 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); padding: 8px var(--gutter) 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
  }
  .menu-open .gnav { opacity: 1; visibility: visible; }
  .gnav a:not(.btn) { font-size: 16px; padding: 18px 2px; border-bottom: 1px solid var(--line); }
  .gnav .btn { margin-top: 28px; min-height: 56px; }
  .menu-open { overflow: hidden; }
}

/* ---------- hero ---------- */
.hero { padding: 88px 0 120px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1fr 380px; gap: 72px; align-items: end; }
.hero-kicker { font-size: 14px; color: var(--terra-deep); letter-spacing: .12em; margin-bottom: 28px; }
.hero h1 { font-size: clamp(26px, 3.6vw, 44px); line-height: 1.6; letter-spacing: .05em; margin-bottom: 32px; }
.hero-lead { color: var(--ink-soft); max-width: 520px; margin-bottom: 40px; }

/* 右側：実績の目次（ノート風） */
.index-card { position: relative; background: var(--white); border: 1px solid var(--line); padding: 36px 32px 28px; }
.index-card .rabbit { position: absolute; width: 104px; right: 18px; top: -86px; mix-blend-mode: multiply; }
.index-card h2 { font-size: 15px; letter-spacing: .14em; padding-bottom: 14px; border-bottom: 1px solid var(--ink); margin-bottom: 6px; }
.index-card li { display: flex; align-items: baseline; gap: 10px; padding: 11px 0; border-bottom: 1px dotted var(--rule); font-size: 15px; }
.index-card li:last-child { border-bottom: 0; }
.index-card li span:first-child { white-space: nowrap; }
.index-card li .leader { flex: 1; border-bottom: 1px dotted var(--rule); transform: translateY(-4px); min-width: 12px; }
.index-card li .kind { font-size: 12px; color: var(--muted); white-space: nowrap; }
.index-card .note { font-size: 12px; color: var(--muted); margin: 14px 0 0; }
@media (max-width: 900px) {
  .hero { padding: 56px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 104px; }
  .index-card { max-width: 440px; }
}

/* ---------- 現場の声 ---------- */
.voices { columns: 2; column-gap: 64px; }
.voices li { break-inside: avoid; padding: 16px 0 16px 1.2em; border-bottom: 1px solid var(--line); text-indent: -1.2em; font-size: 16px; }
.voices li::before { content: "「"; color: var(--terra); }
.voices li::after { content: "」"; color: var(--terra); }
.answer-block { margin-top: 72px; display: grid; grid-template-columns: 300px 1fr; gap: 40px; }
.answer-block h3 { font-size: clamp(20px, 2.4vw, 22px); }
.answer-block p { color: var(--ink-soft); }
.answer-block .strong { color: var(--ink); font-weight: 700; }
@media (max-width: 800px) { .voices { columns: 1; } .answer-block { grid-template-columns: 1fr; gap: 16px; margin-top: 56px; } }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.about h2 { font-size: clamp(24px, 3.4vw, 34px); line-height: 1.7; }
.about-body p { color: var(--ink-soft); }
.facts { margin-top: 36px; border-top: 1px solid var(--ink); }
.facts div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts dt { color: var(--muted); font-size: 13px; padding-top: 2px; }
.facts dd { margin: 0; }
.facts dl { margin: 0; }
@media (max-width: 800px) { .about { grid-template-columns: 1fr; gap: 32px; } .facts div { grid-template-columns: 96px 1fr; } }

/* ---------- services：行レイアウト ---------- */
.svc { display: grid; grid-template-columns: 300px 1fr 280px; gap: 40px; padding: 40px 0; border-top: 1px solid var(--rule); }
.svc:last-of-type { border-bottom: 1px solid var(--rule); }
.svc h3 { font-size: 20px; }
.svc .for { display: block; font-family: var(--sans); font-size: 13px; color: var(--terra-deep); letter-spacing: .08em; margin-bottom: 6px; font-weight: 500; }
.svc p { color: var(--ink-soft); margin: 0; }
.svc ul { font-size: 14px; color: var(--ink-soft); }
.svc li { padding-left: 14px; position: relative; line-height: 1.8; margin-bottom: 6px; }
.svc li::before { content: ""; position: absolute; left: 0; top: .85em; width: 6px; height: 1px; background: var(--terra); }
.svc-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; margin-top: 56px; }
.svc-sub .item { padding: 26px 0; border-top: 1px solid var(--line); }
.svc-sub h3 { font-size: 18px; margin-bottom: 8px; }
.svc-sub p { color: var(--ink-soft); font-size: 15px; margin: 0; }
.svc-sub .text-link { display: inline-block; margin-top: 10px; font-size: 14px; }
.sub-label { font-size: 14px; color: var(--muted); margin-top: 72px; }
@media (max-width: 900px) { .svc { grid-template-columns: 1fr; gap: 14px; padding: 32px 0; } }
@media (max-width: 640px) { .svc-sub { grid-template-columns: 1fr; } }

/* ---------- works：表 ---------- */
.works { border-top: 1px solid var(--ink); }
.works li { display: grid; grid-template-columns: 240px 130px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.works .name { font-family: var(--serif); font-weight: 600; font-size: 17px; }
.works .kind { font-size: 13px; color: var(--terra-deep); }
.works .desc { font-size: 15px; color: var(--ink-soft); }
@media (max-width: 800px) { .works li { grid-template-columns: 1fr; gap: 2px; } .works .kind { order: -1; } }

/* ---------- price ---------- */
.price-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.price-col { padding: 28px 28px 8px; border-right: 1px solid var(--line); }
.price-col:first-child { padding-left: 0; }
.price-col:last-child { border-right: 0; padding-right: 0; }
.price-col h3 { font-size: 17px; margin-bottom: 12px; }
.price-col dl { margin: 0; }
.price-col div { padding: 14px 0; border-bottom: 1px dotted var(--rule); }
.price-col div:last-child { border-bottom: 0; }
.price-col dt { font-size: 15px; display: flex; justify-content: space-between; gap: 12px; }
.price-col dt b { font-family: var(--serif); color: var(--terra-deep); font-size: 17px; white-space: nowrap; }
.price-col dd { margin: 2px 0 0; font-size: 12px; color: var(--muted); }
.price-note { font-size: 13px; color: var(--muted); margin-top: 32px; }
@media (max-width: 900px) {
  .price-cols { grid-template-columns: 1fr; }
  .price-col { padding: 28px 0 8px; border-right: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- 名刺 ---------- */
.meishi-row { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.meishi-row h2 { font-size: clamp(24px, 3.4vw, 32px); margin-bottom: 18px; }
.meishi-row p { color: var(--ink-soft); }
.meishi-row .yen { font-family: var(--serif); font-size: 18px; margin: 8px 0 28px; }
.meishi-row .yen b { font-size: 40px; color: var(--terra-deep); letter-spacing: .02em; }
.card-mock { position: relative; height: 300px; }
.card-mock .card {
  position: absolute; width: 330px; aspect-ratio: 91 / 55; background: #fffefb;
  box-shadow: 0 1px 1px rgba(31, 42, 68, .06), 0 18px 30px -18px rgba(31, 42, 68, .35);
  padding: 22px 24px; display: flex; flex-direction: column; justify-content: space-between;
}
.card-mock .card--back { right: 0; top: 0; transform: rotate(4deg); background: var(--terra-pale); }
.card-mock .card--back img { width: 78%; margin: auto; mix-blend-mode: multiply; }
.card-mock .card--front { left: 0; bottom: 0; transform: rotate(-3deg); }
.card-mock .role { font-size: 10px; color: var(--muted); letter-spacing: .1em; }
.card-mock .person { font-family: var(--serif); font-size: 22px; letter-spacing: .2em; line-height: 1.4; }
.card-mock .person small { display: block; font-family: var(--sans); font-size: 9px; letter-spacing: .2em; color: var(--muted); }
.card-mock .contact { font-size: 9px; color: var(--ink-soft); line-height: 1.7; letter-spacing: .04em; }
.card-mock .front-logo { width: 110px; mix-blend-mode: multiply; }
.card-mock .card-top { display: flex; justify-content: space-between; align-items: flex-start; }
@media (max-width: 900px) {
  .meishi-row { grid-template-columns: 1fr; gap: 40px; }
  .card-mock { height: 260px; max-width: 420px; }
  .card-mock .card { width: 280px; padding: 18px 20px; }
}

/* ---------- flow ---------- */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 48px; counter-reset: f; }
.flow li { padding: 24px 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 44px 1fr; }
.flow li::before { counter-increment: f; content: counter(f); font-family: var(--serif); font-size: 26px; line-height: 1.2; color: var(--terra); grid-row: span 2; }
.flow h3 { font-size: 17px; }
.flow p { font-size: 14px; color: var(--ink-soft); margin: 4px 0 0; }
.flow--5 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 800px) { .flow, .flow--5 { grid-template-columns: 1fr; } }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-weight: 700; line-height: 1.7; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-52%); font-family: var(--serif); font-size: 24px; font-weight: 400; color: var(--terra); }
.faq details[open] summary::after { content: "−"; }
.faq .answer { padding: 0 0 24px; color: var(--ink-soft); max-width: 720px; }

/* ---------- 最後の案内 ---------- */
.closing { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: end; padding: 80px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); position: relative; }
.closing h2 { font-size: clamp(24px, 3.6vw, 36px); line-height: 1.7; }
.closing p { color: var(--ink-soft); margin: 16px 0 0; }
.closing .rabbit { position: absolute; width: 84px; right: 0; top: -71px; mix-blend-mode: multiply; }
@media (max-width: 800px) { .closing { grid-template-columns: 1fr; gap: 28px; padding: 56px 0; } }

/* ---------- sub page header ---------- */
.page-head { padding: 72px 0 56px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(28px, 4.6vw, 42px); }
.page-head p { color: var(--ink-soft); margin: 20px 0 0; max-width: 640px; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- meishi page ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.plan { padding: 32px 28px 8px; border-right: 1px solid var(--line); }
.plan:first-child { padding-left: 0; }
.plan:last-child { border-right: 0; padding-right: 0; }
.plan h3 { font-size: 18px; }
.plan .yen { font-family: var(--serif); color: var(--terra-deep); margin: 10px 0 0; }
.plan .yen b { font-size: 36px; }
.plan .tax { font-size: 12px; color: var(--muted); }
.plan ul { margin-top: 18px; }
.plan li { font-size: 14px; color: var(--ink-soft); padding: 8px 0 8px 14px; border-top: 1px dotted var(--rule); position: relative; line-height: 1.7; }
.plan li::before { content: ""; position: absolute; left: 0; top: 1.2em; width: 6px; height: 1px; background: var(--terra); }
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.point { border-top: 1px solid var(--rule); padding-top: 24px; }
.point h3 { font-size: 18px; margin-bottom: 10px; }
.point p { color: var(--ink-soft); font-size: 15px; margin: 0; }
@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; }
  .plan { padding: 28px 0 8px; border-right: 0; border-bottom: 1px solid var(--line); }
  .points { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- form ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); padding: 56px; max-width: 760px; margin: 0 auto; }
.field { margin-bottom: 28px; }
.field label, .field legend { display: block; font-weight: 700; font-size: 15px; margin-bottom: 8px; padding: 0; }
.req, .opt { display: inline-block; font-size: 11px; font-weight: 500; margin-left: 10px; vertical-align: 1px; letter-spacing: .08em; }
.req { color: var(--terra-deep); }
.opt { color: var(--muted); }
.input, .textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 2px; padding: 14px 16px;
}
.input:focus, .textarea:focus { outline: none; border-color: var(--terra); background: #fff; }
.textarea { min-height: 180px; resize: vertical; }
fieldset { border: 0; margin: 0; padding: 0; }
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 24px; }
.field .check { display: flex; align-items: center; gap: 10px; margin: 0; font-weight: 400; padding: 8px 0; cursor: pointer; font-size: 15px; }
.check input { width: 18px; height: 18px; accent-color: var(--terra-deep); flex: none; margin: 0; }
.agree { display: flex; align-items: center; gap: 10px; justify-content: center; margin: 36px 0; font-size: 15px; }
.agree input { width: 20px; height: 20px; accent-color: var(--terra-deep); flex: none; }
.form-submit { text-align: center; }
.form-submit .btn { width: 100%; max-width: 320px; min-height: 58px; font-size: 16px; }
@media (max-width: 640px) {
  .form-card { padding: 32px 20px; }
  .checks { grid-template-columns: 1fr; }
  .agree { justify-content: flex-start; align-items: flex-start; }
  .agree input { margin-top: 6px; }
}

/* ---------- prose ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 19px; margin: 44px 0 10px; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1em; }

/* ---------- footer ---------- */
.site-footer { padding: 80px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand img { width: 250px; mix-blend-mode: multiply; }
.footer-brand p { font-size: 13px; color: var(--ink-soft); margin-top: 18px; line-height: 1.9; }
.footer-col h4 { font-family: var(--sans); font-size: 12px; letter-spacing: .12em; color: var(--muted); margin-bottom: 12px; font-weight: 500; }
.footer-col a, .footer-col span { display: block; text-decoration: none; font-size: 14px; color: var(--ink-soft); padding: 4px 0; }
.footer-col a:hover { color: var(--terra-deep); }
.footer-col .soon { font-size: 13px; color: var(--muted); }
.copy { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.copy a { text-decoration: none; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- mobile fixed CTA ---------- */
.fixed-cta { display: none; }
@media (max-width: 640px) {
  .fixed-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; transform: translateY(100%); transition: transform .3s; }
  .fixed-cta.is-show { transform: none; }
  .fixed-cta .btn { flex: 1; border-radius: 0; min-height: 58px; }
  .site-footer { padding-bottom: 96px; }
}

/* ---------- 動き（控えめ） ---------- */
/* スクロールで表示 */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* 見出しの短い線が引かれる */
.js .sec-head h2::before { width: 0; transition: width .8s cubic-bezier(.6,0,.2,1) .25s; }
.js .sec-head.is-in h2::before { width: 32px; }

/* 最初の画面 */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes hop {
  0% { opacity: 0; transform: translateY(-28px); }
  55% { opacity: 1; transform: translateY(0); }
  72% { transform: translateY(-7px); }
  86% { transform: translateY(0); }
  93% { transform: translateY(-2px); }
  100% { opacity: 1; transform: none; }
}
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.js .hero-kicker, .js .hero h1, .js .hero-lead, .js .hero .btn-row, .js .index-card,
.js .page-head .wrap > * { opacity: 0; animation: rise 1s cubic-bezier(.2,.7,.2,1) forwards; }
.js .hero-kicker { animation-delay: .1s; }
.js .hero h1 { animation-delay: .25s; }
.js .hero-lead { animation-delay: .5s; }
.js .hero .btn-row { animation-delay: .65s; }
.js .index-card { animation-delay: .55s; }
.js .index-card .rabbit { opacity: 0; animation: hop 1s cubic-bezier(.3,.6,.3,1) 1.35s forwards; }
.js .index-card h2 { position: relative; border-bottom-color: transparent; }
.js .index-card h2::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--ink); transform-origin: left; transform: scaleX(0); animation: draw .9s cubic-bezier(.6,0,.2,1) 1s forwards; }
.js .page-head .wrap > *:nth-child(1) { animation-delay: .05s; }
.js .page-head .wrap > *:nth-child(2) { animation-delay: .15s; }
.js .page-head .wrap > *:nth-child(3) { animation-delay: .25s; }
.js .page-head .wrap > *:nth-child(4) { animation-delay: .4s; }
.js .page-head .wrap > *:nth-child(n+5) { animation-delay: .5s; }

/* 最後の案内のうさぎ：見えたらちょこんと */
.js .closing .rabbit { opacity: 0; }
.js .closing.is-in .rabbit { animation: hop 1s cubic-bezier(.3,.6,.3,1) .5s forwards; }

/* ボタン・リンクの反応 */
.btn .arrow { transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.btn:hover .arrow { transform: translateX(5px); }
.btn { transition: background .25s, color .25s, border-color .25s; }
.text-link { border-bottom: 0; background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat; transition: color .2s, background-size .35s cubic-bezier(.6,0,.2,1); }
.text-link:hover { background-size: 0 1px; background-position: right bottom; }
@media (min-width: 901px) {
  .gnav a:not(.btn) { position: relative; transition: color .2s; }
  .gnav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s cubic-bezier(.6,0,.2,1); }
  .gnav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
}
.footer-col a { transition: color .2s, transform .25s; }
.footer-col a:hover { transform: translateX(3px); }
.faq summary { transition: color .2s; }
.faq summary:hover { color: var(--terra-deep); }
.faq summary::after { transition: transform .3s; }
.index-card li .kind { transition: color .2s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .hero-kicker, .js .hero h1, .js .hero-lead, .js .hero .btn-row, .js .index-card,
  .js .page-head .wrap > *, .js .index-card .rabbit, .js .closing .rabbit { opacity: 1; transform: none; animation: none; transition: none; }
  .js .sec-head h2::before { width: 32px; transition: none; }
  .js .index-card h2::after { animation: none; transform: none; }
}


/* ---------- 名刺 期間限定0円 ---------- */
.campaign { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; font-size: 15px; margin-bottom: 18px; }
.campaign-tag { display: inline-block; border: 1px solid var(--terra-deep); color: var(--terra-deep); font-size: 13px; font-weight: 700; letter-spacing: .14em; padding: 2px 12px; }
.campaign s { color: var(--muted); }
.campaign b { font-family: var(--serif); font-size: 22px; color: var(--terra-deep); }
.yen s, .was-now s { color: var(--muted); font-family: var(--sans); font-size: 15px; font-weight: 400; margin-right: 10px; text-decoration-thickness: 1.5px; text-decoration-color: var(--terra-deep); }
.was-now { white-space: nowrap; }
.was-now b { font-family: var(--serif); color: var(--terra-deep); font-size: 17px; }
.was-now s { font-size: 13px; margin-right: 8px; }
.meishi-row .yen { margin-bottom: 12px; }
.print-note { font-size: 13px; color: var(--ink-soft); margin: 0 0 28px; }
.page-head .print-note { margin-top: 14px; }
.notice { margin-top: 40px; padding: 28px 32px; background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--terra-deep); }
.notice h3 { font-size: 16px; margin-bottom: 10px; }
.notice li { font-size: 14px; color: var(--ink-soft); padding-left: 1em; text-indent: -1em; line-height: 1.9; margin-bottom: 4px; }
.notice li::before { content: "・"; }
.notice strong { color: var(--ink); }
@media (max-width: 640px) { .notice { padding: 22px 20px; } }

/* ---------- 名刺 複数名の料金表 ---------- */
.plan .yen small { font-family: var(--sans); font-size: 13px; color: var(--ink-soft); margin: 0 4px; }
.team-price { margin-top: 56px; }
.team-price h3 { font-size: 18px; margin-bottom: 16px; }
.team-price table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); font-size: 15px; }
.team-price th, .team-price td { text-align: left; padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.team-price thead th { font-size: 12px; color: var(--muted); font-weight: 500; letter-spacing: .1em; padding: 10px 12px 10px 0; }
.team-price tbody th { font-weight: 700; width: 22%; white-space: nowrap; }
.team-price td:nth-child(2) { width: 26%; white-space: nowrap; }
.team-price td b { font-family: var(--serif); font-size: 20px; color: var(--terra-deep); }
.team-price td:last-child { color: var(--ink-soft); font-size: 14px; }
.team-price .example { font-size: 14px; color: var(--ink-soft); margin: 14px 0 0; }
.team-price .example b { color: var(--terra-deep); }
@media (max-width: 640px) {
  .team-price thead { display: none; }
  .team-price tr { display: grid; grid-template-columns: auto 1fr; gap: 0 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .team-price tbody { display: block; border-top: 1px solid var(--ink); }
  .team-price table { border-top: 0; }
  .team-price th, .team-price td { border: 0; padding: 0; width: auto !important; }
  .team-price td:last-child { grid-column: 1 / -1; margin-top: 4px; }
}

.meishi-row .yen small { font-family: var(--sans); font-size: 13px; color: var(--ink-soft); margin-left: 6px; }

/* ---------- 生成AI活用サポート（トップの特集） ---------- */
.gnav a.is-strong { color: var(--terra-deep); font-weight: 700; }
.ai-feature { background: var(--ink); color: #fff; padding: 112px 0; }
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.ai-kicker { font-size: 14px; color: #f0c9a4; letter-spacing: .1em; margin-bottom: 20px; }
.ai-feature h2 { font-size: clamp(26px, 3.6vw, 38px); line-height: 1.65; margin-bottom: 24px; }
.ai-feature p { color: rgba(255, 255, 255, .8); }
.ai-feature .btn-row { margin-top: 36px; }
.ai-feature .btn--terra { background: var(--terra); }
.ai-feature .btn--terra:hover { background: #d48a4c; }
.btn--line-light { color: #fff; border-color: rgba(255, 255, 255, .6); background: transparent; }
.btn--line-light:hover { background: #fff; color: var(--ink); }
.ai-steps { counter-reset: s; border-top: 1px solid rgba(255, 255, 255, .3); }
.ai-steps li { display: grid; grid-template-columns: 40px 1fr; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.ai-steps li::before { counter-increment: s; content: counter(s); font-family: var(--serif); font-size: 22px; color: #f0c9a4; grid-row: span 2; line-height: 1.3; }
.ai-steps b { font-family: var(--serif); font-size: 17px; font-weight: 600; letter-spacing: .06em; }
.ai-steps span { font-size: 14px; color: rgba(255, 255, 255, .72); line-height: 1.8; }
.ai-plans { margin-top: 36px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .2); padding: 24px 26px; }
.ai-plans-title { font-size: 13px; letter-spacing: .12em; color: #f0c9a4 !important; margin-bottom: 8px; }
.ai-plans dl { margin: 0; }
.ai-plans dl div { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; border-bottom: 1px dotted rgba(255, 255, 255, .25); }
.ai-plans dl div:last-child { border-bottom: 0; }
.ai-plans dt { font-size: 15px; }
.ai-plans dd { margin: 0; font-size: 14px; color: rgba(255, 255, 255, .8); }
.ai-plans dd b { font-family: var(--serif); font-size: 24px; color: #fff; margin-right: 2px; }
.ai-plans-note { font-size: 12px; margin: 10px 0 0; color: rgba(255, 255, 255, .6) !important; }
@media (max-width: 900px) { .ai-feature { padding: 80px 0; } .ai-grid { grid-template-columns: 1fr; gap: 40px; } }

/* AIページ：月額プラン */
.plan-for { font-size: 13px; color: var(--terra-deep); margin: 0 0 4px; letter-spacing: .08em; }
.page-head .hero-kicker { margin-bottom: 12px; }
.svc > div p { margin: 0; }
@media (max-width: 1080px) { .gnav { gap: 20px; } .gnav a:not(.btn) { font-size: 13px; } }

/* 税込ラベル */
.tax-label { font-size: .5em; font-weight: 500; color: var(--muted); margin-left: 6px; letter-spacing: .05em; }
