@charset "utf-8";
/* imawaku.jp v5 — 共通CSS（案D＝v4スキン）
   正: _assets/concepts/v5_2026-09-06/D_v4skin.html（本人承認済みトップモック）の <style> をそのまま移設し、
   下層ページ用のコンポーネント（パンくず・詳細定義リスト・一覧・フォーム・散文・モバイルナビ）を追加している。
   色・書体・余白のトークンは変更しない。 */

  :root {
    --paper: #FFFFFF;
    --ink: #111111;
    --yellow: #F0FF00;
    --yellow-soft: #FAFFB8;
    --mute: #6b6b66;
    --line: #111111;

    --gothic: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Noto Sans JP", system-ui, sans-serif;
    --display: "Archivo Black", "Zen Kaku Gothic New", system-ui, sans-serif;

    --wrap: 1160px;
    --gut: 32px;
    --head-h: 64px;
    --sec-pad: clamp(80px, 10vh, 132px);
    --bw: 1.5px;
    --blob: 48% 52% 50% 50% / 55% 45% 55% 45%;
    --blob2: 52% 48% 53% 47% / 47% 55% 45% 53%;

    --star: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c1.1 8.2 3.7 10.9 12 12-8.3 1.1-10.9 3.8-12 12-1.1-8.2-3.7-10.9-12-12C8.3 10.9 10.9 8.2 12 0z' fill='%23111'/%3E%3C/svg%3E");
  }

  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 84px; }
  html, body { margin: 0; padding: 0; }

  body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--gothic);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.9;
    font-feature-settings: "palt";
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
  }

  p, li, dd { text-wrap: pretty; }
  a { color: inherit; text-decoration: none; }
  img { max-width: 100%; height: auto; display: block; }
  button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }

  h1, h2, h3, h4 {
    font-family: var(--gothic);
    font-weight: 900;
    line-height: 1.5;
    letter-spacing: 0.02em;
    margin: 0;
    word-break: auto-phrase;
    overflow-wrap: break-word;
  }

  :focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

  .wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

  .skip {
    position: absolute; left: -9999px; top: 0;
    background: var(--ink); color: var(--yellow); padding: 12px 20px; z-index: 200;
  }
  .skip:focus { left: 0; }

  /* 星（1画面に3つまで） */
  .star {
    position: absolute; pointer-events: none;
    background: var(--star) center/contain no-repeat;
    width: 26px; height: 26px; opacity: .9;
  }

  /* 黄マーカー下地 */
  .mk {
    display: inline;
    background-image: linear-gradient(transparent 56%, var(--yellow) 56%, var(--yellow) 96%, transparent 96%);
    padding: 0 .1em;
  }

  /* ---------- header ---------- */
  .site-head {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: var(--head-h);
    background: var(--paper);
    border-bottom: var(--bw) solid var(--line);
  }
  .site-head .wrap {
    height: 100%;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
  }
  .logo {
    font-family: var(--display);
    font-size: 16px; letter-spacing: -0.01em;
    white-space: nowrap;
  }
  .head-cta {
    display: inline-flex; align-items: center;
    height: 38px; padding: 0 18px;
    background: var(--yellow); color: var(--ink);
    border: var(--bw) solid var(--ink); border-radius: 999px;
    font-size: 13px; font-weight: 700; letter-spacing: 0.02em;
    white-space: nowrap;
    transition: transform .18s ease, box-shadow .18s ease;
  }
  .head-cta:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--ink); }
  .lang {
    font-family: var(--display);
    font-size: 12px; letter-spacing: 0.08em; text-decoration: none; color: var(--ink);
    border: var(--bw) solid var(--ink); border-radius: 999px;
    padding: 6px 10px; margin-left: auto; margin-right: 0;
    white-space: nowrap; line-height: 1;
  }
  .lang:hover { background: var(--yellow); }

  /* ---------- generic section ---------- */
  main { padding-top: var(--head-h); }
  section { position: relative; padding: var(--sec-pad) 0; }
  .sec-yellow { background: var(--yellow); }

  .sec-label {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--display);
    font-size: 12px; letter-spacing: 0.1em;
    color: var(--ink);
    margin: 0 0 18px;
  }
  .sec-label::before {
    content: ""; flex: none;
    width: 13px; height: 13px; border-radius: 50%;
    background: var(--yellow); border: var(--bw) solid var(--ink);
  }
  .sec-yellow .sec-label::before { background: var(--paper); }
  .sec-title {
    font-size: clamp(26px, 3.2vw, 40px);
    font-weight: 900; letter-spacing: 0.01em; line-height: 1.5;
    max-width: 22em;
    margin: 0 0 22px;
  }
  .sec-lead {
    max-width: 44em;
    color: var(--mute);
    font-size: 14.5px; line-height: 2;
    margin: 0 0 48px;
  }
  .sec-yellow .sec-lead { color: #4a4a44; }
  .note { font-size: 13px; color: var(--mute); line-height: 1.85; margin: 28px 0 0; }

  /* ---------- hero ---------- */
  .hero { position: relative; padding: clamp(36px, 6vh, 68px) 0 clamp(48px, 7vh, 84px); }
  .hero-top {
    display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 56px); align-items: center;
    margin-bottom: clamp(32px, 5vh, 56px);
  }
  .bigtype-col { container-type: inline-size; min-width: 0; }
  .bigtype {
    font-family: var(--display);
    font-size: clamp(56px, 6.4vw, 128px);              /* cqw 非対応ブラウザ用 */
    font-size: clamp(56px, 19cqw, 128px);            /* 列幅に必ず収める */
    line-height: 0.92; letter-spacing: -0.02em;
    color: var(--yellow);
    -webkit-text-stroke: 2px var(--ink);
    margin: 0; white-space: nowrap;
  }
  .bigtype span { display: block; }
  .bigtype span:nth-child(2) { padding-left: .12em; }
  .bigtype span:nth-child(3) { padding-left: .04em; }

  .hero-eyebrow {
    font-family: var(--display);
    font-size: 11.5px; letter-spacing: 0.08em; color: var(--mute);
    margin: 0 0 14px;
  }
  .hero h1 {
    font-size: clamp(20px, 2.4vw, 30px);
    font-weight: 900; line-height: 1.72; letter-spacing: 0.01em;
    margin: 0 0 20px;
  }
  .hero-sub { font-size: 14.5px; color: var(--mute); line-height: 2; margin: 0 0 24px; max-width: 34em; }
  .hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

  .btn-primary {
    display: inline-flex; align-items: center;
    height: 52px; padding: 0 30px;
    background: var(--yellow); color: var(--ink);
    border: var(--bw) solid var(--ink); border-radius: 999px;
    font-size: 15px; font-weight: 900; letter-spacing: 0.02em;
    box-shadow: 4px 4px 0 var(--ink);
    transition: transform .18s ease, box-shadow .18s ease;
  }
  .btn-primary:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
  .btn-text {
    font-size: 14px; font-weight: 700; color: var(--ink);
    border-bottom: 2px solid var(--yellow); padding-bottom: 3px;
    transition: border-color .2s;
  }
  .btn-text:hover { border-color: var(--ink); }

  .hero-island { position: relative; max-width: 1200px; margin: 0 auto; }
  .hero-island img { width: 100%; }
  .js .hero-island img { animation: islandUp .6s cubic-bezier(.2,.8,.3,1) both; }
  @keyframes islandUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: none; }
  }

  .hero-nav {
    border-top: var(--bw) solid var(--line);
    margin-top: 8px; padding: 16px 0 0;
  }
  .gnav { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
  .gnav a, .mob-nav a {
    font-size: 14px; font-weight: 700; letter-spacing: 0.04em; color: var(--ink);
    border-bottom: 2px solid transparent; padding-bottom: 2px; transition: border-color .2s;
  }
  .gnav a:hover, .mob-nav a:hover { border-bottom-color: var(--yellow); }
  .mob-nav { display: none; }

  .hero-target-row {
    display: flex; align-items: center; gap: 14px 20px; flex-wrap: wrap;
    padding: 22px 0 0;
  }
  .hero-target-label { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; margin: 0; }
  .hero-target { list-style: none; display: flex; gap: 12px; flex-wrap: wrap; margin: 0; padding: 0; }
  .hero-target li {
    font-size: 13px; line-height: 1.6;
    border: var(--bw) dashed var(--ink); border-radius: 999px;
    padding: 6px 16px;
  }

  /* 代表写真が到着したら .portrait の display:none を外す */
  .portrait { display: none; margin: 0; }
  .portrait .frame {
    aspect-ratio: 3 / 4;
    background: transparent;
    border: var(--bw) solid var(--line);
    display: flex; align-items: center; justify-content: center;
  }
  .portrait .frame span { font-family: var(--display); font-size: 11px; letter-spacing: 0.1em; color: var(--mute); }
  .portrait figcaption { font-size: 12px; color: var(--mute); margin-top: 12px; }

  /* ---------- phases ---------- */
  .phase-track { position: relative; }
  .phase-curve {
    position: absolute; left: 0; right: 0; top: 0;
    height: clamp(140px, 15vw, 190px);
    width: 100%; overflow: visible; z-index: 0;
  }
  .phase-curve path { stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 5 7; stroke-linecap: round; fill: none; }
  .phases {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px;
  }
  .phase { text-align: center; }
  .phase-disc {
    width: clamp(140px, 15vw, 190px); height: clamp(140px, 15vw, 190px);
    border-radius: 50%; background: var(--paper);
    border: var(--bw) solid var(--ink);
    margin: 0 auto 18px; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    transition: transform .25s ease;
  }
  .phase-disc img { max-width: 84%; max-height: 84%; width: auto; height: auto; object-fit: contain; }
  .phase-disc:hover { transform: rotate(2deg); }
  .phase .no {
    display: inline-block;
    font-family: var(--display); font-size: 11px; letter-spacing: 0.08em;
    background: var(--paper); border: var(--bw) solid var(--ink); border-radius: 999px;
    padding: 2px 12px; margin: 0 0 8px;
  }
  .phase h3 { font-size: 17px; font-weight: 900; letter-spacing: 0.02em; margin: 0 0 8px; }
  .phase-body { font-size: 13px; color: #4a4a44; line-height: 1.8; margin: 0 auto; max-width: 13em; }

  .phase-band {
    position: relative;
    margin-top: 66px;
    background: var(--paper);
    border: var(--bw) solid var(--ink);
    border-radius: 22px;
    padding: 26px 32px;
  }
  .phase-band::before, .phase-band::after {
    content: ""; position: absolute; left: 88%;
    width: 0; height: 0;
    border-left: 13px solid transparent; border-right: 13px solid transparent;
  }
  .phase-band::before { top: -19px; border-bottom: 18px solid var(--ink); }
  .phase-band::after  { top: -16px; border-bottom: 18px solid var(--paper); }
  .phase-band .band-title { font-size: 17px; font-weight: 900; letter-spacing: 0.02em; margin: 0 0 8px; }
  .phase-band .band-body { font-size: 14px; color: var(--mute); line-height: 1.9; max-width: 48em; margin: 0; }

  /* ---------- services ---------- */
  .services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
  .service {
    position: relative;
    border: var(--bw) solid var(--ink);
    border-radius: 26px;
    background: var(--paper);
    padding: 26px 30px 32px;
  }
  .service-fig {
    background: var(--yellow-soft);
    border-radius: var(--blob);
    margin: 0 0 22px; padding: 14px;
    height: 270px;                       /* カード間で見出し位置を揃える */
    display: flex; align-items: center; justify-content: center;
    transition: transform .25s ease;
  }
  .service-fig:hover { transform: rotate(2deg); }
  .service-fig img { width: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
  .service h2, .service h3 {
    font-size: 21px; font-weight: 900; letter-spacing: 0.02em;
    margin: 0 0 20px; padding-bottom: 16px;
    border-bottom: var(--bw) dashed var(--ink);
  }
  .badge-new {
    display: inline-block; vertical-align: 3px;
    font-size: 11px; font-weight: 700; color: var(--ink);
    background: var(--yellow); border: var(--bw) solid var(--ink); border-radius: 999px;
    padding: 1px 10px; margin-left: 10px; letter-spacing: 0.04em;
  }
  .service dl { margin: 0; display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px 20px; }
  .service dt { font-size: 12px; font-weight: 700; color: var(--mute); letter-spacing: 0.04em; line-height: 1.9; padding-top: 2px; }
  .service dd { margin: 0; font-size: 14px; line-height: 1.95; }
  .service dd ul { list-style: none; margin: 0; padding: 0; }
  .service dd ul li { position: relative; padding-left: 18px; }
  .service dd ul li::before {
    content: ""; position: absolute; left: 0; top: 11px;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--yellow); border: 1.2px solid var(--ink);
  }

  /* ---------- works ---------- */
  .works {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px; counter-reset: w;
  }
  .work { counter-increment: w; border-top: var(--bw) solid var(--line); padding-top: 0; }
  .work::before {
    content: counter(w, decimal-leading-zero);
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--yellow); border: var(--bw) solid var(--ink); color: var(--ink);
    font-family: var(--display); font-size: 13px; letter-spacing: 0.04em;
    margin: -22px 0 22px;
  }
  .work h3 { font-size: 18px; font-weight: 900; letter-spacing: 0.02em; margin: 0 0 18px; }
  .work dl { margin: 0; }
  .work dt { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; color: var(--mute); margin: 0 0 5px; }
  .work dd { margin: 0 0 18px; font-size: 14px; line-height: 1.95; }
  .work dd:last-child { margin-bottom: 0; }
  .text-cta { margin: 22px 0 0; }

  /* ---------- about ---------- */
  .about-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: start; }
  .about-name { font-size: 28px; font-weight: 900; letter-spacing: 0.06em; margin: 0 0 10px; }
  .about-name .en {
    display: block; font-family: var(--display); font-size: 12px; font-weight: 400;
    letter-spacing: 0.06em; color: var(--mute); margin-top: 10px;
  }
  .about-role { font-size: 13px; color: var(--mute); margin: 0 0 26px; }
  .about-body { font-size: 15px; line-height: 2.1; max-width: 40em; margin: 0 0 40px; }

  .career { border-top: var(--bw) solid var(--line); padding-top: 24px; margin: 0 0 44px; }
  .career h3 { font-family: var(--display); font-size: 12px; font-weight: 400; letter-spacing: 0.1em; margin: 0 0 14px; }
  .career ul { list-style: none; margin: 0; padding: 0; }
  .career li { font-size: 14px; line-height: 1.9; padding: 9px 0 9px 20px; border-bottom: 1px solid var(--line); position: relative; }
  .career li:last-child { border-bottom: 0; }
  .career li::before {
    content: ""; position: absolute; left: 0; top: 1.25em;
    width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); border: 1.2px solid var(--ink);
  }

  .quotes { display: grid; gap: 26px; margin: 0; max-width: 46em; }
  .quotes blockquote {
    position: relative; margin: 0;
    border: var(--bw) solid var(--ink);
    border-radius: 30px 30px 30px 6px;
    padding: 20px 26px;
    font-size: 16px; font-weight: 500; line-height: 1.95; letter-spacing: 0.01em;
    background: var(--paper);
  }
  .quotes blockquote:nth-child(2) { border-radius: 30px 30px 6px 30px; }
  .quotes blockquote::before, .quotes blockquote::after {
    content: ""; position: absolute; left: 30px; bottom: -17px;
    width: 0; height: 0;
    border-left: 11px solid transparent; border-right: 11px solid transparent;
  }
  .quotes blockquote::before { border-top: 17px solid var(--ink); }
  .quotes blockquote::after  { bottom: -14px; border-top: 17px solid var(--paper); }

  /* ---------- fit ---------- */
  .fit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
  .fit-col { border: var(--bw) dashed var(--ink); border-radius: 20px; padding: 26px 28px 28px; }
  .fit-col h3 { font-size: 18px; font-weight: 900; letter-spacing: 0.02em; margin: 0 0 18px; }
  .fit-col ul { list-style: none; margin: 0; padding: 0; }
  .fit-col li {
    font-size: 14px; line-height: 1.95;
    padding: 11px 0 11px 26px; position: relative;
    border-bottom: 1px dashed #b9b9b2;
  }
  .fit-col li:last-child { border-bottom: 0; }
  .fit-col li::before {
    content: ""; position: absolute; left: 0; top: 1.15em;
    width: 12px; height: 12px; border-radius: 50%; border: var(--bw) solid var(--ink);
  }
  .fit-yes li::before { background: var(--yellow); }
  .fit-no li::before { background: var(--paper); }

  /* ---------- company ---------- */
  .company-table { border-top: 1px solid var(--line); margin: 0; }
  .company-row {
    display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px;
    padding: 20px 0; border-bottom: 1px solid var(--line);
  }
  .company-row dt { font-size: 13px; font-weight: 700; color: var(--mute); letter-spacing: 0.04em; }
  .company-row dd { margin: 0; font-size: 15px; line-height: 1.95; }

  /* ---------- contact ---------- */
  .contact-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); align-items: start; }
  .contact-fig { position: relative; }
  .contact-fig img { width: 100%; max-width: 460px; margin: 0 auto; transition: transform .25s ease; }
  .contact-fig img:hover { transform: rotate(2deg); }

  .steps { list-style: none; margin: 30px 0 34px; padding: 0; counter-reset: s; display: grid; gap: 12px; }
  .steps li {
    counter-increment: s; position: relative;
    background: var(--paper);
    border: var(--bw) solid var(--ink); border-radius: 999px;
    padding: 12px 22px 12px 60px;
    font-size: 14px; font-weight: 700; line-height: 1.7;
  }
  .steps li::before {
    content: counter(s);
    position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--yellow); border: var(--bw) solid var(--ink); color: var(--ink);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--display); font-size: 12px;
  }
  .steps .n {
    font-family: var(--display); font-size: 10px; letter-spacing: 0.08em;
    color: var(--mute); display: block; margin-bottom: 1px; font-weight: 400;
  }

  .form-note { font-size: 12.5px; color: var(--mute); line-height: 1.85; margin: 12px 0 0; }
  .form-note a { border-bottom: 1.5px solid var(--ink); }

  /* ---------- footer ---------- */
  .site-foot { background: var(--paper); border-top: var(--bw) solid var(--line); padding: 44px 0 52px; }
  .foot-grid { display: flex; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
  .foot-info p { margin: 0; font-size: 13px; color: var(--mute); line-height: 1.9; }
  .foot-info .nm { font-family: var(--display); color: var(--ink); font-size: 15px; margin-bottom: 6px; letter-spacing: 0; }
  .foot-nav { display: flex; gap: 20px; flex-wrap: wrap; }
  .foot-nav a { font-size: 13px; color: var(--mute); transition: color .2s; }
  .foot-nav a:hover { color: var(--ink); }
  .copy {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--display); font-size: 11.5px; color: var(--mute);
    letter-spacing: 0.04em; margin-top: 30px;
  }
  .copy::before { content: ""; flex: none; width: 11px; height: 11px; border-radius: 50%; background: var(--yellow); border: 1.2px solid var(--ink); }

  /* ---------- pop reveal ---------- */
  .pop { opacity: 0; transform: scale(.96); }
  .js .pop { transition: opacity .5s cubic-bezier(.2,.8,.3,1), transform .5s cubic-bezier(.2,.8,.3,1); }
  .pop.in, html:not(.js) .pop { opacity: 1; transform: none; }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .pop { opacity: 1 !important; transform: none !important; transition: none !important; }
    .js .hero-island img { animation: none !important; }
    .phase-disc:hover, .service-fig:hover, .contact-fig img:hover { transform: none !important; }
    * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  }

  /* ================================================================
     D 追加分（v4のトークン・様式のみを使う。色・書体・余白は変えない）
     ①ヘッダー内グローバルナビ ②ROOT HERB ポラロイド ③お知らせ
     ④体制の段落 ⑤用件別4分岐
     ================================================================ */

  /* ① ヘッダー内グローバルナビ */
  .head-nav { display: flex; align-items: center; gap: 22px; margin: 0 auto 0 28px; }
  .head-nav a {
    font-size: 13.5px; font-weight: 700; letter-spacing: 0.03em; color: var(--ink);
    border-bottom: 2px solid transparent; padding-bottom: 2px; transition: border-color .2s;
    white-space: nowrap;
  }
  .head-nav a:hover { border-bottom-color: var(--yellow); }
  .head-nav a[aria-current="page"] { border-bottom-color: var(--yellow); }

  /* ② ROOT HERB：ポラロイド風 */
  .work-hero {
    display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
    gap: clamp(34px, 5vw, 68px); align-items: center;
    margin: 0 0 clamp(56px, 7vw, 82px);
  }
  .polaroid {
    position: relative; margin: 0;
    background: var(--paper);
    border: var(--bw) solid var(--ink);
    border-radius: 4px;
    padding: 14px 14px 0;
    box-shadow: 9px 9px 0 var(--ink);
    transform: rotate(-1.8deg);
    transition: transform .25s ease;
  }
  .polaroid:hover { transform: rotate(0deg); }
  .work-hero.alt figure { order: 2; }
  .work-hero.alt .polaroid { transform: rotate(1.6deg); }
  .work-hero.alt .polaroid::before { left: auto; right: 26px; transform: rotate(4deg); }
  .work-hero.alt .polaroid:hover { transform: rotate(0deg); }
  .polaroid::before {
    content: ""; position: absolute; top: -13px; left: 26px;
    width: 108px; height: 26px;
    background: var(--yellow); border: var(--bw) solid var(--ink);
    transform: rotate(-6deg);
  }
  .polaroid img { width: 100%; border: var(--bw) solid var(--ink); }
  .polaroid figcaption {
    font-family: var(--display); font-size: 11.5px; letter-spacing: 0.08em;
    color: var(--mute); padding: 14px 2px 18px;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
  }
  .work-hero .wtag {
    display: inline-block; margin: 0 0 14px;
    font-family: var(--display); font-size: 11px; letter-spacing: 0.08em;
    background: var(--yellow); border: var(--bw) solid var(--ink); border-radius: 999px;
    padding: 3px 14px;
  }
  .work-hero h3 { font-size: clamp(19px, 2.1vw, 25px); margin: 0 0 20px; }
  .work-hero dl { margin: 0 0 22px; }
  .work-hero dt { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; color: var(--mute); margin: 0 0 5px; }
  .work-hero dd { margin: 0 0 16px; font-size: 14px; line-height: 1.95; }
  .chips { list-style: none; display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 22px; padding: 0; }
  .chips li {
    font-size: 12.5px; line-height: 1.6;
    border: var(--bw) dashed var(--ink); border-radius: 999px;
    padding: 5px 14px;
  }

  /* ③ お知らせ */
  .updates { list-style: none; margin: 0; padding: 0; border-top: var(--bw) solid var(--line); }
  .updates li {
    display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 8px 30px;
    padding: 22px 0; border-bottom: 1px solid var(--line); align-items: baseline;
  }
  .updates .d { font-family: var(--display); font-size: 13px; letter-spacing: 0.04em; }
  .updates .t { font-size: 15.5px; font-weight: 900; line-height: 1.8; letter-spacing: 0.02em; margin: 0; }
  .updates .t small { display: block; font-size: 13px; font-weight: 400; color: var(--mute); line-height: 1.9; margin-top: 5px; }

  /* ④ 体制 */
  .team-note {
    border: var(--bw) dashed var(--ink); border-radius: 20px;
    padding: 24px 28px; max-width: 46em;
  }
  .team-note h3 { font-size: 16px; margin: 0 0 10px; }
  .team-note p { font-size: 14px; line-height: 1.95; margin: 0; }

  /* ⑤ 用件別4分岐 */
  .routes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 0 0 32px; }
  .route {
    display: block; background: var(--paper);
    border: var(--bw) solid var(--ink); border-radius: 20px;
    padding: 20px 22px 22px;
    transition: transform .18s ease, box-shadow .18s ease;
  }
  .route:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
  .route h3 { font-size: 15px; margin: 0 0 9px; }
  .route p { font-size: 13px; color: var(--mute); line-height: 1.85; margin: 0 0 12px; }
  .route .go { font-size: 13px; font-weight: 700; border-bottom: 2px solid var(--yellow); padding-bottom: 2px; }

  /* ---------- responsive ---------- */
  @media (max-width: 1080px) {
    .head-nav { display: none; }
    .mob-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
  }

  @media (max-width: 1000px) {
    .hero-top { grid-template-columns: 1fr; gap: 24px; }
    .services { grid-template-columns: 1fr; }
    .works { grid-template-columns: 1fr; gap: 32px; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-fig img { max-width: 340px; }
    .phase-disc { width: clamp(110px, 17vw, 150px); height: clamp(110px, 17vw, 150px); }
    .phase-curve { height: clamp(110px, 17vw, 150px); }
    .work-hero { grid-template-columns: 1fr; gap: 34px; }
    .work-hero.alt figure { order: 0; }
    .routes { grid-template-columns: 1fr; }
  }

  @media (max-width: 768px) {
    :root { --gut: 20px; --head-h: 58px; --sec-pad: 64px; }
    body { font-size: 15px; }

    .bigtype { font-size: clamp(44px, 14vw, 72px); font-size: min(clamp(44px, 14vw, 72px), 19cqw); -webkit-text-stroke-width: 1.6px; }
    .hero-island { width: 100%; }
    .hero-actions { gap: 18px; }
    .btn-primary { height: 48px; padding: 0 24px; font-size: 14px; }

    .gnav { display: none; }

    .phase-curve { display: none; }
    .phases { grid-template-columns: 1fr; gap: 0; }
    .phase {
      position: relative; text-align: left;
      display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 18px;
      align-items: center; padding: 14px 0;
    }
    .phase::before {
      content: ""; position: absolute; left: 51px; top: 0; bottom: 50%;
      border-left: var(--bw) dashed var(--ink);
    }
    .phase:first-child::before { display: none; }
    .phase::after {
      content: ""; position: absolute; left: 51px; top: 50%; bottom: 0;
      border-left: var(--bw) dashed var(--ink);
    }
    .phase:last-child::after { display: none; }
    .phase-disc {
      width: 104px; height: 104px; margin: 0; position: relative; z-index: 1;
      grid-column: 1; grid-row: 1 / span 3; align-self: center;
    }
    .phase .no       { grid-column: 2; grid-row: 1; margin: 0 0 4px; }
    .phase h3        { grid-column: 2; grid-row: 2; margin: 0 0 4px; }
    .phase-body      { grid-column: 2; grid-row: 3; max-width: none; margin: 0; }
    .phase:last-child .phase-disc { grid-row: 1; }
    .phase-band { margin-top: 34px; padding: 22px 22px; }
    .phase-band::before, .phase-band::after { left: 34px; }

    .service { padding: 20px 20px 26px; border-radius: 22px; }
    .service-fig { height: 210px; }
    .service h2, .service h3 { font-size: 19px; }
    .service dl, .svc-page .service dl { grid-template-columns: 1fr; gap: 3px 0; }
    .service dt { margin-top: 14px; }
    .service dl dt:first-of-type { margin-top: 0; }

    .fit { grid-template-columns: 1fr; }
    .company-row { grid-template-columns: 1fr; gap: 4px; }
    .about-name { font-size: 25px; }
    .quotes blockquote { font-size: 15px; padding: 18px 20px; }
    .steps li { font-size: 13.5px; padding: 11px 18px 11px 54px; }
    .star { display: none; }

    .polaroid { padding: 10px 10px 0; box-shadow: 6px 6px 0 var(--ink); }
    .polaroid::before { width: 80px; height: 20px; top: -10px; left: 18px; }
    .updates li { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
    .team-note { padding: 20px 20px; border-radius: 18px; }
    .route { padding: 18px 18px 20px; border-radius: 18px; }
  }

  /* ヘッダーCTAは狭い画面で短い表記に切り替える（言語スイッチャー分の幅を確保） */
  .head-cta .cta-mini { display: none; }
  @media (max-width: 600px) {
    .head-cta .cta-full { display: none; }
    .head-cta .cta-mini { display: inline; }
  }
  @media (max-width: 480px) {
    .site-head .wrap { gap: 10px; }
    .logo { font-size: 14px; }
    .lang { font-size: 11px; padding: 4px 8px; letter-spacing: 0.04em; }
    .head-cta { padding: 0 13px; font-size: 12px; }
  }

  @media (max-width: 360px) {
    .logo { font-size: 13px; }
    .lang { font-size: 10px; padding: 3px 7px; }
    .head-cta { padding: 0 11px; font-size: 11px; }
  }

  @media (max-width: 340px) {
    .site-head .wrap { gap: 8px; }
    .logo { font-size: 12px; }
    .lang { padding: 3px 6px; letter-spacing: 0; }
    .head-cta { padding: 0 10px; font-size: 10.5px; }
  }

/* ================================================================
   下層ページ用の追加（v4のトークン・様式のみを使う）
   ⑥モバイルナビ ⑦パンくず ⑧ページ見出し ⑨詳細定義リスト
   ⑩プロジェクト一覧リスト ⑪散文 ⑫フォーム
   ================================================================ */

/* ⑥ ヘッダーのモバイルナビ */
.head-toggle {
  display: none;
  align-items: center; justify-content: center;
  height: 34px; padding: 0 12px;
  background: var(--paper); color: var(--ink);
  border: var(--bw) solid var(--ink); border-radius: 999px;
  font-family: var(--display); font-size: 11px; letter-spacing: 0.08em;
  cursor: pointer; white-space: nowrap;
}
.head-toggle:hover { background: var(--yellow); }
.mobmenu {
  display: none;
  position: fixed; top: var(--head-h); left: 0; right: 0; z-index: 99;
  background: var(--paper);
  border-bottom: var(--bw) solid var(--line);
  max-height: calc(100vh - var(--head-h)); overflow-y: auto;
}
.mobmenu.open { display: block; }
.mobmenu ul { list-style: none; margin: 0; padding: 6px var(--gut) 18px; }
.mobmenu li { border-bottom: 1px dashed #b9b9b2; }
.mobmenu li:last-child { border-bottom: 0; }
.mobmenu a { display: block; padding: 14px 0; font-size: 15px; font-weight: 700; letter-spacing: 0.02em; }
.mobmenu a[aria-current="page"] { border-bottom: 0; }
.mobmenu a[aria-current="page"] span { border-bottom: 2px solid var(--yellow); }
@media (max-width: 1080px) { .head-toggle { display: inline-flex; } }
@media (min-width: 1081px) { .mobmenu { display: none !important; } }

/* ⑦ パンくず */
.crumb { margin: 0 0 20px; }
.crumb ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0; padding: 0; }
.crumb li { font-size: 12px; color: var(--mute); display: flex; align-items: center; gap: 10px; line-height: 1.7; }
.crumb li:not(:last-child)::after { content: "›"; color: var(--mute); }
.crumb a { color: var(--mute); border-bottom: 2px solid var(--yellow); padding-bottom: 1px; }
.crumb a:hover { color: var(--ink); }
.crumb li[aria-current] { color: var(--ink); font-weight: 700; }

/* ⑧ ページ見出し（section の sec-label / sec-title / sec-lead をそのまま使う） */
.pagesec { padding-top: clamp(44px, 6vh, 76px); }
h1.sec-title { max-width: 24em; }

/* ⑨ 詳細定義リスト（company-table と同じ様式） */
.detail { border-top: 1px solid var(--line); margin: 0; }
.detail-row {
  display: grid; grid-template-columns: 176px minmax(0, 1fr); gap: 24px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.detail-row dt { font-size: 12px; font-weight: 700; color: var(--mute); letter-spacing: 0.06em; padding-top: 3px; }
.detail-row dd { margin: 0; font-size: 14.5px; line-height: 1.95; }
.detail-row dd a { border-bottom: 2px solid var(--yellow); padding-bottom: 1px; font-weight: 700; }
.detail-row dd a:hover { border-bottom-color: var(--ink); }
.detail-row .chips { margin: 0; }
.detail-row .chips a { border: 0; padding: 0; font-weight: 400; }
.detail-row .chips li:hover { background: var(--yellow); }

/* ⑩ 他のプロジェクト一覧 */
.plist { list-style: none; margin: 0; padding: 0; border-top: var(--bw) solid var(--line); }
.plist li { border-bottom: 1px solid var(--line); }
.plist a { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 8px 16px; align-items: start; padding: 18px 0; }
.plist .chip { width: 13px; height: 13px; border-radius: 50%; border: 1.2px solid var(--ink); margin-top: 6px; }
.plist .pn { display: block; font-size: 15.5px; font-weight: 900; line-height: 1.7; letter-spacing: 0.02em; }
.plist .pd { display: block; font-size: 12.5px; color: var(--mute); line-height: 1.85; margin-top: 3px; }
.plist .arw { font-size: 14px; color: var(--mute); padding-top: 4px; }
.plist a:hover .pn { border-bottom: 2px solid var(--yellow); display: inline-block; }

/* ⑪ 散文（プライバシーポリシー） */
.prose { max-width: 46em; }
.prose h2 { font-size: 17px; margin: 36px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 14.5px; line-height: 2; color: #3a3a36; margin: 0; }
.prose a { border-bottom: 2px solid var(--yellow); padding-bottom: 1px; font-weight: 700; }
.prose a:hover { border-bottom-color: var(--ink); }

/* ⑫ フォーム（v4 の様式をそのまま） */
.contact-form { background: var(--paper); border: var(--bw) solid var(--ink); border-radius: 18px; padding: 30px; }
.field { margin: 0 0 20px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin: 0 0 8px; letter-spacing: 0.02em; }
.field .req {
  font-size: 10px; color: var(--ink); margin-left: 8px; letter-spacing: 0.04em;
  background: var(--yellow); border: 1.2px solid var(--ink); border-radius: 999px; padding: 1px 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--paper);
  border: var(--bw) solid var(--ink);
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 15px; line-height: 1.7;
  transition: box-shadow .2s;
}
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.field textarea { resize: vertical; min-height: 128px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: 0 0 0 3px var(--yellow); }
.field input::placeholder, .field textarea::placeholder { color: var(--mute); opacity: 1; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.submit {
  background: var(--ink); color: var(--yellow); border: var(--bw) solid var(--ink); border-radius: 999px;
  height: 50px; padding: 0 34px; font-size: 15px; font-weight: 900; letter-spacing: 0.02em;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease;
  box-shadow: 4px 4px 0 rgba(17,17,17,.25);
}
.submit:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 rgba(17,17,17,.25); }
.submit:disabled { opacity: .45; cursor: default; transform: none; }

.form-msg { font-size: 13px; margin: 16px 0 0; min-height: 20px; }
.form-msg.error { color: #8f1f1f; font-weight: 700; }
.form-msg.sending { color: var(--mute); }
.form-success { display: none; background: var(--paper); border: var(--bw) solid var(--ink); border-radius: 18px; padding: 36px 30px; }
.form-success.show { display: block; }
.form-success h2 { font-size: 20px; font-weight: 900; letter-spacing: 0.02em; margin: 0 0 12px; }
.form-success p { font-size: 14px; color: var(--mute); margin: 0; }

/* 相談導線バンド（下層共通） */
.cta-band { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.cta-band .fig img { width: 100%; max-width: 400px; margin: 0 auto; }
.cta-band .note { margin-top: 20px; }
.cta-band .btn-primary { margin-top: 6px; }

/* 一覧・詳細で使う補助 */
.lead-note { font-size: 13px; color: var(--mute); line-height: 1.9; margin: 22px 0 0; max-width: 46em; }
.works.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* サービス一覧ページは「関連プロジェクト」のラベルが長いので見出し列を広げる */
.svc-page .service dl { grid-template-columns: 106px minmax(0, 1fr); }
.service dd.rel a { border-bottom: 2px solid var(--yellow); padding-bottom: 1px; }
.service dd.rel a:not(:last-child)::after { content: "／"; border: 0; color: var(--mute); margin: 0 2px 0 4px; }

@media (max-width: 1000px) {
  .cta-band { grid-template-columns: 1fr; }
  .cta-band .fig img { max-width: 320px; }
}
@media (max-width: 768px) {
  .detail-row { grid-template-columns: 1fr; gap: 5px; }
  .contact-form { padding: 22px 18px; }
  .form-success { padding: 26px 20px; }
  .prose h2 { margin-top: 28px; }
}
