@charset "UTF-8";
/* ==========================================================================
   TATAKI — lp.css（全ページ共通の部品。TOP だけ・お問い合わせだけの部品は assets/css/pages/*.css）
   白基調・墨の文字・朱の差し色。モチーフは 16:9 のスライド枠と「束ねたスライド」。
   ページは tataki/generator/build.mjs が組み立てる（生成された各ページの index.html は手で直さない）。
   動きは 3 種だけ：
     1) ふわっと出る（フェード＋8px 上昇）  … [data-reveal]、モーダル、メニュー
     2) hover で 4px 持ち上げ             … カード類
     3) ヒーローのスライド束の緩い浮遊
   prefers-reduced-motion: reduce ではすべて止める。
   ========================================================================== */

:root {
  --bg: #FFFFFF;
  --soft: #F6F6F4;
  --bg-soft: var(--soft);  /* consult.css が参照する名前 */
  --ink: #15171B;
  --ink-hover: #30343C;
  --sub: #5B6170;          /* 白上 6.2:1 */
  --line: #E7E7E3;
  --line-2: #D5D5CF;
  --field: #8B909A;        /* フォーム枠（白上 3:1 以上） */
  --accent: #FF5A1F;       /* 図形・大きな文字だけに使う */
  --accent-ink: #C2410C;   /* 小さな文字に使う朱（白上 5.2:1） */
  --accent-tint: #FFF4EE;
  --error: #B42318;
  --error-tint: #FEF3F2;

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --header-h: 72px;
  --section-y: clamp(88px, 11vw, 152px);

  --r-s: 8px;
  --r: 14px;
  --r-l: 20px;

  --shadow-s: 0 1px 2px rgba(21, 23, 27, .05), 0 6px 16px -6px rgba(21, 23, 27, .08);
  --shadow: 0 2px 4px rgba(21, 23, 27, .05), 0 18px 40px -14px rgba(21, 23, 27, .2);
  --shadow-l: 0 2px 6px rgba(21, 23, 27, .06), 0 32px 64px -20px rgba(21, 23, 27, .32);

  --ease: cubic-bezier(.22, .61, .36, 1);

  --font-ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", Meiryo, sans-serif;
  --font-en: "Inter", "Noto Sans JP", system-ui, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
  scrollbar-gutter: stable;
}
html.is-locked { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ja);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: .02em;
  line-break: strict;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
::selection { background: #FFE0D1; color: var(--ink); }

.vh {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.nw { white-space: nowrap; }
.en { font-family: var(--font-en); }

@media (max-width: 767px) {
  .u-sp-hide { display: none; }
}

.skip {
  position: absolute;
  left: 12px; top: -120px;
  z-index: 300;
  padding: 10px 18px;
  border-radius: var(--r-s);
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.skip:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--soft { background: var(--soft); }

/* ---------- typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
/* 小さな「束ねたスライド」 */
.eyebrow::before {
  content: "";
  flex: none;
  width: 14px;
  height: 8px;
  border-radius: 1.5px;
  background: var(--accent);
  box-shadow: 3px -3px 0 -1px var(--eb-bg, var(--bg)), 3px -3px 0 0 var(--line-2);
}
.section--soft, .flow { --eb-bg: var(--soft); }
.eyebrow--center { justify-content: center; }

.sec-head { max-width: 760px; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .sec-lead { margin-inline: auto; }

.sec-title,
.hero__title,
.page-title,
.point__title,
.compare__title,
.menu__title,
.plan__name,
.step__title,
.form-done__title {
  font-feature-settings: "palt";
  word-break: auto-phrase;
}

.sec-title {
  font-size: clamp(28px, 3.7vw, 44px);
  font-weight: 900;
  line-height: 1.42;
  letter-spacing: .04em;
  text-wrap: balance;
}
.sec-lead {
  max-width: 38em;
  margin-top: 24px;
  color: var(--sub);
  font-size: clamp(15px, 1.2vw, 16.5px);
  line-height: 2;
}
.sec-lead a { color: var(--ink); text-underline-offset: 3px; }

/* ---------- buttons ---------- */
.btn {
  --h: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--h);
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .06em;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--lg { --h: 58px; padding: 0 30px; font-size: 16px; }
.btn--sm { --h: 40px; padding: 0 18px; font-size: 13.5px; }
.btn--block { width: 100%; }

.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--ink-hover); }

.btn--ghost { background: #fff; border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }

.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--soft); }
.btn--light:focus-visible { outline-color: #fff; }

/* ---------- ① header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled,
.site-header.is-menu-open {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -16px rgba(21, 23, 27, .18);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  /* 押せる高さ 40px 以上（見た目と並びの高さは変えない） */
  min-height: 40px;
  margin-block: -9px;
  color: var(--ink);
  text-decoration: none;
}
.logo__mark { flex: none; }
.logo__text { display: flex; align-items: baseline; gap: 10px; line-height: 1; }
.logo__name {
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .16em;
  white-space: nowrap;
}
/* サービス名「TATAKI design」の design（細く小さく添える。PDF の deck.css と同じ考え方） */
.logo__sub {
  margin-left: .2em;
  font-size: .76em;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--sub);
}
.logo--inverse .logo__sub { color: rgba(255, 255, 255, .72); }
@media (max-width: 479px) {
  .logo { gap: 8px; }
  .logo__mark { width: 28px; height: auto; }
  .logo__name { font-size: 17px; letter-spacing: .12em; }
}

.nav { margin-left: auto; }
.nav__list { display: flex; gap: 2px; }
.nav__item { position: relative; }
.nav__link {
  position: relative;
  display: block;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.nav__link:hover { background: var(--soft); }
/* 現在のページ（aria-current）と、その下層にいるときの親（data-current は build.mjs が付ける） */
.nav__link[aria-current],
.nav__link[data-current] { color: var(--accent-ink); }

/* サービス・サンプルの下層メニュー */
.nav__sub-link {
  display: grid;
  gap: 1px;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color .2s;
}
.nav__sub-link:hover { background: var(--soft); }
.nav__sub-name { font-size: 14.5px; font-weight: 700; line-height: 1.5; }
.nav__sub-desc { color: var(--sub); font-size: 12.5px; line-height: 1.5; }
.nav__sub-link[aria-current] .nav__sub-name { color: var(--accent-ink); }

@media (min-width: 960px) {
  .nav__link--pdf { margin-left: 6px; box-shadow: inset 0 0 0 1px var(--line-2); }
  .nav__link--pdf:hover { background: transparent; box-shadow: inset 0 0 0 1px var(--ink); }
}

.header__cta { flex: none; }
.header__cta[aria-current] { background: var(--ink-hover); }
/* 360〜399px：ロゴ「TATAKI design」・「無料で相談」・メニューが 1 行に収まるように詰める */
@media (max-width: 399px) {
  .header__inner { gap: 10px; }
  .header__cta { padding-inline: 14px; }
}

.menu-toggle {
  display: none;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
}
.menu-toggle__icon { position: relative; display: block; width: 22px; height: 12px; }
.menu-toggle__icon i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}
.menu-toggle__icon i:first-child { top: 0; }
.menu-toggle__icon i:last-child { bottom: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:first-child { top: 5px; rotate: 45deg; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:last-child { bottom: 5px; rotate: -45deg; }
/* 359px 以下（320px の端末など）：上の 399px 以下よりさらに詰めて、メニューのボタンを画面の中に収める */
@media (max-width: 359px) {
  .header__inner { gap: 8px; }
  .logo { gap: 6px; }
  .logo__mark { width: 24px; }
  .logo__name { font-size: 15px; letter-spacing: .08em; }
  .header__cta { padding-inline: 12px; font-size: 12.5px; letter-spacing: .02em; }
  .menu-toggle { margin-right: -10px; }
}

/* PC：hover かフォーカスで下層メニューを開く（Esc で閉じる＝lp.js が .is-dismissed） */
@media (min-width: 960px) {
  .has-sub > .nav__link { padding-right: 28px; }
  .has-sub > .nav__link::after {
    content: "";
    position: absolute;
    right: 13px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    translate: 0 -70%;
    rotate: 45deg;
  }
  .nav__sub {
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 2;
    display: none;
    width: max-content;
    min-width: 248px;
    margin-top: 10px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: #fff;
    box-shadow: var(--shadow);
    translate: -50% 0;
  }
  /* hover が途切れないように、すき間を埋める */
  .nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
  .has-sub:hover > .nav__sub,
  .has-sub:focus-within > .nav__sub { display: block; animation: rise .25s var(--ease) both; }
  .has-sub.is-dismissed > .nav__sub { display: none; }
}
/* 960〜1159px：ナビ（5 つ。公開の記事があると「コラム」が加わって 6 つ）＋「無料で相談」が 1 行に収まるように、
   すき間と文字を少し詰める */
@media (min-width: 960px) and (max-width: 1159px) {
  .header__inner { gap: 14px; }
  .nav__link { padding-inline: 9px; font-size: 13.5px; letter-spacing: .02em; }
  .has-sub > .nav__link { padding-right: 24px; }
  .has-sub > .nav__link::after { right: 10px; }
}
/* 960〜1023px：ナビが 6 つのときは上だけでは収まらない（スクロールバーのある画面の 960px で約 30px はみ出す）ので、
   すき間をもう少し詰める */
@media (min-width: 960px) and (max-width: 1023px) {
  .header__inner { gap: 10px; }
  .nav__list { gap: 0; }
  .nav__link { padding-inline: 7px; }
  .has-sub > .nav__link { padding-right: 21px; }
  .has-sub > .nav__link::after { right: 8px; }
  .nav__link--pdf { margin-left: 4px; }
  .header__cta { padding-inline: 14px; }
}

/* スマホ・タブレット：ハンバーガー（lp.js。Esc で閉じる、Tab はメニューの中を回る） */
@media (max-width: 959px) {
  .nav { display: none; }
  .header__cta { margin-left: auto; }
  .js .menu-toggle { display: inline-flex; }
  .js .site-header.is-menu-open .nav {
    display: block;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 8px var(--gutter) 28px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(21, 23, 27, .25);
    animation: rise .3s var(--ease) both;
  }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link {
    padding: 16px 4px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 16px;
  }
  .nav__link:hover { background: transparent; color: var(--accent-ink); }
  .has-sub > .nav__link { padding-bottom: 6px; border-bottom: 0; }
  .nav__sub { padding: 0 0 10px 12px; border-bottom: 1px solid var(--line); }
  .nav__sub-link { padding: 8px 4px; }
  .nav__sub-link:hover { background: transparent; }
  .nav__sub-link:hover .nav__sub-name { color: var(--accent-ink); }
}

.phr { display: inline-block; }
/* キャンペーンの案内（料金の #campaign へ） */
.promo-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 6px 12px 6px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  box-shadow: var(--shadow-s);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.promo-pill b { color: var(--accent-ink); font-family: var(--font-en); font-weight: 800; }
.promo-pill svg { width: 14px; height: 14px; flex: none; color: var(--sub); }
.promo-pill__live { flex: none; white-space: nowrap; }
.promo-pill:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.promo-pill__live,
.campaign__live {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
}

.metrics {
  display: grid;
  margin-top: 48px;
  border-top: 1px solid var(--line);
}
.metric {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.metric dt {
  font-family: var(--font-en);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--sub);
}
.metric dd {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: .02em;
  font-feature-settings: "palt";
}
.metric b {
  margin-inline: .06em;
  font-family: var(--font-en);
  font-size: 1.3em;
  font-weight: 800;
  letter-spacing: 0;
}
@media (min-width: 600px) {
  /* 3 つは必ず 1 行に並べる（狭いときはセルの中で折り返す） */
  .metrics {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    padding-top: 24px;
  }
  .metric {
    display: block;
    min-width: 0;
    padding: 0 clamp(14px, 1.6vw, 24px);
    border-bottom: 0;
    border-left: 1px solid var(--line);
  }
  .metric:first-child { padding-left: 0; border-left: 0; }
  .metric:last-child { padding-right: 0; }
  .metric dd { margin-top: 6px; font-size: clamp(16px, 1.4vw, 20px); }
}
.metrics__note { margin-top: 14px; color: var(--sub); font-size: 12.5px; }


/* ---------- ③ why ---------- */
.points {
  display: grid;
  gap: 20px;
  margin-top: clamp(48px, 6vw, 72px);
}
.point {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: #fff;
}
.point__fig {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  margin-bottom: 28px;
  border-radius: 10px;
  background: var(--soft);
}
.point__fig svg { width: 76%; height: auto; }
.point__en {
  font-family: var(--font-en);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--accent-ink);
}
.point__title {
  margin-top: 10px;
  font-size: clamp(28px, 2.8vw, 34px);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: .08em;
}
.point__sub { margin-top: 8px; font-size: 17px; font-weight: 700; line-height: 1.6; }
.point__text { margin-top: 14px; color: var(--sub); font-size: 15px; }
@media (min-width: 900px) {
  .points { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}

.compare {
  display: grid;
  gap: 28px;
  margin-top: clamp(72px, 9vw, 112px);
}
.compare__title {
  font-size: clamp(22px, 2.3vw, 28px);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: .04em;
}
.compare__lead { margin-top: 14px; color: var(--sub); font-size: 15px; }
.compare__note { color: var(--sub); font-size: 12.5px; }
@media (min-width: 960px) {
  .compare {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 32px;
    row-gap: 16px;
    align-items: start;
  }
  .compare__head { grid-column: 1 / span 4; padding-top: 8px; }
  .table-wrap { grid-column: 5 / span 8; }
  .compare__note { grid-column: 5 / span 8; }
}

.table-wrap {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: #fff;
}
.cmp {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.7;
}
.cmp th,
.cmp td {
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.cmp tbody tr:last-child > * { border-bottom: 0; }
.cmp thead > tr > * {
  padding-block: 14px;
  background: var(--soft);
  color: var(--sub);
  font-size: 13px;
  font-weight: 700;
}
.cmp thead th.is-us {
  background: var(--ink);
  color: #fff;
  font-family: var(--font-en);
  letter-spacing: .16em;
}
.cmp tbody th { width: 20%; font-weight: 700; white-space: nowrap; }
.cmp td { width: 40%; color: var(--sub); }
.cmp td.is-us { background: var(--accent-tint); color: var(--ink); font-weight: 700; }
@media (max-width: 599px) {
  .cmp { font-size: 13.5px; }
  .cmp th, .cmp td { padding: 14px 12px; }
  .cmp tbody th { width: 22%; }
}

/* ---------- ④ works ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
}
.filter {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  transition: background-color .2s, border-color .2s, color .2s;
}
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }

.works__grid {
  display: grid;
  gap: 48px 32px;
  margin-top: 44px;
}
@media (min-width: 640px) { .works__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .works__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 36px; } }

.work { position: relative; }
.work.is-entering { animation: rise .5s var(--ease) both; }

/* 5 枚が束になっている見え方：後ろに 2 枚ずらして重ねる */
.work__media {
  position: relative;
  isolation: isolate;
  margin: 0 12px 12px 0;
}
.work__media::before,
.work__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: #fff;
}
.work__media::after { translate: 6px 6px; }
.work__media::before { translate: 12px 12px; background: #FBFBFA; }
.work__frame {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-s);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.work__frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.work__count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(21, 23, 27, .82);
  color: #fff;
  font-family: var(--font-en);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .14em;
}
.work:hover .work__frame { transform: translateY(-4px); box-shadow: var(--shadow); }

.work__body { margin-top: 18px; }
.work__meta {
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: var(--sub);
  font-size: 12.5px;
  line-height: 1.6;
}
.work__no {
  font-family: var(--font-en);
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--accent-ink);
}
.work__title { margin-top: 6px; font-size: 19px; font-weight: 700; line-height: 1.5; }
.work__btn {
  padding: 0;
  border: 0;
  background: none;
  font-weight: inherit;
  line-height: inherit;
  text-align: left;
}
.work__btn::after {
  content: "";
  position: absolute;
  inset: -10px;
  z-index: 3;
  border-radius: 16px;
}
.work__btn:focus-visible { outline: none; }
.work__btn:focus-visible::after { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
.work__desc { margin-top: 8px; color: var(--sub); font-size: 14.5px; line-height: 1.85; }
.work__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-top: 16px;
}
.swatches { display: flex; gap: 6px; }
.swatch {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(21, 23, 27, .14);
}
.work__tags { color: var(--sub); font-size: 12.5px; }

.works__note {
  margin-top: 56px;
  color: var(--sub);
  font-size: 13px;
}

/* ---------- 資料ビューア（モーダル） ---------- */
.viewer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 3vw, 40px);
}
.viewer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 14, 17, .92);
}
.viewer__dialog {
  --stage-w: min(100%, max(260px, calc((100vh - 230px) * 16 / 9)));
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 1200px;
  max-height: 100%;
  color: #fff;
  outline: none;
}
@supports (height: 100svh) {
  .viewer__dialog { --stage-w: min(100%, max(260px, calc((100svh - 230px) * 16 / 9))); }
}
.viewer.is-open .viewer__dialog { animation: rise .4s var(--ease) both; }
.viewer :focus-visible { outline-color: #fff; }

.viewer__head,
.viewer__stage,
.viewer__foot,
.viewer__hint { width: var(--stage-w); margin-inline: auto; }

.viewer__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.viewer__cat { color: rgba(255, 255, 255, .72); font-size: 12.5px; line-height: 1.6; }
.viewer__title {
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 700;
  line-height: 1.5;
  font-feature-settings: "palt";
}
.viewer__close,
.viewer__arrow {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  transition: background-color .2s, border-color .2s, opacity .2s;
}
.viewer__close svg,
.viewer__arrow svg { width: 20px; height: 20px; }
.viewer__close:hover,
.viewer__arrow:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .6); }
.viewer__arrow[aria-disabled="true"] { opacity: .32; cursor: default; }
.viewer__arrow[aria-disabled="true"]:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .3); }

.viewer__stage {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
  background: #000;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6);
  touch-action: pan-y pinch-zoom;
  -webkit-user-select: none;
  user-select: none;
}
.viewer__slides { position: absolute; inset: 0; }
.viewer__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .3s var(--ease);
  -webkit-user-drag: none;
}
.viewer__slide.is-active { opacity: 1; }

.viewer__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.viewer__count {
  min-width: 4.2em;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .72);
  white-space: nowrap;
}
.viewer__count b { color: #fff; font-weight: 800; }
.viewer__dots { display: flex; justify-content: center; flex: 1; gap: 2px; }
.viewer__dot {
  display: grid;
  place-items: center;
  width: 28px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: none;
}
.viewer__dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .38);
}
.viewer__dot:hover::before { background: rgba(255, 255, 255, .7); }
.viewer__dot[aria-current="true"]::before { width: 22px; background: var(--accent); }
.viewer__arrows { display: flex; gap: 8px; }

.viewer__hint {
  color: rgba(255, 255, 255, .62);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}
.viewer__hint-touch { display: none; }
@media (hover: none) {
  .viewer__hint-key { display: none; }
  .viewer__hint-touch { display: inline; }
}
@media (max-width: 479px) {
  .viewer__dot { width: 22px; }
  .viewer__close, .viewer__arrow { width: 42px; height: 42px; }
  .viewer__count { min-width: 0; font-size: 13px; }
}

/* ---------- ⑥ sites（7 サイト：大きな 1 枚＋6 枚のグリッド） ---------- */
.sites__head { display: grid; gap: 32px; }
@media (min-width: 1024px) {
  .sites__head {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 32px;
    align-items: end;
  }
  .sites__head .sec-head { grid-column: 1 / span 8; }
  .sites__kinds { grid-column: 9 / span 4; }
}
.sites__kinds {
  padding: 20px 22px 22px;
  border-radius: var(--r);
  background: var(--soft);
}
.sites__kinds-label { color: var(--sub); font-size: 12.5px; font-weight: 700; line-height: 1.5; }
.sites__kinds ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.sites__kinds li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 10px;
  border-radius: 999px;
  background: #fff;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.5;
}
/* 小さな記事ページのアイコン */
.sites__kinds li::before {
  content: "";
  flex: none;
  width: 9px;
  height: 11px;
  border: 1.5px solid var(--ink);
  border-radius: 1.5px;
  background: linear-gradient(var(--accent), var(--accent)) 1px 1.5px / 4px 1.5px no-repeat;
}

.sites__grid {
  display: grid;
  gap: 56px 32px;
  margin-top: clamp(48px, 6vw, 72px);
}
@media (min-width: 640px) { .sites__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .sites__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px 32px; } }

.site { position: relative; display: flex; flex-direction: column; }
.site--featured { grid-column: 1 / -1; }
@media (min-width: 1024px) {
  .site--featured {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 32px;
    align-items: center;
    padding-bottom: 64px;
    border-bottom: 1px solid var(--line);
  }
  .site--featured .browser { grid-column: 1 / span 7; }
  .site--featured .site__body { grid-column: 8 / span 5; margin-top: 0; }
}

.browser {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-s);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.site:hover .browser { transform: translateY(-4px); box-shadow: var(--shadow); }
.browser__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}
.browser__bar i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.browser__url {
  width: 42%;
  height: 12px;
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}
.site--featured .browser__bar { height: 30px; }
.browser__screen {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--soft);
}
.browser__ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  color: var(--sub);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-align: center;
}
.browser__shot {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.site__body { display: flex; flex-direction: column; flex: 1; margin-top: 22px; }
.site__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.4;
}
.site__letter {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.site__kind { font-weight: 700; }
.site__pages {
  margin-left: auto;
  color: var(--sub);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  white-space: nowrap;
}
.site__title {
  margin-top: 12px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  font-feature-settings: "palt";
}
.site--featured .site__title { font-size: clamp(22px, 2.3vw, 28px); font-weight: 900; letter-spacing: .03em; }
.site__title a { text-decoration: none; }
.site__title a::after {
  content: "";
  position: absolute;
  inset: -10px;
  z-index: 3;
  border-radius: 18px;
}
.site__title a:focus-visible { outline: none; }
.site__title a:focus-visible::after { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
.site__desc { margin-top: 8px; color: var(--sub); font-size: 14.5px; line-height: 1.85; }

.site__pages-list { margin-top: 18px; margin-bottom: 22px; }
.site__label { margin-bottom: 8px; color: var(--sub); font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.page-links { display: flex; flex-wrap: wrap; gap: 6px; }
/* カード全体のリンクより上に出して、下層ページへ直接飛べるように */
/* 押せる高さは 40px、見た目のチップは 34px（::before が描く）。上下の負の余白で、並びの高さは 34px のまま */
.page-link {
  position: relative;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  margin-block: -3px;
  padding: 4px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  transition: color .2s;
}
.page-link::before {
  content: "";
  position: absolute;
  inset: 3px 0;
  z-index: -1;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: #fff;
  transition: border-color .2s;
}
.page-link:hover::before { border-color: var(--ink); }
.page-link__tag {
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--accent-ink);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .04em;
}

.site__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.site__pair { display: flex; align-items: center; gap: 12px; }
.site__pair img { flex: none; width: 72px; border-radius: 4px; box-shadow: 0 0 0 1px rgba(21, 23, 27, .08); }
.site--featured .site__pair img { width: 96px; }
.site__pair p { display: flex; flex-direction: column; gap: 1px; line-height: 1.5; }
.badge {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--accent-ink);
}
.site__pair-name { font-size: 13.5px; font-weight: 700; }
.site__open {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
}
.site__open svg { width: 16px; height: 16px; }
.sites__note { margin-top: 56px; color: var(--sub); font-size: 13px; }

/* ---------- ⑦ lineup ---------- */
.lineup__grid {
  display: grid;
  gap: 20px;
  margin-top: clamp(48px, 6vw, 72px);
}
@media (min-width: 960px) {
  .lineup__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
}
.menu {
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: #fff;
}
.menu--consult { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.menu__en {
  font-family: var(--font-en);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--accent-ink);
}
.menu__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 8px;
  font-size: clamp(22px, 2.2vw, 26px);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: .04em;
}
.menu__tag {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent-ink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .06em;
}
.menu__desc { margin-top: 8px; color: var(--sub); font-size: 14.5px; }
.menu__list { margin-top: 22px; border-top: 1px solid var(--line); }
.menu__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
}
.menu__list li::before {
  content: "";
  flex: none;
  width: 14px;
  height: 8px;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
}
.menu--consult .menu__list li { font-weight: 700; }
.menu--consult .menu__list li::before { border-color: var(--accent); background: var(--accent); }
.menu__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 22px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.menu__link svg { width: 16px; height: 16px; }
.menu__link:hover { color: var(--accent-ink); }

/* ---------- ⑧ price ---------- */
/* キャンペーン（制作事例の掲載で 30%OFF・3 社限定。partials/campaign.html） */
.campaign {
  display: grid;
  gap: 20px 40px;
  align-items: center;
  margin: 0 auto 48px;
  padding: clamp(24px, 3.4vw, 40px);
  border: 1.5px solid var(--ink);
  border-radius: var(--r-l);
  background: var(--accent-tint);
}
.campaign__tag { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--accent-ink); font-size: 12px; font-weight: 700; letter-spacing: .18em; }
.campaign__title {
  margin: 0;
  font-size: clamp(19px, 2vw, 26px);
  font-weight: 900;
  line-height: 1.55;
  font-feature-settings: "palt";
  word-break: auto-phrase;
}
.campaign__off { color: var(--accent-ink); font-family: var(--font-en); font-size: 1.35em; font-weight: 800; letter-spacing: -.01em; }
.campaign__text { margin: 12px 0 0; color: var(--ink); font-size: 15px; line-height: 1.9; }
.campaign__note { margin: 8px 0 0; color: var(--sub); font-size: 13px; line-height: 1.7; }
.campaign__cta { justify-self: start; }
@media (min-width: 900px) {
  .campaign { grid-template-columns: 1fr auto; grid-template-areas: "tag tag" "body cta"; }
  .campaign__tag { grid-area: tag; }
  .campaign__body { grid-area: body; }
  .campaign__cta { grid-area: cta; justify-self: end; }
}

.plans {
  display: grid;
  gap: 20px;
  max-width: 520px;
  margin: clamp(48px, 6vw, 72px) auto 0;
}
@media (min-width: 960px) {
  .plans {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    max-width: none;
    align-items: center;
  }
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: #fff;
}
.plan--featured {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-l);
}
@media (min-width: 960px) {
  .plan--featured { padding-block: 56px; }
}
.plan--featured :focus-visible { outline-color: #fff; }
.plan__badge {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .08em;
}
@media (min-width: 960px) {
  .plan__badge { top: 32px; }
}
.plan__en {
  font-family: var(--font-en);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--accent-ink);
}
.plan--featured .plan__en { color: #FFB394; }
.plan__name { margin-top: 8px; font-size: 24px; font-weight: 900; line-height: 1.4; letter-spacing: .06em; }
.plan__for { margin-top: 6px; color: var(--sub); font-size: 14.5px; }
.plan--featured .plan__for { color: rgba(255, 255, 255, .74); }
.plan__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 6px;
  margin-top: 24px;
  padding-block: 20px;
  border-block: 1px solid var(--line);
  line-height: 1.2;
}
.plan--featured .plan__price { border-color: rgba(255, 255, 255, .16); }
.plan__yen {
  white-space: nowrap;
  font-family: var(--font-en);
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 800;
  letter-spacing: -.01em;
}
.plan__unit { color: var(--sub); font-size: 13.5px; font-weight: 500; white-space: nowrap; }
.plan--featured .plan__unit { color: rgba(255, 255, 255, .74); }
.plan__list { display: grid; gap: 4px; margin-top: 20px; margin-bottom: 32px; }
.plan__list li {
  position: relative;
  padding: 6px 0 6px 28px;
  font-size: 15px;
  line-height: 1.7;
}
.plan__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 13px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  rotate: -45deg;
}
.plan__cta { margin-top: auto; }
.price__note { margin-top: 40px; color: var(--sub); font-size: 13px; text-align: center; }

/* ---------- ⑨ flow ---------- */
.flow {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--soft);
}
.flow__bg { position: absolute; inset: 0; z-index: -1; }
.flow__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  opacity: .16;
}
.flow__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--soft) 0%, rgba(246, 246, 244, .55) 45%, rgba(246, 246, 244, .9) 100%);
}

.steps {
  position: relative;
  display: grid;
  gap: 16px;
  margin-top: clamp(48px, 6vw, 72px);
  padding-left: 34px;
}
.steps::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 36px;
  bottom: 36px;
  width: 2px;
  border-radius: 2px;
  background: var(--line-2);
}
.step {
  position: relative;
  padding: 26px 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: #fff;
}
.step::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 30px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: #fff;
}
.step--key::before { border-color: var(--accent); background: var(--accent); }
.step--key { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.step__head { display: flex; align-items: baseline; gap: 12px; line-height: 1.4; }
.step__no {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--accent-ink);
}
.step__en {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--sub);
}
.step__title { margin-top: 10px; font-size: 22px; font-weight: 900; line-height: 1.4; letter-spacing: .06em; }
.step__text { margin-top: 10px; color: var(--sub); font-size: 14.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--soft);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.5;
}
.chip.en { letter-spacing: .08em; }
.chip--accent { background: var(--accent); color: var(--ink); }

@media (min-width: 960px) {
  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    padding-left: 0;
    padding-top: 44px;
  }
  .steps::before {
    left: 30px;
    top: 7px;
    bottom: auto;
    width: auto;
    height: 2px;
    right: calc((100% - 60px) / 4 - 32px);
    background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 33.4%, var(--line-2) 33.4%);
  }
  .step { display: flex; flex-direction: column; }
  .step::before { left: 24px; top: -44px; }
  .step .chips { margin-top: auto; padding-top: 16px; }
}

/* ---------- ⑩ faq ---------- */
.faq__grid { display: grid; gap: 40px; }
@media (min-width: 960px) {
  .faq__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 32px;
    align-items: start;
  }
  .faq__head { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 40px); }
  .faq__list { grid-column: 5 / span 8; }
}
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  padding: 24px 4px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  cursor: pointer;
  list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover .qa__text { color: var(--accent-ink); }
.qa__mark {
  width: 1.1em;
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.5;
  color: var(--accent-ink);
}
.qa__icon { position: relative; width: 22px; height: 22px; margin-top: 3px; }
.qa__icon::before,
.qa__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  translate: -50% -50%;
}
.qa__icon::after { rotate: 90deg; }
.qa[open] .qa__icon::after { display: none; }
.qa__a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding: 0 46px 28px 4px;
  color: var(--sub);
  font-size: 15px;
  line-height: 1.95;
}
.qa__a .qa__mark { color: var(--sub); line-height: 1.6; }
.qa[open] .qa__a { animation: rise .35s var(--ease) both; }


.field > label,
.field > legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.5;
}
.req,
.opt {
  display: inline-block;
  margin-left: 2px;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .06em;
  white-space: nowrap;
}
.req { background: var(--accent-ink); color: #fff; }
.opt { border: 1px solid var(--line-2); color: var(--sub); font-weight: 500; }

.input {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid var(--field);
  border-radius: 10px;
  background: #fff;
  font-size: 16px;
  line-height: 1.6;
  transition: border-color .2s, background-color .2s;
}
.input::placeholder { color: #6B7180; }
.input:hover { border-color: var(--ink); }
.input:focus-visible { border-color: var(--ink); outline: 2px solid var(--accent-ink); outline-offset: 2px; }
.input[aria-invalid="true"] { border-color: var(--error); background: var(--error-tint); }
.field__hint { margin-top: 8px; color: var(--sub); font-size: 13px; }
.field__error { margin-top: 8px; color: var(--error); font-size: 13.5px; font-weight: 500; line-height: 1.6; }
.field__error:empty { display: none; }

.checks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
  gap: 8px;
}
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.check:hover { border-color: var(--ink); }
.check input,
.agree input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--ink);
  cursor: pointer;
}
.check:has(input:checked) { border-color: var(--ink); background: var(--soft); }
.check input:focus-visible { outline-offset: 2px; }



/* ---------- ⑫ footer ---------- */
.site-footer {
  padding: clamp(64px, 8vw, 96px) 0 32px;
  background: var(--ink);
  color: #fff;
}
.site-footer :focus-visible { outline-color: #fff; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__grid { display: grid; gap: 40px; }
@media (min-width: 900px) {
  .footer__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; }
  .footer__brand { grid-column: 1 / span 4; }
  .footer__nav { grid-column: 5 / span 6; }
  .footer__meta { grid-column: 11 / span 2; }
}
.logo--inverse { color: #fff; }
.footer__tagline { margin-top: 20px; color: rgba(255, 255, 255, .74); font-size: 14px; }
.footer__nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap: 32px 24px; }
.footer__nav ul { display: grid; gap: 10px; margin-top: 14px; }
.footer__nav a { color: rgba(255, 255, 255, .84); font-size: 14px; }
/* 押せる高さ 40px 以上（行の高さ 25px ＋ 上下 8px。負の余白で並びは変えない） */
.footer__nav a,
.footer__meta a { display: inline-block; padding-block: 8px; margin-block: -8px; }
.footer__nav a[aria-current] { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__label {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  color: rgba(255, 255, 255, .66);
}
.footer__meta p + p { margin-top: 6px; }
.footer__meta a { font-size: 14px; }
.footer__meta .footer__privacy { margin-top: 14px; }
.footer__privacy a,
.footer__policy a { color: rgba(255, 255, 255, .84); }
.footer__meta .footer__policy { margin-top: 10px; line-height: 1.6; }
/* この行は行の高さが低い（22px）ので、上下 9px で 40px に */
.footer__policy a { padding-block: 9px; margin-block: -9px; }
.footer__policy a[aria-current] { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 32px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .66);
  font-size: 12.5px;
}
.footer__bottom small { font-size: inherit; font-family: var(--font-en); letter-spacing: .08em; }

/* ==========================================================================
   複数ページ化（BRIEF-v2）で足した共通の部品
   ========================================================================== */

/* ---------- パンくず（build.mjs が TOP 以外の main の先頭に入れる） ---------- */
.crumbs { padding-top: calc(var(--header-h) + 20px); }
.crumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap: 4px;
  color: var(--sub);
  font-size: 12.5px;
  line-height: 1.6;
}
.crumbs__list li { display: inline-flex; align-items: center; }
.crumbs__list li + li::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  margin: 0 12px 0 8px;
  border-top: 1.5px solid var(--line-2);
  border-right: 1.5px solid var(--line-2);
  rotate: 45deg;
}
.crumbs a {
  display: inline-flex;
  align-items: center;
  /* 押せる高さ 40px（行の高さ 20px。負の余白で並びは変えない） */
  min-height: 40px;
  margin-block: -10px;
  color: var(--sub);
  text-underline-offset: 3px;
}
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); font-weight: 700; }

/* ---------- 下層ページの見出し ---------- */
.page-hero { padding: clamp(28px, 4vw, 56px) 0 clamp(64px, 8vw, 104px); }
.page-hero--compact { padding-bottom: clamp(32px, 4vw, 48px); }
/* パンくずの無いページ（404・/preview/column/）は見出しが main の先頭：固定のヘッダーの下から始める
   （パンくずのあるページは .crumbs がこの分を空ける） */
#main > .page-hero:first-child { padding-top: calc(var(--header-h) + clamp(28px, 4vw, 56px)); }
.page-hero__grid { display: grid; gap: 48px; align-items: center; }
.page-hero__copy { max-width: 760px; }
@media (min-width: 960px) {
  .page-hero__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 32px; }
  .page-hero__grid > .page-hero__copy { grid-column: 1 / span 7; }
  .page-hero__grid > :not(.page-hero__copy) { grid-column: 9 / span 4; }
}
.page-title {
  font-size: clamp(32px, 4.4vw, 54px);
  font-weight: 900;
  line-height: 1.34;
  letter-spacing: .03em;
  text-wrap: balance;
}
.page-lead {
  max-width: 36em;
  margin-top: 24px;
  color: var(--sub);
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 2;
}
.page-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 479px) {
  .page-hero__cta .btn { flex: 1 1 100%; }
}
.page-hero .metrics { margin-top: 40px; }

/* ページ内の目次（チップ） */
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.jump a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-block: -1px;
  padding: 4px 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: #fff;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color .2s;
}
.jump a:hover { border-color: var(--ink); }

/* 見出しのすぐ下に同じ背景で続くセクション */
.section--flush { padding-top: 0; }

.svc-note { margin-top: 20px; color: var(--sub); font-size: 13px; }

/* ---------- サンプルの入口（TOP・samples/。partials/sample-entry.html） ---------- */
.entry-cards { display: grid; gap: 24px; }
.sec-head + .entry-cards { margin-top: clamp(40px, 5vw, 64px); }
@media (min-width: 720px) {
  .entry-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.entry-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: #fff;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.entry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.entry-card__media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}
.entry-card__img {
  position: absolute;
  width: 64%;
  border-radius: 8px;
  box-shadow: var(--shadow);
  rotate: -2deg;
  translate: -6% 6%;
}
.entry-card__img--back { rotate: 4deg; translate: 12% -8%; box-shadow: var(--shadow-s); }
.entry-card__browser {
  display: block;
  width: 74%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top-width: 14px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
.entry-card__browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }
.entry-card__body { display: flex; flex-direction: column; flex: 1; padding: clamp(22px, 2.6vw, 32px); }
.entry-card__en {
  font-family: var(--font-en);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--accent-ink);
}
.entry-card__title {
  margin-top: 8px;
  font-size: clamp(21px, 2.1vw, 25px);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: .04em;
  font-feature-settings: "palt";
}
.entry-card__title a { text-decoration: none; }
.entry-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--r-l); }
.entry-card__title a:focus-visible { outline: none; }
.entry-card__title a:focus-visible::after { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
.entry-card__desc { margin-top: 10px; color: var(--sub); font-size: 14.5px; }
.entry-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  font-size: 14px;
  font-weight: 700;
}
.entry-card__more svg { width: 16px; height: 16px; }

/* ---------- 料金の一覧（partials/price-table.html） ---------- */
.ptable-wrap {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: #fff;
}
.ptable { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.7; }
.ptable th,
.ptable td { padding: 18px 22px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.ptable tbody tr:last-child > * { border-bottom: 0; }
.ptable thead th {
  padding-block: 12px;
  background: var(--soft);
  color: var(--sub);
  font-size: 13px;
  font-weight: 700;
}
.ptable tbody th { font-weight: 700; white-space: nowrap; }
.ptable tbody th a { text-decoration: none; }
.ptable tbody th a:hover { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.ptable__plan {
  display: block;
  color: var(--sub);
  font-size: 12.5px;
  font-weight: 500;
}
.ptable__price { font-weight: 900; white-space: nowrap; }
.ptable__price b { font-family: var(--font-en); font-size: 1.35em; font-weight: 800; letter-spacing: -.01em; }
.ptable td:last-child { color: var(--sub); font-size: 14px; }
.ptable .is-bundle > * { background: var(--accent-tint); }
.ptable__note { margin-top: 16px; color: var(--sub); font-size: 13px; }
@media (max-width: 639px) {
  .ptable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .ptable tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 16px;
    align-items: baseline;
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
  }
  .ptable tbody tr:last-child { border-bottom: 0; }
  .ptable th,
  .ptable td { padding: 0; border: 0; }
  .ptable tbody th { white-space: normal; }
  .ptable td:last-child { grid-column: 1 / -1; font-size: 13.5px; }
  .ptable .is-bundle { background: var(--accent-tint); }
}
.price__more,
.works__more,
.site-samples__more { margin-top: 32px; text-align: center; }

.campaign__limit {
  padding: 2px 10px;
  border: 1px solid var(--accent-ink);
  border-radius: 999px;
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
}

/* ---------- 見積もりの目安（partials/estimate-*.html、lp.js の [data-estimate]） ---------- */
.est {
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: #fff;
}
.est__calc { display: grid; gap: 20px; margin-bottom: 28px; }
.est__field { min-width: 0; }
.est__label { display: block; margin-bottom: 10px; font-size: 14.5px; font-weight: 700; line-height: 1.5; }
.est__count { display: flex; align-items: center; gap: 10px; }
.est__number {
  width: 140px;
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .02em;
}
.est__suffix { font-weight: 700; }
.est__choices { display: grid; gap: 8px; }
.est__choice { display: grid; line-height: 1.5; }
.est__choice small { color: var(--sub); font-size: 12.5px; }
.est__choice-yen { margin-left: auto; font-family: var(--font-en); font-size: 15px; font-weight: 800; white-space: nowrap; }
.est__out {
  padding: 20px 22px;
  border-radius: var(--r);
  background: var(--soft);
}
.est__main { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.est__yen + .est__unit { margin-left: -8px; }
.est__kind { font-size: 14px; font-weight: 700; }
.est__yen {
  font-family: var(--font-en);
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.est__unit { color: var(--sub); font-size: 13.5px; white-space: nowrap; }
.est__sub { margin-top: 8px; font-size: 15px; font-weight: 700; line-height: 1.7; }
.est__sub b { color: var(--accent-ink); font-family: var(--font-en); font-size: 1.2em; font-weight: 800; }
.est__sub--plain { color: var(--sub); font-size: 14px; font-weight: 500; }
/* 1,000 枚以上（lp.js が金額の代わりに出す） */
.est__over { font-size: clamp(18px, 1.8vw, 22px); font-weight: 900; line-height: 1.6; }
/* 「資料も一緒に」のとき：プランは料金に使わないので、薄くして選べなくする（lp.js が disabled と .is-muted） */
.est__field.is-muted .est__choices { opacity: .45; }
.est__field.is-muted .check { cursor: not-allowed; }
.est__field.is-muted .check:hover { border-color: var(--line-2); }
.est__muted-note { margin-top: 10px; color: var(--accent-ink); font-size: 13.5px; font-weight: 700; line-height: 1.6; }
.est__table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.6; }
.est__table caption { margin-bottom: 8px; color: var(--sub); font-size: 13px; font-weight: 700; text-align: left; }
.est__table th,
.est__table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.est__table thead th { color: var(--sub); font-size: 12.5px; font-weight: 700; }
.est__table tbody th { font-weight: 700; white-space: nowrap; }
.est__table td:last-child { color: var(--accent-ink); font-weight: 700; }
.est--web .est__table td:last-child { color: var(--ink); white-space: nowrap; }
.est__note { margin-top: 16px; color: var(--sub); font-size: 13px; line-height: 1.8; }
.est__cta { margin-top: 24px; }
@media (max-width: 479px) {
  .est__table th,
  .est__table td { padding-inline: 6px; }
  .est__cta .btn { width: 100%; }
}

/* ---------- 項目と内容の一覧（納期・修正など） ---------- */
.facts { border-top: 1px solid var(--line); }
.facts > div {
  display: grid;
  grid-template-columns: 6.5em minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.8;
}
.facts dt { font-weight: 700; }
.facts dd { color: var(--sub); }
@media (max-width: 479px) {
  .facts > div { grid-template-columns: 5em minmax(0, 1fr); gap: 12px; font-size: 14.5px; }
}

/* ---------- サービス資料（PDF）への導線（services/deck・consulting・web、contact/） ---------- */
.pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  font-weight: 700;
  text-underline-offset: 3px;
}
.pdf-link svg { width: 18px; height: 18px; flex: none; }
.pdf-link:hover { color: var(--accent-ink); }
.page-hero__pdf { margin-top: 16px; font-size: 14px; }
.cta-band__sub { margin-top: 20px; font-size: 14px; }
.contact__sub { margin-top: 16px; color: var(--sub); font-size: 14px; line-height: 1.8; }
.contact__sub .pdf-link { color: var(--ink); }

/* ---------- 相談の CTA（partials/cta.html） ---------- */
.cta-band__inner { max-width: 760px; margin-inline: auto; text-align: center; }
.cta-band .sec-lead { margin-inline: auto; }
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
@media (max-width: 479px) {
  .cta-band__actions .btn { width: 100%; }
}

/* ---------- motion: ふわっと出る ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
/* reveal-on は lp.js が付ける（JS が読めなければ最初から表示のまま） */
.reveal-on [data-reveal]:not(.is-in) {
  opacity: 0;
  transform: translateY(8px);
}
.reveal-on [data-reveal] {
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .stack__card { animation: none !important; }
  .reveal-on [data-reveal]:not(.is-in) { opacity: 1; transform: none; }
  .work:hover .work__frame,
  .site:hover .browser { transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ---------- print ---------- */
@media print {
  .site-header, .viewer, .menu-toggle, .skip { display: none !important; }
  .reveal-on [data-reveal]:not(.is-in) { opacity: 1; transform: none; }
  .stack__card { animation: none; }
}
