/*
Theme Name: WillGear
Theme URI: https://willgear.co.jp
Author: WillGear Inc.
Description: WillGearコーポレートサイト公式テーマ。Editorial Corporate — Monochrome with WillGear Accent。固定ページはテンプレートでデザインを固定し、お知らせ・志ノオト記事をブロックエディターで更新する。
Version: 1.0.2
Requires PHP: 7.4
License: Proprietary
Text Domain: willgear
*/

/* =============================================================
   WillGear Corporate Site — Editorial Corporate
   Monochrome with WillGear Accent
   -------------------------------------------------------------
   構成
   01. デザイントークン
   02. リセット・ベース
   03. アクセシビリティ共通
   04. 質感（紙のグレイン）
   05. レイアウトシェル
   06. 共通パーツ（Eyebrow / TextLink / Pill / 罫線）
   07. ヘッダー・モバイルメニュー
   08. フッター・コンタクトバンド
   09. ページヒーロー（下層共通）
   10. HOME
   11. SERVICE
   12. PROJECTS
   13. STORIES
   14. COMPANY
   15. CONTACT
   16. PRIVACY
   17. モーション
   ============================================================= */

/* ---------- 01. デザイントークン ---------- */
:root {
  --paper: #f4f4f0;
  --white: #ffffff;
  --ink: #111318;
  --muted: #686a6d;
  --line: #c9cccf;
  --line-strong: #111318;
  --gray-bg: #e8e9e7;
  --dark: #101522;
  --dark-deep: #0b0f1a;
  --accent: #1ebecf;
  --accent-dark: #006a76;
  --error: #b42318;

  --on-dark: #f4f4f0;
  --on-dark-muted: #a8aeba;
  --line-on-dark: rgba(244, 244, 240, 0.18);

  --font-sans: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN",
    "Yu Gothic", Meiryo, sans-serif;
  --font-en: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;

  --content: 1184px;
  --wide: 1440px;
  --pad: clamp(20px, 4.6vw, 56px);

  --sec: clamp(84px, 11vw, 152px);      /* 通常セクション上下 */
  --sec-lg: clamp(120px, 14vw, 196px);  /* 重要セクション上下 */

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 320ms;
}

/* ---------- 02. リセット・ベース ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.015em;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

h1, h2, h3, h4, p, figure, ol, ul, dl, dd {
  margin: 0;
}

ol, ul {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button, input, select, textarea {
  font-family: var(--font-sans);
  font-size: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
  padding: 0;
}

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

/* ---------- 03. アクセシビリティ共通 ---------- */
:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 3px;
  border-radius: 1px;
}

.on-dark :focus-visible,
.site-footer :focus-visible,
.contact-band :focus-visible,
.wg-menu :focus-visible {
  outline-color: var(--accent);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  transform: translateY(-64px);
  opacity: 0;
  transition: transform 200ms var(--ease), opacity 200ms var(--ease);
}

.skip-link:focus-visible {
  transform: translateY(0);
  opacity: 1;
}

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

/* ---------- 04. 質感（紙のグレイン） ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* ---------- 05. レイアウトシェル ---------- */
.shell {
  width: 100%;
  max-width: calc(var(--content) + var(--pad) * 2);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.shell--wide {
  max-width: calc(var(--wide) + var(--pad) * 2);
}

.section {
  padding-block: var(--sec);
}

.section--lg {
  padding-block: var(--sec-lg);
}

.band--white {
  background: var(--white);
}

.band--gray {
  background: var(--gray-bg);
}

.band--dark {
  background: var(--dark);
  color: var(--on-dark);
}

/* ---------- 06. 共通パーツ ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.band--dark .eyebrow,
.eyebrow--inverse {
  color: var(--on-dark-muted);
}

.sec-title {
  font-size: clamp(27px, 3.1vw, 44px);
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: 0.01em;
}

.sec-title .t-line {
  display: block;
}

.serif {
  font-family: var(--font-serif);
  font-weight: 600;
}

/* 引用符付きの語などを行中で分割させない */
.no-break {
  display: inline-block;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding-block: 6px;
}

.text-link span {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 0% 1px;
  background-position: left calc(100% - 0px);
  transition: background-size var(--dur) var(--ease);
  padding-bottom: 4px;
}

.text-link svg {
  transition: transform var(--dur) var(--ease);
}

.text-link:hover span,
.text-link:focus-visible span {
  background-size: 100% 1px;
}

.text-link:hover svg,
.text-link:focus-visible svg {
  transform: translateX(5px);
}

.text-link--inverse {
  color: var(--on-dark);
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 34px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.pill:hover {
  background: var(--accent-dark);
  color: #fff;
}

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* ---------- 07. ヘッダー・モバイルメニュー ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  height: 84px;
  display: flex;
  align-items: center;
  background: rgba(244, 244, 240, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background-color 360ms var(--ease), border-color 360ms var(--ease);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: calc(var(--wide) + var(--pad) * 2);
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* FVに重なる透明ヘッダー（HOME上部） */
.site-header--overlay {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
  color: var(--on-dark);
}

.site-header--overlay.is-scrolled {
  background: rgba(244, 244, 240, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  color: var(--ink);
}

/* 正式ロゴ（トリミング済みPNG。黒＝明背景／白抜き＝暗背景） */
.logo-img {
  height: 19px;
  width: auto;
  display: block;
}

.site-footer .logo-img {
  height: 23px;
}

.logo-swap {
  position: relative;
  display: inline-block;
}

.logo-swap .logo-swap__light {
  position: absolute;
  inset: 0 auto 0 0;
  opacity: 0;
  transition: opacity 360ms var(--ease);
}

.logo-swap .logo-swap__dark {
  transition: opacity 360ms var(--ease);
}

.site-header--overlay:not(.is-scrolled) .logo-swap__dark {
  opacity: 0;
}

.site-header--overlay:not(.is-scrolled) .logo-swap__light {
  opacity: 1;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 36px);
  margin-left: auto;
}

.header-nav a {
  position: relative;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding-block: 8px;
}

.header-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}

.header-nav a:hover::after,
.header-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-nav a[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  translate: 0 -50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.header-contact {
  min-height: 44px;
  padding: 0 24px;
  font-size: 13.5px;
}

.site-header--overlay:not(.is-scrolled) .header-contact {
  background: rgba(244, 244, 240, 0.14);
  color: var(--on-dark);
  border: 1px solid rgba(244, 244, 240, 0.5);
}

.site-header--overlay:not(.is-scrolled) .header-contact:hover {
  background: var(--paper);
  color: var(--ink);
}

/* メニューボタン（タブレット以下） */
.menu-button {
  display: none;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 10px 2px;
}

.menu-button i {
  display: block;
  width: 26px;
  height: 10px;
  border-top: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
}

/* 全画面メニュー */
.wg-menu {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--dark);
  color: var(--on-dark);
  overscroll-behavior: contain;
}

.wg-menu::backdrop {
  background: transparent;
}

.wg-menu__inner {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  padding: 24px var(--pad) 40px;
}

.wg-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
}

.wg-menu__close {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--on-dark);
  padding: 10px 4px;
}

.wg-menu__close span {
  font-size: 20px;
  line-height: 1;
}

.wg-menu nav {
  display: flex;
  flex-direction: column;
  margin-top: clamp(32px, 8vh, 72px);
}

.wg-menu nav a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 17px 0;
  border-top: 1px solid var(--line-on-dark);
  font-size: clamp(19px, 2.6vh, 24px);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.wg-menu nav a:last-child {
  border-bottom: 1px solid var(--line-on-dark);
}

.wg-menu nav a small {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--on-dark-muted);
  min-width: 2.4em;
}

.wg-menu nav a em {
  font-family: var(--font-en);
  font-style: normal;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  margin-left: auto;
}

.wg-menu nav a[aria-current="page"] small {
  color: var(--accent);
}

.wg-menu__foot {
  margin-top: auto;
  padding-top: 40px;
  display: grid;
  gap: 6px;
  font-size: 13.5px;
  color: var(--on-dark-muted);
}

.wg-menu__foot a {
  color: var(--on-dark);
  letter-spacing: 0.04em;
}

/* ---------- 08. フッター・コンタクトバンド ---------- */
.contact-band {
  background: var(--dark);
  color: var(--on-dark);
}

.contact-band__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: clamp(72px, 9vw, 128px);
}

.contact-band__copy {
  display: grid;
  gap: 22px;
}

.contact-band__title {
  font-size: clamp(30px, 4.4vw, 60px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.contact-band__en {
  font-family: var(--font-en);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-band__en::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.contact-band__circle {
  flex: none;
  width: clamp(96px, 11vw, 148px);
  aspect-ratio: 1;
  border: 1px solid var(--line-on-dark);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background-color 380ms var(--ease), border-color 380ms var(--ease),
    color 380ms var(--ease);
}

.contact-band__circle svg {
  width: 30%;
  height: auto;
  transition: transform 380ms var(--ease);
}

.contact-band__link:hover .contact-band__circle,
.contact-band__link:focus-visible .contact-band__circle {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

.contact-band__link:hover .contact-band__circle svg {
  transform: translateX(6px);
}

.site-footer {
  background: var(--dark);
  color: var(--on-dark);
  border-top: 1px solid var(--line-on-dark);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  padding-block: clamp(56px, 7vw, 96px) clamp(40px, 5vw, 64px);
}

.site-footer__brand {
  display: grid;
  gap: 20px;
  align-content: start;
}

.site-footer__mission {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(17px, 1.7vw, 21px);
  letter-spacing: 0.08em;
}

.site-footer__addr {
  font-size: 13px;
  line-height: 2;
  color: var(--on-dark-muted);
  font-style: normal;
}

.site-footer__addr a {
  color: var(--on-dark);
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 32px;
  align-content: start;
}

.site-footer__nav a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-on-dark);
  font-size: 14.5px;
  letter-spacing: 0.04em;
}

.site-footer__nav a small {
  font-family: var(--font-en);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  margin-left: auto;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  padding-block: 22px;
  border-top: 1px solid var(--line-on-dark);
  font-size: 12.5px;
  color: var(--on-dark-muted);
}

.site-footer__bottom a {
  color: var(--on-dark);
  letter-spacing: 0.04em;
}

.site-footer__bottom .to-top {
  margin-left: auto;
}

/* ---------- 09. ページヒーロー（下層共通） ---------- */
.page-hero {
  padding-top: calc(84px + clamp(48px, 7vw, 96px));
  padding-bottom: clamp(36px, 4.5vw, 64px);
}

.page-hero__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-en);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-hero__meta::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.page-hero__display {
  font-family: var(--font-en);
  font-size: clamp(46px, 10.4vw, 148px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.94;
  text-transform: uppercase;
  margin-top: 18px;
  overflow-wrap: anywhere;
}

.page-hero__row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 24px 64px;
  align-items: end;
  margin-top: clamp(28px, 4vw, 52px);
  padding-bottom: clamp(28px, 4vw, 48px);
  border-bottom: 1px solid var(--line-strong);
}

.page-hero__row h1 {
  font-size: clamp(27px, 3.4vw, 50px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.015em;
}

.page-hero__row h1 .t-line {
  display: block;
}

.page-hero__lead {
  font-size: 15.5px;
  line-height: 2.1;
  color: var(--muted);
  max-width: 34em;
}

/* ---------- 10. HOME ---------- */

/* --- FV（giftee型：流れる写真帯＋中央コピー） --- */
.fvg {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(10px, 1.8vh, 22px);
  padding-top: calc(84px + 1vh);
  background: var(--paper);
  overflow: hidden;
}

.fvg-row {
  /* 横のはみ出しはセクション側で切る。縦は写真の上下散らしを活かすため切らない */
  overflow: visible;
  flex: none;
}

.fvg-row--a {
  padding-top: 96px;
}

.fvg-row--b {
  padding-bottom: 84px;
}

.fvg-track {
  display: flex;
  width: max-content;
  animation: fvg-marquee 64s linear infinite;
}

.fvg-track--rev {
  animation: fvg-marquee-rev 78s linear infinite;
}

.is-paused .fvg-track {
  animation-play-state: paused;
}

.fvg-half {
  display: flex;
  align-items: center;
  gap: clamp(48px, 8.5vw, 176px);
  padding-right: clamp(48px, 8.5vw, 176px);
}

.fvg-item {
  display: block;
  flex: none;
  transform: translateY(calc(var(--lift, 0px) * var(--lift-scale, 1)));
}

.fvg-item img {
  height: 100%;
  width: auto;
  display: block;
}

.fvg-item--s { height: clamp(120px, 15vh, 168px); }
.fvg-item--m { height: clamp(150px, 19vh, 212px); }
.fvg-item--l { height: clamp(200px, 26vh, 288px); }

@keyframes fvg-marquee {
  to { transform: translateX(-50%); }
}

@keyframes fvg-marquee-rev {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.fvg__copy {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: clamp(16px, 2.4vh, 26px);
}

.fvg__copy h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(27px, 3.3vw, 46px);
  line-height: 1.68;
  letter-spacing: 0.085em;
}

.fvg__copy h1 span {
  display: block;
}

/* キーワード「君が欲しい」の強調（A案：色＋サイズ＋太字） */
.fvg-em {
  font-style: normal;
  color: var(--accent-dark);
  font-size: 1.1em;
  font-weight: 700;
}

.fvg__lead {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 2;
  color: var(--ink);
}

.fvg__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 40px;
}

/* FV導入アニメーション */
.fvg__copy h1 span,
.fvg__lead,
.fvg__actions {
  opacity: 0;
  transform: translateY(16px);
  animation: fv-in 900ms var(--ease) forwards;
}

.fvg__copy h1 span:nth-child(1) { animation-delay: 160ms; }
.fvg__copy h1 span:nth-child(2) { animation-delay: 320ms; }
.fvg__copy h1 span:nth-child(3) { animation-delay: 480ms; }
.fvg__lead { animation-delay: 720ms; }
.fvg__actions { animation-delay: 880ms; }

@keyframes fv-in {
  to { opacity: 1; transform: none; }
}

.fvg__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: calc(var(--wide) + var(--pad) * 2);
  margin-inline: auto;
  padding: 0 var(--pad) 18px;
  font-family: var(--font-en);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.fvg__foot-left {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

/* 写真の動きの一時停止／再開 */
.fvg__pause {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: border-color 240ms var(--ease), background-color 240ms var(--ease);
}

.fvg__pause:hover {
  border-color: var(--ink);
  background: var(--white);
}

.ic-pause {
  display: block;
  width: 9px;
  height: 11px;
  position: relative;
}

.ic-pause::before,
.ic-pause::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2.5px;
  background: currentColor;
}

.ic-pause::before { left: 0; }
.ic-pause::after { right: 0; }

.ic-play {
  display: block;
  width: 0;
  height: 0;
  border-left: 9px solid currentColor;
  border-top: 5.5px solid transparent;
  border-bottom: 5.5px solid transparent;
  margin-left: 2px;
}

/* 縦組みのSCROLL＋下へ流れる縦線 */
.fv__scroll {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--muted);
}

.fv__scroll em {
  font-style: normal;
  writing-mode: vertical-rl;
  letter-spacing: 0.24em;
}

.fv__scroll::after {
  content: "";
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, rgba(17, 19, 24, 0.75), rgba(17, 19, 24, 0.04));
  transform-origin: top;
  animation: scroll-line 2.6s var(--ease) infinite;
}

@keyframes scroll-line {
  0% { transform: scaleY(0); opacity: 0; }
  35% { transform: scaleY(1); opacity: 1; }
  75% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* --- Reality --- */
.reality {
  padding-block: var(--sec-lg);
}

.reality__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 40px 72px;
  align-items: start;
}

.giant-en {
  font-family: var(--font-en);
  font-size: clamp(58px, 8.6vw, 124px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.94;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.reality__body .eyebrow {
  margin-bottom: 26px;
}

.reality__body h2 {
  font-size: clamp(25px, 2.9vw, 40px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

.reality__text {
  margin-top: clamp(28px, 3.4vw, 44px);
  display: grid;
  gap: 14px;
  max-width: 36em;
  font-size: 16px;
  line-height: 2.15;
}

/* --- Candidate Experience --- */
.cx {
  background: var(--white);
}

.cx__head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 32px 72px;
  align-items: start;
  margin-bottom: clamp(48px, 6.5vw, 88px);
}

.cx__head .eyebrow {
  margin-bottom: 26px;
}

.cx__head h2 {
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.55;
}

.cx__head > p {
  font-size: 15.5px;
  line-height: 2.15;
  color: var(--muted);
  align-self: end;
}

.cx__rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 2px solid var(--line-strong);
}

.cx__rail li {
  padding: 30px 26px 8px 0;
}

.cx__rail li + li {
  border-left: 1px solid var(--line);
  padding-left: 26px;
}

.cx__num {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent-dark);
}

.cx__stage {
  display: block;
  margin-top: 14px;
  font-size: clamp(20px, 1.9vw, 25px);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.cx__points {
  margin-top: 18px;
  display: grid;
  gap: 8px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
}

.cx__link {
  margin-top: clamp(40px, 5vw, 64px);
  display: flex;
  justify-content: flex-end;
}

/* --- Mission / Vision --- */
.mission {
  position: relative;
  background: var(--dark);
  color: var(--on-dark);
  overflow: hidden;
}

.mission__arc {
  position: absolute;
  top: -22%;
  right: -14%;
  width: clamp(480px, 58vw, 980px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(244, 244, 240, 0.1);
  pointer-events: none;
}

.mission__arc::after {
  content: "";
  position: absolute;
  inset: 11%;
  border-radius: 50%;
  border: 1px solid rgba(244, 244, 240, 0.06);
}

.mission__inner {
  position: relative;
  padding-block: var(--sec-lg);
}

.mission__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(44px, 6vw, 80px);
}

.mission__index {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--on-dark-muted);
}

.mission__statement {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(34px, 5.4vw, 78px);
  line-height: 1.62;
  letter-spacing: 0.08em;
}

.mission__statement span {
  display: block;
}

.mission__body {
  margin-top: clamp(36px, 4.6vw, 56px);
  max-width: 37em;
  font-size: 15.5px;
  line-height: 2.2;
  color: rgba(244, 244, 240, 0.85);
}

.mission__vision {
  margin-top: clamp(56px, 7.5vw, 104px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--line-on-dark);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px 64px;
  align-items: baseline;
}

.mission__vision strong {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(23px, 3vw, 40px);
  letter-spacing: 0.08em;
  line-height: 1.7;
}

.mission__vision strong span {
  display: inline-block;
}

/* --- Service preview --- */
.svc__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(40px, 5.5vw, 72px);
}

.svc__head .eyebrow {
  margin-bottom: 26px;
}

.svc-rows {
  border-top: 1px solid var(--line-strong);
}

.svc-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto 32px;
  gap: 24px 40px;
  align-items: center;
  padding: clamp(34px, 4.4vw, 56px) clamp(4px, 1vw, 16px);
  border-bottom: 1px solid var(--line-strong);
  transition: background-color 360ms var(--ease), padding 360ms var(--ease);
}

.svc-row:hover,
.svc-row:focus-visible {
  background: var(--white);
}

.svc-row__num {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent-dark);
}

.svc-row h3 {
  font-size: clamp(23px, 2.7vw, 36px);
  font-weight: 700;
  letter-spacing: 0.015em;
}

.svc-row__desc {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 2;
  color: var(--muted);
  max-width: 34em;
}

.svc-row__price {
  text-align: right;
  white-space: nowrap;
}

.svc-row__price strong {
  font-family: var(--font-en);
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-feature-settings: "tnum";
}

.svc-row__price em {
  font-style: normal;
  font-size: 13px;
  color: var(--muted);
  margin-left: 6px;
}

.svc-row__price--text strong {
  font-family: var(--font-sans);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.svc-row__arrow {
  color: var(--muted);
  transition: transform 360ms var(--ease), color 360ms var(--ease);
}

.svc-row:hover .svc-row__arrow {
  transform: translateX(6px);
  color: var(--ink);
}

/* --- Project preview --- */
.proj-preview {
  background: var(--gray-bg);
}

.proj-preview__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px 88px;
  align-items: center;
}

.proj-preview__copy .eyebrow {
  margin-bottom: 26px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--ink);
  padding: 6px 14px;
  font-family: var(--font-en);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.proj-preview__copy h2 {
  margin-top: 20px;
  font-size: clamp(25px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.5;
}

.proj-preview__type {
  margin-top: 10px;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--accent-dark);
  font-weight: 500;
}

.proj-preview__copy > p:not(.proj-preview__type) {
  margin-top: 22px;
  font-size: 15px;
  line-height: 2.1;
  color: var(--muted);
  max-width: 32em;
}

.proj-preview__copy .text-link {
  margin-top: 32px;
}

/* 成果物モック（誌面） */
.report {
  position: relative;
  aspect-ratio: 210 / 250;
  max-width: 520px;
}

.report__sheet {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.report__main {
  inset: 0 14% 6% 0;
  padding: clamp(18px, 2.4vw, 30px);
  gap: 0;
}

.report__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--font-en);
}

.report__head span {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.01em;
}

.report__head small {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.report__title {
  margin-top: clamp(18px, 2.4vw, 30px);
}

.report__title small {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent-dark);
}

.report__title strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(19px, 2.3vw, 27px);
  font-weight: 700;
  line-height: 1.5;
}

.report__grid {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.report__grid span {
  aspect-ratio: 1 / 0.72;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.report__grid span::after {
  content: "";
  position: absolute;
  left: 18%;
  bottom: 22%;
  width: 38%;
  height: 2px;
  background: var(--line);
}

.report__grid span:nth-child(3)::after {
  background: var(--accent);
  width: 52%;
}

.report__sub {
  padding: 14px 16px;
  gap: 6px;
  justify-content: center;
}

.report__sub small {
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.report__sub span {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.report__sub--1 {
  right: 0;
  top: 12%;
  width: 42%;
}

.report__sub--2 {
  right: 4%;
  top: 38%;
  width: 46%;
}

.report__caption {
  position: absolute;
  left: 0;
  bottom: -34px;
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --- 志ノオト preview --- */
.stories-preview {
  position: relative;
  overflow: hidden;
  padding-block: var(--sec-lg);
}

.stories-preview__chars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--ink);
}

.stories-preview__chars span {
  position: absolute;
  opacity: 0.07;
  line-height: 1;
}

.stories-preview__chars span:nth-child(1) {
  top: 6%;
  left: 4%;
  font-size: clamp(120px, 17vw, 260px);
}

.stories-preview__chars span:nth-child(2) {
  top: 38%;
  left: 30%;
  font-size: clamp(64px, 8.5vw, 130px);
  opacity: 0.05;
}

.stories-preview__chars span:nth-child(3) {
  bottom: 10%;
  right: 26%;
  font-size: clamp(90px, 12vw, 190px);
}

.stories-preview__chars span:nth-child(4) {
  top: 12%;
  right: 6%;
  font-size: clamp(72px, 10vw, 150px);
  opacity: 0.05;
}

.stories-preview__inner {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 26px;
}

.stories-preview__inner h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(30px, 4vw, 52px);
  letter-spacing: 0.14em;
}

.stories-preview__inner h2 small {
  display: block;
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--muted);
  font-family: var(--font-sans);
  font-weight: 400;
}

.stories-preview__inner p {
  max-width: 33em;
  font-size: 15px;
  line-height: 2.2;
  color: var(--muted);
}

/* ---------- 11. SERVICE ---------- */

/* 8つの採用接点（統合マップ） */
.tpmap {
  background: var(--white);
}

.tpmap__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px 72px;
  margin-bottom: clamp(44px, 5.5vw, 72px);
}

.tpmap__head .eyebrow {
  margin-bottom: 26px;
}

.tpmap__head p {
  font-size: 15px;
  line-height: 2.15;
  color: var(--muted);
  align-self: end;
}

.tpmap__stages {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  border-top: 2px solid var(--line-strong);
}

.tpmap__stages span {
  padding: 16px 16px 13px 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--line);
}

.tpmap__stages span + span {
  border-left: 1px solid var(--line-strong);
  padding-left: 18px;
}

.tpmap__points {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
}

.tpmap__points > li {
  padding: 24px 14px 12px 0;
}

.tpmap__points > li + li {
  border-left: 1px solid var(--line);
  padding-left: 16px;
}

.tpmap__points > li + li[data-stage] {
  border-left-color: var(--line-strong);
}

.tpmap__points > li > small {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent-dark);
}

.tpmap__points > li > h3 {
  margin-top: 10px;
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.tpmap__points ul {
  margin-top: 14px;
  display: grid;
  gap: 7px;
  align-content: start;
}

.tpmap__points ul li {
  font-size: 11.5px;
  line-height: 1.75;
  color: var(--muted);
}

/* 不採用・辞退の別ルート（選考の途中から分岐する細線＋注記） */
.tpmap__branch {
  margin-left: 50%;
  margin-top: 10px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.tpmap__branch::before {
  content: "";
  flex: none;
  width: 22px;
  height: 30px;
  border-left: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.tpmap__branch strong {
  display: block;
  padding-top: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.tpmap__branch p {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.tpmap__note {
  margin-top: clamp(44px, 5.5vw, 64px);
}

.tpmap__note strong {
  font-family: var(--font-serif);
  font-size: clamp(21px, 2.5vw, 31px);
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.1em;
}

/* 採用課題診断（ダークブロック） */
.diagnosis {
  background: var(--dark);
  color: var(--on-dark);
}

.diagnosis__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px 48px;
  padding-bottom: clamp(32px, 4vw, 48px);
  border-bottom: 1px solid var(--line-on-dark);
}

.diagnosis__head .eyebrow {
  margin-bottom: 26px;
}

.diagnosis__head h2 {
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.diagnosis__price {
  text-align: right;
}

.diagnosis__price strong {
  font-family: var(--font-en);
  font-size: clamp(40px, 5.4vw, 72px);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-feature-settings: "tnum";
  line-height: 1;
}

.diagnosis__price em {
  font-style: normal;
  font-size: 14px;
  margin-left: 8px;
}

.diagnosis__price small {
  display: block;
  margin-top: 12px;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--on-dark-muted);
}

.diagnosis__bridge {
  margin-top: clamp(32px, 4vw, 48px);
  font-size: 15.5px;
  font-weight: 400;
  line-height: 2.2;
  letter-spacing: 0.02em;
  color: rgba(244, 244, 240, 0.85);
  max-width: 44em;
}

.diagnosis__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 40px 88px;
  padding-block: clamp(40px, 5vw, 64px);
}

.diagnosis__lead h3 {
  font-size: clamp(21px, 2.3vw, 28px);
  font-weight: 700;
  line-height: 1.6;
}

.diagnosis__lead p {
  margin-top: 20px;
  font-size: 14.5px;
  line-height: 2.15;
  color: rgba(244, 244, 240, 0.82);
  max-width: 30em;
}

.diagnosis__specs {
  display: grid;
  align-content: start;
}

.diagnosis__specs > div {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 24px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-on-dark);
  font-size: 14.5px;
}

.diagnosis__specs > div:first-child {
  border-top: 1px solid var(--line-on-dark);
}

.diagnosis__specs dt {
  color: var(--on-dark-muted);
  letter-spacing: 0.06em;
}

.diagnosis__deliv {
  border-top: 1px solid var(--line-on-dark);
  padding-top: clamp(32px, 4vw, 48px);
}

.diagnosis__deliv > p {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--on-dark-muted);
  margin-bottom: 8px;
}

.diagnosis__deliv ol {
  counter-reset: dv;
}

.diagnosis__deliv li {
  display: flex;
  align-items: baseline;
  gap: 26px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-on-dark);
}

.diagnosis__deliv li small {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.diagnosis__deliv li strong {
  font-size: clamp(19px, 2.2vw, 26px);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.diagnosis__deliv li span {
  margin-left: auto;
  font-size: 13px;
  color: var(--on-dark-muted);
  text-align: right;
  max-width: 22em;
}

.diagnosis__link {
  margin-top: clamp(36px, 4.5vw, 56px);
  display: flex;
  justify-content: flex-end;
}

/* 採用改善プロジェクト */
.units__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  margin-bottom: clamp(24px, 3vw, 40px);
}

.units__head .eyebrow {
  margin-bottom: 26px;
}

.units__price {
  text-align: right;
}

.units__price small {
  display: block;
  font-family: var(--font-en);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.units__price strong {
  font-size: clamp(21px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.units__lead {
  font-size: 15.5px;
  line-height: 2.15;
  color: var(--muted);
  max-width: 40em;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.unit-list {
  border-top: 1px solid var(--line-strong);
}

.unit-list article {
  display: grid;
  grid-template-columns: 72px minmax(0, 0.9fr) minmax(0, 1.3fr);
  gap: 16px 40px;
  align-items: baseline;
  padding: clamp(22px, 2.8vw, 34px) 4px;
  border-bottom: 1px solid var(--line);
  transition: background-color 320ms var(--ease);
}

.unit-list article:last-child {
  border-bottom-color: var(--line-strong);
}

.unit-list article:hover {
  background: var(--white);
}

.unit-list small {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent-dark);
}

.unit-list__t {
  display: grid;
  gap: 8px;
  align-content: start;
}

.unit-tp {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent-dark);
}

.unit-list h3 {
  font-size: clamp(17.5px, 1.8vw, 21px);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.unit-list p {
  font-size: 14px;
  line-height: 2;
  color: var(--muted);
}

/* ご依頼の流れ */
.flow {
  background: var(--gray-bg);
}

.flow__head {
  margin-bottom: clamp(44px, 5.5vw, 72px);
}

.flow__head .eyebrow {
  margin-bottom: 26px;
}

.flow ol {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 2px solid var(--line-strong);
}

.flow li {
  padding: 26px 24px 8px 0;
  position: relative;
}

.flow li + li {
  border-left: 1px solid var(--line);
  padding-left: 24px;
}

.flow li small {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent-dark);
}

.flow li h3 {
  margin-top: 14px;
  font-size: clamp(17px, 1.7vw, 20px);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.flow li p {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.95;
  color: var(--muted);
}

/* FAQ */
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  gap: 40px 88px;
}

.faq__grid .eyebrow {
  margin-bottom: 26px;
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list details:last-child {
  border-bottom-color: var(--line-strong);
}

.faq-list summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 4px;
  font-size: 16.5px;
  font-weight: 500;
  cursor: pointer;
  transition: color 240ms var(--ease);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary:hover {
  color: var(--accent-dark);
}

.faq-list summary i {
  flex: none;
  position: relative;
  width: 16px;
  height: 16px;
}

.faq-list summary i::before,
.faq-list summary i::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  translate: 0 -50%;
  transition: rotate 320ms var(--ease);
}

.faq-list summary i::after {
  rotate: 90deg;
}

.faq-list details[open] summary i::after {
  rotate: 0deg;
}

.faq-list details p {
  padding: 0 4px 28px;
  font-size: 14.5px;
  line-height: 2.1;
  color: var(--muted);
  max-width: 40em;
}

/* ---------- 12. PROJECTS ---------- */
.featured {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 64px 96px;
  align-items: center;
}

.featured__meta {
  display: grid;
  gap: 0;
  align-content: start;
}

.featured__meta .badge {
  justify-self: start;
  margin-bottom: 24px;
}

.featured__meta h2 {
  font-size: clamp(27px, 3.3vw, 44px);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: clamp(28px, 3.6vw, 44px);
}

.featured__meta dl > div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
}

.featured__meta dl > div:last-child {
  border-bottom: 1px solid var(--line);
}

.featured__meta dt {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 4px;
}

.proj-story {
  background: var(--white);
}

.proj-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  gap: 40px 88px;
}

.proj-story__aside {
  display: grid;
  gap: 20px;
  align-content: start;
}

.proj-story__aside span {
  font-family: var(--font-en);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  color: var(--line);
  letter-spacing: -0.02em;
}

.proj-story__body h2 {
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 700;
}

.proj-story__body > p {
  margin-top: 24px;
  font-size: 15px;
  line-height: 2.15;
  color: var(--muted);
  max-width: 42em;
}

.proj-facts {
  margin-top: clamp(36px, 4.5vw, 56px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid var(--line-strong);
}

.proj-facts > div {
  padding: 22px 22px 4px 0;
}

.proj-facts > div + div {
  border-left: 1px solid var(--line);
  padding-left: 22px;
}

.proj-facts small {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent-dark);
}

.proj-facts strong {
  display: block;
  margin-top: 12px;
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 700;
}

.proj-facts span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

.proj-deliv ol {
  counter-reset: pd;
  border-top: 1px solid var(--line-strong);
  margin-top: clamp(36px, 4.5vw, 56px);
}

.proj-deliv li {
  display: grid;
  grid-template-columns: 72px minmax(0, 0.9fr) minmax(0, 1.3fr);
  gap: 16px 40px;
  align-items: baseline;
  padding: clamp(24px, 3vw, 36px) 4px;
  border-bottom: 1px solid var(--line);
}

.proj-deliv li:last-child {
  border-bottom-color: var(--line-strong);
}

.proj-deliv li small {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent-dark);
}

.proj-deliv h3 {
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.proj-deliv p {
  font-size: 14px;
  line-height: 2;
  color: var(--muted);
}

/* ---------- 13. STORIES ---------- */
.stories-hero {
  position: relative;
  overflow: hidden;
  padding-block: var(--sec-lg);
  min-height: clamp(420px, 62vh, 640px);
  display: grid;
  align-items: center;
}

.stories-hero .stories-preview__chars span:nth-child(1) {
  top: -4%;
  left: 2%;
}

.stories-hero__copy {
  position: relative;
  display: grid;
  gap: 24px;
  justify-items: center;
  text-align: center;
}

.stories-hero__copy .eyebrow {
  justify-content: center;
}

.stories-hero__copy h2 {
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.stories-hero__copy > p {
  max-width: 34em;
  font-size: 15px;
  line-height: 2.2;
  color: var(--muted);
}

.stories-themes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 14px;
  margin-top: 10px;
}

.stories-themes li {
  border: 1px solid var(--line);
  padding: 9px 20px;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.6);
}

.editorial-process {
  background: var(--white);
}

.editorial-process__head {
  margin-bottom: clamp(44px, 5.5vw, 72px);
}

.editorial-process__head .eyebrow {
  margin-bottom: 26px;
}

.editorial-process ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid var(--line-strong);
}

.editorial-process li {
  padding: 28px 28px 8px 0;
}

.editorial-process li + li {
  border-left: 1px solid var(--line);
  padding-left: 28px;
}

.editorial-process li small {
  font-family: var(--font-en);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.editorial-process li h3 {
  margin-top: 16px;
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  letter-spacing: 0.1em;
}

.editorial-process li p {
  margin-top: 14px;
  font-size: 14px;
  line-height: 2.05;
  color: var(--muted);
}

/* ---------- 14. COMPANY ---------- */
.philosophy {
  position: relative;
  background: var(--dark);
  color: var(--on-dark);
  overflow: hidden;
}

.philosophy .mission__arc {
  top: auto;
  bottom: -30%;
  left: -18%;
  right: auto;
}

.philosophy__inner {
  position: relative;
  padding-block: var(--sec-lg);
  display: grid;
  gap: clamp(64px, 9vw, 120px);
}

.philosophy__block {
  display: grid;
  gap: clamp(24px, 3vw, 36px);
}

.philosophy__block .eyebrow {
  margin-bottom: 0;
}

.philosophy__block .mission__statement {
  font-size: clamp(30px, 4.6vw, 66px);
}

.philosophy__block p {
  max-width: 37em;
  font-size: 15px;
  line-height: 2.2;
  color: rgba(244, 244, 240, 0.85);
}

.values {
  padding-block: var(--sec);
}

.values__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.values__head .eyebrow {
  margin-bottom: 22px;
}

.values ul {
  border-top: 1px solid var(--line-strong);
}

.values li {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding: clamp(28px, 3.6vw, 44px) 4px;
  border-bottom: 1px solid var(--line);
  transition: background-color 320ms var(--ease);
}

.values li:last-child {
  border-bottom-color: var(--line-strong);
}

.values li:hover {
  background: var(--white);
}


.values li strong {
  font-family: var(--font-en);
  font-size: clamp(27px, 3.6vw, 48px);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.message {
  background: var(--white);
}

.biz__head {
  margin-bottom: clamp(24px, 3vw, 40px);
}

.biz__head .eyebrow {
  margin-bottom: 26px;
}

.biz-list {
  border-top: 1px solid var(--line-strong);
}

.biz-list article {
  display: grid;
  grid-template-columns: 72px minmax(0, 0.9fr) minmax(0, 1.3fr) auto;
  gap: 16px 40px;
  align-items: baseline;
  padding: clamp(26px, 3.2vw, 40px) 4px;
  border-bottom: 1px solid var(--line);
}

.biz-list article:last-child {
  border-bottom-color: var(--line-strong);
}

.biz-list small {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent-dark);
}

.biz-list h3 {
  font-size: clamp(18.5px, 2vw, 23px);
  font-weight: 700;
}

.biz-list p {
  font-size: 14px;
  line-height: 2;
  color: var(--muted);
}

.profile {
  background: var(--gray-bg);
}

.profile__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  gap: 40px 88px;
}

.profile__grid .eyebrow {
  margin-bottom: 26px;
}

.profile dl {
  border-top: 1px solid var(--line-strong);
}

.profile dl > div {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 24px;
  padding: 17px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  line-height: 1.9;
}

.profile dl > div:last-child {
  border-bottom-color: var(--line-strong);
}

.profile dt {
  color: var(--muted);
  letter-spacing: 0.06em;
}

.profile dd a {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--line);
  transition: text-decoration-color 240ms var(--ease);
}

.profile dd a:hover {
  text-decoration-color: var(--accent-dark);
}

/* ---------- 15. CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr);
  gap: 56px 96px;
  align-items: start;
}

.contact-intro {
  display: grid;
  gap: 24px;
  align-content: start;
  position: sticky;
  top: 116px;
}

.contact-intro h2 {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  line-height: 1.6;
}

.contact-intro > p {
  font-size: 14.5px;
  line-height: 2.15;
  color: var(--muted);
  max-width: 26em;
}

.contact-direct {
  margin-top: 16px;
  border-top: 1px solid var(--line-strong);
}

.contact-direct > div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  align-items: baseline;
}

.contact-direct dt {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-direct dd a {
  font-family: var(--font-en);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.contact-direct dd a:hover {
  color: var(--accent-dark);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(28px, 3.6vw, 56px);
  display: grid;
  gap: 26px;
}

.field {
  display: grid;
  gap: 10px;
}

.field__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.field__label small {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border: 1px solid var(--ink);
  color: var(--ink);
}

.field__label small.optional {
  border-color: var(--line);
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.6;
  border-radius: 0;
  transition: border-color 240ms var(--ease), background-color 240ms var(--ease);
  appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111318' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 0;
  border-color: var(--accent-dark);
  background: var(--white);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9a9c9f;
}

.field--error input,
.field--error select,
.field--error textarea {
  border-color: var(--error);
}

.field__error {
  font-size: 12.5px;
  color: var(--error);
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.check-field {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.check-field input {
  width: 20px;
  height: 20px;
  accent-color: var(--ink);
}

.check-field a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-form .pill {
  justify-self: start;
  min-width: 220px;
  min-height: 60px;
}

.contact-form .pill[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
}

.contact-form .pill[aria-disabled="true"]:hover {
  background: var(--ink);
}

.mock-note {
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------- 15.5 MESSAGE（代表メッセージ） ---------- */
.msg-hero {
  position: relative;
  min-height: 88svh;
  display: flex;
  align-items: center;
  background-color: #1e6f86;
  background-image: url("assets/img/message-hero.jpg");
  background-size: cover;
  background-position: right 56%;
  background-repeat: no-repeat;
  color: var(--on-dark);
  overflow: hidden;
}

.msg-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(6, 30, 48, 0.46) 0%, rgba(6, 30, 48, 0.18) 42%, rgba(6, 30, 48, 0) 68%),
    linear-gradient(to top, rgba(6, 30, 48, 0.28), transparent 34%);
}

.msg-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-start;
  padding-block: 160px 120px;
}

.msg-hero__copy {
  display: grid;
  gap: clamp(24px, 4vh, 40px);
  justify-items: start;
}

.msg-hero__label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-en);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 244, 240, 0.75);
}

.msg-hero__label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.msg-hero__statement {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(30px, 4.4vw, 56px);
  line-height: 1.9;
  letter-spacing: 0.12em;
  text-shadow: 0 2px 28px rgba(0, 20, 40, 0.35);
}

.msg-hero__statement span {
  display: block;
}

.msg-hero__name {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-size: 13px;
  color: rgba(244, 244, 240, 0.8);
}

.msg-hero__name strong {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--on-dark);
}

.msg-open__grid,
.msg-close__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr);
  gap: 32px 88px;
}

.msg-open__body,
.msg-close__body {
  display: grid;
  gap: 26px;
  max-width: 42em;
}

.msg-lead {
  font-size: clamp(16.5px, 1.7vw, 19px);
  line-height: 2.3;
}

.msg-pull {
  font-size: clamp(21px, 2.5vw, 32px);
  font-weight: 700;
  line-height: 1.85;
  letter-spacing: 0.02em;
}

.msg-career__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 40px 72px;
  align-items: center;
}

.msg-career__photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--gray-bg);
}

.msg-career__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 30%;
}

.msg-career__photo small {
  position: absolute;
  left: 0;
  bottom: -30px;
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.msg-career__text .eyebrow {
  margin-bottom: 22px;
}

.msg-career__grid .eyebrow {
  margin-bottom: 24px;
}

.msg-career__grid h2 {
  font-size: clamp(22px, 2.4vw, 31px);
  font-weight: 700;
  line-height: 1.6;
}

.msg-career__grid h2 .t-line {
  display: block;
}

.msg-career__body {
  display: grid;
  gap: 22px;
  max-width: 42em;
  font-size: 16px;
  line-height: 2.3;
}

.msg-core {
  position: relative;
  background: var(--dark);
  color: var(--on-dark);
  overflow: hidden;
  padding-block: clamp(100px, 13vw, 180px);
}

.msg-core::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -12%;
  width: clamp(420px, 52vw, 880px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(244, 244, 240, 0.09);
}

.msg-core__statement {
  position: relative;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(24px, 3.4vw, 48px);
  line-height: 2;
  letter-spacing: 0.1em;
}

.msg-core__statement span {
  display: block;
}

.msg-close__body h2 {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.msg-close__last {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.9;
  letter-spacing: 0.08em;
}

/* 文節の途中で折り返させない（スマホの結び一文など） */
.u-nowrap {
  white-space: nowrap;
}

.msg-sign {
  margin-top: clamp(28px, 3.6vw, 44px);
  display: flex;
  align-items: baseline;
  gap: 18px;
  justify-content: flex-end;
  font-size: 13px;
  color: var(--muted);
}

.msg-sign strong {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.14em;
}

/* COMPANYの代表メッセージティザー */
.msg-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 48px 96px;
  align-items: center;
}

.msg-teaser__photo {
  aspect-ratio: 4 / 5;
  max-width: 420px;
  width: 100%;
  border: 1px solid var(--line);
  background-color: var(--gray-bg);
  background-image: url("assets/img/ceo-portrait-2.jpg");
  background-size: cover;
  background-position: center 30%;
}

.msg-teaser__copy .eyebrow {
  margin-bottom: 26px;
}

.msg-teaser__copy h2 {
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 700;
  margin-bottom: 20px;
}

.msg-teaser__copy p {
  font-size: 15px;
  line-height: 2.15;
  color: var(--muted);
  max-width: 30em;
  margin-bottom: 28px;
}

/* ---------- 16. PRIVACY ---------- */
.privacy-note {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  gap: 40px 88px;
}

.privacy-note .eyebrow {
  margin-bottom: 26px;
}

.privacy-note h2 {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
}

.privacy-note p {
  font-size: 15px;
  line-height: 2.2;
  color: var(--muted);
  max-width: 40em;
}

/* ---------- 17. モーション ---------- */
/* .rvクラスはスクロール出現アニメーションの適用候補マーカー。
   本モックでは安定性を優先して無効化（撮影・印刷・非対応環境で内容が
   非表示になるため）。STUDIO移植時はSTUDIO標準のアピアランスで
   「8〜16pxの上移動＋フェード（240〜480ms）」を.rv相当の要素に設定する。 */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .fvg__copy h1 span,
  .fvg__lead,
  .fvg__actions {
    opacity: 1;
    transform: none;
  }

  .fvg-track {
    animation: none;
  }
}

/* =============================================================
   レスポンシブ
   ============================================================= */

/* Tablet: 900–1139px */
@media (max-width: 1139px) {
  .header-nav {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .site-header {
    height: 72px;
  }

  .header-contact {
    display: none;
  }

  .page-hero {
    padding-top: calc(72px + clamp(40px, 7vw, 72px));
  }

  .tpmap__stages {
    display: none;
  }

  .tpmap__points {
    grid-template-columns: minmax(0, 1fr);
    border-top: 0;
    border-left: 2px solid var(--line-strong);
  }

  .tpmap__points > li,
  .tpmap__points > li + li {
    border-left: 0;
    padding: 22px 0 22px 24px;
    border-bottom: 1px solid var(--line);
  }

  .tpmap__points > li:last-child {
    border-bottom: 0;
  }

  .tpmap__points > li[data-stage]::before {
    content: attr(data-stage);
    display: inline-block;
    margin-bottom: 12px;
    padding: 5px 12px;
    border: 1px solid var(--line-strong);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
  }

  .tpmap__branch {
    margin-left: 24px;
  }
}

/* タブレット帯だけの2列化（モバイルの縦積みへ漏らさない） */
@media (min-width: 900px) and (max-width: 1139px) {
  .cx__rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cx__rail li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .cx__rail li:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .flow ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .flow li:nth-child(3),
  .flow li:nth-child(5) {
    border-left: 0;
    padding-left: 0;
  }

}

/* Mobile: 〜899px */
@media (max-width: 899px) {
  :root {
    --sec: clamp(72px, 14vw, 104px);
    --sec-lg: clamp(88px, 17vw, 128px);
  }

  .site-header {
    height: 64px;
  }

  .page-hero {
    padding-top: calc(64px + 44px);
  }

  .page-hero__row {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 20px;
  }

  .fvg {
    padding-top: calc(64px + 1vh);
  }

  .fvg__copy h1 {
    font-size: clamp(25px, 6.9vw, 34px);
    line-height: 1.86;
  }

  .fvg-row--a {
    padding-top: 30px;
  }

  .fvg-row--b {
    padding-bottom: 30px;
  }

  .fvg {
    --lift-scale: 0.5;
  }

  .fvg__foot-left > span {
    display: none;
  }

  .reality__grid,
  .cx__head,
  .svc__head,
  .proj-preview__grid,
  .featured,
  .proj-story__grid,
  .faq__grid,
  .tpmap__head,
  .diagnosis__body,
  .profile__grid,
  .contact-grid,
  .privacy-note,
  .msg-open__grid,
  .msg-close__grid,
  .msg-career__grid,
  .msg-teaser {
    grid-template-columns: minmax(0, 1fr);
  }

  .svc__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .giant-en {
    font-size: clamp(52px, 15vw, 96px);
  }

  .cx__rail {
    grid-template-columns: minmax(0, 1fr);
    border-top: 0;
    border-left: 2px solid var(--line-strong);
  }

  .cx__rail li,
  .cx__rail li + li {
    border-left: 0;
    border-top: 0;
    padding: 20px 0 20px 24px;
    border-bottom: 1px solid var(--line);
  }

  .cx__rail li:last-child {
    border-bottom: 0;
  }

  .cx__points {
    margin-top: 12px;
  }

  .svc-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding-inline: 0;
  }

  .svc-row__price {
    text-align: left;
  }

  .svc-row__arrow {
    display: none;
  }

  .mission__vision {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .report {
    max-width: 440px;
    margin-inline: auto;
  }

  .stories-preview__chars span:nth-child(2) {
    display: none;
  }


  .diagnosis__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .diagnosis__price {
    text-align: left;
  }

  .diagnosis__deliv li {
    flex-wrap: wrap;
    gap: 12px 20px;
  }

  .diagnosis__deliv li span {
    margin-left: 0;
    text-align: left;
    max-width: none;
    flex-basis: 100%;
  }

  .unit-list article,
  .biz-list article,
  .proj-deliv li {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 8px 20px;
  }

  .unit-list p,
  .biz-list p,
  .proj-deliv p {
    grid-column: 2;
  }

  .biz-list .text-link {
    grid-column: 2;
    justify-self: start;
  }

  .flow ol {
    grid-template-columns: minmax(0, 1fr);
    border-top: 0;
    border-left: 2px solid var(--line-strong);
  }

  .flow li,
  .flow li + li {
    border-left: 0;
    border-top: 0;
    border-bottom: 1px solid var(--line);
    padding: 20px 0 20px 24px;
  }

  .flow li:last-child {
    border-bottom: 0;
  }

  .proj-facts {
    grid-template-columns: minmax(0, 1fr);
    border-top: 0;
    border-left: 2px solid var(--line-strong);
  }

  .proj-facts > div,
  .proj-facts > div + div {
    border-left: 0;
    padding: 18px 0 18px 22px;
    border-bottom: 1px solid var(--line);
  }

  .proj-facts > div:last-child {
    border-bottom: 0;
  }

  .editorial-process ol {
    grid-template-columns: minmax(0, 1fr);
    border-top: 0;
    border-left: 2px solid var(--line-strong);
  }

  .editorial-process li,
  .editorial-process li + li {
    border-left: 0;
    padding: 22px 0 22px 24px;
    border-bottom: 1px solid var(--line);
  }

  .editorial-process li:last-child {
    border-bottom: 0;
  }



  .contact-intro {
    position: static;
  }

  .msg-hero {
    min-height: 80svh;
    background-image: url("assets/img/message-hero-mobile.jpg");
    background-position: right center;
  }

  .msg-hero__inner {
    padding-block: 120px 88px;
  }

  .msg-hero__statement {
    font-size: clamp(24px, 6.9vw, 30px);
    letter-spacing: 0.09em;
    line-height: 1.85;
  }

  .msg-career__photo {
    aspect-ratio: 3 / 2;
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .contact-band__link {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }

}

/* Small mobile: 〜559px */
@media (max-width: 559px) {
  :root {
    --pad: 20px;
  }

  .fvg__copy h1 {
    letter-spacing: 0.06em;
  }

  .fvg__actions {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  .page-hero__display {
    font-size: clamp(40px, 13.5vw, 64px);
  }

  .mission__statement {
    font-size: clamp(27px, 8vw, 40px);
  }

  .philosophy__block .mission__statement {
    font-size: clamp(25px, 7.4vw, 36px);
  }

  .contact-band__title {
    font-size: clamp(26px, 7.6vw, 34px);
  }

  .site-footer__nav {
    grid-template-columns: minmax(0, 1fr);
  }

  .featured__meta dl > div {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .profile dl > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding-block: 14px;
  }

  .profile dt {
    font-size: 12.5px;
  }

  .contact-form {
    padding: 24px 20px;
  }

  .report__sub--1 {
    top: 8%;
    width: 56%;
  }

  .report__sub--2 {
    top: 36%;
    width: 62%;
  }
}

/* Smallest: 〜374px */
@media (max-width: 374px) {
  :root {
    --pad: 16px;
  }

  body {
    font-size: 15px;
  }

  .fvg__copy h1 {
    font-size: 23px;
  }

  .sec-title {
    font-size: 24px;
  }

  .reality__body h2 {
    font-size: 22px;
  }

  .wordmark {
    font-size: 19px;
  }
}


/* =============================================================
   WordPress用追加スタイル（記事・一覧・エディター出力）
   ============================================================= */

/* WP標準のスクリーンリーダー用クラス */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* 記事一覧（お知らせ・志ノオト） */
.post-list {
  border-top: 1px solid var(--line-strong);
}

.post-list a {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) 28px;
  gap: 12px 32px;
  align-items: baseline;
  padding: clamp(22px, 2.8vw, 32px) 4px;
  border-bottom: 1px solid var(--line);
  transition: background-color 280ms var(--ease);
}

.post-list a:hover {
  background: var(--white);
}

.post-list time {
  font-family: var(--font-en);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.post-list h2 {
  font-size: clamp(16.5px, 1.8vw, 20px);
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

.post-list--story h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.post-list .post-list__arrow {
  color: var(--muted);
  font-family: var(--font-en);
}

/* 記事ページ */
.article-head {
  padding-top: calc(84px + clamp(48px, 7vw, 96px));
  padding-bottom: clamp(28px, 4vw, 48px);
  border-bottom: 1px solid var(--line-strong);
}

.article-head time {
  font-family: var(--font-en);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.article-head h1 {
  margin-top: 18px;
  font-size: clamp(25px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.015em;
}

.article-head--story h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.8;
}

.article-body {
  padding-block: clamp(48px, 6vw, 80px);
}

/* 本文タイポグラフィ（ブロックエディター出力） */
.entry-content {
  max-width: 720px;
  font-size: 16px;
  line-height: 2.2;
}

.entry-content > * + * {
  margin-top: 1.6em;
}

.entry-content h2 {
  margin-top: 2.6em;
  padding-top: 1.2em;
  border-top: 1px solid var(--line);
  font-size: clamp(21px, 2.2vw, 26px);
  font-weight: 700;
  line-height: 1.7;
}

.entry-content h3 {
  margin-top: 2.2em;
  font-size: clamp(17.5px, 1.8vw, 20px);
  font-weight: 700;
  line-height: 1.8;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.4em;
  display: grid;
  gap: 0.5em;
}

.entry-content ul {
  list-style: disc;
}

.entry-content ol {
  list-style: decimal;
}

.entry-content a {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--line);
  transition: text-decoration-color 240ms var(--ease);
}

.entry-content a:hover {
  text-decoration-color: var(--accent-dark);
}

.entry-content blockquote {
  margin: 0;
  padding: 4px 0 4px 24px;
  border-left: 2px solid var(--line-strong);
  color: #3c3e43;
}

.entry-content img {
  display: block;
  max-width: 100%;
  height: auto;
}

.entry-content figure {
  margin: 0;
}

.entry-content figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--muted);
}

.entry-content strong {
  font-weight: 700;
}

/* 戻りリンク・ページネーション */
.article-foot {
  padding-bottom: clamp(64px, 8vw, 112px);
}

.wg-pagination {
  margin-top: clamp(40px, 5vw, 64px);
}

.wg-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wg-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line);
  font-family: var(--font-en);
  font-size: 14px;
  transition: border-color 240ms var(--ease), background-color 240ms var(--ease);
}

.wg-pagination .page-numbers.current {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.wg-pagination .page-numbers:hover:not(.current) {
  border-color: var(--ink);
}

/* 志ノオト一覧（公開記事があるときだけ表示） */
.stories-list {
  background: var(--white);
}

@media (max-width: 899px) {
  .post-list a {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .post-list .post-list__arrow {
    display: none;
  }
}

/* プロジェクト：完成見本の一部（下端をフェードさせて「一部」であることを示す） */
.sample-pages { background: var(--gray-bg); }
.sample-pages__head { max-width: 62ch; margin: 0 0 clamp(24px, 3vw, 40px); }
.sample-pages__head h2 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; line-height: 1.35; margin: 6px 0 10px; }
.sample-pages__head p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.9; }
.sample-pages__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.sample-pages__item { margin: 0; }
.sample-pages__img { position: relative; background: #fff; border: 1px solid var(--line); overflow: hidden; aspect-ratio: 16 / 9; }
.sample-pages__img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.sample-pages__img::after { content: ""; position: absolute; inset: auto 0 0 0; height: 38%; background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.96) 100%); pointer-events: none; }
.sample-pages__item figcaption { margin-top: 12px; display: grid; gap: 2px; }
.sample-pages__item strong { font-size: 15px; font-weight: 700; }
.sample-pages__item span { font-size: 13px; color: var(--muted); line-height: 1.8; }
@media (max-width: 899px) { .sample-pages__grid { grid-template-columns: 1fr; } }

/* 見本画像の図版（背面に採用課題マップ、前面に経営判断サマリー） */
.sample-figure { position: relative; margin: 0; max-width: 560px; padding-top: 18%; } /* 前面画像のmargin相殺を避けるためpaddingで段差を作る */
.sample-figure img { display: block; width: 82%; height: auto; border: 1px solid var(--line); background: #fff; }
.sample-figure__back { position: absolute; top: 0; right: 0; box-shadow: 0 12px 32px rgba(17, 19, 24, 0.08); }
.sample-figure__front { position: relative; margin-top: 0; box-shadow: 0 22px 48px rgba(17, 19, 24, 0.16); }
@media (max-width: 899px) { .sample-figure { max-width: 100%; } }

/* お問い合わせ：送信結果の通知とハニーポット */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-notice { border: 1px solid var(--line); padding: clamp(22px, 3vw, 36px); background: #fff; }
.form-notice h3 { font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; margin: 8px 0 12px; line-height: 1.4; }
.form-notice p { margin: 0 0 18px; line-height: 1.9; }
.form-notice .text-link { font-weight: 700; text-decoration: none; color: var(--ink); }
.form-notice--error { border-color: #B42318; background: #FBEDEB; }
.form-notice--error p { margin: 0; color: #7A1C12; font-size: 14px; }
.contact-form .form-notice--error { margin-bottom: 20px; }
/* プライバシーポリシー本文 */
.privacy-body { max-width: 70ch; }
.privacy-body h2 { font-size: 17px; font-weight: 700; margin: 36px 0 8px; }
.privacy-body h2:first-child { margin-top: 0; }
.privacy-body p, .privacy-body li { font-size: 15px; line-height: 2; color: var(--ink); }
.privacy-body ul { padding-left: 1.3em; margin: 0; }
.privacy-body a { color: var(--accent-dark); }
.privacy-date { margin-top: 40px; color: var(--muted); }
