/* 凪WORKS Brand Business Portal ― SITE-001 ローカル試作 v2
   DESIGN.md §8 ビジュアルシステムに準拠。本番 index.html / public/ とは独立。

   v2の狙い（v1が「整頓」に留まり、鑑賞速度を設計できていなかったための作り直し）
   1. 余白を倍に取り、読み急がせない
   2. 中央揃えをやめ、左右へ大きく振る
   3. セクションごとに密度を変え、平坦なリズムを壊す
   4. 画が入る場所を実寸（16:9）で確保しておく

   DESIGN §3.4により、KEIの巨大な単独文字と固有の縦組みレイアウトは複製しない。
   劇的さは文字の大きさではなく、空白と非対称で作る。 */

:root {
  --portal-ink: #050607;
  --portal-paper: #F4F3EF;
  --portal-white: #FFFFFF;
  --portal-blue: #245CFF;
  --portal-mist: #BECCDC;
  --portal-text: #151719;
  --portal-muted: #696D73;
  --portal-line: rgba(5, 6, 7, 0.16);
  --portal-line-dark: rgba(255, 255, 255, 0.18);

  --sans: "Inter", "Noto Sans JP", system-ui, -apple-system, sans-serif;
  --serif: "Noto Serif JP", serif;
  --accent: "Cormorant Garamond", serif;

  --outer: 72px;
  --gap-sec: 220px;      /* DESIGN §8.3 の上限。急がせない */
  --gap-block: 156px;    /* セクション内の大きな区切り */
  --header-h: 76px;
  --col: minmax(0, 1fr);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--portal-paper);
  color: var(--portal-text);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 2.0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: .015em; margin: 0; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
img, svg { max-width: 100%; }

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .28em; }

:focus-visible { outline: 2px solid var(--portal-blue); outline-offset: 3px; }
.hero :focus-visible, .future :focus-visible,
.site-header:not(.is-stuck) :focus-visible { outline-color: #fff; }

.sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 60;
  background: var(--portal-ink); color: #fff; padding: 12px 18px; font-size: 14px; transition: top .2s;
}
.skip:focus { top: 16px; }

/* 12カラム。中央へ揃えず、列の指定で左右に振る */
.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--outer); }
.grid {
  width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--outer);
  display: grid; grid-template-columns: repeat(12, var(--col)); column-gap: 32px;
}

.eyebrow {
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase; color: var(--portal-muted);
}
.pill {
  display: inline-block; border: 1px solid var(--portal-line); border-radius: 999px;
  padding: 3px 13px; font-size: 11px; letter-spacing: .08em; color: var(--portal-muted); white-space: nowrap;
}
.ext { font-size: .82em; margin-left: .35em; }
.sep { color: var(--portal-muted); margin: 0 .5em; }

/* ---------- 画像の待ち枠 ----------
   画が届いたら、この枠の中身を差し替える。実寸を先に取っておくと、
   届いた時点で組み直さずに済む。架空の顧客画面は置かない（DESIGN §7.5・§13）。 */
.plate { position: relative; background: var(--portal-ink); overflow: hidden; }
.plate::after {
  content: attr(data-await);
  position: absolute; left: 20px; bottom: 16px;
  font-family: var(--sans); font-size: 10px; letter-spacing: .2em;
  color: rgba(255,255,255,.42); text-transform: uppercase;
}
.plate svg { width: 100%; height: 100%; display: block; }
/* 画が入った枠。枠の比率いっぱいに収める */
figure.plate { margin: 0; }
.plate img { width: 100%; height: 100%; object-fit: cover; display: block; }
.plate-169 { aspect-ratio: 16 / 9; }
.plate-43  { aspect-ratio: 4 / 3; }
.plate-paper { background: #E9E7E1; }
.plate-paper::after { color: rgba(5,6,7,.4); }

/* ---------- HEADER ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(5, 6, 7, .92); border-bottom-color: var(--portal-line-dark);
  backdrop-filter: saturate(140%) blur(8px);
}
.bar {
  max-width: 1440px; margin: 0 auto; min-height: var(--header-h); padding: 0 var(--outer);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #fff;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 18px; height: 18px; flex: none; border: 1.5px solid var(--portal-blue);
  border-radius: 999px; position: relative;
}
.brand-mark::after {
  content: ""; position: absolute; inset: 4px 4px auto 4px; height: 1.5px; background: var(--portal-blue);
}
.brand-name { font-family: var(--serif); font-size: 19px; font-weight: 600; letter-spacing: .06em; }

.nav { display: flex; align-items: center; gap: 40px; }
.nav ul { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: 13px; letter-spacing: .12em; opacity: .86; }
.nav a:hover { opacity: 1; }
.nav-cta {
  border: 1px solid rgba(255,255,255,.5); padding: 9px 24px;
  font-size: 13px; letter-spacing: .1em; display: inline-flex; align-items: center;
}
.nav-cta:hover { background: var(--portal-blue); border-color: var(--portal-blue); text-decoration: none; }

.menu-toggle {
  display: none; width: 44px; height: 44px; background: none; border: 0; padding: 0; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 6px; align-items: center;
}
.menu-toggle span { display: block; width: 22px; height: 1.5px; background: #fff; transition: transform .3s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* ---------- HERO ----------
   陛下より受領した画（1915x821・21:9）を全面へ敷く。
   左が暗く空いた構図のため、中核文は左へ置く。
   画は装飾なので alt は空。width/height を持たせてCLSを抑える（DESIGN §11）。 */
.hero {
  position: relative; min-height: 100svh;
  background: var(--portal-ink); color: #fff;
  display: grid; align-items: center;
  overflow: hidden;
  padding: calc(var(--header-h) + 72px) 0 96px;
}
.hero-image {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  /* 縦長の画面では左（暗く空いた側）を残し、右下の光を画面内へ収める */
  object-position: 34% center;
}
/* 文字の下だけを確実に沈める。画の右側は明るいまま残す */
.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(100deg,
      rgba(5,6,7,.90) 0%,
      rgba(5,6,7,.78) 30%,
      rgba(5,6,7,.34) 58%,
      rgba(5,6,7,0)   88%);
}
.hero-body {
  position: relative; z-index: 2;
  width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--outer);
}
.hero-copy {
  /* 中核文は一字一句変えない。二行のまま折り返させない（DESIGN §2・§7.2） */
  font-size: clamp(38px, 5vw, 74px);
  line-height: 1.34; letter-spacing: .02em; margin: 30px 0 34px;
  text-shadow: 0 1px 24px rgba(5,6,7,.5);
}
.hero-copy span { display: block; word-break: keep-all; }
.hero-sub {
  font-family: var(--serif); font-size: clamp(17px, 1.35vw, 21px);
  line-height: 2.1; color: var(--portal-mist);
  text-shadow: 0 1px 18px rgba(5,6,7,.6);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 48px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 34px; font-size: 15px; letter-spacing: .08em;
  border: 1px solid transparent; transition: background-color .3s, color .3s, border-color .3s;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--portal-blue); color: #fff; }
.btn-primary:hover { background: #1848d8; }
.btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ---------- 見出しの共通 ---------- */
.sec-head h2 { font-size: clamp(30px, 3.8vw, 64px); line-height: 1.45; margin: 26px 0 0; }
.sec-note { margin-top: 34px; color: var(--portal-muted); font-size: 17px; }

/* ---------- MANIFESTO ----------
   紙色へ切り替え、余白を大きく取る。縦組み見出しと横組み本文を非対称に置く。
   本文は左端へ寄せず、右の列から始める。 */
.manifesto { background: var(--portal-paper); padding: var(--gap-sec) 0; }
.manifesto .grid { row-gap: 72px; align-items: start; }
.vertical {
  grid-column: 2 / 4;
  writing-mode: vertical-rl;
  font-size: clamp(28px, 2.6vw, 44px);
  line-height: 1.85; letter-spacing: .16em; max-height: 16em;
}
.manifesto-body {
  grid-column: 6 / 11;
  display: grid; gap: 44px; padding-top: 10px;
}
.manifesto-body .lead {
  font-family: var(--serif); font-size: clamp(19px, 1.55vw, 24px); line-height: 2.15;
}
.manifesto-body p:not(.lead) { color: var(--portal-muted); font-size: 17px; max-width: 38ch; }

/* ---------- SERVICES ----------
   TriOrbの導線: 大きな画 + 短い説明 + 迷いのないCTA。
   画は列を大きく取り、文章は狭い列に落とす。左右を交互に振る。 */
.services { background: var(--portal-white); padding: var(--gap-sec) 0; }
.services .sec-head { grid-column: 2 / 9; margin-bottom: var(--gap-block); }
.svc-list { display: grid; row-gap: var(--gap-block); }
.svc { display: grid; grid-template-columns: repeat(12, var(--col)); column-gap: 32px; row-gap: 48px; align-items: center; }

/* 画は紙の端まで抜く。枠に収めると、事業の入口として弱い（TriOrb参照）。
   本文の列は、日本語が一行28〜42文字に収まる幅を確保する（DESIGN §8.2）。 */
.svc .svc-art  { grid-column: 1 / 7; margin-left: calc(-1 * var(--outer)); }
.svc .svc-text { grid-column: 8 / 13; }
/* 偶数番は左右を入れ替える */
.svc:nth-child(even) .svc-art  { grid-column: 7 / 13; margin-left: 0; margin-right: calc(-1 * var(--outer)); order: 2; }
.svc:nth-child(even) .svc-text { grid-column: 1 / 6;  order: 1; }

/* 先頭だけは扱いを変える。画を全幅の帯にして、文章を下へ落とす（DESIGN §7.4 成熟度で比率を変える） */
.svc-lead { align-items: start; }
.svc-lead .svc-art  {
  grid-column: 1 / 13;
  margin-left: calc(-1 * var(--outer)); margin-right: calc(-1 * var(--outer));
}
.svc-lead .svc-text { grid-column: 7 / 13; }
.svc-lead .svc-text h3 { font-size: clamp(26px, 2.6vw, 40px); }

.svc-text { display: grid; gap: 20px; }
.svc-gain { font-size: 15px; color: var(--portal-blue); letter-spacing: .02em; line-height: 1.85; }
.svc-text h3 { font-size: clamp(24px, 2.1vw, 32px); line-height: 1.55; }
/* 事業名そのものを行き先にする。見出しの姿は保ち、触れたときだけ線を引く */
.svc-text h3 a {
  display: inline-block;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .25s, color .25s;
}
.svc-text h3 a:hover,
.svc-text h3 a:focus-visible {
  color: var(--portal-blue);
  border-bottom-color: var(--portal-blue);
  text-decoration: none;
}
.svc-text h3 a .ext { color: var(--portal-blue); }
.svc-text p { font-size: 17px; }
.svc-meta { color: var(--portal-muted); font-size: 15px; }
.svc-link { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 15px; margin-top: 4px; }
.svc-link a {
  color: var(--portal-blue);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .34em;
}
.svc-link a:hover { text-decoration-thickness: 2px; }

/* ---------- WORKS ----------
   実績を広告バナーにせず、作品として見せる（DESIGN §3.3）。
   一件ずつ大きく取り、画と記述を左右へ分ける。 */
.works { background: var(--portal-paper); padding: var(--gap-sec) 0; }
.works .sec-head { grid-column: 2 / 9; margin-bottom: var(--gap-block); }
.work-list { display: grid; row-gap: var(--gap-block); }
.work { display: grid; grid-template-columns: repeat(12, var(--col)); column-gap: 32px; row-gap: 44px; }
.work .work-art  { grid-column: 1 / 7; }
.work .work-body { grid-column: 8 / 13; }
.work:nth-child(even) .work-art  { grid-column: 7 / 13; order: 2; }
.work:nth-child(even) .work-body { grid-column: 1 / 6;  order: 1; }

.work-tag { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--portal-blue); }
.work h3 { font-size: clamp(22px, 2vw, 30px); line-height: 1.6; margin: 18px 0 40px; }
.work dl { display: grid; row-gap: 26px; }
.work dt {
  font-size: 11px; letter-spacing: .2em; color: var(--portal-muted);
  padding-bottom: 8px; border-bottom: 1px solid var(--portal-line); margin-bottom: 12px;
}
.work dd { font-size: 17px; }
.works-note { grid-column: 2 / 8; margin-top: var(--gap-block); font-size: 15px; color: var(--portal-muted); }

/* ---------- PROCESS ----------
   密度を上げる。ここだけ情報が詰まっていてよい。 */
.process { background: var(--portal-white); padding: var(--gap-sec) 0; }
.process .sec-head { grid-column: 2 / 8; margin-bottom: 100px; }
.steps {
  grid-column: 2 / 12;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--portal-line);
}
.steps li {
  padding: 40px 28px 48px 0; display: grid; gap: 16px; align-content: start;
  border-right: 1px solid var(--portal-line);
}
.steps li:first-child { padding-left: 0; }
.steps li:last-child { border-right: 0; }
.step-en { font-family: var(--sans); font-size: 11px; letter-spacing: .24em; color: var(--portal-blue); }
.step-ja { font-family: var(--serif); font-size: 17px; line-height: 1.8; }

.attitudes {
  grid-column: 4 / 12; margin-top: 110px;
  display: grid; gap: 34px;
}
.attitudes li {
  font-family: var(--serif); font-size: clamp(19px, 1.8vw, 26px);
  padding-left: 34px; position: relative; line-height: 1.9;
}
.attitudes li::before {
  content: ""; position: absolute; left: 0; top: .92em; width: 18px; height: 1px; background: var(--portal-blue);
}

/* ---------- FUTURE ----------
   HEROと呼応させる。長文を置かず、宣言と画だけ。 */
.future { background: var(--portal-ink); color: #fff; padding: var(--gap-sec) 0 0; }
.future .grid { row-gap: 110px; }
.future-copy {
  grid-column: 2 / 10;
  font-size: clamp(24px, 3vw, 46px); line-height: 1.8; letter-spacing: .02em;
}
.future-stage { grid-column: 1 / 13; }

/* ---------- JOURNAL ---------- */
.journal { background: var(--portal-paper); padding: var(--gap-sec) 0; }
.journal .sec-head { grid-column: 2 / 9; margin-bottom: 100px; }
.posts { grid-column: 2 / 12; border-top: 1px solid var(--portal-line); }
.posts li { border-bottom: 1px solid var(--portal-line); }
.posts a {
  display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 40px; align-items: baseline;
  padding: 46px 0; font-family: var(--serif); font-size: clamp(18px, 1.7vw, 26px); line-height: 1.7;
}
.posts a:hover { text-decoration: none; color: var(--portal-blue); }
.posts time { font-family: var(--sans); font-size: 13px; letter-spacing: .12em; color: var(--portal-muted); }
.more { grid-column: 2 / 8; margin-top: 56px; font-size: 15px; }
.more a {
  color: var(--portal-blue);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .34em;
}
.more a:hover { text-decoration-thickness: 2px; }

/* ---------- CONTACT ---------- */
.contact { background: var(--portal-white); padding: var(--gap-sec) 0; }
.contact .grid { row-gap: 88px; align-items: start; }
.contact-intro { grid-column: 2 / 7; }
.contact-intro h2 { font-size: clamp(28px, 3.4vw, 54px); line-height: 1.5; margin: 26px 0 0; }
.contact-note { margin-top: 36px; color: var(--portal-muted); font-size: 17px; max-width: 36ch; }
.contact-choices { grid-column: 8 / 13; }
.choices-label { font-size: 12px; letter-spacing: .2em; color: var(--portal-muted); margin-bottom: 22px; }
.contact-choices ul { border-top: 1px solid var(--portal-line); }
.contact-choices li { border-bottom: 1px solid var(--portal-line); }
.contact-choices a {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 72px; font-family: var(--serif); font-size: 19px;
}
.contact-choices a::after { content: "→"; color: var(--portal-blue); font-family: var(--sans); }
.contact-choices a:hover { text-decoration: none; color: var(--portal-blue); }
.choices-note { margin-top: 26px; font-size: 14px; color: var(--portal-muted); }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--portal-ink); color: #fff; padding: 130px 0 48px; }
.site-footer .grid { row-gap: 56px; }
.footer-brand { grid-column: 1 / 5; }
.footer-nav:nth-of-type(1) { grid-column: 6 / 9; }
.footer-nav:nth-of-type(2) { grid-column: 10 / 13; }
.footer-brand .brand-name { font-family: var(--serif); font-size: 22px; letter-spacing: .06em; }
.footer-tag { margin-top: 14px; font-size: 14px; color: var(--portal-mist); }
.footer-head { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--portal-mist); margin-bottom: 24px; }
.footer-nav li { font-size: 15px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--portal-mist); }
.footer-nav a { color: #fff; }
.footer-nav .pill { border-color: var(--portal-line-dark); color: var(--portal-mist); }
.copyright { max-width: 1440px; margin: 96px auto 0; padding: 0 var(--outer); font-size: 12px; color: var(--portal-muted); }

/* ---------- タップ領域 ----------
   触れる場所は、文字の高さではなく触れる高さで決める（DESIGN §10: 44px以上）。
   幅で分岐させない。1024pxのタブレットも指で触られる。 */
.brand, .svc-link a, .more a, .footer-nav a, .svc-text h3 a,
.posts a, .contact-choices a, .nav-cta, .nav ul a, .btn, .menu-toggle { min-height: 44px; }
.brand, .svc-link a, .more a, .footer-nav a, .nav ul a { display: inline-flex; align-items: center; }
.footer-nav li { min-height: 44px; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 1180px) {
  :root { --outer: 40px; --gap-sec: 152px; --gap-block: 104px; }
  .vertical { grid-column: 1 / 3; }
  .manifesto-body { grid-column: 4 / 13; }
  .services .sec-head, .works .sec-head, .process .sec-head, .journal .sec-head { grid-column: 1 / 11; }
  .svc .svc-art { grid-column: 1 / 7; } .svc .svc-text { grid-column: 8 / 13; }
  .svc:nth-child(even) .svc-art { grid-column: 7 / 13; } .svc:nth-child(even) .svc-text { grid-column: 1 / 6; }
  .svc-lead .svc-art { grid-column: 1 / 13; } .svc-lead .svc-text { grid-column: 6 / 13; }
  .work .work-art { grid-column: 1 / 7; } .work .work-body { grid-column: 7 / 13; }
  .steps, .posts { grid-column: 1 / 13; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li { border-right: 0; border-bottom: 1px solid var(--portal-line); padding: 32px 24px 36px 0; }
  .attitudes { grid-column: 1 / 13; margin-top: 80px; }
  .contact-intro { grid-column: 1 / 7; } .contact-choices { grid-column: 7 / 13; }
  .footer-brand { grid-column: 1 / 7; }
  .footer-nav:nth-of-type(1) { grid-column: 7 / 10; }
  .footer-nav:nth-of-type(2) { grid-column: 10 / 13; }
  .future-copy, .works-note, .more { grid-column: 1 / 12; }
}

@media (max-width: 900px) {
  :root { --outer: 32px; }
  html:not(.no-js) .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; display: none;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(5,6,7,.98); border-bottom: 1px solid var(--portal-line-dark);
    padding: 12px var(--outer) 28px;
  }
  html:not(.no-js) .nav.is-open { display: flex; }
  .no-js .nav { flex-wrap: wrap; gap: 18px 24px; }
  .no-js .menu-toggle { display: none; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav ul a { min-height: 56px; font-size: 16px; letter-spacing: .04em; border-bottom: 1px solid var(--portal-line-dark); }
  .nav-cta { margin-top: 20px; justify-content: center; }
  html:not(.no-js) .menu-toggle { display: flex; }

  .hero { min-height: 86svh; padding-top: calc(var(--header-h) + 48px); }
  /* 縦長の画面では、右下の光を画面内へ寄せる */
  .hero-image { object-position: 72% center; }
  .hero-scrim {
    background:
      linear-gradient(180deg,
        rgba(5,6,7,.88) 0%,
        rgba(5,6,7,.72) 42%,
        rgba(5,6,7,.42) 72%,
        rgba(5,6,7,.20) 100%);
  }

  /* 縦組みは横組みへ。左右の振りは畳んで一列にする */
  .vertical { grid-column: 1 / 13; writing-mode: horizontal-tb; max-height: none; letter-spacing: .04em; }
  .vertical br { display: none; }
  .manifesto-body { grid-column: 1 / 13; }
  .manifesto-body p:not(.lead) { max-width: none; }

  /* Mobileは 画 → 見出し → 説明 → CTA の順（DESIGN §10） */
  .svc, .work { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .svc .svc-art, .svc .svc-text,
  .svc:nth-child(even) .svc-art, .svc:nth-child(even) .svc-text,
  .svc-lead .svc-art, .svc-lead .svc-text { grid-column: 1 / 2; }
  /* Mobileは端抜きせず、左右の余白を守る */
  .svc .svc-art, .svc:nth-child(even) .svc-art, .svc-lead .svc-art { margin-left: 0; margin-right: 0; }
  .svc:nth-child(even) .svc-art { order: 0; } .svc:nth-child(even) .svc-text { order: 1; }
  .work .work-art, .work .work-body,
  .work:nth-child(even) .work-art, .work:nth-child(even) .work-body { grid-column: 1 / 2; }
  .work:nth-child(even) .work-art { order: 0; } .work:nth-child(even) .work-body { order: 1; }

  .steps { grid-template-columns: minmax(0, 1fr); }
  .contact-intro, .contact-choices { grid-column: 1 / 13; }
  .posts a { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 34px 0; }
  .footer-brand, .footer-nav:nth-of-type(1), .footer-nav:nth-of-type(2) { grid-column: 1 / 13; }
}

@media (max-width: 560px) {
  :root { --outer: 20px; --gap-sec: 112px; --gap-block: 80px; }
  body { font-size: 17px; }
  .hero-copy { font-size: clamp(34px, 10vw, 54px); }
  .btn { width: 100%; }
  .work h3 { margin-bottom: 30px; }
}

/* ---------- モーション設定の尊重 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
