/* =========================================================
   HEDGEHOGS Profile — "New Form" inspired edition
   newformcap.com のデザイン言語 (配色・大型ディスプレイ・
   画像インテキスト・マーキー・フェード演出) を、米田徳邦の
   自前コンテンツで再構成。先方の文章/画像/ロゴは不使用。
   ========================================================= */

/* ---------- 1. トークン ---------- */
:root {
  /* 配色 (newform palette) */
  --ink:        #121613;  /* 近黒・ダーク面/テキスト */
  --ink-2:      #222a24;  /* やや明るい黒 */
  --ink-3:      #2e362f;
  --paper:      #fafffa;  /* オフホワイト・主背景 */
  --accent:     #2bee4b;  /* ネオングリーン (少量アクセント) */
  --accent-dim: #25c942;
  --muted:      #516254;  /* くすみ緑グレー (補助テキスト) */
  --muted-2:    #455448;
  --pale:       #c8d2c8;  /* 淡いグレー緑 (罫線等) */
  --pale-2:     #e3e8e3;

  /* フォント（Latin見出しはFraunces / 日本語はゴシック体 Zen Kaku Gothic New） */
  --font-display: "Fraunces", "Zen Kaku Gothic New", "Helvetica Neue", Arial, sans-serif;
  --font-sans:    "Inter", "Zen Kaku Gothic New", "Helvetica Neue", Arial, sans-serif;
  --font-jp-serif:"Zen Kaku Gothic New", "Helvetica Neue", Arial, sans-serif;
  --font-pixel:   "Silkscreen", "DotGothic16", monospace;
  --font-pixel-jp:"DotGothic16", "Silkscreen", monospace;

  /* スペーシング */
  --gutter: clamp(1.6rem, 4vw, 6rem);
  --section-y: clamp(6rem, 12vw, 16rem);

  /* モーション */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --reveal-dur: 0.9s;

  --maxw: 1600px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 62.5%; /* 1rem = 10px */
  -webkit-text-size-adjust: 100%;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.7rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  word-break: auto-phrase;
  line-break: strict;
  overflow-x: hidden;
}

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

::selection { background: var(--accent); color: var(--ink); }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute; top: -200%; left: 0;
  background: var(--ink); color: var(--paper);
  padding: 1rem 1.6rem; z-index: 1000;
}
.skip-link:focus { top: 0; }

/* ---------- 2. プリローダー ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--ink); color: var(--paper);
  display: grid; place-items: center;
  transition: transform 0.9s var(--ease) 0.2s;
}
.preloader.done { transform: translateY(-100%); }
.preloader__num {
  font-family: var(--font-display);
  font-size: clamp(8rem, 22vw, 28rem);
  font-weight: 600; line-height: 1;
  letter-spacing: -0.04em;
}
.preloader__num .pct { color: var(--accent); }
.preloader__bar {
  position: absolute; left: 0; bottom: 0; height: 3px;
  width: 0%; background: var(--accent);
}
.preloader__marquee {
  position: absolute; bottom: 3rem; left: 0; right: 0;
  font-family: var(--font-pixel); font-size: 1.3rem;
  text-transform: uppercase; letter-spacing: 0.3em;
  color: var(--muted); white-space: nowrap; overflow: hidden;
}
.preloader__marquee span {
  display: inline-block; padding-left: 100%;
  animation: marquee 8s linear infinite;
}

/* ---------- 3. ナビ ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(1.4rem, 2vw, 2.4rem) var(--gutter);
  mix-blend-mode: difference; color: var(--paper);
}
.nav__brand {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2vw, 2.4rem);
  font-weight: 600; letter-spacing: -0.02em;
  display: flex; align-items: baseline; gap: 0.8rem;
}
.nav__brand .sub {
  font-family: var(--font-pixel); font-size: 1.1rem;
  letter-spacing: 0.2em; text-transform: uppercase;
}
.nav__right { display: flex; align-items: center; gap: 1.6rem; }
.nav__menu-btn {
  display: flex; align-items: center; gap: 1rem;
  font-family: var(--font-pixel); font-size: 1.2rem;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--paper);
}
/* イコライザー風アイコン */
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 16px; }
.eq i {
  width: 3px; background: var(--accent); height: 40%;
  animation: eq 1s ease-in-out infinite alternate;
}
.eq i:nth-child(2){ animation-delay: .2s; height: 100%; }
.eq i:nth-child(3){ animation-delay: .4s; height: 60%; }
.eq i:nth-child(4){ animation-delay: .1s; height: 80%; }
@keyframes eq { from{ transform: scaleY(.4);} to{ transform: scaleY(1);} }

/* フルスクリーンメニュー */
.menu-overlay {
  position: fixed; inset: 0; z-index: 199;
  background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--gutter);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.8s var(--ease);
  pointer-events: none;
}
.menu-overlay.open { clip-path: inset(0 0 0 0); pointer-events: auto; }
.menu-overlay ul { list-style: none; margin: 0; padding: 0; }
.menu-overlay li { overflow: hidden; }
.menu-overlay a {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(4rem, 9vw, 11rem);
  font-weight: 600; line-height: 1.05; letter-spacing: -0.03em;
  transition: color 0.3s var(--ease), transform 0.6s var(--ease);
  transform: translateY(110%);
}
.menu-overlay.open a { transform: translateY(0); }
.menu-overlay li:nth-child(1) a { transition-delay: .08s; }
.menu-overlay li:nth-child(2) a { transition-delay: .14s; }
.menu-overlay li:nth-child(3) a { transition-delay: .20s; }
.menu-overlay li:nth-child(4) a { transition-delay: .26s; }
.menu-overlay li:nth-child(5) a { transition-delay: .32s; }
.menu-overlay li:nth-child(6) a { transition-delay: .38s; }
.menu-overlay a:hover { color: var(--accent); }
.menu-overlay .menu-foot {
  margin-top: clamp(3rem, 6vw, 6rem);
  display: flex; gap: 2.4rem; flex-wrap: wrap;
  font-family: var(--font-pixel); font-size: 1.2rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}
.menu-overlay .menu-foot a { font-size: 1.2rem; font-family: var(--font-pixel); transform: none; }
.menu-overlay .menu-foot a:hover { color: var(--accent); }

/* ---------- 4. ヒーロー ---------- */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(10rem, 14vw, 16rem) var(--gutter) clamp(4rem, 6vw, 8rem);
  position: relative;
}
.hero__eyebrow {
  font-family: var(--font-pixel); font-size: clamp(1.1rem, 1.4vw, 1.4rem);
  text-transform: uppercase; letter-spacing: 0.3em; color: var(--muted);
  margin-bottom: clamp(2rem, 4vw, 4rem);
  display: flex; align-items: center; gap: 1.2rem;
}
.hero__eyebrow::before {
  content: ""; width: clamp(3rem, 6vw, 8rem); height: 1px; background: var(--ink); display: inline-block;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(4.4rem, 11vw, 16rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
  margin: 0;
  text-wrap: balance;
}
.hero__title .row { display: block; }
/* 画像インテキスト・ブロック */
.titleimg {
  display: inline-block;
  vertical-align: middle;
  height: clamp(3.4rem, 8.5vw, 12rem);
  width: clamp(7rem, 17vw, 26rem);
  object-fit: cover;
  border-radius: 4px;
  margin: 0 0.1em;
  filter: grayscale(1) contrast(1.08);
  transform: translateY(-0.06em);
  transition: filter 0.5s var(--ease);
}
.titleimg:hover { filter: grayscale(0) contrast(1); }
.hero__title .accent { color: var(--accent); -webkit-text-stroke: 0; }
.hero__foot {
  margin-top: clamp(3rem, 6vw, 7rem);
  display: flex; flex-wrap: wrap; gap: clamp(2rem, 4vw, 6rem);
  align-items: flex-end; justify-content: space-between;
}
.hero__lead {
  max-width: 46ch; font-size: clamp(1.6rem, 1.6vw, 2rem);
  line-height: 1.6; color: var(--muted-2);
}
.hero__scroll {
  font-family: var(--font-pixel); font-size: 1.1rem;
  text-transform: uppercase; letter-spacing: 0.25em; color: var(--muted);
  display: flex; align-items: center; gap: 1rem;
}
.hero__scroll .dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--accent);
  animation: bob 1.4s ease-in-out infinite;
}
@keyframes bob { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(6px);} }

/* ---------- 5. マーキー帯 ---------- */
.marquee {
  background: var(--ink); color: var(--paper);
  padding: clamp(1.6rem, 2.4vw, 3rem) 0;
  overflow: hidden; white-space: nowrap;
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
}
.marquee__track { display: inline-flex; align-items: center; animation: marquee 28s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 5.4rem);
  font-weight: 600; letter-spacing: -0.02em; padding: 0 clamp(2rem, 4vw, 5rem);
  display: inline-flex; align-items: center; gap: clamp(2rem,4vw,5rem);
}
.marquee__track .star { color: var(--accent); font-size: 0.6em; }
@keyframes marquee { from{ transform: translateX(0);} to{ transform: translateX(-50%);} }

/* ---------- 6. 共通セクション ---------- */
.section { padding: var(--section-y) 0; }
.section--dark { background: var(--ink); color: var(--paper); }
.section--dark .seclabel { color: var(--accent); }
.section--dark .seclabel::before { background: var(--accent); }

.seclabel {
  font-family: var(--font-pixel); font-size: 1.2rem;
  text-transform: uppercase; letter-spacing: 0.3em; color: var(--muted);
  display: flex; align-items: center; gap: 1.2rem; margin-bottom: clamp(3rem, 5vw, 6rem);
}
.seclabel::before { content:""; width: 2rem; height: 1px; background: var(--ink); }

.bighead {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(3.2rem, 6.5vw, 9rem); line-height: 0.98;
  letter-spacing: -0.035em; margin: 0; text-wrap: balance;
}
.bighead .accent { color: var(--accent); }

/* ---------- 7. アプローチ (2カラム) ---------- */
.approach__grid {
  display: grid; gap: clamp(3rem, 5vw, 8rem);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .approach__grid { grid-template-columns: 1.2fr 1fr; align-items: end; } }
.approach__body p {
  font-size: clamp(1.7rem, 1.8vw, 2.2rem); line-height: 1.7; color: var(--muted-2);
  max-width: 50ch;
}
.approach__body p + p { margin-top: 2rem; }
.approach__list { list-style: none; margin: 0; padding: 0; }
.approach__list li {
  border-top: 1px solid var(--pale); padding: 2.4rem 0;
  display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: baseline;
}
.approach__list li:last-child { border-bottom: 1px solid var(--pale); }
.approach__list .n {
  font-family: var(--font-pixel); font-size: 1.3rem; color: var(--accent-dim);
}
.approach__list h3 { font-family: var(--font-display); font-size: clamp(2rem, 2.6vw, 3rem); margin: 0 0 0.6rem; font-weight: 600; }
.approach__list p { color: var(--muted-2); font-size: 1.5rem; margin: 0; }

/* ---------- 8. 統計 (count-up) ---------- */
.stats {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--ink-3);
  border: 1px solid var(--ink-3);
}
@media (min-width: 800px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  background: var(--ink); padding: clamp(3rem, 4vw, 5rem) clamp(2rem,3vw,3.4rem);
  min-height: clamp(20rem, 24vw, 30rem); display: flex; flex-direction: column; justify-content: space-between;
}
.stat__num {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(4.4rem, 7vw, 9rem); line-height: 0.9;
  letter-spacing: -0.04em; color: var(--paper);
}
.stat__num .accent { color: var(--accent); }
.stat__label { font-size: 1.5rem; color: var(--pale); line-height: 1.5; }

/* ---------- 9. ワークス (portfolio) ---------- */
.works__list { border-top: 1px solid var(--pale); }
.work {
  display: grid; grid-template-columns: 1fr; gap: 1.6rem;
  border-bottom: 1px solid var(--pale);
  padding: clamp(2.4rem, 4vw, 5rem) 0;
  position: relative; transition: padding 0.4s var(--ease);
}
@media (min-width: 800px) {
  .work { grid-template-columns: 5rem 1fr 1fr auto; gap: 3rem; align-items: center; }
}
.work:hover { padding-left: 1.6rem; padding-right: 1.6rem; }
.work__n { font-family: var(--font-pixel); font-size: 1.3rem; color: var(--muted); }
.work__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.6rem, 4vw, 5rem); letter-spacing: -0.03em; line-height: 1; margin: 0;
  transition: color 0.3s var(--ease);
}
.work:hover .work__title { color: var(--accent-dim); }
.work__desc { color: var(--muted-2); font-size: 1.5rem; max-width: 42ch; }
.work__tags { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1rem; }
.work__tags span {
  font-family: var(--font-pixel); font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--pale); border-radius: 50px; padding: 0.4rem 1rem; color: var(--muted);
}
.work__cta {
  font-family: var(--font-pixel); font-size: 1.2rem; letter-spacing: 0.15em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 0.8rem; white-space: nowrap;
}
.work__cta .arr { transition: transform 0.3s var(--ease); }
.work:hover .work__cta .arr { transform: translate(4px, -4px); }
/* ホバープレビュー画像 */
.work__media {
  position: fixed; top: 0; left: 0; width: 32rem; height: 22rem;
  pointer-events: none; z-index: 150; opacity: 0; transform: translate(-50%, -50%) scale(0.9);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  border-radius: 6px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.work__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.2); }
.work__media.show { opacity: 1; }
@media (hover: none) { .work__media { display: none; } }

/* ---------- 10. ギャラリー (映像 grid) ---------- */
.gallery {
  display: grid; gap: clamp(1rem, 1.6vw, 2rem);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px){ .gallery { grid-template-columns: repeat(5, 1fr); } }
.gtile {
  position: relative; aspect-ratio: 16/10; overflow: hidden; border-radius: 4px;
  background: var(--ink-2); display: block;
}
.gtile img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter 0.5s var(--ease), transform 0.7s var(--ease); }
.gtile:hover img { filter: grayscale(0); transform: scale(1.05); }
.gtile__play {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--paper); font-size: 3rem; text-shadow: 0 2px 12px rgba(0,0,0,.5);
  opacity: 0.9; transition: opacity 0.3s, transform 0.3s var(--ease);
}
.gtile:hover .gtile__play { transform: scale(1.15); color: var(--accent); }

/* ---------- 11. G.A.I.N.S. ---------- */
.gains {
  display: grid; gap: 1px; background: var(--pale);
  border: 1px solid var(--pale); grid-template-columns: 1fr;
}
@media (min-width: 700px) { .gains { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px){ .gains { grid-template-columns: repeat(3, 1fr); } }
.gcard {
  background: var(--paper); padding: clamp(2.4rem,3vw,3.6rem);
  display: flex; flex-direction: column; gap: 1.2rem; cursor: pointer;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
  min-height: 24rem; justify-content: space-between;
}
.gcard:hover { background: var(--ink); color: var(--paper); }
.gcard__letter {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(4rem,5vw,6.4rem);
  line-height: 1; color: var(--accent-dim); transition: color 0.3s;
}
.gcard:hover .gcard__letter { color: var(--accent); }
.gcard__title { font-family: var(--font-display); font-size: 2.2rem; font-weight: 600; }
.gcard__title small { display: block; font-family: var(--font-pixel); font-size: 1.1rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin-top: .4rem; }
.gcard:hover .gcard__title small { color: var(--pale); }
.gcard__more { font-family: var(--font-pixel); font-size: 1.1rem; letter-spacing: .15em; text-transform: uppercase; display: inline-flex; gap: .8rem; align-items: center; }
.gcard__more .arr { transition: transform 0.3s var(--ease); }
.gcard:hover .gcard__more .arr { transform: translateX(4px); }

/* ---------- 12. プロフィール ---------- */
.profile__grid { display: grid; gap: clamp(3rem,5vw,7rem); grid-template-columns: 1fr; }
@media (min-width: 900px){ .profile__grid { grid-template-columns: 0.9fr 1.1fr; align-items: start; } }
.profile__photo {
  position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: 6px; background: var(--ink-2);
}
.profile__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; filter: grayscale(1) contrast(1.05); transition: filter 0.6s var(--ease); }
.profile__photo:hover img { filter: grayscale(0); }
.profile__photo .tag {
  position: absolute; left: 1.6rem; bottom: 1.6rem;
  font-family: var(--font-pixel); font-size: 1.1rem; letter-spacing: .15em; text-transform: uppercase;
  background: var(--accent); color: var(--ink); padding: 0.6rem 1.2rem; border-radius: 50px;
}
.profile__name { font-family: var(--font-display); font-weight: 600; font-size: clamp(3.6rem,6vw,7rem); line-height: 0.98; letter-spacing: -0.03em; margin: 0 0 0.4rem; }
.profile__roma { font-family: var(--font-pixel); font-size: 1.3rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted); margin-bottom: 2.6rem; }
.deftable { width: 100%; border-collapse: collapse; }
.deftable tr { border-top: 1px solid var(--pale); }
.deftable tr:last-child { border-bottom: 1px solid var(--pale); }
.deftable th, .deftable td { text-align: left; padding: 1.6rem 0; vertical-align: top; font-size: 1.5rem; line-height: 1.55; }
.deftable th { width: 30%; font-family: var(--font-pixel); font-size: 1.1rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.profile__actions { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 2.6rem; align-items: center; }

/* ---------- 13. ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 1rem;
  font-family: var(--font-pixel); font-size: 1.2rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 1.4rem 2.4rem; border-radius: 50px; border: 1px solid currentColor;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.15s var(--ease);
}
.btn:active { transform: scale(0.96); }
.btn--fill { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.btn--fill:hover { background: var(--ink); color: var(--accent); }
.btn--line { color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.section--dark .btn--line { color: var(--paper); }
.section--dark .btn--line:hover { background: var(--paper); color: var(--ink); }
.icon-btn {
  width: 4.6rem; height: 4.6rem; border-radius: 50%; border: 1px solid var(--pale);
  display: grid; place-items: center; font-size: 1.6rem;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s;
}
.icon-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.section--dark .icon-btn { border-color: var(--ink-3); }

/* ---------- 14. 予約 ---------- */
.booking__embed {
  margin-top: clamp(3rem,5vw,6rem);
  background: var(--paper); border-radius: 8px; overflow: hidden;
}
.booking__embed .scheduler-inline-widget, .booking__embed iframe {
  width: 100% !important; min-height: 680px; border: 0;
}

/* ---------- 15. フッター ---------- */
.footer { background: var(--ink); color: var(--paper); position: relative; padding-bottom: clamp(3rem,5vw,5rem); }
.footer__curve { display: block; width: 100%; height: clamp(6rem, 9vw, 12rem); }
.footer__curve path { fill: var(--ink); }
.footer__topbtn {
  position: absolute; top: clamp(1rem,3vw,3rem); left: 50%; transform: translateX(-50%);
  font-family: var(--font-pixel); font-size: 1.1rem; letter-spacing: .15em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem; color: var(--paper);
}
.footer__topbtn .circle {
  width: 4.4rem; height: 4.4rem; border-radius: 50%; border: 1px solid var(--ink-3);
  display: grid; place-items: center; color: var(--accent); font-size: 1.6rem;
  transition: background 0.3s, color 0.3s; order: -1;
}
.footer__topbtn:hover .circle { background: var(--accent); color: var(--ink); }
.footer__mail {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(3.2rem, 8vw, 11rem); letter-spacing: -0.04em; line-height: 1;
  display: inline-block; margin: clamp(2rem,4vw,4rem) 0 clamp(4rem,7vw,7rem);
  word-break: break-word; transition: color 0.3s var(--ease);
}
.footer__mail:hover { color: var(--accent); }
.footer__cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
  border-top: 1px solid var(--ink-3); padding-top: clamp(3rem,4vw,4rem);
}
@media (min-width: 800px){ .footer__cols { grid-template-columns: 2fr 1fr 1fr; } }
.footer__col h4 { font-family: var(--font-pixel); font-size: 1.1rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin: 0 0 1.6rem; font-weight: 400; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.footer__col a { font-size: 1.6rem; transition: color 0.3s; }
.footer__col a:hover { color: var(--accent); }
.footer__brand { font-family: var(--font-display); font-size: clamp(2.4rem,3vw,3.4rem); font-weight: 600; }
.footer__meta { margin-top: clamp(3rem,5vw,5rem); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.6rem; font-family: var(--font-pixel); font-size: 1.1rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
/* 背景ピクセル装飾テキスト */
.footer__ghost {
  position: absolute; right: var(--gutter); bottom: clamp(8rem, 14vw, 16rem);
  font-family: var(--font-pixel); font-size: clamp(3rem, 7vw, 9rem);
  color: var(--ink-3); pointer-events: none; user-select: none; letter-spacing: -0.02em;
}

/* ---------- 16. モーダル ---------- */
.modal { position: fixed; inset: 0; z-index: 500; display: none; }
.modal.open { display: block; }
.modal__bg { position: absolute; inset: 0; background: rgba(8,10,8,0.7); backdrop-filter: blur(4px); }
.modal__panel {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: min(72rem, 92vw); max-height: 88vh; overflow: auto;
  background: var(--paper); border-radius: 8px;
}
.modal__media { aspect-ratio: 16/9; overflow: hidden; background: var(--ink-2); }
.modal__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.15); }
.modal__body { padding: clamp(2.4rem,3vw,4rem); }
.modal__body h3 { font-family: var(--font-display); font-size: clamp(2.6rem,3.4vw,4rem); font-weight: 600; margin: 0 0 0.4rem; display: flex; align-items: baseline; gap: 1rem; }
.modal__body h3 .l { color: var(--accent-dim); }
.modal__body .sub { font-family: var(--font-pixel); font-size: 1.1rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin-bottom: 2rem; }
.modal__body p { font-size: 1.6rem; line-height: 1.7; color: var(--muted-2); }
.modal__body p b { color: var(--ink); }
.modal__close {
  position: absolute; top: 1.4rem; right: 1.4rem; z-index: 2;
  width: 4.4rem; height: 4.4rem; border-radius: 50%; background: var(--paper);
  display: grid; place-items: center; font-size: 2rem; border: 1px solid var(--pale);
}
.modal__close:hover { background: var(--accent); }

/* ---------- 17. カスタムカーソル ---------- */
.cursor {
  position: fixed; top: 0; left: 0; width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%); transition: width 0.25s var(--ease), height 0.25s var(--ease), background 0.25s;
  mix-blend-mode: difference;
}
.cursor.grow { width: 56px; height: 56px; background: var(--accent); }
@media (hover: none) { .cursor { display: none; } }

/* ---------- 18. リビール演出 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--reveal-dur) var(--ease-out), transform var(--reveal-dur) var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
/* 行マスク (見出し用) */
.line-mask { overflow: hidden; display: block; }
.line-mask > * { display: block; transform: translateY(110%); transition: transform 1s var(--ease); }
.line-mask.in > * { transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .line-mask > * { transform: none; }
}

/* ---------- 19. レスポンシブ微調整 ---------- */
@media (max-width: 640px) {
  .nav__brand .sub { display: none; }
  .hero__title { font-size: clamp(3.6rem, 13vw, 7rem); }
  .titleimg { height: clamp(3rem, 11vw, 5rem); width: clamp(6rem, 22vw, 11rem); }
  .deftable th { width: 38%; }
}

/* =========================================================
   LIVER LP 専用拡張 (New Form style)
   ========================================================= */

/* ターゲット (Perfect For You) */
.target {
  display: grid; gap: 1px; background: var(--pale);
  border: 1px solid var(--pale); grid-template-columns: 1fr;
}
@media (min-width: 700px) { .target { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px){ .target { grid-template-columns: repeat(5, 1fr); } }
.tcard {
  background: var(--paper); padding: clamp(2.4rem,3vw,3.4rem);
  display: flex; flex-direction: column; gap: 1.2rem; min-height: 24rem;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.tcard:hover { background: var(--ink); color: var(--paper); }
.tcard__n { font-family: var(--font-pixel); font-size: 1.2rem; letter-spacing: .15em; color: var(--muted); }
.tcard:hover .tcard__n { color: var(--accent); }
.tcard__t { font-family: var(--font-display); font-size: clamp(2.2rem,2.8vw,3rem); font-weight: 600; margin-top: auto; }
.tcard__d { font-size: 1.4rem; color: var(--muted-2); line-height: 1.6; }
.tcard:hover .tcard__d { color: var(--pale); }

/* サポート */
.support { display: grid; gap: clamp(1.6rem,2vw,2.4rem); grid-template-columns: 1fr; }
@media (min-width: 700px) { .support { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1100px){ .support { grid-template-columns: repeat(3,1fr); } }
.scard {
  border: 1px solid var(--ink-3); border-radius: 8px; padding: clamp(2.4rem,3vw,3.4rem);
  display: flex; flex-direction: column; gap: 1.2rem; min-height: 20rem;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.scard:hover { border-color: var(--accent); transform: translateY(-4px); }
.scard__h { font-family: var(--font-display); font-size: clamp(2.4rem,3.4vw,3.6rem); font-weight: 600; color: var(--accent); line-height: 1; }
.scard__t { font-family: var(--font-pixel); font-size: 1.2rem; letter-spacing: .15em; text-transform: uppercase; color: var(--paper); }
.scard__d { font-size: 1.4rem; color: var(--pale); line-height: 1.65; }

/* フロー */
.flow { display: grid; gap: clamp(1.6rem,2vw,2.4rem); grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 800px) { .flow { grid-template-columns: repeat(4,1fr); } }
.fstep {
  position: relative; padding: clamp(2.4rem,3vw,3.4rem); border-top: 2px solid var(--ink);
  display: flex; flex-direction: column; gap: 1.4rem;
}
.fstep__n { font-family: var(--font-pixel); font-size: 1.2rem; color: var(--accent-dim); letter-spacing: .15em; }
.fstep__icon { width: 6.4rem; height: 6.4rem; object-fit: contain; filter: grayscale(1) brightness(1.1); transition: filter 0.4s var(--ease); }
.fstep:hover .fstep__icon { filter: none; }
.fstep__t { font-family: var(--font-display); font-size: clamp(2rem,2.4vw,2.6rem); font-weight: 600; }
.fstep__d { font-size: 1.4rem; color: var(--muted-2); line-height: 1.6; }
.section--dark .fstep { border-top-color: var(--accent); }
.section--dark .fstep__t { color: var(--paper); }
.section--dark .fstep__d { color: var(--pale); }

/* FAQ アコーディオン */
.faq { border-top: 1px solid var(--pale); max-width: 90rem; }
.faq__item { border-bottom: 1px solid var(--pale); }
.faq__q {
  width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: clamp(2rem,3vw,2.8rem) 0; font-family: var(--font-display);
  font-size: clamp(1.8rem,2.4vw,2.6rem); font-weight: 600; color: var(--ink); cursor: pointer;
}
.faq__q .qmark { color: var(--accent-dim); margin-right: 1.2rem; font-family: var(--font-pixel); font-size: 0.7em; }
.faq__icon { flex: 0 0 auto; width: 3.2rem; height: 3.2rem; border-radius: 50%; border: 1px solid var(--pale); display: grid; place-items: center; transition: transform 0.4s var(--ease), background 0.3s, color 0.3s; }
.faq__item.open .faq__icon { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.faq__a-inner { padding: 0 0 clamp(2rem,3vw,2.8rem); color: var(--muted-2); font-size: 1.6rem; line-height: 1.8; max-width: 70ch; }
/* ダーク面でのFAQ視認性 */
.section--dark .faq { border-top-color: var(--ink-3); }
.section--dark .faq__item { border-bottom-color: var(--ink-3); }
.section--dark .faq__q { color: var(--paper); }
.section--dark .faq__icon { border-color: var(--ink-3); }
.section--dark .faq__a-inner { color: var(--pale); }
/* モバイルでは質問文を1行に収める */
@media (max-width: 640px) {
  .faq__q { font-size: 1.5rem; gap: 1.2rem; }
  .faq__q > span:first-child { white-space: nowrap; }
  .faq__q .qmark { margin-right: 0.8rem; }
}

/* LINE / Entry 大型CTA */
.entry-cta { display: flex; flex-direction: column; gap: 2.4rem; align-items: flex-start; }
.btn--line {
  background: #06C755; color: #fff; border-color: #06C755;
  font-size: 1.4rem; padding: 1.8rem 3.2rem;
}
.btn--line:hover { background: #05a948; border-color: #05a948; color:#fff; }
.btn--xl { font-size: 1.5rem; padding: 2rem 3.6rem; }

/* ヒーローの巨大日本語サブ見出し */
.hero__jp {
  font-family: var(--font-jp-serif); font-weight: 600;
  font-size: clamp(1.8rem, 2.6vw, 3rem); line-height: 1.5; color: var(--ink);
  margin-top: clamp(2rem,3vw,3rem); max-width: 30ch; text-wrap: balance;
}

/* =========================================================
   LIVER 「中間&多目的」THEME — 落ち着いた洗練パレット
   slate #626D71 / ceramic #CDCDC0 / latte #DDBC95 / coffee #B38867
   ダーク帯=slate、マーキー/淡面=ceramic、主アクセント=coffee、
   slate帯上のアクセント=latte。画像はカラー。（後勝ち上書き）
   ========================================================= */
:root {
  --paper: #f1efe7;   /* 明るい温かみのあるオフホワイト(ceramic寄り) */
  --ink:   #33393b;   /* 深いスレートチャコール(本文) */
  --ink-2: #3f474a;
  --ink-3: #dcdace;   /* ライト面のボーダー(ceramic寄り) */
  --accent: #b38867;     /* coffee(主アクセント) */
  --accent-dim: #8c6249; /* 濃いcoffee(CTA塗り/白文字用) */
  --muted: #69737a;      /* slate寄りの補助テキスト */
  --muted-2: #535b5e;
  --pale: #cdcdc0;       /* ceramic */
  --pale-2: #e0dfd4;
}
::selection { background: var(--accent); color: #fff; }

/* ダーク帯 → slateバンド(白文字) */
.section--dark {
  background: #626d71;
  color: #fff;
  --accent: #ddbc95;   /* slate帯ではアクセントを latte に */
  --pale: rgba(255,255,255,0.9);
  --muted: rgba(255,255,255,0.8);
  --ink-3: rgba(255,255,255,0.28);
}
.section--dark .seclabel { color: #ddbc95; }
.section--dark .seclabel::before { background: rgba(255,255,255,0.6); }
.section--dark .btn--fill { background: #fff; color: var(--accent-dim); border-color: #fff; }
.section--dark .btn--fill:hover { background: #ddbc95; border-color: #ddbc95; color: #33393b; }

/* 統計タイル: slate帯で映える半透明白 */
.stats { background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.3); }
.stat { background: rgba(255,255,255,0.10); }
.stat__num { color: #fff; }
.stat__num .accent { color: #ddbc95; }
.stat__label { color: rgba(255,255,255,0.92); }

/* マーキー → ceramic帯 + チャコール文字 */
.marquee { background: #cdcdc0; color: var(--ink); border-color: #c0c0b2; }
.marquee__track .star { color: var(--accent); }

/* 画像はカラー(グレースケール解除) */
.titleimg, .gtile img, .profile__photo img, .work__media img, .modal__media img { filter: none !important; }
.gtile:hover img { filter: none; transform: scale(1.05); }
.tcard:hover { background: #626d71; color: #fff; }
.tcard:hover .tcard__d { color: rgba(255,255,255,0.9); }
.tcard:hover .tcard__n { color: #ddbc95; }

/* フッター: slate */
.footer { background: #626d71; }
.footer__curve path { fill: #626d71; }
.footer__topbtn .circle { border-color: rgba(255,255,255,0.3); color: #ddbc95; }
.footer__topbtn:hover .circle { background: #ddbc95; color: #33393b; }

/* プリローダー: slate */
.preloader { background: #626d71; }
.preloader__num .pct { color: #ddbc95; }

/* ナビ: 明るい地でロゴが見えるよう blend を解除 */
.nav { mix-blend-mode: normal; color: var(--ink); }
.nav__menu-btn { color: var(--ink); }
.eq i { background: var(--accent); }

/* カスタムカーソル: coffee */
.cursor { mix-blend-mode: normal; background: var(--accent); }

/* ボタン(塗り)を coffee に(白文字が読める濃さで) */
.btn--fill { background: var(--accent-dim); color: #fff; border-color: var(--accent-dim); }
.btn--fill:hover { background: #74503b; border-color: #74503b; color: #fff; }

/* ===== ヒーロー2カラム + 右側カラービジュアル ===== */
.hero--split { display: grid; grid-template-columns: 1fr; gap: clamp(2.4rem,4vw,5rem); align-items: center; }
@media (min-width: 900px) { .hero--split { grid-template-columns: 1.02fr 0.98fr; } }
.hero--split .hero__title { font-size: clamp(3.8rem, 7.5vw, 8.4rem); }
.hero__visual {
  position: relative; border-radius: 20px; overflow: hidden;
  aspect-ratio: 4/5; background: var(--pale);
  box-shadow: 0 28px 60px rgba(98,109,113,0.22);
}
@media (min-width: 900px) { .hero__visual { aspect-ratio: 3/4; max-height: 76vh; } }
.hero__visual img { width: 100%; height: 100%; object-fit: cover; }
.hero__visual-badge {
  position: absolute; left: 1.6rem; bottom: 1.6rem;
  font-family: var(--font-pixel); font-size: 1.1rem; letter-spacing: .14em;
  background: var(--accent); color: #fff; padding: .7rem 1.3rem; border-radius: 50px;
}

/* メニュー展開時はナビ文字を白に(ダークなオーバーレイ上で視認) */
body:has(#menu.open) .nav { color: var(--paper); }
body:has(#menu.open) .nav__menu-btn { color: var(--paper); }

/* フローのアイコンもカラーで(明るいトーンに合わせる) */
.fstep__icon { filter: none; }
.fstep:hover .fstep__icon { filter: none; transform: scale(1.06); transition: transform 0.4s var(--ease); }

/* フッター(slate地)の薄文字を白系に(可読性修正) */
.footer { --muted: rgba(255,255,255,0.72); }
.footer__col h4 { color: rgba(255,255,255,0.72); }
.footer__meta { color: rgba(255,255,255,0.72); }

/* FLOWアイコン: パレット配色のサークル(Font Awesome line icon) */
.fstep__icon {
  width: 6.4rem; height: 6.4rem; border-radius: 50%;
  display: grid; place-items: center; font-size: 2.6rem;
  background: #e4e0d3; color: #8c6249;
  transition: background .35s var(--ease), color .35s var(--ease), transform .4s var(--ease);
}
.fstep:hover .fstep__icon { background: #b38867; color: #fff; transform: scale(1.06); }

/* INTRODUCTION 写真 */
.intro-photo {
  border-radius: 16px; overflow: hidden; aspect-ratio: 4/5;
  background: var(--pale); box-shadow: 0 22px 50px rgba(98,109,113,0.20);
}
@media (min-width: 900px) { .intro-photo { aspect-ratio: 3/4; } }
.intro-photo img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   ヘッダー化 & 重なり解消（PC/SP）
   ========================================================= */
/* ナビに背景を付けてヘッダー化（ヒーロー大見出しとの重なり解消） */
.nav {
  background: rgba(241,239,231,0.92);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  backdrop-filter: blur(10px) saturate(1.1);
  border-bottom: 1px solid rgba(45,55,57,0.08);
}
/* メニュー展開時はダークオーバーレイを活かすため背景を透明に戻す */
body:has(#menu.open) .nav {
  background: transparent; border-bottom-color: transparent;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
/* ヒーロー内容をヘッダーの下に収め、写真の高さを抑えて重なり防止 */
.hero { padding-top: clamp(12rem, 16vw, 17rem); }
@media (min-width: 900px) { .hero__visual { max-height: 60vh; } }

/* フッターの装飾文字「LIVER」がCONNECTリンクに被るのを解消
   （背面に回し、ごく微かなテクスチャに） */
.footer .wrap { position: relative; z-index: 1; }
.footer__ghost { z-index: 0; color: rgba(255,255,255,0.06); }

/* マーキーを「LIVER AGENCY」ラベル系のピクセルフォントに
   （DotGothic16主体＝日本語も同じドット調で対応） */
.marquee__track span {
  font-family: var(--font-pixel-jp);
  font-weight: 400;
  letter-spacing: 0.04em;
  font-size: clamp(2rem, 3.2vw, 4rem);
}
.marquee__track .star { font-size: 0.5em; }

/* マーキーのピクセル文字を太く（DotGothic16は単一ウェイトのため同色strokeで増肉） */
.marquee__track span {
  -webkit-text-stroke: 0.8px currentColor;
  text-stroke: 0.8px currentColor;
  paint-order: stroke fill;
}
.marquee__track .star { -webkit-text-stroke: 0; text-stroke: 0; }

/* Targetカード: 説明文の高さを揃え、全カードの見出し縦位置を統一（1と5のズレ解消） */
.tcard__d { min-height: 6.8rem; }
@media (max-width: 700px) { .tcard__d { min-height: 0; } }

/* Targetカード見出しの縦位置を完全統一:
   見出しは番号直下に固定し、説明文を下端へ寄せる（説明文の行数に依存しない） */
.tcard__t { margin-top: 0; }
.tcard__d { margin-top: auto; min-height: 0; }
