/* ==========================================================
   オリエンタルメディカルサービス
   Editorial design — 墨（黒）× 朱橙（オレンジ）× 生成り
   ========================================================== */
:root {
  --ink: #141414;
  --ink-2: #3b3734;
  --muted: #7a726a;
  --paper: #faf7f2;
  --paper-2: #f2ece2;
  --white: #ffffff;
  --line: #e4dccf;
  --line-dark: rgba(255,255,255,.14);
  --accent: #d9531e;
  --accent-dark: #b4431a;
  --accent-soft: #f8e9df;
  --danger: #c0392b;

  --serif: "Shippori Mincho B1", "Noto Serif JP", "Yu Mincho", serif;
  --sans: "Noto Sans JP", system-ui, sans-serif;
  --latin: "Cormorant Garamond", "Times New Roman", serif;

  --header-h: 76px;
  --radius: 2px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0; background: var(--paper); color: var(--ink-2);
  font-family: var(--sans); font-size: 15.5px; line-height: 2; letter-spacing: .04em;
  -webkit-font-smoothing: antialiased; font-feature-settings: "palt";
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); font-weight: 700; line-height: 1.5; margin: 0; letter-spacing: .06em; }
p { margin: 0; }
.container { width: min(1160px, 100% - 64px); margin-inline: auto; }
@media (max-width: 640px) { .container { width: calc(100% - 40px); } body { font-size: 15px; } }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg.lucide { width: 1em; height: 1em; stroke-width: 1.6; vertical-align: -0.12em; }
::selection { background: var(--accent); color: var(--white); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .8em;
  padding: 1.05em 2em; border-radius: var(--radius); border: 1px solid transparent;
  font: inherit; font-size: .95rem; font-weight: 500; letter-spacing: .12em; line-height: 1.3;
  text-decoration: none; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn svg.lucide { transition: transform .3s var(--ease); }
.btn:hover svg.lucide { transform: translateX(4px); }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-dark); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--accent); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--white); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: wait; }
.text-link {
  display: inline-flex; align-items: center; gap: .6em; text-decoration: none; color: var(--ink);
  font-size: .9rem; letter-spacing: .12em; padding-bottom: 4px;
  background: linear-gradient(var(--accent), var(--accent)) left bottom / 100% 1px no-repeat;
  transition: color .3s;
}
.text-link:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  background: rgba(250,247,242,.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header.is-scrolled { border-color: var(--line); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { text-decoration: none; display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.logo-ja { font-family: var(--serif); font-weight: 700; font-size: 1.18rem; color: var(--ink); letter-spacing: .1em; white-space: nowrap; }
.logo-en { font-family: var(--latin); font-style: italic; font-size: .82rem; color: var(--accent); letter-spacing: .08em; margin-top: 3px; white-space: nowrap; }
.gnav ul { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 1560px) { .gnav ul { gap: 22px; } .gnav a { letter-spacing: .08em; } }
.gnav a { text-decoration: none; font-size: .85rem; letter-spacing: .12em; color: var(--ink); white-space: nowrap; position: relative; }
.gnav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.gnav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.gnav .btn { padding: .8em 1.5em; font-size: .82rem; color: var(--white); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--ink); cursor: pointer; }
.menu-toggle svg.lucide { width: 26px; height: 26px; }
@media (max-width: 1380px) {
  .menu-toggle { display: inline-flex; }
  .gnav { position: fixed; inset: var(--header-h) 0 auto; background: var(--paper); border-bottom: 1px solid var(--line); display: none; }
  .gnav.is-open { display: block; }
  .gnav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 24px; }
  .gnav li a:not(.btn) { display: block; padding: 16px 4px; border-bottom: 1px solid var(--line); }
  .gnav li a:not(.btn)::after { display: none; }
  .gnav li .btn { margin-top: 18px; width: 100%; }
}
@media (max-width: 420px) { .logo-ja { font-size: 1rem; letter-spacing: .04em; } .logo-en { font-size: .7rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } }
@media (max-width: 360px) { .logo-ja { font-size: .92rem; letter-spacing: .02em; } }

/* ---------- Section base ---------- */
section { padding: 140px 0; position: relative; }
@media (max-width: 760px) { section { padding: 96px 0; } }
.sec-head { display: grid; grid-template-columns: 280px 1fr; gap: 40px; margin-bottom: 72px; align-items: start; }
.sec-label { font-family: var(--latin); font-style: italic; font-size: 1.2rem; color: var(--accent); letter-spacing: .06em; display: flex; align-items: center; gap: 14px; line-height: 2.2; }
.sec-label::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.sec-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.sec-head .lede { margin-top: 20px; color: var(--muted); max-width: 640px; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 52px; } }
.bg-paper2 { background: var(--paper-2); }
.bg-white { background: var(--white); }

/* ---------- Hero ---------- */
.hero { padding: calc(var(--header-h) + 80px) 0 110px; overflow: hidden; }
.hero .container.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.hero-meta { display: flex; align-items: center; gap: 16px; font-size: .8rem; letter-spacing: .2em; color: var(--muted); }
.hero-meta .since { font-family: var(--latin); font-style: italic; font-size: 1.1rem; letter-spacing: .06em; color: var(--accent); }
.hero-meta::after { content: ""; flex: 0 0 48px; height: 1px; background: var(--line); }
.hero-meta .since { white-space: nowrap; }
@media (max-width: 520px) { .hero-meta { flex-wrap: wrap; gap: 4px 12px; letter-spacing: .14em; } .hero-meta::after { display: none; } }
.hero h1 { font-size: clamp(1.3rem, 6.4vw, 3.2rem); line-height: 1.55; margin-top: 32px; letter-spacing: .08em; }
@media (max-width: 380px) { .hero h1 { letter-spacing: .04em; } }
@media (min-width: 961px) { .hero h1 { font-size: clamp(2.2rem, 3.9vw, 3.2rem); } }
.hero h1 .accent { color: var(--accent); }
.hero h1 .line { display: block; }
.hero-text { margin-top: 32px; max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 36px; margin-top: 44px; }
.hero-note { margin-top: 28px; font-size: .78rem; color: var(--muted); letter-spacing: .08em; }
@media (max-width: 960px) { .hero .container.hero-grid { grid-template-columns: 1fr; gap: 64px; } }

/* Book stack */
.books { position: relative; height: 460px; }
.book {
  position: absolute; width: 210px; aspect-ratio: 1 / 1.45; border-radius: 1px 4px 4px 1px;
  box-shadow: 18px 24px 40px rgba(20,20,20,.18), 2px 2px 0 rgba(0,0,0,.05);
  padding: 26px 22px 22px 30px; display: flex; flex-direction: column; overflow: hidden;
  transition: transform .8s var(--ease);
}
.book::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 8px; background: rgba(0,0,0,.14); }
.book-kicker { font-family: var(--latin); font-style: italic; font-size: .8rem; letter-spacing: .06em; opacity: .85; }
.book-title { font-family: var(--serif); font-weight: 700; font-size: 1.12rem; line-height: 1.6; margin-top: 14px; letter-spacing: .08em; }
.book-author { margin-top: auto; font-size: .66rem; letter-spacing: .2em; opacity: .75; }
.book-1 { background: var(--ink); color: var(--white); left: 2%; top: 44px; transform: rotate(-6deg); z-index: 1; }
.book-1 .book-band { position: absolute; left: 0; right: 0; bottom: 26%; height: 5px; background: var(--accent); }
.book-2 { background: var(--accent); color: var(--white); left: 32%; top: 0; transform: rotate(3deg); z-index: 3; }
.book-3 { background: var(--white); color: var(--ink); left: 56%; top: 124px; transform: rotate(9deg); z-index: 2; border: 1px solid var(--line); }
.book-3 .book-title { writing-mode: vertical-rl; font-size: 1.2rem; margin: 4px 0 0 auto; height: 62%; }
.books:hover .book-1 { transform: rotate(-9deg) translateX(-10px); }
.books:hover .book-3 { transform: rotate(12deg) translateX(10px); }
.books-caption { position: absolute; right: 0; bottom: 0; font-family: var(--latin); font-style: italic; color: var(--muted); font-size: 1rem; }
@media (max-width: 960px) { .books { height: 420px; max-width: 520px; margin-inline: auto; width: 100%; } }
@media (max-width: 520px) {
  .books { height: 330px; }
  .book { width: 140px; padding: 16px 12px 14px 18px; }
  .book-kicker { font-size: .68rem; }
  .book-title { font-size: .82rem; margin-top: 8px; }
  .book-3 .book-title { font-size: .95rem; }
  .book-1 { top: 40px; }
  .book-3 { top: 96px; left: 54%; }
}

.for-whom { margin-top: 100px; border-top: 1px solid var(--line); padding-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: baseline; }
.for-whom strong { font-family: var(--serif); color: var(--ink); font-size: .95rem; margin-right: 8px; }
.for-whom span { font-size: .85rem; }
.for-whom span::before { content: "— "; color: var(--accent); }

/* ---------- Concept ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.pillar { padding: 40px 28px 8px; border-right: 1px solid var(--line); }
.pillar:first-child { padding-left: 0; }
.pillar:last-child { border-right: 0; }
.pillar-num { font-family: var(--latin); font-size: 3rem; line-height: 1; color: var(--accent); font-weight: 500; }
.pillar h3 { font-size: 2rem; margin-top: 22px; letter-spacing: .14em; }
.pillar .en { font-family: var(--latin); font-style: italic; color: var(--muted); font-size: 1.02rem; letter-spacing: .04em; }
.pillar p { margin-top: 18px; font-size: .9rem; }
.concept-note { margin-top: 64px; font-family: var(--serif); font-size: 1.1rem; color: var(--ink); text-align: center; }
@media (max-width: 1000px) {
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar:nth-child(2) { border-right: 0; }
  .pillar:nth-child(3) { padding-left: 0; }
  .pillar:nth-child(-n+2) { border-bottom: 1px solid var(--line); padding-bottom: 36px; }
}
@media (max-width: 560px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar:nth-child(-n+2) { border-right: 0; border-bottom: 1px solid var(--line); padding: 32px 0; }
  .pillar:last-child { border-bottom: 0; }
}

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.service {
  position: relative; padding: 44px 40px 44px 0; border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 64px 1fr; gap: 0 16px;
}
.service:nth-child(odd) { border-right: 1px solid var(--line); }
.service:nth-child(even) { padding-left: 40px; padding-right: 0; }
.service::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--accent); transition: width .6s var(--ease); }
.service:hover::after { width: 100%; }
.service-num { font-family: var(--latin); font-size: 1.7rem; color: var(--accent); line-height: 1.3; }
.service h3 { font-size: 1.35rem; }
.service .badge { display: inline-block; margin-left: 10px; vertical-align: 3px; font-family: var(--sans); font-size: .64rem; font-weight: 700; letter-spacing: .14em; color: var(--white); background: var(--ink); padding: 0 10px; line-height: 1.9; }
.service p { margin-top: 14px; font-size: .92rem; }
.service .tags { margin-top: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.service .tags span { font-family: var(--serif); font-size: .78rem; color: var(--accent-dark); background: var(--accent-soft); padding: 0 12px; }
.service .text-link { margin-top: 22px; }
@media (max-width: 860px) {
  .services { grid-template-columns: 1fr; }
  .service, .service:nth-child(even) { padding: 36px 0; border-right: 0; }
  .service { grid-template-columns: 48px 1fr; }
}

/* ---------- Strength (dark) ---------- */
.dark { background: var(--ink); color: rgba(255,255,255,.72); }
.dark h2, .dark h3 { color: var(--white); }
.statement { font-family: var(--serif); color: var(--white); font-size: clamp(1.4rem, 3vw, 2.15rem); line-height: 1.9; letter-spacing: .1em; max-width: 860px; }
.statement em { font-style: normal; color: var(--accent); }
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 88px; border-top: 1px solid var(--line-dark); }
.reason { padding: 40px 32px 0 0; }
.reason + .reason { padding-left: 32px; border-left: 1px solid var(--line-dark); }
.reason-num { font-family: var(--latin); font-style: italic; color: var(--accent); font-size: 1.15rem; }
.reason h3 { font-size: 1.3rem; margin-top: 10px; }
.reason p { margin-top: 14px; font-size: .9rem; }
@media (max-width: 860px) { .reasons { grid-template-columns: 1fr; margin-top: 56px; } .reason, .reason + .reason { padding: 32px 0; border-left: 0; border-bottom: 1px solid var(--line-dark); } }

/* ---------- Flow ---------- */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.flow::before { content: ""; position: absolute; left: 10%; right: 10%; top: 28px; height: 1px; background: var(--ink); }
.flow li { position: relative; text-align: center; padding: 0 12px; }
.flow-dot { position: relative; z-index: 1; width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; background: var(--paper-2); border: 1px solid var(--ink); display: grid; place-items: center; font-family: var(--latin); font-size: 1.35rem; color: var(--ink); }
.flow li:last-child .flow-dot { background: var(--accent); border-color: var(--accent); color: var(--white); }
.flow h3 { font-size: 1.05rem; margin-top: 22px; }
.flow p { font-size: .82rem; color: var(--muted); margin-top: 8px; line-height: 1.8; }
.flow-foot { margin-top: 72px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; padding: 36px 40px; background: var(--paper); border: 1px solid var(--line); }
.flow-foot p { font-family: var(--serif); color: var(--ink); font-size: 1.05rem; }
.flow-foot small { display: block; font-family: var(--sans); color: var(--muted); font-size: .82rem; margin-top: 4px; }
@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; gap: 28px; }
  .flow::before { left: 27px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .flow li { display: grid; grid-template-columns: 56px 1fr; gap: 0 20px; text-align: left; padding: 0; }
  .flow-dot { margin: 0; grid-row: span 2; }
  .flow h3 { margin-top: 10px; }
  .flow-foot { padding: 28px 24px; }
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 28px 56px 28px 0; position: relative; font-family: var(--serif); font-size: 1.08rem; color: var(--ink); display: flex; gap: 20px; line-height: 1.7; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q { font-family: var(--latin); font-style: italic; color: var(--accent); font-size: 1.35rem; line-height: 1.3; flex: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 56px 30px 40px; font-size: .93rem; }
@media (max-width: 600px) { .faq details p { padding: 0 8px 26px 36px; } }

/* ---------- Company ---------- */
.company { border-top: 1px solid var(--ink); margin: 0; }
.company > div { display: grid; grid-template-columns: 200px 1fr; padding: 24px 0; border-bottom: 1px solid var(--line); }
.company dt { font-family: var(--serif); color: var(--ink); font-weight: 600; }
.company dd { margin: 0; }
.company a { color: var(--ink); }
@media (max-width: 600px) { .company > div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--accent-soft); }
.newsletter .container { display: grid; grid-template-columns: 1fr 460px; gap: 80px; align-items: center; }
.newsletter h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 16px; }
.newsletter .lede { margin-top: 22px; }
.nl-points { list-style: none; padding: 0; margin: 28px 0 0; }
.nl-points li { padding: 12px 0 12px 28px; border-bottom: 1px solid rgba(217,83,30,.22); position: relative; font-size: .92rem; }
.nl-points li::before { content: ""; position: absolute; left: 0; top: 50%; width: 12px; height: 1px; background: var(--accent); }
.nl-box { background: var(--white); padding: 44px 40px; box-shadow: 24px 24px 0 rgba(217,83,30,.14); }
.nl-box h3 { font-size: 1.3rem; }
.nl-box .sub { font-size: .82rem; color: var(--muted); margin-top: 6px; }
@media (max-width: 960px) { .newsletter .container { grid-template-columns: 1fr; gap: 48px; } }
@media (max-width: 600px) { .nl-box { padding: 32px 24px; box-shadow: 12px 12px 0 rgba(217,83,30,.14); } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 26px; margin-top: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .85rem; font-weight: 500; color: var(--ink); margin-bottom: 8px; letter-spacing: .08em; }
.req, .opt { font-size: .64rem; letter-spacing: .1em; margin-left: 8px; padding: 1px 7px; vertical-align: 1px; font-weight: 500; }
.req { color: var(--white); background: var(--accent); }
.opt { color: var(--muted); border: 1px solid var(--line); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; letter-spacing: .04em; color: var(--ink);
  padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper);
  transition: border-color .2s, background .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); background: var(--white); }
.field textarea { min-height: 180px; resize: vertical; line-height: 1.8; }
.field ::placeholder { color: #b3aaa0; }
.field .err { display: none; font-size: .8rem; color: var(--danger); margin-top: 6px; }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: var(--danger); background: #fdf3f1; }
.field.is-invalid .err { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; line-height: 1.7; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: .2em; accent-color: var(--accent); flex: none; }
.check.is-invalid { color: var(--danger); }
.check a { color: var(--accent-dark); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.count { font-size: .75rem; color: var(--muted); text-align: right; margin-top: 6px; letter-spacing: .1em; }
.form-msg { display: none; padding: 14px 16px; font-size: .88rem; }
.form-msg.is-error { display: block; background: #fdf3f1; color: var(--danger); border-left: 2px solid var(--danger); }
.done { display: none; text-align: center; padding: 32px 8px; }
.done.is-show { display: block; }
.done-mark { width: 64px; height: 64px; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid var(--accent); color: var(--accent); }
.done-mark svg.lucide { width: 28px; height: 28px; }
.done h3 { margin-top: 20px; font-size: 1.35rem; }
.done p { margin-top: 12px; font-size: .92rem; }
.done .btn { margin-top: 24px; }

/* ---------- Contact ---------- */
.contact .container { display: grid; grid-template-columns: 1fr 1.35fr; gap: 80px; align-items: start; }
.contact-side { position: sticky; top: calc(var(--header-h) + 40px); }
.contact-side h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-top: 16px; }
.contact-side .lede { margin-top: 20px; color: var(--muted); }
.contact-info { margin: 40px 0 0; border-top: 1px solid var(--line); }
.contact-info div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-info dt { font-size: .78rem; color: var(--muted); letter-spacing: .14em; }
.contact-info dd { margin: 4px 0 0; font-family: var(--serif); font-size: 1.02rem; color: var(--ink); }
.contact-info .tel { font-family: var(--latin); font-size: 2rem; letter-spacing: .04em; text-decoration: none; color: var(--ink); line-height: 1.4; }
.contact-info .tel:hover { color: var(--accent); }
.contact-info a { color: var(--ink); }
.contact-box { background: var(--white); padding: 52px 48px; border: 1px solid var(--line); }
.contact-box .form { margin-top: 0; }
@media (max-width: 960px) { .contact .container { grid-template-columns: 1fr; gap: 48px; } .contact-side { position: static; } }
@media (max-width: 600px) { .contact-box { padding: 32px 22px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.6); padding: 96px 0 36px; font-size: .85rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 56px; }
.site-footer .logo-ja { color: var(--white); font-size: clamp(1rem, 5vw, 1.3rem); white-space: normal; }
.footer-top h4 { font-family: var(--latin); font-style: italic; font-weight: 500; color: var(--accent); font-size: 1.15rem; letter-spacing: .06em; margin-bottom: 18px; }
.footer-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-top a { text-decoration: none; transition: color .2s; }
.footer-top a:hover { color: var(--white); }
.footer-address { margin-top: 24px; line-height: 1.9; }
.mini-nl { display: flex; border-bottom: 1px solid rgba(255,255,255,.3); transition: border-color .2s; }
.mini-nl input { flex: 1; min-width: 0; font: inherit; padding: 12px 0; border: 0; background: transparent; color: var(--white); letter-spacing: .06em; }
.mini-nl input::placeholder { color: rgba(255,255,255,.4); }
.mini-nl input:focus { outline: none; }
.mini-nl button { background: none; border: 0; color: var(--white); font: inherit; letter-spacing: .14em; cursor: pointer; padding: 0 4px; display: inline-flex; align-items: center; gap: 6px; }
.mini-nl button:hover { color: var(--accent); }
.mini-nl:focus-within { border-color: var(--accent); }
.mini-msg { font-size: .78rem; margin-top: 10px; min-height: 1.2em; }
.copyright { margin-top: 80px; padding-top: 28px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .75rem; letter-spacing: .1em; }
.copyright .latin { font-family: var(--latin); font-style: italic; font-size: 1rem; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Modal ---------- */
dialog.modal { border: 0; border-radius: var(--radius); padding: 0; width: min(640px, calc(100% - 32px)); max-height: 85vh; background: var(--paper); color: var(--ink-2); }
dialog.modal::backdrop { background: rgba(20,20,20,.6); }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 28px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--paper); }
.modal-head h2 { font-size: 1.15rem; }
.modal-close { background: none; border: 0; cursor: pointer; padding: 6px; color: var(--ink); font-size: 1.2rem; }
.modal-body { padding: 24px 28px 32px; font-size: .9rem; }
.modal-body h3 { font-size: 1rem; margin-top: 24px; }
.modal-body p { margin-top: 8px; }

/* ---------- Floating CTA ---------- */
.float-cta { position: fixed; right: 24px; bottom: 24px; z-index: 40; padding: 1em 1.6em; box-shadow: 0 12px 30px rgba(20,20,20,.25); transition: opacity .35s, transform .35s var(--ease), background .3s; }
.float-cta.is-hidden { opacity: 0; transform: translateY(20px); pointer-events: none; }
@media (max-width: 600px) { .float-cta { right: 16px; bottom: 16px; font-size: .85rem; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .book, .btn svg.lucide { transition: none; }
}

/* ---------- Heritage（創業30年） ---------- */
.heritage { background: var(--paper); overflow: hidden; }
.heritage .container { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.heritage-num { position: relative; text-align: center; padding: 20px 0; }
.heritage-num::before { content: ""; position: absolute; inset: 8% 14%; border: 1px solid var(--line); border-radius: 50%; }
.heritage-num .big { display: block; position: relative; font-family: var(--latin); font-weight: 500; font-size: clamp(9rem, 22vw, 17rem); line-height: .9; color: var(--accent); letter-spacing: -.02em; }
.heritage-num .years { display: block; position: relative; font-family: var(--latin); font-style: italic; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--ink); margin-top: -.2em; }
.heritage-num .range { display: inline-block; position: relative; margin-top: 18px; font-family: var(--latin); font-size: 1.05rem; letter-spacing: .2em; color: var(--muted); border-top: 1px solid var(--ink); padding-top: 10px; }
.heritage-body h2 { font-size: clamp(1.55rem, 3vw, 2.3rem); margin-top: 18px; line-height: 1.7; }
.heritage-body .lede { margin-top: 22px; }
.timeline { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--ink); }
.timeline li { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.t-year { font-family: var(--latin); font-size: 1.5rem; color: var(--accent); line-height: 1.2; }
.t-text { font-size: .92rem; }
@media (max-width: 960px) { .heritage .container { grid-template-columns: 1fr; gap: 40px; } .heritage-num::before { inset: 4% 22%; } }
@media (max-width: 520px) { .heritage-num::before { inset: 4% 8%; } .timeline li { grid-template-columns: 72px 1fr; } }

/* ===== WORKS（出版実績） ===== */
.works-author { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding: 36px 40px; border: 1px solid var(--line); background: var(--paper); margin-bottom: 56px; }
.works-org { font-size: .85rem; letter-spacing: .14em; color: var(--accent); }
.works-name { font-family: var(--serif); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: .12em; margin-top: 6px; }
.works-name span { font-size: .55em; margin-left: .5em; color: var(--muted); letter-spacing: .1em; }
.works-desc { margin-top: 14px; color: var(--muted); max-width: 640px; font-size: .95rem; }
.works-count { flex: none; text-align: center; padding-left: 40px; border-left: 1px solid var(--line); }
.works-count .num { display: block; font-family: var(--latin); font-size: 4.4rem; line-height: 1; color: var(--accent); }
.works-count .unit { display: block; font-family: var(--latin); font-style: italic; font-size: 1.2rem; }
.works-count .ja { display: block; margin-top: 6px; font-size: .75rem; letter-spacing: .12em; color: var(--muted); }
@media (max-width: 760px) {
  .works-author { flex-direction: column; align-items: flex-start; padding: 28px 24px; gap: 24px; }
  .works-count { padding: 20px 0 0; border-left: 0; border-top: 1px solid var(--line); width: 100%; display: flex; align-items: baseline; gap: 10px; text-align: left; }
  .works-count .num { display: inline; font-size: 3rem; }
  .works-count .unit, .works-count .ja { display: inline; margin: 0; }
}

.works-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px 32px; }
@media (max-width: 1000px) { .works-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .works-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 18px; } }
.work a { display: flex; flex-direction: column; color: inherit; text-decoration: none; height: 100%; }
.work-cover { display: block; aspect-ratio: 2 / 3; background: var(--paper); box-shadow: 0 1px 2px rgba(20,20,20,.08), 0 10px 24px -12px rgba(20,20,20,.35); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.work-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.work a:hover .work-cover, .work a:focus-visible .work-cover { transform: translateY(-6px); box-shadow: 0 2px 4px rgba(20,20,20,.08), 0 22px 36px -16px rgba(20,20,20,.45); }
.work-tag { align-self: flex-start; margin-top: 18px; font-size: .72rem; letter-spacing: .1em; color: var(--accent); border: 1px solid currentColor; padding: 2px 10px; border-radius: 999px; }
.work-title { margin-top: 10px; font-family: var(--serif); font-weight: 700; font-size: 1rem; line-height: 1.6; }
.work a:hover .work-title { color: var(--accent); }
.work-sub { margin-top: 6px; font-size: .8rem; line-height: 1.7; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 700px) { .work-title { font-size: .9rem; } .work-sub { font-size: .75rem; } }

.works-foot { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.works-foot p { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; }

/* ===== ロゴマーク ===== */
.logo { flex-direction: row; align-items: center; gap: 14px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.logo-mark { height: 52px; width: auto; flex: none; transition: transform .5s var(--ease); }
.logo:hover .logo-mark { transform: rotate(-4deg) translateY(-1px); }
.site-header .logo-text { padding-left: 14px; border-left: 1px solid var(--line); }
@media (max-width: 420px) { .logo { gap: 10px; } .logo-mark { height: 42px; } .site-header .logo-text { padding-left: 10px; } }
@media (max-width: 360px) { .logo-mark { height: 38px; } }

.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-mark { height: 64px; width: auto; flex: none; }
.footer-brand .logo-text { padding-left: 16px; border-left: 1px solid rgba(255,255,255,.18); }
.footer-brand .logo-en { color: var(--accent); }
.site-header .container { width: min(1360px, 100% - 64px); }
.site-header .logo { flex: none; }
@media (max-width: 640px) { .site-header .container { width: calc(100% - 40px); } .site-header .logo { flex: 0 1 auto; } }
@media (max-width: 520px) {
  .footer-brand { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-brand .logo-text { padding-left: 0; border-left: 0; }
  .footer-mark { height: 56px; }
}

/* ==========================================================
   ロゴマークの透かし（背景の装飾）
   ========================================================== */
.bg-mark {
  position: absolute; z-index: 0; pointer-events: none;
  aspect-ratio: 592 / 1440;
  background: var(--accent);
  -webkit-mask: url(../img/logo-silhouette.png) no-repeat center / contain;
          mask: url(../img/logo-silhouette.png) no-repeat center / contain;
}
.hero, #strength, .newsletter, .site-footer { position: relative; overflow: hidden; }
.hero > .container, #strength > .container, .newsletter > .container, .site-footer > .container { position: relative; z-index: 1; }

/* ヒーロー：本の後ろで、ゆったり舞う大きなシルエット */
.bg-mark--hero { height: 128%; top: -6%; right: -3%; opacity: .07; transform: rotate(-6deg); }

/* 選ばれる理由（黒）：左にはみ出す白い透かし */
.bg-mark--strength { height: 135%; top: -18%; left: -7%; background: var(--white); opacity: .045; transform: rotate(9deg); }

/* 創業30年：円の中、数字の後ろに */
.bg-mark--heritage { top: 50%; left: 50%; height: 88%; transform: translate(-50%, -50%); opacity: .09; }
.heritage-num .big, .heritage-num .years, .heritage-num .range { z-index: 1; }

/* メルマガ：右下にそっと */
.bg-mark--newsletter { height: 115%; bottom: -24%; right: 2%; opacity: .1; transform: rotate(-12deg); }

/* フッター：右下に白い透かし */
.bg-mark--footer { height: 118%; bottom: -30%; right: -2%; background: var(--white); opacity: .04; transform: rotate(-8deg); }

/* ゆっくり呼吸するような動き（控えめ） */
@media (prefers-reduced-motion: no-preference) {
  .bg-mark--hero { animation: markFloat 14s ease-in-out infinite alternate; }
  @keyframes markFloat { to { transform: rotate(-2deg) translateY(-14px); } }
}

@media (max-width: 900px) {
  .bg-mark--hero { height: 70%; top: auto; bottom: 4%; right: -14%; opacity: .06; }
  .bg-mark--strength { height: 90%; left: -22%; }
  .bg-mark--newsletter { height: 60%; bottom: -10%; right: -10%; }
  .bg-mark--footer { height: 60%; bottom: -8%; right: -16%; }
}
