/* ============================================================
   STUDIO ADACHI — portfolio v2
   モノトーン / 大型タイポグラフィ / 編集的レイアウト
   EN: Space Grotesk  JP: Zen Kaku Gothic New
   ============================================================ */

:root {
  /* 明面(黄み・ベージュを排したニュートラル) */
  --paper: #FFFFFF;          /* メイン背景 */
  --paper-dim: #F3F3F3;      /* 補助背景・ホバー背景 */
  --ink: #0F0F0F;            /* メイン文字 */
  --ink-2: #5A5A5E;          /* 補助文字 */
  --line: rgba(15, 15, 15, 0.14);  /* 罫線 */

  /* 暗面(WORKS / CONTACT) */
  --dark: #0E0E0F;
  --dark-2: #1A1A1C;
  --paper-on-dark: #F2F2F2;
  --line-on-dark: rgba(242, 242, 242, 0.22);

  --en: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --jp: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;

  --gutter: clamp(20px, 5vw, 80px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* 粒子ノイズ(プレースホルダー用) */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--jp);
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3 { font-weight: 900; }

a:focus-visible, button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: -60px; left: 12px;
  z-index: 300;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  transition: top 0.15s;
}
.skip-link:focus { top: 12px; }

.pc-br { display: inline; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- ロゴ(候補28採用 / インラインSVG / currentColorで描画) ---------- */
.logo { display: block; width: auto; }
.logo--header { height: 16px; }
.logo--footer { height: 18px; }

/* ---------- scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
/* clipは監視対象自体に掛けると交差判定が消えるため、内側の.phに掛ける */
[data-reveal="clip"] { transform: none; }
[data-reveal="clip"] .ph {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.1s var(--ease);
}
[data-reveal].in {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal="clip"].in .ph { clip-path: inset(0 0 0% 0); }
[data-delay="1"] { transition-delay: 0.15s; }
[data-delay="2"] { transition-delay: 0.3s; }
[data-delay="3"] { transition-delay: 0.45s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  [data-reveal="clip"] .ph { clip-path: none !important; transition: none !important; }
  .hero__copy { transition: none !important; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- 背景パターン(System 2改: 麻の葉・市松・立涌 / 全て8%) ---------- */
.pattern-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.sec-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.sec-bg ~ * { position: relative; z-index: 1; } /* 柄の後続要素を前面へ */
.sec-bg svg { position: absolute; opacity: 0.08; }

/* 市松: 黒面(Statement)の均一な地紋 */
.sec-bg--ichimatsu svg { inset: 0; width: 100%; height: 100%; }

/* 立涌: 白面(Expertise/Approach)の縦帯。内側へ減衰 */
.sec-bg--tatewaku-r svg,
.sec-bg--tatewaku-l svg {
  top: 0;
  height: 100%;
  width: clamp(120px, 16vw, 220px);
}
.sec-bg--tatewaku-r svg {
  right: 0;
  -webkit-mask-image: linear-gradient(to left, #000 35%, transparent 100%);
  mask-image: linear-gradient(to left, #000 35%, transparent 100%);
}
.sec-bg--tatewaku-l svg {
  left: 0;
  -webkit-mask-image: linear-gradient(to right, #000 35%, transparent 100%);
  mask-image: linear-gradient(to right, #000 35%, transparent 100%);
}

/* 麻の葉(反転): Contactの左下でHeroと呼応 */
.sec-bg--asanoha-bl svg {
  left: -4%;
  bottom: -8%;
  width: min(52vw, 560px);
  height: 82%;
  -webkit-mask-image: radial-gradient(ellipse 95% 95% at 10% 90%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse 95% 95% at 10% 90%, #000 30%, transparent 78%);
}

/* 麻の葉(断片): Footerの帯 */
.sec-bg--asanoha-foot svg { inset: 0; width: 100%; height: 100%; }

/* ---------- 統一見出し(見出しシステムF: D基調) ---------- */
.shead {
  border-top: 1px solid var(--ink);
  padding-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(20px, 3vw, 48px);
  align-items: start;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.shead__no {
  font-family: var(--en);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--ink-2);
}
.shead__en {
  font-family: var(--en);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  margin-top: 4px;
}
.shead__title {
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: 0.07em;
  line-height: 1.6;
}
.shead__desc {
  font-size: 12px;
  color: var(--ink-2);
  margin-top: 6px;
}
.shead--invert { border-top-color: var(--line-on-dark); }
.shead--invert .shead__no,
.shead--invert .shead__desc { color: rgba(242, 242, 242, 0.55); }
.shead--invert .shead__en { color: rgba(242, 242, 242, 0.85); }
.shead--invert .shead__title { color: #FFFFFF; }

/* ============================================================
   HEADER
   ============================================================ */
/* 半透明の白帯: 黒面・柄の上でもロゴとMENUの可読性を確保(mix-blendは廃止) */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px var(--gutter);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 15, 15, 0.08);
}
.header__name {
  display: block;
  padding: 6px 0;
}
.header__tag {
  font-family: var(--en);
  font-size: 11px;
  letter-spacing: 0.3em;
  opacity: 0.7;
}
.header__menu {
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  font-family: var(--en);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3em;
  padding: 8px 0 8px 8px;
}
.header__menu-label::after { content: attr(data-closed); }
.header__menu[aria-expanded="true"] .header__menu-label::after { content: attr(data-open); }
.header__menu-label::after { display: inline-block; min-width: 5.5em; text-align: right; }

/* ============================================================
   OVERLAY NAV
   ============================================================ */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--dark);
  color: var(--paper-on-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 88px var(--gutter) 72px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}
.overlay.is-open { opacity: 1; visibility: visible; }

.overlay__list li {
  border-bottom: 1px solid var(--line-on-dark);
}
.overlay__list li:first-child { border-top: 1px solid var(--line-on-dark); }
.overlay__list a {
  display: flex;
  align-items: baseline;
  gap: clamp(16px, 4vw, 40px);
  font-family: var(--en);
  font-size: clamp(28px, 6vw, 56px);
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: clamp(12px, 2.4vh, 22px) 0;
  transition: padding-left 0.35s var(--ease), opacity 0.35s;
}
.overlay__list a span {
  font-size: 12px;
  letter-spacing: 0.3em;
  opacity: 0.5;
}
.overlay__list a:hover { padding-left: 20px; opacity: 0.75; }
.overlay__foot {
  position: absolute;
  bottom: 32px;
  left: var(--gutter);
  font-family: var(--en);
  font-size: 11px;
  letter-spacing: 0.3em;
  opacity: 0.45;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(72px + 4vh) var(--gutter) 4vh;
}
.hero__meta, .hero__title, .hero__foot {
  position: relative;
  z-index: 1;
}

/* 背景演出: 麻の葉(極細線・拡大トリミング)。右上から差し込み、左下へ減衰 */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-bg svg {
  position: absolute;
  top: -6%;
  right: -4%;
  width: min(58vw, 720px);
  height: 110%;
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 2.2s var(--ease) 0.5s, transform 2.2s var(--ease) 0.5s;
}
.is-loaded .hero-bg svg {
  opacity: 0.08; /* 採用濃度: 白黒とも8% */
  transform: translateX(0);
}
.hero__meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--en);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--ink-2);
}
/* ランダム表示コピー: 長短のコピーが入れ替わるため高さを固定してガタつきを防ぐ */
.hero__title {
  font-size: clamp(44px, 8.5vw, 108px);
  line-height: 1.3;
  letter-spacing: 0.04em;
  margin: 4vh 0;
  min-height: 2.72em; /* 2行ぶん */
  display: flex;
  align-items: flex-start;
}
.hero__copy {
  display: block;
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.hero__copy.is-out {
  opacity: 0;
  transform: translateY(16px);
}

.hero__foot {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(24px, 4vw, 64px);
}
.hero__lead {
  font-size: clamp(13px, 1.4vw, 16px);
  line-height: 2.2;
  color: var(--ink);
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 36px;
  margin-top: 22px;
}
.hero__cta {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
}
.hero__cta span {
  display: inline-block;
  transition: transform 0.35s var(--ease);
}
.hero__cta:hover span { transform: translateX(0.35em); }
.hero__index {
  font-family: var(--en);
  font-size: 11px;
  letter-spacing: 0.24em;
  line-height: 2.2;
  color: var(--ink-2);
  border-left: 1px solid var(--line);
  padding-left: clamp(16px, 2vw, 32px);
}
.hero__scroll {
  font-family: var(--en);
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--ink-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero__scroll-bar {
  width: 1px;
  height: 56px;
  background: var(--ink);
  transform-origin: top;
  animation: scrollcue 2.2s var(--ease) infinite;
}
@keyframes scrollcue {
  0% { transform: scaleY(0); }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   01 STATEMENT
   ============================================================ */
/* Plan C: Statementは黒面(序破急の「破」) */
.statement {
  position: relative;
  background: var(--dark);
  color: var(--paper-on-dark);
  padding: clamp(96px, 13vw, 180px) var(--gutter);
}
.statement__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(20px, 3vw, 48px);
  align-items: start;
}
.statement__body p {
  font-size: 15px;
  line-height: 2.4;
  color: rgba(242, 242, 242, 0.75);
}
.statement__keys {
  border-top: 1px solid rgba(242, 242, 242, 0.5);
  max-width: 300px;
}
.statement__keys li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 14px 2px;
  border-bottom: 1px solid var(--line-on-dark);
  font-family: var(--en);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(242, 242, 242, 0.55);
}
.statement__keys li span {
  font-family: var(--jp);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #FFFFFF;
}

/* ============================================================
   02 EXPERTISE
   ============================================================ */
.expertise {
  position: relative;
  padding: clamp(96px, 13vw, 180px) var(--gutter) clamp(110px, 15vw, 200px);
}
.field-list { border-top: 1px solid var(--ink); }
/* 詳細ページが新主軸に揃うまで非リンク(ホバー演出なし) */
.field {
  display: grid;
  grid-template-columns: clamp(48px, 7vw, 110px) minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(16px, 3vw, 48px);
  align-items: baseline;
  padding: clamp(26px, 4vw, 44px) 0;
  border-bottom: 1px solid var(--line);
}
.field__no {
  font-family: var(--en);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--ink-2);
}
.field__en {
  font-family: var(--en);
  font-size: clamp(26px, 4.6vw, 58px);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.1;
}
.field__name {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.14em;
  margin-bottom: 6px;
}
.field__desc {
  font-size: 13.5px;
  line-height: 2;
  color: var(--ink-2);
}
.field-note {
  margin-top: clamp(24px, 3vw, 40px);
  font-size: 13px;
  color: var(--ink-2);
  letter-spacing: 0.06em;
}

/* ============================================================
   03 FOR BUSINESS / INDIVIDUALS
   ============================================================ */
.audience {
  position: relative;
  padding: 0 var(--gutter) clamp(110px, 15vw, 200px);
}
.aud-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
}
.aud {
  border-top: 1px solid var(--ink);
  padding-top: 22px;
}
.aud__en {
  font-family: var(--en);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--ink-2);
  margin-bottom: 10px;
}
.aud__title {
  font-size: clamp(20px, 2.4vw, 26px);
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.aud .sub-list { margin-bottom: 26px; }
.aud__cta {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
}
.aud__cta span {
  display: inline-block;
  transition: transform 0.35s var(--ease);
}
.aud__cta:hover span { transform: translateX(0.35em); }

/* ============================================================
   03 SELECTED WORKS (dark)
   ============================================================ */
.works {
  background: var(--dark);
  color: var(--paper-on-dark);
  padding: clamp(110px, 15vw, 200px) var(--gutter);
}
.works__head { margin-bottom: clamp(56px, 8vw, 120px); }
/* F運用: 黒面のディスプレイ例外(shead下に1点だけ) */
.works__display {
  font-family: var(--en);
  font-size: clamp(72px, 19vw, 260px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 0.95;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 242, 242, 0.55);
  margin: 0 0 0 -0.04em;
}

/* --- work 共通 --- */
.work__media {
  display: block;
  overflow: hidden;
}
/* 実績詳細ページはまだ無いため、カードは非リンク(hrefなし)。
   公開時はaにhrefを付けると下記hoverが有効になる */
.work__media[href] .ph { transition: transform 1s var(--ease); }
.work__media[href]:hover .ph { transform: scale(1.025); }

.work__meta {
  display: grid;
  grid-template-columns: clamp(48px, 6vw, 96px) minmax(0, 1fr) auto;
  gap: clamp(16px, 3vw, 48px);
  align-items: start;
  padding-top: 22px;
}
.work__meta--stack { grid-template-columns: clamp(48px, 6vw, 96px) minmax(0, 1fr); }
.work__no {
  font-family: var(--en);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(242, 242, 242, 0.5);
}
.work__cat {
  font-family: var(--en);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(242, 242, 242, 0.6);
  margin-bottom: 10px;
}
.work__year { margin-left: 1.6em; }
.work__name {
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.6;
  margin-bottom: 8px;
}
.work__desc {
  font-size: 13px;
  line-height: 2;
  color: rgba(242, 242, 242, 0.65);
  max-width: 42em;
}
.work__scope {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(242, 242, 242, 0.65);
  display: flex;
  gap: 14px;
  align-items: baseline;
  margin-top: 10px;
}
.work__scope dt {
  font-family: var(--en);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(242, 242, 242, 0.45);
}

/* --- レイアウト:全幅+非対称ペア --- */
.work--full { margin-bottom: clamp(72px, 10vw, 140px); }
.work--full .ph { aspect-ratio: 21 / 9; }

.works__pair {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(24px, 4vw, 72px);
  margin-bottom: clamp(72px, 10vw, 140px);
  align-items: start;
}
.works__pair:last-child { margin-bottom: 0; }
.works__pair--rev { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.work--lg .ph { aspect-ratio: 16 / 10; }
.work--sm .ph { aspect-ratio: 4 / 5; }
.work--sm { margin-top: clamp(48px, 8vw, 120px); } /* 段差でリズムを作る */

/* ============================================================
   プレースホルダー・ビジュアル
   ============================================================ */
.ph {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
}
.ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.16;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.ph__ghost {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--en);
  font-weight: 700;
  font-size: clamp(56px, 12vw, 180px);
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.22);
  user-select: none;
}
.ph__tag {
  position: absolute;
  left: 18px;
  bottom: 16px;
  font-family: var(--en);
  font-size: 10px;
  letter-spacing: 0.26em;
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 6px 12px;
  backdrop-filter: blur(2px);
}

/* W.01 FILM — 暗いシネマ調+再生マーク */
.ph--film {
  background:
    radial-gradient(ellipse 90% 70% at 30% 40%, #3B3C40 0%, #17181B 65%, #0B0C0E 100%);
}
.ph__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(72px, 9vw, 120px);
  height: clamp(72px, 9vw, 120px);
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
}
.ph__play::after {
  content: "";
  position: absolute;
  left: 54%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent rgba(255, 255, 255, 0.8);
}

/* W.02 EXPLAINER — 同心円のダイアグラム調 */
.ph--explainer {
  background:
    repeating-radial-gradient(circle at 78% 30%,
      transparent 0, transparent 54px,
      rgba(255, 255, 255, 0.14) 54px, rgba(255, 255, 255, 0.14) 55px),
    linear-gradient(160deg, #2E2F33 0%, #1B1C1F 60%, #121316 100%);
}
.ph--explainer .ph__ghost { left: 42%; }

/* W.03 AI VISUAL — グレースケールの柔らかい光 */
.ph--visual {
  background:
    radial-gradient(circle at 70% 26%, #A6A7AA 0%, #6E6F73 34%, #2C2D31 72%, #161719 100%);
}
.ph--visual .ph__ghost { -webkit-text-stroke-color: rgba(255, 255, 255, 0.3); }

/* W.04 EDUCATION — 罫線ノート調 */
.ph--edu {
  background:
    repeating-linear-gradient(to bottom,
      transparent 0, transparent 44px,
      rgba(255, 255, 255, 0.12) 44px, rgba(255, 255, 255, 0.12) 45px),
    linear-gradient(180deg, #202124 0%, #141518 100%);
}

/* W.05 WEB/GRAPHIC — ワイヤーフレーム調 */
.ph--web {
  background:
    linear-gradient(to right, rgba(255,255,255,0.14) 1px, transparent 1px) 0 0 / 25% 100%,
    linear-gradient(to bottom, rgba(255,255,255,0.14) 1px, transparent 1px) 0 0 / 100% 33.4%,
    linear-gradient(135deg, #333438 0%, #1D1E21 70%, #121316 100%);
}

/* PROFILE PORTRAIT — 明るいグレー(ニュートラル) */
.ph--portrait {
  aspect-ratio: 3 / 4;
  background:
    radial-gradient(ellipse 120% 90% at 50% 20%, #C9C9C9 0%, #9D9D9D 55%, #757576 100%);
}
.ph--portrait .ph__tag {
  color: rgba(16, 17, 19, 0.7);
  border-color: rgba(16, 17, 19, 0.35);
}

/* ============================================================
   04 APPROACH
   ============================================================ */
.approach {
  position: relative;
  padding: clamp(110px, 15vw, 200px) var(--gutter);
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 48px);
}
.step {
  border-top: 1px solid var(--ink);
  padding-top: 20px;
}
.step:nth-child(2) { margin-top: clamp(20px, 3vw, 48px); }
.step:nth-child(3) { margin-top: clamp(40px, 6vw, 96px); }
.step:nth-child(4) { margin-top: clamp(60px, 9vw, 144px); }
.step__no {
  font-family: var(--en);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px var(--ink);
  line-height: 1;
  margin-bottom: 18px;
}
.step__name {
  font-size: clamp(20px, 2.2vw, 26px);
  letter-spacing: 0.28em;
  margin-bottom: 10px;
}
.step__desc {
  font-size: 13px;
  line-height: 2.1;
  color: var(--ink-2);
}

/* ============================================================
   05 PROFILE
   ============================================================ */
.profile {
  padding: 0 var(--gutter) clamp(110px, 15vw, 200px);
}
.profile__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}
/* 個人名はsheadタイトル(05 PROFILE / 安達 亘)へ統合済み */
.profile__photo { max-width: 400px; }
.profile__bio p {
  font-size: 15px;
  line-height: 2.4;
  color: var(--ink);
  margin-bottom: 1.4em;
}
.profile__points {
  margin: clamp(32px, 4vw, 56px) 0;
  border-top: 1px solid var(--ink);
}
.profile__points li {
  display: flex;
  align-items: baseline;
  gap: 20px;
  font-size: clamp(19px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: clamp(16px, 2vw, 24px) 2px;
  border-bottom: 1px solid var(--line);
}
.profile__point-no {
  font-family: var(--en);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--ink-2);
}
.profile__facts div {
  display: grid;
  grid-template-columns: clamp(110px, 14vw, 160px) minmax(0, 1fr);
  gap: 16px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.profile__facts dt {
  font-family: var(--en);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--ink-2);
  padding-top: 5px;
}
.profile__facts dd { color: var(--ink); line-height: 1.9; }

/* ============================================================
   06 CONTACT (dark)
   ============================================================ */
.contact {
  position: relative;
  background: var(--dark);
  color: var(--paper-on-dark);
  padding: clamp(96px, 13vw, 180px) var(--gutter) clamp(90px, 12vw, 160px);
}
/* F運用: 黒面のディスプレイ例外(shead下に1点だけ) */
.contact__display {
  font-family: var(--en);
  font-size: clamp(64px, 15vw, 200px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 0.95;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 242, 242, 0.4);
  margin: 0 0 clamp(40px, 6vw, 80px) -0.04em;
}
.contact__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}
.contact__text {
  font-size: 14px;
  line-height: 2.4;
  color: rgba(242, 242, 242, 0.7);
}
/* メインCTA: Googleフォーム(URL設定まではhrefなし=非リンク) */
.contact__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: clamp(24px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  border-bottom: 2px solid var(--paper-on-dark);
  padding-bottom: 0.16em;
}
.contact__arrow {
  display: inline-block;
  transition: transform 0.4s var(--ease);
}
.contact__link[href]:hover .contact__arrow { transform: translateX(0.35em); }
.contact__note {
  margin-top: 18px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: rgba(242, 242, 242, 0.45);
}
/* サブ導線: メール */
.contact__mail {
  margin-top: 30px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 13px;
  color: rgba(242, 242, 242, 0.75);
}
.contact__mail-label {
  font-family: var(--en);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(242, 242, 242, 0.5);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative;
  background: var(--dark);
  color: rgba(242, 242, 242, 0.6);
  border-top: 1px solid var(--line-on-dark);
  padding: 28px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 40px;
  font-family: var(--en);
  font-size: 11px;
  letter-spacing: 0.26em;
}
.footer__name { color: var(--paper-on-dark); font-weight: 700; }
.footer__copy { margin-left: auto; }
.footer__top:hover { color: var(--paper-on-dark); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero__foot { grid-template-columns: minmax(0, 1fr) auto; }
  .hero__index { display: none; }
}

@media (max-width: 820px) {
  body { font-size: 14px; }
  .pc-br { display: none; }
  .header__tag { display: none; }

  .hero { padding-top: calc(64px + 3vh); }
  .hero__title {
    font-size: clamp(32px, 9.6vw, 56px);
    min-height: 4.1em; /* 3行ぶん */
  }
  .hero__lead br { display: none; }

  .aud-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-bg svg {
    top: -3%;
    right: -18%;
    width: 110vw;
    height: 62%;
  }

  .statement__grid { grid-template-columns: 1fr; gap: 32px; }

  /* 統一見出し: モバイルは縦積み(罫→番号+英字→タイトル→説明) */
  .shead { grid-template-columns: 1fr; gap: 10px; }
  .shead__left { display: flex; align-items: baseline; gap: 12px; }
  .shead__en { margin-top: 0; font-size: 11px; }

  /* 立涌の縦帯は細く */
  .sec-bg--tatewaku-r svg,
  .sec-bg--tatewaku-l svg { width: 76px; }

  /* 下層ページのヘッダーナビを縮小 */
  .header__nav { font-size: 10.5px; letter-spacing: 0.16em; gap: 14px; }
  .header__nav .header__cta { padding: 7px 10px; }

  .field {
    grid-template-columns: clamp(36px, 8vw, 56px) minmax(0, 1fr);
    row-gap: 10px;
  }
  .field__jp { grid-column: 2; }
  /* 長い英語見出しがはみ出さないよう、モバイルのみサイズを絞る */
  .field__en {
    font-size: clamp(22px, 6.4vw, 40px);
    overflow-wrap: break-word;
  }

  .works__pair,
  .works__pair--rev { grid-template-columns: 1fr; }
  .work--sm { margin-top: 0; }
  .work--full { margin-bottom: clamp(56px, 12vw, 96px); }
  .works__pair { gap: clamp(56px, 12vw, 96px); margin-bottom: clamp(56px, 12vw, 96px); }
  .work--full .ph { aspect-ratio: 16 / 10; }
  .work--sm .ph { aspect-ratio: 16 / 10; }

  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(n) { margin-top: 0; }

  .profile__grid { grid-template-columns: 1fr; }
  .profile__photo { max-width: 320px; }

  .contact__row { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .overlay__list a { font-size: 26px; }
  .work__meta { grid-template-columns: minmax(0, 1fr); }
  .work__no { display: none; }
  /* 下層ページ: 極小幅ではWORKSリンクを省略(TOP/CONTACTを優先) */
  .header__nav a:nth-child(2) { display: none; }
}

/* ============================================================
   SERVICES 下層ページ(services/*.html)
   ============================================================ */
.header__nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 28px);
  font-family: var(--en);
  font-size: 12px;
  letter-spacing: 0.22em;
  white-space: nowrap;
}
.header__nav a { padding: 6px 0; transition: opacity 0.25s; }
.header__nav a:hover { opacity: 0.55; }
.header__nav .header__cta {
  border: 1px solid var(--ink);
  padding: 8px 16px;
  transition: background-color 0.25s, color 0.25s;
}
.header__nav .header__cta:hover {
  background: var(--ink);
  color: #fff;
  opacity: 1;
}

.sub-hero {
  position: relative;
  padding: clamp(130px, 18vw, 200px) var(--gutter) clamp(56px, 8vw, 96px);
  border-bottom: 1px solid var(--line);
}
.sub-hero__label {
  font-family: var(--en);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--ink-2);
  margin-bottom: 22px;
}
.sub-hero__en {
  font-family: var(--en);
  font-weight: 700;
  font-size: clamp(38px, 7.5vw, 92px);
  line-height: 1.02;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}
.sub-hero__jp {
  font-size: clamp(19px, 2.6vw, 28px);
  font-weight: 900;
  letter-spacing: 0.1em;
  margin-bottom: 22px;
}
.sub-hero__lead {
  max-width: 640px;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 2.2;
}

.sub-main {
  padding: clamp(56px, 8vw, 96px) var(--gutter) clamp(80px, 10vw, 140px);
  display: grid;
  gap: clamp(48px, 7vw, 84px);
  max-width: 1100px;
}
.sub-sec__h {
  border-top: 1px solid var(--ink);
  padding-top: 16px;
  display: flex;
  gap: 18px;
  align-items: baseline;
  margin-bottom: 22px;
}
.sub-sec__h .en {
  font-family: var(--en);
  font-size: 11px;
  letter-spacing: 0.26em;
  color: var(--ink-2);
}
.sub-sec__h .jp {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.1em;
}
.sub-list li {
  position: relative;
  padding: 8px 0 8px 20px;
  font-size: 14px;
}
.sub-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15em;
  width: 9px;
  height: 1.5px;
  background: var(--ink);
}
.sub-note { font-size: 12.5px; color: var(--ink-2); margin-top: 12px; }

.sub-cta {
  position: relative;
  background: var(--dark);
  color: var(--paper-on-dark);
  padding: clamp(64px, 9vw, 110px) var(--gutter);
}
.sub-cta__title {
  font-size: clamp(22px, 3.4vw, 34px);
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 14px;
}
.sub-cta__text {
  color: rgba(242, 242, 242, 0.7);
  font-size: 13.5px;
  max-width: 560px;
  margin-bottom: 36px;
}
.sub-cta__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 40px;
}
.sub-cta__link {
  font-weight: 900;
  font-size: clamp(18px, 2.4vw, 24px);
  letter-spacing: 0.08em;
  color: #fff;
  border-bottom: 2px solid var(--paper-on-dark);
  padding-bottom: 6px;
}
.sub-cta__link span {
  display: inline-block;
  transition: transform 0.35s var(--ease);
}
.sub-cta__link:hover span { transform: translateX(0.4em); }
.sub-cta__back {
  font-family: var(--en);
  font-size: 12px;
  letter-spacing: 0.24em;
  color: rgba(242, 242, 242, 0.6);
}
.sub-cta__back:hover { color: #fff; }
