/* ============================================================
   HAIR MODEL BANK — 公式サイト v2
   エディトリアル・ラグジュアリー。黒 × 温白 × ブロンズ。
   全画面スライドショー／マーキー／オーバーサイズタイポ。
   ============================================================ */

:root {
  --paper: #f7f5f0;
  --white: #ffffff;
  --black: #0e0d0b;
  --black-2: #171512;
  --ink: #1b1a17;
  --ink-2: #55524a;
  --ink-3: #6b675e;   /* ⚠️2026-09-22 了以：#8a867c（3.5倍）→ 5.5倍 */
  --line: #e3dfd5;
  --line-dark: #c9c5ba;
  --line-onblack: rgba(255,255,255,.14);
  --bronze: #b08d57;
  --bronze-deep: #8a6a3b;
  --bronze-pale: #f1eadd;
  --serif: "Shippori Mincho B1", "Yu Mincho", serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;
  --en: "Cormorant Garamond", "Times New Roman", serif;
  --w: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { max-width: 100%; overflow-x: clip; }

body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 2;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  letter-spacing: .05em;
  /* Cormorantのオールドスタイル数字（01がOIに見える）を防ぐ */
  font-variant-numeric: lining-nums proportional-nums;
  font-feature-settings: "lnum" 1, "pnum" 1;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.wrap { max-width: var(--w); margin: 0 auto; padding: 0 28px; }

::selection { background: var(--bronze); color: #fff; }

/* ---------- ヘッダー ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  transition: background .4s ease, border-color .4s ease, transform .4s ease;
  border-bottom: 1px solid transparent;
  color: #fff;
}
.header.is-solid,
body.subpage .header {
  background: rgba(14, 13, 11, .88);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-onblack);
}
.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 20px;
  max-width: none;
  padding: 0 34px;
}
.brand { display: flex; flex-direction: column; line-height: 1.25; }
.brand .en {
  font-family: var(--en);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: .24em;
  color: #fff;
  white-space: nowrap;
}
.brand .ja { font-size: 9px; letter-spacing: .5em; color: rgba(255,255,255,.6); }

.gnav { display: flex; align-items: center; gap: 2px; }
.gnav a {
  font-size: 12.5px;
  letter-spacing: .08em;
  padding: 10px 10px;
  position: relative;
  color: rgba(255,255,255,.82);
  transition: color .25s;
  white-space: nowrap;
}
.gnav a::after {
  content: "";
  position: absolute;
  left: 10px; right: 10px; bottom: 4px;
  height: 1px;
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.gnav a:hover, .gnav a[aria-current="page"] { color: #fff; }
.gnav a:hover::after, .gnav a[aria-current="page"]::after { transform: scaleX(1); }

.head-utils { display: flex; align-items: center; gap: 18px; }
.head-utils .u {
  font-size: 11.5px;
  letter-spacing: .14em;
  color: rgba(255,255,255,.7);
  transition: color .25s;
  white-space: nowrap;
}
.head-utils .u:hover { color: #fff; }
.btn-register {
  font-size: 12.5px;
  letter-spacing: .16em;
  background: var(--bronze);
  color: #fff;
  padding: 13px 24px;
  border: 1px solid var(--bronze);
  transition: background .3s, border-color .3s;
  white-space: nowrap;
}
.btn-register:hover { background: var(--bronze-deep); border-color: var(--bronze-deep); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 46px; height: 46px;
  cursor: pointer;
  position: relative;
  z-index: 300;
}
.nav-toggle span {
  position: absolute;
  left: 11px; right: 11px;
  height: 1.5px;
  background: #fff;
  transition: transform .3s, opacity .3s;
}
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 23px; }
.nav-toggle span:nth-child(3) { top: 29px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================
   ヒーロー（全画面・3面スライドショー）
   ============================================================ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 620px;
  background: var(--black);
  overflow: hidden;
  color: #fff;
}
.hero .panes {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.hero .pane { position: relative; overflow: hidden; }
.hero .pane img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.6s ease;
  filter: saturate(.92) contrast(1.02);
}
.hero .pane img.is-active {
  opacity: 1;
  animation: kenburns 7s ease-out forwards;
}
@keyframes kenburns {
  from { transform: scale(1.1); }
  to   { transform: scale(1.0); }
}
.hero .pane:nth-child(2) img { transition-delay: .18s; }
.hero .pane:nth-child(3) img { transition-delay: .36s; }

.hero .veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14,13,11,.55) 0%, rgba(14,13,11,.08) 32%, rgba(14,13,11,.14) 60%, rgba(14,13,11,.82) 100%);
  pointer-events: none;
}
.hero .center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 34px 68px;
  pointer-events: none;
}
.hero .center > * { pointer-events: auto; }
.hero .en-label {
  font-family: var(--en);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .5em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(34px, 5vw, 64px);
  letter-spacing: .08em;
  line-height: 1.55;
  text-shadow: 0 2px 30px rgba(0,0,0,.45);
}
.hero .sub {
  margin-top: 20px;
  max-width: 560px;
  font-size: 14.5px;
  color: rgba(255,255,255,.85);
  text-shadow: 0 1px 14px rgba(0,0,0,.5);
}
.hero .cta { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }

.hero .meta {
  position: absolute;
  right: 34px; bottom: 68px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}
.hero .counter {
  font-family: var(--en);
  font-size: 15px;
  letter-spacing: .3em;
  color: rgba(255,255,255,.85);
}
.hero .counter b { font-size: 26px; font-weight: 500; color: #fff; }
.hero .dots { display: flex; gap: 10px; }
.hero .dots button {
  width: 34px; height: 2px;
  border: 0;
  background: rgba(255,255,255,.3);
  cursor: pointer;
  transition: background .3s;
}
.hero .dots button.is-on { background: var(--bronze); }

.hero .scroll-cue {
  position: absolute;
  left: 34px; bottom: 0;
  font-family: var(--en);
  font-size: 10.5px;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  writing-mode: vertical-rl;
  padding-bottom: 84px;
}
.hero .scroll-cue::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 1px; height: 72px;
  background: linear-gradient(to bottom, rgba(255,255,255,.6), transparent);
  animation: cue 2.2s ease-in-out infinite;
}
@keyframes cue {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- マーキー ---------- */
.marquee {
  background: var(--black);
  color: rgba(255,255,255,.9);
  border-top: 1px solid var(--line-onblack);
  overflow: hidden;
  padding: 20px 0;
  position: relative;
}
.marquee .track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee span {
  font-family: var(--en);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: .26em;
  white-space: nowrap;
  padding-right: 22px;
}
.marquee span i {
  font-style: normal;
  color: var(--bronze);
  padding: 0 22px 0 0;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- 見出し ---------- */
.sec-head { margin-bottom: 52px; position: relative; }
.sec-head .en {
  font-family: var(--en);
  font-weight: 500;
  font-size: clamp(58px, 9vw, 128px);
  line-height: .9;
  letter-spacing: .04em;
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px rgba(27,26,23,.22);
  text-transform: uppercase;
  margin-bottom: -14px;
  user-select: none;
}
.on-dark .sec-head .en { -webkit-text-stroke-color: rgba(255,255,255,.2); }
.sec-head h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 600;
  letter-spacing: .1em;
  line-height: 1.5;
  position: relative;
}
.sec-head .bar {
  display: inline-block;
  width: 56px; height: 1px;
  background: var(--bronze);
  vertical-align: middle;
  margin: 0 18px 4px 0;
}
.sec-head p.lead { margin-top: 18px; color: var(--ink-2); max-width: 680px; }
.on-dark .sec-head p.lead { color: rgba(255,255,255,.7); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  font-size: 13.5px;
  letter-spacing: .18em;
  padding: 18px 30px;
  border: 1px solid currentColor;
  color: var(--ink);
  background: transparent;
  transition: background .3s, color .3s, border-color .3s;
  min-width: 240px;
  position: relative;
  overflow: hidden;
}
.btn::after { content: "→"; font-family: var(--en); font-size: 17px; transition: transform .3s; }
.btn:hover::after { transform: translateX(6px); }
.btn.solid { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.solid:hover { background: var(--bronze-deep); border-color: var(--bronze-deep); }
.btn.bronze { background: var(--bronze); border-color: var(--bronze); color: #fff; }
.btn.bronze:hover { background: var(--bronze-deep); border-color: var(--bronze-deep); }
.btn.ghost-w { color: #fff; border-color: rgba(255,255,255,.6); }
.btn.ghost-w:hover { background: #fff; color: var(--black); border-color: #fff; }

/* ---------- セクション ---------- */
.section { padding: 110px 0; }
.section.on-dark { background: var(--black); color: #ece9e0; }
.section.on-white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- 数字カウンター ---------- */
.stats-band { background: var(--black); color: #fff; padding: 84px 0; }
.stats-band .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stats-band .cell {
  padding: 8px 36px;
  border-left: 1px solid var(--line-onblack);
}
.stats-band .cell:first-child { border-left: 0; }
.stats-band .num {
  font-family: var(--en);
  font-weight: 500;
  font-size: clamp(40px, 4.4vw, 62px);
  letter-spacing: .02em;
  line-height: 1.1;
  color: #fff;
}
.stats-band .num small { font-family: var(--sans); font-size: 15px; margin-left: 4px; color: rgba(255,255,255,.85); }
.stats-band .label { margin-top: 10px; font-size: 12px; letter-spacing: .18em; color: rgba(255,255,255,.55); }
.stats-band .cell .accent { color: var(--bronze); }

/* ---------- カテゴリタイル ---------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.tiles a {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  display: block;
  background: var(--black);
}
.tiles img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .85;
  transition: transform .8s cubic-bezier(.2,.6,.2,1), opacity .5s;
  filter: saturate(.9);
}
.tiles a:hover img { transform: scale(1.06); opacity: .55; }
.tiles .t-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(14,13,11,.78) 100%);
}
.tiles .t-label {
  position: absolute;
  left: 22px; right: 22px; bottom: 20px;
  color: #fff;
}
.tiles .t-label .en {
  font-family: var(--en);
  font-weight: 500;
  font-size: clamp(26px, 2.6vw, 38px);
  letter-spacing: .06em;
  line-height: 1;
  display: block;
}
.tiles .t-label .ja { font-size: 11.5px; letter-spacing: .3em; color: rgba(255,255,255,.75); display: block; margin-top: 8px; }
.tiles .t-label .arrow {
  position: absolute;
  right: 0; bottom: 4px;
  font-family: var(--en);
  color: var(--bronze);
  font-size: 20px;
  transition: transform .3s;
}
.tiles a:hover .arrow { transform: translateX(6px); }

/* ---------- フォトレール（自動横流れ） ---------- */
.photo-rail { overflow: hidden; background: var(--paper); padding: 6px 0; }
.photo-rail .track {
  display: flex;
  gap: 6px;
  width: max-content;
  animation: rail 60s linear infinite;
}
.photo-rail:hover .track { animation-play-state: paused; }
.photo-rail img {
  height: 300px;
  width: auto;
  aspect-ratio: 3 / 4;              /* 🆕 2026-09-22 了以：読み込み前から枠の幅を確保（空白が流れて見えないように） */
  object-fit: cover;
  background: #e6e9ef;
  filter: saturate(.94);
  opacity: .001; transition: opacity .35s;
}
.photo-rail img.on { opacity: 1; }
.photo-rail .rail-skel { flex: none; height: 300px; aspect-ratio: 3 / 4; background: linear-gradient(100deg, #e6e9ef 30%, #f1f3f7 50%, #e6e9ef 70%); background-size: 200% 100%; animation: rail-skel 1.2s linear infinite; }
@keyframes rail-skel { to { background-position: -200% 0; } }
@keyframes rail { to { transform: translateX(-50%); } }

/* ---------- 特徴（黒背景・番号大） ---------- */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-onblack); border: 1px solid var(--line-onblack); }
.features .item { background: var(--black); padding: 52px 46px; position: relative; overflow: hidden; }
.features .num {
  font-family: var(--en);
  font-weight: 500;
  font-size: 74px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(176,141,87,.55);
  display: block;
  margin-bottom: 20px;
}
.features h3 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: .08em;
  margin-bottom: 14px;
  line-height: 1.7;
  color: #fff;
}
.features p { font-size: 13.5px; color: rgba(255,255,255,.65); }

/* ---------- ギャラリーグリッド ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}
.gallery-grid a { position: relative; overflow: hidden; display: block; background: var(--black); }
.gallery-grid img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2,.6,.2,1), opacity .4s;
}
.gallery-grid a:hover img { transform: scale(1.07); opacity: .75; }
.gallery-grid a::after {
  content: "→";
  font-family: var(--en);
  position: absolute;
  right: 12px; bottom: 8px;
  color: #fff;
  opacity: 0;
  transition: opacity .3s;
}
.gallery-grid a:hover::after { opacity: 1; }
.gallery-note { margin-top: 18px; font-size: 12px; color: var(--ink-3); }
.gallery-more { margin-top: 40px; text-align: center; }

/* ---------- 料金カード（黒） ---------- */
.price-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; align-items: stretch; }
.price-card {
  background: var(--black-2);
  border: 1px solid var(--line-onblack);
  padding: 46px 38px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color .3s, transform .3s;
}
.price-card:hover { border-color: rgba(176,141,87,.6); transform: translateY(-4px); }
.price-card.em { border-color: var(--bronze); }
.price-card.em .badge {
  position: absolute;
  top: -12px; left: 34px;
  background: var(--bronze);
  color: #fff;
  font-size: 11px;
  letter-spacing: .22em;
  padding: 3px 16px;
}
.price-card .type {
  font-family: var(--en);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .38em;
  color: var(--bronze);
  text-transform: uppercase;
}
.price-card h3 { font-family: var(--serif); font-size: 21px; letter-spacing: .08em; margin: 12px 0 4px; color: #fff; }
.price-card .amount { margin: 16px 0 6px; color: #fff; }
.price-card .amount b {
  font-family: var(--en);
  font-weight: 500;
  font-size: 46px;
  letter-spacing: .01em;
}
.price-card .amount span { font-size: 12px; color: rgba(255,255,255,.55); display: block; margin-top: 2px; }
.price-card ul { margin: 18px 0 30px; flex: 1; }
.price-card li {
  font-size: 13px;
  color: rgba(255,255,255,.72);
  padding: 10px 0 10px 22px;
  border-bottom: 1px solid var(--line-onblack);
  position: relative;
}
.price-card li::before {
  content: "";
  position: absolute;
  left: 2px; top: 19px;
  width: 9px; height: 4px;
  border-left: 1.5px solid var(--bronze);
  border-bottom: 1.5px solid var(--bronze);
  transform: rotate(-45deg);
}
.price-card .btn { min-width: 0; width: 100%; }

/* ---------- 流れ（トップ簡易） ---------- */
.flow-line { display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: fl; }
.flow-line .step { padding: 0 26px; border-left: 1px solid var(--line-dark); counter-increment: fl; }
.flow-line .step:first-child { border-left: 0; padding-left: 0; }
.flow-line .step::before {
  content: "0" counter(fl);
  font-family: var(--en);
  font-weight: 500;
  font-size: 40px;
  color: transparent;
  -webkit-text-stroke: 1px var(--bronze);
  display: block;
  margin-bottom: 12px;
  line-height: 1;
}
.flow-line h3 { font-size: 15px; font-weight: 700; letter-spacing: .1em; margin-bottom: 8px; }
.flow-line p { font-size: 12.5px; color: var(--ink-2); line-height: 1.9; }

/* ---------- 声 ---------- */
.voices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.voice {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 40px 34px;
  position: relative;
}
.voice::before {
  content: "“";
  font-family: var(--en);
  font-size: 72px;
  line-height: 1;
  color: var(--bronze);
  opacity: .55;
  position: absolute;
  top: 14px; left: 24px;
}
.voice p { font-size: 14.5px; padding-top: 30px; font-family: var(--serif); letter-spacing: .06em; line-height: 2; }
.voice .who { margin-top: 18px; font-size: 11.5px; color: var(--ink-3); letter-spacing: .16em; }

/* ---------- 募集バナー ---------- */
.banner-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.banner-duo a {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 300px;
  background: var(--black);
  color: #fff;
}
.banner-duo img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .5;
  transition: transform .8s cubic-bezier(.2,.6,.2,1), opacity .4s;
  filter: saturate(.85);
}
.banner-duo a:hover img { transform: scale(1.05); opacity: .35; }
.banner-duo .b-inner {
  position: absolute;
  inset: 0;
  padding: 44px 42px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.banner-duo .en { font-family: var(--en); font-weight: 500; font-size: 12px; letter-spacing: .42em; color: var(--bronze); text-transform: uppercase; }
.banner-duo h3 { font-family: var(--serif); font-size: 24px; margin: 10px 0 8px; letter-spacing: .08em; }
.banner-duo p { font-size: 13px; color: rgba(255,255,255,.75); max-width: 420px; }
.banner-duo .arrow { position: absolute; right: 38px; bottom: 40px; font-family: var(--en); color: var(--bronze); font-size: 22px; }

/* ---------- 最終CTA ---------- */
.cta-final {
  position: relative;
  background: var(--black);
  color: #fff;
  text-align: center;
  padding: 140px 0;
  overflow: hidden;
}
.cta-final .ghost {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--en);
  font-weight: 500;
  font-size: clamp(90px, 16vw, 240px);
  letter-spacing: .04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.08);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.cta-final .en {
  font-family: var(--en);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .5em;
  color: var(--bronze);
  text-transform: uppercase;
  display: block;
  margin-bottom: 22px;
}
.cta-final h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 600;
  letter-spacing: .1em;
  line-height: 1.8;
  position: relative;
}
.cta-final p { margin: 22px auto 0; max-width: 580px; color: rgba(255,255,255,.65); font-size: 14px; position: relative; }
.cta-final .cta { margin-top: 48px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; position: relative; }

/* ---------- フッター ---------- */
.footer { background: var(--black); color: rgba(255,255,255,.62); font-size: 13px; border-top: 1px solid var(--line-onblack); }
.footer .upper {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 44px;
  padding: 80px 0 60px;
}
.footer .f-brand .en {
  font-family: var(--en);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: .24em;
  color: #fff;
  display: block;
}
.footer .f-brand .ja { font-size: 9.5px; letter-spacing: .5em; display: block; margin-top: 5px; }
.footer .f-brand p { margin-top: 22px; line-height: 2.1; font-size: 12.5px; }
.footer h4 {
  font-family: var(--en);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .34em;
  color: var(--bronze);
  margin-bottom: 20px;
  text-transform: uppercase;
}
.footer li { margin-bottom: 11px; }
.footer li a { transition: color .2s; }
.footer li a:hover { color: #fff; }
.footer .lower {
  border-top: 1px solid var(--line-onblack);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: .12em;
}
.footer .sns { display: flex; gap: 20px; }
.footer .sns a:hover { color: #fff; }

/* ---------- スクロールリビール ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s ease, transform .9s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .12s; }
.reveal.d2 { transition-delay: .24s; }
.reveal.d3 { transition-delay: .36s; }

/* ============================================================
   下層ページ
   ============================================================ */
body.subpage { background: var(--paper); }
.page-head {
  background: var(--black);
  color: #fff;
  padding: 168px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-head .ghost {
  position: absolute;
  right: -20px; bottom: -30px;
  font-family: var(--en);
  font-weight: 500;
  font-size: clamp(90px, 14vw, 200px);
  letter-spacing: .02em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.1);
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.page-head .en {
  font-family: var(--en);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .5em;
  color: var(--bronze);
  text-transform: uppercase;
  display: block;
  margin-bottom: 14px;
}
.page-head h1 {
  font-family: var(--serif);
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 600;
  letter-spacing: .1em;
  position: relative;
}
.page-head p { margin-top: 16px; color: rgba(255,255,255,.7); max-width: 680px; position: relative; }
.breadcrumb {
  font-size: 11.5px;
  color: rgba(255,255,255,.45);
  padding-top: 20px;
  letter-spacing: .08em;
  position: relative;
}
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb span::before { content: "／"; margin: 0 8px; color: rgba(255,255,255,.25); }

.content { padding: 84px 0 120px; }
.content .block { margin-bottom: 84px; }
.content .block:last-child { margin-bottom: 0; }
.content h2.h {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: .1em;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 30px;
  position: relative;
}
.content h2.h::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 72px; height: 1px;
  background: var(--bronze);
}
.content h3.sh {
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: .1em;
  margin: 36px 0 16px;
  padding-left: 14px;
  border-left: 3px solid var(--bronze);
}
.content p.txt { color: var(--ink-2); margin-bottom: 14px; max-width: 820px; }

.note-box {
  background: var(--bronze-pale);
  border: 1px solid var(--line-dark);
  padding: 24px 28px;
  font-size: 13px;
  color: var(--ink-2);
  margin: 24px 0;
}
.note-box b { color: var(--bronze-deep); }

/* 表 */
.table-wrap { overflow-x: auto; }
table.spec {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 14px;
}
table.spec th, table.spec td {
  border: 1px solid var(--line);
  padding: 15px 20px;
  text-align: left;
  vertical-align: top;
}
table.spec thead th {
  background: var(--black);
  color: #fff;
  font-weight: 500;
  letter-spacing: .12em;
  font-size: 13px;
}
table.spec tbody th {
  background: var(--bronze-pale);
  font-weight: 500;
  width: 220px;
}
table.spec td .price { font-family: var(--en); font-weight: 500; font-size: 19px; }

/* OK / NG */
.ok-ng { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.ok-ng .col { background: var(--white); border: 1px solid var(--line-dark); }
.ok-ng .col h3 {
  font-size: 14px;
  letter-spacing: .2em;
  padding: 18px 26px;
  border-bottom: 1px solid var(--line);
}
.ok-ng .col.ok h3 { color: var(--bronze-deep); }
.ok-ng .col.ng h3 { color: #8c3b2e; }
.ok-ng .col ul { padding: 12px 26px 22px; }
.ok-ng .col li {
  font-size: 13.5px;
  color: var(--ink-2);
  padding: 10px 0 10px 26px;
  border-bottom: 1px dashed var(--line);
  position: relative;
}
.ok-ng .col li:last-child { border-bottom: 0; }
.ok-ng .col.ok li::before {
  content: "";
  position: absolute; left: 2px; top: 18px;
  width: 10px; height: 5px;
  border-left: 2px solid var(--bronze);
  border-bottom: 2px solid var(--bronze);
  transform: rotate(-45deg);
}
.ok-ng .col.ng li::before, .ok-ng .col.ng li::after {
  content: "";
  position: absolute; left: 5px; top: 20px;
  width: 12px; height: 2px;
  background: #8c3b2e;
}
.ok-ng .col.ng li::before { transform: rotate(45deg); }
.ok-ng .col.ng li::after { transform: rotate(-45deg); }

/* FAQ */
.faq-cat { margin-bottom: 60px; }
.faq-item { background: var(--white); border: 1px solid var(--line); margin-bottom: 8px; }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 21px 58px 21px 60px;
  position: relative;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: .06em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "Q";
  font-family: var(--en);
  font-weight: 500;
  position: absolute;
  left: 24px; top: 18px;
  color: var(--bronze);
  font-size: 20px;
}
.faq-item summary::after {
  content: "+";
  font-family: var(--en);
  position: absolute;
  right: 26px; top: 17px;
  font-size: 22px;
  color: var(--ink-3);
  transition: transform .3s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .a {
  padding: 0 26px 24px 60px;
  font-size: 14px;
  color: var(--ink-2);
  position: relative;
}
.faq-item .a::before {
  content: "A";
  font-family: var(--en);
  font-weight: 500;
  position: absolute;
  left: 24px; top: -2px;
  color: var(--ink);
  font-size: 20px;
}

/* ステップ */
.step-list { counter-reset: st; }
.step-list .step {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 30px;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
  counter-increment: st;
}
.step-list .step:first-child { border-top: 1px solid var(--ink); }
.step-list .no::before { content: "STEP"; display: block; font-family: var(--en); font-size: 11px; color: var(--ink-3); letter-spacing: .4em; }
.step-list .no::after {
  content: "0" counter(st);
  font-family: var(--en);
  font-weight: 500;
  font-size: 44px;
  display: block;
  line-height: 1.1;
  color: transparent;
  -webkit-text-stroke: 1px var(--bronze);
  margin-top: 4px;
}
.step-list h3 { font-family: var(--serif); font-size: 19px; font-weight: 600; letter-spacing: .08em; margin-bottom: 10px; }
.step-list p { font-size: 14px; color: var(--ink-2); max-width: 720px; }
.step-list .mini-link { font-size: 13px; color: var(--bronze-deep); text-decoration: underline; }

.company-table th { width: 200px; }

/* お問い合わせ */
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.contact-card {
  background: var(--white);
  border: 1px solid var(--line-dark);
  padding: 48px 42px;
  text-align: center;
}
.contact-card .en { font-family: var(--en); font-weight: 500; font-size: 12px; letter-spacing: .42em; color: var(--bronze); text-transform: uppercase; }
.contact-card h3 { font-family: var(--serif); font-size: 21px; margin: 12px 0 10px; letter-spacing: .08em; }
.contact-card p { font-size: 13px; color: var(--ink-2); margin-bottom: 26px; }
.contact-card .btn { min-width: 0; width: 100%; justify-content: center; gap: 12px; }

/* ページ内リンク */
.next-links { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 88px; }
.next-links a {
  border: 1px solid var(--line-dark);
  background: var(--white);
  padding: 30px 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: .1em;
  font-size: 14.5px;
  transition: background .25s, border-color .25s;
}
.next-links a::after { content: "→"; font-family: var(--en); font-size: 18px; color: var(--bronze); }
.next-links a:hover { background: var(--bronze-pale); border-color: var(--bronze); }
.next-links a small { display: block; font-family: var(--en); font-size: 12px; color: var(--ink-3); letter-spacing: .3em; margin-bottom: 4px; text-transform: uppercase; }

/* ============================================================
   写真ライブラリ（photos.html）
   ============================================================ */
.lib-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.lib-toolbar .count { font-size: 13px; color: var(--ink-3); letter-spacing: .1em; }
.lib-toolbar .count b { font-family: var(--en); font-weight: 500; font-size: 20px; color: var(--ink); margin-right: 3px; }
.masonry {
  columns: 5 220px;
  column-gap: 6px;
}
.masonry a {
  position: relative;
  display: block;
  margin-bottom: 6px;
  overflow: hidden;
  background: var(--black);
  break-inside: avoid;
}
.masonry img {
  width: 100%;
  transition: transform .7s cubic-bezier(.2,.6,.2,1), opacity .4s;
}
.masonry a:hover img { transform: scale(1.06); opacity: .6; }
.masonry a .m-hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 14px 16px;
  color: #fff;
  font-size: 11.5px;
  letter-spacing: .2em;
  opacity: 0;
  transition: opacity .3s;
  background: linear-gradient(180deg, transparent 55%, rgba(14,13,11,.7) 100%);
}
.masonry a:hover .m-hover { opacity: 1; }

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 1560px) {
  .head-utils .u { display: none; }
}
/* 2026-09-26 了以：最終点検で発見＝幅1200〜1279pxのパソコンで右上「ログイン／新規登録」が37px切れていた
   → この幅だけ、ヘッダーの左右余白・ボタンの余白と字間を詰めて収める（1280以上・スマホは従来どおり） */
@media (max-width: 1300px) {
  .header .wrap { padding: 0 20px; gap: 12px; }
  .btn-register { padding: 12px 16px; letter-spacing: .08em; }
}
/* メニュー内の「ログイン／新規登録」は右上ボタンと同じ行き先なので常に隠す（2026-09-30 忠相No.2：1201px以上で二重表示になっていた） */
.gnav > a[href="login.html"] { display: none; }
.nav-foot { display: none; }

@keyframes navin {
  to { opacity: 1; transform: none; }
}

@media (max-width: 1080px) {
  .gnav { display: none; }
  body.nav-open { overflow: hidden; }
  .nav-open .header {
    background: var(--black);
    backdrop-filter: none;
    border-bottom-color: rgba(255,255,255,.1);
  }
  .nav-open .btn-register { visibility: hidden; }
  .nav-open .gnav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--black);
    padding: 104px 30px 34px;
    gap: 0;
    z-index: 150;
    overflow-y: auto;
    counter-reset: nav;
  }
  .nav-open .gnav::before {
    content: "Menu";
    font-family: var(--en);
    font-size: 12px;
    letter-spacing: .5em;
    text-transform: uppercase;
    color: var(--bronze);
    display: block;
    margin-bottom: 10px;
  }
  .nav-open .gnav > a {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 17px 2px;
    border-bottom: 1px solid rgba(255,255,255,.09);
    font-size: 16.5px;
    letter-spacing: .12em;
    color: #fff;
    opacity: 0;
    transform: translateY(16px);
    animation: navin .5s ease forwards;
  }
  .nav-open .gnav > a::before {
    counter-increment: nav;
    content: "0" counter(nav);
    font-family: var(--en);
    font-size: 13px;
    letter-spacing: .16em;
    color: var(--bronze);
    min-width: 26px;
  }
  .nav-open .gnav > a::after { display: none; }
  .nav-open .gnav > a:nth-child(1) { animation-delay: .04s; }
  .nav-open .gnav > a:nth-child(2) { animation-delay: .09s; }
  .nav-open .gnav > a:nth-child(3) { animation-delay: .14s; }
  .nav-open .gnav > a:nth-child(4) { animation-delay: .19s; }
  .nav-open .gnav > a:nth-child(5) { animation-delay: .24s; }
  .nav-open .gnav > a:nth-child(6) { animation-delay: .29s; }
  .nav-open .gnav > a:nth-child(7) { animation-delay: .34s; }
  .nav-open .gnav .nav-foot {
    display: block;
    margin-top: auto;
    padding-top: 34px;
    opacity: 0;
    animation: navin .5s .42s ease forwards;
  }
  .nav-foot .nf-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bronze);
    color: #fff;
    font-size: 14px;
    letter-spacing: .2em;
    padding: 17px;
  }
  .nav-foot .nf-sns {
    display: flex;
    justify-content: center;
    gap: 26px;
    margin-top: 24px;
    font-family: var(--en);
    font-size: 12px;
    letter-spacing: .18em;
    color: rgba(255,255,255,.55);
  }
  .nav-foot .nf-sns a { color: rgba(255,255,255,.55); }
  .nav-foot .nf-addr {
    margin-top: 22px;
    text-align: center;
    font-size: 10.5px;
    letter-spacing: .14em;
    color: rgba(255,255,255,.35);
  }
  .head-utils .u { display: none; }
  .nav-toggle { display: block; }
  .hero .panes { grid-template-columns: 1fr 1fr; }
  .hero .pane:nth-child(3) { display: none; }
  .features { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .price-cards, .voices { grid-template-columns: 1fr; gap: 14px; }
  .flow-line { grid-template-columns: 1fr; gap: 30px; }
  .flow-line .step { border-left: 0; padding: 0; }
  .banner-duo, .contact-cards, .ok-ng, .next-links { grid-template-columns: 1fr; }
  .footer .upper { grid-template-columns: 1fr 1fr; }
  .stats-band .grid { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .stats-band .cell:nth-child(3) { border-left: 0; }
}
@media (max-width: 600px) {
  /* ---- スマホは文字を大きく・読みやすく ---- */
  body { font-size: 16px; letter-spacing: .03em; }
  .header .wrap { padding: 0 16px; gap: 10px; min-height: 62px; }
  .header.is-solid, body.subpage .header {
    background: rgba(14, 13, 11, .97);
    backdrop-filter: none; /* スマホのスクロールジャンク対策 */
  }
  .brand .en { font-size: 15.5px; letter-spacing: .14em; }
  .brand .ja { font-size: 8px; letter-spacing: .34em; }
  /* 🚨 2026-09-19 遠州・利休の指摘：ロゴ＋ログインボタン＋ハンバーガーが375px幅に収まらず、
     ハンバーガーが画面外（x=491px）に押し出されタップ不能だった。ボタンは畳んだメニュー側へ集約する。 */
  .btn-register { display: none; }
  .nav-toggle { width: 44px; height: 44px; }  /* 40→44px：タップ領域の社内基準に合わせる */
  .nav-toggle span { left: 10px; right: 10px; }

  /* ---- ヒーロー：アニメ負荷を止めてガクつき解消 ---- */
  .hero .pane img { filter: none; transition-duration: 1s; }
  .hero .pane img.is-active { animation: none; transform: none; }
  .hero .panes { grid-template-columns: 1fr; }
  .hero .pane:nth-child(2) { display: none; }
  .hero .center { padding: 0 20px 96px; }
  .hero .en-label { font-size: 11px; letter-spacing: .3em; }
  .hero .sub { font-size: 15px; line-height: 2; }
  .hero .meta { right: 20px; bottom: 32px; flex-direction: row; align-items: center; gap: 14px; }
  .hero .counter { font-size: 13px; }
  .hero .counter b { font-size: 20px; }
  .hero .scroll-cue { display: none; }
  .hero .cta .btn { min-width: 0; width: 100%; max-width: 340px; font-size: 14.5px; }
  .btn { min-width: 0; width: 100%; max-width: 360px; font-size: 14.5px; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: 1fr 1fr; gap: 3px; }
  .tiles .t-label { left: 14px; right: 14px; bottom: 12px; }
  .photo-rail img, .photo-rail .rail-skel { height: 200px; }
  .step-list .step { grid-template-columns: 1fr; gap: 12px; }
  .footer .upper { grid-template-columns: 1fr; padding: 60px 0 36px; }
  .footer .lower { flex-direction: column; gap: 14px; }
  .footer { font-size: 14px; }
  .section { padding: 72px 0; }
  .stats-band .grid { grid-template-columns: 1fr 1fr; gap: 34px 0; }
  .stats-band .cell { padding: 0 16px; }
  .stats-band .label { font-size: 12px; }
  .marquee span { font-size: 16px; }
  .masonry { columns: 2 140px; }
  .page-head { padding: 120px 0 44px; }
  .page-head p { font-size: 15px; }
  .sec-head p.lead { font-size: 14.5px; }
  .features p, .voice p, .price-card li { font-size: 14px; }
  .features .item { padding: 40px 26px; }
  .flow-line p { font-size: 14px; }
  table.spec { font-size: 14px; }
  table.spec th, table.spec td { padding: 12px 14px; }
  table.spec tbody th { width: 130px; }
  .content p.txt { font-size: 15px; }
  .faq-item summary { font-size: 15px; }
  .faq-item .a { font-size: 14.5px; }
}

/* ============================================================
   下層ヒーロー v2：左テキスト × 右モデル写真（2026-08-09 社長指示）
   ============================================================ */
.page-head.has-visual { padding: 74px 0 0; }
.page-head.has-visual .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 46%);
  gap: 44px;
  align-items: end;
}
.page-head.has-visual .ph-text { padding: 92px 0 64px; }
.ph-visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 20px;
  padding-top: 36px;
}
.ph-visual figure { margin: 0; position: relative; }
.ph-visual .v-sub { width: clamp(140px, 15vw, 210px); aspect-ratio: 3 / 4; margin-bottom: 54px; }
.ph-visual .v-main { width: clamp(240px, 26vw, 360px); aspect-ratio: 3 / 4; }
.ph-visual figure::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201, 165, 107, .55);
  transform: translate(12px, 12px);
  pointer-events: none;
}
.ph-visual .v-sub::before { transform: translate(-10px, 10px); }
.ph-visual .ph-img {
  position: relative;
  width: 100%; height: 100%;
  overflow: hidden;
  background: #1c1a17;
}
.ph-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: saturate(.96) contrast(1.02);
}
.ph-visual .ph-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(14,13,11,0) 55%, rgba(14,13,11,.38) 100%);
  pointer-events: none;
}
.ph-visual .credit {
  position: absolute;
  right: -6px; bottom: 22px;
  font-family: var(--en);
  font-size: 10px;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  writing-mode: vertical-rl;
}
.page-head.has-visual .ghost { z-index: 0; }
.page-head.has-visual .ph-text, .page-head.has-visual .ph-visual { z-index: 1; }
@media (max-width: 900px) {
  .page-head.has-visual .wrap { grid-template-columns: 1fr; gap: 0; }
  .page-head.has-visual .ph-text { padding: 84px 0 30px; }
  .ph-visual { justify-content: flex-start; padding: 0 0 34px; gap: 14px; }
  .ph-visual .v-main { width: min(50vw, 280px); }
  .ph-visual .v-sub { width: min(26vw, 140px); margin-bottom: 40px; }
  .ph-visual .credit { display: none; }
}


/* 🆕 2026-09-22 了以：フッターのリンク（社長指摘＝文字が長くてかっこ悪い）。短い名前で1列に並べる */
.footer .ft-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; margin: 0 0 10px; font-size: 13px; letter-spacing: .04em; }
.footer .ft-links a { color: inherit; text-decoration: none; padding: 2px 12px; border-left: 1px solid rgba(255,255,255,.28); }
.footer .ft-links a:first-child { border-left: 0; }
.footer .ft-links a:hover { text-decoration: underline; }
@media (max-width: 600px) {
  .footer .ft-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; max-width: 330px; margin: 0 auto 14px; text-align: left; }
  .footer .ft-links a { border-left: 0; padding: 2px 0; }
}
