/* ============================================================
   kusuwata.com — Claude ALT「工房の記録簿」
   生成り紙 × 方眼グリッド × 濃紺インク × ブランド朱赤(#c8362a)
   写真が主役。言葉より、現場が語る。
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  /* 固定ヘッダー下に見出しを収める。JSで実際のヘッダー高に追従する。 */
  --anchor-offset: 104px;
  scroll-padding-top: var(--anchor-offset);
}

:root {
  /* 紙 */
  --paper: #f6f2e7;
  --paper-deep: #ece5d2;
  --paper-bright: #fdfbf4;
  /* インク */
  --ink: #22303a;
  --ink-soft: #5c6a72;
  --ink-faint: rgba(34, 48, 58, 0.14);
  /* ブランド朱（ワードマーク実色） */
  --shu: #c8362a;
  --shu-deep: #9e2a20;
  --shu-pale: #f6ddd7;
  /* 補助 */
  --navy: #1c3f54;
  --moss: #71804a;
  --sun: #dd9b2e;
  /* 罫線 */
  --rule: rgba(34, 48, 58, 0.22);
  --grid-line: rgba(34, 48, 58, 0.055);
  /* 書体 */
  --f-display: "Shippori Mincho B1", "Noto Serif CJK JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --f-body: "Zen Kaku Gothic New", "Noto Sans CJK JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --f-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  /* 寸法 */
  --max-w: 1180px;
  --pad-x: clamp(18px, 4.5vw, 56px);
}

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  /* 方眼グリッド（工作ノート） */
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 28px 28px;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.85;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--shu);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- 共通ユーティリティ ---------- */

.wrap {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

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

/* セクション見出し: 図面ラベル + 大見出し */
.sec-label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: 0 0 18px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--shu);
  text-transform: uppercase;
}
.sec-label::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--shu);
}
.sec-label small {
  font-size: 11.5px;
  color: var(--ink-soft);
  letter-spacing: 0.18em;
}

.sec-title {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(26px, 4.2vw, 42px);
  line-height: 1.42;
  letter-spacing: 0.02em;
  text-wrap: balance;
}

.sec-lead {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 15.5px;
}

/* 朱スタンプ風タグ */
.stamp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 2px;
  border: 1.5px solid var(--shu);
  border-radius: 3px;
  color: var(--shu);
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  transform: rotate(-1.2deg);
  background: color-mix(in srgb, var(--paper-bright) 60%, transparent);
}

/* 矢印リンク */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14.5px;
  border-bottom: 2px solid var(--shu);
  padding-bottom: 4px;
  transition: gap 220ms ease, color 180ms ease;
}
.arrow-link:hover { gap: 16px; color: var(--shu-deep); }

/* ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 28px;
  border: 2px solid var(--ink);
  background: var(--paper-bright);
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  box-shadow: 5px 5px 0 var(--ink-faint);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}
.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--ink-faint);
}
.btn.is-primary {
  border-color: var(--shu);
  background: var(--shu);
  color: #fff;
  box-shadow: 5px 5px 0 rgba(200, 54, 42, 0.25);
}
.btn.is-primary:hover {
  background: var(--shu-deep);
  border-color: var(--shu-deep);
  box-shadow: 8px 8px 0 rgba(200, 54, 42, 0.28);
}

/* スクロール出現 */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms cubic-bezier(0.2, 0.65, 0.25, 1), transform 700ms cubic-bezier(0.2, 0.65, 0.25, 1);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 90ms; }
.reveal[data-delay="2"] { transition-delay: 180ms; }
.reveal[data-delay="3"] { transition-delay: 270ms; }

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

/* ============================================================
   ヘッダー
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px var(--pad-x);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}

.site-logo img { width: clamp(132px, 14vw, 168px); height: auto; }

.site-nav {
  display: flex;
  gap: clamp(14px, 2.2vw, 30px);
  margin-left: auto;
}
.site-nav a {
  position: relative;
  padding: 6px 2px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--shu);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms ease;
}
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 2px solid var(--shu);
  background: var(--shu);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: background 180ms ease, transform 180ms ease;
}
.header-cta:hover { background: var(--shu-deep); transform: translateY(-1px); }

/* モバイルメニュー */
.mobile-menu { display: none; margin-left: auto; }
.mobile-menu summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1.5px solid var(--ink);
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  cursor: pointer;
  background: var(--paper-bright);
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary i {
  width: 16px;
  height: 2px;
  background: var(--ink);
  position: relative;
}
.mobile-menu summary i::before,
.mobile-menu summary i::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: var(--ink);
}
.mobile-menu summary i::before { top: -5px; }
.mobile-menu summary i::after { top: 5px; }
.mobile-menu[open] nav {
  position: absolute;
  right: var(--pad-x);
  top: calc(100% + 8px);
  display: grid;
  gap: 2px;
  min-width: 220px;
  padding: 10px;
  background: var(--paper-bright);
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink-faint);
}
.mobile-menu[open] nav a {
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px dashed var(--rule);
}
.mobile-menu[open] nav a:last-child { border-bottom: 0; }
.mobile-menu[open] nav a:hover { background: var(--shu-pale); }

@media (max-width: 860px) {
  .site-nav, .header-cta { display: none; }
  .mobile-menu { display: block; }
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  padding: clamp(48px, 8vw, 96px) var(--pad-x) clamp(56px, 8vw, 104px);
  overflow: clip;
}

.hero-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.hero-meta {
  display: flex;
  gap: 18px;
  margin-bottom: 26px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
}
.hero-meta b { color: var(--shu); font-weight: 600; }

.hero-title {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(38px, 6.4vw, 66px);
  line-height: 1.32;
  letter-spacing: 0.015em;
}
.hero-title strong {
  position: relative;
  display: inline-block;
  color: var(--shu);
  font-weight: 800;
}
.hero-title strong::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 6px;
  height: 12px;
  background: var(--shu-pale);
  z-index: -1;
}

.hero-lead {
  max-width: 520px;
  margin: 26px 0 0;
  font-size: clamp(15px, 1.6vw, 16.5px);
  color: var(--ink-soft);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

/* 写真コラージュ（スナップ3枚） */
.hero-photos {
  position: relative;
  min-height: clamp(300px, 36vw, 460px);
}
.hero-photos figure {
  position: absolute;
  margin: 0;
  background: var(--paper-bright);
  padding: 10px 10px 34px;
  border: 1px solid var(--rule);
  box-shadow: 0 14px 34px rgba(34, 48, 58, 0.16);
}
.hero-photos figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.hero-photos figcaption {
  position: absolute;
  left: 12px;
  bottom: 8px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}
.hero-photos .ph-a {
  width: 58%;
  top: 0;
  left: 0;
  transform: rotate(-2.4deg);
  z-index: 2;
}
.hero-photos .ph-b {
  width: 52%;
  top: 24%;
  right: 0;
  transform: rotate(1.8deg);
  z-index: 3;
}
.hero-photos .ph-c {
  width: 46%;
  bottom: 0;
  left: 10%;
  transform: rotate(-0.8deg);
  z-index: 1;
}
/* テープ */
.hero-photos figure::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  width: 74px;
  height: 22px;
  transform: translateX(-50%) rotate(-1deg);
  background: rgba(221, 155, 46, 0.4);
  border-left: 1px dashed rgba(34,48,58,0.15);
  border-right: 1px dashed rgba(34,48,58,0.15);
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photos { min-height: 0; height: auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: 12px; }
  .hero-photos figure { position: static; transform: rotate(0); width: auto !important; padding: 8px 8px 26px; }
  .hero-photos .ph-c { display: none; }
}
@media (max-width: 640px) {
  .hero { padding-top: 36px; }
  .hero-actions { gap: 10px; margin-top: 26px; }
  .hero-actions .btn { min-height: 46px; padding: 9px 16px; font-size: 13.5px; }
}

/* ============================================================
   NEWS / 活動記録
   ============================================================ */

.news {
  padding: clamp(48px, 7vw, 88px) 0;
  border-top: 1px solid var(--rule);
}

.news-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(24px, 4vw, 40px);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
}

.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper-bright);
  border: 1px solid var(--rule);
  box-shadow: 4px 4px 0 var(--ink-faint);
  transition: transform 220ms ease, box-shadow 220ms ease, opacity 420ms ease;
}
.news-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 rgba(200, 54, 42, 0.18);
}
/* NEWSの切り替えはカードの並び方向へスライド。PCでは横、モバイルでは縦。 */
.news-card.nc-leaving-next { opacity: 0; transform: translateX(-28px); }
.news-card.nc-leaving-prev { opacity: 0; transform: translateX(28px); }
.news-card.nc-entering-next { opacity: 0; transform: translateX(28px); }
.news-card.nc-entering-prev { opacity: 0; transform: translateX(-28px); }
.news-rotator-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}
.news-rotator-button {
  display: grid;
  place-items: center;
  position: relative;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--ink);
  background: var(--paper-bright);
  border: 1px solid var(--ink);
  border-radius: 50%;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}
/* テキストではなくCSSで描く極細シェブロン矢印（フォント依存を避けて見た目を統一する） */
.news-rotator-button::before {
  content: "";
  width: 9px;
  height: 9px;
  border-style: solid;
  border-color: currentColor;
  border-width: 0 2px 2px 0;
}
.news-rotator-prev::before { transform: translateX(1px) rotate(135deg); }
.news-rotator-next::before { transform: translateX(-1px) rotate(-45deg); }
.news-rotator-button:hover,
.news-rotator-button:focus-visible {
  color: var(--paper-bright);
  background: var(--shu);
  border-color: var(--shu);
  transform: translateY(-2px);
}
.news-rotator-status { min-width: 150px; margin: 0; font-family: var(--f-mono); font-size: 11px; letter-spacing: .07em; text-align: center; color: var(--ink-soft); }
.news-mobile-cue { display: none; }
.news-card figure {
  margin: 0;
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}
.news-card figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 600ms ease;
}
.news-card:hover figure img { transform: scale(1.04); }

.news-card .nc-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px 18px;
  flex: 1;
}
.nc-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
}
.nc-cat {
  padding: 2px 8px;
  border: 1px solid var(--shu);
  color: var(--shu);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  border-radius: 2px;
}
.news-card h3,
.news-row h3 {
  margin: 0;
  font-family: var(--f-display);
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.55;
}
.news-card p,
.news-row p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-row .nc-body { display: flex; flex-direction: column; gap: 10px; }
.news-card .nc-more {
  margin-top: auto;
  padding-top: 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--shu);
}

@media (max-width: 860px) {
  .news-grid { grid-template-columns: 1fr; gap: 34px; }
  .news-head { flex-direction: column; align-items: flex-start; }
  .news-card.nc-leaving-next { transform: translateY(-24px); }
  .news-card.nc-leaving-prev { transform: translateY(24px); }
  .news-card.nc-entering-next { transform: translateY(24px); }
  .news-card.nc-entering-prev { transform: translateY(-24px); }
  .news-rotator-controls { display: none; }
  /* 続きがあることは丸ボタン+矢印だけで示す。文字ラベルやカード間テキストは置かない。 */
  .news-mobile-cue {
    display: grid;
    place-items: center;
    position: relative;
    width: 38px;
    height: 38px;
    margin-inline: auto;
    padding: 0;
    color: var(--ink-soft);
    background: var(--paper-bright);
    border: 1px solid var(--rule);
    border-radius: 50%;
    cursor: pointer;
    transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
  }
  .news-mobile-cue::before {
    content: "";
    width: 8px;
    height: 8px;
    border-style: solid;
    border-color: currentColor;
    border-width: 0 2px 2px 0;
  }
  .news-mobile-cue-prev::before { transform: translateY(2px) rotate(-135deg); }
  .news-mobile-cue-next::before { transform: translateY(-2px) rotate(45deg); }
  .news-mobile-cue:hover,
  .news-mobile-cue:focus-visible { color: var(--shu); background: var(--shu-pale); border-color: var(--shu); }
  .news-mobile-cue-prev { margin-bottom: 14px; }
  .news-mobile-cue-next { margin-top: 14px; }
}

/* NEWS一覧ページ */
.news-list {
  display: grid;
  gap: 18px;
  margin-top: clamp(24px, 4vw, 40px);
}
.news-row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 20px;
  padding: 20px;
  background: var(--paper-bright);
  border: 1px solid var(--rule);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.news-row:hover { transform: translateX(4px); box-shadow: -4px 4px 0 var(--ink-faint); }
.news-row figure { margin: 0; }
.news-row figure img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border: 1px solid var(--rule); }
@media (max-width: 640px) {
  .news-row { grid-template-columns: 1fr; }
}

/* NEWS記事本文 */
.article {
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(40px, 6vw, 72px) var(--pad-x);
}
.article-head { margin-bottom: 30px; padding-bottom: 24px; border-bottom: 2px solid var(--ink); }
.article-title {
  margin: 14px 0 0;
  font-family: var(--f-display);
  font-size: clamp(24px, 3.6vw, 34px);
  font-weight: 700;
  line-height: 1.5;
}
.article-body { font-size: 15.5px; }
.article-share { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:34px; padding-top:18px; border-top:1px solid var(--rule); }
.article-share-label { margin-right:4px; color:var(--ink-soft); font-family:var(--f-mono); font-size:11px; letter-spacing:.08em; }
.article-share-link { display:inline-flex; align-items:center; justify-content:center; min-height:34px; padding:7px 11px; border:1px solid var(--ink); background:var(--paper); color:var(--ink); font-family:var(--f-mono); font-size:11px; text-decoration:none; cursor:pointer; }
.article-share-link:hover,.article-share-link:focus-visible { background:var(--ink); color:var(--paper); }
.article-body p { margin: 0 0 1.4em; }
.article-body h2 {
  margin: 2em 0 0.8em;
  padding-left: 14px;
  border-left: 4px solid var(--shu);
  font-family: var(--f-display);
  font-size: 20px;
}
.article-body img {
  margin: 24px 0;
  border: 1px solid var(--rule);
  background: var(--paper-bright);
  padding: 8px;
}
.article-body .article-image { max-width: min(100%, 860px); margin: 24px 0; }
.article-body .article-image--center { margin-inline: auto; }
.article-body .article-image--right { margin-left: auto; }
.article-body .article-image img { display: block; width: 100%; margin: 0; }
.article-body .article-image figcaption { margin-top: 7px; color: var(--ink-soft); font-family: var(--f-mono); font-size: 12px; }
.article-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin: 24px 0;
}
.article-gallery figure { margin: 0; }
.article-gallery img { display: block; width: 100%; margin: 0; padding: 6px; }
.article-gallery figcaption { margin-top: 6px; color: var(--ink-soft); font-family: var(--f-mono); font-size: 11px; }
.article-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 28px 0; }
.article-column { padding: 16px 18px; border-left: 3px solid var(--shu); background: var(--paper); }
.article-column p:last-child { margin-bottom: 0; }
.article-inline-link { color: var(--shu); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: .16em; }
.article-color-red { color: var(--shu); }
.article-color-blue { color: var(--navy); }
.article-pdf-embed { display: block; width: 100%; height: min(72vh, 720px); margin: 24px 0 10px; border: 1px solid var(--rule); background: #fff; }
.article-list { margin: 0 0 1.5em; padding-left: 1.55em; }
.article-list li { margin: .35em 0; }
.article-quote { margin: 1.7em 0; padding: 16px 18px; border-left: 4px solid var(--shu); background: var(--paper); }
.article-quote p { margin: 0; }
.article-quote cite { display: block; margin-top: 9px; color: var(--ink-soft); font-family: var(--f-mono); font-size: 12px; font-style: normal; }
.article-divider { height: 1px; margin: 2.2em 0; border: 0; background: var(--rule); }
.article-table-wrap { overflow-x: auto; margin: 1.7em 0; border: 1px solid var(--rule); background: #fff; }
.article-table { width: 100%; min-width: 500px; border-collapse: collapse; }
.article-table th, .article-table td { padding: 10px 12px; border: 1px solid var(--rule); text-align: left; vertical-align: top; }
.article-table th { background: var(--paper); font-size: 13px; }
.article-button-wrap { margin: 1.6em 0; }
.article-button { display: inline-flex; align-items: center; min-height: 42px; padding: 9px 15px; border: 1px solid var(--shu); background: var(--shu); color: #fff; font-weight: 700; text-decoration: none; }
.article-button:hover { background: var(--ink); border-color: var(--ink); }
@media (max-width: 620px) { .article-columns { grid-template-columns: 1fr; gap: 10px; } .article-body .article-image { max-width: 100%; } }

/* ============================================================
   活動の3本柱
   ============================================================ */

.fields {
  padding: clamp(48px, 7vw, 96px) 0;
  border-top: 1px solid var(--rule);
}

.field-list {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  margin-top: clamp(28px, 4vw, 48px);
}

.field-item {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  border: 1px solid var(--rule);
  background: var(--paper-bright);
  overflow: clip;
  transition: box-shadow 240ms ease, transform 240ms ease;
}
.field-item:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(34,48,58,0.14); }
.field-item:nth-child(even) { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.field-item:nth-child(even) .fi-photo { order: 2; }

.fi-photo { position: relative; min-height: 240px; }
.fi-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fi-photo .fi-no {
  position: absolute;
  top: 14px;
  left: 14px;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  background: var(--shu);
  color: #fff;
  font-family: var(--f-mono);
  font-size: 17px;
  font-weight: 700;
  z-index: 1;
}

.fi-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(22px, 3.4vw, 40px);
  justify-content: center;
}
.fi-body h3 {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 700;
  line-height: 1.5;
}
.fi-body p { margin: 0; font-size: 14.5px; color: var(--ink-soft); }
.fi-body .arrow-link { align-self: flex-start; margin-top: 8px; }

@media (max-width: 780px) {
  .field-item,
  .field-item:nth-child(even) { grid-template-columns: 1fr; }
  .field-item:nth-child(even) .fi-photo { order: 0; }
  .fi-photo { min-height: 0; aspect-ratio: 16 / 9; position: relative; }
}

/* ============================================================
   コンセプト（引用ブロック）
   ============================================================ */

.concept {
  position: relative;
  padding: clamp(64px, 9vw, 120px) 0;
  background: var(--ink);
  color: var(--paper-bright);
}
.concept::before {
  /* 紙の破れ目風の上端 */
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(135deg, var(--paper) 25%, transparent 25%) 0 0 / 16px 8px repeat-x;
}
.concept .sec-label { color: var(--sun); }
.concept .sec-label::before { background: var(--sun); }
.concept .wrap { position: relative; }

.concept-quote {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(26px, 4.6vw, 46px);
  line-height: 1.65;
  letter-spacing: 0.03em;
}
.concept-quote em {
  font-style: normal;
  color: var(--sun);
}
.concept-body {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 28px 0 0;
  font-size: 15.5px;
  line-height: 2.0;
  color: rgba(253, 251, 244, 0.82);
}
.concept-body strong { color: var(--paper-bright); font-weight: 700; }
.concept-lineart-frame {
  position: absolute;
  z-index: 0;
  top: 36px;
  right: -110px;
  width: min(46%, 540px);
  height: clamp(350px, 29vw, 470px);
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}
.concept-lineart {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(760px, 66vw, 980px);
  max-width: none;
  transform: translate(-50%, -50%);
  opacity: 0.92;
}
@media (max-width: 960px) {
  .concept-lineart-frame { display: none; }
}

/* ============================================================
   原点（代表ストーリー）/ あり方（循環）
   ============================================================ */

.origin {
  padding: clamp(56px, 8vw, 104px) 0;
}
.origin-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.origin-photo {
  margin: 0;
  position: relative;
  background: var(--paper-bright);
  padding: 12px;
  border: 1px solid var(--rule);
  box-shadow: 0 16px 36px rgba(34,48,58,0.15);
  transform: rotate(-1.6deg);
}
.origin-photo img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.origin-photo figcaption {
  margin-top: 9px;
  padding: 0 2px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.origin-copy .sec-title { font-size: clamp(23px, 2.9vw, 34px); }
.origin-copy p { margin: 16px 0 0; font-size: 15px; color: var(--ink-soft); }
.origin-copy .arrow-link { margin-top: 24px; }

@media (max-width: 780px) {
  .origin-inner { grid-template-columns: 1fr; }
  .origin-photo { max-width: 340px; margin-inline: auto; }
}

/* 循環図 */
.cycle {
  padding: clamp(56px, 8vw, 104px) 0;
  border-top: 1px solid var(--rule);
}

/* ============================================================
   TEAM（CYCLE内。サイクルを回している人の紹介）
   ============================================================ */

.team-grid { scroll-margin-top: var(--anchor-offset); }
.team-intro {
  display: block;
  max-width: 920px;
}
.team-lead { max-width: none; }
.team-lead p {
  margin: 17px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
}
.team-lead p.is-lead-strong {
  color: var(--ink);
  font-family: var(--f-display);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 700;
  line-height: 1.65;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2.2vw, 26px);
  /* 概要ファクトをなくした分、文章の余韻を残しつつカードへ素直につなぐ。 */
  margin-top: clamp(30px, 3.5vw, 48px);
}
.team-member-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  padding: 20px 20px 22px;
  border: 1.5px solid var(--ink);
  background:
    linear-gradient(135deg, transparent 0 78%, rgba(200,54,42,.065) 78% 100%),
    var(--paper-bright);
  box-shadow: 5px 5px 0 var(--ink-faint);
}
.team-member-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--shu);
}
.team-member-card:nth-child(3n + 2)::before { background: var(--navy); }
.team-member-card:nth-child(3n)::before { background: var(--moss); }
.team-member-photo {
  margin: -20px -20px 18px;
  border-bottom: 1px solid var(--rule);
  background: var(--paper-deep);
}
.team-member-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.team-member-head { padding-top: 7px; }
.team-member-no {
  margin: 0 0 11px;
  color: var(--shu);
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
}
.team-member-name {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(21px, 2.25vw, 26px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .06em;
}
.team-member-role {
  margin: 8px 0 0;
  color: var(--shu-deep);
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .03em;
  line-height: 1.65;
}
.team-member-relation {
  align-self: flex-start;
  margin: 15px 0 0;
  padding: 3px 8px;
  border: 1px solid var(--rule);
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.45;
}
.team-member-credits {
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px dashed var(--rule);
}
.team-member-subhead {
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
}
.team-credit-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.team-credit-list li {
  position: relative;
  padding-left: 12px;
  color: var(--ink);
  font-size: 12.5px;
  line-height: 1.65;
}
.team-credit-list li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--shu);
  font-weight: 700;
}
.team-member-bio {
  margin: 17px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.8;
}
.team-status {
  min-height: 1.85em;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}
.team-work-link { margin-top: 12px; }
@media (max-width: 980px) {
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
}
@media (max-width: 560px) {
  .team-intro { max-width: none; }
  .team-grid { grid-template-columns: 1fr; }
  .team-member-card { padding: 19px 18px 21px; }
  .team-member-photo { margin: -19px -18px 18px; }
}

/* ============================================================
   フォトストリップ（現場の写真帯）
   ============================================================ */

.strip {
  padding: clamp(40px, 6vw, 72px) 0;
  border-top: 1px solid var(--rule);
  overflow: clip;
}
.strip-track {
  display: flex;
  gap: 14px;
  padding: 8px var(--pad-x);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.strip-track figure {
  margin: 0;
  flex: 0 0 auto;
  width: clamp(200px, 26vw, 300px);
  scroll-snap-align: start;
  background: var(--paper-bright);
  border: 1px solid var(--rule);
  padding: 7px 7px 24px;
  transform: rotate(var(--tilt, 0deg));
}
.strip-track figure:nth-child(odd) { --tilt: -0.9deg; }
.strip-track figure:nth-child(even) { --tilt: 0.9deg; }
.strip-track img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.strip-track figcaption {
  margin-top: 6px;
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
}

/* ============================================================
   CONTACT
   ============================================================ */

.contact {
  padding: clamp(64px, 9vw, 120px) 0;
  border-top: 1px solid var(--rule);
}
.contact-box {
  position: relative;
  display: grid;
  gap: 18px;
  padding: clamp(30px, 5vw, 56px);
  background: var(--paper-bright);
  border: 2px solid var(--ink);
  box-shadow: 10px 10px 0 var(--shu-pale);
}
.contact-box h2 {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(24px, 3.8vw, 36px);
  font-weight: 700;
  line-height: 1.5;
}
.contact-box > p { margin: 0; max-width: 560px; color: var(--ink-soft); font-size: 15px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

/* ============================================================
   フッター
   ============================================================ */

.site-footer {
  padding: clamp(36px, 5vw, 56px) var(--pad-x) 28px;
  background: var(--ink);
  color: rgba(253, 251, 244, 0.85);
}
.footer-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: start;
}
.footer-brand img { width: 150px; }
.footer-brand p {
  margin: 12px 0 0;
  font-family: var(--f-display);
  font-size: 14px;
  letter-spacing: 0.06em;
}
.footer-nav { display: grid; gap: 8px; justify-items: start; }
.footer-nav a { font-size: 13.5px; opacity: 0.85; }
.footer-nav a:hover { opacity: 1; color: var(--sun); }
.footer-meta {
  max-width: var(--max-w);
  margin: 30px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(253, 251, 244, 0.2);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 12px;
  opacity: 0.7;
}
@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ============================================================
   下層ページ（works）
   ============================================================ */

.page-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(24px, 4vw, 40px); }
.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.page-title {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(25px, 3.4vw, 38px);
  line-height: 1.5;
}
.page-lead { margin: 18px 0 0; color: var(--ink-soft); font-size: 15px; max-width: 560px; }
.page-hero-photo {
  margin: 0;
  position: relative;
  background: var(--paper-bright);
  border: 1px solid var(--rule);
  padding: 10px;
  box-shadow: 0 14px 30px rgba(34, 48, 58, 0.14);
  transform: rotate(-1deg);
}
.page-hero-photo img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.page-hero-photo figcaption {
  margin-top: 7px;
  padding: 0 2px;
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--ink-soft);
  line-height: 1.6;
}
@media (max-width: 780px) { .page-hero-inner { grid-template-columns: 1fr; } }

.jump-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding-block: 8px 30px;
}
.jump-nav a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  border: 1.5px solid var(--ink);
  background: var(--paper-bright);
  font-weight: 700;
  font-size: 13px;
  box-shadow: 4px 4px 0 var(--ink-faint);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.jump-nav a:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 rgba(200, 54, 42, 0.2); }
.jump-nav small { font-family: var(--f-mono); color: var(--shu); font-weight: 700; font-size: 11px; }
.jump-nav i { color: var(--shu); font-style: normal; }
@media (max-width: 780px) { .jump-nav { grid-template-columns: repeat(2, 1fr); } }

.work-block { padding: clamp(48px, 7vw, 88px) 0; border-top: 1px solid var(--rule); }
.work-block.is-tint { background: color-mix(in srgb, var(--paper-deep) 42%, var(--paper)); }

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 28px);
  margin-top: clamp(22px, 3vw, 36px);
}
.two-col article {
  padding: 20px 22px;
  background: var(--paper-bright);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--shu);
}
.two-col h3 { margin: 0 0 8px; font-family: var(--f-display); font-size: 17.5px; }
.two-col p { margin: 0; font-size: 14px; color: var(--ink-soft); }
@media (max-width: 680px) { .two-col { grid-template-columns: 1fr; } }

.cycle-flow.is-plain { margin-top: clamp(22px, 3vw, 36px); }
.cycle-flow.is-plain @media (max-width: 640px) { .cycle-flow.is-four { grid-template-columns: 1fr; } }

.media-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(20px, 3.5vw, 48px);
  align-items: center;
  margin-top: clamp(36px, 5vw, 60px);
}
.media-split.is-reverse .media-split-photo,
.media-split.is-reverse .film-frame { order: 2; }
.media-split-photo {
  margin: 0;
  position: relative;
  background: var(--paper-bright);
  border: 1px solid var(--rule);
  padding: 9px;
}
.media-split-photo img { width: 100%; object-fit: cover; }
.media-split-photo figcaption {
  margin-top: 7px;
  padding: 0 2px;
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.media-split-copy .sec-title { font-size: clamp(21px, 2.7vw, 30px); }
.media-split-copy > p { color: var(--ink-soft); font-size: 14.5px; margin: 12px 0 0; }
.case-title {
  margin: 10px 0 12px;
  font-family: var(--f-display);
  font-size: clamp(19px, 2.3vw, 25px);
  font-weight: 700;
  line-height: 1.5;
}
@media (max-width: 780px) {
  .media-split { grid-template-columns: 1fr; }
  .media-split.is-reverse .media-split-photo,
  .media-split.is-reverse .film-frame { order: 0; }
}

.film-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--rule);
  box-shadow: 6px 6px 0 var(--ink-faint);
}
.film-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.dark-band {
  margin-top: clamp(36px, 5vw, 64px);
  background: var(--ink);
  color: var(--paper-bright);
  padding: clamp(40px, 6vw, 72px) 0;
}
.dark-band .sec-label { color: var(--sun); }
.dark-band .sec-label::before { background: var(--sun); }
.dark-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.dark-band h2 {
  margin: 0 0 14px;
  font-family: var(--f-display);
  font-size: clamp(21px, 2.9vw, 31px);
  line-height: 1.55;
}
.dark-band p { margin: 0; color: rgba(253, 251, 244, 0.82); font-size: 14.5px; line-height: 1.9; }
.dark-band-photo { margin: 0; }
.dark-band-photo img { width: 100%; border: 5px solid var(--paper-bright); }
.loop-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.loop-list li { display: grid; gap: 4px; padding: 14px 16px; border: 1px solid rgba(253, 251, 244, 0.25); }
.loop-list span { font-family: var(--f-mono); color: var(--sun); font-size: 11px; }
.loop-list strong { font-family: var(--f-display); font-size: 15.5px; }
.loop-list small { color: rgba(253, 251, 244, 0.7); font-size: 12.5px; line-height: 1.6; }
@media (max-width: 780px) {
  .dark-band-inner { grid-template-columns: 1fr; }
  .loop-list { grid-template-columns: 1fr; }
}

.check-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.check-list li {
  position: relative;
  padding-left: 24px;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.75;
}
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--shu); font-weight: 700; }

.fact-table { margin: 16px 0 14px; display: grid; border-top: 1px solid var(--rule); }
.fact-table > div {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 12px;
  padding: 9px 2px;
  border-bottom: 1px dashed var(--rule);
  font-size: 13px;
}
.fact-table dt { color: var(--shu); font-weight: 700; }
.fact-table dd { margin: 0; color: var(--ink-soft); }

.project-head { margin-top: clamp(40px, 5vw, 64px); max-width: 660px; }
.project-head p { color: var(--ink-soft); font-size: 14.5px; }
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
  margin-top: 24px;
}
.project-grid.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.project-grid article { background: var(--paper-bright); border: 1px solid var(--rule); box-shadow: 4px 4px 0 var(--ink-faint); }
.project-grid figure { margin: 0; border-bottom: 1px solid var(--rule); }
.project-grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.project-grid article > div { padding: 14px 16px 16px; display: grid; gap: 6px; }
.project-grid span { font-family: var(--f-mono); font-size: 10.5px; color: var(--shu); letter-spacing: 0.08em; }
.project-grid h4 { margin: 0; font-family: var(--f-display); font-size: 15px; line-height: 1.5; }
.project-grid p { margin: 0; font-size: 12.5px; color: var(--ink-soft); line-height: 1.7; }
@media (max-width: 900px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .project-grid, .project-grid.is-two { grid-template-columns: 1fr; } }

.tag-list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li {
  padding: 5px 12px;
  border: 1px solid var(--rule);
  background: var(--paper-bright);
  font-family: var(--f-mono);
  font-size: 11px;
}

.block-note {
  margin-top: clamp(32px, 4vw, 52px);
  padding: 18px 20px;
  background: var(--paper-bright);
  border: 1px dashed var(--rule);
  font-size: 14px;
  color: var(--ink-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
}

/* 誰のための導線かを、ロボット・ラボ内で明確に分ける */
.audience-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(32px, 4vw, 52px);
}
.audience-choice {
  display: grid;
  align-content: start;
  gap: 11px;
  padding: 22px;
  background: var(--paper-bright);
  border: 1px solid var(--rule);
  box-shadow: 5px 5px 0 var(--ink-faint);
}
.audience-choice small {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--shu);
  letter-spacing: 0.09em;
}
.audience-choice h3 {
  margin: 0;
  font-family: var(--f-display);
  font-size: 19px;
  line-height: 1.45;
}
.audience-choice p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.8;
}
.audience-choice .arrow-link { margin-top: 3px; }
@media (max-width: 680px) { .audience-choices { grid-template-columns: 1fr; } }

/* 写真3枚の小さな並び */
.photo-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(20px, 3vw, 32px);
}
.photo-row figure {
  margin: 0;
  background: var(--paper-bright);
  border: 1px solid var(--rule);
  padding: 7px;
  position: relative;
  transform: rotate(var(--tilt, 0deg));
}
.photo-row figure:nth-child(1) { --tilt: -0.7deg; }
.photo-row figure:nth-child(3) { --tilt: 0.7deg; }
.photo-row img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-row figcaption {
  margin-top: 5px;
  padding: 0 2px;
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--ink-soft);
  line-height: 1.5;
}
@media (max-width: 640px) {
  .photo-row { grid-template-columns: 1fr 1fr; }
  .photo-row figure:nth-child(3) { display: none; }
}

/* 循環セクションの補足文 */
.concept-note {
  max-width: 720px;
  margin-top: clamp(24px, 3.5vw, 40px);
  padding: 22px 26px;
  background: var(--paper-bright);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--shu);
}
.concept-note p { margin: 0 0 1em; font-size: 14.5px; color: var(--ink-soft); line-height: 1.95; }
.concept-note p:last-child { margin-bottom: 0; }

/* ============================================================
   お問い合わせフォーム
   ============================================================ */

.form-card {
  margin-top: clamp(28px, 4vw, 44px);
  padding: clamp(22px, 4vw, 44px);
  background: var(--paper-bright);
  border: 2px solid var(--ink);
  box-shadow: 10px 10px 0 var(--shu-pale);
}
.c-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
}
.c-field { display: grid; gap: 7px; }
.c-field.is-wide, .c-consent.is-wide, .c-privacy.is-wide, .c-actions.is-wide { grid-column: 1 / -1; }
.c-field label {
  font-weight: 700;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.req {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--shu);
  border: 1px solid var(--shu);
  padding: 1px 7px;
  border-radius: 2px;
  letter-spacing: 0.08em;
}
.c-field input,
.c-field select,
.c-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--rule);
  background: #fff;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  border-radius: 0;
}
.c-field input:focus-visible,
.c-field select:focus-visible,
.c-field textarea:focus-visible {
  outline: 3px solid var(--shu);
  outline-offset: 1px;
  border-color: var(--shu);
}
.c-field textarea { resize: vertical; min-height: 160px; line-height: 1.8; }

.c-consent label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border: 1px dashed var(--rule);
  background: var(--paper);
  cursor: pointer;
}
.c-consent input { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--shu); }
.c-consent strong { display: block; font-size: 13.5px; }
.c-consent small { display: block; margin-top: 4px; font-size: 12px; color: var(--ink-soft); line-height: 1.7; }

.c-privacy { margin: 0; font-size: 12px; color: var(--ink-soft); }

.c-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.c-msg { font-weight: 700; font-size: 14px; display: none; }
.c-msg.is-visible { display: block; }
.c-msg.is-success { color: #2e7d32; }
.c-msg.is-error { color: var(--shu); }

@media (max-width: 680px) {
  .c-form { grid-template-columns: 1fr; }
}
