/* ---- 共通CSSからの差分（現状維持のための上書き） ---- */
:root { --tile-w: 310px; --tile-gap: 28px; --speed-up: 28s; --speed-down: 36s; }
.cta { flex-wrap: wrap; justify-content: flex-start; }

/* ============================================================
   soukyu.com トップページ デザイン案 v5（別ファイル試作）
   v4に「製図グリッド＋墨の反転」を追加：
   ・背景に極細の設計グリッド線（白い部分にだけ見える）
   ・ヒーローにトンボとベースライン（製図の記号）
   ・制作実績セクションを深い墨面に反転
   調整しやすいように、よくいじる値は下の :root にまとめてあります
   ============================================================ */

html { scroll-behavior: smooth; }
.mobile-break { display: none; }
/* v5: キーボード操作時だけ朱の輪郭を出す（マウス操作では出ない） */
:focus-visible {
  outline: 2px solid var(--shu);
  outline-offset: 3px;
  border-radius: 2px;
}
body {
  font-family: 'Noto Serif JP', serif;
  background: var(--bg);
  color: var(--sumi);
}
/* 固定ヘッダーにアンカー着地が隠れないように */
section[id], div[id] { scroll-margin-top: 78px; }

/* ---------- 製図グリッド（背景の下地・白い部分にだけ見える） ---------- */

/* ---------- ヘッダー（上部固定ナビ） ---------- */

/* ---------- ヒーロー全体 ---------- */
/* v5: 背景を透過にして製図グリッドが通るように（bodyが白） */
.hero-bg { background: transparent; }
.hero {
  position: relative;
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px clamp(24px, 5vw, 72px);
  /* 超高解像度画面でも、ヒーロー内容が下へ寄りすぎないよう上限を設ける */
  min-height: min(92vh, 980px);
  overflow: hidden;
}

/* ---------- 左：コピー ---------- */
.hero-copy {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  z-index: 2;
}
/* コピーの対角に置く小さなトンボ（製図の記号） */
.hero-copy::before,
.hero-copy::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  pointer-events: none;
}
.hero-copy::before {
  top: -26px;
  left: -2px;
  border-top: 1px solid rgba(31, 31, 31, 0.3);
  border-left: 1px solid rgba(31, 31, 31, 0.3);
}
.hero-copy::after {
  bottom: -22px;
  right: 6px;
  border-bottom: 1px solid rgba(31, 31, 31, 0.3);
  border-right: 1px solid rgba(31, 31, 31, 0.3);
}
.hero-copy h1 {
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.06em;
  margin-bottom: 22px;
  position: relative;
}
.hero-copy h1 .kagi { color: var(--shu); }
/* h1の下に一度だけ引かれるベースライン（設計ガイド線） */
.hero-copy h1::after {
  content: "";
  position: absolute;
  left: calc(-1 * clamp(24px, 5vw, 72px));
  right: -36px;
  bottom: -11px;
  height: 1px;
  background: rgba(31, 31, 31, 0.16);
  transform-origin: left center;
  animation: baseline-draw 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}
@keyframes baseline-draw {
  from { transform: scaleX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-copy h1::after { animation: none; }
}
.hero-copy .sub {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 2.05;
  color: #4a4a46;
  margin-bottom: 26px;
  max-width: 30em;
}
.trust {
  list-style: none;
  margin-bottom: 32px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(16px, 1.35vw, 17px);
}
.trust li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  line-height: 2;
}
/* v5: 見出しの四角（点）とかぶらないよう、リストは朱の短い線に（ナビ下線・見出しバーと同じ「線」の言語） */
.trust li::before {
  content: "";
  width: 10px;
  height: 2px;
  background: var(--shu);
  flex-shrink: 0;
  transform: translateY(-1px);
}

.cta-note {
  width: 100%;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12.5px;
  color: #777;
  margin-top: 4px;
}

/* ---------- 右：縦に流れる作品タイル（縦横比そのまま） ---------- */
.hero-stream {
  flex: 0 0 auto;
  display: flex;
  gap: 28px;
  height: 88vh;
  max-height: 800px;
  position: relative;
  z-index: 1;
}
.stream-col {
  width: 310px;
  overflow: hidden;
}
.stream-track {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.col-up .stream-track { animation: flow-up 40s linear infinite; }
.col-down .stream-track { animation: flow-down 52s linear infinite; }
.stream-col:hover .stream-track { animation-play-state: paused; }
@keyframes flow-up {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}
@keyframes flow-down {
  from { transform: translateY(-50%); }
  to   { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .stream-track, .clients-band .band-names { animation: none !important; }
}
.tile {
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  flex-shrink: 0;
}
.tile img {
  display: block;
  width: 100%;
  height: auto;             /* 元の縦横比のまま＝切り取らない */
}

/* ---------- 取引実績の帯（生成りの全幅・静かな罫線） ---------- */
.clients-band {
  background: var(--cream);
  border-top: 1px solid #e6e5e2;
  border-bottom: 1px solid #e6e5e2;
  width: 100%;
  margin: 0;
  padding: 42px clamp(24px, 5vw, 72px) 44px;
  text-align: center;
}
.clients-band .band-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: #6e685c;
  margin-bottom: 20px;
}
.clients-band .band-names {
  max-width: 1000px;
  margin: 0 auto 12px;
  font-size: clamp(14px, 1.3vw, 16px);
  line-height: 2.15;
  letter-spacing: 0.05em;
  color: #4c473c;
}
.band-names-item[aria-hidden="true"] { display: none; }
.clients-band .band-names .sep {
  margin: 0 0.7em;
  color: #cabfae;
}
.clients-band .band-note {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  line-height: 1.9;
  color: #9a937f;
}

/* ---------- 3つの絶対条件（図左・文章右の2カラム） ---------- */
.conditions {
  padding: 140px clamp(24px, 5vw, 72px) 100px;
}
.cond-grid {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1080px;
  margin: 0 auto;
}
.cond-fig { flex: 0 0 45%; min-width: 0; }
.cond-text { flex: 1 1 0; min-width: 0; text-align: left; }
/* 英字ラベル（全セクション共通・頭に小さなレジストレーションマーク） */
.sec-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--shu);
  margin-bottom: 16px;
}
/* v5: 十字マーク→信頼チップ・料金リストと同じ朱の角マーカーに統一（＋は病院連想のため撤回） */
.sec-label::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--shu);
  margin-right: 10px;
  vertical-align: middle;
}
.conditions h2 {
  font-size: clamp(23px, 2.5vw, 31px);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.65;
  margin-bottom: 24px;
}
.conditions h2 .kagi { color: var(--shu); }
.conditions .lead {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(16px, 1.35vw, 17.5px);
  line-height: 2.1;
  color: #4a4a46;
  margin-bottom: 24px;
}
.conditions .lead strong { color: var(--shu); font-weight: 600; }
/* ベン図（3つの円） */
.venn-wrap {
  max-width: 520px;
  margin: 0 auto;
}
.venn-wrap svg { width: 100%; height: auto; display: block; }
/* 円：外側から集まってくる */
.venn .ring {
  opacity: 0;
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1), opacity 1s ease;
}
.venn .ring-1 { transform: translate(-70px, -50px); }
.venn .ring-2 { transform: translate(70px, -50px); }
.venn .ring-3 { transform: translate(0, 80px); }
.venn-wrap.on .ring { opacity: 1; transform: translate(0, 0); }
.venn-wrap.on .ring-2 { transition-delay: 0.15s; }
.venn-wrap.on .ring-3 { transition-delay: 0.3s; }
/* 中心の朱：あとからポンと出る */
.venn .core {
  opacity: 0;
  transform: scale(0.2);
  transform-origin: center;
  transform-box: fill-box;
  transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
}
.venn-wrap.on .core { opacity: 1; transform: scale(1); transition-delay: 1.05s; }
/* 引き出し線と上のラベル */
.venn .callout-line {
  stroke-dasharray: 130;
  stroke-dashoffset: 130;
  transition: stroke-dashoffset 0.6s ease;
}
.venn-wrap.on .callout-line { stroke-dashoffset: 0; transition-delay: 1.45s; }
.venn .callout-text { opacity: 0; transition: opacity 0.6s ease; }
.venn-wrap.on .callout-text { opacity: 1; transition-delay: 1.8s; }
.conditions .closing {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(15.5px, 1.3vw, 17px);
  line-height: 2.05;
  color: #56564f;
  margin-bottom: 34px;
}
.btn-ghost {
  display: inline-block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--sumi);
  text-decoration: none;
  border: 2px solid var(--sumi);
  border-radius: 999px;
  padding: 14px 40px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.btn-ghost:hover { background: var(--sumi); color: #fff; transform: translateY(-2px); }

/* ---------- コンセプトから設計（選ばれる理由） ---------- */
.concept {
  padding: 30px clamp(24px, 5vw, 72px) 110px;
  text-align: center;
}
.concept-inner { max-width: 1080px; margin: 0 auto; }
.concept h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.concept .concept-lead {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(16px, 1.35vw, 17.5px);
  line-height: 2.1;
  color: #4a4a46;
  margin-bottom: 56px;
}
.concept-points {
  display: flex;
  gap: 24px;
  text-align: left;
  margin-bottom: 52px;
}
.concept-point {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--sumi);
  background: #fff;
  border: 1px solid var(--link-card-border);
  border-radius: 14px;
  padding: 32px 26px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.concept-point:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(31, 31, 31, 0.08);
  border-color: var(--link-card-border-hover);
}
.concept-point .pt-num {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: 'Noto Serif JP', serif;
  font-size: 60px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--sumi);
  line-height: 1;
}
.concept-point .pt-num .pt-en {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: #b6ae9b;
}
.concept-point .pt-bar {
  display: block;
  width: 30px;
  height: 2px;
  background: var(--shu);
  margin: 20px 0 18px;
  transition: width 0.3s ease;
}
.concept-point:hover .pt-bar { width: 52px; }
.concept-point h3 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.55;
  margin-bottom: 14px;
}
.concept-point p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(16px, 1.35vw, 17px);
  line-height: 2.05;
  color: #4a4a46;
}
.concept-point .plan-tag {
  display: block;
  margin-top: 8px;
  font-size: 12.5px;
  color: #9a937f;
}
.concept-point .point-btn {
  margin-top: auto;
  padding-top: 20px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--shu);
}
.concept-point:hover .point-btn { text-decoration: underline; }

/* ---------- 書風サンプル ---------- */
.styles { background: var(--cream); padding: 96px clamp(24px, 5vw, 72px) 88px; text-align: center; }
.styles-inner { max-width: 1100px; margin: 0 auto; }
.styles h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; letter-spacing: 0.08em; margin-bottom: 18px; }
.styles-lead {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(16px, 1.35vw, 17.5px);
  line-height: 2.1;
  color: #4a4a46;
  margin-bottom: 50px;
}
.styles-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.style-card {
  text-decoration: none;
  color: var(--sumi);
  display: block;
  text-align: left;
}
.style-card .thumb {
  aspect-ratio: 4 / 3;
  background: #fff;
  border: 1px solid #eae9e6;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.style-card .thumb img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.4s ease; }
.style-card:hover .thumb {
  border-color: #dddcd8;
  box-shadow: 0 12px 30px rgba(31, 31, 31, 0.08);
}
.style-card:hover .thumb img { transform: scale(1.05); }
.style-card .s-name { font-size: 16px; font-weight: 700; letter-spacing: 0.06em; margin-top: 14px; }
.style-card .s-name span { color: var(--shu); font-size: 12px; font-family: 'Noto Sans JP', sans-serif; margin-left: 8px; }
.style-card .s-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(14px, 1.2vw, 15.5px);
  line-height: 1.9;
  color: #6e685c;
  margin-top: 6px;
}
.styles .styles-note { margin-top: 40px; }

/* ---------- 制作実績 ---------- */
.works {
  padding: 56px clamp(24px, 5vw, 72px) 110px;
  text-align: center;
}
.works-inner { max-width: 1120px; margin: 0 auto; }
.works h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.works .works-lead {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(16px, 1.35vw, 17.5px);
  line-height: 2.1;
  color: #4a4a46;
  margin-bottom: 50px;
}
/* 横に流れるマーキー（セクションの左右パディングを打ち消して全幅に） */
.works-marquee {
  overflow: hidden;
  margin: 0 calc(-1 * clamp(24px, 5vw, 72px)) 44px;
  /* 左右端をふわっと背景に溶かす */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}
.works-track {
  display: flex;
  gap: 26px;
  width: max-content;
}
.works-track + .works-track { margin-top: 26px; }
.works-track.row-left  { animation: works-scroll-left 70s linear infinite; }
.works-track.row-right { animation: works-scroll-right 84s linear infinite; }
.works-marquee:hover .works-track { animation-play-state: paused; }
@keyframes works-scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes works-scroll-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .works-track { animation: none !important; }
}
.work-card {
  width: 300px;
  flex-shrink: 0;
  text-align: left;
  text-decoration: none;
  color: var(--sumi);
  display: block;
}
.work-card .thumb img { transition: transform 0.4s ease; }
.work-card:hover .thumb img { transform: scale(1.04); }
.work-card .thumb {
  /* 実績一覧と同じサムネイル比率。トップだけ4:3にしない。 */
  aspect-ratio: 1.618;
  background: var(--cream);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.work-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.work-thumb-placeholder {
  padding: 24px;
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  color: #5f5a50;
  text-align: center;
}
.works-empty {
  max-width: 1120px;
  margin: 0 auto 44px;
  padding: 32px 24px;
  border: 1px solid #4a4843;
  border-radius: 10px;
  color: #b9b3a6;
  font-family: 'Noto Sans JP', sans-serif;
}
.work-card .w-name {
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-top: 14px;
  line-height: 1.5;
}
.work-card .w-use {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--shu);
  margin-top: 5px;
}
/* v5: 制作実績を深い墨面に反転（作品が額装のように浮かぶ） */
.works {
  background: var(--sumi-deep);
  padding-top: 96px;
}
.works .sec-label { color: var(--shu-bright); }
.works h2 { color: #f5f2ea; }
.works .works-lead { color: #b9b3a6; }
.works .work-card { color: #fff; }
.works .work-card .w-use { color: var(--shu-bright); }
.works .btn-ghost { color: #f3f0e8; border-color: #6a675f; }
.works .btn-ghost:hover { background: #f3f0e8; color: var(--sumi); border-color: #f3f0e8; }
.styles .btn-ghost, .pricing .btn-ghost { background: #fff; }
.styles .btn-ghost:hover, .pricing .btn-ghost:hover { background: var(--sumi); color: #fff; }

/* ---------- 料金プラン ---------- */
/* 白→生成りへの曲線の区切り（直線ボーダーの代わり） */
.divider-into-cream, .divider-from-cream, .divider-into-dark { line-height: 0; margin-bottom: -1px; }
.divider-into-cream svg, .divider-from-cream svg, .divider-into-dark svg { width: 100%; height: 44px; display: block; } /* v5: 波を浅くして製図の直線性に寄せる（70px→44px） */
/* 墨面（制作実績）→生成り（料金）へは、墨を背景にして生成りの曲線を重ねる */
.divider-into-cream.from-dark { background: var(--sumi-deep); }
/* 生成り（書風サンプル）→墨（制作実績）へは、生成りを背景にして墨の曲線を重ねる */
.divider-into-dark.from-cream { background: var(--cream); }
.pricing {
  background: var(--cream);
  padding: 60px clamp(24px, 5vw, 72px) 100px;
  text-align: center;
}
.pricing-inner { max-width: 1120px; margin: 0 auto; }
.pricing h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.pricing .pricing-lead {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(16px, 1.35vw, 17.5px);
  line-height: 2.05;
  color: #4a4a46;
  margin-bottom: 54px;
}
.pricing .pricing-lead strong { color: var(--shu); font-weight: 600; }
.plan-cards {
  display: flex;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 36px;
}
.plan-card {
  flex: 1 1 0;
  background: #fff;
  border: 1px solid #e8e7e4;
  border-radius: 14px;
  padding: 36px 26px 32px;
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
}
.plan-card.featured {
  border: 2px solid var(--shu);
  box-shadow: 0 10px 30px rgba(207, 58, 43, 0.12);
}
.plan-card .badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--shu);
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 5px 18px;
  border-radius: 999px;
  white-space: nowrap;
}
.plan-card .plan-en {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: #b6ae9b;
  margin-bottom: 6px;
}
.plan-card h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.plan-card .plan-for {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(15px, 1.15vw, 16px);
  color: #6e685c;
  line-height: 1.85;
  min-height: 5.55em;
  margin-bottom: 18px;
}
.plan-card .plan-price {
  font-family: 'Noto Sans JP', sans-serif; /* v5: 数字は明朝でなくゴシック＝見積書の精密さ */
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}
.plan-card .plan-price small { font-size: 15px; font-weight: 500; color: #6e685c; }
.plan-card .plan-price-note {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13.5px;
  color: #9a937f;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid #efeeeb;
}
.plan-feats {
  list-style: none;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(15px, 1.15vw, 16px);
  line-height: 1.85;
  flex: 1;
}
.plan-feats li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 9px;
}
.plan-feats li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9em;
  width: 10px;
  height: 2px;
  background: var(--shu);
}
.plan-feats li strong { font-weight: 700; }
.pricing-notes {
  max-width: 820px;
  margin: 0 auto 28px;
  padding: 0;
  list-style: none;
  text-align: left;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(15.5px, 1.3vw, 16.5px);
  line-height: 2;
  color: #6e685c;
}
.pricing-notes li { position: relative; padding-left: 1.35em; margin-bottom: 8px; }
.pricing-notes li::before { content: "※"; position: absolute; left: 0; color: var(--shu); font-weight: 700; }
.pricing-notes li:last-child { margin-bottom: 0; }
.pricing-notes strong { color: var(--sumi); font-weight: 700; }
.price-detail-link { margin-bottom: 56px; }
/* 小さなご依頼（控えめ枠） */
.mini-menu {
  max-width: 760px;
  margin: 0 auto 48px;
  border: 1px dashed #d6d4cf;
  border-radius: 14px; /* v5: 情報カードの角丸を14pxに統一 */
  padding: 22px 26px;
  text-align: left;
}
.mini-menu h4 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.mini-menu p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(16px, 1.35vw, 17px);
  line-height: 2.05;
  color: #6e685c;
}
.mini-menu .mini-menu-note {
  color: var(--ink-body);
  margin-bottom: 10px;
}
.pricing .cta { justify-content: center; }

/* ---------- よくあるご質問 ---------- */
.faq { padding: 96px clamp(24px, 5vw, 72px) 100px; text-align: center; }
.faq-inner { max-width: 760px; margin: 0 auto; }
.faq h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 44px;
}
.faq-item { border-bottom: 1px solid #e6e5e2; text-align: left; }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 36px 20px 0;
  font-size: clamp(17.5px, 1.55vw, 19px);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.6;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "Q";
  color: var(--shu);
  font-size: 1.1em;
  font-weight: 700;
  line-height: 1.45;
  flex-shrink: 0;
}
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 26px;
  width: 12px;
  height: 12px;
  background:
    linear-gradient(var(--shu), var(--shu)) center/12px 2px no-repeat,
    linear-gradient(var(--shu), var(--shu)) center/2px 12px no-repeat;
  transition: transform 0.3s ease;
}
.faq-item[open] summary::after { opacity: 0.6; background: linear-gradient(var(--shu), var(--shu)) center/12px 2px no-repeat; }
.faq-item .a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}
.faq-item.is-open .a {
  grid-template-rows: 1fr;
}
.faq-item .a-in {
  overflow: hidden;
  min-height: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(16px, 1.25vw, 17px);
  line-height: 2.05;
  color: #4a4a46;
  padding: 0 0 22px 28px;
}
.faq-item .a-in a { color: var(--shu); }

/* ---------- 最終CTA帯 ---------- */
.cta-band {
  background: var(--cream);
  text-align: center;
  padding: 84px clamp(24px, 5vw, 72px) 88px;
}
.cta-band h2 {
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.6;
  margin-bottom: 18px;
}
.cta-band p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(16px, 1.35vw, 17.5px);
  line-height: 2.05;
  color: #4a4a46;
  margin-bottom: 30px;
}
.cta-band .cta { justify-content: center; }
.cta-band .cta-note { text-align: center; }

/* ---------- フッター ---------- */

.footer-sub a:hover { color: #fff; }

/* ---------- スクロール表示アニメ（控えめ） ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- プロフィール ---------- */
.profile { padding: 96px clamp(24px, 5vw, 72px) 104px; }
.profile-heading {
  max-width: 1080px;
  margin: 0 auto 42px;
  text-align: center;
}
.profile-heading .sec-label { margin-bottom: 14px; }
.profile-heading h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  letter-spacing: 0.08em;
}
.profile-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(420px, 0.98fr) minmax(380px, 1.02fr);
  gap: clamp(36px, 4vw, 52px);
  align-items: center;
}
.profile-photo {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}
.profile-photo img { width: 100%; height: auto; aspect-ratio: 680 / 425; object-fit: cover; border-radius: 14px; display: block; }
.profile-body { min-width: 0; }
.profile-body .name {
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.profile-body .name .yomi { font-size: 15px; color: #8a8378; margin-left: 10px; font-weight: 500; }
.profile-body .title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13.5px;
  color: var(--shu);
  letter-spacing: 0.1em;
  margin-bottom: 22px;
}
.profile-body p:not(.sec-label):not(.name):not(.title) {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(16px, 1.35vw, 17.5px);
  line-height: 2.1;
  color: #4a4a46;
  margin-bottom: 16px;
}
.profile-history {
  max-width: 1080px;
  margin: 52px auto 0;
  padding-top: 34px;
  border-top: 1px solid #eae9e6;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(44px, 6vw, 76px);
  align-items: start;
}
.profile .history {
  margin: 0;
  padding: 0;
}
.history-label,
.profile-actions-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--shu);
  margin-bottom: 18px;
}
.profile .history dl { display: grid; grid-template-columns: 76px 1fr; gap: 10px 22px; margin: 0; }
.history dt {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--shu);
  white-space: nowrap;
}
.history dd {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(15px, 1.25vw, 16px);
  color: #4a4a46;
  margin: 0;
  line-height: 1.7;
}
.profile-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}
.profile-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #252522;
  text-decoration: none;
  padding: 14px 17px;
  border: 1px solid #dcd8cf;
  border-radius: 999px;
  background: #fff;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.profile-links a::after { content: '→'; color: var(--shu); }
.profile-links a:hover { color: var(--shu); border-color: var(--shu); }
.profile-actions {
  padding-left: clamp(30px, 4vw, 52px);
  border-left: 1px solid #eae9e6;
}
.profile-actions-title {
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* ---------- スマホ ---------- */
@media (max-width: 900px) {
  .mobile-break { display: block; }
  .desktop-break { display: none; }
  .hero {
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
    padding: 20px 20px 28px;
    gap: 0;
  }
  .hero-copy { display: contents; }
  .hero-copy h1 { order: 0; font-size: 27px; }
  .hero-copy .sub { order: 2; font-size: 16px; line-height: 2; }
  .hero-copy .trust { order: 3; }
  .hero-copy .cta { order: 4; }
  .btn { padding: 14px 26px; font-size: 15px; width: 100%; text-align: center; }
  .hero-stream { order: 1; display: flex; flex-direction: column; gap: 8px; height: 232px; justify-content: stretch; margin: 0 -20px 24px; }
  .stream-col { width: 100%; max-width: none; height: 112px; }
  .stream-track { flex-direction: row; gap: 10px; width: max-content; height: 100%; }
  .col-up .stream-track { animation: flow-left 34s linear infinite; }
  .col-down .stream-track { animation: flow-right 42s linear infinite; }
  .tile { height: 112px; }
  .tile img { width: auto; height: 100%; }
  .clients-band { padding: 28px 0 30px; }
  .clients-band .band-label { margin-bottom: 14px; }
  .band-marquee { overflow: hidden; margin-bottom: 10px; }
  .clients-band .band-names { display: flex; width: max-content; max-width: none; margin: 0; font-size: 14px; line-height: 1.6; white-space: nowrap; animation: clients-marquee 48s linear infinite; }
  .band-names-item { flex: 0 0 auto; padding-right: 2.4em; }
  .band-names-item[aria-hidden="true"] { display: inline; }
  .clients-band .band-note { padding: 0 20px; }
  .conditions { padding: 60px 20px 64px; }
  .cond-grid { flex-direction: column-reverse; gap: 8px; }
  .cond-fig { flex: none; width: 100%; }
  .venn-wrap { max-width: 420px; }
  .cond-text { text-align: center; }
  .conditions .lead, .conditions .closing { text-align: left; }
  .concept { padding: 10px 20px 70px; }
  .concept-points { flex-direction: column; gap: 30px; }
  .styles { padding: 56px 20px 52px; }
  .styles-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .works { padding: 56px 20px 70px; }
  .works-marquee { margin-left: -20px; margin-right: -20px; }
  /* v5: スマホでは製図グリッドとトンボを消す（うるさくなるため） */
  body::before { display: none; }
  .hero-copy::before, .hero-copy::after { display: none; }
  .hero-copy h1::after { left: -20px; right: 0; }
  .work-card { width: 230px; }
  .profile { padding: 60px 20px 32px; }
  .profile-heading { margin-bottom: 28px; }
  .profile-grid { display: grid; grid-template-columns: 1fr; align-items: stretch; gap: 0; }
  .profile-body { display: contents; }
  .profile-body .sec-label { order: 0; }
  .profile-body h2 { order: 1; }
  .profile-photo { order: 2; flex: none; width: 100%; max-width: 560px; margin: 0 auto 28px; }
  .profile-body .name { order: 3; }
  .profile-body .title { order: 4; }
  .profile-body > p:not(.sec-label):not(.name):not(.title):not(.profile-links) { order: 5; }
  .profile-body .history { order: 6; }
  .profile-body .profile-links { order: 7; }
  .profile-history { grid-template-columns: 1fr; gap: 32px; margin-top: 36px; padding-top: 28px; }
  .profile-actions { padding: 28px 0 0; border-left: 0; border-top: 1px solid #eae9e6; }
  .profile-links { width: 100%; gap: 10px; border-top: 0; }
  .profile-links a { width: 100%; padding: 14px 16px; border: 1px solid #dcd8cf; font-size: 14px; }
  .faq { padding: 36px 20px 64px; }
  .cta-band { padding: 60px 20px 64px; }
  .footer-inner { flex-direction: column; gap: 22px; }
  .pricing { padding: 60px 20px 64px; }
  .plan-cards { flex-direction: column; gap: 26px; }
  .plan-card .plan-for { min-height: auto; }
  .mini-menu { padding: 18px 18px; }
}

@keyframes flow-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes flow-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}
@keyframes clients-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 360px) {
  .styles-grid { grid-template-columns: 1fr; }
}
