/* =========================================================
   漁師めし 汐の綴 — デザインサンプル（架空のお店）
   和モダン：生成りの和紙 × 墨 × 藍 × 朱
   ========================================================= */
:root {
  --paper: #f4eee1;
  --paper-deep: #e9e0cc;
  --sumi: #1f1d1b;
  --sumi-soft: #4a4540;
  --ai: #274a72;
  --ai-deep: #16273f;
  --shu: #b3372a;
  --line: rgba(31, 29, 27, .18);
  --mincho: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --gothic: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --gutter: 20px;
  --maxw: 1120px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background-color: var(--paper);
  /* 和紙の繊維感（インラインSVGのノイズ） */
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='f'><feTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .45  0 0 0 0 .38  0 0 0 0 .28  0 0 0 .09 0'/></filter><rect width='100%' height='100%' filter='url(%23f)'/></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='600' height='600'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='.004 .03' numOctaves='2' seed='4' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5  0 0 0 0 .42  0 0 0 0 .3  0 0 0 .06 0'/></filter><rect width='100%' height='100%' filter='url(%23g)'/></svg>");
  color: var(--sumi);
  font-family: var(--gothic);
  font-size: 15px;
  line-height: 1.95;
  letter-spacing: .04em;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--mincho); font-weight: 700; margin: 0; line-height: 1.45; letter-spacing: .08em; }
p { margin: 0 0 1em; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--sumi); color: var(--paper); padding: 8px 14px; }
.skip:focus { left: 8px; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.v { writing-mode: vertical-rl; text-orientation: mixed; }
:focus-visible { outline: 2px solid var(--shu); outline-offset: 3px; }

.kicker {
  font-family: var(--mincho);
  font-size: 13px;
  letter-spacing: .3em;
  color: var(--shu);
  margin: 0 0 12px;
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
}
.kicker::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.sec-note { color: var(--sumi-soft); font-size: 14px; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px var(--gutter);
}
.brand { position: relative; z-index: 2; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(244, 238, 225, .9); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s; }
.site-header.scrolled::before { opacity: 1; }
.menu-open .site-header::before { opacity: 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 36px; height: 36px; }
.brand-name { font-family: var(--mincho); font-size: 11px; letter-spacing: .2em; line-height: 1.3; display: flex; flex-direction: column; }
.brand-name b { font-size: 18px; letter-spacing: .18em; font-weight: 800; }
.menu-btn {
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 7px; position: relative; z-index: 2;
}
.menu-btn span:not(.sr) { width: 24px; height: 2px; background: var(--sumi); transition: transform .3s; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }
.gnav ul { list-style: none; margin: 0; padding: 0; }
.gnav a { text-decoration: none; font-family: var(--mincho); letter-spacing: .16em; }

@media (max-width: 859px) {
  .gnav {
    position: fixed; inset: 0; background: var(--paper);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .menu-open .gnav { opacity: 1; visibility: visible; }
  .gnav ul { display: flex; flex-direction: row-reverse; gap: 22px; height: 60vh; max-height: 420px; }
  .gnav li { writing-mode: vertical-rl; font-size: 20px; }
  .gnav .nav-cta { color: var(--shu); }
  html:not(.js) .gnav { position: static; opacity: 1; visibility: visible; background: none; }
  html:not(.js) .gnav ul { flex-direction: row; flex-wrap: wrap; height: auto; gap: 4px 14px; }
  html:not(.js) .gnav li { writing-mode: horizontal-tb; font-size: 13px; }
  html:not(.js) .menu-btn { display: none; }
  html:not(.js) .site-header { position: static; flex-wrap: wrap; }
}
@media (min-width: 860px) {
  :root { --gutter: 40px; }
  .menu-btn { display: none; }
  .gnav ul { display: flex; gap: 30px; align-items: center; }
  .gnav a { font-size: 14px; position: relative; padding: 4px 0; }
  .gnav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--shu); transform: scaleX(0); transform-origin: right; transition: transform .35s; }
  .gnav a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: left; }
  .nav-cta { background: var(--sumi); color: var(--paper) !important; padding: 8px 18px !important; }
  .nav-cta:hover { background: var(--shu); }
}

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: 80px var(--gutter) 150px;
}
.hero-sea { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.enso {
  position: absolute; width: min(118vw, 640px); left: 50%; top: 44%;
  transform: translate(-50%, -50%) rotate(-8deg); opacity: .16; pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; display: flex; flex-direction: row-reverse; align-items: flex-start; gap: 18px; width: 100%; max-width: 900px; }
.hero-title { flex: 0 0 auto; }
.title-svg { width: 104px; height: auto; overflow: visible; }
.title-char {
  font-family: var(--mincho); font-weight: 800; font-size: 120px; text-anchor: middle;
  fill: var(--sumi); stroke: var(--sumi); stroke-width: 1.2; paint-order: stroke;
}
.title-char.small { font-size: 72px; fill: var(--shu); stroke: var(--shu); }
.hero-copy { flex: 1 1 auto; display: flex; flex-direction: column; align-items: flex-start; padding-top: 14px; min-width: 0; }
.hero-catch {
  font-family: var(--mincho); font-weight: 700; font-size: 24px; letter-spacing: .24em; line-height: 1.9;
  margin: 0 0 22px; height: 12.5em; color: var(--ai-deep);
}
.hero-sub { font-size: 13px; line-height: 1.9; margin-bottom: 6px; }
.hero-hours { font-size: 12px; color: var(--sumi-soft); border-top: 1px solid var(--line); padding-top: 6px; }
.hanko { position: absolute; width: 60px; right: 4px; bottom: -64px; transform: rotate(6deg); }

.steam { position: absolute; z-index: 1; width: 150px; right: 12%; bottom: 120px; opacity: .55; pointer-events: none; }
.steam-p { fill: none; stroke: var(--sumi-soft); stroke-width: 3; stroke-linecap: round; filter: url(#ink-edge); opacity: .5; stroke-dasharray: 70 260; animation: steam 6s linear infinite; }
.steam-p.s2 { animation-duration: 7.5s; animation-delay: -2s; }
.steam-p.s3 { animation-duration: 5.2s; animation-delay: -4s; }
@keyframes steam { from { stroke-dashoffset: 330; } to { stroke-dashoffset: 0; } }

.waves { position: absolute; left: 0; right: 0; bottom: 0; height: 170px; pointer-events: none; z-index: 1; }
.wave { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; }
.wave path { will-change: transform; }
.w3 { height: 100%; } .w3 path { fill: var(--ai); opacity: .28; }
.w2 { height: 85%; bottom: -4px; } .w2 path { fill: var(--ai); opacity: .55; }
.w1 { height: 70%; bottom: -6px; } .w1 path { fill: var(--ai-deep); }
@keyframes drift { to { transform: translateX(-1440px); } }
.w3 path { animation: drift 38s linear infinite; }
.w2 path { animation: drift 26s linear infinite reverse; }
.w1 path { animation: drift 18s linear infinite; }

.scroll-cue {
  position: absolute; z-index: 3; left: 50%; bottom: 20px; transform: translateX(-50%);
  color: var(--paper); text-decoration: none; font-family: var(--mincho); font-size: 11px; letter-spacing: .3em;
  writing-mode: vertical-rl; display: flex; align-items: center; gap: 8px;
}
.scroll-cue::after { content: ""; width: 1px; height: 36px; background: linear-gradient(var(--paper), transparent); animation: cue 2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

@media (min-width: 700px) {
  .hero-inner { justify-content: center; gap: 70px; align-items: center; }
  .title-svg { width: 150px; }
  .hero-copy { flex: 0 1 auto; flex-direction: row-reverse; align-items: flex-start; gap: 40px; padding-top: 0; }
  .hero-catch { font-size: 32px; margin: 0; }
  .hero-sub, .hero-hours { writing-mode: vertical-rl; height: 18em; margin: 0; }
  .hero-sub { font-size: 14px; letter-spacing: .14em; }
  .hero-hours { border-top: 0; border-right: 1px solid var(--line); padding: 0 8px 0 0; }
  .hanko { width: 84px; right: auto; left: 0; bottom: -20px; }
  .steam { width: 200px; right: 18%; }
  .waves { height: 220px; }
}

/* ---------- 紹介 ---------- */
section { position: relative; }
.about { padding: 110px 0 90px; }
.about-grid { display: grid; gap: 34px; }
.v-heading {
  writing-mode: vertical-rl; font-size: 28px; letter-spacing: .2em; line-height: 1.7;
  height: 9.5em; justify-self: end; position: relative;
}
.v-heading .kicker { writing-mode: vertical-rl; margin: 0 0 0 16px; font-size: 12px; }
.v-heading .kicker::before { width: 1px; height: 22px; }
.fish-illust { width: 100%; max-width: 360px; margin: 0 auto 26px; }
.lead { font-family: var(--mincho); font-size: 18px; line-height: 2.05; font-weight: 700; }
.facts { margin: 26px 0 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 5em 1fr; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--mincho); color: var(--shu); letter-spacing: .2em; }
.facts dd { margin: 0; }
@media (min-width: 860px) {
  .about { padding: 160px 0 130px; }
  .about-grid { grid-template-columns: 1fr 2.2fr; gap: 80px; align-items: start; }
  .v-heading { font-size: 38px; height: 10em; }
  .lead { font-size: 21px; }
}

/* ---------- 見出し（筆の下線） ---------- */
.sec-head { margin-bottom: 36px; }
.brush-h { font-size: 26px; display: inline-block; position: relative; padding-bottom: 12px; margin-bottom: 14px; }
.brush-h span { position: relative; z-index: 1; }
.brush-under { position: absolute; left: -4px; right: -4px; bottom: 0; width: calc(100% + 8px); height: 18px; overflow: visible; }
@media (min-width: 860px) { .brush-h { font-size: 36px; } }

/* ---------- 本日の漁獲（めくれる札） ---------- */
.catch { padding: 90px 0 110px; background: linear-gradient(transparent, rgba(233, 224, 204, .6) 20%, rgba(233, 224, 204, .6) 80%, transparent); }
.catch-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card { position: relative; perspective: 1100px; outline-offset: 4px; }
.card-inner {
  position: relative; height: 100%;
  background: #fbf8f0; border: 1px solid var(--line);
  padding: 16px 14px 14px; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr auto; gap: 6px 10px;
  box-shadow: 0 10px 24px -18px rgba(31, 29, 27, .6);
  min-height: 250px;
}
.card-inner::before { content: ""; position: absolute; top: 8px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--paper-deep); box-shadow: inset 0 1px 2px rgba(0,0,0,.3); transform: translateX(-50%); }
.card-tag { grid-column: 1 / -1; font-size: 11px; color: var(--shu); letter-spacing: .2em; margin: 8px 0 0; font-family: var(--mincho); }
.card-name { grid-column: 2; grid-row: 2 / 4; font-size: 27px; letter-spacing: .15em; font-weight: 800; color: var(--ai-deep); }
.card-desc { grid-column: 1; grid-row: 2; font-size: 12.5px; line-height: 1.8; margin: 0; }
.card-meta { grid-column: 1; grid-row: 3; font-size: 11px; color: var(--sumi-soft); margin: 0; display: flex; flex-direction: column; }
.card-meta span { color: var(--shu); font-weight: 500; }
.card-cover { display: none; }
@media (min-width: 860px) {
  .catch { padding: 130px 0 150px; }
  .catch-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .card-inner { min-height: 320px; padding: 22px 20px 18px; }
  .card-name { font-size: 38px; }
  .card-desc { font-size: 13.5px; }
}

/* 札の表紙（JSが動くときだけ） */
html.js:not(.rm):not(.fallback) .card-cover {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.08), transparent 60%),
    var(--ai-deep);
  color: var(--paper);
  transform-origin: 0% 50%;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  box-shadow: 0 12px 28px -14px rgba(0,0,0,.6);
  will-change: transform;
  pointer-events: none;
}
.card-cover::after { /* めくれ際の陰影 */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.35) 100%);
  opacity: var(--curl, 0);
}
.cover-no { font-family: var(--mincho); font-size: 54px; font-weight: 800; line-height: 1; }
.cover-label { writing-mode: vertical-rl; font-family: var(--mincho); font-size: 13px; letter-spacing: .4em; border: 1px solid rgba(244,238,225,.4); padding: 10px 4px; }
.card::after { /* 右下のめくれ（ホバー） */
  content: ""; position: absolute; right: 0; bottom: 0; width: 0; height: 0; pointer-events: none;
  background: linear-gradient(135deg, #e6dcc5 45%, rgba(0,0,0,.18) 50%, transparent 55%);
  transition: width .35s, height .35s;
}
.card:hover::after, .card:focus-visible::after { width: 34px; height: 34px; }

/* ---------- お品書き（横スクロール） ---------- */
.menu { padding: 90px 0 70px; background: var(--paper-deep); }
.menu-head { margin-bottom: 26px; }
.menu-progress { display: none; }
.menu-track { display: grid; gap: 18px; padding: 0 var(--gutter); max-width: var(--maxw); margin: 0 auto; }
.dish {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  padding: 22px 20px 20px;
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto 1fr auto; gap: 4px 16px;
}
.dish::before { content: ""; position: absolute; inset: 6px; border: 1px solid var(--line); pointer-events: none; }
.dish-no { grid-column: 1 / -1; font-family: var(--mincho); color: var(--shu); font-size: 13px; letter-spacing: .3em; margin: 0; display: flex; align-items: center; gap: 10px; }
.badge { background: var(--shu); color: var(--paper); font-size: 11px; padding: 0 8px; letter-spacing: .2em; }
.dish-illust { grid-column: 1; grid-row: 2; width: 100%; max-width: 220px; overflow: visible; margin: 8px 0; }
.dish-name { grid-column: 2; grid-row: 2 / 5; font-size: 24px; letter-spacing: .2em; font-weight: 800; }
.dish-name .v { display: block; }
.dish-desc { grid-column: 1; grid-row: 3; font-size: 13.5px; margin: 0; }
.dish-price { grid-column: 1; grid-row: 4; font-family: var(--mincho); font-size: 26px; font-weight: 700; margin: 8px 0 0; color: var(--ai-deep); }
.dish-price small { font-size: 13px; margin-left: 2px; }
.dish-feature { background: var(--ai-deep); color: var(--paper); border-color: transparent; }
.dish-feature::before { border-color: rgba(244,238,225,.25); }
.dish-feature .dish-price { color: var(--paper); }
.dish-feature .dish-illust g { stroke: var(--paper); }
.dish-side { grid-template-columns: 1fr; grid-template-rows: auto; }
.side-list { list-style: none; margin: 10px 0 0; padding: 0; font-family: var(--mincho); }
.side-list li { display: flex; align-items: baseline; gap: 8px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.side-list li span { flex: 1 1 auto; }
.side-list li b { font-weight: 700; color: var(--ai-deep); }
.dish-note { font-size: 12px; color: var(--sumi-soft); margin: 12px 0 0; }
@media (min-width: 700px) { .menu-track { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .menu-track { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* JSで横スクロールにするとき */
html.hscroll .menu { padding: 0; overflow: hidden; }
html.hscroll .menu-pin { height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 70px 0 30px; }
html.hscroll .menu-head { margin-bottom: 18px; }
html.hscroll .menu-head .sec-note { margin-bottom: 10px; }
html.hscroll .menu-progress { display: block; height: 2px; background: var(--line); position: relative; max-width: 260px; }
html.hscroll .menu-progress span { position: absolute; inset: 0; background: var(--shu); transform-origin: left; transform: scaleX(0); }
html.hscroll .menu-track {
  display: flex; flex-wrap: nowrap; gap: 18px; width: max-content; max-width: none; margin: 0;
  padding: 0 var(--gutter); will-change: transform;
}
html.hscroll .dish { width: 78vw; max-width: 380px; flex: 0 0 auto; min-height: 0; }
@media (max-height: 700px) {
  html.hscroll .menu-head .sec-note { display: none; }
  html.hscroll .dish-illust { max-height: 70px; }
  html.hscroll .dish { padding: 16px; }
}
@media (min-width: 860px) {
  .menu { padding: 130px 0 110px; }
  html.hscroll .menu-track { gap: 34px; padding-left: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); padding-right: 12vw; }
  html.hscroll .dish { width: 380px; }
  .dish-name { font-size: 28px; }
}

/* ---------- こだわり ---------- */
.craft { background: var(--ai-deep); color: var(--paper); padding: 100px 0 110px; overflow: hidden; }
.craft::before { /* 墨流し風の背景 */
  content: ""; position: absolute; inset: 0; opacity: .35; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1600' height='1000' preserveAspectRatio='none'><filter id='m'><feTurbulence type='fractalNoise' baseFrequency='.006 .02' numOctaves='3' seed='9' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .2  0 0 0 0 .35  0 0 0 0 .55  0 0 0 .7 -.1'/></filter><rect width='100%' height='100%' filter='url(%23m)'/></svg>");
  background-size: 100% 100%; background-repeat: no-repeat;
}
.craft .container { position: relative; }
.craft-head { display: flex; justify-content: flex-end; margin-bottom: 30px; }
.v-heading.light .kicker { color: #e8a79c; }
.craft-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 44px; }
.craft-item { display: grid; grid-template-columns: 96px 1fr; gap: 0 18px; align-items: start; }
.ink-num { grid-row: 1 / 3; width: 96px; }
.ink-num svg { overflow: visible; }
.craft-item h3 { font-size: 20px; margin: 18px 0 8px; }
.craft-item p { font-size: 14px; color: rgba(244,238,225,.85); margin: 0; }
@media (min-width: 860px) {
  .craft { padding: 150px 0 160px; }
  .craft-head { position: absolute; right: var(--gutter); top: 0; margin: 0; }
  .craft-list { grid-template-columns: repeat(3, 1fr); gap: 50px; padding-right: 130px; }
  .craft-item { grid-template-columns: 1fr; }
  .ink-num { width: 140px; grid-row: auto; }
  .craft-item h3 { font-size: 22px; }
}

/* ---------- アクセス ---------- */
.access { padding: 100px 0; }
.access-grid { display: grid; gap: 34px; }
.info { margin: 10px 0 18px; }
.info div { display: grid; grid-template-columns: 4.5em 1fr; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.info dt { font-family: var(--mincho); color: var(--shu); letter-spacing: .2em; }
.info dd { margin: 0; }
.map { margin: 0; }
.map svg { width: 100%; border: 1px solid var(--line); box-shadow: 0 16px 30px -24px rgba(0,0,0,.6); }
.map figcaption { font-size: 12px; color: var(--sumi-soft); margin-top: 8px; font-family: var(--mincho); }
@media (min-width: 860px) {
  .access { padding: 150px 0; }
  .access-grid { grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
}

/* ---------- お問い合わせ ---------- */
.contact { padding: 90px 0 110px; background: var(--paper-deep); }
.contact-grid { display: grid; gap: 30px; }
.form { background: var(--paper); border: 1px solid var(--line); padding: 22px 18px; display: grid; gap: 16px; }
.form-note { font-size: 12px; color: var(--shu); margin: 0; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label, .field legend { font-family: var(--mincho); font-size: 13px; letter-spacing: .12em; padding: 0; }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; font: inherit; font-size: 16px; color: var(--sumi);
  background: #fbf8f0; border: 1px solid var(--line); border-radius: 0; padding: 10px 12px;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--sumi) 50%), linear-gradient(135deg, var(--sumi) 50%, transparent 50%); background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ai); box-shadow: 0 0 0 3px rgba(39,74,114,.15); }
.check { display: inline-flex !important; align-items: center; gap: 8px; margin-right: 18px; font-family: var(--gothic) !important; font-size: 14px !important; cursor: pointer; }
.check input { width: 18px; height: 18px; padding: 0; -webkit-appearance: auto; appearance: auto; accent-color: var(--shu); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; font-family: var(--mincho); font-size: 15px; letter-spacing: .16em; text-decoration: none; cursor: pointer; border: 1px solid var(--sumi); transition: background .3s, color .3s; }
.btn-primary { background: var(--sumi); color: var(--paper); border-color: var(--sumi); position: relative; overflow: hidden; }
.btn-primary:hover { background: var(--shu); border-color: var(--shu); }
.btn-ghost { background: transparent; }
.btn-ghost:hover { background: var(--sumi); color: var(--paper); }
.form-result { font-size: 13px; color: var(--ai); margin: 0; min-height: 1.5em; }
@media (min-width: 860px) {
  .contact { padding: 140px 0 150px; }
  .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: start; }
  .form { padding: 34px 32px; }
}

/* ---------- フッター ---------- */
.site-footer { background: var(--sumi); color: rgba(244,238,225,.8); padding: 50px 0 110px; font-size: 13px; }
.footer-brand { font-family: var(--mincho); font-size: 20px; color: var(--paper); letter-spacing: .2em; }
.copy { font-size: 11px; opacity: .7; margin-top: 18px; }

/* ---------- サンプル表示 ---------- */
.sample-badge {
  position: fixed; right: 10px; bottom: 10px; z-index: 60;
  max-width: calc(100vw - 20px);
  background: rgba(31, 29, 27, .88); color: var(--paper);
  padding: 7px 12px; font-size: 11px; line-height: 1.6; letter-spacing: .02em;
  border-left: 3px solid var(--shu);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.sample-badge p { margin: 0; }
.sample-badge a { color: #f0c3b9; text-decoration: underline; text-underline-offset: 2px; }

/* =========================================================
   動きの初期状態（JSが有効・動きを減らさない時だけ）
   ========================================================= */
html.js:not(.rm):not(.fallback) .draw { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
html.js:not(.rm):not(.fallback) .title-char { stroke-dasharray: 3000; stroke-dashoffset: 3000; fill-opacity: 0; }
html.js:not(.rm):not(.fallback) .fish-eye { opacity: 0; }
html.js:not(.rm):not(.fallback) .hero-copy > *,
html.js:not(.rm):not(.fallback) .hanko { opacity: 0; }

/* 動きを減らす設定 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
