@charset "utf-8";
/* ==========================================================================
   Kazuma Web Works — components（裁縫作業場コンセプト版）

   部品の役どころ
   - 左サイド   = 裁縫箱。現在地は糸の色のボタンで留まる
   - 本文の面   = 机に置いた紙。ふちをステッチで縫い止める
   - 価格       = 品質表示タグ（まち針で留めてある）
   - 右の図解   = 型紙（縫い代・布目線・合印つき）
   - マーキー   = ピンキングばさみで裁ったリボン
   - CTA        = 革のパッチ
   ========================================================================== */

/* ====================================================== オープニング演出 == */

.opening {
  position: fixed; inset: 0; z-index: 900;
  display: grid; place-items: center;
  background: var(--cream);
  overflow: hidden;
}
.opening[hidden] { display: none; }
.opening.is-out {
  transform: translate3d(-101%, 0, 0);
  transition: transform .58s var(--ease);
}
/* 開幕は布の上。織り目をうっすら出して作業台に見せる */
.opening::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg,  rgba(74, 59, 50, .045) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(74, 59, 50, .045) 0 1px, transparent 1px 3px);
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.opening.is-live::before { opacity: 1; }

.opening__stage {
  position: relative;
  width: min(84vw, 760px);
  display: grid;
  justify-items: center;
}
/* 中身は JS が入れる。社名もこの SVG の中にあるので、書体に依存しない */
.opening__mark { width: 100%; height: auto; overflow: visible; }
.opening__mark .pen { will-change: stroke-dashoffset; }
#badge, #wipe-g { will-change: transform; }

body.is-opening { overflow: hidden; }

/* ============================================================== レイアウト == */

.shell { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); }
@media (max-width: 1080px) { .shell { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ 裁縫箱 ---- */

.side__wrap {
  position: sticky; top: 0;
  /* dvh はアドレスバーの伸び縮みに追従する単位。対応していない古いブラウザ
     （Safari 15.3 以前・Chrome 107 以前など）では次の行が読み飛ばされ、
     高さの指定が丸ごと無くなってしまうので、先に vh で書いておく */
  height: 100vh;
  height: 100dvh;
  display: grid; grid-template-rows: auto 1fr auto;
  padding: 0;
  background: var(--cream-2);
  background-image:
    repeating-linear-gradient(0deg,  rgba(74, 59, 50, .04) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(74, 59, 50, .04) 0 1px, transparent 1px 3px);
  border-right: 1px solid #DCCDB6;
}
/* 右端はメジャー。5mmごとの短い目盛りと、1cmごとの長い目盛り */
.side__wrap::after {
  content: ""; position: absolute; top: 0; right: 0; width: 13px; height: 100%;
  background:
    repeating-linear-gradient(to bottom, #C9B79C 0 1px, transparent 1px 9px) right/6px 100% no-repeat,
    repeating-linear-gradient(to bottom, #A89376 0 1px, transparent 1px 45px) right/11px 100% no-repeat,
    #F5EDE0;
  border-left: 1px solid #DCCDB6;
  pointer-events: none;
}

/* 革のパッチにロゴを箔押しして、ステッチで縫い付ける */
.side__logo--desk {
  position: relative; display: block;
  margin: 20px 26px 4px var(--gut);
  padding: 17px 16px 14px;
  background: linear-gradient(168deg, var(--leather-l), var(--leather) 52%, #B0764A);
  border-radius: var(--r-xs);
  box-shadow: 0 2px 0 rgba(74, 59, 50, .18), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.side__logo--desk::after {
  content: ""; position: absolute; inset: 6px;
  border: 1.5px dashed rgba(255, 248, 235, .72); border-radius: 2px; pointer-events: none;
}
/* CSS 側の革パッチの中に、マークだけを置く。パッチ入りの画像だと二重になる */
.side__logo img { height: 44px; width: auto; margin-inline: auto; display: block; }
.side__logo span {
  display: block; margin-top: 7px; text-align: center;
  font-size: 9.5px;
  color: #FFF6E8;   /* 革のパッチの上なので生成り。地に合わせてここで決める */
}

/* 目次 */
/* 目次は .side__wrap（grid の 1fr）の中で、あふれたら自分の中でスクロールさせる。
   以前は align-self: start を付けていたため 1fr の枠に収まらず内容の高さのまま伸び、
   overflow-y: auto があっても縦が短い画面（ブラウザの高さ 700px 未満）では
   下の項目が画面の外に出て押せなかった（縦420pxで「誰が作る？」以降が消えていた。2026-09-20 に実測）。
   grid の子は既定で min-height: auto なので、min-height: 0 を入れないと縮まずスクロールしない */
.side__nav {
  min-height: 0; overflow-y: auto; padding-right: 13px;
  /* 下の端をうっすら消して、まだ続きがあることを見せる。
     ブラウザの高さが 700px 未満だと目次が収まりきらず、スクロールバーも細くて
     気づきにくいため（2026-09-20）。収まっているときは下が余白なので、この指定は目に見えない */
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 26px), transparent);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 26px), transparent);
}
.side__k {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--f-en);
  font-size: 11px; font-weight: 600; letter-spacing: .22em;
  color: var(--muted); text-transform: uppercase;
  margin: 0; padding: 18px 26px 9px var(--gut);
}
.side__k::after { content: ""; flex: 1; border-top: 1.5px dashed var(--stitch); }

.side__list { display: grid; gap: 0; }
.side__list > li:not(.side__special) { margin-inline: 10px; }
.side__list li + li { border-top: 1.5px dashed #E0D2BC; }
.side__list a {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) 17px; gap: 7px;
  align-items: center;
  /* 右の余白と字間を詰めてあるのは、一番長い「どんなサイトが作れる？」を
     14px で右の丸マーカーに当てずに収めるため。ここを広げると文字が欠ける */
  padding: 12px 14px 12px calc(var(--gut) + 18px);
  font-family: var(--f-display);
  font-size: 14px; font-weight: 500; line-height: 1.5; white-space: nowrap;
  color: var(--ink-70);
  transition: color .2s var(--ease), background .2s var(--ease);
}
/* 番号。現在地でだけ糸の色になる */
.side__list a i {
  position: absolute; left: var(--gut); top: 50%; transform: translateY(-50%);
  font-family: var(--f-en); font-style: normal;
  font-size: 10.5px; font-weight: 600; letter-spacing: .04em; color: var(--muted);
  transition: color .2s;
}
/* 右端のボタン。現在地でだけ糸の色に留められる */
.side__list a::after {
  content: ""; position: relative; grid-column: 2;
  width: 15px; height: 15px; border-radius: 50%;
  background: #E2D2B8; box-shadow: inset 0 0 0 1.5px #C4B096;
  transition: background .2s, box-shadow .2s;
}
.side__list a:hover { color: var(--ink); background: rgba(255, 252, 246, .66); }
.side__list a.is-here { color: var(--ink); background: var(--white); font-weight: 700; }
.side__list a.is-here i { color: var(--sc); color: color-mix(in srgb, var(--sc) 82%, var(--ink)); }
.side__list a.is-here::after { background: var(--sc); box-shadow: inset 0 0 0 1px rgba(74, 59, 50, .16); }
/* 左メニューはセクション本体の色を継承できないため、各区画の糸色を明示する */
.side__list a[data-spy="works"].is-here { --sc: var(--t-mint); }
.side__list a[data-spy="services"].is-here { --sc: var(--t-cobalt); }
.side__list a[data-spy="pricing"].is-here { --sc: var(--t-amber); }
.side__list a[data-spy="flow"].is-here { --sc: var(--t-coral); }
.side__list a[data-spy="about"].is-here { --sc: var(--t-grape); }
.side__list a[data-spy="faq"].is-here { --sc: var(--t-faq); }
.side__list a[data-spy="glossary"].is-here { --sc: var(--t-glossary); }
.side__list .side__special {
  margin-top: 14px;
  border-top: 0;
  padding: 0 10px 0 0;
}
.side__list .side__special a {
  margin-left: 10px;
  grid-template-columns: minmax(0, 1fr) 17px;
  gap: 6px;
  padding: 11px 26px 11px 30px;
  border: 1.5px dashed #CBB694;
  background: rgba(255, 252, 246, .58);
}
.side__list .side__special a::after {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  transform: rotate(45deg);
}
.side__list .side__special a i { left: 12px; color: var(--t-glossary); font-size: 13.5px; }
/* 現在地は左端を糸で綴じてある */
.side__list a.is-here::before {
  content: ""; position: absolute; left: 0; top: 6px; bottom: 6px;
  border-left: 2px dashed var(--sc);
}

.side__foot {
  display: grid; gap: 12px;
  padding: 14px 35px 20px var(--gut);
  border-top: 1.5px dashed #E0D2BC;
}
.side__sub { display: flex; flex-wrap: wrap; gap: 3px 13px; }
/* スマホのメニューの中では指で押すので、上下の余白で高さ 44px を確保（負のマージンで見た目の位置は変えない）。
   以前は文字の高さの 25px しかなかった */
.side__sub a {
  display: inline-block; padding-block: 10px; margin-block: -10px;
  font-family: var(--f-en);
  font-size: 12.5px; font-weight: 600; letter-spacing: .12em;
  color: var(--muted); text-transform: uppercase;
}
.side__sub a:hover { color: var(--coral); }

/* --- 1080px 以下は上部バー＋ドロワー --- */
.side__bar { display: none; }

@media (max-width: 1080px) {
  .side__wrap {
    position: fixed; inset: 0 0 auto; height: auto; z-index: 500;
    grid-template-rows: auto;
    border-bottom: 1px solid #DCCDB6; border-right: 0;
  }
  .side__wrap::after { display: none; }
  .side__bar {
    display: flex; align-items: center; gap: 14px;
    height: var(--hdr); padding-inline: var(--gut);
    background: var(--cream-2);
    /* メニューの板はヘッダーの下をくぐって上へ消える。以前は閉じる途中の 0.5 秒、板がヘッダーに重なり、
       メニューボタンを覆って押せなかった（Firefox の操作テストで 2026-09-17 に確認） */
    position: relative; z-index: 2;
  }
  /* 画像は 22px のまま、押せる範囲だけ 44px 四方にする */
  .side__bar .side__logo { margin: 0; padding: 0; background: none; box-shadow: none;
    display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; }
  .side__bar .side__logo::after { display: none; }
  .side__bar .side__logo img { height: 22px; margin: 0; }
  .side__bar .side__logo span { display: none; }
  .side__logo--desk { display: none; }

  .side__panel {
    position: fixed; inset: var(--hdr) 0 0;
    background: var(--cream-2);
    padding: 0 0 40px;
    display: grid; align-content: start; gap: 0;
    transform: translate3d(0, -100%, 0); visibility: hidden;
    transition: transform .5s var(--ease), visibility .5s;
    overflow-y: auto;
  }
  /* 開くときは visibility を即座に切り替える（開いた瞬間に最初のリンクへフォーカスを移すため）。
     閉じるときは上の .5s のまま、滑り終わってから隠れる */
  .side__panel.is-open { transform: none; visibility: visible; transition: transform .5s var(--ease), visibility 0s; }
  .side__nav, .side__foot { padding-right: 0; overflow: visible; }
  .side__list > li:not(.side__special) { margin-inline: var(--gut); }
  .side__list a { padding: 15px var(--gut) 15px calc(var(--gut) + 22px); font-size: 16px; font-weight: 700; }
  .side__list .side__special { padding-right: var(--gut); }
  .side__list .side__special a { margin-left: var(--gut); padding-left: calc(var(--gut) + 22px); }

  main, .ftr { padding-top: 0; }
  .shell { padding-top: var(--hdr); }
  /* 上の固定ヘッダー（--hdr）の分だけ、リンクで飛んだ見出しを下げる。
     以前は services.html#scope-h へ飛ぶと見出しがヘッダーの下に隠れていた */
  :is(h1, h2, h3)[id] { scroll-margin-top: 12px; }
  /* リンクで飛んだとき・入力欄を選んだときに、ブラウザが自動で動かす位置をヘッダーの下にする。
     以前は用語集の検索欄を押すと、入力欄がヘッダーの下に隠れて打った文字が見えなかった（2026-09-17）。
     見出しの分（上の 12px）と合わせて、これまでと同じ「ヘッダー＋32px」の位置に止まる */
  html { scroll-padding-top: calc(var(--hdr) + 20px); }
  /* メニューを開いている間は後ろのページを止める。この幅の中だけで効くので、
     開いたまま 1081px 以上に広げてもページは動く（js/site.js の setMenu） */
  html.is-menu-open body { overflow: hidden; }
}
@media (min-width: 1081px) {
  .side__panel { display: contents; }
}

.side__burger {
  margin-left: auto; flex: none;
  width: 44px; height: 44px;   /* 指で押す目安の 44px */
  border: 1px solid var(--line); background: var(--white);
  border-radius: var(--r-sm);
  cursor: pointer; position: relative;
}
.side__burger i {
  position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink);
  transition: transform .34s var(--ease), opacity .2s;
}
.side__burger i:nth-child(1) { top: 16px; }
.side__burger i:nth-child(2) { top: 21px; }
.side__burger i:nth-child(3) { top: 26px; }
.side__burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.side__burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.side__burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ================================================================ ボタン == */

/* ふちをステッチで縫い止めた、革・布のボタン */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 13px;
  padding: 14px 24px;
  font-family: var(--f-display);
  font-size: 15px; font-weight: 700; letter-spacing: .02em;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  transition: background .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease), transform .1s, box-shadow .1s;
}
.btn::after {
  content: ""; position: absolute; inset: 5px;
  border: 1.5px dashed rgba(255, 248, 235, .66); border-radius: 2px; pointer-events: none;
}
.btn > * { position: relative; z-index: 1; }
.btn svg { flex: none; color: currentColor; transition: transform .38s var(--ease); }
.btn:hover svg { transform: translateX(5px); }

.btn--primary {
  background: linear-gradient(170deg, var(--leather-l), var(--leather) 54%, #AC7245);
  color: #FFF8ED; border-color: #A8703F;
  box-shadow: 0 3px 0 #8A5A31, inset 0 1px 0 rgba(255, 255, 255, .34);
}
.btn--primary:hover { background: linear-gradient(170deg, #E0B183, #C98F5C 54%, #B47B4C); }
.btn--primary:active { transform: translateY(2px); box-shadow: 0 1px 0 #8A5A31; }

.btn--ghost {
  color: var(--ink); background: var(--white); border-color: var(--line);
  box-shadow: 0 3px 0 rgba(74, 59, 50, .12);
}
.btn--ghost::after { border-color: #E4D6C0; }
.btn--ghost:hover { border-color: var(--coral); color: var(--coral-d); }
.btn--ghost:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(74, 59, 50, .12); }

/* 濃い地の上に置くボタン */
.btn--onnavy {
  background: var(--marigold); color: #4A3512; border-color: #C8871E;
  box-shadow: 0 3px 0 #B0761A, inset 0 1px 0 rgba(255, 255, 255, .42);
}
.btn--onnavy::after { border-color: rgba(74, 53, 18, .28); }
.btn--onnavy:hover { background: #F6B455; }
.btn--onnavy:active { transform: translateY(2px); box-shadow: 0 1px 0 #B0761A; }

.btn--sm { padding: 11px 16px; font-size: 13.5px; gap: 10px; }
.btn--block { display: flex; width: 100%; justify-content: space-between; }

/* テキストリンク。布タグにする */
.tlink {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-display);
  font-size: 14px; font-weight: 700;
  color: var(--ink); background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 9px 18px; min-height: 44px;   /* 文字だけだと高さ 42px で、指で押す目安に 2px 足りなかった */
  box-shadow: 0 2px 0 rgba(74, 59, 50, .09);
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s;
}
.tlink:hover { background: var(--sc); color: #fff; border-color: var(--sc); }
.tlink svg { transition: transform .38s var(--ease); }
.tlink:hover svg { transform: translateX(5px); }

/* ============================================== セクション（内容＋図解） == */

.sec { padding: clamp(58px, 6vw, 96px) 0; position: relative; }
.sec__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  gap: clamp(28px, 3.6vw, 64px);
  align-items: start;
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: clamp(24px, 3.4vw, 56px);
}
.sec__in--one { grid-template-columns: minmax(0, 1fr); max-width: 1080px; }
/* 1列の段（.sec__in--one）は除く。以前は `.sec__in` 全体に掛けていたため、
   同じ強さで後から書かれたこの指定が1列の指定を上書きし、901〜1240px（iPad 横向きなど）で
   ページ上部・料金カード・フォームなどが画面の左半分に押し込まれていた。
   :not() を付けると指定が強くなり、下の 900px 以下の1列指定に勝ってしまうので、幅も 901px からに限る */
@media (min-width: 901px) and (max-width: 1240px) { .sec__in:not(.sec__in--one) { grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); } }
@media (max-width: 900px) { .sec__in { grid-template-columns: 1fr; gap: 34px; } }

.sec__vis { position: static; align-self: center; }
@media (min-width: 901px) {
  /* 事例が増えても、選択中のサムネイルを画面内で確認できるようにする。
     追従は Works セクションの中だけで止まり、次のセクションには入らない。 */
  #works .sec__vis {
    position: sticky;
    top: clamp(96px, 16vh, 160px);
    align-self: start;
  }
}
@media (max-width: 900px) { .sec__vis { order: -1; } }

.sec__head { margin-bottom: clamp(22px, 2.4vw, 34px); }
.sec__more { margin-top: clamp(24px, 2.6vw, 36px); }

/* --------------------------------------------------------- ヒーロー ----- */

.hero { padding: clamp(46px, 5.5vw, 86px) 0 clamp(46px, 5vw, 74px); position: relative; overflow: hidden; }
/* 見出しは階段状に置く。下の行ほど右へ、同じ幅ずつずらす。
   ずらし幅は em で持つので、文字サイズが変わっても段の比率が崩れない。
   外側の span は overflow:hidden の幕なので、margin で幕ごと動かす。
   こうすると下から現れる動きはそのまま活きる。 */
/* 見出しの文字サイズは、画面幅ではなく「見出しが入る段の幅」を基準にする。
   .display の 4.2vw は画面幅基準だが、この段は固定幅のサイドバーぶん狭いので、
   1100〜1280px あたりで1行目が段からあふれて勝手に折り返していた。
   階段は改行位置を手で決めているので、折り返されると形が崩れる。
   段を容れ物として宣言し、その幅（cqw）で字を決めれば、どの幅でも収まる。 */
.hero .sec__in > div:first-child { container-type: inline-size; }
/* いちばん長いのは3行目で 8.927em。段の幅 ÷ 8.927 ≒ 11.2cqw が上限なので、
   余裕を見て 10.9cqw にする。広い画面では上限の 3.3rem に当たるので影響なし。 */
.hero__title { font-size: clamp(1.9rem, 10.9cqw, 3.3rem); }
/* 改行は手で決めたものなので、勝手に折り返させない */
.hero__title > span > span { white-space: nowrap; }

/* 行の頭を、上の行の文字位置にそろえる。段差を数値で決めるのではなく、
   「1行目の『を』の下に2行目の『魅』」「2行目の『る』の下に3行目の『工』」
   という文字どうしの対応で決める。読み手には見えないが、
   縦のラインがそろうぶん、目で追ったときに落ち着く。

   全角1文字の送りは .9919em（字間 -.008em ぶん詰まるので 1em ちょうどではない）。
     2行目 … 「を」は1行目の3文字目。頭を2文字ぶん下げると真下に来る
     3行目 … 「る」は行頭から数えて7文字目の位置。
              「工」の前に "Web"（1.8539em）があるので、その幅だけ戻す

   結果：1行目と2行目の右端がぴたりとそろい（差 0.001em）、
         3行目だけが約1文字ぶん外へ出て流れをつくる。
   ※ この2つの数値は今の文言に紐づく。文言を変えたら測り直すこと。 */
.hero__title { margin-bottom: 12px; --adv: .9919em; --web: 1.8539em; }
.hero__title > span:nth-child(2) { margin-left: calc(var(--adv) * 2); }
.hero__title > span:nth-child(3) { margin-left: calc(var(--adv) * 7 - var(--web)); }
.hero__title em { font-style: normal; color: var(--cobalt); }
/* ヒーローだけ2色。コーラルとデニムを1行に同居させる */
.hero__title .em-warm { font-style: normal; color: var(--coral); }
.hero__lede {
  position: relative;
  isolation: isolate;
  max-width: 31em;
  margin-bottom: 28px;
  color: #57463c;
}
/* 日本語はどの文字の間でも折り返せてしまうので、放っておくと
   「…公開できるの / か。」のように1〜2文字だけが次の行に落ちる。
   意味の切れ目（読点）で区切った塊を nowrap にして、折り返すなら
   必ずその境目で折り返すようにしてある。
   広い画面では1行に収まり、狭い画面では読点で2行になる。 */
.hero__lede span { white-space: nowrap; display: inline-block; }   /* inline-block は Safari でも塊の境目で改行させるため（.nb と同じ理由） */

/* プラン名は固有名詞なので、途中で割れると読みにくい。
   「スモールスタ / ート」になっていたため、語の切れ目でしか
   折り返さないよう塊に分けてある（狭い欄では スモール / スタート）。 */
.plan__t span { white-space: nowrap; display: inline-block; }

/* ------------------------------------------------------- Web用語集 ---- */
.glossary-intro { padding-bottom: clamp(44px, 7vw, 76px); }
.glossary-guide {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px clamp(28px, 6vw, 84px);
  align-items: start;
  padding-bottom: clamp(28px, 4vw, 48px);
}
.glossary-guide .eyebrow { grid-column: 1 / -1; }
.glossary-guide h2 {
  font-family: var(--f-display);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.5;
  letter-spacing: .01em;
}
.glossary-guide > p:last-child { max-width: 780px; color: var(--ink-70); font-size: 15px; line-height: 2.05; }
.glossary-tools {
  position: relative;
  padding: clamp(20px, 3.2vw, 32px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 4px 0 rgba(74, 59, 50, .1);
}
.glossary-tools::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px dashed var(--stitch);
  pointer-events: none;
}
.glossary-tools label {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 10px;
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 700;
}
.glossary-search {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: center;
  padding: 3px 15px;   /* 入力部分を 44px にした分、上下の余白を詰めて枠の高さを保つ */
  background: var(--cream);
  border: 1.5px solid var(--t-glossary);
}
.glossary-search svg { color: var(--t-glossary); }
.glossary-search input {
  min-width: 0;
  min-height: 44px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  /* 太さは 400。500 にすると、この入力欄ひとつのために
     Zen Kaku Gothic New の Medium（108KB）を丸ごと読み込むことになる。
     用語集を開いただけで読み込み量が 625KB → 421KB と 3 割違った（2026-09-20 に実測）。
     入力欄の字なので、太さの違いはほとんど分からない */
  font: 400 16px/1.5 var(--f-sans);
}
/* 選んでいる状態が分かるように。以前の .16 の薄い影だけでは見分けにくかった（2026-09-17） */
.glossary-search:focus-within {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(138, 90, 47, .38);
}
.glossary-jump {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.glossary-jump a {
  display: inline-flex; align-items: center; min-height: 44px;   /* 指で押す範囲を 44px 確保 */
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--cream);
  color: var(--ink-70);
  font-size: 13.5px;
  font-weight: 700;
}
.glossary-jump a:hover { color: var(--t-glossary); border-color: var(--t-glossary); }
.glossary-count { position: relative; z-index: 1; margin-top: 14px; color: var(--muted); font-size: 13.5px; }
.glossary-count #glossary-count { color: var(--t-glossary); font-family: var(--f-en); font-size: 17px; font-weight: 700; }
.glossary-section { scroll-margin-top: 24px; }
.glossary-section.is-filtered-out { display: none; }
.glossary-heading { max-width: 720px; margin-bottom: clamp(24px, 4vw, 40px); }
.glossary-heading h2 { margin-bottom: 9px; font-family: var(--f-display); font-size: clamp(1.7rem, 3vw, 2.4rem); }
.glossary-heading > p:last-child { color: var(--ink-70); font-size: 15px; line-height: 1.9; }
.glossary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.glossary-card {
  position: relative;
  min-width: 0;
  padding: clamp(20px, 3vw, 29px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 3px 0 rgba(74, 59, 50, .09);
}
.glossary-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--sc);
}
.glossary-card[hidden] { display: none; }
.glossary-card h3 { display: grid; gap: 4px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px dashed var(--stitch); }
.glossary-card h3 span { font-family: var(--f-display); font-size: clamp(1.08rem, 2vw, 1.3rem); line-height: 1.5; overflow-wrap: anywhere; }   /* 「Googleビジネスプロフィール」が、Webフォントが読めないとき幅 320px ではみ出していた */
.glossary-card > p { color: var(--ink-70); font-size: 15px; line-height: 1.95; }
/* 注記は色地の上に載るので、本文より濃い色を明示する。
   継承のままだと 4.32:1 で基準に届かなかった */
.glossary-card > p.glossary-card__note { margin-top: 13px; padding: 10px 12px; background: var(--sc-bg); border-left: 3px solid var(--sc); font-size: 13.5px !important; color: #6E5D4F; }
.glossary-empty { margin-top: 20px; padding: 24px; border: 1px dashed var(--stitch); background: var(--white); color: var(--ink-70); text-align: center; }
.glossary-empty[hidden] { display: none; }

@media (max-width: 760px) {
  .glossary-guide { grid-template-columns: 1fr; }
  .glossary-guide .eyebrow { grid-column: auto; }
  .glossary-grid { grid-template-columns: 1fr; }
}
.hero__lede::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -24px -44px;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 28% 32%,
      rgba(255, 255, 255, .18) 0 16%,
      rgba(116, 91, 74, .034) 36%,
      transparent 62%
    ) 0 0 / 21px 17px,
    radial-gradient(
      ellipse at 71% 66%,
      rgba(255, 255, 255, .13) 0 18%,
      rgba(109, 87, 72, .028) 44%,
      transparent 72%
    ) 9px 6px / 29px 23px,
    radial-gradient(
      ellipse at 39% 74%,
      rgba(255, 255, 255, .1) 0 14%,
      rgba(101, 80, 66, .022) 38%,
      transparent 67%
    ) 4px 11px / 37px 29px,
    rgba(255, 252, 246, .6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .34),
    inset 0 -1px 0 rgba(91, 69, 55, .035);
  -webkit-backdrop-filter: blur(13px) saturate(.66) contrast(.92) brightness(1.05);
  backdrop-filter: blur(13px) saturate(.66) contrast(.92) brightness(1.05);
  -webkit-mask-image: radial-gradient(
    ellipse 50% 50% at center,
    #000 32%,
    rgba(0, 0, 0, .86) 50%,
    rgba(0, 0, 0, .46) 72%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 50% 50% at center,
    #000 32%,
    rgba(0, 0, 0, .86) 50%,
    rgba(0, 0, 0, .46) 72%,
    transparent 100%
  );
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }

/* 品質表示タグ。価格と納期をここに書く。
   工場案の「機械の銘板」に当たる場所を、布の品質表示に読み替えている。 */
.hero__meta {
  position: relative;
  display: grid; gap: 0;
  max-width: 452px;
  padding: 14px 20px 13px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  box-shadow: 0 3px 0 rgba(74, 59, 50, .1);
}
/* タグを留めているステッチ */
.hero__meta::before {
  content: ""; position: absolute; inset: 6px;
  border: 1.5px dashed #E0D0B6; border-radius: 2px; pointer-events: none;
}
/* まち針の頭 */
.hero__meta::after {
  content: ""; position: absolute; right: 16px; top: -7px;
  width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #FFB3BE, var(--coral) 62%, var(--coral-d));
  box-shadow: 0 1px 2px rgba(74, 59, 50, .28);
}
/* 直下の span だけ。> を外すと、行の中の改行用 <span class="nb"> にも枠線や色が付く */
.hero__meta > span {
  position: relative;
  display: block; padding: 7px 0;
  font-family: var(--f-display);
  font-size: 14px; font-weight: 700; color: var(--ink);
  line-height: 1.7;
  border-bottom: 1.5px dotted #DDCEB6;
}
.hero__meta > span:last-child { border-bottom: 0; }
/* 一行目は価格と納期。ここが一番読ませたいので一段大きく、コーラルで */
.hero__meta > span:first-child { color: var(--coral-d); font-size: 15.5px; }

/* 受付状況の布タグ */
.status {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-display);
  font-size: 12.5px; font-weight: 700;
  color: var(--ink);
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 6px 14px; justify-self: start;
  box-shadow: 0 1px 0 rgba(74, 59, 50, .08);
}
.status::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: var(--coral-d); box-shadow: 0 0 0 3px rgba(196, 56, 79, .22);
  animation: pulse 2.6s var(--ease) infinite;
}
.status-note {
  margin: 8px 0 0;
  color: var(--ink-70);
  font-size: 12px;
  line-height: 1.7;
}
@keyframes pulse { 0%, 72%, 100% { opacity: 1; } 84% { opacity: .4; } }

/* --------------------------------- ヒーローのサムネイル流し ----- */

/* 実績サムネイルと飾り用サムネイルを、斜めに倒した面へ並べて
   手前（左下）から奥（右上）へ静かに流す。押しの演出ではなく地の飾りなので、
   クリックできる要素は置かず aria-hidden で読み上げからも外してある。

   調整するのはこの4つ。ほかは触らなくてよい。
     --tilt   帯の向き。大きいほど右上へ急に上がる
     --lay    伏せ具合。大きいほど奥行きが強い
     --bank   進行方向を軸にした横倒し。負で左側が下がる
     --loop   1周にかける時間
     --card   板の大きさ。ここを上げると全体が詰まって余白が減る
     --bleed  本文カラムへ左にはみ出す幅
     --fade-* 四辺の溶かし幅 */
.crawl {
  --tilt: 45deg;
  --lay: 40deg;
  --bank: -34deg;
  --loop: 64s;

  --card: clamp(148px, 19vw, 252px);    /* 板の基準幅 */
  --step: calc(var(--card) * .84);      /* 進行方向の間隔 */
  --colgap: calc(var(--card) * 1.02);   /* 列の振れ幅 */
  /* --set（1組が占める長さ）は HTML 側が書き出す。
     CSS に数値を持たせると板の表と食い違って継ぎ目が出るため */

  /* 右カラムの幅では帯の左上に大きな余白が残るので、
     箱ごと左へはみ出させて本文カラムに重ねる。右端は動かさない。
     本文は .sec__in > div:first-child に z-index:1 が入っているので、
     はみ出した板はその下に潜る（css/site.css 末尾の重なり順の指定）。 */
  /* はみ出し量は画面幅で決める。ここが効きすぎると本文の上に板が乗る。
     効くかどうかを決めているのは本文カラムの幅ではなく「本文がどこで
     折り返すか」で、1500px 以下では本文がカラム幅いっぱいまで伸びるため、
     わずかに重ねただけで焦げ茶の文字が暗い写真に潜って読めなくなる。
     そこで 1500px までは 0、そこから 1700px までで一気に 430px まで開く。
     （1440px で試したとき「ホームページを制作」の末尾が読めなくなった） */
  --bleed: clamp(0px, 215vw - 3225px, 430px);
  margin-left: calc(var(--bleed) * -1);
  width: calc(100% + var(--bleed));

  position: relative;
  height: clamp(470px, 55vw, 700px);
  overflow: hidden;

  /* 四辺すべてをグラデーションで地に溶かす。
     縦だけだと、板が右上へ抜けていくところで右端が直線に切り落とされて見える。
     mask を2枚重ねて掛け合わせる（-webkit- 側は source-in が intersect にあたる）。
     左は本文に重なるので、はみ出した幅のあいだで消えきるようにしてある。 */
  --fade-t: 20%;
  --fade-b: 15%;
  --fade-r: 22%;
  /* 左は .62 だと、本文カラムの上でまだ板が不透明のままだった。
     文字は焦げ茶、板には暗い写真が入るので、重なると単純に読めない。
     .85 にすると、どの画面幅でも本文カラムに入る手前で消えきり、
     カラムの上には薄い影としてしか残らない。 */
  --fade-l: calc(var(--bleed) * .85);
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0, #000 var(--fade-t),
                    #000 calc(100% - var(--fade-b)), transparent 100%),
    linear-gradient(to right, transparent 0, #000 var(--fade-l),
                    #000 calc(100% - var(--fade-r)), transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to bottom, transparent 0, #000 var(--fade-t),
                    #000 calc(100% - var(--fade-b)), transparent 100%),
    linear-gradient(to right, transparent 0, #000 var(--fade-l),
                    #000 calc(100% - var(--fade-r)), transparent 100%);
  mask-composite: intersect;
}
.crawl::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(250, 244, 234, .82) 0%,
    rgba(250, 244, 234, .54) 22%,
    rgba(250, 244, 234, 0) 62%
  );
}
.crawl__scene { position: absolute; inset: 0; perspective: 1600px; }

.crawl__plane {
  /* 左へはみ出させても帯の位置が動かないよう、はみ出したぶんを足し戻す。
     40% は広がった箱に対する割合なので、その差 .6 ぶんだけ補正する。 */
  position: absolute; left: calc(40% + var(--bleed) * .6); top: 66%;
  width: 0; height: 0;
  transform-style: preserve-3d;
  transform: rotateZ(var(--tilt)) rotateX(var(--lay)) rotateY(var(--bank));
  animation: crawl var(--loop) linear infinite;
  will-change: transform;
}
/* 1組ぶん進んだところで頭に戻す。同じ組を4回並べてあるので継ぎ目が出ない */
@keyframes crawl {
  to {
    transform: rotateZ(var(--tilt)) rotateX(var(--lay)) rotateY(var(--bank))
               translateY(calc(var(--set) * var(--step) * -1));
  }
}

.crawl__c {
  position: absolute; left: 0; top: 0;
  width: calc(var(--card) * var(--s));
  transform: translate(calc(var(--x) * var(--colgap)),
                       calc(var(--y) * var(--step) * -1));
}
.crawl__c img {
  width: 100%; height: auto; display: block;
  border-radius: 3px; box-shadow: 0 5px 14px rgba(74, 59, 50, .22);
}

/* 動きを減らす設定では止める。並びはそのまま見える */
@media (prefers-reduced-motion: reduce) {
  .crawl__plane { animation: none; }
}

/* ------------------------------------------------------- 図解パネル ----- */

/* 右カラムは「型紙」として扱う。クラフト紙にステッチのふち */
.viz {
  position: relative; overflow: hidden;
  border: 1px solid #D8C4A2; background: var(--kraft);
  border-radius: var(--r-sm);
  box-shadow: 0 4px 0 rgba(74, 59, 50, .12);
  aspect-ratio: 4 / 3.15;
}
.viz--photo-frame { aspect-ratio: 3 / 2; }
@keyframes scan { 0% { top: 4%; } 50% { top: 96%; } 100% { top: 4%; } }

/* 型紙の線種。裁縫の製図の約束事に合わせる。
   実線＝出来上がり線、コーラルの破線＝縫い代、デニム＝布目線 */
.bsvg .fr  { fill: none; stroke: var(--ink); stroke-width: .9; opacity: .5; }
.bsvg .win { fill: #FBF6EC; stroke: var(--ink); stroke-width: .9; }
.bsvg .fl  { fill: #DFD2BB; }
.bsvg .tx  { fill: #CFC2AC; }
.bsvg .nd  { fill: var(--white); stroke: var(--ink); stroke-width: .9; }
.bsvg .lb  { font-family: var(--f-en); font-size: 9px; letter-spacing: .12em; fill: var(--muted); }
/* 縫い目。等速で流し続けて「つながっている」ことを示す */
.bsvg .ln {
  fill: none; stroke: var(--coral); stroke-width: 1.1;
  stroke-dasharray: 5 4; opacity: .55;
  animation: dash 2.8s linear infinite;
}
@keyframes dash { to { stroke-dashoffset: -18; } }
.bsvg .fa { animation: fl 7s cubic-bezier(.16,1,.3,1) infinite; }
@keyframes fl { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }

/* スクロールで縫い上がる部品 */
.viz [data-build] {
  opacity: 0; transform: translate3d(0, 14px, 0);
  transition: opacity .6s var(--ease), transform .7s var(--ease);
  transition-delay: var(--bd, 0ms);
}
.viz.is-in [data-build] { opacity: 1; transform: none; }
.viz [data-grow] { transform: scaleX(0); transform-origin: left center;
  transition: transform .9s var(--ease); transition-delay: var(--bd, 0ms); }
.viz.is-in [data-grow] { transform: scaleX(1); }
.viz [data-drop] { transform: scaleY(0); transform-origin: top center;
  transition: transform 1.2s var(--ease); transition-delay: var(--bd, 0ms); }
.viz.is-in [data-drop] { transform: scaleY(1); }

@media (prefers-reduced-motion: reduce) {
  .bsvg .ln, .bsvg .fa, .bsvg .fb, .bsvg .fc, .viz__scan, .status::before { animation: none; }
  .viz [data-build], .viz [data-grow], .viz [data-drop] { opacity: 1 !important; transform: none !important; }
}

/* ---------------------------------------------------- 事例プレビュー ----- */

.wgroups { display: grid; gap: 22px; }
.wgroup__label {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 8px;
  color: var(--ink-70);
  font-family: var(--f-display); font-size: 13.5px; font-weight: 700;
}
.wgroup__label::before {
  content: ""; width: 7px; height: 7px; flex: none;
  border-radius: 50%; background: var(--sc);
}
.wgroup__label::after { content: ""; flex: 1; border-top: 1.5px dashed var(--stitch); }
.wlist { display: grid; gap: 0; border-top: 1.5px dashed var(--stitch); }
/* 行はサイトへのリンク。PC ではカーソルを合わせると右の画像が切り替わる（js/site.js） */
.wlist a {
  width: 100%; background: transparent;
  border: 0; border-bottom: 1.5px dashed var(--stitch);
  cursor: pointer; text-align: left;
  display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 14px;
  align-items: center; padding: 14px 18px;
  position: relative;
  transition: color .2s var(--ease), background .2s var(--ease);
}
/* 選んだ列は糸で綴じる */
.wlist a::before {
  content: ""; position: absolute; left: 0; top: 5px; bottom: 5px;
  border-left: 2px dashed transparent; transition: border-color .2s;
}
.wlist a i {
  font-family: var(--f-en);
  font-style: normal; font-size: 10.5px;
  letter-spacing: .1em; color: var(--muted);
}
.wlist a b { font-family: var(--f-display); font-size: 15px; font-weight: 700; }
.viz__photo {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.viz--pricing-photo {
  aspect-ratio: 2 / 3;
  width: min(100%, 420px);
  margin-inline: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.viz--pricing-photo .viz__photo {
  object-position: center;
}
.viz--flow-photo {
  aspect-ratio: 4 / 5;
  width: min(100%, 480px);
  margin-inline: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.viz--flow-photo .viz__photo {
  object-position: center;
}
.wlist a em {
  font-family: var(--f-en);
  font-style: normal; font-size: 12px; color: var(--muted); letter-spacing: .1em;
}
.wlist a:hover { background: rgba(255, 252, 246, .7); }
.wlist a.is-on { background: var(--white); }
.wlist a.is-on::before { border-color: var(--sc); }

.wprev {
  position: relative; border: 1px solid var(--line);
  border-radius: var(--r-sm);
  box-shadow: 0 4px 0 rgba(74, 59, 50, .12);
  aspect-ratio: 16 / 10; overflow: hidden; background: var(--white);
}
.wprev img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  opacity: 0; transform: scale(1.03);
  transition: opacity .6s var(--ease), transform 1.1s var(--ease);
}
.wprev img.is-on { opacity: 1; transform: none; }
.wprev__bar {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 9px 15px;
  background: rgba(255, 252, 246, .96);
  border: 1px solid var(--line); border-radius: var(--r-pill);
  font-family: var(--f-display);
  font-size: 14px; font-weight: 700;
}
/* iPad など指で操作する幅でも押せるよう、上下の余白で高さ 44px を確保（見た目の位置は負のマージンで戻す） */
.wprev__bar a {
  padding-block: 12px; margin-block: -12px;
  display: inline-flex; align-items: center; gap: 7px; color: var(--coral-d);
  font-family: var(--f-en); font-size: 10px; letter-spacing: .14em;
}

/* スマートフォンでは、上部の事例画像だけでも各サイトを選べるようにする。 */
.wcarousel { display: none; }
@media (max-width: 900px) {
  #works .wprev { display: none; }
  #works .sec__vis {
    width: calc(100% + 48px);
    margin-inline: -24px;
  }
  .wcarousel { display: block; min-width: 0; }
  .wcarousel__hint {
    margin: 0 24px 10px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-align: center;
  }
  .wcarousel__track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 4px 7% 15px;
    scroll-padding-inline: 7%;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
  }
  .wcarousel__track::-webkit-scrollbar { display: none; }
  .wcarousel__track:focus-visible {
    outline: 2px solid var(--sc);
    outline-offset: -2px;
  }
  .wcarousel__slide {
    position: relative;
    flex: 0 0 86%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    box-shadow: 0 4px 0 rgba(74, 59, 50, .12);
  }
  .wcarousel__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
  }
  .wcarousel__bar {
    position: absolute;
    right: 9px;
    bottom: 9px;
    left: 9px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
    padding: 9px 12px;
    color: var(--ink);
    background: rgba(255, 252, 246, .96);
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    font-family: var(--f-display);
    font-size: 13px;
    font-weight: 700;
  }
  .wcarousel__bar > span:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .wcarousel__bar > span:last-child {
    flex: none;
    color: var(--coral-d);
    font-family: var(--f-en);
    font-size: 9px;
    letter-spacing: .1em;
  }
}

/* -------------------------------------------------------- 汎用の帯 ----- */

.stat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat > div {
  background: var(--white); padding: 16px 18px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  box-shadow: 0 2px 0 rgba(74, 59, 50, .09);
}
.stat b {
  display: block; font-family: var(--f-en);
  font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 700;
  letter-spacing: -.02em; line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.stat span { font-family: var(--f-en); font-size: 10px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
@media (max-width: 520px) { .stat { grid-template-columns: 1fr; } }

/* ------------------------------------------------ About の制作体制カード ----- */

.about-title-row {
  position: relative;
}
.about-profile {
  position: absolute;
  left: calc(65% + 76px);
  top: 50%;
  width: max-content;
  margin: 0;
  transform: translateY(-50%);
  text-align: center;
}
.about-profile__portrait {
  width: clamp(76px, 6.4vw, 92px);
  aspect-ratio: 1;
  padding: 4px;
  overflow: hidden;
  border: 1px solid rgba(112, 76, 176, .22);
  border-radius: 50%;
  background: rgba(255, 252, 246, .78);
  box-shadow: 0 7px 20px rgba(91, 68, 124, .11), inset 0 0 0 2px rgba(255, 255, 255, .7);
}
.about-profile__portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.about-profile figcaption {
  margin-top: 7px;
  color: var(--ink-70);
  font-family: var(--f-display);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .about-title-row {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .about-title-row .h2 { flex: 1; min-width: 0; }
  .about-profile { position: static; flex: 0 0 auto; transform: none; }
  .about-profile__portrait { width: 76px; }
}
@media (max-width: 520px) {
  .about-title-row { display: block; }
  .about-profile { margin: 13px 0 0 auto; }
  .about-profile__portrait { width: 64px; margin-inline: auto; padding: 3px; }
  .about-profile figcaption { margin-top: 5px; font-size: 10.5px; }
}

.about-method { display: grid; gap: 11px; }
.about-method__item {
  position: relative;
  display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px;
  padding: 17px 20px 18px;
  background: rgba(255, 252, 246, .9);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  box-shadow: 0 2px 0 rgba(74, 59, 50, .08);
  overflow: hidden;
}
.about-method__item::after {
  content: ""; position: absolute; left: 7px; top: 7px; bottom: 7px;
  border-left: 1.5px dashed rgba(112, 76, 176, .34);
}
.about-method__number {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(112, 76, 176, .11); color: var(--t-grape);
  font-family: var(--f-en); font-size: 10.5px; font-weight: 700; letter-spacing: .12em;
}
.about-method__item h3 {
  margin-bottom: 5px;
  font-family: var(--f-display); font-size: 15px; font-weight: 700; line-height: 1.55;
}
.about-method__item p { color: var(--ink-70); font-size: 13.5px; line-height: 1.85; }
@media (max-width: 520px) {
  .about-method__item { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 16px 15px 17px; }
  .about-method__number { width: 36px; height: 36px; }
}

/* ------------------------------------------------- About の Human × AI ----- */

.about-bubbles {
  position: relative;
  isolation: isolate;
  width: min(100%, 560px);
  aspect-ratio: 1 / 1.04;
  margin-inline: auto;
}
.about-bubbles::before,
.about-bubbles::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(168, 139, 212, .2);
  box-shadow: inset 3px 2px 9px rgba(255, 255, 255, .72), 0 8px 24px rgba(91, 68, 124, .06);
  pointer-events: none;
}
.about-bubbles::before { width: 42px; height: 42px; left: 48%; top: 13%; }
.about-bubbles::after { width: 24px; height: 24px; right: 18%; top: 41%; }

.about-bubble {
  position: absolute;
  z-index: 2;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}
.about-bubble--human {
  width: clamp(180px, 19vw, 244px);
  left: 2%;
  top: 6%;
}
.about-bubble--ai {
  width: clamp(152px, 16vw, 205px);
  right: 2%;
  bottom: 6%;
}
.about-bubble__surface {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, .82);
  border-radius: 50%;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, .96) 0 3%, rgba(255, 255, 255, .36) 7%, transparent 17%),
    radial-gradient(circle at 70% 74%, rgba(78, 143, 208, .15), transparent 31%),
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, .12) 0 58%, rgba(168, 139, 212, .11) 78%, rgba(238, 108, 126, .19) 100%);
  box-shadow:
    inset 14px 10px 28px rgba(255, 255, 255, .68),
    inset -18px -14px 34px rgba(92, 117, 184, .12),
    0 22px 46px rgba(91, 68, 124, .13);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.about-bubble--ai .about-bubble__surface {
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, .96) 0 3%, rgba(255, 255, 255, .34) 7%, transparent 17%),
    radial-gradient(circle at 72% 72%, rgba(238, 108, 126, .13), transparent 30%),
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, .12) 0 58%, rgba(78, 143, 208, .12) 78%, rgba(168, 139, 212, .2) 100%);
}
.about-bubble__surface::before {
  content: "";
  position: absolute;
  inset: 5%;
  border-top: 2px solid rgba(255, 255, 255, .78);
  border-right: 1px solid rgba(78, 143, 208, .3);
  border-bottom: 1.5px solid rgba(238, 108, 126, .28);
  border-left: 1px solid rgba(168, 139, 212, .34);
  border-radius: 50%;
  transform: rotate(24deg);
}
.about-bubble__surface::after {
  content: "";
  position: absolute;
  width: 28%;
  height: 13%;
  left: 16%;
  top: 15%;
  border-top: 4px solid rgba(255, 255, 255, .78);
  border-radius: 50%;
  transform: rotate(-34deg);
  filter: blur(.2px);
}
.about-bubble__surface span {
  position: relative;
  z-index: 1;
  font-family: var(--f-en);
  font-size: clamp(1.2rem, 2.2vw, 1.75rem);
  /* Fraunces は 500/600/700 しか読み込んでいない。650 と書いても
     ブラウザが 700 で代用するだけなので、実際に出る値を書いておく */
  font-weight: 700;
  letter-spacing: .08em;
  color: rgba(74, 59, 50, .82);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .8);
}
.about-bubble--human .about-bubble__surface { animation: about-float-human 8.8s ease-in-out infinite; }
.about-bubble--ai .about-bubble__surface { animation: about-float-ai 9.6s ease-in-out -2.6s infinite; }

.about-bubbles__times {
  position: absolute;
  z-index: 3;
  left: 51%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
  font-family: var(--f-en);
  font-size: clamp(3.4rem, 6vw, 5.2rem);
  /* 同上。450 は 500 で代用されていた */
  font-weight: 500;
  line-height: 1;
  color: rgba(74, 59, 50, .72);
  text-shadow: 0 3px 0 rgba(255, 255, 255, .74);
  pointer-events: none;
}

@keyframes about-float-human {
  0%, 100% { transform: translate3d(0, 2px, 0) rotate(-1.5deg); }
  28% { transform: translate3d(6px, -10px, 0) rotate(.4deg); }
  58% { transform: translate3d(-4px, -17px, 0) rotate(1.2deg); }
  82% { transform: translate3d(-7px, -6px, 0) rotate(-.4deg); }
}
@keyframes about-float-ai {
  0%, 100% { transform: translate3d(0, -1px, 0) rotate(1deg); }
  25% { transform: translate3d(-6px, 9px, 0) rotate(-.3deg); }
  55% { transform: translate3d(4px, 16px, 0) rotate(-1.3deg); }
  79% { transform: translate3d(7px, 5px, 0) rotate(.5deg); }
}

@media (max-width: 900px) {
  .about-bubbles { width: min(100%, 460px); }
}
@media (max-width: 420px) {
  .about-bubble--human { left: 0; top: 4%; }
  .about-bubble--ai { right: 0; bottom: 4%; }
  .about-bubbles__times { left: 50%; font-size: 3.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .about-bubble__surface { animation: none !important; }
}

/* ============================================================== サービス == */

.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
/* 3枚は同じ高さにそろえる（stretch）。以前は start で、中身の量だけ下の辺がずれ、
   縫い目の破線の枠が段違いに見えていた。文章は上から始まるので、短いカードは下が空くだけ */
.svc--services { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
@media (max-width: 860px) { .svc { grid-template-columns: 1fr; } }
.svc__item { background: var(--white); padding: clamp(24px, 3vw, 34px); }
.svc__n {
  font-family: var(--f-en);
  font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700;
  line-height: 1; letter-spacing: -.02em;
  margin-bottom: 16px;
  padding-bottom: 12px; border-bottom: 1.5px dashed var(--stitch);
}
.svc__t { font-family: var(--f-display); font-size: 1.125rem; font-weight: 700; margin-bottom: 12px; }
.svc__d { font-size: 14.5px; line-height: 1.95; color: var(--ink-70); margin-bottom: 18px; }
.svc__d + .note__more { margin-top: 0; }
.svc__list { display: grid; gap: 8px; }
.svc__list li { font-size: 14px; line-height: 1.75; color: var(--ink-70); padding-left: 17px; position: relative; }
/* 印は玉留めの点 */
.svc__list li::before {
  content: ""; position: absolute; left: 0; top: .78em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--sc);
}

/* ================================================================ 制作事例 == */

.works-group__head {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(320px, 1.2fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(24px, 3vw, 38px);
}
.works-group__head .eyebrow { margin-bottom: 16px; }
.works-group__head .lede { max-width: 640px; justify-self: end; }

.works.works--actual {
  grid-template-columns: minmax(0, 360px);
}
.work--actual .work__shot {
  box-shadow: 0 5px 0 rgba(74, 59, 50, .14);
}
.work--actual .work__i {
  color: #27755D;
  font-weight: 700;
  font-size: 12px;
}
.work--actual .work__t {
  font-size: 1.15rem;
}
.work__note--caution {
  color: var(--muted);
  border-top: 1.5px dashed var(--stitch);
  padding-top: 9px;
}

.works-stitch-divider {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin: clamp(58px, 8vw, 98px) 0 clamp(42px, 6vw, 72px);
}
.works-stitch-divider::before,
.works-stitch-divider::after { content: ""; border-top: 1.5px dashed var(--stitch); }
.works-stitch-divider span {
  padding: 7px 15px;
  color: var(--muted);
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-family: var(--f-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .works-group__head { grid-template-columns: 1fr; gap: 16px; }
  .works-group__head .lede { justify-self: start; }
}
@media (max-width: 520px) {
  .works-stitch-divider { gap: 10px; }
  .works-stitch-divider span { padding-inline: 11px; letter-spacing: .12em; }
}

.works { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2.2vw, 30px); }
.works--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .works, .works--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .works, .works--3 { grid-template-columns: 1fr; } }

.work { display: block; position: relative; }
.work__shot {
  display: block; position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  box-shadow: 0 4px 0 rgba(74, 59, 50, .12);
  aspect-ratio: 16 / 10; background: var(--white);
}
.work__shot img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform 1.1s var(--ease);
}
.work:hover .work__shot img { transform: scale(1.04); }
.work__shot::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(74, 59, 50, .48), transparent 52%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.work:hover .work__shot::after { opacity: 1; }
.work__view {
  position: absolute; right: 10px; bottom: 10px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--ink);
  border-radius: var(--r-pill);
  padding: 8px 14px;
  font-family: var(--f-en); font-size: 10px; letter-spacing: .14em;
  transform: translateY(10px); opacity: 0;
  transition: transform .38s var(--ease), opacity .3s var(--ease);
}
.work:hover .work__view { transform: none; opacity: 1; }

.work__meta { display: flex; align-items: baseline; gap: 12px; padding-top: 16px; }
.work__i { font-family: var(--f-en); font-size: 10.5px; letter-spacing: .16em; flex: none; }
.work__t { font-family: var(--f-display); font-size: 1.0625rem; font-weight: 700; line-height: 1.5; }
.work__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.work__tags span {
  font-size: 12px; color: var(--ink-70);
  background: var(--cream-2); border-radius: var(--r-pill); padding: 4px 11px;
}
/* span だが1行ずつの段落として置く。行の中の扱いのままだと上の余白が効かず、
   水墨画家のように説明が3つあるカードで、3文が1つの段落につながっていた */
.work__note { display: block; font-size: 14px; color: var(--ink-70); margin-top: 10px; line-height: 1.85; }

.work__demo-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  padding: 5px 10px;
  color: #27755D;
  background: #E4F3EC;
  border: 1px solid #B9DCCF;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}
.work__demo-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--t-mint);
}
.work__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.work--with-demo .work__actions { display: grid; }
.work__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--ink);
  font-family: var(--f-display);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.45;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.work__actions a:hover { color: #27755D; border-color: var(--t-mint); background: #F2FAF6; }

/* ================================================ WordPress更新デモ == */

.wpdemo-lead {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(320px, 1.18fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}
.wpdemo-lead__copy { max-width: 660px; justify-self: end; }
.wpdemo-lead__copy p + p { margin-top: 12px; }
.wpdemo-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-bottom: 14px;
  padding: 6px 12px;
  color: #27755D;
  background: #E4F3EC;
  border: 1px solid #B9DCCF;
  border-radius: var(--r-pill);
  font-size: 12.5px;
  font-weight: 700;
}
.wpdemo-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--t-mint); }
.wpdemo-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: clamp(30px, 4vw, 48px);
}
.wpdemo-summary li {
  min-width: 0;
  padding: 16px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  box-shadow: var(--lift-sm);
}
.wpdemo-summary i {
  display: block;
  margin-bottom: 4px;
  color: var(--t-mint);
  font-family: var(--f-en);
  font-size: 10.5px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .12em;
}
.wpdemo-summary b { font-size: 14.5px; line-height: 1.65; }
.wpdemo-steps { display: grid; gap: clamp(48px, 7vw, 86px); }
.wpdemo-step {
  display: grid;
  grid-template-columns: minmax(230px, .62fr) minmax(0, 1.38fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.wpdemo-step__head { position: sticky; top: 36px; }
.wpdemo-step__number {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: #27755D;
  font-family: var(--f-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.wpdemo-step__number::after { content: ""; width: 44px; border-top: 1.5px dashed var(--t-mint); }
.wpdemo-step__head h2 { margin-bottom: 13px; }
.wpdemo-step__head p { color: var(--ink-70); font-size: 15px; line-height: 2; }
.wpdemo-frame {
  position: relative;
  margin: 0;
  padding: clamp(9px, 1vw, 13px);
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  box-shadow: 0 4px 0 rgba(74, 59, 50, .11);
}
.wpdemo-frame::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1.5px dashed #D8C6A9;
  border-radius: 2px;
  pointer-events: none;
}
.wpdemo-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  border-radius: 2px;
}
.wpdemo-frame figcaption {
  position: relative;
  z-index: 1;
  padding: 12px 5px 3px;
  color: var(--ink-70);
  font-size: 15px;
  line-height: 1.8;
}
.wpdemo-lead__copy .small,
.wpdemo-editor-pair > .small { font-size: 15px; }
.wpdemo-editor-pair { display: grid; gap: 18px; }
.wpdemo-frame__label {
  position: absolute;
  z-index: 2;
  top: 23px;
  left: 23px;
  padding: 6px 11px;
  color: var(--white);
  background: rgba(74, 59, 50, .9);
  border-radius: var(--r-pill);
  font-family: var(--f-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.wpdemo-result {
  padding: clamp(24px, 4vw, 42px);
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 8px solid var(--t-mint);
  box-shadow: var(--lift-sm);
}
.wpdemo-result h2 { margin-bottom: 12px; }
.wpdemo-result p { color: var(--ink-70); font-size: 15px; line-height: 2; }
.wpdemo-result ul { display: grid; gap: 9px; margin-top: 18px; }
.wpdemo-result li { position: relative; padding-left: 20px; font-size: 14.5px; line-height: 1.85; }
.wpdemo-result li::before { content: ""; position: absolute; left: 0; top: .72em; width: 9px; border-top: 2px solid var(--t-mint); }

@media (max-width: 900px) {
  .wpdemo-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wpdemo-step { grid-template-columns: 1fr; }
  .wpdemo-step__head { position: static; }
}
@media (max-width: 700px) {
  .wpdemo-lead { grid-template-columns: 1fr; gap: 18px; }
  .wpdemo-lead__copy { justify-self: start; }
}
@media (max-width: 520px) {
  .wpdemo-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wpdemo-frame__label { top: 18px; left: 18px; }
  .work__actions { display: grid; }
}

/* ================================================================== 料金 == */

/* minmax(0, 1fr) で3枚を必ず同じ幅にする。1fr だと中身の最小幅で列が広がり、
   金額が2桁に数え上がったあと、幅 1081〜1111px で3枚目が段の右端から 20〜30px はみ出していた */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
/* 料金ページの3枚も、型番・名前・説明・金額・一覧・期間の6段を3枚で共有する（ロゴ制作のカードと同じ作り）。
   説明文の行数が1枚だけ違うと、その1枚だけ金額の枠が1段下がっていた。subgrid 非対応のブラウザは従来の積み方 */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 901px) {
    .plans:not(.plans--col):not(.logo-plans) .plan { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; }
    .plans:not(.plans--col):not(.logo-plans) :is(.plan__k, .plan__t, .plan__for, .plan__list) { align-self: start; }
    .plans:not(.plans--col):not(.logo-plans) .plan__term { margin-top: 0; align-self: end; justify-self: stretch; }
  }
}
/* 左に目次が出た直後の 1081〜1160px はカードが 227〜252px しかなく、「制作期間の目安 8〜12週間」の札が
   2行に折れ、「（税別）」も金額の枠から数 px はみ出していた。その幅だけ左右の余白を詰める */
@media (min-width: 1081px) and (max-width: 1160px) {
  .plans:not(.plans--col) .plan { padding-inline: 18px; }
  .plans:not(.plans--col) .plan__price { padding-inline: 12px; }
  .plans:not(.plans--col) .plan__term { padding-inline: 10px; letter-spacing: 0; }
}
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

.plan { background: var(--white); padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; position: relative; }
.plan__k {
  font-family: var(--f-en);
  font-size: 11px; font-weight: 600; letter-spacing: .16em;
  margin-bottom: 10px; text-transform: uppercase;
}
.plan__t { font-family: var(--f-display); font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.plan__for { font-size: 14px; color: var(--ink-70); line-height: 1.85; margin-bottom: 22px; min-height: 3.7em; }

/* 値段は品質表示タグの上に置く。まち針で留めてある */
.plan__price {
  position: relative;
  display: flex; align-items: baseline; gap: 6px;
  margin: 0 0 18px; padding: 13px 16px;
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--r-sm);
}
.plan__price::before {
  content: ""; position: absolute; inset: 5px;
  border: 1.5px dashed #E0D0B6; border-radius: 2px; pointer-events: none;
}
.plan__price b {
  position: relative;
  font-family: var(--f-en);
  font-size: clamp(2rem, 3.6vw, 2.7rem); font-weight: 700;
  line-height: 1.05; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.plan__price i { position: relative; font-style: normal; font-family: var(--f-display); font-size: 1rem; font-weight: 700; }
.plan__price s { position: relative; text-decoration: none; font-size: 13.5px; color: var(--muted); margin-left: 2px; }
.plan__list { display: grid; gap: 10px; margin-bottom: 22px; flex: 1; }
.plan__list li { font-size: 14px; color: var(--ink-70); padding-left: 18px; position: relative; line-height: 1.8; }
/* 印は running stitch の一針 */
.plan__list li::before {
  content: ""; position: absolute; left: 0; top: .68em;
  width: 10px; border-top: 1.5px dashed var(--sc);
}
.plan__term {
  font-family: var(--f-display);
  font-size: 12.5px; font-weight: 700; letter-spacing: .02em;
  border: 1px solid currentColor; border-radius: var(--r-pill);
  padding: 5px 13px; justify-self: start;
}

/* オプション表 */
/* ロゴの料金カード。円単位の数字と税込表示を狭い幅でも収める。 */
.logo-page .sec__in--one,
.section[aria-labelledby="logo-option-h"] .sec__in--one { grid-template-columns: minmax(0, 1fr); }
.logo-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.logo-plans .plan { min-width: 0; }
.logo-plans .plan__price { flex-wrap: wrap; }
.logo-plans .plan__price b { font-size: clamp(1.8rem, 2.8vw, 2.2rem); }
.logo-plans .plan__list { flex: initial; }
.logo-plans .plan__term { margin-top: auto; }
@media (max-width: 1200px) {
  .logo-plans { grid-template-columns: 1fr; }
}
/* 3枚が横に並ぶ幅では、型番・見出し・説明・価格・一覧・期間の6段を3枚で共有する。
   以前はカードごとに上から積んでいたため、見出しや説明の行数が1行違うだけで
   価格の位置が段違いになっていた。subgrid に対応しないブラウザは従来の積み方のまま */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 1201px) {
    .logo-plans .plan { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; }
    .logo-plans .plan__t { align-self: start; }
    /* 一覧の段は5項目のカードに合わせて高くなる。引き伸ばすと項目の間隔が開くので上詰めにする */
    .logo-plans .plan__for, .logo-plans .plan__list { align-self: start; }
    .logo-plans .plan__term { margin-top: 0; align-self: end; justify-self: stretch; }
  }
}

.opts { border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; background: var(--white); }
.opts tr { border-bottom: 1.5px dashed var(--stitch); }
.opts tr:last-child { border-bottom: 0; }
.opts th, .opts td { padding: 13px clamp(14px, 2vw, 22px); text-align: left; font-size: 14.5px; line-height: 1.65; }
.opts th { font-family: var(--f-display); font-weight: 700; width: 55%; }
/* 項目名に添える但し書き。どのプランで追加になるのかを示す。
   太字の項目名と混ざらないよう、細く小さくして色を落とす。
   色は --muted（4.5:1 を満たす濃さ）を使う */
.opts__note {
  display: block; margin-top: 3px;
  font-family: var(--f-sans); font-size: 12.5px; font-weight: 400;
  line-height: 1.6; color: var(--muted);
}
.opts td { text-align: right; font-family: var(--f-en); font-size: 14px; font-weight: 700; white-space: nowrap; }
.opts td.opts__text { text-align: left; font-family: var(--f-sans); font-weight: 400; white-space: normal; }
@media (max-width: 640px) {
  .opts { width: 100%; table-layout: fixed; }
  /* 38% だと 124px しかなく、「お問い合わせフォーム」が3行になっていた。
     料金表は右列が金額だけで短いので、見出し側に幅を寄せる */
  .opts th { width: 58%; }
  /* ただし About の概要表は右列に文章が入る。ここで見出しを広げると
     今度は右の文章が「ホームページ制 / 作、」と割れるので、元の比率に戻す */
  .opts:has(.opts__text) th { width: 38%; }
  .opts td { white-space: normal; overflow-wrap: anywhere; }
}

/* ================================================================== 流れ == */

.flow { position: relative; display: grid; gap: 12px; }

.step { background: var(--white); padding: clamp(18px, 2.2vw, 26px); position: relative; }
.step__n {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 23px;
  background: var(--sc); color: #fff;
  border-radius: var(--r-pill);
  font-family: var(--f-en);
  font-size: 10.5px; font-weight: 700; letter-spacing: .1em;
  margin-bottom: 14px;
}
.step__t { font-family: var(--f-display); font-size: 15px; font-weight: 700; line-height: 1.6; margin-bottom: 8px; }
.step__d { font-size: 14px; color: var(--ink-70); line-height: 1.85; }
.step__d small { font-size: 13.5px; }   /* 費用の注記を小さく見せない。README の注記の段 */

.flow--col { grid-template-columns: 1fr; }
.flow--col .step { display: grid; grid-template-columns: 92px minmax(0, 260px) minmax(0, 1fr); gap: clamp(16px, 3vw, 40px); align-items: start; padding: clamp(22px, 3vw, 30px) clamp(20px, 3vw, 32px); }
.flow--col .step__n { margin: 0; }
.flow--col .step__t { margin: 0; font-size: 1.2rem; }
@media (max-width: 800px) { .flow--col .step { grid-template-columns: 1fr; gap: 10px; } }

/* ============================================================ 制作体制帯 == */

.pipe { display: grid; grid-template-columns: repeat(2, 1fr) auto; gap: 12px; }
@media (max-width: 760px) { .pipe { grid-template-columns: 1fr; } }
.pipe__cell { background: var(--white); padding: clamp(20px, 2.6vw, 30px); }
/* 仕上がりだけ革のパッチにする */
.pipe__cell--out {
  background: linear-gradient(168deg, var(--leather-l), var(--leather) 52%, #B0764A) !important;
  border-color: #A8703F !important; color: #FFF8ED;
  display: grid; align-content: center; min-width: 200px;
  position: relative;
}
.pipe__cell--out::after {
  content: ""; position: absolute; inset: 7px;
  border: 1.5px dashed rgba(255, 248, 235, .6); border-radius: 2px; pointer-events: none;
}
.pipe__k { font-family: var(--f-en); font-size: 10px; font-weight: 600; letter-spacing: .16em; margin-bottom: 12px; text-transform: uppercase; }
.pipe__cell--out .pipe__k { color: #FFE7C9 !important; }
.pipe__t { font-family: var(--f-display); font-size: 1.125rem; font-weight: 700; margin-bottom: 8px; }
.pipe__d { font-size: 14px; line-height: 1.9; color: var(--ink-70); }
.pipe__cell--out .pipe__d { color: rgba(255, 248, 235, .84); }

/* ================================================================= FAQ === */

.faq { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1.5px dashed var(--stitch); }
.faq__item { background: transparent; border: 0; border-bottom: 1.5px dashed var(--stitch); }
/* 質問は <h2>（よくある質問ページ）/ <h3>（トップ）で包んである。
   読み上げソフトの「見出しを順に飛ばす」操作で質問を拾えるようにするため
   （包む前は button としか伝わらず、13問を頭から順に聞くしかなかった。2026-09-20）。
   見た目は今までどおりボタンだけに見せたいので、見出しそのものの字は親から受け継ぐ */
.faq__h { margin: 0; font: inherit; }

.faq__q {
  width: 100%; background: none; border: 0; cursor: pointer;
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px clamp(16px, 2vw, 24px); text-align: left;
  font-family: var(--f-display);
  font-size: 15.5px; font-weight: 700; line-height: 1.7; color: var(--ink);
  transition: color .2s, background .2s;
}
.faq__q:hover { background: rgba(255, 252, 246, .7); }
.faq__q i {
  flex: none; font-family: var(--f-en); font-style: normal;
  font-size: 11px; font-weight: 600; letter-spacing: .1em; padding-top: .5em;
}
.faq__q b { flex: 1; min-width: 0; overflow-wrap: anywhere; font-weight: 700; }
/* ＋印はボタン直下の span だけ。質問文の中の改行位置用 <span class="nb"> に＋の線が付かないよう > で限定する */
.faq__q > span { flex: none; width: 14px; height: 14px; position: relative; margin-top: .5em; }
.faq__q > span::before, .faq__q > span::after {
  content: ""; position: absolute; inset: 50% 0 auto; height: 1.5px;
  transition: transform .38s var(--ease);
}
.faq__q > span::after { transform: rotate(90deg); }
.faq__q[aria-expanded="true"] > span::after { transform: rotate(0); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
/* 閉じている回答は visibility:hidden にして、中のリンクに Tab で入れないようにする
   （以前は高さ0の見えないリンクにフォーカスが移っていた）。閉じるときは縮み終わってから隠す */
.faq__a > div { overflow: hidden; visibility: hidden; transition: visibility 0s .45s; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__item.is-open .faq__a > div { visibility: visible; transition: visibility 0s; }
/* JS が動かない環境では開閉できないので、最初から全部開いておく */
.no-js .faq__a { grid-template-rows: 1fr; }
.no-js .faq__a > div { visibility: visible; }
.no-js .faq__q > span { display: none; }

/* JavaScript 自体は有効でも、共通の site.js だけ届かなかった場合の逃げ道。
   base.css の本文救済と同じ2.5秒後に、回答をすべて開いて内容だけは読めるようにする。 */
html:not(.no-js):not(.kww-faq-ready) .faq__a {
  animation: kww-faq-failsafe-rows 0s 2.5s forwards;
}
html:not(.no-js):not(.kww-faq-ready) .faq__a > div {
  animation: kww-faq-failsafe-visible 0s 2.5s forwards;
}
html:not(.no-js):not(.kww-faq-ready) .faq__q > span {
  animation: kww-faq-failsafe-mark 0s 2.5s forwards;
}
@keyframes kww-faq-failsafe-rows { to { grid-template-rows: 1fr; } }
@keyframes kww-faq-failsafe-visible { to { visibility: visible; } }
@keyframes kww-faq-failsafe-mark { to { visibility: hidden; } }
.faq__a p { font-size: 15px; line-height: 2; color: var(--ink-70); padding: 0 clamp(16px, 2vw, 24px) 24px 42px; }
@media (max-width: 600px) { .faq__a p { padding-left: 20px; } }
/* 布タグのリンク（.tlink）は文の途中に置かない。高さ 44px の札なので、行の中に入ると
   前後の文字とずれて浮いて見える（2026-09-15 にサービス内容・FAQ・制作の流れで起きていた）。
   文を言い切ってから、下に別の段落（.note__more）で置く */
.faq__a p:has(+ .note__more) { padding-bottom: 0; }
.faq__a .note__more { margin-top: 14px; }

/* ============================================================== マーキー == */

/* リボン。ピンキングばさみで上下を裁ち切る */
.marquee {
  overflow: hidden; padding-block: 0;
  background: var(--marigold);
  --z: 18px; --zh: 9px;
  /* 90%などのブラウザズームで、上下のギザギザに薄い線が浮くという報告あり。
     繰り返しパターンを含む図形を割り切れない倍率で縮小表示すると起きる
     モアレが疑わしい。サイトのコード側は調べたが継ぎ目の不具合は見つからず、
     100%表示やヘッドレスブラウザでは現象そのものを再現できなかった。
     歯（18px×9px）を大きくすれば変わる可能性はあるが未検証・見た目も変わる
     ため、指示により歯のサイズは変えずそのまま維持している。 */
  -webkit-mask:
    linear-gradient(#000 0 0) center/100% calc(100% - var(--zh)*2) no-repeat,
    repeating-conic-gradient(from -45deg at bottom, #000 0% 25%, transparent 0% 50%)
      bottom/var(--z) var(--zh) repeat-x,
    repeating-conic-gradient(from 135deg at top, #000 0% 25%, transparent 0% 50%)
      top/var(--z) var(--zh) repeat-x;
  mask:
    linear-gradient(#000 0 0) center/100% calc(100% - var(--zh)*2) no-repeat,
    repeating-conic-gradient(from -45deg at bottom, #000 0% 25%, transparent 0% 50%)
      bottom/var(--z) var(--zh) repeat-x,
    repeating-conic-gradient(from 135deg at top, #000 0% 25%, transparent 0% 50%)
      top/var(--z) var(--zh) repeat-x;
}
.marquee__row { display: flex; width: max-content; animation: marq 34s linear infinite; padding-block: 15px; }
.marquee:hover .marquee__row { animation-play-state: paused; }
/* 中身は4セット複製してある（1セットぶんだけ動かして-25%）。
   2セットだと、画面が広いとき複製の合計幅が表示幅に足りず、
   一巡のつなぎ目で一瞬空白ができ、そのあと文字列がまとめて
   現れて見えていた（KAZUMA WEB WORKS に限らずどの文字列でも起きうる）。
   4セットにして、1セットぶんの移動距離・速度（34秒）はそのまま保った。 */
@keyframes marq { to { transform: translate3d(-25%, 0, 0); } }
.marquee__row span {
  font-family: var(--f-display);
  font-size: clamp(.85rem, 1.6vw, 1.1rem); font-weight: 700;
  /* マリーゴールド地で 4.5:1 を満たす濃さ。#5C4126 では 4.45:1 で僅かに足りなかった */
  letter-spacing: .14em; color: #573D22;
  padding-inline: clamp(14px, 2vw, 26px);
  display: flex; align-items: center; gap: clamp(14px, 2vw, 26px);
  white-space: nowrap;
}
.marquee__row span::after {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: rgba(92, 65, 38, .36);
}

/* ---------------------------------------------- ロゴの一部としての社名 --
   開幕演出の中の社名と同じ字形にそろえる。
   Fraunces は光学サイズ軸を持ち、既定では文字サイズに応じて字形が変わる。
   ロゴのアウトラインは opsz 14 で起こしてあるので、ここも 14 に固定する
   （実測：opsz 14 のとき字幅がアウトライン版と誤差 0.00% で一致。
     9 なら +0.3%、20 で -0.4%、144 では -10% ずれる）。
   字間もロゴと同じ比率にそろえる。
   色はここでは決めない。置く場所の地に合わせて各所で指定する。 */
.wordmark, span.wordmark {
  font-family: var(--f-en);
  font-weight: 600;
  font-optical-sizing: none;
  font-variation-settings: "opsz" 14, "wght" 600;
  letter-spacing: .168em;
  text-transform: uppercase;
}
/* 字間は最後の1字のうしろにも入る。中央ぞろえのときは半分だけ戻す */
.wordmark--center { text-indent: .084em; }

/* ================================================================== CTA === */

.cta { background: transparent; color: #FFF8ED; position: relative; }
/* 革のパッチ。ふちをステッチで縫い止める */
.cta__panel {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, #D6A472 0%, var(--leather) 46%, #9A6538 100%);
  border-radius: var(--r-md);
  box-shadow: 0 5px 0 rgba(74, 59, 50, .2);
  padding: clamp(38px, 4.4vw, 62px) clamp(26px, 3.4vw, 56px);
}
.cta__panel::before {
  content: ""; position: absolute; inset: 12px;
  border: 2px dashed rgba(255, 248, 235, .55); border-radius: 3px; pointer-events: none;
}
.cta__in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(28px, 4vw, 64px); align-items: end; }
@media (max-width: 860px) { .cta__in { grid-template-columns: 1fr; align-items: start; } }
.cta h2 { color: #FFF8ED; }
.cta p { color: rgba(255, 248, 235, .82); max-width: 40em; }

/* 制作事例ページの読後CTAは、一覧の余韻を妨げない横長の帯にする */
.cta--compact { padding-block: clamp(26px, 3vw, 42px); }
.cta--compact .cta__panel {
  padding: clamp(24px, 2.5vw, 34px) clamp(24px, 3.4vw, 48px);
}
.cta--compact .cta__in { align-items: center; }
.cta--compact .eyebrow--light::before { background: var(--t-mint); }
.cta--compact .cta__panel::after { content: none; }
.cta--compact .eyebrow { margin-bottom: 12px; }
.cta--compact h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  line-height: 1.55;
}

/* =============================================================== フッタ === */

/* 作業机の天板。濃い木の色 */
.ftr {
  background: var(--wood); color: rgba(255, 248, 235, .74);
  padding-block: clamp(44px, 6vw, 68px) 22px;
  border-top: 1.5px dashed var(--stitch);
}
.ftr__top { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); padding-bottom: 36px; border-bottom: 1.5px dashed rgba(255, 248, 235, .24); }
@media (max-width: 780px) { .ftr__top { grid-template-columns: 1fr 1fr; } .ftr__brand { grid-column: 1 / -1; } }
.ftr__brand img { height: 34px; width: auto; margin-bottom: 18px; }
.ftr__brand p { font-size: 14px; line-height: 1.9; }
/* フッターの見出しはページ全体に対する区切りなので h2。
   h3 だと本文に h2 が無い 404 などで見出しが1段飛ぶ */
.ftr h2 {
  font-family: var(--f-en);
  font-size: 10px; font-weight: 600; letter-spacing: .2em;
  color: var(--marigold); margin-bottom: 16px; text-transform: uppercase;
}
.ftr__nav { display: grid; gap: 10px; }
/* 指で押す所は、見た目の文字の高さではなく触れる範囲で決める。
   文字だけだと 157×29px しかなく、隣の項目と押し間違えやすかった。
   上下の余白で高さを稼ぎ、負のマージンで見た目の間隔は変えていない。 */
.ftr__nav a {
  display: inline-block;
  padding-block: 8px;
  margin-block: -8px;
  font-size: 14.5px;
  transition: color .2s;
}
.ftr__nav a:hover { color: var(--marigold); }
.ftr__btm { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; padding-top: 20px; }
/* 文字色の濃さは .62 以上にする。.48 だと木の地に対して 3.68:1 しかなかった（.62 で 5.02:1） */
.ftr__btm p, .ftr__btm a { font-family: var(--f-en); font-size: 10px; font-weight: 500; letter-spacing: .12em; color: rgba(255, 248, 235, .62); }
.ftr__btm a:hover { color: var(--marigold); }
.ftr__btm p:last-child { font-size: 12px; }   /* 標語「想いをカタチに、魅力をWebに。」 */

/* ============================================================= 下層共通 === */

.phero {
  padding-top: clamp(40px, 5vw, 76px);
  padding-bottom: clamp(36px, 4.5vw, 60px);
  border-bottom: 1.5px dashed var(--stitch);
  position: relative; overflow: hidden;
}
.phero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: clamp(20px, 4vw, 60px); align-items: end; }
@media (max-width: 860px) { .phero__grid { grid-template-columns: 1fr; } }
.phero h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 900; line-height: 1.42; letter-spacing: -.004em; }
/* 3.6vw だと左に目次が出る 1081〜1180px で欄から 5〜28px はみ出していた */
.phero h1.phero__title--privacy { font-size: clamp(1.75rem, 3.3vw, 2.6rem); }
/* 「プライバシーポリシー」は1行で見せたいが、幅 352px 未満（や文字を大きくしたとき）は
   1行に収まらず、右端で文字が切れていた（2026-09-19 に確認）。その場合だけ2行にする */
@media (min-width: 22em) {
  .phero h1.phero__title--privacy { white-space: nowrap; }
}
.phero p { color: var(--ink-70); font-size: 15px; line-height: 2; }
.phero__copy { font-size: 14.5px; letter-spacing: -.01em; }
.phero--glossary .phero__grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.phero--glossary h1 { max-width: 18em; }
.phero--glossary p { max-width: 760px; }

.crumb {
  display: flex; gap: 10px; align-items: center; margin-bottom: 22px;
  /* パンくずのリンクも同じ理由で触れる範囲を広げる */
  font-family: var(--f-en);
  font-size: 12px; font-weight: 600; letter-spacing: .14em;
  color: var(--muted); text-transform: uppercase;
}
.crumb a { display: inline-block; padding-block: 10px; margin-block: -10px; }
.crumb a:hover { color: var(--coral-d); }

/* 注意書き。左辺に糸を通したメモ */
.note {
  position: relative;
  border: 1px solid var(--line); border-left: 0;
  border-radius: var(--r-sm);
  padding: clamp(20px, 2.6vw, 28px) clamp(20px, 2.6vw, 28px) clamp(20px, 2.6vw, 28px) clamp(28px, 3vw, 38px);
  background: var(--white);
}
.note::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px;
  background: var(--sage);
}
.note h3 { font-family: var(--f-display); font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.note > p { font-size: 14px; line-height: 1.9; color: var(--ink-70); }
.note__more { margin-top: 18px; }
.note ul { display: grid; gap: 9px; }
.note li { font-size: 14px; line-height: 1.9; color: var(--ink-70); padding-left: 16px; position: relative; }
.note li::before { content: ""; position: absolute; left: 0; top: .78em; width: 8px; border-top: 1.5px dashed var(--muted); }
.note--warn::before { background: var(--coral); }

/* 対応できる / できない の2枚 */
.scope { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 760px) { .scope { grid-template-columns: 1fr; } }
.scope__col { background: var(--white); padding: clamp(22px, 3vw, 32px); }
.scope__col--no { background: var(--cream-2); }
.scope h3 { font-family: var(--f-display); display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; margin-bottom: 20px; }
.scope h3::before { content: ""; width: 11px; height: 11px; flex: none; border-radius: 50%; background: var(--sc); }
.scope__col--no h3::before { background: var(--muted-2) !important; }
.scope ul { display: grid; gap: 12px; }
.scope li { font-size: 14.5px; line-height: 1.85; color: var(--ink-70); padding-left: 18px; position: relative; }
.scope li::before { content: ""; position: absolute; left: 0; top: .68em; width: 10px; border-top: 1.5px dashed var(--sc); }
.scope__col--no li::before { border-color: var(--muted-2) !important; }

/* 2カラムの読み物 */
.prose { max-width: 46em; }
.prose h2 { font-family: var(--f-display); font-size: 1.25rem; font-weight: 700; margin: 42px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 15px; line-height: 2; color: var(--ink-70); margin-bottom: 16px; }
.prose__meta { font-size: 14px !important; line-height: 1.9; color: var(--ink-70) !important; }
.prose a { color: var(--coral-d); text-decoration: underline; text-underline-offset: 3px; padding-block: 11px; }

/* ================================================================ フォーム == */

.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field__l { display: flex; align-items: center; gap: 9px; font-family: var(--f-display); font-size: 14px; font-weight: 700; }
.field__l em {
  font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .04em;
  /* 白文字をコーラル(#EE6C7E)に置くと 2.97:1 しかない。濃いコーラルで 5.22:1 */
  padding: 3px 10px; border-radius: var(--r-pill); background: var(--coral-d); color: #fff;
}
.field__l em.opt { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px;
  border: 1px solid var(--line); background: var(--white);
  border-radius: var(--r-sm);
  /* 16px 未満にしない。iPhone の Safari は 16px 未満の入力欄に触れると画面を拡大し、戻らなくなる */
  font-size: 16px; line-height: 1.7;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 168px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(238, 108, 126, .16);
}
.field__h { font-size: 12.5px; line-height: 1.8; color: var(--ink-70); }
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-70) 50%),
                    linear-gradient(135deg, var(--ink-70) 50%, transparent 50%);
  background-position: right 18px center, right 12px center;
  background-size: 6px 6px; background-repeat: no-repeat;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 700px) { .grid-2 { grid-template-columns: 1fr; } }
/* 画面幅ではなくフォーム自体の幅で決める。左に目次が出る 1081〜1180px ではフォーム欄が
   330px ほどしかなく、2列にすると1欄 138px で「メールアドレ／ス」「任／意」と割れていた */
.form { container-type: inline-size; }
@container (max-width: 460px) { .form .grid-2 { grid-template-columns: 1fr; } }

/* 1行に収まる幅だと高さが 25px しかなく、チェックを入れにくかった。押せる範囲を 44px 確保する */
.consent { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; font-size: 14px; line-height: 1.8; }
.consent input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--coral); }
.consent a { color: var(--coral-d); text-decoration: underline; text-underline-offset: 3px; padding-block: 12px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__msg {
  padding: 18px 22px; border: 1px solid var(--line); border-left: 0;
  border-radius: var(--r-sm); background: var(--white);
  font-size: 14.5px; line-height: 1.9; position: relative; padding-left: 30px;
}
.form__msg::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; }
.form__msg[data-t="ok"]::before { background: var(--sage); }
.form__msg[data-t="ng"]::before { background: var(--coral); }
.form__msg[data-t="ng"] { margin-bottom: 24px; }   /* 失敗時はすぐ下にフォームが続くので、「お名前」と詰まらないように */

.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }
.aside-card {
  position: relative;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white);
  padding: clamp(20px, 2.6vw, 28px);
  box-shadow: 0 3px 0 rgba(74, 59, 50, .1);
}
.aside-card + .aside-card { margin-top: 12px; }
.aside-card h2 { font-family: var(--f-display); font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.aside-card p { font-size: 14px; line-height: 1.95; color: var(--ink-70); }
.aside-card dl { display: grid; gap: 14px; }
.aside-card dt { font-family: var(--f-en); font-size: 10px; font-weight: 600; letter-spacing: .16em; margin-bottom: 4px; text-transform: uppercase; }
.aside-card dd { font-size: 14px; line-height: 1.85; color: var(--ink-70); }
.mt-40 { margin-top: clamp(28px, 3.5vw, 48px); }
.mt-24 { margin-top: 24px; }
.mt-16 { margin-top: 16px; }   /* HTML で使っていたのに指定が無く、余白が付いていなかった */
.bg-paper, .bg-ice { border-radius: var(--r-sm); border: 1.5px dashed var(--stitch); }
.bg-paper { background: var(--cream-2); }

/* 本文カラムの帯（マーキー・CTA・フッタ）は幅いっぱいに使う */
.band { padding-inline: clamp(24px, 3.4vw, 56px); max-width: 1360px; margin-inline: auto; }
.cta__in { max-width: 100%; padding-inline: 0; margin-inline: auto; }
.cta .band, .cta__panel { max-width: 1360px; margin-inline: auto; }
.cta { padding-inline: clamp(24px, 3.4vw, 56px); }
.cta--one .cta__panel { max-width: 1080px; }
.cta--one .eyebrow--light::before { background: var(--t-mint); }
.cta--one .cta__panel::after { content: none; }
.ftr .wrap { max-width: 1360px; padding-inline: clamp(24px, 3.4vw, 56px); margin-inline: auto; }

/* ------------------------------------------- 本文カラム内の縦積み版 ----- */

.col { min-width: 0; }

.svc--col { grid-template-columns: 1fr; gap: 0; border-top: 1.5px dashed var(--stitch); }
.svc--col .svc__item {
  display: grid; grid-template-columns: 46px minmax(0, 1fr);
  column-gap: 18px; row-gap: 5px; align-items: baseline;
  padding: 17px clamp(16px, 2vw, 24px);
  background: transparent;
  border: 0; border-bottom: 1.5px dashed var(--stitch); box-shadow: none;
}
.svc--col .svc__n {
  grid-column: 1; grid-row: 1 / 3; margin: 0; padding: 0; border: 0;
  font-size: 1.3rem;
}
.svc--col .svc__t { grid-column: 2; grid-row: 1; margin: 0; font-size: 1.125rem; }
.svc--col .svc__d { grid-column: 2; grid-row: 2; margin: 0; }

.plans--col { grid-template-columns: 1fr; gap: 0; border-top: 1.5px dashed var(--stitch); }
.plans--col .plan {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px clamp(16px, 2vw, 30px); align-items: center;
  padding: 16px clamp(16px, 2vw, 24px);
  background: transparent;
  border: 0; border-bottom: 1.5px dashed var(--stitch); box-shadow: none;
}
.plans--col .plan__k { margin: 0; grid-column: 1; }
.plans--col .plan__t { margin: 0; grid-column: 1; grid-row: 2; font-size: 1.125rem; }
/* 一覧ではタグをやめ、数字だけを大きく置く */
.plans--col .plan__price {
  margin: 0; padding: 0; border: 0; background: none;
  grid-column: 2; grid-row: 1 / 3;
}
.plans--col .plan__price::before { display: none; }
.plans--col .plan__price b { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.plans--col .plan__term { margin: 0; grid-column: 3; grid-row: 1 / 3; white-space: nowrap; }
/* プラン名と型番は折り返さない。1080〜1439px では本文カラムが 340〜480px しかなく、
   名前・金額・期間を1行に並べると名前の列が潰れて「スタ／ンダ／ード」と3行に割れていた。
   その幅に限り、制作期間を金額の下へ回して2列にする。
   901〜1080px も目次は上に畳まれるが、段が2列のままなので同じく狭い（1枚 410px 前後） */
.plans--col .plan__k, .plans--col .plan__t { white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1439px) {
  .plans--col .plan { grid-template-columns: minmax(max-content, 1fr) auto; }
  .plans--col .plan__price { grid-column: 2; grid-row: 1; justify-self: end; white-space: nowrap; }
  .plans--col .plan__term { grid-column: 2; grid-row: 2; justify-self: end; }
}
/* 左に目次が出た直後の 1081〜1120px は、この2列でも 2〜11px 足りず段からはみ出していた。
   その幅だけ、名前と金額の間と左右の余白を詰める */
@media (min-width: 1081px) and (max-width: 1120px) {
  .plans--col .plan { column-gap: 10px; padding-inline: 12px; }
}
@media (max-width: 560px) {
  .plans--col .plan { grid-template-columns: 1fr; }
  .plans--col .plan__price, .plans--col .plan__term { grid-column: 1; grid-row: auto; }
}

/* 6ステップの一覧 */
.steps { border-top: 1.5px dashed var(--stitch); }
.steps li {
  display: grid; grid-template-columns: 34px minmax(0, 168px) minmax(0, 1fr);
  gap: 6px 16px; align-items: baseline;
  padding: 13px 0; border-bottom: 1.5px dashed var(--stitch);
}
.steps i { font-family: var(--f-en); font-style: normal; font-size: 10.5px; letter-spacing: .12em; }
.steps b { font-family: var(--f-display); font-size: 15px; font-weight: 700; }
.steps span { font-size: 14px; color: var(--ink-70); line-height: 1.85; }
@media (max-width: 620px) { .steps li { grid-template-columns: 34px minmax(0, 1fr); } .steps span { grid-column: 2; } }

/* 404 の案内カード。以前は .tile の並べ方と中身の指定が消えていて、
   枠線の付いた文字が1行に流れるだけになっていた（スマホでは真ん中を押してもリンクに当たらない所があった） */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { .tiles { grid-template-columns: 1fr; } }
.tile {
  display: flex; flex-direction: column; gap: 8px;
  padding: clamp(22px, 3vw, 30px);
  color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.tile:hover { border-color: var(--sc); }
.tile__n { font-family: var(--f-en); font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--sc); }
.tile__q { font-family: var(--f-display); font-size: 1.125rem; font-weight: 700; line-height: 1.5; }
.tile__d { font-size: 14px; line-height: 1.85; color: var(--ink-70); }
.tile__go {
  margin-top: auto; padding-top: 8px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-display); font-size: 13.5px; font-weight: 700; color: var(--sc);
}
.tile__go svg { transition: transform .38s var(--ease); }
.tile:hover .tile__go svg { transform: translateX(5px); }

/* 面は「机に置いた紙」として、ふちをステッチで縫い止める */
.svc__item, .plan, .step, .pipe__cell, .scope__col, .tile {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  box-shadow: 0 3px 0 rgba(74, 59, 50, .1);
}
.svc__item::after, .plan::after, .step::after, .pipe__cell::after, .scope__col::after, .tile::after {
  content: ""; position: absolute; inset: 6px;
  border: 1.5px dashed #E8DCC8; border-radius: 2px; pointer-events: none;
}
/* 縦積み版は罫線だけで区切るので、ステッチの二重枠は外す */
.svc--col .svc__item::after, .plans--col .plan::after { display: none; }

/* ------------------------------------------- 装飾と本文の重なり順 ----- */

.sec, .hero, .phero, .section { isolation: isolate; }
.sec__in, .cta__panel, .marquee, .phero > .wrap, .section > .wrap {
  position: relative; z-index: 1;
}
.sec__in > div:first-child { position: relative; z-index: 1; }

/* ------------------------------------------ 区画の糸を文字に展開 ---- */

/* 番号・バッジ・ラベルの類をその区画の糸の色で塗る。
   1区画につき1色と決めてあるので、多色でも散らからない。 */
.svc__n { color: var(--sc); }
.plan__k { color: var(--sc); }
.plan__term { color: var(--sc); }
.steps i { color: var(--sc); color: color-mix(in srgb, var(--sc) 82%, var(--ink)); }
.faq__q i { color: var(--sc); color: color-mix(in srgb, var(--sc) 82%, var(--ink)); }
.faq__q:hover { color: var(--sc); }
.faq__q > span::before, .faq__q > span::after { background: var(--sc); }
.wlist a:hover { color: var(--sc); }
.wlist a.is-on { color: var(--sc); }
.wlist a:hover i, .wlist a.is-on i { color: var(--sc); }
.work__i { color: var(--sc); }
.pipe__k { color: var(--sc); }
.aside-card dt { color: var(--sc); }
.opts td { color: var(--sc); }
.stat b { color: var(--sc); }
.crumb a:hover { color: var(--sc); }

/* 値段はコーラル固定。ブランドの主役の数字なので区画で色を動かさない */
.plan__price b, .plan__price i { color: var(--coral-d); }

/* ============================================================== 印刷 == */
/* 紙に出したときの体裁。料金表やよくある質問を刷るお客様がいる前提で整える。
   これまでは画面用の見た目のまま刷られていたので、
     ・左の目次、メニューボタン、「本文へ移動」、飾りまで紙に出る
     ・料金の表やプランの箱が、ページの変わり目で上下に割れる
   という状態だった（2026-09-19 に PDF で確認）。
   ブラウザは既定で背景色を刷らないので、色で分けていた境目は線で描き直す */
@media print {
  @page { margin: 14mm 12mm; }

  html, body { background: #fff; }
  body { color: #1a1310; }

  /* 画面を操作するための部品。紙の上では押せないので出さない */
  .side, .skip-link, .opening, .crawl,
  .glossary-tools, .glossary-jump, .sec__more,
  .cta, .hero__actions, .ftr__nav, .ftr__top { display: none !important; }

  /* 飾り（紙だと意味を持たず、インクを使うだけ） */
  .deco, .arc, .ring, .pw, .tape, .sec__vis { display: none !important; }

  /* 目次の欄を畳んで、本文を紙の幅いっぱいに使う */
  .shell { display: block; }
  .sec__in, .phero__grid, .contact__grid { max-width: none; }

  /* ページの変わり目で箱を割らない */
  .plan, .svc__item, .faq__item, .step, .glossary-card, .aside-card,
  .pipe__cell, .work, .stat, .opts tr, table tr, .flow > li { break-inside: avoid; }
  /* 見出しだけが前のページの最後に取り残されないように */
  h1, h2, h3, h4, .sec__head, .sec-head, .glossary-heading { break-after: avoid; }
  /* 表の見出し行は、次のページにも繰り返す */
  thead { display: table-header-group; }

  /* 色の面で分けていた区切りを、線で描き直す */
  .plan, .svc__item, .aside-card, .glossary-card, .pipe__cell {
    border: 1px solid #C9BCA6; background: none;
  }
  .faq__item { border-bottom: 1px solid #C9BCA6; }

  /* よくある質問は、画面で閉じていても紙には答えまで刷る。
     開閉は grid-template-rows: 0fr で畳み、中の div を visibility:hidden にしているので、
     その2つを両方戻さないと、高さだけ空いて文字が出ない紙になる */
  .faq__a { grid-template-rows: 1fr !important; }
  .faq__a > div { visibility: visible !important; overflow: visible !important; }
  .faq__q > span { display: none; }          /* 開閉の＋印。紙では押せない */
  .faq__q { background: none !important; }

  /* リンクは下線だけ残し、URL は刷らない（日本語の文章に混ざると読みにくいため） */
  a { color: inherit; text-decoration: underline; }
}
