@charset "UTF-8";
/* =========================================================
   OKN — Corporate site
   Design tokens
   ========================================================= */
:root {
  --ink: #0a0c0a;
  --ink-soft: #101410;
  --ink-2: #161b17;
  --paper: #f5f4f0;
  --paper-2: #eceae4;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.28);
  --line-dark: rgba(18, 22, 18, 0.12);
  --green: #37543f;
  --green-deep: #1d3226;
  --green-soft: #7d9a86;
  --txt: #e9ebe7;
  --txt-dim: #9aa39c;
  --txt-dark: #191e1a;
  --txt-dark-dim: #5f665f;

  --serif: "Noto Serif JP", "Shippori Mincho", "Yu Mincho", serif;
  --sans: "Noto Sans JP", -apple-system, "Hiragino Kaku Gothic ProN", "Helvetica Neue", Arial, sans-serif;
  --roman: "Cormorant Garamond", "Times New Roman", serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 84px;

  --pad: clamp(20px, 5vw, 64px);
  --maxw: 1200px;
  /* フッターはコピーライト1行のみ。高さを固定して
     ヒーローの min-height 計算と必ず一致させる */
  --footer-h: 73px;
}

/* =========================================================
   Reset / base
   ========================================================= */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--txt);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-menu-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
figure, blockquote, dl, dd { margin: 0; }

:focus-visible {
  outline: 1px solid var(--green-soft);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 300;
  padding: 12px 20px;
  background: var(--paper);
  color: var(--txt-dark);
  font-size: 13px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* =========================================================
   Layout helpers
   ========================================================= */
.inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section { padding: clamp(72px, 11vw, 140px) 0; }
.section--dark { background: var(--ink); color: var(--txt); }
.section--dark + .section--dark { padding-top: 0; }
.section--paper { background: var(--paper); color: var(--txt-dark); }
.section--paper + .section--paper { padding-top: 0; }
.section--tight { padding: clamp(48px, 7vw, 88px) 0; }

.eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--green-soft);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.section--paper .eyebrow { color: var(--green); }
.eyebrow::after {
  content: "";
  width: 40px;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3.1vw, 2.35rem);
  line-height: 1.6;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.section-lead {
  margin-top: 26px;
  max-width: 62ch;
  font-size: clamp(0.9rem, 1.2vw, 0.98rem);
  line-height: 2.15;
  color: var(--txt-dim);
}
.section--paper .section-lead { color: var(--txt-dark-dim); }

.section-head { margin-bottom: clamp(40px, 6vw, 72px); }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 72px);
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 44px);
  background: linear-gradient(180deg, rgba(6, 8, 6, 0.86) 0%, rgba(6, 8, 6, 0) 100%);
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(7, 9, 7, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #fff;
}
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-type { display: flex; flex-direction: column; line-height: 1.15; }
.brand-type b {
  font-family: var(--roman);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.brand-type small {
  font-size: 8px;
  letter-spacing: 0.26em;
  color: rgba(255, 255, 255, 0.62);
  margin-top: 3px;
}

.menu-btn {
  position: relative;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #fff;
}
.menu-btn span {
  position: absolute;
  width: 26px;
  height: 1px;
  background: currentColor;
  transition: transform 0.4s var(--ease), opacity 0.25s var(--ease);
}
.menu-btn span:nth-child(1) { transform: translateY(-4px); }
.menu-btn span:nth-child(2) { transform: translateY(4px); }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { transform: rotate(-45deg); }

/* =========================================================
   Global menu overlay
   ========================================================= */
.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 115;
  background: rgba(8, 11, 9, 0.97);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
  overflow-y: auto;
  padding: calc(var(--header-h) + 24px) var(--pad) 56px;
}
.menu-panel.is-open { opacity: 1; visibility: visible; }

.menu-panel__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.6fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: end;
}
.menu-list { border-top: 1px solid var(--line); }
.menu-list a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: clamp(14px, 2vw, 20px) 0;
  border-bottom: 1px solid var(--line);
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
}
.menu-list a:hover { opacity: 0.6; }
.menu-list a > span:first-child {
  font-family: var(--roman);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--green-soft);
  min-width: 26px;
}
.menu-list .en {
  font-family: var(--roman);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: 0.14em;
  line-height: 1.2;
}
.menu-list .jp {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--txt-dim);
  margin-left: auto;
}
.menu-list a[aria-current="page"] .en { color: var(--green-soft); }

.menu-aside {
  padding-bottom: 8px;
  font-size: 12px;
  line-height: 2.1;
  color: var(--txt-dim);
  letter-spacing: 0.08em;
}
.menu-aside__label {
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--green-soft);
  margin-bottom: 14px;
}

@media (max-width: 760px) {
  .menu-panel__inner { grid-template-columns: 1fr; }
  .menu-aside { border-top: 1px solid var(--line); padding-top: 24px; }
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 168px;
  padding: 16px 28px;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn--solid {
  background: var(--green-deep);
  color: #fff;
  border-color: var(--green-deep);
}
.btn--solid:hover { background: #16281d; border-color: #16281d; }
.btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
}
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--dark-ghost {
  color: var(--txt-dark);
  border-color: rgba(18, 22, 18, 0.35);
}
.btn--dark-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--wide { width: 100%; }

/* =========================================================
   HOME hero
   ========================================================= */
.hero {
  position: relative;
  /* コピーライトのフッターまで含めて1画面に収める */
  min-height: calc(100svh - var(--footer-h));
  display: grid;
  grid-template-columns: minmax(0, 48%) minmax(0, 52%);
  background: var(--ink);
}

.hero__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + clamp(16px, 5vh, 56px)) clamp(24px, 4vw, 72px) clamp(52px, 8vh, 84px);
  z-index: 2;
}

.hero__title {
  font-family: var(--serif);
  /* メインコピーを大きく。左パネルの実効幅に収まる上限で調整 */
  font-size: clamp(1.6rem, 4.1vw, 3.1rem);
  line-height: 1.75;
  letter-spacing: 0.1em;
  font-weight: 400;
  color: #fff;
}
/* 各行を意図した位置で固定し、語中改行を防ぐ */
.hero__title span { display: block; white-space: nowrap; }

.hero__lead {
  margin-top: clamp(24px, 3vw, 36px);
  max-width: 34em;
  font-size: clamp(0.8rem, 1.02vw, 0.92rem);
  line-height: 2.15;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.72);
  text-wrap: balance;
}

/* 4導線を2×2に配置（SERVICE / ABOUT ・ WORKS / CONTACT） */
.hero__actions {
  margin-top: clamp(32px, 4.5vw, 52px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  max-width: 404px;
}
.hero__actions .btn { min-width: 0; }

.hero__media {
  position: relative;
  overflow: hidden;
  background: #0d0f0d;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.06) brightness(0.82);
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 12, 10, 0.55) 0%, rgba(10, 12, 10, 0) 42%, rgba(10, 12, 10, 0.35) 100%);
  pointer-events: none;
}


/* =========================================================
   MISSION + SERVICE 統合ページ（黒基調・写真をうっすら）
   ---------------------------------------------------------
   MISSIONの宣言を1画面目に置き、その下にOUR SERVICEを続ける。
   背景はMISSIONの写真で統一し、ブロックごとに同じ画像を敷いて
   継ぎ目が消えるよう上下を黒くグラデーションで落としている。
   ========================================================= */
.mv {
  background: var(--ink);
  color: var(--txt);
}

.mv__block {
  position: relative;
  overflow: hidden;
}

/* --- MISSION ブロック（1画面目） --- */
.mv__block--mission {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + clamp(20px, 4vh, 48px)) 0 clamp(56px, 9vh, 96px);
}

/* --- SERVICE ブロック --- */
.mv__block--service {
  padding: clamp(48px, 7vh, 88px) 0 clamp(64px, 10vh, 112px);
}

.mv__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
/* 写真はうっすらと。暗く落としすぎず、被写体の気配が残る明度に */
.mv__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.02) brightness(0.9);
  opacity: 0.62;
}
/* 左をしっかり暗くして文字を守り、右側は写真を残す */
.mv__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(10, 12, 10, 0.93) 0%, rgba(10, 12, 10, 0.85) 38%, rgba(10, 12, 10, 0.55) 66%, rgba(10, 12, 10, 0.34) 100%),
    linear-gradient(180deg, rgba(10, 12, 10, 0.55) 0%, rgba(10, 12, 10, 0.1) 42%, rgba(10, 12, 10, 0.72) 100%);
}
/* SERVICE側は上下を黒く落として、MISSIONブロックとの継ぎ目を消す */
.mv__bg--service::after {
  background:
    linear-gradient(180deg, rgba(10, 12, 10, 0.96) 0%, rgba(10, 12, 10, 0.66) 20%, rgba(10, 12, 10, 0.52) 58%, rgba(10, 12, 10, 0.94) 100%),
    linear-gradient(100deg, rgba(10, 12, 10, 0.8) 0%, rgba(10, 12, 10, 0.45) 62%, rgba(10, 12, 10, 0.72) 100%);
}

.mv__inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* サービス見出しの下余白 */
.mv .services__eyebrow { margin-bottom: clamp(24px, 3.4vw, 40px); }

/* ---------- MISSION のタイポグラフィ ---------- */
.mission__eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--green-soft);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(20px, 2.8vw, 30px);
}
.mission__eyebrow::after {
  content: "";
  width: 44px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.mission__title {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 5.2vw, 3.9rem);
  line-height: 1.42;
  letter-spacing: 0.07em;
  font-weight: 400;
  color: #fff;
  margin-bottom: clamp(30px, 4.4vw, 52px);
}

.mission__body {
  max-width: 39em;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: clamp(18px, 2.6vw, 32px);
}

.mission__copy {
  font-size: clamp(0.84rem, 1.1vw, 0.94rem);
  line-height: 2.2;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.78);
}
.mission__copy + .mission__copy { margin-top: clamp(14px, 1.8vw, 20px); }

@media (max-width: 860px) {
  .mv__block--mission {
    padding: calc(var(--header-h) + clamp(16px, 4vh, 36px)) 0 clamp(48px, 8vh, 80px);
  }
  .mv__block--service { padding: clamp(40px, 6vh, 64px) 0 clamp(52px, 8vh, 80px); }
  .mv__bg img { opacity: 0.5; }
  .mv__bg::after {
    background:
      linear-gradient(180deg, rgba(10, 12, 10, 0.88) 0%, rgba(10, 12, 10, 0.72) 45%, rgba(10, 12, 10, 0.92) 100%);
  }
  .mv__bg--service::after {
    background:
      linear-gradient(180deg, rgba(10, 12, 10, 0.94) 0%, rgba(10, 12, 10, 0.74) 45%, rgba(10, 12, 10, 0.95) 100%);
  }
  .mission__body { border-left: 0; padding-left: 0; }
}

/* =========================================================
   SERVICE page（黒基調・写真をうっすら + 1画面完結 / 2×2）
   ========================================================= */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.services {
  position: relative;
  background: var(--ink);
  color: var(--txt);
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + clamp(16px, 3.5vh, 44px)) 0 clamp(52px, 8vh, 88px);
  overflow: hidden;
}

.services__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.services__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.02) brightness(0.9);
  opacity: 0.62;
}
/* MISSIONと同系の暗幕。左を濃く、右に被写体の気配を残す */
.services__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(10, 12, 10, 0.94) 0%, rgba(10, 12, 10, 0.87) 40%, rgba(10, 12, 10, 0.6) 70%, rgba(10, 12, 10, 0.38) 100%),
    linear-gradient(180deg, rgba(10, 12, 10, 0.6) 0%, rgba(10, 12, 10, 0.12) 42%, rgba(10, 12, 10, 0.78) 100%);
}

.services__inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.services__eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--green-soft);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(22px, 3.2vw, 40px);
}
.services__eyebrow::after {
  content: "";
  width: 44px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(28px, 5vw, 72px);
  row-gap: clamp(18px, 2.6vw, 32px);
}

.svc {
  padding-top: clamp(12px, 1.6vw, 18px);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.svc__no {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--green-soft);
}
.svc__no span {
  font-family: var(--roman);
  font-size: 13px;
  letter-spacing: 0.12em;
}

.svc__name {
  font-family: var(--serif);
  font-size: clamp(0.98rem, 1.7vw, 1.3rem);
  line-height: 1.6;
  letter-spacing: 0.06em;
  font-weight: 400;
  color: #fff;
  margin-top: clamp(8px, 1vw, 12px);
}

.svc__text {
  margin-top: clamp(8px, 1vw, 12px);
  max-width: 32em;
  font-size: clamp(0.78rem, 1vw, 0.85rem);
  line-height: 1.95;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 860px) {
  .services {
    align-items: center;
    padding: calc(var(--header-h) + clamp(12px, 3vh, 28px)) 0 clamp(44px, 7vh, 72px);
  }
  .services__bg img { opacity: 0.5; }
  .services__bg::after {
    background:
      linear-gradient(180deg, rgba(10, 12, 10, 0.9) 0%, rgba(10, 12, 10, 0.74) 45%, rgba(10, 12, 10, 0.93) 100%);
  }
  .services__grid { column-gap: clamp(18px, 5vw, 28px); row-gap: clamp(14px, 2.4vw, 20px); }
  .svc__text { font-size: 0.74rem; line-height: 1.85; }
  .svc__no { font-size: 8px; letter-spacing: 0.16em; gap: 6px; }
  .svc__no span { font-size: 11px; }
  .svc__name { font-size: clamp(0.86rem, 3.4vw, 1rem); }
}

/* =========================================================
   WORKS page（黒基調・実績一覧）
   ---------------------------------------------------------
   実績は「写真＋タグ＋本文」の横並び。件数が増えても
   .work を追加するだけで縦に積み上がる構成にしている。
   ========================================================= */
.works {
  background: var(--ink);
  color: var(--txt);
  padding: calc(var(--header-h) + clamp(36px, 6vh, 80px)) 0 clamp(72px, 11vh, 140px);
}

.works__inner { width: 100%; }

.works__eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--green-soft);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(32px, 4.6vw, 60px);
}
.works__eyebrow::after {
  content: "";
  width: 44px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.works__list {
  display: grid;
  gap: clamp(52px, 7vw, 96px);
}

/* 1件分の実績：文言を左、写真を右に置く2カラム
   写真側の列幅を固定気味にして、必ずテキストの右横に小さく収める */
.work {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(190px, 25vw, 330px);
  column-gap: clamp(20px, 3.2vw, 44px);
  row-gap: clamp(18px, 2.6vw, 26px);
  align-items: start;
  padding-top: clamp(20px, 2.6vw, 32px);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.work__media {
  overflow: hidden;
  background: #0d0f0d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}
.work__media img {
  width: 100%;
  height: auto;
  /* サイトのモノクロトーンに寄せつつ、スコアボードや映像の情報は残す */
  filter: grayscale(0.4) contrast(1.03) brightness(0.97);
}

.work__tag {
  font-size: 10px;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.22em;
  color: var(--green-soft);
}

.work__text {
  margin-top: clamp(14px, 2vw, 22px);
  max-width: 34em;
  font-size: clamp(0.83rem, 1.02vw, 0.9rem);
  line-height: 2.1;
  letter-spacing: 0.045em;
  color: rgba(255, 255, 255, 0.74);
}

/* ---------- 主な大会実績（本文の直下に続ける／区切り線なし） ---------- */
.work__events-block {
  margin-top: clamp(12px, 1.4vw, 16px);
}

.work__events-title {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: #fff;
  margin-bottom: clamp(8px, 1vw, 10px);
}

.work__events {
  display: grid;
  gap: clamp(8px, 1vw, 10px);
}

.work__event {
  display: grid;
  gap: 4px;
}

.work__event-name {
  font-family: var(--serif);
  font-size: clamp(0.84rem, 1.05vw, 0.94rem);
  line-height: 1.7;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.92);
}

.work__event-meta {
  font-size: clamp(0.7rem, 0.86vw, 0.76rem);
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 1024px) {
  .work { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 860px) {
  .works { padding: calc(var(--header-h) + clamp(24px, 4vh, 44px)) 0 clamp(64px, 10vh, 96px); }
  .works__list { gap: clamp(44px, 9vw, 64px); }
  .work__media img { filter: grayscale(0.4) contrast(1.02) brightness(0.98); }
  .work__text { font-size: 0.78rem; line-height: 2; }
  .work__event-name { font-size: 0.82rem; }
  .work__event-meta { font-size: 0.7rem; }
}

/* =========================================================
   ABOUT page（黒基調・写真をうっすら + 1画面完結）
   ========================================================= */
.sp-only { display: none; }

.about-page {
  position: relative;
  background: var(--ink);
  color: var(--txt);
  /* コピーライトのフッターまで含めて1画面に収める（index と同じ計算） */
  min-height: calc(100svh - var(--footer-h));
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + clamp(16px, 3.5vh, 44px)) 0 clamp(52px, 8vh, 88px);
  overflow: hidden;
}

.about-page__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.about-page__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.02) brightness(0.9);
  opacity: 0.62;
}
.about-page__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(10, 12, 10, 0.94) 0%, rgba(10, 12, 10, 0.87) 40%, rgba(10, 12, 10, 0.6) 70%, rgba(10, 12, 10, 0.38) 100%),
    linear-gradient(180deg, rgba(10, 12, 10, 0.6) 0%, rgba(10, 12, 10, 0.12) 42%, rgba(10, 12, 10, 0.78) 100%);
}

.about-page__inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.about-page__eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--green-soft);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(22px, 3.2vw, 40px);
}
.about-page__eyebrow::after {
  content: "";
  width: 44px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.about-page__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  column-gap: clamp(28px, 5vw, 72px);
  row-gap: clamp(28px, 4vw, 44px);
  align-items: start;
}

/* ---------- タグライン ---------- */
.about-page__tagline {
  font-weight: 400;
  margin: 0;
}

/* OVER THE KEY INNOVATION NEXT. — O/K/N を大きく緑で強調（OKNの語源） */
.okn-word {
  display: block;
  font-family: var(--roman);
  font-size: clamp(1.15rem, 2.5vw, 1.95rem);
  line-height: 1.35;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.92);
  text-wrap: balance;
}
.okn-word__ch {
  display: inline-block;
  font-size: 1.62em;
  font-weight: 600;
  line-height: 0.85;
  letter-spacing: 0.02em;
  color: var(--green-soft);
  /* 大文字のベースラインを周囲の小文字に揃える */
  vertical-align: -0.06em;
  margin-right: 0.01em;
}

.about-page__tagline-jp {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.6vw, 2.6rem);
  line-height: 1.55;
  letter-spacing: 0.09em;
  color: #fff;
  margin-top: clamp(14px, 1.8vw, 22px);
}

.about-page__lead {
  margin-top: clamp(16px, 2.2vw, 26px);
  max-width: 34em;
  font-size: clamp(0.82rem, 1.05vw, 0.9rem);
  line-height: 2.15;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- 会社概要 ---------- */
.about-page__company-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--green-soft);
  margin-bottom: clamp(12px, 1.6vw, 18px);
  padding-bottom: clamp(10px, 1.2vw, 14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.company-list { margin: 0; }
.company-list__row {
  display: grid;
  grid-template-columns: 6.5em minmax(0, 1fr);
  column-gap: clamp(12px, 1.6vw, 20px);
  padding: clamp(8px, 1.1vw, 12px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: clamp(0.76rem, 0.95vw, 0.83rem);
  line-height: 1.9;
}
.company-list__row:last-child { border-bottom: 0; }
.company-list__row dt {
  font-size: clamp(0.7rem, 0.88vw, 0.76rem);
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.48);
}
.company-list__row dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.03em;
}

@media (max-width: 1024px) {
  .about-page__grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .about-page {
    align-items: center;
    padding: calc(var(--header-h) + clamp(12px, 3vh, 28px)) 0 clamp(44px, 7vh, 72px);
  }
  .about-page__bg img { opacity: 0.5; }
  .about-page__bg::after {
    background:
      linear-gradient(180deg, rgba(10, 12, 10, 0.9) 0%, rgba(10, 12, 10, 0.74) 45%, rgba(10, 12, 10, 0.93) 100%);
  }
  .okn-word { font-size: clamp(0.98rem, 4.2vw, 1.3rem); letter-spacing: 0.1em; }
  .about-page__tagline-jp { font-size: clamp(1.3rem, 6.4vw, 1.8rem); }
  .about-page__lead { font-size: 0.78rem; line-height: 2; }
  .pc-only { display: none; }
  .sp-only { display: inline; }
  .company-list__row {
    grid-template-columns: 5.6em minmax(0, 1fr);
    font-size: 0.75rem;
  }
  .company-list__row dt { font-size: 0.7rem; }
}

/* スマホでは情報量が多いため、1画面に収まるよう全体を圧縮 */
@media (max-width: 860px) {
  .about-page {
    padding: calc(var(--header-h) + 16px) 0 clamp(36px, 6vh, 56px);
  }
  .about-page__eyebrow { margin-bottom: 16px; }
  .about-page__grid { row-gap: 20px; }
  .about-page__tagline-jp { margin-top: 10px; font-size: clamp(1.2rem, 5.8vw, 1.6rem); }
  .about-page__lead { margin-top: 12px; font-size: 0.74rem; line-height: 1.95; }
  .about-page__company-label { margin-bottom: 10px; padding-bottom: 8px; }
  .company-list__row {
    grid-template-columns: 5.2em minmax(0, 1fr);
    padding: 7px 0;
    font-size: 0.7rem;
    line-height: 1.75;
  }
  .company-list__row dt { font-size: 0.66rem; }
}

@media (max-width: 860px) and (max-height: 780px) {
  .about-page__eyebrow { margin-bottom: 12px; }
  .about-page__grid { row-gap: 16px; }
  .okn-word { font-size: 0.95rem; }
  .about-page__tagline-jp { font-size: 1.18rem; margin-top: 8px; }
  .about-page__lead { font-size: 0.7rem; line-height: 1.85; margin-top: 10px; }
  .company-list__row { padding: 5px 0; font-size: 0.66rem; line-height: 1.7; }
  .company-list__row dt { font-size: 0.63rem; }
}


/* 画面高が低いノートPC向けの微調整（1画面に収める） */
@media (min-width: 861px) and (max-height: 780px) {
  .hero__title { font-size: clamp(1.45rem, 3.1vw, 2.35rem); line-height: 1.7; }
  .hero__lead { margin-top: 22px; }
  .hero__actions { margin-top: 30px; }
  .hero__actions .btn { padding: 14px 24px; }

  .mission__title { font-size: clamp(1.6rem, 3.6vw, 2.7rem); margin-bottom: 26px; }
  .mission__copy { font-size: 0.86rem; line-height: 2.05; }
}

/* スマホで1画面に収めるための微調整 */
@media (max-width: 860px) and (max-height: 760px) {
  .mission__title { font-size: clamp(1.55rem, 7vw, 2.2rem); margin-bottom: 22px; }
  .mission__copy { font-size: 0.8rem; line-height: 2; }
}

/* =========================================================
   CONTACT page（黒基調・写真をうっすら）
   ---------------------------------------------------------
   導入文だけを写真背景の上に置き、フォームはその直下の
   黒背景セクションへ続ける。見出しは「Contact Form」のみ。
   ========================================================= */
.contact-page {
  position: relative;
  background: var(--ink);
  color: var(--txt);
  padding: calc(var(--header-h) + clamp(56px, 9vh, 110px)) 0 clamp(24px, 4vh, 44px);
  overflow: hidden;
}

.contact-page__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.contact-page__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.04) brightness(0.9);
  opacity: 0.4;
}
.contact-page__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(10, 12, 10, 0.95) 0%, rgba(10, 12, 10, 0.88) 42%, rgba(10, 12, 10, 0.62) 74%, rgba(10, 12, 10, 0.46) 100%),
    linear-gradient(180deg, rgba(10, 12, 10, 0.62) 0%, rgba(10, 12, 10, 0.2) 44%, rgba(10, 12, 10, 0.9) 100%);
}

.contact-page__inner {
  position: relative;
  z-index: 2;
}

/* 「Contact Form」の見出し（このページの h1） */
.contact-page__eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--green-soft);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(20px, 2.6vw, 30px);
}
.contact-page__eyebrow::after {
  content: "";
  width: 44px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

/* 見出しは置かず、導入文だけを写真背景の上に出す */
.contact-page__lead {
  max-width: 47em;
  font-size: clamp(0.86rem, 1.08vw, 0.94rem);
  line-height: 2.2;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.78);
}

/* 導入文の直下にフォームが続くため、セクション上余白は詰める */
.contact-page + .section {
  padding-top: clamp(36px, 5vw, 64px);
}

@media (max-width: 860px) {
  .contact-page {
    padding: calc(var(--header-h) + clamp(28px, 5vh, 52px)) 0 clamp(36px, 6vh, 56px);
  }
  .contact-page__bg img { opacity: 0.34; }
  .contact-page__bg::after {
    background:
      linear-gradient(180deg, rgba(10, 12, 10, 0.9) 0%, rgba(10, 12, 10, 0.8) 46%, rgba(10, 12, 10, 0.94) 100%);
  }
  .contact-page__lead { font-size: 0.8rem; line-height: 2.1; }
}

/* =========================================================
   Page masthead (sub pages)
   ========================================================= */
.page-head {
  position: relative;
  background: var(--ink);
  padding: calc(var(--header-h) + clamp(56px, 9vw, 110px)) 0 clamp(48px, 7vw, 84px);
  overflow: hidden;
}
.page-head__bg {
  position: absolute;
  inset: 0;
  opacity: 0.24;
}
.page-head__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.1);
}
.page-head__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 12, 10, 0.4) 0%, rgba(10, 12, 10, 0.95) 100%);
}
.page-head .inner { position: relative; z-index: 2; }

.page-head__no {
  font-family: var(--roman);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--green-soft);
  margin-bottom: 18px;
  display: block;
}
.page-head__title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 5.2vw, 3.4rem);
  letter-spacing: 0.14em;
  line-height: 1.4;
  color: #fff;
  font-weight: 400;
}
.page-head__en {
  margin-top: 14px;
  font-family: var(--roman);
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}
.page-head__lead {
  margin-top: 30px;
  max-width: 60ch;
  font-size: clamp(0.85rem, 1.1vw, 0.93rem);
  line-height: 2.2;
  color: rgba(255, 255, 255, 0.68);
  letter-spacing: 0.06em;
}

/* breadcrumb */
.breadcrumb {
  position: relative;
  z-index: 2;
  margin-top: clamp(36px, 5vw, 56px);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.4);
}
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.breadcrumb li { display: flex; align-items: center; gap: 10px; }
.breadcrumb li + li::before { content: "/"; opacity: 0.5; }
.breadcrumb a:hover { color: #fff; }

/* =========================================================
   Pillars (3-up)
   ========================================================= */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-dark);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.section--dark .pillar-grid {
  background: var(--line);
  border-color: var(--line);
}
.pillar {
  background: var(--paper);
  padding: clamp(28px, 4vw, 46px) clamp(22px, 3vw, 38px);
}
.section--dark .pillar { background: var(--ink); }
.pillar__no {
  font-family: var(--roman);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--green);
  display: block;
  margin-bottom: 20px;
}
.section--dark .pillar__no { color: var(--green-soft); }
.pillar__title {
  font-family: var(--serif);
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  letter-spacing: 0.08em;
  line-height: 1.7;
  margin-bottom: 16px;
}
.pillar__text {
  font-size: 0.83rem;
  line-height: 2.05;
  color: var(--txt-dark-dim);
}
.section--dark .pillar__text { color: var(--txt-dim); }

/* =========================================================
   Split content
   ========================================================= */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.split--reverse > .split__media { order: -1; }
.split__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.05);
}
.text-flow p {
  font-size: 0.9rem;
  line-height: 2.25;
  letter-spacing: 0.05em;
  color: var(--txt-dark-dim);
}
.section--dark .text-flow p { color: var(--txt-dim); }
.text-flow p + p { margin-top: 1.5em; }

/* =========================================================
   Feature rows
   ========================================================= */
.feature-list { border-top: 1px solid var(--line-dark); }
.section--dark .feature-list { border-color: var(--line); }
.feature {
  display: grid;
  grid-template-columns: 88px minmax(0, 0.5fr) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 48px);
  align-items: start;
  padding: clamp(26px, 3.4vw, 42px) 0;
  border-bottom: 1px solid var(--line-dark);
}
.section--dark .feature { border-color: var(--line); }
.feature__no {
  font-family: var(--roman);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1;
  color: rgba(55, 84, 63, 0.34);
  letter-spacing: 0.06em;
}
.section--dark .feature__no { color: rgba(125, 154, 134, 0.42); }
.feature__title {
  font-family: var(--serif);
  font-size: clamp(1.02rem, 1.6vw, 1.24rem);
  line-height: 1.7;
  letter-spacing: 0.08em;
}
.feature__title small {
  display: block;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--green-soft);
  margin-top: 10px;
}
.section--paper .feature__title small { color: var(--green); }
.feature__text {
  font-size: 0.84rem;
  line-height: 2.1;
  color: var(--txt-dark-dim);
}
.section--dark .feature__text { color: var(--txt-dim); }

/* =========================================================
   Service detail blocks
   ========================================================= */
.service-block {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  padding: clamp(40px, 6vw, 72px) 0;
  border-top: 1px solid var(--line-dark);
}
.section--dark .service-block { border-color: var(--line); }
.service-block:last-child { border-bottom: 1px solid var(--line-dark); }
.section--dark .service-block:last-child { border-bottom-color: var(--line); }

.service-block__head { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.service-block__no {
  font-family: var(--roman);
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1;
  color: rgba(55, 84, 63, 0.22);
  letter-spacing: 0.02em;
  display: block;
  margin-bottom: 12px;
}
.section--dark .service-block__no { color: rgba(125, 154, 134, 0.3); }
.service-block__title {
  font-family: var(--serif);
  font-size: clamp(1.12rem, 2vw, 1.5rem);
  letter-spacing: 0.08em;
  line-height: 1.65;
}
.service-block__en {
  margin-top: 10px;
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--green-soft);
}

.service-block__body p {
  font-size: 0.88rem;
  line-height: 2.2;
  color: var(--txt-dark-dim);
}
.section--dark .service-block__body p { color: var(--txt-dim); }
.service-block__body p + p { margin-top: 1.4em; }

.check-list {
  margin-top: 26px;
  display: grid;
  gap: 12px;
}
.check-list li {
  position: relative;
  padding-left: 26px;
  font-size: 0.84rem;
  line-height: 1.95;
  color: var(--txt-dark);
}
.section--dark .check-list li { color: var(--txt); }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 10px;
  height: 1px;
  background: var(--green);
}
.section--dark .check-list li::before { background: var(--green-soft); }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.tag {
  font-size: 10px;
  letter-spacing: 0.16em;
  padding: 6px 12px;
  border: 1px solid var(--line-dark);
  color: var(--txt-dark-dim);
}
.section--dark .tag { border-color: var(--line-strong); color: var(--txt-dim); }

/* =========================================================
   Steps / flow
   ========================================================= */
.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-dark);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.flow__item {
  background: var(--paper);
  padding: clamp(24px, 3vw, 34px) clamp(18px, 2.2vw, 26px);
}
.section--dark .flow { background: var(--line); border-color: var(--line); }
.section--dark .flow__item { background: var(--ink); }
.flow__step {
  font-family: var(--roman);
  font-size: 10px;
  letter-spacing: 0.26em;
  color: var(--green);
  display: block;
  margin-bottom: 16px;
}
.section--dark .flow__step { color: var(--green-soft); }
.flow__title {
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.flow__text { font-size: 0.8rem; line-height: 2; color: var(--txt-dark-dim); }
.section--dark .flow__text { color: var(--txt-dim); }

/* =========================================================
   Definition table
   ========================================================= */
.profile-table {
  border-top: 1px solid var(--line-dark);
}
.section--dark .profile-table { border-color: var(--line); }
.profile-table__row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: 0.86rem;
  line-height: 1.95;
}
.section--dark .profile-table__row { border-color: var(--line); }
.profile-table__row dt {
  letter-spacing: 0.1em;
  color: var(--txt-dark-dim);
  font-size: 0.8rem;
}
.section--dark .profile-table__row dt { color: var(--txt-dim); }
.profile-table__row dd { color: var(--txt-dark); letter-spacing: 0.04em; }
.section--dark .profile-table__row dd { color: var(--txt); }

/* placeholder marker */
.tbd {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.12em;
  line-height: 1.5;
  padding: 2px 8px;
  margin-left: 8px;
  border: 1px solid rgba(184, 138, 74, 0.55);
  color: #8d6a30;
  vertical-align: 0.15em;
  white-space: nowrap;
}
.section--dark .tbd { border-color: rgba(214, 176, 118, 0.5); color: #cfae79; }

.notice {
  margin-top: clamp(32px, 4vw, 48px);
  padding: clamp(20px, 2.6vw, 28px);
  border: 1px solid var(--line-dark);
  background: rgba(184, 138, 74, 0.05);
}
.section--dark .notice { border-color: var(--line); background: rgba(214, 176, 118, 0.05); }
.notice__title {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #8d6a30;
  margin-bottom: 10px;
}
.section--dark .notice__title { color: #cfae79; }
.notice p { font-size: 0.78rem; line-height: 1.95; color: var(--txt-dark-dim); }
.section--dark .notice p { color: var(--txt-dim); }

/* =========================================================
   Quote / message
   ========================================================= */
.message {
  max-width: 46rem;
  margin: 0 auto;
  text-align: center;
}
.message__text {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.6vw, 1.75rem);
  line-height: 2.1;
  letter-spacing: 0.12em;
  color: #fff;
}
.message__sub {
  margin-top: clamp(26px, 4vw, 40px);
  font-size: 0.85rem;
  line-height: 2.2;
  color: var(--txt-dim);
  text-align: left;
}
.message__sub + .message__sub { margin-top: 1.3em; }
.message__sign {
  margin-top: clamp(30px, 4vw, 46px);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--green-soft);
}

/* =========================================================
   FAQ
   ========================================================= */
.faq { border-top: 1px solid var(--line-dark); }
.faq details {
  border-bottom: 1px solid var(--line-dark);
}
.section--dark .faq,
.section--dark .faq details { border-color: var(--line); }
.faq summary {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-size: 0.9rem;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: var(--txt-dark);
}
.section--dark .faq summary { color: var(--txt); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  margin-left: auto;
  margin-top: 9px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.6;
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq__q {
  font-family: var(--roman);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--green);
  flex: none;
  padding-top: 2px;
}
.section--dark .faq__q { color: var(--green-soft); }
.faq__a {
  padding: 0 0 26px 33px;
  font-size: 0.84rem;
  line-height: 2.1;
  color: var(--txt-dark-dim);
}
.section--dark .faq__a { color: var(--txt-dim); }

/* =========================================================
   CTA
   ========================================================= */
.cta {
  position: relative;
  background: var(--ink-2);
  padding: clamp(64px, 9vw, 108px) 0;
  overflow: hidden;
  text-align: center;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(55, 84, 63, 0.34) 0%, rgba(10, 12, 10, 0) 62%);
  pointer-events: none;
}
.cta .inner { position: relative; z-index: 2; }
.cta__title {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 3vw, 2rem);
  letter-spacing: 0.14em;
  line-height: 1.8;
  color: #fff;
  margin-bottom: 22px;
}
.cta__text {
  font-size: 0.85rem;
  line-height: 2.1;
  color: var(--txt-dim);
  max-width: 44rem;
  margin: 0 auto clamp(30px, 4vw, 44px);
}
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* =========================================================
   Contact form
   ========================================================= */
.form-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.62fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.form { border-top: 1px solid var(--line-dark); }
.field {
  padding: 22px 0;
  border-bottom: 1px solid var(--line-dark);
}
.field__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  color: var(--txt-dark);
}
.req, .opt {
  font-size: 9px;
  letter-spacing: 0.14em;
  padding: 2px 6px;
  border: 1px solid currentColor;
  line-height: 1.4;
}
.req { color: #8d3a2a; }
.opt { color: var(--txt-dark-dim); }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  font-family: inherit;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--txt-dark);
  background: #fff;
  border: 1px solid rgba(18, 22, 18, 0.18);
  border-radius: 0;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(25, 30, 26, 0.7) 50%),
    linear-gradient(135deg, rgba(25, 30, 26, 0.7) 50%, transparent 50%);
  background-position:
    calc(100% - 19px) calc(50% + 2px),
    calc(100% - 14px) calc(50% + 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 38px;
}
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(55, 84, 63, 0.12);
}
.field [aria-invalid="true"] { border-color: #a8442f; }

.field__error {
  margin-top: 8px;
  font-size: 0.75rem;
  color: #a8442f;
  letter-spacing: 0.02em;
  min-height: 1em;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.82rem;
  line-height: 1.9;
  color: var(--txt-dark-dim);
  cursor: pointer;
}
.checkbox input {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: var(--green);
}
.checkbox a { text-decoration: underline; text-underline-offset: 3px; }

.form__actions { margin-top: 32px; }
.form__note {
  margin-top: 18px;
  font-size: 0.75rem;
  line-height: 1.95;
  color: var(--txt-dark-dim);
}

.form-result {
  margin-top: 24px;
  padding: 22px 24px;
  border: 1px solid rgba(55, 84, 63, 0.4);
  background: rgba(55, 84, 63, 0.05);
  font-size: 0.84rem;
  line-height: 2;
  color: var(--txt-dark);
}
.form-result[hidden] { display: none; }
.form-result__title {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  color: var(--green-deep);
}
.form-result ol {
  list-style: decimal;
  padding-left: 1.4em;
  margin: 14px 0;
  color: var(--txt-dark-dim);
}
.form-result__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }

.form-aside {
  border: 1px solid var(--line-dark);
  padding: clamp(22px, 3vw, 32px);
  font-size: 0.8rem;
  line-height: 2.05;
  color: var(--txt-dark-dim);
  letter-spacing: 0.03em;
}
.form-aside h3 {
  font-family: var(--serif);
  font-size: 0.98rem;
  letter-spacing: 0.1em;
  color: var(--txt-dark);
  margin-bottom: 14px;
}
.form-aside ul { display: grid; gap: 10px; }
.form-aside li { position: relative; padding-left: 22px; }
.form-aside li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9em;
  width: 10px;
  height: 1px;
  background: var(--green);
}
.form-aside__block + .form-aside__block { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--line-dark); }

/* ---------- 黒背景セクション内のフォーム ---------- */
.section--dark .form { border-top-color: var(--line); }
.section--dark .field { border-bottom-color: var(--line); }

.section--dark .field__label { color: #fff; }
.section--dark .req { color: #e0917f; }
.section--dark .opt { color: var(--txt-dim); }

.section--dark .field input[type="text"],
.section--dark .field input[type="email"],
.section--dark .field input[type="tel"],
.section--dark .field select,
.section--dark .field textarea {
  color: var(--txt);
  /* ショートハンドを使うと矢印の位置指定まで初期化されるため background-color で指定 */
  background-color: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.22);
}
.section--dark .field input::placeholder,
.section--dark .field textarea::placeholder {
  color: rgba(255, 255, 255, 0.34);
}
/* セレクトの矢印は明るい色に差し替える（位置・サイズは明示的に再指定） */
.section--dark .field select {
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.7) 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.7) 50%, transparent 50%);
  background-position:
    calc(100% - 19px) calc(50% + 2px),
    calc(100% - 14px) calc(50% + 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 38px;
}
/* 展開したリストはOS任せにせず、自前で配色する */
.section--dark .field select option {
  background-color: #12160f;
  color: var(--txt);
}

.section--dark .field input:focus,
.section--dark .field select:focus,
.section--dark .field textarea:focus {
  border-color: var(--green-soft);
  box-shadow: 0 0 0 3px rgba(125, 154, 134, 0.18);
}
.section--dark .field [aria-invalid="true"] { border-color: #d4776a; }
.section--dark .field__error { color: #e0917f; }

.section--dark .checkbox { color: var(--txt-dim); }
.section--dark .checkbox input { accent-color: var(--green-soft); }

.section--dark .form__note { color: var(--txt-dim); }

.section--dark .form-result {
  border-color: rgba(125, 154, 134, 0.42);
  background: rgba(125, 154, 134, 0.07);
  color: var(--txt);
}
.section--dark .form-result__title { color: var(--green-soft); }
.section--dark .form-result ol { color: var(--txt-dim); }

/* 完了画面のボタンは暗い背景に合わせて反転 */
.section--dark .btn--dark-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.38);
}
.section--dark .btn--dark-ghost:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.section--dark .form-aside {
  border-color: var(--line);
  color: var(--txt-dim);
}
.section--dark .form-aside h3 { color: #fff; }
.section--dark .form-aside li::before { background: var(--green-soft); }
.section--dark .form-aside__block + .form-aside__block {
  border-top-color: var(--line);
}

/* =========================================================
   Footer（コピーライトのみ）
   ---------------------------------------------------------
   ロゴ・紹介文・フッターナビは掲載しない。
   ナビゲーションはヘッダーのハンバーガーメニューに集約。
   ========================================================= */
.site-footer {
  background: #070907;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  /* 上下 28px 固定。--footer-h（73px）と一致させる */
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.4);
}
.site-footer .inner { display: flex; }
.site-footer small {
  font-size: 10px;
  letter-spacing: 0.14em;
  line-height: 1.6;
}

/* =========================================================
   Reveal (subtle, no flashy motion)
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .hero { grid-template-columns: minmax(0, 52%) minmax(0, 48%); }
  .feature { grid-template-columns: 64px minmax(0, 1fr); row-gap: 14px; }
  .feature__text { grid-column: 2; }
  .service-block { grid-template-columns: 1fr; gap: 20px; }
  .service-block__head { position: static; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  :root { --header-h: 68px; }

  .hero {
    grid-template-columns: 1fr;
    /* 上段（パネル）が余白を吸収し、下段の写真は比率どおりの高さに固定 */
    grid-template-rows: 1fr auto;
    min-height: calc(100svh - var(--footer-h));
    padding-top: var(--header-h);
  }
  .hero__panel {
    padding: clamp(40px, 11vw, 64px) var(--pad) clamp(36px, 9vw, 56px);
    order: 1;
  }
  .hero__title { line-height: 1.85; }
  /* 写真は元画像と同じ16:9で見せる。
     縦長の枠にcoverで入れると左右が切れて被写体が偏って見えるため、
     横方向のトリミングが発生しない比率にする（スタジアムが左右対称に見える） */
  .hero__media {
    order: 2;
    aspect-ratio: 16 / 9;
    min-height: 0;
    max-height: none;
  }
  .hero__media img { object-position: 50% 50%; }
  .hero__media::after {
    background: linear-gradient(180deg, rgba(10, 12, 10, 0.6) 0%, rgba(10, 12, 10, 0.1) 40%, rgba(10, 12, 10, 0.55) 100%);
  }
  .hero__actions .btn { min-width: 0; }
  .pc-only { display: none; }

  .pillar-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split--reverse > .split__media { order: 0; }
  .split__media { aspect-ratio: 16 / 10; }
  .profile-table__row { grid-template-columns: 1fr; gap: 6px; }
  .message__text { letter-spacing: 0.08em; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .section { padding: clamp(56px, 15vw, 88px) 0; }
  .page-head { padding-top: calc(var(--header-h) + 48px); }
  .flow { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; row-gap: 10px; }
  .feature__no { font-size: 1.25rem; }
  .feature__text { grid-column: 1; }
  .cta__actions .btn { width: 100%; }
  /* 2×2のまま。幅が狭いので内側の余白と字間を詰める */
  .hero__actions { gap: 10px; }
  .hero__actions .btn { padding: 14px 10px; font-size: 10px; letter-spacing: 0.18em; }
  .brand-type b { font-size: 22px; }
  .field__label { flex-wrap: wrap; }
}
