/* ==================================================================
   Cybersell 官网 · Kami parchment design system（紙）
   来源：tw93/kami landing-page 模板的 token 与组件，
   改动：日文明朝字体栈、公司官网结构（事業/約束/挨拶/概要/法务页）。
   全站 5 个页面共用本文件，避免多页样式漂移。
   ================================================================== */

:root {
  --parchment:    #ffffff;
  --ivory:        #faf9f5;
  --warm-sand:    #e8e6dc;

  --brand:        #1B365D;
  --brand-light:  #2D5A8A;
  --brand-tint:   #EEF2F7;

  --near-black:   #141413;
  --dark-warm:    #3d3d3a;
  --olive:        #4d4c48;   /* JA override：明朝笔画细，副文字加深 */
  --stone:        #6b6a64;

  --border:       #e8e6dc;
  --border-soft:  #e5e3d8;
  --line:         #d8d5c8;

  /* 日文：系统明朝优先，Android 等无明朝环境回落到 Noto Serif JP 网络字体 */
  --serif: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  --latin-ui: "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", "Noto Sans JP",
              system-ui, -apple-system, sans-serif;
}

html[lang="en"] {
  --olive: #504e49;
  --serif: "Zen Kaku Gothic New", "Hiragino Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --latin-ui: system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--parchment);
  color: var(--near-black);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.75;
  letter-spacing: 0.3px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html[lang="en"] body { line-height: 1.6; letter-spacing: 0.1px; }

a { color: var(--brand); text-decoration: none; transition: color 0.15s; }
@media (hover: hover) { a:hover { color: var(--brand-light); } }

:focus-visible { outline: 2px solid var(--brand-light); outline-offset: 3px; border-radius: 2px; }

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 64px 96px;
}

/* ========== Top bar ========== */

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-bottom: 20px;
  margin-bottom: 72px;
  border-bottom: 1px solid var(--border-soft);
}
.brand-logo { display: inline-flex; color: var(--dark-warm); }
.brand-logo svg, .brand-logo img { height: 18px; width: auto; display: block; }
.topnav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-family: var(--latin-ui);
  font-size: 13px;
}
.topnav a { color: var(--dark-warm); }
.nav-sections { display: contents; }
@media (hover: hover) { .topnav a:hover { color: var(--brand); } }
.lang {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-family: var(--latin-ui);
  font-size: 12px;
  letter-spacing: 0.4px;
  color: var(--stone);
}
.lang [aria-current="true"] { color: var(--near-black); font-weight: 500; }
.lang a { color: var(--stone); }

/* ========== Buttons ========== */

.btn-primary, .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--latin-ui);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.2px;
  padding: 13px 28px;
  border-radius: 999px;
  border: 1.5px solid var(--brand);
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
  cursor: pointer;
  min-width: 158px;
}
.btn-primary { background: var(--brand); color: var(--ivory); }
.btn-ghost { background: transparent; color: var(--brand); }
@media (hover: hover) {
  .btn-primary:hover { background: var(--brand-light); border-color: var(--brand-light); color: var(--ivory); transform: translateY(-1px); }
  .btn-ghost:hover { background: var(--brand-tint); color: var(--brand); transform: translateY(-1px); }
}

/* ========== Hero ========== */

.hero {
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 88px;
}
.eyebrow {
  font-family: var(--latin-ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.6px;
  color: var(--stone);
  margin: 0 0 28px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 64px;
  line-height: 1.3;
  letter-spacing: 2px;
  margin: 0 0 24px;
  color: var(--near-black);
}
html[lang="en"] .hero h1 { font-size: 72px; line-height: 1.08; letter-spacing: 0; }
.hero .tagline {
  font-size: 20px;
  line-height: 1.7;
  color: var(--olive);
  margin: 0 0 24px;
  max-width: 820px;
}
html[lang="en"] .hero .tagline { font-size: 21px; line-height: 1.55; }
.hero-tokens {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0 0 36px;
  font-family: var(--latin-ui);
  font-size: 13px;
  color: var(--stone);
}
.hero-tokens span:not(:last-child)::after {
  content: "·";
  margin: 0 10px;
  color: color-mix(in srgb, var(--stone) 58%, transparent);
}
.hero-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ========== Hero 右侧：名片同款炭灰竖排面板 ========== */
/* 来源：名片设计（炭灰底 + 竖排明朝品牌语），不是装饰，是品牌识别元素 */

:root { --charcoal: #58565a; --on-charcoal: #f5f4ed; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 56px;
  align-items: stretch;
}
.card-panel {
  background: var(--charcoal);
  color: var(--on-charcoal);
  border-radius: 6px;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 44px 24px 32px;
}
.card-panel .vt {
  writing-mode: vertical-rl;
  font-family: "YuMincho", "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif CJK JP", "Noto Serif JP", serif;
  font-size: 30px;
  line-height: 1.7;
  letter-spacing: 6px;
  margin: 0;
}
.card-panel .vt span { display: block; }
.card-panel .vt span + span { margin-top: 2.2em; }
.card-panel img { height: 15px; width: auto; filter: invert(1) brightness(1.6); opacity: 0.92; }

/* ========== 业务流程（HTML 流程图） ========== */

.flow {
  list-style: none;
  margin: 36px 0 8px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
  counter-reset: step;
}
.flow li {
  position: relative;
  border-top: 2px solid var(--brand);
  padding-top: 14px;
}
.flow li:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: -15px;
  right: -22px;
  font-family: var(--latin-ui);
  font-size: 15px;
  color: var(--brand);
  background: var(--parchment);
  padding: 0 2px;
}
.flow .k {
  font-family: var(--latin-ui);
  font-size: 11px;
  letter-spacing: 0.6px;
  color: var(--brand);
  margin: 0 0 4px;
}
.flow .t { font-size: 17px; font-weight: 500; color: var(--near-black); margin: 0 0 4px; line-height: 1.4; }
.flow .d { font-size: 13px; color: var(--olive); margin: 0; line-height: 1.6; }
.flow-note { font-size: 13px; color: var(--stone); margin: 20px 0 0; font-family: var(--latin-ui); }

/* ========== 商品阵列（真实 listing 主图） ========== */

.products {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.products li { margin: 0; }
.products .shot {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}
.products img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.products .cat {
  font-family: var(--latin-ui);
  font-size: 11px;
  letter-spacing: 0.6px;
  color: var(--brand);
  margin: 12px 0 2px;
}
.products .nm { font-size: 15px; color: var(--near-black); margin: 0; line-height: 1.5; }
.products-note { font-size: 13px; color: var(--stone); margin: 20px 0 0; font-family: var(--latin-ui); }

/* ========== 間・材・縁：首屏注音、门的引言、三段式业务 ========== */

.hero h1 ruby rt {
  font-size: 0.26em;
  letter-spacing: 0.2em;
  color: var(--stone);
  font-weight: 400;
}
.gate-note {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 40px;
  align-items: baseline;
  margin: 0 0 96px;
}
.gate-note .gk {
  font-size: 15px;
  color: var(--stone);
  font-family: var(--latin-ui);
  letter-spacing: 0.6px;
  margin: 0;
}
.gate-note p.manifesto {
  font-size: 20px;
  line-height: 2;
  color: var(--near-black);
  margin: 0;
  max-width: 760px;
}
html[lang="en"] .gate-note p.manifesto { line-height: 1.6; }

.pillar-head {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 36px;
}
.pillar-head .kanji {
  font-size: 112px;
  line-height: 1;
  font-weight: 500;
  color: var(--brand);
  margin: 0;
}
.pillar-head .kanji ruby rt { font-size: 0.14em; letter-spacing: 0.3em; color: var(--stone); font-weight: 400; }
.pillar-head .label {
  font-family: var(--latin-ui);
  font-size: 12px;
  letter-spacing: 0.8px;
  color: var(--brand);
  margin: 0 0 8px;
}
.pillar-head h2 { font-weight: 500; font-size: 30px; line-height: 1.4; margin: 0 0 10px; letter-spacing: 1px; }
html[lang="en"] .pillar-head h2 { letter-spacing: 0; line-height: 1.25; }
.pillar-head .lede { font-size: 16px; color: var(--olive); margin: 0; max-width: 720px; }

/* 主打款：图文并排 */
.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding: 36px 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 28px;
}
.feature-row .shot {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.feature-row .shot img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.feature-row .tag { font-family: var(--latin-ui); font-size: 11px; letter-spacing: 0.8px; color: var(--brand); margin: 0 0 8px; }
.feature-row h3 { font-weight: 500; font-size: 26px; line-height: 1.45; margin: 0 0 14px; }
.feature-row p { font-size: 15px; color: var(--dark-warm); margin: 0 0 16px; }
.feature-row ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border-soft); }
.feature-row li { font-size: 14px; color: var(--dark-warm); padding: 10px 0; border-bottom: 1px solid var(--border-soft); }
.feature-row li b { font-weight: 500; color: var(--near-black); margin-right: 8px; }

/* 实拍竖图两联 */
.media-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 1.25fr); gap: 24px; margin: 0; padding: 0; list-style: none; align-items: start; }
.media-pair .catalog { padding-left: 8px; }
.media-pair .catalog .label { font-family: var(--latin-ui); font-size: 12px; letter-spacing: 0.8px; color: var(--brand); margin: 0 0 10px; }
.media-pair dl { margin: 0 0 16px; border-top: 1px solid var(--border-soft); }
.media-pair dl div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--border-soft); }
.media-pair dt { font-size: 14px; font-weight: 500; color: var(--near-black); }
.media-pair dd { margin: 0; font-size: 14px; color: var(--dark-warm); }
.media-pair img {
  width: 100%;
  height: auto;
  background: var(--warm-sand);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 40%;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: block;
}
.media-pair .cap { font-size: 14px; color: var(--near-black); margin: 12px 0 2px; }
.media-pair .sub { font-size: 13px; color: var(--olive); margin: 0; }
.cats { font-family: var(--latin-ui); font-size: 13px; color: var(--stone); margin: 20px 0 0; }

.flow.flow-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ========== 材：定制镜三图、卫浴阵列；間：紧凑卡片；FAQ ========== */

.products.compact { max-width: 760px; gap: 14px; }
.products.compact .shot { padding: 10px; }
.products.compact .nm { font-size: 13px; }

.block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 0 0 18px; }
.block-head .tag { font-family: var(--latin-ui); font-size: 11px; letter-spacing: 0.8px; color: var(--brand); margin: 0; }
.block-head h3 { font-weight: 500; font-size: 24px; line-height: 1.45; margin: 4px 0 0; }

.craft {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
  gap: 40px;
  align-items: start;
  padding: 36px 0;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 36px;
}
.craft p { font-size: 15px; color: var(--dark-warm); margin: 0 0 14px; }
.craft ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border-soft); }
.craft li { font-size: 14px; color: var(--dark-warm); padding: 10px 0; border-bottom: 1px solid var(--border-soft); }
.craft li b { font-weight: 500; color: var(--near-black); margin-right: 8px; }
.craft .shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.craft .shots li { border: none; padding: 0; }
.craft .shots img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--warm-sand);
  display: block;
}
.craft .shots .cap { font-size: 13px; color: var(--olive); margin: 8px 0 0; line-height: 1.5; }

.bath-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bath-grid .shot { aspect-ratio: 4 / 3; padding: 18px; }

.faq { margin: 0; border-top: 1px solid var(--border-soft); }
.faq .qa { padding: 20px 0; border-bottom: 1px solid var(--border-soft); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px; }
.faq dt { font-weight: 500; font-size: 16px; color: var(--near-black); margin: 0; line-height: 1.6; }
.faq dd { margin: 0; font-size: 15px; color: var(--dark-warm); line-height: 1.8; }

/* ========== 材：石と火（场景图，AI 辅助生成须标注イメージ） ========== */

.elements { padding: 8px 0 36px; border-bottom: 1px solid var(--border-soft); margin-bottom: 36px; }
.elements .pair-text { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; margin: 0 0 24px; }
.elements .pair-text h4 { font-weight: 500; font-size: 18px; margin: 0 0 8px; color: var(--near-black); }
.elements .pair-text h4 small { font-family: var(--latin-ui); font-size: 11px; letter-spacing: 0.6px; color: var(--brand); margin-left: 10px; font-weight: 400; }
.elements .pair-text p { font-size: 15px; color: var(--dark-warm); margin: 0; }
.elements .shots4 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.elements .shots4 img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; border: 1px solid var(--border); background: var(--warm-sand); display: block; }
.elements .shots4 .cap { font-size: 13px; color: var(--olive); margin: 8px 0 0; }
.elements .note { font-family: var(--latin-ui); font-size: 12px; color: var(--stone); margin: 14px 0 0; }

/* ========== Section primitives ========== */

section { margin-bottom: 96px; scroll-margin-top: 24px; }
.section-head { margin-bottom: 28px; }
.section-num {
  font-family: var(--latin-ui);
  font-size: 13px;
  color: var(--brand);
  letter-spacing: 0.6px;
  margin: 0 0 6px;
}
.section-title {
  font-weight: 500;
  font-size: 34px;
  line-height: 1.3;
  color: var(--near-black);
  margin: 0;
  letter-spacing: 1.2px;
}
html[lang="en"] .section-title { letter-spacing: 0; }
.section-lede {
  font-size: 17px;
  line-height: 1.7;
  color: var(--olive);
  margin: 14px 0 0;
}

/* ========== Features（事業内容） ========== */

.features { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border-soft); }
.features li {
  display: grid;
  grid-template-columns: 220px 1fr;
  column-gap: 40px;
  padding: 30px 0;
  border-bottom: 1px solid var(--border-soft);
  align-items: baseline;
}
.features .name {
  font-weight: 500;
  font-size: 22px;
  color: var(--near-black);
  margin: 0;
  line-height: 1.35;
}
.features .name small {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--olive);
  font-weight: 400;
  letter-spacing: 0.2px;
}
.features .what { font-size: 15px; color: var(--dark-warm); margin: 0; }
.features .tag {
  display: inline-block;
  font-family: var(--latin-ui);
  font-size: 11px;
  letter-spacing: 0.6px;
  color: var(--brand);
  margin-bottom: 6px;
}

/* ========== Principles（約束） ========== */

.principles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--border-soft);
}
.principles li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 8px;
  padding: 24px 28px 24px 0;
  border-bottom: 1px solid var(--border-soft);
  align-items: baseline;
}
.principles li:nth-child(odd) { padding-right: 32px; border-right: 1px solid var(--border-soft); }
.principles li:nth-child(even) { padding-left: 32px; }
.principles .n { font-weight: 500; font-size: 18px; color: var(--brand); line-height: 1; }
.principles .body b {
  display: block;
  font-weight: 500;
  font-size: 16px;
  color: var(--near-black);
  margin-bottom: 4px;
}
.principles .body span { font-size: 14px; color: var(--olive); line-height: 1.7; }

/* ========== Message（代表挨拶） ========== */

.message {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.message.has-photo { grid-template-columns: 240px minmax(0, 1fr); }
.message figure { margin: 0; }
.message figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border);
  display: block;
}
.message .prose p {
  font-size: 17px;
  line-height: 2;
  color: var(--dark-warm);
  margin: 0 0 20px;
  max-width: 720px;
}
html[lang="en"] .message .prose p { line-height: 1.7; }
.signature {
  margin: 32px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
  max-width: 720px;
}
.signature .role { font-family: var(--latin-ui); font-size: 12px; color: var(--stone); letter-spacing: 0.4px; margin: 0; }
.signature .who { font-size: 22px; font-weight: 500; letter-spacing: 4px; margin: 4px 0 10px; }
html[lang="en"] .signature .who { letter-spacing: 0.4px; }
.signature .bio { font-size: 14px; color: var(--olive); margin: 0; line-height: 1.8; }

/* ========== Company table（会社概要, kami-table） ========== */

.kami-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.kami-table th, .kami-table td {
  text-align: left;
  vertical-align: top;
  padding: 16px 12px 16px 0;
  border-bottom: 1px solid var(--border);
}
.kami-table tr:first-child th, .kami-table tr:first-child td { border-top: 1px solid var(--border); }
.kami-table th {
  width: 200px;
  font-family: var(--latin-ui);
  font-weight: 500;
  font-size: 13px;
  color: var(--stone);
  letter-spacing: 0.4px;
  padding-top: 18px;
}
.kami-table td { color: var(--near-black); }
.kami-table td small { display: block; color: var(--olive); font-size: 13px; }
.num { font-variant-numeric: lining-nums tabular-nums; }

/* ========== Contact ========== */

.contact-card {
  border-top: 1px solid var(--line);
  padding: 56px 32px 16px;
  text-align: center;
}
.contact-card p { font-size: 16px; color: var(--dark-warm); margin: 0 auto 28px; max-width: 620px; }
.contact-card .mail {
  font-family: var(--latin-ui);
  font-size: 13px;
  color: var(--stone);
  margin: 16px auto 0;
}

/* ========== Footer ========== */

footer.foot {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  font-size: 13px;
  color: var(--stone);
}
.foot .mark { display: flex; flex-direction: column; gap: 10px; }
.foot .mark .brand-logo svg, .foot .mark .brand-logo img { height: 16px; }
.foot .mark .wm-name { font-size: 15px; font-weight: 500; color: var(--near-black); }
.foot .mark .wm-line { font-size: 13px; color: var(--olive); }
.foot .colophon { text-align: right; max-width: 520px; }
.foot .links { font-family: var(--latin-ui); color: var(--dark-warm); margin-bottom: 12px; line-height: 1.9; }
.foot .links a { color: var(--dark-warm); white-space: nowrap; }
@media (hover: hover) { .foot .links a:hover { color: var(--brand); } }
.foot .links .sep { color: var(--line); margin: 0 6px; }
.foot .copy { font-family: var(--latin-ui); font-size: 12px; margin: 0; }

/* ========== Legal pages ========== */

.legal-head { margin-bottom: 40px; }
.legal-head h1 { font-weight: 500; font-size: 44px; line-height: 1.2; margin: 0 0 8px; }
.legal-head .updated { font-family: var(--latin-ui); font-size: 13px; color: var(--stone); margin: 0; }
.legal { max-width: 760px; }
.legal h2 { font-weight: 500; font-size: 22px; margin: 44px 0 12px; color: var(--near-black); }
.legal h3 { font-weight: 500; font-size: 17px; margin: 24px 0 8px; color: var(--near-black); }
.legal p, .legal li { font-size: 15.5px; color: var(--dark-warm); }
.legal ul { padding-left: 1.2em; }
.legal li { margin: 4px 0; }
.legal .note {
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 16px 20px;
  margin: 20px 0;
}
.legal form { margin: 20px 0 0; display: grid; gap: 14px; max-width: 520px; }
.legal label { display: block; font-family: var(--latin-ui); font-size: 13px; color: var(--dark-warm); margin-bottom: 4px; }
.legal input, .legal select, .legal textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  padding: 10px 12px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--near-black);
}
.legal textarea { min-height: 110px; resize: vertical; }
.legal button { justify-self: start; }

/* ========== Responsive ========== */

@media (max-width: 880px) {
  .page { padding: 28px 32px 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .gate-note, .pillar-head { grid-template-columns: 1fr; gap: 12px; }
  .gate-note { margin-bottom: 72px; }
  .gate-note p.manifesto { font-size: 18px; }
  .pillar-head .kanji { font-size: 84px; }
  .pillar-head h2 { font-size: 24px; }
  .feature-row { grid-template-columns: 1fr; gap: 24px; }
  .feature-row h3 { font-size: 22px; }
  .flow.flow-4 { grid-template-columns: 1fr; }
  .media-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .craft { grid-template-columns: 1fr; gap: 24px; }
  .elements .pair-text { grid-template-columns: 1fr; gap: 20px; }
  .elements .shots4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .bath-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .faq .qa { grid-template-columns: 1fr; gap: 8px; }
  .media-pair .catalog { grid-column: 1 / -1; padding-left: 0; }
  .card-panel { min-height: 0; flex-direction: row; justify-content: center; gap: 40px; padding: 32px 24px; }
  .card-panel .vt { font-size: 20px; letter-spacing: 3px; }
  .card-panel img { writing-mode: vertical-rl; transform: rotate(90deg); display: none; }
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow li { border-top: none; border-left: 2px solid var(--brand); padding: 4px 0 20px 18px; }
  .flow li:not(:last-child)::after { content: none; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .products.compact { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .craft .shots { gap: 8px; }
  .topbar { margin-bottom: 56px; }
  .topnav .nav-sections { display: none; }
  .hero { margin-bottom: 64px; padding-bottom: 40px; }
  .hero h1 { font-size: 48px; letter-spacing: 1px; }
  html[lang="en"] .hero h1 { font-size: 52px; }
  .hero .tagline, html[lang="en"] .hero .tagline { font-size: 17px; }
  section { margin-bottom: 72px; }
  .section-title { font-size: 28px; letter-spacing: 0.8px; }
  .features li { grid-template-columns: 1fr; row-gap: 10px; padding: 24px 0; }
  .principles { grid-template-columns: 1fr; }
  .principles li:nth-child(odd) { border-right: none; padding-right: 0; }
  .principles li:nth-child(even) { padding-left: 0; }
  .message.has-photo { grid-template-columns: 1fr; gap: 28px; }
  .message.has-photo figure { max-width: 220px; }
  .kami-table th { width: 128px; }
  footer.foot { flex-direction: column; align-items: flex-start; gap: 28px; }
  .foot .colophon { text-align: left; }
  .legal-head h1 { font-size: 34px; }
}

@media (max-width: 480px) {
  .page { padding: 20px 16px 56px; }
  .topbar { margin-bottom: 44px; }
  .hero h1 { font-size: 34px; letter-spacing: 0.5px; }
  html[lang="en"] .hero h1 { font-size: 38px; }
  .hero .tagline, html[lang="en"] .hero .tagline { font-size: 16px; }
  .hero-cta { gap: 12px; }
  .btn-primary, .btn-ghost { min-width: 0; padding: 13px 20px; }
  section { margin-bottom: 56px; }
  .section-title { font-size: 25px; }
  .message .prose p { font-size: 16px; line-height: 1.9; }
  .kami-table, .kami-table tbody, .kami-table tr, .kami-table th, .kami-table td { display: block; width: 100%; }
  .kami-table th { padding: 14px 0 2px; border-bottom: none; }
  .kami-table td { padding: 0 0 14px; }
  .kami-table tr:first-child td { border-top: none; }
  .contact-card { padding: 40px 8px; }
  .legal-head h1 { font-size: 28px; }
}

@media (max-width: 360px) {
  .hero-cta { flex-direction: column; align-items: flex-start; }
}

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

@media print {
  body { background: #fff; }
  .topnav, .hero-cta { display: none; }
}

.topnav a[aria-current="page"] { color: var(--near-black); font-weight: 500; }
