/* =========================================================
   岡本マサヨシ / 心浄術  — 和モダン デザインシステム
   ========================================================= */

:root {
  /* --- Paper (生成り) --- */
  --paper:      oklch(0.966 0.009 84);
  --paper-2:    oklch(0.945 0.012 83);
  --paper-3:    oklch(0.915 0.015 82);
  --paper-warm: oklch(0.935 0.018 70);

  /* --- Ink (墨) --- */
  --sumi:       oklch(0.265 0.008 72);
  --sumi-deep:  oklch(0.185 0.006 70);
  --sumi-pure:  oklch(0.135 0.004 68);
  --ink-2:      oklch(0.430 0.010 70);
  --ink-3:      oklch(0.580 0.012 74);
  --ink-faint:  oklch(0.700 0.010 78);

  /* --- Accents --- */
  --sage:       oklch(0.560 0.036 150);
  --sage-deep:  oklch(0.455 0.036 150);
  --sage-soft:  oklch(0.880 0.022 150);
  --clay:       oklch(0.620 0.052 58);
  --gold:       #C69F39;            /* 金 — 差し色 */

  /* --- Rock (岩肌 / 濡れた石) --- */
  --rock:       oklch(0.495 0.013 62);  /* 水辺の岩肌 ≈ #64574f */
  --rock-deep:  oklch(0.232 0.011 58);  /* フッターのベース */

  /* --- Lines --- */
  --line:       oklch(0.860 0.012 82);
  --line-2:     oklch(0.800 0.014 80);
  --line-dark:  oklch(0.380 0.010 75);

  /* --- Type --- */
  --jp: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --la: "Cormorant Garamond", "Shippori Mincho", serif;
  --mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* --- Rhythm --- */
  --pad-x: clamp(1.25rem, 5.5vw, 7rem);
  --sec-y: clamp(5rem, 11vh, 11rem);
  --maxw: 1280px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--jp);
  background: var(--paper);
  color: var(--sumi);
  font-weight: 400;
  line-height: 1.95;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--sage-soft); color: var(--sumi-deep); }

/* paper grain — extremely subtle warmth */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1;
  opacity: 0.5;
  background:
    radial-gradient(120% 80% at 50% -10%, oklch(0.98 0.012 84) 0%, transparent 55%),
    radial-gradient(140% 120% at 100% 120%, oklch(0.90 0.02 70 / 0.5) 0%, transparent 50%);
}

/* =========================================================
   共通パーツ
   ========================================================= */
.wrap { max-width: var(--maxw); margin-inline: auto; }

.section { padding-inline: var(--pad-x); position: relative; z-index: 2; }
.section--pad { padding-block: var(--sec-y); }

/* Latin eyebrow label */
.eyebrow {
  font-family: var(--la);
  font-weight: 500;
  font-size: clamp(0.86rem, 1.3vw, 1.05rem);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--sage-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.9em;
}
.eyebrow::before {
  content: "";
  width: clamp(1.6rem, 4vw, 3rem);
  height: 1px;
  background: var(--sage);
  opacity: 0.7;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: "";
  width: clamp(1.6rem, 4vw, 3rem);
  height: 1px;
  background: var(--sage);
  opacity: 0.7;
}

/* section title */
.sec-title {
  font-weight: 600;
  font-size: clamp(1.7rem, 3.6vw, 2.9rem);
  line-height: 1.45;
  letter-spacing: 0.12em;
  color: var(--sumi-deep);
}
.sec-title .en {
  display: block;
  font-family: var(--la);
  font-weight: 400;
  font-style: italic;
  font-size: 0.5em;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  margin-top: 0.5em;
  text-transform: none;
}

.lead {
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
  line-height: 2.2;
  color: var(--ink-2);
  letter-spacing: 0.06em;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.85em;
  font-family: var(--jp);
  font-size: 0.96rem;
  letter-spacing: 0.18em;
  padding: 1.05em 2.4em;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--sumi-deep);
  background: transparent;
  transition: all 0.5s var(--ease);
  position: relative;
}
.btn .arw { transition: transform 0.5s var(--ease); }
.btn:hover { background: var(--sumi-deep); color: var(--paper); border-color: var(--sumi-deep); }
.btn:hover .arw { transform: translateX(0.35em); }

.btn--solid { background: var(--sumi-deep); color: var(--paper); border-color: var(--sumi-deep); }
.btn--solid:hover { background: var(--sumi-pure); }

.btn--line {
  background: oklch(0.52 0.10 152);
  color: #fff; border-color: transparent;
  font-weight: 500;
}
.btn--line:hover { background: oklch(0.44 0.10 152); color: #fff; border-color: transparent; }

/* text link with underline animation */
.tlink {
  display: inline-flex; align-items: center; gap: 0.7em;
  font-size: 0.92rem; letter-spacing: 0.16em;
  color: var(--sumi-deep);
  padding-bottom: 0.25em;
  position: relative;
  font-family: var(--la);
  font-style: italic;
  font-size: 1rem;
}
.tlink::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(1); transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.tlink:hover::after { transform: scaleX(0); }
.tlink .arw { transition: transform 0.45s var(--ease); }
.tlink:hover .arw { transform: translateX(0.3em); }

/* image-slot base look */
image-slot {
  --slot-bg: var(--paper-3);
  background: var(--paper-3);
  font-family: var(--mono);
  color: var(--ink-faint);
  letter-spacing: 0.12em;
  font-size: 0.72rem;
}

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: 0.08s; }
.rv-d2 { transition-delay: 0.16s; }
.rv-d3 { transition-delay: 0.24s; }
.rv-d4 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
}

/* vertical-writing helper */
.tate { writing-mode: vertical-rl; text-orientation: upright; }

/* =========================================================
   HEADER
   ========================================================= */
.head {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(1rem, 2.4vh, 1.7rem) var(--pad-x);
  transition: background 0.6s var(--ease), padding 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.head.solid {
  background: oklch(0.966 0.009 84 / 0.86);
  backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: 0 1px 0 var(--line);
  padding-block: clamp(0.7rem, 1.6vh, 1.05rem);
}
.brand { display: flex; align-items: baseline; gap: 0.7em; line-height: 1; flex-wrap: nowrap; white-space: nowrap; flex-shrink: 0; }
.brand__mark {
  font-size: clamp(1.12rem, 2.2vw, 1.5rem);
  font-weight: 600; letter-spacing: 0.18em; color: var(--sumi-deep); white-space: nowrap;
}
.brand__sub {
  font-family: var(--la); font-style: italic;
  font-size: 0.8rem; letter-spacing: 0.18em; color: var(--ink-3);
}
.head.on-hero:not(.solid) .brand__mark { color: var(--paper); }
.head.on-hero:not(.solid) .brand__sub { color: oklch(0.92 0.01 84 / 0.8); }

.head__right { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.2rem); }
.head__nav { display: flex; gap: clamp(1.1rem, 2.2vw, 2rem); }
.head__nav a {
  font-size: 0.86rem; letter-spacing: 0.14em; color: var(--ink-2);
  position: relative; padding-block: 0.3em;
  transition: color 0.4s var(--ease);
}
.head__nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--sage); transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.head__nav a:hover { color: var(--sumi-deep); }
.head__nav a:hover::after { transform: scaleX(1); }
.head.on-hero:not(.solid) .head__nav a { color: oklch(0.92 0.01 84 / 0.85); }
.head.on-hero:not(.solid) .head__nav a:hover { color: #fff; }

/* contact text link in header (parallel to LINE) */
.head__contact {
  font-size: 0.84rem; letter-spacing: 0.12em; color: var(--ink-2);
  white-space: nowrap; position: relative; transition: color 0.4s var(--ease);
}
.head__contact::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 100%; height: 1px; background: var(--sage); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease); }
.head__contact:hover { color: var(--sumi-deep); }
.head__contact:hover::after { transform: scaleX(1); }
.head.on-hero:not(.solid) .head__contact { color: oklch(0.92 0.01 84 / 0.85); }
.head.on-hero:not(.solid) .head__contact:hover { color: #fff; }

/* LINE button in header (deep green, squared) */
.head__line {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-size: 0.82rem; letter-spacing: 0.14em; white-space: nowrap;
  padding: 0.74em 1.3em; border-radius: 4px;
  background: oklch(0.52 0.10 152); color: #fff;
  transition: background 0.4s var(--ease);
}
.head__line:hover { background: oklch(0.44 0.10 152); }

/* hamburger (no circle, tight lines) */
.burger {
  width: 38px; height: 38px; border: none; border-radius: 0; background: none;
  display: grid; place-items: center; gap: 4px;
  transition: opacity 0.4s;
}
.burger span { display: block; width: 25px; height: 1.5px; background: var(--sumi-deep); transition: all 0.45s var(--ease); }
.head.on-hero:not(.solid) .burger span { background: var(--paper); }
.burger:hover span { background: var(--sage-deep); }
.burger:hover span:nth-child(1) { transform: translateY(1px); }
.burger:hover span:nth-child(3) { transform: translateY(-1px); }

/* =========================================================
   FULLSCREEN MENU (overlay)
   ========================================================= */
.menu {
  position: fixed; inset: 0; z-index: 80;
  background: var(--sumi-deep);
  color: var(--paper);
  clip-path: circle(0% at calc(100% - 4rem) 3rem);
  transition: clip-path 0.9s var(--ease);
  pointer-events: none;
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  overflow: auto;
}
.menu.open { clip-path: circle(150% at calc(100% - 4rem) 3rem); pointer-events: auto; }
.menu__close {
  position: fixed; top: clamp(1rem, 2.4vh, 1.7rem); right: var(--pad-x); z-index: 90;
  width: 46px; height: 46px; border-radius: 999px;
  border: 1px solid oklch(0.92 0.01 84 / 0.3);
  display: grid; place-items: center;
  opacity: 0; transition: opacity 0.4s 0.3s, transform 0.5s, background 0.4s;
}
.menu.open .menu__close { opacity: 1; }
.menu__close:hover { background: oklch(1 0 0 / 0.08); transform: rotate(90deg); }
.menu__close svg { width: 17px; height: 17px; stroke: var(--paper); }

.menu__main { padding: clamp(4rem, 9vh, 7rem) var(--pad-x) 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.menu__nav {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(5, auto);
  column-gap: clamp(2rem, 5vw, 4.5rem);
  row-gap: clamp(0.9rem, 2.2vh, 1.5rem);
  justify-content: start;
}
.menu__nav a {
  font-size: clamp(1.25rem, 2.4vw, 1.85rem); font-weight: 500; letter-spacing: 0.12em;
  color: var(--paper); width: max-content; max-width: 100%;
  display: flex; align-items: baseline; gap: 0.7em;
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), color 0.4s;
}
.menu.open .menu__nav a { opacity: 1; transform: none; }
.menu__nav a .idx {
  font-family: var(--la); font-style: italic; font-size: 0.66em;
  color: var(--sage); letter-spacing: 0.1em;
}
.menu__nav a:hover { color: var(--gold); }

.menu__side {
  background: var(--sumi-pure);
  padding: clamp(5rem, 12vh, 9rem) var(--pad-x) 3rem;
  display: flex; flex-direction: column; justify-content: center; gap: clamp(2.6rem, 6vh, 4.5rem);
  border-left: 1px solid oklch(0.92 0.01 84 / 0.08);
}
.menu__side h4 {
  font-family: var(--la); font-style: italic; font-weight: 400;
  letter-spacing: 0.2em; color: var(--ink-faint); font-size: 0.95rem;
  margin-bottom: 1.6em;
}
.menu__works { display: flex; flex-direction: column; gap: 0.2em; }
.menu__works a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85em 0; border-bottom: 1px solid oklch(0.92 0.01 84 / 0.1);
  color: oklch(0.9 0.01 84 / 0.85); letter-spacing: 0.1em; font-size: 1.02rem;
  transition: color 0.4s, padding-left 0.4s var(--ease);
}
.menu__works a:hover { color: #fff; padding-left: 0.5em; }
.menu__works a .ext { font-family: var(--la); font-style: italic; font-size: 0.72rem; color: var(--ink-faint); }
.menu__sns { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.menu__sns a {
  font-family: var(--la); letter-spacing: 0.14em; font-size: 0.9rem;
  color: oklch(0.9 0.01 84 / 0.7); transition: color 0.4s;
}
.menu__sns a:hover { color: var(--gold); }

@media (max-width: 860px) {
  .menu { display: block; grid-template-columns: 1fr; padding-bottom: 3rem; }
  .menu__main { padding: clamp(4.5rem, 11vh, 6.5rem) var(--pad-x) 2.5rem; justify-content: flex-start; }
  .menu__nav { grid-auto-flow: row; grid-template-rows: none; grid-template-columns: 1fr; row-gap: clamp(0.4rem, 1.4vh, 0.8rem); }
  .menu__nav a { font-size: clamp(1.35rem, 6vw, 1.7rem); }
  .menu__side {
    padding: 2.5rem var(--pad-x) 1rem; justify-content: flex-start; gap: 2.4rem;
    align-items: center; text-align: center;
    border-left: none; border-top: 1px solid oklch(0.92 0.01 84 / 0.08);
  }
  .menu__side > div { width: 100%; max-width: 440px; }
  .menu__side h4 { text-align: center; }
  .menu__side .sns { justify-content: center; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  width: 100%; aspect-ratio: 1949 / 807; min-height: 360px;
  display: grid; place-items: center;
  overflow: hidden;
  background: var(--paper);
}
.hero__type {
  position: relative; z-index: 3;
  text-align: center;
  transition: opacity 1.6s var(--ease);
}
.hero__kanji {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(0.3em, 3vw, 0.95em);
  font-size: clamp(2.8rem, 8.5vw, 6.6rem);
  font-weight: 700; line-height: 1; color: var(--sumi-deep);
  letter-spacing: 0.05em;
}
.hero__kanji .ch {
  opacity: 0; filter: blur(18px); transform: translateY(14px) scale(1.12);
  display: inline-block;
}
.hero__kanji .ch.bleed {
  animation: inkBleed 1.7s var(--ease) forwards;
}
.hero__kanji .to {
  font-size: 0.42em; color: var(--ink-3); font-weight: 400;
  align-self: center; transform: translateY(0.1em);
}
@keyframes inkBleed {
  0%   { opacity: 0; filter: blur(20px); transform: translateY(16px) scale(1.14); }
  55%  { opacity: 0.85; filter: blur(4px); }
  100% { opacity: 1; filter: blur(0); transform: none; }
}
.hero__sub {
  margin-top: clamp(1.2rem, 3vh, 2.4rem);
  font-size: clamp(1.05rem, 2.6vw, 1.85rem);
  letter-spacing: 0.4em; color: var(--ink-2); font-weight: 500;
  opacity: 0; transform: translateY(10px);
  transition: opacity 1.4s var(--ease) 0.1s, transform 1.4s var(--ease) 0.1s;
}
.hero__sub.show { opacity: 1; transform: none; }

.hero__photo {
  position: absolute; inset: 0; z-index: 2;
  opacity: 0; transform: scale(1.06);
  transition: opacity 2s var(--ease), transform 6s var(--ease-soft);
}
.hero__photo picture { display: block; width: 100%; height: 100%; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero.reveal .hero__photo { opacity: 1; transform: scale(1); }
.hero.reveal .hero__type { opacity: 0; pointer-events: none; }
.hero__photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, oklch(0.1 0.01 70 / 0.3) 0%, transparent 20%, transparent 82%, oklch(0.1 0.01 70 / 0.22) 100%);
}
@media (max-width: 760px) { .hero { aspect-ratio: 941 / 1672; } }

.hero__scroll {
  position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%);
  z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 0.8em;
  font-family: var(--la); font-style: italic; letter-spacing: 0.2em; font-size: 0.82rem;
  color: var(--paper); opacity: 0; transition: opacity 1s var(--ease) 1s;
}
.hero.reveal .hero__scroll { opacity: 0.9; }
.hero__scroll .ln { width: 1px; height: 46px; background: linear-gradient(var(--paper), transparent); position: relative; overflow: hidden; }
.hero__scroll .ln::after {
  content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%;
  background: var(--gold); animation: scrollLn 2.4s var(--ease-soft) infinite;
}
@keyframes scrollLn { 0% { top: -50%; } 100% { top: 100%; } }

/* =========================================================
   PICKUP slider
   ========================================================= */
.pickup { padding-top: clamp(4rem, 8vh, 7rem); padding-bottom: clamp(4rem, 8vh, 7rem); }
.pickup__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; margin-bottom: clamp(2rem, 4vh, 3.4rem); flex-wrap: wrap;
}
.slider { position: relative; }
.slider__track {
  display: flex; gap: clamp(1rem, 2vw, 1.8rem);
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 1.4rem; scrollbar-width: none;
  scroll-behavior: smooth;
}
.slider__track::-webkit-scrollbar { display: none; }

.pcard {
  flex: 0 0 clamp(188px, 22vw, 272px); scroll-snap-align: start;
  display: block;
}
.pcard__img {
  position: relative; width: 100%; aspect-ratio: 4/3.1; overflow: hidden;
  border-radius: 3px;
}
.pcard__img image-slot, .pcard__img img { width: 100%; height: 100%; }
.pcard__img img { object-fit: cover; transition: transform 1.2s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.05); }
.pcard__cat {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  font-family: var(--la); font-style: italic; font-size: 0.78rem; letter-spacing: 0.12em;
  background: oklch(0.966 0.009 84 / 0.92); color: var(--sumi-deep);
  padding: 0.4em 1.1em; border-radius: 999px;
}
.pcard__meta { display: flex; gap: 1em; align-items: center; margin-top: 1.2em; }
.pcard__date { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.1em; color: var(--ink-3); }
.pcard__tag { font-size: 0.76rem; letter-spacing: 0.1em; color: var(--sage-deep); }
.pcard__title {
  margin-top: 0.6em; font-size: 0.98rem; line-height: 1.65; font-weight: 500; color: var(--sumi-deep);
  letter-spacing: 0.04em;
}
.pcard:hover .pcard__title { color: var(--sage-deep); }

.slider__nav { display: flex; gap: 0.7rem; }

/* 著書コレクション：ナビ矢印を PickUp と同じ右上に配置 */
#collections .collections__head { position: relative; }
#collections .collections__nav { position: absolute; bottom: 0; right: 0; margin: 0; }
@media (max-width: 600px) {
  #collections .collections__nav { position: static; justify-content: center; margin-top: 1.2rem; }
}
.snav {
  width: 50px; height: 50px; border-radius: 999px; border: 1px solid var(--line-2);
  display: grid; place-items: center; transition: all 0.4s var(--ease);
}
.snav:hover { background: var(--sumi-deep); border-color: var(--sumi-deep); }
.snav:hover svg { stroke: var(--paper); }
.snav svg { width: 17px; height: 17px; stroke: var(--sumi-deep); fill: none; }
.snav:disabled { opacity: 0.3; cursor: default; }
.snav:disabled:hover { background: transparent; border-color: var(--line-2); }
.snav:disabled:hover svg { stroke: var(--sumi-deep); }

/* =========================================================
   PROFILE (dark master band)
   ========================================================= */
.profile {
  position: relative; z-index: 2;
  background: var(--sumi-deep); color: var(--paper);
  overflow: hidden;
}
.profile__bg {
  position: absolute; inset: 0; z-index: 0; opacity: 0.5;
  background:
    radial-gradient(80% 60% at 18% 30%, oklch(0.4 0.04 150 / 0.5), transparent 60%),
    radial-gradient(70% 70% at 85% 80%, oklch(0.35 0.05 60 / 0.45), transparent 60%),
    linear-gradient(120deg, oklch(0.16 0.006 70), oklch(0.22 0.01 80));
}
.profile__bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% 50%, transparent 40%, oklch(0.1 0.005 70 / 0.75) 100%);
}
.profile__photo {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url("assets/profile-bg.jpg") center/cover no-repeat;
  opacity: 0.12;
}
.profile__photo::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 110% at 50% 45%, oklch(0.1 0.005 70 / 0.25) 40%, oklch(0.1 0.005 70 / 0.7) 100%);
}
.profile__inner {
  position: relative; z-index: 2;
  max-width: var(--maxw); margin-inline: auto;
  padding-inline: var(--pad-x);
  display: grid; grid-template-columns: 0.74fr 1.26fr; align-items: center;
  gap: clamp(2rem, 5vw, 5.5rem);
  padding-block: clamp(5rem, 10vh, 9rem);
}
.profile__portrait { position: relative; aspect-ratio: 3/4; max-width: 330px; }
.profile__portrait image-slot {
  --slot-bg: oklch(0.12 0.004 70);
  width: 100%; height: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: oklch(0.12 0.004 70);
}
.profile__portrait::after {
  content: "MASAYOSHI OKAMOTO";
  position: absolute; left: -0.6rem; bottom: 1.5rem;
  writing-mode: vertical-rl;
  font-family: var(--la); font-style: italic; letter-spacing: 0.3em;
  font-size: 0.8rem; color: oklch(0.9 0.01 84 / 0.4);
}
.profile__left { display: flex; flex-direction: column; gap: clamp(1.5rem, 3.2vh, 2.2rem); max-width: 330px; }
.profile__body { max-width: 42rem; }
.profile__name {
  font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 600; line-height: 1.2;
  letter-spacing: 0.16em; color: var(--paper);
}
.profile__name .yomi {
  display: block; font-family: var(--la); font-style: italic; font-weight: 400;
  font-size: 0.26em; letter-spacing: 0.3em; color: var(--gold); margin-top: 1em;
  text-transform: uppercase;
}
.profile__role {
  margin-top: 1.6rem; font-size: 0.95rem; letter-spacing: 0.18em; color: var(--sage-soft);
}
.profile__text {
  margin-top: 1.8rem; color: oklch(0.9 0.008 84 / 0.78); line-height: 2.25;
  font-size: clamp(0.96rem, 1.4vw, 1.05rem);
}
.profile__text p { margin-bottom: 1.15em; }
.profile__text p:last-child { margin-bottom: 0; }
.profile__qrow { display: flex; align-items: flex-end; justify-content: flex-end; gap: 1.5rem; flex-wrap: nowrap; margin-top: 2rem; }
.profile__qrow .profile__quote { flex: 0 1 auto; min-width: 0; white-space: nowrap; }
.profile__qrow .profile__foot { flex: 0 0 auto; }
.profile__qrow .profile__foot .btn { padding: 0.82em 1.5em; font-size: 0.84rem; letter-spacing: 0.1em; white-space: nowrap; }
.profile__quote {
  margin-top: 2rem; padding-left: 1.4rem; border-left: 1px solid var(--gold);
  font-size: 1.1rem; line-height: 2.1; color: oklch(0.95 0.01 84 / 0.9);
  font-feature-settings: "palt";
}
.profile__foot { margin-top: 0; display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.profile__sns { display: flex; gap: 1.3rem; align-items: center; flex-wrap: wrap; }
.profile__sns a {
  font-family: var(--la); font-style: italic; font-size: 0.92rem; letter-spacing: 0.1em;
  color: oklch(0.9 0.01 84 / 0.6); transition: color 0.4s; position: relative;
}
.profile__sns a:hover { color: var(--gold); }
.profile .btn { color: var(--paper); border-color: oklch(0.92 0.01 84 / 0.35); }
.profile .btn:hover { background: var(--paper); color: var(--sumi-deep); border-color: var(--paper); }

@media (max-width: 880px) {
  .profile__inner { display: flex; flex-direction: column; align-items: center; gap: 2.4rem; }
  .profile__qrow { flex-wrap: wrap; }
  .profile__qrow .profile__quote { white-space: normal; }
  .profile__left { display: contents; }
  .profile__portrait { order: 0; width: 100%; max-width: 420px; }
  .profile__body { order: 1; width: 100%; }
  .profile__left .sns--lg { order: 2; width: 100%; justify-content: center; }
  .profile__portrait::after { display: none; }
}

/* =========================================================
   NEWS
   ========================================================= */
.news__grid {
  display: grid; grid-template-columns: 0.5fr 1.15fr; gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.news__list { display: flex; flex-direction: column; width: 100%; margin-top: clamp(2rem, 4vh, 3rem); }
.news__item {
  display: grid; grid-template-columns: auto auto 1fr auto; gap: 1.4rem; align-items: center;
  padding: 1.15rem 0.5rem 1.15rem 0; border-top: 1px solid var(--line);
  transition: background 0.4s, padding-left 0.45s var(--ease);
}
.news__item:last-child { border-bottom: 1px solid var(--line); }
.news__item:hover { padding-left: 0.8rem; }
.news__date { font-family: var(--mono); font-size: 0.84rem; letter-spacing: 0.08em; color: var(--ink-3); }
.news__cat {
  font-size: 0.74rem; letter-spacing: 0.12em; padding: 0.35em 1em; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--ink-2); white-space: nowrap;
}
.news__cat--info { border-color: var(--sage); color: var(--sage-deep); }
.news__cat--event { border-color: var(--clay); color: var(--clay); }
.news__title { font-size: 1.02rem; letter-spacing: 0.04em; color: var(--sumi-deep); }
.news__item:hover .news__title { color: var(--sage-deep); }
.news__arw { stroke: var(--ink-faint); width: 15px; height: 15px; fill: none; transition: transform 0.4s; }
.news__item:hover .news__arw { transform: translateX(4px); stroke: var(--sage-deep); }

@media (max-width: 760px) {
  .news__grid { grid-template-columns: 1fr; gap: 2rem; }
  .news__item { grid-template-columns: auto 1fr; grid-template-areas: "date cat" "title title"; gap: 0.5rem 1rem; }
  .news__date { grid-area: date; } .news__cat { grid-area: cat; justify-self: start; }
  .news__title { grid-area: title; } .news__arw { display: none; }
}

/* =========================================================
   MESSAGE (来訪者へのメッセージ)
   ========================================================= */
.message {
  background: var(--paper-warm);
  position: relative; overflow: hidden;
}
.message__inner {
  max-width: var(--maxw); margin-inline: auto;
  padding-block: clamp(5rem, 11vh, 10rem);
  display: grid; grid-template-columns: 1fr 2fr; gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.message__tate {
  writing-mode: vertical-rl;
  font-size: clamp(1.5rem, 3.2vw, 2.5rem); font-weight: 500; line-height: 2.4;
  letter-spacing: 0.22em; color: var(--sumi-deep);
  height: auto;
  font-feature-settings: "palt";
}
.message__tate em { font-style: normal; color: var(--sage-deep); }
.message__body { max-width: none; }
.message__body p { color: var(--ink-2); line-height: 2.4; font-size: clamp(0.96rem, 1.4vw, 1.06rem); margin-bottom: 1.5em; }
.pc-br { display: inline; }
@media (max-width: 760px) { .pc-br { display: none; } }
.sp-br { display: none; }
@media (max-width: 600px) { .sp-br { display: inline; } }
.message__sign { margin-top: 2.4rem; display: flex; align-items: baseline; gap: 1em; }
.message__sign .by { font-family: var(--la); font-style: italic; color: var(--ink-3); letter-spacing: 0.1em; }
.message__sign .nm { font-size: 1.3rem; letter-spacing: 0.16em; color: var(--sumi-deep); }
.message__mark {
  position: absolute; right: clamp(-2rem, -2vw, -1rem); top: 50%; transform: translateY(-50%);
  font-size: clamp(14rem, 40vw, 34rem); line-height: 1; color: oklch(0.55 0.036 150 / 0.06);
  font-weight: 700; pointer-events: none; user-select: none; z-index: 0;
}
@media (max-width: 760px) {
  .message__inner { grid-template-columns: 1fr; gap: 2.6rem; }
  .message__tate { writing-mode: horizontal-tb; height: auto; line-height: 1.9; }
}

/* =========================================================
   ABOUT 心浄術 — full-bleed split
   ========================================================= */
.about {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: clamp(380px, 52vw, 600px);
  background: linear-gradient(90deg, oklch(0.95 0.008 90) 0%, oklch(0.985 0.004 90) 100%);
}
.about__media { position: relative; overflow: hidden; }
.about__media image-slot, .about__media img { width: 100%; height: 100%; }
.about__media img { object-fit: cover; }
.about__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 60%, oklch(0.97 0.006 90) 100%);
}
.about__panel { display: flex; align-items: center; padding: clamp(2.5rem, 6vw, 6rem) var(--pad-x) clamp(2.5rem, 6vw, 6rem) clamp(1.5rem, 4vw, 4rem); }
.about__inner { max-width: 30rem; }
.about__en {
  font-family: var(--la); letter-spacing: 0.26em; font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 500; color: var(--sumi-deep); text-transform: uppercase; display: block;
}
.about__ttl {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem); font-weight: 600; letter-spacing: 0.2em;
  color: var(--sumi-deep); margin-top: 0.5rem;
}
.about__rule { display: block; width: 3rem; height: 1px; background: var(--gold); margin: 1.6rem 0; }
.about__lead {
  color: var(--ink-2); line-height: 2.15; font-size: clamp(0.92rem, 1.3vw, 1.02rem);
  letter-spacing: 0.05em;
}
.about__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 1rem;
  margin-top: clamp(2rem, 4vw, 3rem); padding: 1.1em 2.4em; min-width: min(100%, 24rem);
  border: 1px solid var(--gold); border-radius: 999px;
  background: linear-gradient(180deg, oklch(0.74 0.055 78), oklch(0.66 0.06 72));
  color: #fff; letter-spacing: 0.1em; font-size: 0.92rem; white-space: nowrap;
  transition: filter 0.4s var(--ease), box-shadow 0.5s var(--ease);
  box-shadow: 0 14px 34px -18px oklch(0.55 0.06 72 / 0.8);
}
.about__btn .arw { transition: transform 0.5s var(--ease); }
.about__btn:hover { filter: brightness(1.06); box-shadow: 0 18px 40px -16px oklch(0.55 0.06 72 / 0.9); }
.about__btn:hover .arw { transform: translateX(0.4em); }
@media (max-width: 760px) {
  .about { grid-template-columns: 1fr; }
  .about__media { aspect-ratio: 16/10; }
  .about__media::after { background: linear-gradient(180deg, transparent 60%, oklch(0.97 0.006 90) 100%); }
  .about__panel { padding: clamp(2.5rem, 8vw, 4rem) var(--pad-x); }
  .about__btn { min-width: 100%; gap: 1rem; }
}

/* =========================================================
   WORKS — image-tab gallery
   ========================================================= */
.wtab { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(2rem, 4.5vw, 4.5rem); align-items: start; }

.wtab__mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr 1fr 2fr;
  aspect-ratio: 1 / 1;
  gap: clamp(0.6rem, 1.1vw, 1rem);
}
.wtab__cell { position: relative; display: block; text-align: left; padding: 0; background: none; min-width: 0; min-height: 0; }
.wtab__cell--a { grid-column: 1 / 2; grid-row: 1 / 3; }   /* 桜千道: 正方形 左 */
.wtab__cell--b { grid-column: 2 / 3; grid-row: 1 / 2; }   /* LaCoon: 横長 右上 */
.wtab__cell--c { grid-column: 2 / 3; grid-row: 2 / 3; }   /* まほうの足: 横長 右下 */
.wtab__cell--d { grid-column: 1 / 3; grid-row: 3 / 4; }   /* medical fit: 下ワイド、高さ増 */
.wtab__thumb {
  position: relative; display: block; width: 100%; height: 100%; overflow: hidden;
  border-radius: 3px; background: var(--sumi-deep);
}
.wtab__thumb image-slot, .wtab__thumb img { width: 100%; height: 100%; }
.wtab__thumb img { object-fit: cover; transition: transform 1s var(--ease); }
.wtab__thumb::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 45%, oklch(0.12 0.01 70 / 0.78) 100%);
  transition: opacity 0.45s var(--ease);
}
.wtab__cap {
  position: absolute; left: 1.1rem; bottom: 1rem; z-index: 2;
  font-size: clamp(0.98rem, 1.5vw, 1.25rem); letter-spacing: 0.1em; color: var(--paper);
  font-weight: 600; text-shadow: 0 1px 10px oklch(0.1 0.01 70 / 0.7);
}
.wtab__cell:hover .wtab__thumb img { transform: scale(1.05); }
.wtab__cell.is-active .wtab__thumb { outline: 2px solid var(--gold); outline-offset: -2px; }
.wtab__cell:not(.is-active) .wtab__thumb { filter: grayscale(0.35) brightness(0.82); }
.wtab__cell:hover .wtab__thumb { filter: none; }

.wtab__detail { position: sticky; top: 120px; padding-top: 0.5rem; }
.wtab__panel { display: none; }
.wtab__panel.is-active { display: block; animation: wpanel 0.6s var(--ease); }
@keyframes wpanel { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.wtab__en {
  font-family: var(--la); font-style: italic; letter-spacing: 0.18em;
  font-size: 1.05rem; color: var(--sage-deep);
}
.wtab__ttl { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 600; letter-spacing: 0.1em; color: var(--sumi-deep); margin: 0.4rem 0 1.4rem; }
.wtab__desc { color: var(--ink-2); line-height: 2.1; font-size: clamp(0.94rem, 1.3vw, 1.02rem); letter-spacing: 0.04em; }
.wtab__btn {
  display: inline-flex; align-items: center; gap: 0.7em; margin-top: 2rem;
  padding: 1em 2em; border: 1px solid var(--line-2); border-radius: 999px;
  font-size: 0.9rem; letter-spacing: 0.14em; color: var(--sumi-deep);
  transition: all 0.5s var(--ease);
}
.wtab__links { display: flex; flex-direction: column; gap: 0.7rem; margin-top: 2rem; }
.wtab__links .wtab__btn { margin-top: 0; min-width: 0; padding: 0.85em 1.6em; }
.wtab__btn .arw { transition: transform 0.5s var(--ease); }
.wtab__btn:hover { background: var(--sumi-deep); color: var(--paper); border-color: var(--sumi-deep); }
.wtab__btn:hover .arw { transform: translate(0.3em, -0.3em); }

@media (max-width: 860px) {
  /* mobile = accordion: full-width images, tap to expand detail inline */
  .wtab { display: block; }
  .wtab__mosaic {
    display: flex; flex-direction: column; aspect-ratio: auto;
    gap: 0; border-top: 1px solid var(--line);
  }
  .wtab__cell--a, .wtab__cell--b, .wtab__cell--c, .wtab__cell--d {
    grid-column: auto; grid-row: auto;
  }
  .wtab__cell { border-bottom: 1px solid var(--line); }
  .wtab__thumb { aspect-ratio: 16/9; border-radius: 0; }
  .wtab__cell:not(.is-active) .wtab__thumb { filter: none; }
  .wtab__cap { left: 1.2rem; bottom: 1rem; font-size: 1.15rem; }
  /* chevron */
  .wtab__cell .wtab__thumb::before {
    content: ""; position: absolute; z-index: 3; right: 1.1rem; bottom: 1.2rem;
    width: 11px; height: 11px; border-right: 2px solid var(--paper); border-bottom: 2px solid var(--paper);
    transform: rotate(45deg); transition: transform 0.4s var(--ease); opacity: 0.9;
  }
  .wtab__cell.is-active .wtab__thumb::before { transform: rotate(-135deg); }
  .wtab__cell.is-active .wtab__thumb { outline: none; }

  .wtab__detail { display: contents; }
  .wtab__panel {
    padding: 1.6rem 1.3rem 2rem; background: var(--paper-2);
    border-bottom: 1px solid var(--line);
  }
  .wtab__panel.is-active { animation: none; }
  .wtab__ttl { margin: 0.3rem 0 1rem; }
}

/* =========================================================
   MUSIC GRID
   ========================================================= */
.music-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.8rem, 1.6vw, 1.4rem);
  margin-top: clamp(2rem, 4vh, 3rem);
}
.mcell { display: block; }
.mcell__img {
  position: relative;
  width: 100%; aspect-ratio: 16/9; overflow: hidden;
  border-radius: 4px;
  transition: box-shadow 0.5s var(--ease);
}
/* 再生ボタン（サムネ中央） */
.mcell__play { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.mcell__play svg {
  width: 3.1rem; height: 3.1rem; padding: 0.85rem;
  color: #fff; background: oklch(0.2 0.01 70 / 0.5); border-radius: 50%;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.mcell:hover .mcell__play svg { background: var(--clay); transform: scale(1.06); }

/* YouTube 再生モーダル */
.ytmodal { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; padding: clamp(1rem, 4vw, 3rem); background: oklch(0.14 0.008 60 / 0.85); backdrop-filter: blur(4px); }
.ytmodal.is-open { display: grid; }
.ytmodal__frame { width: min(100%, 62rem); }
.ytmodal__inner { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; border-radius: 8px; overflow: hidden; box-shadow: 0 30px 80px -20px oklch(0 0 0 / 0.6); }
.ytmodal__inner iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ytmodal__close { position: absolute; top: 1.1rem; right: 1.1rem; width: 2.8rem; height: 2.8rem; display: grid; place-items: center; background: oklch(1 0 0 / 0.14); border: none; border-radius: 50%; color: #fff; cursor: pointer; transition: background 0.25s var(--ease); }
.ytmodal__close:hover { background: oklch(1 0 0 / 0.28); }
.ytmodal__close svg { width: 1.3rem; height: 1.3rem; }
.mcell__img image-slot, .mcell__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.mcell:hover .mcell__img { box-shadow: 0 16px 40px -16px oklch(0.2 0.01 70 / 0.35); }
.mcell:hover .mcell__img image-slot, .mcell:hover .mcell__img img { transform: scale(1.04); }
.mcell__title {
  margin-top: 0.75em; font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  font-weight: 500; color: var(--sumi-deep); letter-spacing: 0.05em; line-height: 1.5;
}
.mcell:hover .mcell__title { color: var(--sage-deep); }
.mcell__sub {
  margin-top: 0.25em; font-family: var(--la); font-style: italic;
  font-size: 0.82rem; letter-spacing: 0.1em; color: var(--ink-3);
}
@media (max-width: 760px) { .music-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .music-grid { grid-template-columns: 1fr; } } */
.blog__ryumon {
  position: absolute;
  inset: 0;
  background: url("assets/ryumon.png") center center / 100vw auto no-repeat;
  background-attachment: fixed;
  opacity: 0.14;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}
.blog__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.4rem, 2.5vw, 2.4rem); margin-top: clamp(2.4rem, 5vh, 4rem); }
.bpost { display: block; }
.bpost__date { display: flex; align-items: flex-end; gap: 0.55em; margin-bottom: 1.1em; }
.bpost__date .d { font-family: var(--la); font-size: 2.7rem; font-weight: 500; line-height: 0.85; color: var(--sumi-deep); }
.bpost__date .my { display: flex; flex-direction: column; font-family: var(--la); font-style: italic; font-size: 0.78rem; letter-spacing: 0.14em; color: var(--ink-3); line-height: 1.35; text-transform: uppercase; }
.bpost__img { width: 100%; aspect-ratio: 3/2.3; overflow: hidden; border-radius: 3px; background: var(--paper-3); }
.bpost__img image-slot, .bpost__img img { width: 100%; height: 100%; }
.bpost__img img { object-fit: cover; transition: transform 1.2s var(--ease); }
.bpost:hover .bpost__img img { transform: scale(1.05); }
.bpost__title { margin-top: 1em; font-size: 1.04rem; line-height: 1.7; color: var(--sumi-deep); letter-spacing: 0.04em; font-weight: 500; }
.bpost:hover .bpost__title { color: var(--sage-deep); }
.bpost__cat { display: inline-block; margin-top: 0.7em; font-size: 0.74rem; letter-spacing: 0.12em; color: var(--ink-3); }
@media (max-width: 920px) { .blog__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .bpost__title { text-align: center; } }
@media (max-width: 460px) { .blog__grid { gap: 1rem; } .bpost__img { aspect-ratio: 4/3; } .bpost__title { font-size: 0.92rem; text-align: center; } }

/* =========================================================
   COLLECTIONS
   ========================================================= */
.collections { background: var(--paper-2); text-align: center; }
.collections .slider__track { padding-block: 2rem 1.4rem; }
.coll {
  flex: 0 0 clamp(150px, 18vw, 210px); scroll-snap-align: center;
  text-align: center;
}
.coll__cover {
  width: 100%; aspect-ratio: 3/4.2; overflow: hidden; border-radius: 2px;
  box-shadow: 0 24px 50px -28px oklch(0.2 0.01 70 / 0.5);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.coll__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.coll:hover .coll__cover { transform: translateY(-8px); box-shadow: 0 34px 60px -28px oklch(0.2 0.01 70 / 0.6); }
.coll__cover image-slot, .coll__cover img { width: 100%; height: 100%; }
.coll__cover img { object-fit: cover; }
.coll__title { margin-top: 1.1em; font-size: 0.92rem; color: var(--sumi-deep); letter-spacing: 0.06em; line-height: 1.6; }
.coll__type { font-family: var(--la); font-style: italic; font-size: 0.78rem; color: var(--ink-3); margin-top: 0.3em; }
.coll__buy { margin-top: 0.7em; font-size: 0.74rem; letter-spacing: 0.12em; color: var(--clay); display: inline-flex; gap: 0.4em; align-items: center; }

/* =========================================================
   SHOP LIST banner
   ========================================================= */
.shop { background: var(--paper-2); padding-top: 1rem; }
.shop__tags { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; margin: 1.6rem 0 2.6rem; }
.shop__tags a {
  font-size: 0.82rem; letter-spacing: 0.1em; padding: 0.6em 1.3em; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--ink-2); background: var(--paper);
  transition: all 0.4s var(--ease);
}
.shop__tags a:hover { background: var(--sumi-deep); color: var(--paper); border-color: var(--sumi-deep); }
.banners { position: relative; max-width: var(--maxw); margin-inline: auto; }
.banners__track { display: flex; gap: clamp(0.9rem, 1.6vw, 1.4rem); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1.2rem; scrollbar-width: none; scroll-behavior: smooth; }
.banners__track::-webkit-scrollbar { display: none; }
.banner {
  flex: 0 0 clamp(280px, 38vw, 440px); scroll-snap-align: start;
  aspect-ratio: 16/8.5; border-radius: 5px; overflow: hidden; position: relative;
  background: var(--sumi-deep); border: 1px solid var(--line);
}
.banner image-slot, .banner img { width: 100%; height: 100%; }
.banner img { object-fit: cover; transition: transform 1s var(--ease); }
.banner:hover img { transform: scale(1.04); }
.banner__label { position: absolute; left: 1.1rem; bottom: 1rem; z-index: 2; color: var(--paper); }
.banner__label .nm { font-size: 1.05rem; font-weight: 600; letter-spacing: 0.08em; }
.banner__label .en { font-family: var(--la); font-style: italic; font-size: 0.78rem; opacity: 0.8; letter-spacing: 0.1em; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, oklch(0.1 0.01 70 / 0.7)); }

/* =========================================================
   FOOTER
   ========================================================= */
.contact {
  background: var(--sumi-deep); color: var(--paper); text-align: center;
  padding-block: clamp(5rem, 11vh, 9rem);
}
.contact .eyebrow { color: var(--gold); }
.contact .eyebrow::before, .contact .eyebrow::after { background: var(--gold); }
.contact h2 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 500; letter-spacing: 0.1em; margin: 1.2rem 0; line-height: 1.5; }
.contact p { color: oklch(0.9 0.01 84 / 0.7); max-width: 36rem; margin: 0 auto 2.6rem; line-height: 2.1; }
.contact__btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.contact .btn { color: var(--paper); border-color: oklch(0.92 0.01 84 / 0.35); }
.contact .btn:hover { background: var(--paper); color: var(--sumi-deep); border-color: var(--paper); }

.foot { background: var(--rock-deep); color: oklch(0.9 0.01 84 / 0.7); padding: clamp(3.5rem, 7vh, 5.5rem) var(--pad-x) 2.5rem; }
.foot__top { max-width: var(--maxw); margin-inline: auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid oklch(0.92 0.01 84 / 0.1); align-items: start; }
.foot__nav-col { display: flex; flex-direction: column; }
.foot__menu-links { display: grid; grid-auto-flow: column; grid-template-rows: repeat(6, auto); column-gap: clamp(1.2rem, 3vw, 2.4rem); }
.foot__social { margin-top: 1.8rem; text-align: right; }
.foot__social .foot__sns { justify-content: flex-end; margin-top: 0; }
.foot__social .foot__sns a { flex-basis: 48px; }
.foot__social .foot__sns img { width: 74%; height: 74%; }
.foot__nav-col h5 { font-family: var(--la); font-style: italic; letter-spacing: 0.18em; color: var(--gold); font-size: 0.9rem; margin-bottom: 1rem; font-weight: 500; }
.foot__nav-col a { font-size: 0.9rem; padding: 0.35em 0; letter-spacing: 0.06em; transition: color 0.4s, padding-left 0.4s; color: oklch(0.9 0.01 84 / 0.72); }
.foot__nav-col a:hover { color: var(--paper); padding-left: 0.4em; }
.foot__works-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(0.7rem, 1.4vw, 1.1rem); max-width: 460px; justify-self: center; }
.foot__work { display: block; position: relative; overflow: hidden; border-radius: 4px; }
.foot__work-img { width: 100%; aspect-ratio: 16/9; overflow: hidden; }
.foot__work-img image-slot, .foot__work-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); opacity: 0.72; }
.foot__work:hover .foot__work-img img, .foot__work:hover .foot__work-img image-slot { transform: scale(1.05); opacity: 0.9; }
.foot__work-name { display: block; margin-top: 0.4em; font-size: 0.82rem; letter-spacing: 0.1em; color: oklch(0.9 0.01 84 / 0.65); transition: color 0.4s; }
.foot__work:hover .foot__work-name { color: var(--gold); }
.foot__bottom { max-width: var(--maxw); margin: 2rem auto 0; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.foot__copy { font-family: var(--la); font-style: italic; letter-spacing: 0.12em; font-size: 0.82rem; color: var(--ink-faint); }
.foot__sns { display: flex; gap: 1.3rem; flex-wrap: wrap; }
.foot__sns a { font-family: var(--la); font-style: italic; font-size: 0.86rem; letter-spacing: 0.1em; color: oklch(0.9 0.01 84 / 0.6); transition: color 0.4s; }
.foot__sns a:hover { color: var(--gold); }
@media (max-width: 820px) {
  .foot__top { grid-template-columns: 1fr; gap: 2rem; }
  .foot__works-grid { grid-template-columns: 1fr 1fr; }
  .foot__bottom { flex-direction: column; justify-content: center; text-align: center; gap: 1.6rem; }
  .foot__sns { justify-content: center; }
}
@media (max-width: 520px) { .foot__top { grid-template-columns: 1fr; gap: 1.8rem; } }

/* large eyebrow used as a heading */
.eyebrow--lg { font-size: clamp(1.05rem, 2vw, 1.45rem); letter-spacing: 0.34em; color: var(--sumi-deep); }

/* SNS icons — never wrap regardless of count; shrink to fit one row */
.sns { display: flex; flex-wrap: nowrap; gap: clamp(0.45rem, 1.6vw, 1.15rem); align-items: center; }
.sns a { flex: 0 1 44px; min-width: 0; aspect-ratio: 1; display: grid; place-items: center; opacity: 0.82; transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); }
.sns a:hover { opacity: 1; transform: translateY(-2px); }
.sns img { width: 64%; height: 64%; object-fit: contain; }
.sns .gly { width: 64%; height: 64%; display: grid; place-items: center; border: 1px solid oklch(0.92 0.01 84 / 0.5); border-radius: 6px; font-family: var(--la); font-style: italic; font-size: clamp(0.7rem, 2vw, 1rem); color: var(--paper); }
.sns--lg { gap: clamp(0.5rem, 1.8vw, 1.4rem); }
.sns--lg a { flex: 0 1 50px; }
.sns--lg img { width: 64%; height: 64%; }
.sns--lg .gly { width: 64%; height: 64%; font-size: clamp(0.8rem, 2.2vw, 1.15rem); border-radius: 7px; }

/* responsive */
@media (max-width: 600px) {
  .head__line { display: none; }       /* モバイルは LINE を隠して幅を確保 */
}
