@charset "utf-8";

/* ---------- 自己ホストWebフォント（v18・CDN不使用） ----------
   scripts/subset_fonts.py がサイト内の使用文字だけにサブセットして生成する。
   記事などで新しい漢字を使ったら npm run build（サブセット再生成込み）を回すこと。
   下のURLのクエリはプレースホルダで、ビルドが fontset.json の hash に差し替える（手で数字を上げる運用は
   忘れると新出漢字だけシステムフォントに化けるため廃止した）。この部分は書き換えないこと。 */
@font-face {
  font-family: "Noto Sans JP";
  src: url("../assets/fonts/noto-sans-jp.var.woff2?v=66fb0d187b4b0daa") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Shippori Mincho";
  src: url("../assets/fonts/shippori-mincho-600.woff2?v=66fb0d187b4b0daa") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  /* 和モダン配色: 白（胡粉）×墨×藍×朱 */
  --ink: #17191e;
  --ink-2: #454b55;
  --ink-3: #6e747d;
  --line: #d3d7dc;
  --line-2: #e6e9ec;
  --paper: #fbfbf9;
  --paper-2: #f1f3f5;
  --white: #fff;
  --night: #101830;
  --night-2: #1c2c52;
  --brand: #2a5fac;
  --brand-deep: #1c4585;
  --brand-soft: #e4ebf5;
  --accent: #c03a24;    /* 朱。白文字を載せてAA(5.4:1)を満たす明度 */
  --accent-2: #ff8a68;   /* 濃紺地の上で使う明るい朱 */
  --accent-soft: #fbe9e4;
  --warn: #b3522d;
  --wrap: 1200px;
  --pad: 32px;
  --r-s: 2px;
  --r-m: 4px;
  --r-l: 8px;
  --shadow-s: 0 1px 0 rgba(16,26,30,.08);
  --shadow-m: 0 22px 70px rgba(16,24,48,.14);
  /* 先頭の "Noto Sans JP" は自己ホストのサブセットwebfont（可変・100-900の本物の太字が出る）。
     読み込み前/サブセット外の文字はシステムフォントで代替。
     注意: "Yu Gothic UI"(WindowsのUI用詰めフォント)は本文に使わない。 */
  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans",
          "Yu Gothic Medium", "Yu Gothic", Meiryo,
          system-ui, -apple-system, sans-serif;
  /* 見出し用の明朝（しっぽり明朝600・自己ホスト） */
  --font-serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; } /* scroll-padding: アンカー先がstickyヘッダーに潜らないように */
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-weight: 400; /* 可変フォントの既定インスタンス(Thin)に落ちないよう明示 */
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: .025em;
  /* anywhere は「どこでも改行してよい」＝ブラウザ標準の禁則処理を無効にしてしまい、
     長音「ー」や小書き仮名「っ」が行頭に来る。溢れる時だけ単語内で折る break-word にする。
     line-break: strict で長音・小書き仮名の行頭禁則を明示的に有効化。 */
  overflow-wrap: break-word;
  line-break: strict;
}
img, svg { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--brand-deep); text-decoration: none; }
a:hover { text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.35; letter-spacing: -.035em; }
p { margin: 0 0 1.15em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
li { margin-bottom: .4em; }
table { width: 100%; border-collapse: collapse; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
::selection { color: var(--white); background: var(--accent); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.wrap-narrow { max-width: 850px; }
.section { padding: 112px 0; }
.section--soft { background: var(--paper-2); }
.section--tight { padding: 68px 0; }
.skip {
  position: absolute; top: 0; left: -9999px; z-index: 300;
  padding: 10px 16px; color: #fff; background: var(--night);
}
.skip:focus { top: 8px; left: 8px; }

/* Header */
.hdr {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid rgba(16,26,30,.15);
  background: rgba(251,251,249,.94);
  backdrop-filter: blur(16px);
}
.hdr__in { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); font-weight: 700; }
/* object-fit: ロゴはPNG（正方形）なので、幅と高さの指定がズレても潰れないように保険をかける */
.brand__mark { width: 36px; height: 36px; flex: 0 0 36px; object-fit: contain; }
.brand__name { font-size: 15px; line-height: 1.2; letter-spacing: .015em; white-space: nowrap; }
.brand__name small {
  display: block; margin-top: 4px; color: var(--ink-3);
  font-size: 9px; font-weight: 600; letter-spacing: .22em;
}
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav__list li { margin: 0; }
.nav__list a {
  display: block; padding: 10px 10px; color: var(--ink-2);
  font-size: 13px; font-weight: 700; letter-spacing: 0;
}
.nav__list a:hover, .nav__list a[aria-current="page"] { color: var(--brand-deep); }
.nav__cta {
  margin-left: 8px; padding: 11px 17px !important; color: #fff !important;
  background: var(--night); border: 1px solid var(--night);
}
.nav__cta:hover { color: var(--white) !important; background: var(--accent); border-color: var(--ink); }
.navbtn {
  display: none; align-items: center; justify-content: center; width: 46px; height: 46px;
  margin-left: auto; border: 1px solid var(--ink); background: transparent; cursor: pointer;
}
.navbtn span { position: relative; display: block; width: 20px; height: 2px; background: var(--ink); }
.navbtn span::before, .navbtn span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px;
  background: var(--ink); transition: transform .2s ease, opacity .2s ease;
}
.navbtn span::before { top: -6px; }
.navbtn span::after { top: 6px; }
.navbtn[aria-expanded="true"] span { background: transparent; }
.navbtn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.navbtn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: var(--ink);
  border-bottom: 1px solid var(--ink); background: var(--paper);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, transparent calc(50% - .5px), rgba(16,26,30,.07) 50%, transparent calc(50% + .5px)),
    linear-gradient(rgba(16,26,30,.04) 1px, transparent 1px);
  background-size: 100% 100%, 100% 96px;
  pointer-events: none;
}
.hero__in {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  min-height: 710px; padding-top: 90px; padding-bottom: 86px;
}
.hero__copy { align-self: center; padding-right: clamp(30px, 6vw, 88px); }
.hero__eyebrow, .head__label, .phead__label {
  display: block; margin: 0 0 24px; color: var(--brand-deep);
  font-size: 11px; font-weight: 800; letter-spacing: .18em;
}
.hero h1 {
  max-width: 780px; margin-bottom: 30px;
  font-size: clamp(46px, 6.2vw, 84px); line-height: 1.12; letter-spacing: -.075em;
}
.hero h1 span { position: relative; z-index: 0; white-space: nowrap; }
.hero h1 span::after {
  content: ""; position: absolute; z-index: -1; right: -.03em; bottom: .04em; left: -.02em;
  height: .22em; background: var(--accent);
}
.hero__lead { max-width: 29em; margin-bottom: 38px; color: var(--ink-2); font-size: clamp(17px, 2vw, 21px); line-height: 1.9; }
.hero__cta { display: flex; align-items: center; gap: 28px; }
/* --ink-3 だと12pxで4.24＝AA未達。透かしロゴが背後に入るとさらに4.12まで落ちるので一段濃く。
   「初回相談無料」は細字の飾りではなく読ませたい情報なので、濃くする方が筋も通る */
.hero__note { margin: 20px 0 0; color: var(--ink-2); font-size: 12px; }
.hero__visual {
  display: flex; flex-direction: column; justify-content: center; padding: 0 0 0 clamp(36px, 5vw, 76px);
  border-left: 1px solid rgba(16,26,30,.18);
}
.build-card {
  position: relative; width: 100%; max-width: 500px; margin-inline: auto; overflow: hidden;
  color: #fff; background: var(--night); border: 1px solid var(--ink); box-shadow: 18px 18px 0 var(--brand);
}
.build-card::after {
  content: ""; position: absolute; right: -80px; bottom: -80px; width: 220px; height: 220px;
  border: 46px solid rgba(42,95,172,.18); border-radius: 50%;
}
.build-card__top {
  display: flex; justify-content: space-between; padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,.2);
  font-size: 9px; font-weight: 800; letter-spacing: .16em;
}
.build-card__status { color: var(--accent); }
.build-card__status::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; background: var(--accent); border-radius: 50%; }
.build-card__title { padding: 42px 38px 34px; }
.build-card__title small { display: block; margin-bottom: 10px; color: #93b7ee; font-size: 12px; font-weight: 700; }
.build-card__title strong { display: block; max-width: 10em; font-size: clamp(30px, 3.2vw, 43px); line-height: 1.35; letter-spacing: -.05em; }
.build-flow { position: relative; z-index: 1; margin: 0; padding: 0 38px; list-style: none; }
.build-flow li {
  display: grid; grid-template-columns: 45px 1fr; align-items: center; gap: 12px;
  min-height: 58px; margin: 0; border-top: 1px solid rgba(255,255,255,.18);
}
.build-flow span { color: #93b7ee; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.build-flow b { font-size: 14px; letter-spacing: .02em; }
.build-card__foot {
  position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px 18px;
  margin-top: 26px; padding: 17px 38px; color: var(--night);
  background: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .08em;
}
.hero__caption { max-width: 500px; margin: 38px auto 0; color: var(--ink-3); font-size: 12px; }
.hero__rail { position: relative; z-index: 2; border-top: 1px solid var(--ink); background: var(--paper-2); }
.hero__rail .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero__rail span {
  padding: 16px 20px; border-left: 1px solid var(--line);
  color: var(--ink-3); font-size: 9px; font-weight: 800; letter-spacing: .18em; text-align: center;
}
.hero__rail span:last-child { border-right: 1px solid var(--line); }

.home-local-story { padding: 72px 0; color: #fff; background: var(--night); }
.home-local-story__grid {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr);
  align-items: stretch; gap: 0;
}
.home-local-story__image { min-height: 480px; overflow: hidden; border: 1px solid rgba(255,255,255,.3); }
.home-local-story__image img { width: 100%; height: 100%; object-fit: cover; object-position: 42% center; }
.home-local-story__copy {
  display: flex; flex-direction: column; justify-content: center; padding: clamp(38px, 6vw, 72px);
  border: 1px solid rgba(255,255,255,.3); border-left: 0;
}
.home-local-story .head__label { color: #93b7ee; }
.home-local-story h2 { margin-bottom: 25px; color: #fff; font-size: clamp(31px, 4vw, 49px); }
.home-local-story p { color: rgba(255,255,255,.68); font-size: 14px; }
.home-local-story small { margin-top: 25px; color: rgba(255,255,255,.38); font-size: 9px; }

/* Buttons & links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 24px;
  min-height: 56px; padding: 15px 24px; border: 1px solid var(--ink); border-radius: 0;
  font: inherit; font-size: 14px; font-weight: 800; cursor: pointer;
  transition: color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translate(-3px, -3px); box-shadow: 5px 5px 0 var(--ink); }
.btn--primary { color: var(--white); background: var(--accent); }
.btn--primary:hover { color: var(--white); background: #a93017; }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,.55); background: transparent; }
.btn--ghost:hover { color: var(--ink); background: #fff; box-shadow: 5px 5px 0 var(--brand); }
.btn--solid { color: #fff; background: var(--night); }
.btn--solid:hover { background: var(--brand-deep); }
.btn--line { color: var(--ink); background: transparent; }
.btn--line:hover { color: #fff; background: var(--night); }
.btn--block { width: 100%; }
.text-link {
  display: inline-flex; align-items: center; gap: 16px; padding-bottom: 4px;
  color: var(--ink); border-bottom: 1px solid currentColor;
  font-size: 13px; font-weight: 800;
}
.text-link:hover { color: var(--brand-deep); }
.text-link--light { color: #fff; }
.text-link--light:hover { color: var(--accent); }

/* Shared headings */
.head { margin-bottom: 48px; }
.head--center { text-align: left; }
.head h2 {
  margin-bottom: 18px; font-size: clamp(32px, 4.7vw, 58px);
  line-height: 1.25; letter-spacing: -.06em;
}
.head p { max-width: 42em; margin: 0; color: var(--ink-2); font-size: 15px; }
.head--center p { margin-inline: 0; }
.section-lead {
  display: grid; grid-template-columns: 1fr 360px; align-items: end; gap: 60px; margin-bottom: 64px;
}
.section-lead .head { margin: 0; }
.section-lead > p { margin: 0 0 8px; color: var(--ink-2); font-size: 15px; }

/* Home sections */
.intro { background: var(--white); }
.intro__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(60px, 10vw, 140px); }
.intro .head { margin: 0; }
.intro__body { padding-top: 48px; }
.intro__body > p { max-width: 37em; color: var(--ink-2); font-size: 17px; }
.intro__quote {
  display: grid; grid-template-columns: 180px 1fr; gap: 26px; margin-top: 52px; padding-top: 28px;
  border-top: 1px solid var(--ink);
}
.intro__quote span { color: var(--brand-deep); font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.intro__quote strong { font-size: clamp(22px, 3vw, 35px); line-height: 1.55; letter-spacing: -.045em; }

.services { background: var(--paper); }
.service-list { border-top: 1px solid var(--ink); }
.service-row {
  display: grid; grid-template-columns: 58px minmax(0, 1fr) 210px 30px; align-items: center; gap: 28px;
  min-height: 150px; padding: 30px 16px 30px 0; color: var(--ink); border-bottom: 1px solid var(--ink);
  transition: padding .22s ease, background .22s ease;
}
.service-row:hover { padding-left: 20px; background: var(--brand-soft); }
.service-row__no { color: var(--brand-deep); font-size: 11px; font-weight: 800; letter-spacing: .15em; }
.service-row h3 { margin-bottom: 8px; font-size: clamp(23px, 3vw, 34px); }
.service-row p { margin: 0; color: var(--ink-2); font-size: 14px; }
/* 価格の途中で改行させない（「月額 88,000/円」と割れるのを防ぐ）。
   区切りの ｜ では折り返してよいので nowrap は span 単位でなく balance で調整 */
.service-row__meta { color: var(--ink-3); font-size: 12px; font-weight: 700; text-align: right; overflow-wrap: normal; word-break: keep-all; }
.service-row__arrow { font-size: 24px; text-align: right; }
.price-note { margin: 20px 0 0; color: var(--ink-3); font-size: 11px; text-align: right; }

.featured-work { overflow: hidden; color: #fff; background: var(--night); }
.featured-work__grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; min-height: 650px; }
.featured-work__index {
  color: transparent; font-size: clamp(270px, 35vw, 500px); font-weight: 900; line-height: .8;
  -webkit-text-stroke: 1px rgba(255,255,255,.2); letter-spacing: -.12em; transform: translateX(-8%);
}
.featured-work__copy { position: relative; z-index: 1; max-width: 560px; padding: 60px 0 60px 45px; border-left: 1px solid rgba(255,255,255,.22); }
.featured-work .head__label { color: #93b7ee; }
.featured-work__tag { margin-bottom: 18px; color: rgba(255,255,255,.58); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.featured-work h2 { margin-bottom: 28px; font-size: clamp(42px, 5.5vw, 68px); line-height: 1.22; }
.featured-work__copy > p:not(.featured-work__tag) { max-width: 36em; color: rgba(255,255,255,.72); font-size: 15px; }
.featured-work__facts { margin: 38px 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.22); }
.featured-work__facts li {
  display: grid; grid-template-columns: 40px 1fr; gap: 16px; margin: 0; padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.22); font-size: 13px;
}
.featured-work__facts strong { color: var(--accent); font-size: 9px; letter-spacing: .15em; }

.approach { background: var(--white); }
.principles {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink);
}
.principles li {
  display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: start; gap: 28px;
  min-height: 220px; margin: 0; padding: 38px 40px;
  border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
}
.principles li:nth-child(odd) { border-left: 1px solid var(--ink); }
.principles > li > span {
  display: block; padding-top: 2px; color: var(--brand);
  font-size: 34px; font-weight: 800; line-height: 1; letter-spacing: -.07em;
}
.principles h3 { margin-bottom: 14px; font-size: 24px; line-height: 1.45; letter-spacing: -.035em; }
.principles p { max-width: 31em; margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.9; }

.fit { background: var(--brand-soft); }
.fit__grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: clamp(50px, 10vw, 140px); }
.fit .head { position: sticky; top: 110px; margin: 0; }
.fit__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.fit__list li {
  display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 20px;
  min-height: 108px; margin: 0; border-bottom: 1px solid var(--ink); font-size: clamp(17px, 2vw, 23px); font-weight: 700;
}
.fit__list span { color: var(--brand-deep); font-size: 10px; font-weight: 800; letter-spacing: .16em; }

.home-notes { background: var(--paper-2); }
.home-notes__intro { align-self: end; }
.home-notes__intro p { margin-bottom: 22px; color: var(--ink-2); font-size: 15px; }

/* わきみずノート */
.media-head { color: #fff; background: var(--night); border-bottom: 1px solid rgba(255,255,255,.2); }
.media-head__in {
  display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 90px;
  min-height: 500px; padding-top: 100px; padding-bottom: 86px;
}
.media-head .head__label { color: #93b7ee; }
.media-head h1 { max-width: 10em; font-size: clamp(48px, 7vw, 82px); line-height: 1.18; letter-spacing: -.07em; }
.media-head__in > div:last-child { padding-bottom: 8px; }
.media-head__in p { max-width: 31em; color: rgba(255,255,255,.7); font-size: 15px; line-height: 2; }
.media-head__in strong { display: block; margin-top: 34px; color: var(--accent); font-size: 10px; letter-spacing: .18em; }
.media-featured { background: var(--white); }
.featured-note {
  display: grid; grid-template-columns: .7fr 1.3fr; align-items: center; gap: clamp(50px, 9vw, 130px);
  min-height: 450px; padding: 55px 0; color: var(--ink); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
}
.featured-note__index {
  color: transparent; font-size: clamp(190px, 24vw, 330px); font-weight: 900; line-height: .75;
  letter-spacing: -.12em; -webkit-text-stroke: 1px var(--line);
}
.featured-note h2 { max-width: 12em; margin: 20px 0; font-size: clamp(32px, 4.5vw, 52px); line-height: 1.35; }
.featured-note p { max-width: 43em; margin-bottom: 30px; color: var(--ink-2); font-size: 15px; }
.media-all { background: var(--paper); }
.media-all__head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 50px; }
.media-all__head .head { margin: 0; }
.media-all__head > span { padding-bottom: 12px; color: var(--ink-3); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.media-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.media-card {
  display: flex; flex-direction: column; min-height: 360px; padding: 28px 28px 26px;
  color: var(--ink); background: transparent; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  transition: color .18s ease, background .18s ease;
}
.media-card:first-child { border-left: 1px solid var(--ink); }
.media-card:hover { color: var(--ink); background: var(--brand-soft); }
.media-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; color: var(--ink-3); font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.media-card__meta b { color: var(--brand-deep); font-weight: 900; }
.media-card h3 { margin: 54px 0 18px; font-size: clamp(20px, 2.2vw, 27px); line-height: 1.5; }
.media-card p { margin-bottom: 28px; color: var(--ink-2); font-size: 13px; line-height: 1.85; }
.media-card__foot { display: flex; justify-content: space-between; gap: 20px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-size: 11px; font-weight: 800; }
.media-card__foot i { font-size: 17px; font-style: normal; }

.article-head { background: var(--paper-2); border-bottom: 1px solid var(--ink); }
.article-head__in { max-width: 1000px; padding-top: 90px; padding-bottom: 76px; }
.article-head h1 { max-width: 15em; margin: 28px 0 24px; font-size: clamp(38px, 6vw, 68px); line-height: 1.3; }
.article-head p { max-width: 47em; margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.9; }
.article-layout {
  display: grid; grid-template-columns: minmax(0, 760px) minmax(220px, 280px);
  justify-content: space-between; align-items: start; gap: clamp(60px, 9vw, 120px);
}
.article-body { padding: 88px 0 110px; }
.article-lead {
  margin: 0 0 72px; padding: 25px 30px; color: var(--ink);
  background: var(--brand-soft); border-left: 6px solid var(--brand); font-size: 19px; font-weight: 700; line-height: 1.9;
}
.article-body section { margin-top: 72px; }
.article-body section:first-of-type { margin-top: 0; }
.article-body h2 { margin-bottom: 26px; padding-top: 28px; border-top: 1px solid var(--ink); font-size: 30px; line-height: 1.5; }
.article-body p { margin-bottom: 1.55em; color: var(--ink-2); font-size: 16px; line-height: 2.05; }
.article-body ul { margin: 30px 0; padding: 24px 28px 24px 48px; background: var(--white); border: 1px solid var(--line); }
.article-body li { margin-bottom: 9px; color: var(--ink-2); font-size: 15px; }
.article-toc { position: sticky; top: 110px; margin-top: 88px; padding-top: 22px; border-top: 1px solid var(--ink); }
.article-toc > span { color: var(--brand-deep); font-size: 9px; font-weight: 900; letter-spacing: .18em; }
.article-toc ol { margin: 20px 0 30px; padding: 0; list-style: none; counter-reset: toc; }
.article-toc li { display: grid; grid-template-columns: 28px 1fr; gap: 8px; margin: 0 0 13px; counter-increment: toc; }
.article-toc li::before { content: "0" counter(toc); color: var(--ink-3); font-size: 9px; font-weight: 800; }
.article-toc a { color: var(--ink-2); font-size: 12px; line-height: 1.55; }
.article-toc a:hover { color: var(--brand-deep); }
.article-toc > a { display: flex; justify-content: space-between; gap: 15px; padding: 15px 0; color: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-weight: 800; }
.article-toc i { font-style: normal; }
.related-notes { background: var(--paper-2); }
.related-notes .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.faq-section { background: var(--paper); }
.faq-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(60px, 10vw, 140px); }
.faq-layout .head { margin: 0; }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--ink); }
.faq summary {
  position: relative; padding: 27px 64px 27px 0; font-size: 16px; font-weight: 700;
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; position: absolute; top: 25px; right: 4px; color: var(--brand-deep); font-size: 20px; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq .faq__a { max-width: 43em; padding: 0 64px 27px 0; color: var(--ink-2); font-size: 14px; }
.faq .faq__a p:last-child { margin-bottom: 0; }

/* Existing interior-page components */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
/* 3列固定だと1列あたり約300pxで日本語が縦長になる → 380px を切るなら列数を減らす */
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  /* 白地なので文字色も自分で持つ（暗いセクション内に置かれても消えないように） */
  padding: 30px; color: var(--ink); background: var(--white); border: 1px solid var(--ink); box-shadow: 7px 7px 0 var(--paper-2);
}
.card--link { display: flex; flex-direction: column; color: var(--ink); transition: transform .18s ease, box-shadow .18s ease; }
.card--link:hover { transform: translate(-3px,-3px); box-shadow: 10px 10px 0 var(--brand-soft); }
.card__icon {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 24px;
  color: var(--brand-deep); border: 1px solid var(--brand-deep);
}
.card__icon svg { width: 25px; height: 25px; }
.card h3 { margin-bottom: 12px; font-size: 21px; }
.card p { margin-bottom: 14px; color: var(--ink-2); font-size: 14px; }
.card__more { margin-top: auto; padding-top: 12px; color: var(--brand-deep); font-size: 13px; font-weight: 800; }
.card__more::after { content: "  ↗"; }
.card__price { padding-top: 12px; color: var(--ink-3) !important; border-top: 1px solid var(--line); font-size: 12px !important; }
.needs { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.needs li { position: relative; margin: 0; padding: 20px 20px 20px 48px; border-bottom: 1px solid var(--ink); font-weight: 700; }
.needs li::before { content: "→"; position: absolute; top: 19px; left: 10px; color: var(--brand-deep); }
.tablewrap { overflow-x: auto; border: 1px solid var(--ink); -webkit-overflow-scrolling: touch; }
/* 白地のコンポーネントは自分で文字色を宣言する。宣言しないと、濃紺セクション
   （.process-section 等の color:#fff）の中に置いたときに白地×白文字で丸ごと消える */
.tbl { min-width: 680px; color: var(--ink); background: var(--white); }
.tbl th, .tbl td { padding: 17px 18px; border-bottom: 1px solid var(--line); font-size: 14px; text-align: left; vertical-align: top; }
.tbl thead th { color: var(--ink-2); background: var(--paper-2); font-size: 12px; white-space: nowrap; }
.tbl tbody th { width: 24%; background: #f6f8fa; font-weight: 700; }
.tbl tr:last-child th, .tbl tr:last-child td { border-bottom: 0; }
/* 料金列は折り返さない。body の overflow-wrap:anywhere が効くと「月額 88,000/円」と
   数字と単位が分断されて読みにくい。表は .tablewrap の横スクロールに逃がしてあるので溢れない */
.tbl td:last-child { white-space: nowrap; }
.tbl .is-us { background: var(--brand-soft); font-weight: 700; }
.steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: s; border-top: 1px solid var(--ink); }
.steps li {
  position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 22px;
  margin: 0; padding: 26px 0; border-bottom: 1px solid var(--ink); counter-increment: s;
}
.steps li::before { content: "0" counter(s); grid-column: 1; grid-row: 1; color: var(--brand-deep); font-size: 11px; font-weight: 800; letter-spacing: .15em; }
/* liの中身が h3+p の並びでも、全て本文カラム(2列目)に積む（自動配置だと p が56pxの番号カラムに落ちる） */
.steps li > * { grid-column: 2; }
.steps h3 { margin-bottom: 6px; font-size: 18px; }
.steps p { margin: 0; color: var(--ink-2); font-size: 14px; }

/* システム開発ページ：進め方 */
.process-section { color: #fff; background: var(--night); }
.process-layout {
  display: grid; grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  align-items: start; gap: clamp(70px, 10vw, 140px);
}
.process-layout__intro { position: sticky; top: 116px; margin: 0; }
.process-layout__intro .head__label { color: #93b7ee; }
.process-layout__intro h2 { margin-bottom: 24px; font-size: clamp(48px, 6vw, 76px); color: #fff; }
.process-layout__intro > p:not(.process-summary) {
  max-width: 27em; color: rgba(255,255,255,.7); font-size: 16px; line-height: 2;
}
/* セレクタを .process-layout__intro 付きにしているのは、この p が .head の中にあり
   `.head p { color: var(--ink-2) }` に負けて濃紺地に濃灰文字になっていたため */
.process-layout__intro .process-summary {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px;
  margin: 42px 0 0; padding-top: 22px; color: #fff;
  border-top: 1px solid rgba(255,255,255,.25); font-size: 11px; font-weight: 800;
}
.process-summary span { white-space: nowrap; }
.process-summary i { color: var(--accent); font-style: normal; }
.process-timeline {
  position: relative; margin: 0; padding: 0; list-style: none;
  border-top: 1px solid rgba(255,255,255,.28);
}
.process-timeline::before {
  content: ""; position: absolute; top: 40px; bottom: 40px; left: 27px;
  width: 1px; background: rgba(147,183,238,.45);
}
.process-timeline li {
  position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr);
  align-items: start; gap: 30px; min-height: 150px; margin: 0; padding: 34px 0;
  border-bottom: 1px solid rgba(255,255,255,.28);
}
.process-timeline__no {
  position: relative; z-index: 1; display: grid; place-items: center;
  width: 56px; height: 56px; color: var(--white); background: var(--accent);
  border: 1px solid var(--accent); font-size: 12px; font-weight: 900; letter-spacing: .06em;
}
.process-timeline h3 { margin: 1px 0 10px; color: #fff; font-size: 23px; letter-spacing: -.025em; }
.process-timeline h3 small {
  display: inline-block; margin-left: 8px; color: #93b7ee;
  font-size: 10px; font-weight: 800; letter-spacing: .08em; vertical-align: .25em;
}
.process-timeline p {
  max-width: 39em; margin: 0; color: rgba(255,255,255,.68);
  font-size: 15px; line-height: 1.95;
}
.process-details {
  margin-top: 84px; padding-top: 54px;
  border-top: 1px solid rgba(255,255,255,.28);
}
.process-details h3 { margin-bottom: 20px; color: #fff; font-size: 28px; }
.process-details ul { color: rgba(255,255,255,.76); }
.process-details li { margin-bottom: 8px; }
.process-details strong { color: #fff; }
.process-section .muted { color: rgba(255,255,255,.56); }
.work { overflow: hidden; background: var(--white); border: 1px solid var(--ink); }
.work__head { padding: 30px; color: #fff; background: var(--night); }
.work__tag { display: block; margin-bottom: 12px; color: #93b7ee; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.work__head h3 { font-size: 23px; }
.work__body { padding: 30px; }
.work__body h4 { margin: 24px 0 8px; color: var(--brand-deep); font-size: 13px; }
.work__body h4:first-child { margin-top: 0; }
.work__body li { color: var(--ink-2); font-size: 14px; }
.note { padding: 22px 24px; color: var(--ink-2); background: var(--white); border: 1px solid var(--line); font-size: 14px; }
.note strong { color: var(--ink); }
.note--warn { background: var(--accent-soft); border-color: #eac6bc; }
.note p:last-child { margin-bottom: 0; }
.pull { padding: 26px 30px; background: var(--accent); border-left: 7px solid var(--ink); font-size: clamp(17px, 2.1vw, 21px); font-weight: 700; }
.pull p:last-child { margin-bottom: 0; }

/* Website service: prototype-first offer */
.web-service-hero {
  position: relative; overflow: hidden; border-bottom: 1px solid var(--ink);
  background:
    linear-gradient(90deg, transparent calc(50% - .5px), rgba(16,26,30,.08) 50%, transparent calc(50% + .5px)),
    linear-gradient(rgba(16,26,30,.045) 1px, transparent 1px),
    var(--paper);
  background-size: 100% 100%, 100% 88px, auto;
}
.web-service-hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(390px, .88fr);
  align-items: center; gap: clamp(50px, 8vw, 110px); min-height: 700px;
  padding-top: 84px; padding-bottom: 88px;
}
.web-service-hero h1 {
  max-width: 850px; margin: 0 0 30px;
  font-size: clamp(47px, 6.4vw, 80px); line-height: 1.14; letter-spacing: -.07em;
}
.web-service-hero h1 span { position: relative; z-index: 0; display: inline-block; }
.web-service-hero h1 span::after {
  content: ""; position: absolute; z-index: -1; right: -.02em; bottom: .03em; left: -.02em;
  height: .2em; background: var(--accent);
}
.web-service-hero__copy > p:not(.hero__note) {
  max-width: 38em; margin-bottom: 36px; color: var(--ink-2);
  font-size: clamp(16px, 1.8vw, 20px); line-height: 1.95;
}
.web-offer-card {
  overflow: hidden; color: #fff; background: var(--night);
  border: 1px solid var(--ink); box-shadow: 16px 16px 0 var(--brand);
}
.web-offer-card__top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 15px 20px; border-bottom: 1px solid rgba(255,255,255,.22);
  font-size: 9px; font-weight: 800; letter-spacing: .16em;
}
.web-offer-card__top b { color: var(--accent); font-size: 11px; }
.web-offer-card > strong {
  display: block; padding: 38px 34px 30px;
  font-size: clamp(25px, 3vw, 37px); line-height: 1.45; letter-spacing: -.045em;
}
.web-offer-flow { margin: 0; padding: 0 34px; list-style: none; }
.web-offer-flow li {
  display: grid; grid-template-columns: 44px 1fr; align-items: center;
  min-height: 54px; margin: 0; border-top: 1px solid rgba(255,255,255,.18);
}
.web-offer-flow span { color: #93b7ee; font-size: 9px; font-weight: 900; letter-spacing: .1em; }
.web-offer-flow p { margin: 0; font-size: 13px; font-weight: 700; }
.web-offer-card__price {
  display: grid; grid-template-columns: 72px 1fr; gap: 2px 16px;
  margin-top: 28px; padding: 20px 34px; color: var(--white); background: var(--accent);
}
.web-offer-card__price small { align-self: center; font-size: 10px; font-weight: 800; }
.web-offer-card__price b { font-size: 20px; line-height: 1.45; }

.web-local-scene { margin: 0; padding: 0 0 112px; background: var(--paper); }
.web-local-scene__frame {
  position: relative; padding-top: 38px;
}
.web-local-scene img {
  display: block; width: 100%; height: clamp(440px, 58vw, 680px);
  object-fit: cover; object-position: center 50%; border: 1px solid var(--ink);
}
.web-local-scene figcaption {
  position: absolute; right: var(--pad); bottom: -44px; width: min(510px, calc(100% - var(--pad) * 2));
  padding: 27px 30px; color: #fff; background: var(--night); border: 1px solid var(--ink);
  box-shadow: 9px 9px 0 var(--accent);
}
.web-local-scene figcaption span {
  display: block; margin-bottom: 12px; color: #93b7ee;
  font-size: 9px; font-weight: 800; letter-spacing: .17em;
}
.web-local-scene figcaption p { margin: 0; font-size: clamp(17px, 2vw, 23px); font-weight: 700; line-height: 1.65; }
.web-local-scene figcaption small {
  display: block; margin-top: 11px; color: rgba(255,255,255,.48); font-size: 9px;
}

.prototype-section { background: var(--brand-soft); border-bottom: 1px solid var(--ink); }
.prototype-overview {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(440px, 1.15fr);
  gap: clamp(50px, 9vw, 130px); align-items: center;
}
.prototype-overview .head { margin-bottom: 0; }
.prototype-overview .head p { max-width: 34em; margin: 28px 0 0; color: var(--ink-2); }
.prototype-scope { background: var(--white); border: 1px solid var(--ink); box-shadow: 12px 12px 0 var(--brand); }
.prototype-scope__label {
  margin: 0; padding: 16px 24px; color: #fff; background: var(--night);
  font-size: 10px; font-weight: 800; letter-spacing: .14em;
}
.prototype-scope ul { margin: 0; padding: 0 24px; list-style: none; }
.prototype-scope li {
  display: grid; grid-template-columns: 44px 1fr; align-items: center;
  min-height: 62px; margin: 0; border-bottom: 1px solid var(--line);
}
.prototype-scope li span { color: var(--brand-deep); font-size: 10px; font-weight: 900; }
.prototype-scope li p { margin: 0; font-size: 14px; font-weight: 700; }
.prototype-scope__note { margin: 0; padding: 18px 24px; color: var(--ink-3); font-size: 11px; line-height: 1.8; }

.local-difference { color: #fff; background: var(--night); }
.local-difference .head__label { color: #93b7ee; }
.local-difference .head h2 { color: #fff; }
.local-difference .section-lead > div:last-child p { color: rgba(255,255,255,.68); font-size: 14px; }
.difference-table {
  border-top: 1px solid rgba(255,255,255,.42); border-left: 1px solid rgba(255,255,255,.42);
}
.difference-table__head, .difference-table__row {
  display: grid; grid-template-columns: minmax(150px, .55fr) minmax(0, 1.1fr) minmax(0, 1.35fr);
}
.difference-table__head > *, .difference-table__row > * {
  margin: 0; padding: 23px 25px; border-right: 1px solid rgba(255,255,255,.42);
  border-bottom: 1px solid rgba(255,255,255,.42);
}
.difference-table__head { background: rgba(255,255,255,.06); }
.difference-table__head span {
  color: rgba(255,255,255,.8); font-size: 12px; font-weight: 800; line-height: 1.5;
}
.difference-table__head small { color: rgba(255,255,255,.43); font-size: 9px; font-weight: 500; }
.difference-table__head span:last-child { color: var(--accent); }
.difference-table__row b {
  color: #93b7ee; font-size: 11px; letter-spacing: .04em;
}
.difference-table__row p { color: rgba(255,255,255,.62); font-size: 13px; line-height: 1.75; }
.difference-table__row p:last-child { background: rgba(42,95,172,.14); }
.difference-table__row p strong { color: #fff; font-weight: 700; }
.difference-note { margin: 16px 0 0; color: rgba(255,255,255,.42); font-size: 10px; }

.clear-price-band {
  padding: 92px 0; color: var(--white); background: var(--accent);
  border-bottom: 1px solid var(--ink);
}
.clear-price-band__intro {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: clamp(45px, 9vw, 120px); align-items: end; margin-bottom: 48px;
}
.clear-price-band .head__label { color: var(--brand-deep); }
.clear-price-band h2 {
  margin: 0; font-size: clamp(40px, 5vw, 64px); line-height: 1.2; letter-spacing: -.055em;
}
.clear-price-band__intro > p {
  margin: 0 0 6px; max-width: 39em; font-size: 15px; font-weight: 700; line-height: 2;
}
.clear-price-facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ink); border-left: 1px solid var(--ink);
}
.clear-price-facts > div {
  display: flex; flex-direction: column; min-height: 190px; padding: 27px 24px;
  /* 親の .clear-price-band が color:white なので、白カードの中では墨に戻す
     （戻し忘れると価格の strong が白地に白文字で消える） */
  color: var(--ink);
  background: var(--white); border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
}
.clear-price-facts > div > span {
  margin-bottom: auto; color: var(--brand-deep); font-size: 10px; font-weight: 900; letter-spacing: .08em;
}
.clear-price-facts strong {
  display: block; margin-top: 30px; font-size: clamp(23px, 2.45vw, 34px);
  line-height: 1.15; letter-spacing: -.045em;
}
.clear-price-facts small { margin-top: 8px; color: var(--ink-3); font-size: 9px; font-weight: 700; }
.clear-price-band__note {
  margin: 18px 0 0; padding-left: 15px; border-left: 3px solid var(--night);
  font-size: 11px; font-weight: 700; line-height: 1.8;
}

.web-build-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--ink); border-left: 1px solid var(--ink);
}
.web-price-card {
  position: relative; min-height: 570px; padding: clamp(30px, 5vw, 54px);
  background: var(--white); border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
}
.web-price-card--featured::before {
  content: "おすすめ"; position: absolute; top: 0; right: 0; padding: 8px 14px;
  color: var(--white); background: var(--accent); border-bottom: 1px solid var(--ink); border-left: 1px solid var(--ink);
  font-size: 9px; font-weight: 900; letter-spacing: .1em;
}
.web-price-card__tag {
  display: block; margin-bottom: 34px; color: var(--brand-deep);
  font-size: 9px; font-weight: 800; letter-spacing: .17em;
}
.web-price-card h3 { margin-bottom: 24px; font-size: clamp(28px, 3.5vw, 42px); }
.web-price-card__price {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; margin: 0 0 23px;
}
.web-price-card__price small { width: 100%; color: var(--ink-3); font-size: 11px; }
.web-price-card__price strong { font-size: clamp(45px, 5vw, 65px); line-height: 1; letter-spacing: -.06em; }
.web-price-card__price b { font-size: 18px; }
.web-price-card__price em { margin-left: 8px; color: var(--ink-3); font-size: 10px; font-style: normal; }
.web-price-card__lead { min-height: 58px; color: var(--ink-2); }
.web-price-card ul { margin: 28px 0 0; padding: 22px 0 0; list-style: none; border-top: 1px solid var(--line); }
.web-price-card li { position: relative; margin: 0 0 9px; padding-left: 22px; color: var(--ink-2); font-size: 13px; }
.web-price-card li::before { content: "→"; position: absolute; left: 0; color: var(--brand-deep); font-weight: 900; }
.web-price-card__condition {
  margin: 28px 0 0; padding: 13px 15px; background: var(--paper-2);
  border-left: 4px solid var(--brand); font-size: 11px; font-weight: 700;
}
.maintenance-head {
  display: flex; justify-content: space-between; align-items: end; gap: 30px; margin: 92px 0 38px;
}
.maintenance-head .head__label { margin-bottom: 13px; }
.maintenance-head h2 { font-size: clamp(34px, 4vw, 50px); }
.maintenance-head > p { margin: 0; color: var(--ink-2); font-size: 14px; }
.maintenance-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.maintenance-card { overflow: hidden; background: var(--white); border: 1px solid var(--ink); }
.maintenance-card__head {
  display: flex; justify-content: space-between; align-items: end; gap: 24px;
  padding: 26px 28px; color: #fff; background: var(--night);
}
.maintenance-card__head span { color: #93b7ee; font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.maintenance-card__head h3 { margin-top: 4px; font-size: 24px; }
.maintenance-card__head p { margin: 0; white-space: nowrap; }
.maintenance-card__head p strong { color: var(--accent); font-size: 34px; letter-spacing: -.04em; }
.maintenance-card__head p small { display: block; text-align: right; color: rgba(255,255,255,.55); font-size: 9px; }
.maintenance-card ul { margin: 0; padding: 25px 28px 25px 50px; }
.maintenance-card li { margin-bottom: 7px; color: var(--ink-2); font-size: 13px; }
.maintenance-card--growth { border-top: 5px solid var(--brand); }
.pricing-rule {
  display: grid; grid-template-columns: minmax(320px, .8fr) minmax(0, 1.2fr);
  gap: 40px; align-items: center; margin-top: 24px; padding: 28px 32px;
  color: #fff; background: var(--brand-deep);
}
.pricing-rule > div > span { display: block; color: rgba(255,255,255,.63); font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.pricing-rule strong { display: block; margin-top: 5px; font-size: 18px; }
.pricing-rule p { margin: 0; color: rgba(255,255,255,.76); font-size: 12px; line-height: 1.8; }
.web-cost-notes {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 50px;
  margin-top: 74px; padding-top: 45px; border-top: 1px solid var(--ink);
}
.web-cost-notes h3 { margin-bottom: 18px; font-size: 22px; }
.web-cost-notes li { color: var(--ink-2); font-size: 14px; }

/* FutureClock corporate reskilling */
.service-row--partner { background: linear-gradient(90deg, rgba(228,235,245,.85), transparent 68%); }
.service-row--partner .service-row__no { color: var(--brand-deep); }
.partner-teaser {
  color: #fff; background: var(--night); border-bottom: 1px solid var(--ink);
}
.partner-teaser__in {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  gap: clamp(50px, 8vw, 120px); padding-top: 76px; padding-bottom: 76px;
}
.partner-teaser__label {
  display: block; margin-bottom: 20px; color: #93b7ee;
  font-size: 10px; font-weight: 800; letter-spacing: .18em;
}
.partner-teaser h2 { font-size: clamp(31px, 4vw, 49px); line-height: 1.35; }
.partner-teaser__body {
  padding-left: clamp(28px, 5vw, 70px); border-left: 1px solid rgba(255,255,255,.25);
}
.partner-teaser__body > p:first-child { max-width: 38em; color: rgba(255,255,255,.72); }
.partner-teaser__price { display: flex; align-items: baseline; gap: 16px; margin: 24px 0 2px; }
.partner-teaser__price small { color: rgba(255,255,255,.62); font-size: 12px; }
.partner-teaser__price strong { color: var(--accent); font-size: clamp(26px, 3vw, 38px); letter-spacing: -.035em; }
.partner-teaser__provider { margin-bottom: 25px; color: rgba(255,255,255,.58); font-size: 11px; }

.reskilling-hero {
  position: relative; overflow: hidden; background: var(--paper);
  border-bottom: 1px solid var(--ink);
}
.reskilling-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, transparent calc(50% - .5px), rgba(16,26,30,.08) 50%, transparent calc(50% + .5px)),
    linear-gradient(rgba(16,26,30,.045) 1px, transparent 1px);
  background-size: 100% 100%, 100% 88px;
}
.reskilling-hero__grid {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr);
  align-items: stretch; min-height: 620px;
}
.reskilling-hero__copy {
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 92px; padding-right: clamp(44px, 7vw, 104px); padding-bottom: 96px;
}
.reskilling-hero h1 {
  max-width: 900px; margin: 0 0 30px;
  font-size: clamp(48px, 6.5vw, 82px); line-height: 1.14; letter-spacing: -.07em;
}
.reskilling-hero h1 span {
  position: relative; z-index: 0; display: inline-block;
}
.reskilling-hero h1 span::after {
  content: ""; position: absolute; z-index: -1; right: -.02em; bottom: .03em; left: -.02em;
  height: .2em; background: var(--accent);
}
.reskilling-hero__copy > p {
  max-width: 37em; margin: 0; color: var(--ink-2);
  font-size: clamp(16px, 1.8vw, 20px); line-height: 1.95;
}
.reskilling-price {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  min-width: 0; margin: 62px 0; padding: clamp(34px, 5vw, 66px);
  color: #fff; background: var(--night); box-shadow: 16px 16px 0 var(--brand);
}
.reskilling-price > span {
  margin-bottom: 62px; color: #93b7ee; font-size: 9px; font-weight: 800; letter-spacing: .18em;
}
.reskilling-price > p { margin: 0; color: rgba(255,255,255,.62); font-size: 12px; }
.reskilling-price > strong {
  display: block; margin: 0 0 12px; color: var(--accent);
  font-size: clamp(23px, 2.8vw, 36px); line-height: 1.15; white-space: nowrap;
}
.reskilling-price > strong b { font-size: clamp(47px, 5vw, 70px); letter-spacing: -.06em; }
.reskilling-price > small { color: rgba(255,255,255,.55); font-size: 11px; line-height: 1.7; }
.reskilling-price > .reskilling-price__subsidy {
  display: flex; justify-content: space-between; align-items: center; gap: 15px;
  margin: 24px 0 0; padding: 13px 15px; color: var(--white); background: var(--accent);
  border: 1px solid rgba(255,255,255,.35);
}
.reskilling-price__subsidy span { font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.reskilling-price__subsidy b { font-size: 11px; }
.reskilling-price > div {
  margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.22);
}
.reskilling-price em {
  display: block; margin-bottom: 6px; color: rgba(255,255,255,.46);
  font-size: 9px; font-style: normal; font-weight: 800; letter-spacing: .16em;
}
.reskilling-price > div b { font-size: 16px; }

.provider-band { color: #fff; background: var(--brand-deep); }
.provider-band__grid {
  display: grid; grid-template-columns: minmax(250px, .68fr) minmax(0, 1.32fr);
  align-items: center; gap: clamp(40px, 8vw, 120px); padding-top: 40px; padding-bottom: 40px;
}
.provider-band__grid > div { padding-right: 38px; border-right: 1px solid rgba(255,255,255,.34); }
.provider-band__grid span {
  display: block; margin-bottom: 3px; color: rgba(255,255,255,.62);
  font-size: 10px; font-weight: 800; letter-spacing: .16em;
}
.provider-band__grid strong { display: block; font-size: 22px; }
.provider-band__grid p { margin: 0; color: rgba(255,255,255,.78); font-size: 13px; line-height: 1.9; }

.subsidy-band {
  color: var(--white); background: var(--accent); border-bottom: 1px solid var(--ink);
}
.subsidy-band__grid {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  gap: clamp(50px, 9vw, 130px); padding-top: 76px; padding-bottom: 76px;
}
.subsidy-band__grid > div:first-child > span {
  display: block; margin-bottom: 18px; color: var(--brand-deep);
  font-size: 10px; font-weight: 900; letter-spacing: .17em;
}
.subsidy-band h2 {
  margin: 0; font-size: clamp(34px, 4.3vw, 54px); line-height: 1.35; letter-spacing: -.055em;
}
.subsidy-band__body { padding-left: clamp(28px, 5vw, 70px); border-left: 1px solid var(--ink); }
.subsidy-band__body > p {
  margin: 0; font-size: 14px; font-weight: 700; line-height: 2;
}
.subsidy-band__note {
  margin-top: 20px !important; padding: 16px 18px; background: rgba(255,255,255,.58);
  border: 1px solid var(--ink); font-size: 10px !important; font-weight: 600 !important; line-height: 1.85 !important;
}
.subsidy-band__links { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 25px; }
.subsidy-band .btn--dark { color: #fff; background: var(--night); border-color: var(--night); }
.subsidy-band .btn--dark:hover { color: var(--night); background: var(--white); }

.program-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ink); border-left: 1px solid var(--ink);
}
.program-card {
  display: grid; grid-template-rows: auto 1fr; min-height: 410px; margin: 0;
  padding: 30px; background: var(--white); border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
}
.program-card__no {
  display: grid; place-items: center; width: 48px; height: 48px;
  color: var(--white); background: var(--accent); border: 1px solid var(--ink);
  font-size: 11px; font-weight: 900; letter-spacing: .08em;
}
.program-card > div { align-self: end; }
.program-card__tag { margin: 0 0 10px; color: var(--brand-deep); font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.program-card h3 { margin-bottom: 18px; font-size: clamp(23px, 2.4vw, 31px); }
.program-card div > p:last-child { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.9; }
.program-coming {
  display: grid; grid-template-columns: 190px 1fr; gap: 30px; align-items: center;
  margin-top: 22px; padding: 24px 30px; color: #fff; background: var(--night);
}
.program-coming > span { color: #93b7ee; font-size: 10px; font-weight: 800; letter-spacing: .17em; }
.program-coming p { margin: 0; color: rgba(255,255,255,.68); font-size: 13px; }
.program-coming strong { color: #fff; font-size: 16px; }

.reskilling-fit {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink);
}
.reskilling-fit li {
  display: grid; grid-template-columns: 55px 1fr; gap: 22px; align-items: center;
  min-height: 138px; margin: 0; padding: 28px 32px;
  background: var(--paper); border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
}
.reskilling-fit span { color: var(--brand-deep); font-size: 12px; font-weight: 900; letter-spacing: .1em; }
.reskilling-fit p { margin: 0; font-weight: 700; line-height: 1.75; }

.boundary-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--ink);
}
.boundary-grid article { min-height: 300px; padding: clamp(30px, 5vw, 56px); background: var(--white); }
.boundary-grid article + article { border-left: 1px solid var(--ink); }
.boundary-grid article > span {
  display: block; margin-bottom: 42px; color: var(--brand-deep);
  font-size: 10px; font-weight: 800; letter-spacing: .17em;
}
.boundary-grid h3 { margin-bottom: 16px; font-size: clamp(25px, 3vw, 36px); }
.boundary-grid p { max-width: 32em; color: var(--ink-2); font-size: 14px; }
.boundary-grid__futureclock { color: #fff; background: var(--night) !important; }
.boundary-grid__futureclock > span { color: #93b7ee !important; }
.boundary-grid__futureclock p { color: rgba(255,255,255,.68); }
.boundary-grid__futureclock > b { color: var(--accent); font-size: 12px; }

/* Page header, forms, metadata */
.crumb { padding: 13px 0; color: var(--ink-3); border-bottom: 1px solid var(--line); font-size: 11px; }
.crumb ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.crumb li { margin: 0; }
.crumb li + li::before { content: "—"; margin-right: 8px; color: var(--line); }
.phead { padding: 82px 0 76px; background: var(--paper-2); border-bottom: 1px solid var(--ink); }
.phead h1 { max-width: 900px; margin: 10px 0 18px; font-size: clamp(38px, 6vw, 70px); line-height: 1.18; }
.phead p { max-width: 46em; margin: 0; color: var(--ink-2); font-size: 16px; }
.form { display: grid; gap: 24px; }
.field label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 800; }
.req { margin-left: 6px; color: var(--warn); font-size: 11px; }
.opt { margin-left: 6px; color: var(--ink-3); font-size: 11px; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: 15px 16px; color: var(--ink); background: var(--white);
  border: 1px solid var(--ink); border-radius: 0; font: inherit; font-size: 16px;
}
.field textarea { min-height: 180px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--brand-soft); border-color: var(--brand-deep); }
.field__hint { margin: 6px 0 0; color: var(--ink-3); font-size: 12px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }
.check input { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 3px; }
.dl { border-top: 1px solid var(--ink); }
.dl__row { display: grid; grid-template-columns: 210px 1fr; border-bottom: 1px solid var(--ink); }
.dl__row dt { padding: 17px 18px; background: var(--paper-2); font-size: 13px; font-weight: 800; }
.dl__row dd { margin: 0; padding: 17px 18px; color: var(--ink-2); font-size: 14px; }

/* CTA and footer */
.cta {
  position: relative; overflow: hidden; padding: 112px 0; color: #fff; background: var(--night);
}
.cta::after {
  content: "→"; position: absolute; right: -30px; bottom: -190px;
  color: rgba(255,255,255,.045); font-size: 520px; font-weight: 900; line-height: 1;
}
.cta__in { position: relative; z-index: 1; }
.cta__label { margin-bottom: 25px !important; color: #93b7ee !important; font-size: 10px !important; font-weight: 800; letter-spacing: .2em; }
.cta h2 { max-width: 900px; margin-bottom: 24px; font-size: clamp(38px, 5.5vw, 67px); line-height: 1.25; }
.cta p { max-width: 38em; margin-bottom: 34px; color: rgba(255,255,255,.7); font-size: 15px; }
.cta__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.ftr { padding: 68px 0 28px; color: rgba(255,255,255,.7); background: var(--night); font-size: 13px; }
.ftr a { color: rgba(255,255,255,.82); }
.ftr a:hover { color: var(--accent); }
.ftr__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 60px; margin-bottom: 50px; }
.ftr__brand { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; color: #fff; font-weight: 700; }
.ftr__brand .brand__mark { width: 34px; height: 34px; flex-basis: 34px; } /* flex-basisも揃えないと36x34に潰れる */
.ftr h3 { margin-bottom: 16px; color: #fff; font-size: 11px; letter-spacing: .15em; }
.ftr ul { margin: 0; padding: 0; list-style: none; }
.ftr li { margin-bottom: 9px; }
/* .45 だとコントラスト3.24でAA未達（11pxでメールアドレスを載せる行なので .55＝約5.2に） */
.ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; color: rgba(255,255,255,.55); border-top: 1px solid rgba(255,255,255,.15); font-size: 11px; }

/* 金額・年月を行またぎで割らせない（「8,000／円」と分断されるのを防ぐ）。
   本文中の「◯◯円」「2026年8月」は scripts/wrap_prices.py がビルド前に自動で包む。
   手で書き足すときは <span class="nw">8,000円</span> のように使う。
   ★見た目には一切影響させない: ラベル用に書かれた「.○○ span { font-size: 9px }」のような
   子孫セレクタがこの span を巻き込み、価格が9pxのラベル文字で描画される事故が実際に起きた。
   継承を明示して打ち消す（このブロックはファイル後方にあるので同詳細度なら勝つ）。 */
.nw { white-space: nowrap; font: inherit; color: inherit; letter-spacing: inherit; }

.mb0 { margin-bottom: 0 !important; }
.mt24 { margin-top: 24px; }
.mt40 { margin-top: 40px; }
.center { text-align: center; }
.muted { color: var(--ink-3); font-size: 13px; }
.is-hidden { display: none !important; }
.stack > * + * { margin-top: 22px; }

@media (max-width: 1080px) {
  .nav {
    position: fixed; inset: 76px 0 auto 0; display: none; max-height: calc(100dvh - 76px);
    overflow-y: auto; background: var(--paper); border-bottom: 1px solid var(--ink); box-shadow: var(--shadow-m);
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--pad) 24px; }
  .nav__list a { padding: 15px 12px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav__cta { margin: 14px 0 0; text-align: center; border-bottom: 0 !important; }
  .navbtn { display: flex; }
  .hero__in { grid-template-columns: 1fr 420px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  :root { --pad: 22px; }
  .section { padding: 80px 0; }
  .hero::before { background-size: 100% 100%, 100% 80px; }
  .hero__in { display: block; min-height: 0; padding-top: 64px; padding-bottom: 70px; }
  .hero__copy { padding: 0; }
  .hero h1 { font-size: clamp(45px, 12.5vw, 74px); }
  .hero__lead br { display: none; }
  .hero__visual { margin-top: 64px; padding: 0; border-left: 0; }
  .build-card { max-width: none; box-shadow: 10px 10px 0 var(--brand); }
  .hero__rail .wrap { grid-template-columns: repeat(2, 1fr); }
  .hero__rail span:nth-child(3) { border-top: 1px solid var(--line); }
  .hero__rail span:nth-child(4) { border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
  .home-local-story__grid { grid-template-columns: 1fr; }
  .home-local-story__image { min-height: 510px; }
  .home-local-story__copy { border-top: 0; border-left: 1px solid rgba(255,255,255,.3); }
  .intro__grid, .fit__grid, .faq-layout, .featured-work__grid { grid-template-columns: 1fr; }
  .intro__body { padding-top: 0; }
  .intro__quote { grid-template-columns: 1fr; }
  .section-lead { grid-template-columns: 1fr; gap: 0; margin-bottom: 42px; }
  .section-lead > p { margin-top: 16px; }
  .service-row { grid-template-columns: 45px 1fr 26px; gap: 16px; }
  .service-row__meta { display: none; }
  .featured-work__grid { min-height: 0; }
  .featured-work__index { display: none; }
  .featured-work__copy { max-width: none; padding: 10px 0; border: 0; }
  .fit .head { position: static; margin-bottom: 45px; }
  .faq-layout .head { margin-bottom: 15px; }
  .media-head__in { grid-template-columns: 1fr; gap: 45px; min-height: 0; }
  .featured-note { grid-template-columns: .55fr 1.45fr; }
  .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .media-card:nth-child(3) { border-left: 1px solid var(--ink); }
  .article-layout { grid-template-columns: 1fr; }
  .article-body { padding-bottom: 20px; }
  .article-toc { position: static; margin: 20px 0 80px; }
  .process-layout { grid-template-columns: 1fr; gap: 55px; }
  .process-layout__intro { position: static; }
  .process-summary { max-width: 35em; }
  .web-service-hero__grid { grid-template-columns: 1fr; gap: 56px; padding-top: 74px; padding-bottom: 80px; }
  .web-offer-card { width: 100%; max-width: 620px; }
  .web-local-scene { padding-bottom: 105px; }
  .web-local-scene img { height: 570px; }
  .prototype-overview { grid-template-columns: 1fr; }
  .prototype-overview .head { max-width: 700px; }
  .difference-table__head, .difference-table__row { grid-template-columns: 130px minmax(0, 1fr) minmax(0, 1.12fr); }
  .difference-table__head > *, .difference-table__row > * { padding: 20px 17px; }
  .clear-price-band { padding: 80px 0; }
  .clear-price-band__intro { grid-template-columns: 1fr; gap: 24px; }
  .clear-price-band__intro > p { max-width: 44em; }
  .clear-price-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clear-price-facts > div { min-height: 170px; }
  .web-price-card { min-height: 600px; }
  .maintenance-grid { grid-template-columns: 1fr; }
  .pricing-rule { grid-template-columns: 1fr; gap: 20px; }
  .partner-teaser__in { grid-template-columns: 1fr; gap: 34px; }
  .partner-teaser__body { padding-top: 30px; padding-left: 0; border-top: 1px solid rgba(255,255,255,.25); border-left: 0; }
  .reskilling-hero__grid { grid-template-columns: 1fr; padding-bottom: 76px; }
  .reskilling-hero__copy { padding-top: 76px; padding-right: 0; padding-bottom: 42px; }
  .reskilling-price { max-width: 600px; margin: 0; }
  .provider-band__grid { grid-template-columns: 1fr; gap: 24px; }
  .provider-band__grid > div { padding-right: 0; padding-bottom: 22px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.34); }
  .subsidy-band__grid { grid-template-columns: 1fr; gap: 34px; }
  .subsidy-band__body { padding-top: 30px; padding-left: 0; border-top: 1px solid var(--ink); border-left: 0; }
  .program-grid { grid-template-columns: 1fr; }
  .program-card { min-height: 300px; }
  .ftr__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  :root { --pad: 18px; }
  body { font-size: 15px; }
  .section { padding: 66px 0; }
  .section--tight { padding: 48px 0; }
  .hdr__in { height: 68px; }
  .nav { inset: 68px 0 auto; max-height: calc(100dvh - 68px); }
  .brand__name { font-size: 13px; }
  .brand__mark { width: 32px; height: 32px; flex-basis: 32px; }
  .hero__in { padding-top: 54px; padding-bottom: 64px; }
  .hero__eyebrow { font-size: 9px; letter-spacing: .12em; }
  .hero h1 { margin-bottom: 24px; font-size: clamp(42px, 13.3vw, 62px); line-height: 1.18; }
  .hero h1 span { white-space: normal; }
  .hero__lead { font-size: 16px; }
  .hero__cta, .cta__btns { align-items: stretch; flex-direction: column; gap: 18px; }
  .hero__cta .btn, .cta__btns .btn { width: 100%; }
  .hero__cta .text-link, .cta__btns .text-link { align-self: flex-start; }
  .build-card__title { padding: 34px 24px 26px; }
  .build-card__title strong { font-size: 30px; }
  .build-flow { padding: 0 24px; }
  .build-card__foot { padding-inline: 24px; }
  .hero__caption { margin-top: 26px; }
  .home-local-story { padding: 44px 0; }
  .home-local-story__image { min-height: 380px; }
  .home-local-story__copy { padding: 34px 26px; }
  .head { margin-bottom: 34px; }
  .head h2 { font-size: 34px; }
  .intro__quote strong { font-size: 24px; }
  .service-row { min-height: 132px; padding: 24px 8px 24px 0; }
  .service-row:hover { padding-left: 8px; }
  .service-row h3 { font-size: 23px; }
  .service-row p { font-size: 12px; }
  .media-head__in { padding-top: 72px; padding-bottom: 64px; }
  .media-head h1 { font-size: 45px; }
  .featured-note { display: block; min-height: 0; padding: 40px 0; }
  .featured-note__index { display: none; }
  .featured-note h2 { font-size: 31px; }
  .media-grid, .related-notes .media-grid { grid-template-columns: 1fr; }
  .media-card, .media-card:nth-child(3) { min-height: 310px; border-left: 1px solid var(--ink); }
  .media-card h3 { margin-top: 36px; font-size: 22px; }
  .article-head__in { padding-top: 64px; padding-bottom: 56px; }
  .article-head h1 { font-size: 38px; }
  .article-head p { font-size: 14px; }
  .article-body { padding-top: 58px; }
  .article-lead { margin-bottom: 52px; padding: 20px; font-size: 16px; }
  .article-body section { margin-top: 55px; }
  .article-body h2 { font-size: 24px; }
  .article-body p { font-size: 15px; }
  .principles { grid-template-columns: 1fr; }
  .principles li, .principles li:nth-child(3), .principles li:nth-child(4) {
    grid-template-columns: 48px minmax(0, 1fr); gap: 16px;
    min-height: 0; padding: 26px 20px; border: 0; border-right: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink); border-left: 1px solid var(--ink);
  }
  .principles li:first-child { border-top: 1px solid var(--ink); }
  .principles > li > span { padding-top: 3px; font-size: 25px; }
  .principles h3 { margin-bottom: 8px; font-size: 19px; }
  .principles p { font-size: 13px; line-height: 1.8; }
  .fit__list li { min-height: 94px; font-size: 16px; }
  .faq summary { padding-right: 42px; font-size: 15px; }
  .faq .faq__a { padding-right: 34px; }
  .cta { padding: 78px 0; }
  .cta h2 { font-size: 36px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  .steps li { grid-template-columns: 42px 1fr; gap: 10px; }
  .process-layout { gap: 42px; }
  .process-layout__intro h2 { font-size: 46px; }
  .process-layout__intro > p:not(.process-summary) { font-size: 14px; }
  .process-summary { margin-top: 30px; }
  .process-timeline::before { top: 31px; bottom: 31px; left: 20px; }
  .process-timeline li {
    grid-template-columns: 42px minmax(0, 1fr); gap: 17px;
    min-height: 0; padding: 26px 0;
  }
  .process-timeline__no { width: 42px; height: 42px; font-size: 10px; }
  .process-timeline h3 { margin-top: 0; margin-bottom: 7px; font-size: 18px; }
  .process-timeline p { font-size: 13px; line-height: 1.8; }
  .process-details { margin-top: 56px; padding-top: 38px; }
  .process-details h3 { font-size: 23px; }
  .web-service-hero__grid { gap: 45px; padding-top: 58px; padding-bottom: 68px; }
  .web-service-hero h1 { font-size: 43px; }
  .web-service-hero__copy > p:not(.hero__note) { font-size: 16px; }
  .web-offer-card { box-shadow: 9px 9px 0 var(--brand); }
  .web-offer-card > strong { padding: 30px 24px 24px; font-size: 27px; }
  .web-offer-flow { padding: 0 24px; }
  .web-offer-card__price { padding: 18px 24px; }
  .web-local-scene { padding-bottom: 96px; }
  .web-local-scene__frame { padding-top: 20px; }
  .web-local-scene img { height: 440px; object-position: 56% center; }
  .web-local-scene figcaption { right: 28px; bottom: -52px; width: calc(100% - 56px); padding: 22px; box-shadow: 7px 7px 0 var(--accent); }
  .prototype-scope { box-shadow: 8px 8px 0 var(--brand); }
  .difference-table { border: 0; }
  .difference-table__head { display: none; }
  .difference-table__row {
    display: grid; grid-template-columns: 1fr; margin-bottom: 18px; border: 1px solid rgba(255,255,255,.42);
  }
  .difference-table__row > * { border: 0; border-bottom: 1px solid rgba(255,255,255,.25); }
  .difference-table__row > *:last-child { border-bottom: 0; }
  .difference-table__row b { padding-bottom: 12px; background: rgba(255,255,255,.07); }
  .difference-table__row p::before {
    display: block; margin-bottom: 6px; color: rgba(255,255,255,.4);
    font-size: 9px; font-weight: 800; letter-spacing: .1em;
  }
  .difference-table__row p:nth-child(2)::before { content: "都内の制作会社（一般例）"; }
  .difference-table__row p:nth-child(3)::before { content: "AKわきみずドットコム"; color: #93b7ee; }
  .clear-price-band { padding: 64px 0; }
  .clear-price-band h2 { font-size: 39px; }
  .clear-price-band__intro { margin-bottom: 34px; }
  .clear-price-band__intro > p { font-size: 14px; line-height: 1.9; }
  .clear-price-facts { grid-template-columns: 1fr; }
  .clear-price-facts > div { min-height: 0; padding: 24px 22px; }
  .clear-price-facts > div > span { margin-bottom: 20px; }
  .clear-price-facts strong { margin-top: 0; font-size: 31px; }
  .clear-price-band__note { font-size: 10px; }
  .web-build-grid { grid-template-columns: 1fr; }
  .web-price-card { min-height: 0; padding: 34px 25px; }
  .web-price-card__lead { min-height: 0; }
  .maintenance-head { display: block; margin-top: 68px; }
  .maintenance-head > p { margin-top: 12px; }
  .maintenance-card__head { align-items: start; flex-direction: column; gap: 16px; }
  .maintenance-card__head p small { text-align: left; }
  .pricing-rule { padding: 24px 22px; }
  .pricing-rule strong { font-size: 16px; }
  .web-cost-notes { grid-template-columns: 1fr; gap: 30px; margin-top: 58px; }
  .partner-teaser__in { padding-top: 58px; padding-bottom: 58px; }
  .partner-teaser__price { display: block; }
  .partner-teaser__price small { display: block; margin-bottom: 3px; }
  .reskilling-hero__grid { padding-bottom: 56px; }
  .reskilling-hero__copy { padding-top: 58px; padding-bottom: 34px; }
  .reskilling-hero h1 { font-size: 44px; }
  .reskilling-price { padding: 34px 26px; box-shadow: 9px 9px 0 var(--brand); }
  .reskilling-price > span { margin-bottom: 40px; }
  .reskilling-price > strong b { font-size: 51px; }
  .reskilling-price > .reskilling-price__subsidy { align-items: flex-start; flex-direction: column; gap: 4px; }
  .provider-band__grid { padding-top: 34px; padding-bottom: 34px; }
  .subsidy-band__grid { padding-top: 58px; padding-bottom: 58px; }
  .subsidy-band h2 { font-size: 36px; }
  .subsidy-band__links { align-items: stretch; flex-direction: column; }
  .subsidy-band__links .btn { width: 100%; }
  .subsidy-band__links .text-link { align-self: flex-start; }
  .program-card { min-height: 280px; padding: 24px; }
  .program-coming { grid-template-columns: 1fr; gap: 10px; }
  .reskilling-fit { grid-template-columns: 1fr; }
  .reskilling-fit li { grid-template-columns: 38px 1fr; gap: 12px; padding: 24px 20px; }
  .boundary-grid { grid-template-columns: 1fr; }
  .boundary-grid article + article { border-top: 1px solid var(--ink); border-left: 0; }
  .dl__row { grid-template-columns: 1fr; }
  .dl__row dt { padding-bottom: 8px; }
  .dl__row dd { padding-top: 8px; }
  .phead { padding: 58px 0 54px; }
  .phead h1 { font-size: 39px; }
  .ftr__top { grid-template-columns: 1fr; gap: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

@media print {
  .hdr, .ftr, .cta, .navbtn { display: none !important; }
  body { color: #000; background: #fff; }
  .card, .work, .build-card { box-shadow: none; }
}

/* ---------- 物語ヒーロー（横流れの風景ループ / index） ----------
   3層構造: ①流れる風景（.hero-story__track） ②中央の主役（.hero-story__subject）
   ③静止テキスト（.hero-story__copy）。
   トラックは同一ストリップを4連結し、-25%（＝ちょうど1枚ぶん）戻して無限ループ。
   端の絵柄は空と水の帯だけにしてあるので継ぎ目が見えない。 */
.hero--story { display: block; }
.hero-story__copy {
  position: relative; z-index: 3; max-width: 900px; margin-inline: auto;
  padding-top: 88px; padding-bottom: 42px; text-align: center;
}

/* 背面の透かしロゴ（ヒーロー右にはみ出す）
   白版ロゴをCSSマスクとして使い、形だけ借りて色と濃さはCSSで決める。
   ＝色違いのロゴ画像を増やさずに済む。--wm-* を書き換えれば調整できる。
   z-index 0＝コピー(3)とも風景(1)とも重ならない最背面。
   .hero が position:relative + overflow:hidden なので、はみ出しは自動で切られる。 */
.hero__watermark {
  position: absolute; z-index: 0; pointer-events: none;
  top: 50%; right: var(--wm-right, -140px); transform: translateY(-50%);
  width: var(--wm-size, 520px); height: var(--wm-size, 520px);
  background-color: var(--wm-color, var(--brand));
  opacity: var(--wm-op, .07);
  -webkit-mask-image: url("../assets/logo-mark-white.png");
          mask-image: url("../assets/logo-mark-white.png");
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-size: contain;     mask-size: contain;
  -webkit-mask-position: center;  mask-position: center;
}
.hero--story h1 { margin-inline: auto; }
.hero--story .hero__lead { margin-inline: auto; }
.hero--story .hero__cta { justify-content: center; }
.hero-story__scene { position: relative; z-index: 1; height: 320px; }
.hero-story__track {
  position: absolute; bottom: 0; left: 0; display: flex; width: max-content;
  animation: hero-story-flow 18s linear infinite; will-change: transform;
}
.hero-story__track > svg { display: block; flex: 0 0 auto; width: 1900px; height: 320px; }
@keyframes hero-story-flow { from { transform: translateX(0); } to { transform: translateX(-25%); } }
.hero-story__subject {
  position: absolute; bottom: 44px; left: 50%; z-index: 2;
  width: 96px; margin-left: -48px;
  animation: hero-story-bob 3.4s ease-in-out infinite alternate;
}
@keyframes hero-story-bob { from { transform: translateY(0); } to { transform: translateY(-9px); } }

@media (max-width: 700px) {
  .hero-story__copy { padding-top: 62px; padding-bottom: 30px; }
  /* スマホは主張しすぎるとうるさいので一段小さく・薄く */
  .hero__watermark { --wm-size: 300px; --wm-op: .05; --wm-right: -90px; }
  .hero--story .hero__cta { align-items: center; }
  .hero--story .hero__cta .text-link { align-self: center; }
  .hero-story__scene { height: 236px; }
  .hero-story__track > svg { width: 1400px; height: 236px; }
  /* スマホは速度を落とす（1周30秒） */
  .hero-story__track { animation-duration: 30s; }
  /* 主役は中央固定・小さめにして画面外に出さない */
  .hero-story__subject { bottom: 30px; width: 66px; margin-left: -33px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-story__track, .hero-story__subject { animation: none; }
}

/* ---------- つくったもの（lab.html） ---------- */
.lab-demo { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 52px; align-items: start; }
.lab-demo__tag {
  display: inline-block; margin-bottom: 14px; padding: 5px 12px;
  color: var(--white); background: var(--accent); border: 1px solid var(--ink);
  font-size: 11px; font-weight: 800; letter-spacing: .12em;
}
.lab-demo h2 { margin-bottom: 16px; font-size: clamp(26px, 3.2vw, 40px); }
.lab-demo__copy > p { color: var(--ink-2); }
.lab-try { margin: 26px 0; }
.lab-try p { margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .14em; color: var(--brand-deep); }
.lab-qr { display: flex; gap: 18px; align-items: center; margin-top: 30px; padding: 18px; border: 1px solid var(--line); background: var(--white); }
.lab-qr img { width: 108px; height: 108px; flex: 0 0 108px; border: 1px solid var(--line); }
.lab-qr p { margin: 0; font-size: 13px; color: var(--ink-2); }
.phone-frame {
  width: min(400px, 100%); margin-inline: auto; padding: 12px 10px 14px;
  background: var(--night); border: 2px solid var(--ink); box-shadow: 16px 16px 0 var(--brand);
}
.phone-frame__bar { display: flex; justify-content: space-between; align-items: center; padding: 0 4px 10px; color: rgba(255,255,255,.75); font-size: 10.5px; font-weight: 700; letter-spacing: .1em; }
.phone-frame__bar b { color: var(--accent); }
.phone-frame iframe { display: block; width: 100%; height: 680px; border: 0; background: #fff; }
.lab-grid-note { margin-top: 18px; }

@media (max-width: 1000px) {
  .lab-demo { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 700px) {
  .phone-frame { box-shadow: 8px 8px 0 var(--brand); }
  .phone-frame iframe { height: 600px; }
  .lab-qr { display: none; } /* スマホは目の前の端末で触れるのでQR不要 */
}

/* ---------- 和モダン配色の補正 ---------- */
/* 引用枠: 朱のベタでなく薄朱の地に朱の縁 */
.pull { background: var(--accent-soft); border-left: 7px solid var(--accent); }
/* 朱地の帯の中の小ラベルは白寄りに */
.clear-price-band .head__label { color: rgba(255,255,255,.85); }
/* 朱地バンド内の取り残し（reskilling 助成金帯）: ラベルは白・半透明白地の注意書きは墨 */
.subsidy-band__grid > div:first-child > span { color: var(--white); }
.subsidy-band__note { color: var(--ink); }
/* 藍白ホバー時にグレーのメタ文字が沈まないように一段濃く */
.service-row:hover .service-row__meta, .media-card:hover .media-card__meta { color: var(--ink-2); }
/* 濃紺地の上の小さな朱文字は明るい朱に（可読性） */
.ftr a:hover, .text-link--light:hover, .phone-frame__bar b, .web-offer-card__top b,
.featured-work__facts strong, .media-head__in strong, .boundary-grid__futureclock > b,
.difference-table__head span:last-child, .build-card__status { color: var(--accent-2); }

/* ---------- 見出しの明朝化（v18・見出し=明朝×本文=ゴシックの和モダン編集レイアウト） ---------- */
.hero-story__copy h1, .phead h1, .media-head__in h1, .article-head__in h1,
.web-service-hero h1, .reskilling-hero h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: .02em; /* 明朝は詰めすぎると窮屈になるため、ゴシック見出しの -.035em を上書き */
  font-feature-settings: "palt";
}
.pull { font-family: var(--font-serif); font-weight: 600; }

/* ---------- 演出（v18）: スクロール出現・スムーススクロール・ページ遷移 ---------- */

/* Lenis 推奨スタイル（実体はこのブロック。js/vendor/lenis.css は本家推奨CSSの参照用コピーで配信されない。
   html への .lenis クラス付与は Lenis 本体が行う）
   注意: 本家にある `.lenis.lenis-smooth iframe { pointer-events: none }` は
   lab.html の車庫証明デモ（触れるiframe）が操作不能になるため、意図的に入れていない */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; } /* CSSのsmoothとLenisの二重アニメを防ぐ */
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-autoToggle { transition-property: overflow; transition-duration: 1ms; transition-behavior: allow-discrete; }

/* スクロール出現（.rv は main.js が「動きを減らす」設定でない時だけ付与する） */
@media (prefers-reduced-motion: no-preference) {
  .rv { opacity: 0; }
  .rv-in { animation: rv-up .65s cubic-bezier(.22, .61, .36, 1) both; animation-delay: var(--rv-delay, 0s); }
  @keyframes rv-up {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
  }
}
@media print {
  .rv { opacity: 1 !important; animation: none !important; }
}

/* ページ間のクロスフェード（対応ブラウザのみ・非対応は従来どおり） */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) { animation: none !important; }
}
.build-card__status::before { background: var(--accent-2); }

/* ---------- わきみずノート: カテゴリ絞り込み ---------- */
.media-filter { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.media-filter__btn {
  padding: 9px 16px; font: inherit; font-size: 12px; font-weight: 800; letter-spacing: .06em;
  color: var(--ink-2); background: var(--white); border: 1px solid var(--ink); cursor: pointer;
}
.media-filter__btn:hover { color: var(--brand-deep); }
.media-filter__btn.is-active { color: var(--white); background: var(--night); }
.media-card.is-filter-hidden { display: none; }

/* ---------- ナビ「サービス」ドロップダウン ---------- */
.nav__label { display: none; }
.nav__group { position: relative; margin: 0; }
.nav__groupbtn {
  display: flex; align-items: center; gap: 6px; padding: 10px 10px;
  font: inherit; font-size: 13px; font-weight: 700; letter-spacing: 0;
  color: var(--ink-2); background: none; border: 0; cursor: pointer;
}
.nav__groupbtn:hover, .nav__groupbtn.is-here, .nav__group.is-open .nav__groupbtn { color: var(--brand-deep); }
.nav__caret { font-size: 10px; transition: transform .15s ease; }
.nav__group.is-open .nav__caret { transform: rotate(180deg); }
.nav__panel {
  position: absolute; top: calc(100% + 12px); left: 0; z-index: 120;
  min-width: 236px; margin: 0; padding: 6px 0; list-style: none;
  background: var(--white); border: 1px solid var(--ink); box-shadow: 10px 10px 0 var(--brand-soft);
  display: none;
}
.nav__group.is-open .nav__panel { display: block; }
.nav__panel li { margin: 0; }
.nav__panel a { display: block; padding: 12px 20px; font-size: 13px; }
.nav__panel a:hover { background: var(--brand-soft); }

/* モバイル: ドロップダウンをやめて見出し付きの一覧にする */
@media (max-width: 1080px) {
  .nav__label {
    display: block; margin: 0; padding: 18px 12px 6px;
    color: var(--ink-3); font-size: 11px; font-weight: 800; letter-spacing: .16em;
  }
  .nav__groupbtn { display: none; }
  .nav__group { position: static; }
  .nav__panel {
    display: block; position: static; min-width: 0; padding: 0;
    border: 0; box-shadow: none;
  }
  .nav__panel a { padding: 15px 12px 15px 24px; font-size: 15px; border-bottom: 1px solid var(--line); }
}
.featured-work__copy .text-link + .text-link { margin-left: 26px; }
