/* =========================================================
   しじま窯（架空の窯元）— デザインサンプル
   静謐・余白・土と灰の色
   ========================================================= */
:root {
  --paper: #ebe6dc;      /* 灰白 */
  --paper-2: #e2dccf;
  --paper-3: #f4f1ea;
  --ink: #2b2724;        /* 墨 */
  --ink-2: #5c554d;
  --ink-3: #8a8175;
  --clay: #9c7a5e;       /* 土 */
  --rust: #8e4527;       /* 錆 */
  --ai: #2f4a66;         /* 藍 */
  --ash: #a7a395;        /* 灰 */
  --line: rgba(43, 39, 36, .16);
  --kiln: #171311;
  --serif: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --display: "Hina Mincho", "Zen Old Mincho", "Hiragino Mincho ProN", serif;
  --latin: "EB Garamond", "Times New Roman", serif;
  --gutter: 20px;
  --max: 1160px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 60px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 2;
  letter-spacing: .06em;
  overflow-x: hidden;
  font-feature-settings: "palt" 1;
}
/* 紙のざらつき */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .25 0 0 0 0 .2 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, .header, .footer { position: relative; z-index: 1; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; letter-spacing: inherit; color: inherit; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 8px 14px; text-decoration: none;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 1px solid var(--ai); outline-offset: 4px; }

/* ---------- 墨の滲み ---------- */
.js [data-ink] .ink-ch {
  display: inline-block;
  opacity: 0;
  filter: blur(9px);
  transform: scale(1.08);
  text-shadow: 0 0 18px rgba(43, 39, 36, .5);
  transition:
    opacity 1.6s var(--ease),
    filter 2.2s var(--ease),
    transform 2.2s var(--ease),
    text-shadow 3s var(--ease);
  transition-delay: calc(var(--i) * 75ms);
}
.js [data-ink].is-in .ink-ch {
  opacity: 1; filter: blur(0); transform: none; text-shadow: 0 0 0 rgba(43, 39, 36, 0);
}
.js [data-ink-block] {
  opacity: 0; filter: blur(8px);
  transition: opacity 1.8s var(--ease) .3s, filter 2.4s var(--ease) .3s;
}
.js [data-ink-block].is-in { opacity: 1; filter: blur(0); }

/* ---------- ヘッダー ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  transition: background .6s var(--ease), box-shadow .6s var(--ease);
}
.header.is-scrolled {
  background: rgba(235, 230, 220, .88);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 30px; height: 30px; color: var(--ai); }
.brand__name { font-family: var(--display); font-size: 19px; letter-spacing: .2em; }
.brand__sub { font-family: var(--latin); font-size: 10px; letter-spacing: .24em; color: var(--ink-3); display: none; }

.menu-btn { display: none; }
.nav ul { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 13px; }
.nav a { text-decoration: none; padding: 6px 0; position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease);
}
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); }
.nav__cta { color: var(--ai); }

/* JS無効時のモバイル: ヘッダー内に折り返し表示（固定解除） */
html:not(.js) .header { position: absolute; height: auto; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; gap: 6px; }

@media (max-width: 899px) {
  .js .menu-btn {
    display: flex; flex-direction: column; justify-content: center; gap: 7px;
    width: 44px; height: 44px; margin-right: -10px;
    background: none; border: 0; cursor: pointer; padding: 0 10px; position: relative; z-index: 2;
  }
  .menu-btn__line { display: block; height: 1px; background: var(--ink); transition: transform .5s var(--ease); }
  .menu-btn[aria-expanded="true"] .menu-btn__line:first-child { transform: translateY(4px) rotate(20deg); }
  .menu-btn[aria-expanded="true"] .menu-btn__line:nth-child(2) { transform: translateY(-4px) rotate(-20deg); }
  .js .nav {
    position: fixed; inset: 0; z-index: 1;
    background: var(--paper);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: opacity .6s var(--ease), visibility .6s;
  }
  .js .nav.is-open { opacity: 1; visibility: visible; }
  .js .nav ul { flex-direction: column; align-items: center; gap: 22px; font-size: 18px; letter-spacing: .24em; }
}

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto auto auto;
  padding: calc(var(--header-h) + 8px) var(--gutter) 40px;
  overflow: hidden;
}
.hero__stage {
  position: relative;
  height: 52svh; min-height: 300px;
  margin: 0 calc(var(--gutter) * -1);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 2s var(--ease); }
.hero.is-ready .hero__canvas { opacity: 1; }
.hero__fallback {
  position: absolute; left: 50%; top: 50%; width: min(64%, 300px); transform: translate(-50%, -48%);
  transition: opacity 1.2s var(--ease);
}
.hero.is-ready .hero__fallback { opacity: 0; }
.hero__copy { position: relative; z-index: 2; }
.hero__kicker { font-size: 11px; letter-spacing: .2em; color: var(--ink-2); margin-bottom: 14px; }
.hero__title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(40px, 12vw, 92px);
  line-height: 1.35; letter-spacing: .14em;
}
.hero__lead { margin-top: 22px; font-size: 14px; line-height: 2.2; color: var(--ink-2); }
.hero__caption { display: none; }
.notice {
  margin-top: 30px; padding: 14px 18px;
  border-left: 1px solid var(--rust);
  max-width: 300px;
}
.notice__label { font-size: 11px; letter-spacing: .24em; color: var(--rust); }
.notice__date { font-size: 15px; line-height: 1.8; }
.notice__note { font-size: 12px; color: var(--ink-3); }
.scroll-cue {
  position: absolute; right: var(--gutter); bottom: 28px;
  font-family: var(--latin); font-style: italic; font-size: 12px; letter-spacing: .2em;
  text-decoration: none; color: var(--ink-3);
  writing-mode: vertical-rl; padding-bottom: 60px;
}
.scroll-cue::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 50px;
  background: linear-gradient(var(--ink-3), transparent);
  animation: drip 3.2s var(--ease) infinite;
  transform-origin: top;
}
@keyframes drip { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

@media (min-width: 900px) {
  :root { --gutter: 48px; --header-h: 84px; }
  .brand__sub { display: inline; }
  .hero {
    grid-template-columns: minmax(300px, 5fr) 7fr;
    grid-template-rows: 1fr auto;
    align-items: center;
    padding-top: var(--header-h);
    padding-bottom: 60px;
  }
  .hero__copy { grid-column: 1; grid-row: 1; display: flex; flex-direction: row-reverse; justify-content: flex-end; align-items: flex-start; gap: 40px; padding-left: 3vw; }
  .hero__title { writing-mode: vertical-rl; font-size: clamp(52px, 5.6vw, 84px); line-height: 1.5; }
  .hero__kicker { writing-mode: vertical-rl; margin: 0; font-size: 12px; }
  .hero__lead { writing-mode: vertical-rl; margin: 0; line-height: 2.4; padding-top: 5em; }
  .hero__stage { grid-column: 2; grid-row: 1 / span 2; height: 88svh; min-height: 560px; margin: 0 calc(var(--gutter) * -1) 0 0; }
  .hero__caption {
    display: flex; align-items: center; gap: 10px;
    position: absolute; left: calc(5 / 12 * 100% + 60px); bottom: 84px;
    font-size: 12px; color: var(--ink-3); letter-spacing: .14em;
  }
  .hero__caption-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--rust); animation: breathe 4s ease-in-out infinite; }
  .notice { grid-column: 1; grid-row: 2; margin: 0 0 0 4vw; }
}
@media (min-width: 900px) { .hero__copy { position: static; } }
@keyframes breathe { 50% { opacity: .25; } }

/* ---------- セクション共通 ---------- */
.section { padding: 110px var(--gutter); max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; }
.section__head { margin-bottom: 56px; }
.section__en {
  font-family: var(--latin); font-style: italic; font-size: 14px; letter-spacing: .16em; color: var(--clay);
  display: flex; align-items: center; gap: 14px;
}
.section__en::after { content: ""; width: 48px; height: 1px; background: currentColor; opacity: .6; }
.section__title {
  margin-top: 10px;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(28px, 7.4vw, 46px); line-height: 1.6; letter-spacing: .16em;
}
.section__lead { margin-top: 18px; color: var(--ink-2); font-size: 14px; max-width: 34em; }
.section__lead small { color: var(--ink-3); }
@media (min-width: 900px) {
  .section { padding-top: 170px; padding-bottom: 170px; }
  .section__head { margin-bottom: 84px; }
}

/* ---------- 歩み ---------- */
.story__intro { font-size: 15px; line-height: 2.3; max-width: 30em; margin-bottom: 64px; }
.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; left: 22px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.timeline__item { display: grid; grid-template-columns: 46px 1fr; gap: 18px; padding: 0 0 44px; position: relative; }
.timeline__year { writing-mode: vertical-rl; font-family: var(--display); font-size: 15px; letter-spacing: .2em; color: var(--clay); justify-self: center; background: var(--paper); padding: 6px 0; line-height: 1; }
.timeline__item h3 { font-weight: 600; font-size: 16px; letter-spacing: .1em; line-height: 1.8; }
.timeline__item p:not(.timeline__year) { margin-top: 6px; font-size: 14px; color: var(--ink-2); }
@media (min-width: 900px) {
  .story__body { display: grid; grid-template-columns: 5fr 6fr; gap: 80px; align-items: start; }
  .story__intro { position: sticky; top: 140px; font-size: 16px; }
}

/* ---------- 3Dビューア ---------- */
.viewer {
  display: grid; gap: 28px;
  margin: 0 calc(var(--gutter) * -1) 110px;
  background: var(--paper-2);
  padding: 0 0 32px;
}
.viewer__stage { position: relative; height: 380px; background: radial-gradient(ellipse at 50% 62%, #f3efe7 0%, var(--paper-2) 66%); }
.viewer__canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.viewer__canvas:active { cursor: grabbing; }
.viewer__canvas:focus-visible { outline-offset: -6px; }
.viewer__hint {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  display: none; align-items: center; gap: 8px; font-size: 11px; color: var(--ink-3); white-space: nowrap; pointer-events: none;
}
.viewer.is-ready .viewer__hint { display: flex; }
.viewer__noscript { position: absolute; inset: auto 20px 20px; font-size: 12px; color: var(--ink-3); }
.viewer.is-ready .viewer__noscript { display: none; }
.viewer__panel { padding: 0 var(--gutter); }
.viewer__label { font-size: 11px; letter-spacing: .24em; color: var(--clay); }
.viewer__name { font-family: var(--display); font-weight: 400; font-size: 26px; letter-spacing: .14em; margin-top: 4px; }
.viewer__desc { margin-top: 12px; font-size: 14px; color: var(--ink-2); min-height: 4em; }
.viewer__spec { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0 8px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.viewer__spec dt { font-size: 11px; color: var(--ink-3); letter-spacing: .2em; }
.viewer__spec dd { font-size: 14px; }
.chips { border: 0; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { font-size: 11px; color: var(--ink-3); letter-spacing: .2em; margin-bottom: 8px; padding: 0; width: 100%; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 6px 16px;
  border: 1px solid var(--line); background: transparent; border-radius: 40px;
  cursor: pointer; font-size: 13px;
  transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
}
.chip:hover { border-color: var(--ink-3); }
.chip.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
html:not(.js) .chips { display: none; }
@media (min-width: 900px) {
  .viewer { grid-template-columns: 7fr 4fr; margin: 0 0 150px; padding: 0; align-items: center; }
  .viewer__stage { height: 560px; }
  .viewer__panel { padding: 40px 48px 40px 8px; }
  .viewer__name { font-size: 32px; }
}

/* ---------- マソンリー ---------- */
.works__subhead { font-family: var(--display); font-weight: 400; font-size: 20px; letter-spacing: .2em; margin-bottom: 28px; }
.masonry { columns: 2; column-gap: 12px; }
.masonry li { break-inside: avoid; margin-bottom: 12px; }
.work {
  display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; text-align: left;
  position: relative; overflow: hidden;
}
.work img { width: 100%; height: auto; transition: transform 1.6s var(--ease), filter 1.2s var(--ease); }
.work:hover img, .work:focus-visible img { transform: scale(1.035); }
.work__cap {
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
  padding: 8px 2px 4px; font-size: 12px; letter-spacing: .1em;
}
.work__cap small { color: var(--ink-3); font-size: 11px; }
.works__note { margin-top: 24px; font-size: 12px; color: var(--ink-3); }
.js .masonry li { opacity: 0; transform: translateY(24px); transition: opacity 1.4s var(--ease), transform 1.4s var(--ease); }
.js .masonry li.is-in { opacity: 1; transform: none; }
@media (min-width: 700px) { .masonry { columns: 3; column-gap: 20px; } .masonry li { margin-bottom: 20px; } }
@media (min-width: 1100px) { .masonry { columns: 4; column-gap: 28px; } .masonry li { margin-bottom: 28px; } }

/* ---------- ライトボックス ---------- */
.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; }
.lightbox[hidden] { display: none; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(28, 25, 22, .92); animation: fade .5s var(--ease); }
.lightbox__figure { position: relative; z-index: 1; max-width: min(92vw, 900px); animation: inkIn .8s var(--ease); }
.lightbox__img { max-height: 76svh; width: auto; margin: 0 auto; }
.lightbox__cap { display: flex; justify-content: space-between; gap: 16px; color: #e8e2d6; font-size: 13px; padding-top: 12px; letter-spacing: .12em; }
.lightbox__count { font-family: var(--latin); color: #a8a092; }
.lightbox__btn, .lightbox__close {
  position: absolute; z-index: 2; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(232, 226, 214, .35); background: rgba(28, 25, 22, .5); color: #e8e2d6;
  font-size: 18px; cursor: pointer; display: grid; place-items: center;
}
.lightbox__btn:hover, .lightbox__close:hover { background: rgba(232, 226, 214, .12); }
.lightbox__btn--prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__btn--next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__close { top: 14px; right: 14px; font-size: 24px; }
@media (max-width: 699px) {
  .lightbox__btn { top: auto; bottom: 20px; transform: none; }
  .lightbox__btn--prev { left: calc(50% - 60px); }
  .lightbox__btn--next { right: calc(50% - 60px); }
  .lightbox__img { max-height: 64svh; }
}
@keyframes fade { from { opacity: 0; } }
@keyframes inkIn { from { opacity: 0; filter: blur(12px); } }

/* ---------- 作り手の言葉 ---------- */
.words { background: var(--paper-2); padding: 120px var(--gutter); overflow: hidden; }
.words__inner { max-width: var(--max); margin: 0 auto; display: grid; gap: 56px; }
.words__quote p {
  font-family: var(--display); font-size: clamp(26px, 7vw, 44px); line-height: 1.9; letter-spacing: .16em;
}
.words__body { font-size: 14px; color: var(--ink-2); line-height: 2.3; max-width: 30em; }
.words__body p + p { margin-top: 1.2em; }
.words__sign { margin-top: 2em !important; font-size: 12px; letter-spacing: .24em; color: var(--ink-3); }
.words__sign span { font-family: var(--display); font-size: 22px; color: var(--ink); margin-left: .4em; }
@media (min-width: 900px) {
  .words { padding: 190px var(--gutter); }
  .words__inner { grid-template-columns: auto 1fr; gap: 120px; align-items: end; justify-content: center; }
  .words__quote p { writing-mode: vertical-rl; height: 11em; }
}

/* ---------- 工程（炎） ---------- */
.process { background: var(--kiln); color: #e8e1d4; padding: 110px 0 60px; position: relative; }
.process .section__en { color: #c49a6c; }
.process__head { padding: 0 var(--gutter); max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto 40px; }
.process__grid { max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; }
.kiln {
  position: sticky; top: var(--header-h); z-index: 2;
  height: 36svh; min-height: 220px;
  background: var(--kiln);
  overflow: hidden;
}
.kiln::after { /* 窯口のアーチ */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 70% at 50% 100%, transparent 58%, var(--kiln) 72%);
}
.kiln__canvas { width: 100%; height: 100%; }
.kiln__meter { position: absolute; left: var(--gutter); bottom: 16px; z-index: 1; display: flex; flex-direction: column; }
.kiln__temp { text-shadow: 0 1px 12px rgba(0,0,0,.6); font-family: var(--latin); font-size: 30px; letter-spacing: .06em; line-height: 1.2; transition: color 1s; }
.kiln__step { text-shadow: 0 1px 8px rgba(0,0,0,.8); font-size: 11px; letter-spacing: .2em; color: #a89c8b; }
.steps { padding: 20px var(--gutter) 0; counter-reset: s; }
.step { min-height: 62svh; padding: 60px 0; display: flex; flex-direction: column; justify-content: center; border-top: 1px solid rgba(232, 225, 212, .1); opacity: .35; transition: opacity 1s var(--ease); }
.step.is-current { opacity: 1; }
html:not(.js) .step { opacity: 1; min-height: 0; }
.step__no { font-family: var(--latin); font-style: italic; color: #c49a6c; font-size: 14px; }
.step__title { font-family: var(--display); font-weight: 400; font-size: 32px; letter-spacing: .24em; margin: 4px 0 14px; }
.step__text { font-size: 14px; line-height: 2.2; color: #cfc6b7; max-width: 26em; }
.step__meta { margin-top: 16px; font-size: 12px; color: #9a8f7f; letter-spacing: .14em; }
@media (min-width: 900px) {
  .process { padding: 170px 0 80px; }
  .process__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 0 var(--gutter); }
  .kiln { box-shadow: inset 0 0 0 1px rgba(232, 225, 212, .07); top: calc(var(--header-h) + 20px); height: calc(100svh - var(--header-h) - 80px); border-radius: 50% 50% 4px 4px / 28% 28% 4px 4px; }
  .kiln::after { background: radial-gradient(ellipse 70% 80% at 50% 100%, transparent 60%, var(--kiln) 80%); }
  .kiln__meter { left: 32px; bottom: 28px; }
  .kiln__temp { font-size: 42px; }
  .steps { padding: 0; }
  .step { min-height: 80svh; }
}

/* ---------- 陶芸体験 ---------- */
.plans { display: grid; gap: 20px; }
.plan {
  position: relative; padding: 36px 26px 30px;
  background: var(--paper-3);
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.plan--featured { border-color: var(--ai); }
.plan__badge { position: absolute; top: -12px; left: 24px; background: var(--ai); color: var(--paper); font-size: 11px; letter-spacing: .2em; padding: 2px 12px; }
.plan__icon { width: 64px; height: 64px; color: var(--clay); stroke-width: 1; margin-bottom: 14px; }
.plan__name { font-family: var(--display); font-weight: 400; font-size: 24px; letter-spacing: .2em; }
.plan__desc { margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.plan__meta { margin: 20px 0 26px; border-top: 1px solid var(--line); }
.plan__meta div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.plan__meta dt { color: var(--ink-3); letter-spacing: .2em; flex: none; }
.plan__meta dd { text-align: right; }
.plan__meta small { display: block; font-size: 10px; color: var(--ink-3); line-height: 1.4; }
.plan__btn {
  margin-top: auto; display: flex; align-items: center; justify-content: center; min-height: 48px;
  border: 1px solid var(--ink); text-decoration: none; font-size: 13px; letter-spacing: .2em;
  transition: background .6s var(--ease), color .6s var(--ease);
}
.plan__btn:hover, .plan__btn:focus-visible { background: var(--ink); color: var(--paper); }
.plan--featured .plan__btn { background: var(--ai); border-color: var(--ai); color: var(--paper); }
.plan--featured .plan__btn:hover { background: var(--ink); border-color: var(--ink); }
.exp-notes { margin-top: 36px; font-size: 13px; color: var(--ink-2); display: grid; gap: 6px; }
.exp-notes p::before { content: "―　"; color: var(--clay); }
@media (min-width: 900px) {
  .plans { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .plan--featured { transform: translateY(-16px); }
}

/* ---------- ギャラリー案内 ---------- */
.visit__grid { display: grid; gap: 44px; }
.info div { display: grid; grid-template-columns: 6.5em 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.info div:first-child { border-top: 1px solid var(--line); }
.info dt { color: var(--ink-3); font-size: 12px; letter-spacing: .2em; padding-top: 2px; }
.info small { color: var(--ink-3); font-size: 12px; }
.info a { text-decoration-color: var(--line); text-underline-offset: 4px; }
.map svg { width: 100%; height: auto; font-family: var(--serif); }
.map figcaption { margin-top: 10px; font-size: 12px; color: var(--ink-3); }
@media (min-width: 900px) { .visit__grid { grid-template-columns: 5fr 6fr; gap: 72px; align-items: start; } }

/* ---------- お問い合わせ ---------- */
.contact { max-width: calc(760px + var(--gutter) * 2); }
.form { display: grid; gap: 22px; }
.form__row { display: grid; gap: 8px; }
.form__row--half { grid-template-columns: 1fr; gap: 22px; }
.form__row--half > div { display: grid; gap: 8px; }
.form label { font-size: 13px; letter-spacing: .14em; display: flex; align-items: center; gap: 10px; }
.req, .opt { font-size: 10px; padding: 0 8px; border: 1px solid var(--rust); color: var(--rust); letter-spacing: .1em; line-height: 1.8; }
.opt { border-color: var(--line); color: var(--ink-3); }
.form input, .form select, .form textarea {
  width: 100%; min-height: 50px; padding: 10px 14px;
  background: var(--paper-3); border: 1px solid var(--line); border-radius: 0;
  font-size: 16px; appearance: none; -webkit-appearance: none;
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
.form select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ai); background-color: #fff; }
.form [aria-invalid="true"] { border-color: var(--rust); }
.form textarea { min-height: 140px; resize: vertical; line-height: 1.8; }
.form__error { color: var(--rust); font-size: 13px; }
.form__submit {
  justify-self: start; min-height: 54px; padding: 0 48px;
  background: var(--ink); color: var(--paper); border: 0; cursor: pointer; letter-spacing: .24em; font-size: 14px;
  transition: background .6s var(--ease);
}
.form__submit:hover { background: var(--ai); }
.form__done { padding: 20px; border: 1px solid var(--ai); color: var(--ai); font-size: 14px; animation: inkIn 1.2s var(--ease); }
@media (min-width: 700px) { .form__row--half { grid-template-columns: 1fr 1fr; } }

/* ---------- フッター ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px var(--gutter) 120px; text-align: center; }
.footer__brand { font-family: var(--display); font-size: 24px; letter-spacing: .3em; }
.footer__addr { font-size: 12px; color: var(--ink-2); margin-top: 8px; }
.footer__copy { font-family: var(--latin); font-size: 11px; color: var(--ink-3); margin-top: 10px; }

/* ---------- サンプル表示 ---------- */
.sample-badge {
  position: fixed; right: 10px; bottom: 10px; z-index: 80;
  max-width: calc(100vw - 20px);
  background: rgba(43, 39, 36, .9); color: #efe9de;
  padding: 7px 12px; font-size: 11px; line-height: 1.6; letter-spacing: .04em;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.sample-badge p { margin: 0; }
.sample-badge a { color: #d9b98f; text-underline-offset: 3px; }

/* ---------- 動きを減らす ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-ink] .ink-ch, .js [data-ink-block], .js .masonry li { opacity: 1 !important; filter: none !important; transform: none !important; text-shadow: none !important; }
  .step { opacity: 1; }
}
