/* ================================================================
   11/9 v6：試作2（弊社版）の見た目を全ページに入れる（片山さん「この方向で進めて」）
   参考は and inc.（熊本）の「勢い・動き・言葉を短く」だけ。形と色は弊社のもの。
   ・白とクリームの地／目立たせる色＝お店の青・集客の赤・お手伝いの緑／相談の帯は元のサイトの黄色
   ・角の丸い白いカード・丸いボタン・日本語の太い見出し（Zen Kaku Gothic New）・数字は Jost
   ・トップだけの部品は .t6 の中に書く（ご縁の輪・3つの場面の帯・道のり・制作例が流れる段）
   style.css → v5.css → kiban.css → v6.css の順に読み込み、最後のこのファイルが勝つ。
   戻すときは build_v5.py の head() と トップの中身を v5 に戻す（README 11/9）。
   ================================================================ */
:root {
  --blue: #1f6ab8; --red: #d63536; --green: #2a7f37; --yellow: #ffe14d;
  --main: #1f6ab8; --main-dark: #1a5799; --main-deep: #222;
  --accent: #1f6ab8; --accent-soft: #e8f0fa; --warm: #1f6ab8;
  --cta: #d63536; --cta-dark: #b72b2c;
  --bg: #fff; --tint: #fbf8f2; --sand: #fbf8f2; --cream2: #f5efe4;
  --line: #ebe5da; --ink: #222; --sub: #5f5f5f;
  --radius: 20px;
  --font: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --num: "Jost", "Zen Kaku Gothic New", sans-serif;
}
body { font-family: var(--font); font-weight: 500; background: #fff; color: var(--ink); letter-spacing: .04em; line-height: 1.9; }
button, input, textarea, select { font-family: var(--font); }
h1, h2, h3, .h2, .sec-lead, .hero-lead, .svc-sub, .plan p, .worry li, .faq summary { word-break: auto-phrase; text-wrap: pretty; }

/* 数字の書体 */
.eb-en, .result-num b, .step3-num span, .value .value-num, .tel-link b, .faq summary::before, .faq .ans::before,
.svc-price .pm b, .plan-price b, .hero-tiles b, .num-table td b { font-family: var(--num); }

/* 太さ：見出しは900、小見出しは700 */
.hero h1, .h2, .page-head h1, .page-head-plain h1, .post-head h1, .cta-box h2, .letter h2, .message-quote, .origin-big { font-weight: 900; letter-spacing: .03em; color: var(--ink); }
.step3 h3, .svc-name, .plan-name, .flow h3, .value h3, .voice h3, .card4 h3, .incl h3, .profile-name { font-weight: 900; color: var(--ink); }

/* ---------- 上の帯 ---------- */
.site-head { background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand b { font-weight: 900; letter-spacing: .06em; }
.brand small { font-weight: 700; color: var(--sub); }
.gnav a { font-weight: 700; font-size: 14px; letter-spacing: .04em; }
.gnav a:hover, .gnav a[aria-current="page"] { color: var(--red); }

/* ---------- ボタン：丸い形 ---------- */
.btn { border-radius: 999px; font-weight: 700; letter-spacing: .06em; padding: 14px 30px; min-height: 52px; font-size: 15px; transition: transform .25s, background .25s, color .25s; }
.btn:hover { transform: translateY(-2px); }
.btn-cta { background: var(--red); border: 1.5px solid var(--red); color: #fff; }
.btn-cta:hover { background: var(--cta-dark); border-color: var(--cta-dark); }
.btn-line { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-small { min-height: 40px; padding: 8px 20px; font-size: 13.5px; }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }
.fixed-cta a { border-radius: 999px; font-weight: 700; }
.fixed-cta .f-tel { border: 1.5px solid var(--ink); color: var(--ink); background: #fff; }
.fixed-cta .f-form { background: var(--red); }
.to-top { border-radius: 50%; background: var(--ink); }
.sec-tint .btn-line, .sec-sand .btn-line { background: #fff; }

/* ---------- 地の色 ---------- */
.sec-tint, .sec-sand { background: var(--tint); }
.sec-white { background: #fff; }

/* ---------- 小さい見出し：色の点＋日本語（英語は出さない） ---------- */
.eyebrow { display: flex; flex-direction: row; align-items: center; gap: 10px; margin: 0 0 12px; }
.eb-en { display: none !important; }
.eb-ja { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--sub); letter-spacing: .08em; }
.eb-ja::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--red); flex: none; }
.sec:nth-of-type(3n+1) .eb-ja::before { background: var(--blue); }
.sec:nth-of-type(3n+2) .eb-ja::before { background: var(--green); }
.h2 { color: var(--ink); line-height: 1.5; }
.h2 em { color: inherit; background: none; }
.sec-lead { color: var(--sub); }

/* ---------- 下のページの最初の画面 ---------- */
.hero { background: #fff; }
.hero-photo img, .message-photo img, .profile-photo img { border-radius: 28px; }
.hero-kicker {
  display: inline-block; position: static; padding: 4px 14px; border: 1.5px solid #ddd; border-radius: 999px;
  background: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; color: var(--ink); line-height: 1.7;
}
.hero-kicker::before { content: none; }
@media (max-width: 767px) { .hero-kicker { border-radius: 16px; padding: 4px 14px; } }
.hero h1 { color: var(--ink); line-height: 1.45; }
.hero h1 .ac { color: var(--blue); background: none; }
.h1-sub { color: var(--sub); font-weight: 700; }
.hero-points { border-color: var(--line); }
.hero-points b { color: var(--ink); }
.hero-tiles li { border-top-color: var(--ink); }
.hero-tiles b { color: var(--ink); }
.page-head::after { background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.45)); }
.page-head h1 { color: #fff; }
.page-head-plain { background: var(--tint); }
.page-head-plain h1 { color: var(--ink); }

/* ---------- カード：角の丸い白い箱 ---------- */
.plan, .voice, .card4, .value, .incl, .doc, .form-box, .letter, .post-card, .post-toc, .post-author {
  background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: none;
}
.plan { padding: 28px 24px; }
.plan-best { border-radius: 999px; background: var(--red); padding: 2px 12px; }
.plan-name, .plan-price b { color: var(--ink); }
.plan-sub { color: var(--blue); }
.voice { padding: 26px 24px; }
.card4, .value { padding: 26px 24px; }
.value .value-num { color: var(--blue); }
.incl { padding: 26px 24px; }
.sec:not(.sec-tint):not(.sec-sand) .plan, .sec:not(.sec-tint):not(.sec-sand) .voice,
.sec:not(.sec-tint):not(.sec-sand) .card4, .sec:not(.sec-tint):not(.sec-sand) .value { background: var(--tint); border-color: transparent; }
.worry { gap: 10px; border-top: 0; }
.worry li { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px 14px 46px; }
.worry li::before { left: 18px; }
.sec:not(.sec-tint):not(.sec-sand) .worry li { background: var(--tint); border-color: transparent; }
.answer { background: var(--tint); color: var(--ink); border-radius: 24px; }
.answer-head b { color: var(--red); border-bottom: 0; }
.svc-checks li::before { border-color: var(--green); }
.info-table { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }
.info-table th { background: var(--tint); color: var(--ink); }
.num-table { border-radius: 20px; overflow: hidden; }
.num-table tr:first-child th { background: var(--ink); }
.num-table td b { color: var(--red); }
.svc-more { border: 1px solid var(--line); border-radius: 24px; background: #fff; padding: 26px 24px; }

/* ---------- 流れ（下のページ）：番号つきのカード ---------- */
.flow { gap: 16px; }
.flow li { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px 22px; position: relative; }
.sec:not(.sec-tint):not(.sec-sand) .flow li { background: var(--tint); border-color: transparent; }
.flow li::before {
  content: counter(flow); position: absolute; right: 20px; top: 12px; margin: 0; display: block;
  font-family: var(--num); font-weight: 600; font-size: 44px; line-height: 1; color: var(--cream2); letter-spacing: 0;
}
@media (min-width: 768px) { .flow li { padding: 24px 22px; } .flow li:last-child { border-right: 1px solid var(--line); } }
.step3 { border-left-color: var(--line); }

/* ---------- よくある質問：角の丸いカード ---------- */
.faq { border-top: 0; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; margin: 0 0 10px; }
.sec:not(.sec-tint):not(.sec-sand) .faq details { background: var(--tint); border-color: transparent; }
.faq summary { padding: 20px 56px 20px 50px; font-weight: 700; }
.faq summary::before { color: var(--red); left: 20px; top: 19px; }
.faq .ans { padding: 0 24px 22px 50px; }
.faq .ans::before { left: 20px; color: var(--blue); }
.faq summary::after {
  content: ""; border: 0; transform: none; right: 18px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%;
  background: var(--cream2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23222' stroke-width='2.4'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/12px no-repeat;
  transition: transform .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); top: 50%; }

/* ---------- 相談の帯：元のサイトの黄色 ---------- */
.cta-box { background: var(--yellow); color: var(--ink); border-radius: 32px; text-align: left; position: relative; overflow: hidden; }
.cta-box::before { content: ""; position: absolute; right: -110px; top: -110px; width: 380px; height: 380px; border-radius: 50%; border: 2px dashed rgba(0,0,0,.12); animation: v6spin 80s linear infinite; pointer-events: none; }
.cta-box h2, .cta-box p, .cta-box .tel-link, .cta-box .tel-link b, .cta-box .tel-link small, .cta-note { color: var(--ink) !important; }
.cta-box p { margin-left: 0; margin-right: 0; }
.cta-box .btn-row { justify-content: flex-start; }
.cta-box .btn-cta { background: var(--red); color: #fff; border-color: var(--red); }
@media (min-width: 768px) { .cta-box h2 { margin-left: 0; margin-right: 0; } }

/* ---------- 下の帯 ---------- */
.site-foot { background: var(--tint); color: #444; border-top: 1px solid var(--line); }
.site-foot h3, .foot-brand, .foot-brand b { color: var(--ink); }
.site-foot a { color: #444; }
.site-foot a:hover { color: var(--red); }
.copy { color: #777; border-top-color: var(--line); }
.foot-brand img { background: transparent; border-radius: 0; }

/* ---------- そのほか ---------- */
.movie { border-radius: 24px; }
.post-chip { border-radius: 999px; }
.post-chip.is-on { background: var(--ink); border-color: var(--ink); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea, .checks label { border-radius: 14px; border: 1px solid #d9d1c3; background: #fff; }
.req { background: var(--red); border-radius: 999px; padding: 1px 8px; }
.opt { border-radius: 999px; padding: 1px 8px; }
.trial-note { background: var(--tint); border-left: 0; border-radius: 16px; }
@keyframes v6spin { to { transform: rotate(360deg); } }
@keyframes v6flow { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .cta-box::before { animation: none; } }

/* ================================================================
   トップだけの部品（.t6 の中）
   ================================================================ */
/* 最初の画面：ご縁の輪 */
.t6-mv { padding: 28px 0 56px; background: #fff; overflow: hidden; }
.t6-mv .wrap { display: flex; flex-direction: column; }
.t6-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.t6-chips li { font-size: 13px; font-weight: 700; border: 1.5px solid #ddd; border-radius: 999px; padding: 4px 14px; background: #fff; }
.t6-mv h1 { margin: 0 0 28px; font-weight: 900; font-size: clamp(27px, 7.4vw, 46px); line-height: 1.4; letter-spacing: .02em; color: var(--ink); }
.t6 .k1 { color: var(--blue); } .t6 .k2 { color: var(--red); } .t6 .k3 { color: var(--green); }
.t6-lead { margin: 0 0 26px; color: var(--sub); font-size: 15px; line-height: 2.1; max-width: 32em; word-break: auto-phrase; }
.t6-promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 26px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); list-style: none; }
.t6-promise li { font-size: 12px; color: var(--sub); line-height: 1.6; }
.t6-promise b { display: block; font-size: 15px; color: var(--ink); }
.t6-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.t6-ringbox { position: relative; width: min(92vw, 560px); aspect-ratio: 1 / 1; margin: 6px auto 30px; }
.t6-ring { position: absolute; inset: 0; animation: v6spin 90s linear infinite; }
.t6-orb { position: absolute; left: 50%; top: 50%; width: 22%; aspect-ratio: 1 / 1; margin: -11% 0 0 -11%; }
.t6-orb > div { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; border: 4px solid #fff; box-shadow: 0 10px 30px rgba(0,0,0,.12); animation: v6spin 90s linear infinite reverse; }
.t6-orb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.t6-orb.dot { width: 5%; margin: -2.5% 0 0 -2.5%; }
.t6-orb.dot > div { border: 0; box-shadow: none; }
.t6-ringline { position: absolute; inset: 11%; border-radius: 50%; border: 1.5px dashed #e3dccf; }
.t6-ringc { position: absolute; inset: 28%; border-radius: 50%; background: var(--tint); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; }
.t6-ringc img { width: 34%; }
.t6-ringc p { margin: 0; font-size: clamp(11px, 1.6vw, 14px); font-weight: 900; line-height: 1.6; letter-spacing: .08em; }
@media (min-width: 960px) {
  .t6-mv { padding: 56px 0 80px; }
  .t6-mv .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); column-gap: 40px; align-items: center; }
  .t6-txt { grid-column: 1; }
  .t6-ringbox { grid-column: 2; grid-row: 1; margin: 0; width: 100%; }
  .t6-mv h1 { font-size: clamp(30px, 3.5vw, 46px); letter-spacing: .01em; }
}
@media (max-width: 959px) {
  .t6-txt { display: contents; }
  .t6-chips { order: 1; } .t6-mv h1 { order: 2; } .t6-ringbox { order: 3; } .t6-lead { order: 4; } .t6-promise { order: 5; } .t6-btns { order: 6; }
}

/* 3つの場面が流れる帯（文字は黒・点だけ色） */
.t6-band { background: var(--tint); overflow: hidden; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.t6-band > div { display: inline-flex; align-items: center; gap: 36px; white-space: nowrap; animation: v6flow 50s linear infinite; font-weight: 900; font-size: clamp(28px, 4.4vw, 56px); letter-spacing: .06em; }
.t6-band i { width: .42em; height: .42em; border-radius: 50%; display: inline-block; }

/* 3つの場面：線でつながる道のり */
.t6-road { position: relative; display: grid; gap: 44px; margin: 24px 0 0; }
.t6-stop { position: relative; padding-left: 72px; }
.t6-pin { position: absolute; left: 0; top: 0; width: 52px; height: 52px; border-radius: 50%; background: var(--c); color: #fff; display: grid; place-items: center; font-family: var(--num); font-weight: 600; font-size: 18px; box-shadow: 0 0 0 8px var(--cs); }
.t6-stop h3 { margin: 0 0 6px; font-size: 22px; font-weight: 900; }
.t6-stop p { margin: 0 0 10px; color: var(--sub); font-size: 14.5px; word-break: auto-phrase; }
.t6-stop a { font-size: 13.5px; font-weight: 700; text-decoration: none; border-bottom: 1.5px solid var(--c); color: var(--ink); }
.t6-road::before { content: ""; position: absolute; left: 25px; top: 26px; bottom: 26px; width: 2px; background: var(--line); }
.t6-road::after { content: ""; position: absolute; left: 25px; top: 26px; width: 2px; height: 0; background: linear-gradient(var(--blue), var(--red), var(--green)); transition: height 2.4s cubic-bezier(.3,.7,.2,1); }
.t6-road.in::after { height: calc(100% - 52px); }
@media (min-width: 960px) {
  .t6-road { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .t6-stop { padding-left: 0; padding-top: 84px; }
  .t6-road::before, .t6-road::after { left: 26px; top: 26px; bottom: auto; height: 2px; width: 0; }
  .t6-road::before { width: calc(100% - 52px); }
  .t6-road::after { background: linear-gradient(90deg, var(--blue), var(--red), var(--green)); transition: width 2.4s cubic-bezier(.3,.7,.2,1); }
  .t6-road.in::after { height: 2px; width: calc(100% - 52px); }
}

/* サービス：角の丸い白いカード（写真と文が左右に交互） */
.t6-svcs { display: grid; gap: 28px; }
.t6-svc { display: grid; background: #fff; border-radius: 28px; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .4s; }
.t6-svc:hover { transform: translateY(-4px); }
.t6-svc .ph { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream2); }
.t6-svc .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.t6-svc:hover .ph img { transform: scale(1.05); }
.t6-svc .bd { padding: 28px 24px 30px; }
.t6-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--sub); margin: 0 0 10px; }
.t6-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.t6-svc h3 { margin: 0 0 4px; font-size: clamp(24px, 2.6vw, 32px); font-weight: 900; }
.t6-one { margin: 0 0 16px; font-weight: 700; word-break: auto-phrase; }
.t6-price { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; }
.t6-price li { font-size: 12.5px; font-weight: 700; background: var(--tint); border-radius: 999px; padding: 4px 12px; }
.t6-go { font-size: 14px; font-weight: 700; display: inline-flex; gap: 8px; align-items: center; }
.t6-go::after { content: ""; width: 28px; height: 28px; border-radius: 50%; background: var(--c) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6'/%3E%3C/svg%3E") center/14px no-repeat; flex: none; }
.t6-svc .ph-hp { display: flex; align-items: center; justify-content: center; gap: 5%; background: linear-gradient(135deg, #dfeaf7, #fbf8f2); }
.t6-svc .ph-hp img { width: 26% !important; height: auto !important; aspect-ratio: 1 / 2; border-radius: 12px; box-shadow: 0 14px 30px rgba(0,0,0,.15); object-position: top; }
.t6-svc .ph-hp img:nth-child(2) { transform: translateY(-8%); }
.t6-more { background: #fff; border-radius: 24px; padding: 24px; margin-top: 28px; }
.t6-more h3 { margin: 0 0 8px; font-size: 16px; }
.t6-more ul { margin: 0; padding-left: 1.2em; color: var(--sub); }
@media (min-width: 960px) {
  .t6-svc { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .t6-svc:nth-child(even) .ph { order: 2; }
  .t6-svc .ph { aspect-ratio: auto; min-height: 380px; }
  .t6-svc .bd { padding: 48px 52px; align-self: center; }
}

/* 制作例：2段が逆向きに流れる */
.t6-works { overflow: hidden; }
.t6-row { display: flex; gap: 18px; width: max-content; animation: v6flow 70s linear infinite; margin: 0 0 18px; }
.t6-row.rev { animation-direction: reverse; }
.t6-ph { width: 150px; flex: none; margin: 0; }
.t6-ph > div { border-radius: 20px; overflow: hidden; border: 6px solid #222; aspect-ratio: 1 / 2; background: #eee; }
.t6-ph img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.t6-ph figcaption { font-size: 12px; font-weight: 700; text-align: center; margin-top: 6px; }
@media (min-width: 960px) { .t6-ph { width: 190px; } }
.t6-note { font-size: 12px; color: var(--sub); }

/* 数字：下に動かすと増える */
.t6-nums { display: grid; gap: 20px; margin-top: 36px; }
.t6-num { background: #fff; border-radius: 24px; padding: 28px 24px; border: 1px solid var(--line); }
.t6-num h3 { margin: 0 0 8px; font-size: 14px; }
.t6-num .n { font-family: var(--num); font-weight: 600; font-size: clamp(56px, 6vw, 84px); line-height: 1.1; letter-spacing: -.02em; }
.t6-num .n small, .t6-num .n .pre { font-family: var(--font); font-size: 18px; font-weight: 900; letter-spacing: 0; }
.t6-num .n .pre { margin-right: 4px; }
.t6-num .n.ja { font-family: var(--font); font-weight: 900; font-size: clamp(44px, 4.6vw, 64px); }
.t6-bar { height: 4px; width: 44px; border-radius: 4px; background: var(--c); margin: 12px 0 14px; }
.t6-num p { margin: 0; font-size: 13px; color: var(--sub); word-break: auto-phrase; }
.t6-fine { font-size: 11.5px; color: #888; margin: 28px 0 0; }
@media (min-width: 960px) { .t6-nums { grid-template-columns: repeat(3, 1fr); } }

/* 代表から：丸い写真と回る点線の輪 */
.t6-msg { display: grid; gap: 44px; align-items: center; }
.t6-face { position: relative; width: min(78vw, 380px); aspect-ratio: 1 / 1; margin: 0 auto; }
.t6-face img { position: absolute; inset: 6%; width: 88%; height: 88%; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.t6-face::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px dashed #e0d6c4; animation: v6spin 60s linear infinite; }
.t6-face i { position: absolute; width: 16px; height: 16px; border-radius: 50%; }
.t6-msg q { display: block; quotes: none; font-weight: 900; font-size: clamp(24px, 2.8vw, 36px); line-height: 1.65; margin: 0 0 24px; }
.t6-msg p { color: var(--sub); font-size: 15px; line-height: 2.1; }
.t6-msg .sign { color: var(--ink); font-weight: 700; }
@media (min-width: 960px) { .t6-msg { grid-template-columns: 420px 1fr; gap: 80px; } .t6-face { width: 100%; } }

/* 流れ（トップ） */
.t6-steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 16px; counter-reset: s; }
.t6-steps li { counter-increment: s; background: #fff; border-radius: 22px; padding: 24px 22px; border: 1px solid var(--line); position: relative; }
.t6-steps li::before { content: counter(s); position: absolute; right: 20px; top: 12px; font-family: var(--num); font-weight: 600; font-size: 44px; color: var(--cream2); line-height: 1; }
.t6-steps h3 { margin: 0 0 6px; font-size: 17px; }
.t6-steps p { margin: 0; font-size: 13.5px; color: var(--sub); }
@media (min-width: 960px) { .t6-steps { grid-template-columns: repeat(4, 1fr); } }

/* トップの見出しは左にそろえる・小見出しの点の色 */
.t6 .eyebrow .eb-ja::before { background: var(--c, var(--red)); }
@media (prefers-reduced-motion: reduce) {
  .t6-ring, .t6-orb > div, .t6-band > div, .t6-row, .t6-face::before { animation: none; }
  .t6-road::after { transition: none; }
}

/* 11/9 直し：小見出しは左（style.css の .center .eyebrow のまん中寄せを消す）・相談の帯の電話と注意書きを左に */
.center .eyebrow, .center:has(> .h2) .eyebrow { justify-content: flex-start; }
.cta-box p[style] { margin-left: 0 !important; margin-right: 0 !important; }
.cta-box .cta-note { margin: 18px 0 0 !important; max-width: 40em; }
.cta-box .tel-link { align-items: flex-start; }

/* ================================================================
   11/9 本番を見た片山さんの直し
   ================================================================ */
/* 3つの場面：線を丸の後ろに（線が丸の上に重なっていた） */
.t6-road::before, .t6-road::after { z-index: 0; }
.t6-pin { z-index: 1; }

/* 制作例の流れる段：動きを滑らかに（画像が消えたり出たりしないよう、段ごと絵として動かす） */
.t6-row { will-change: transform; animation-name: v6flow3d; backface-visibility: hidden; transform: translate3d(0,0,0); }
.t6-ph { backface-visibility: hidden; }
@keyframes v6flow3d { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
/* 「動きを減らす」設定の人には、指で横に動かせる形にする */
@media (prefers-reduced-motion: reduce) {
  .t6-row { animation: none; width: auto; overflow-x: auto; padding: 0 20px 8px; scroll-snap-type: x mandatory; }
  .t6-ph { scroll-snap-align: start; }
}

/* ご相談の流れ：数字は右上。見出しと重ならないよう、右に場所を空ける（下のページは左に残っていた） */
.flow li::before, .t6-steps li::before { left: auto !important; right: 18px; top: 14px; color: #eadfcb; }
.flow li h3, .t6-steps li h3 { padding-right: 52px; }

/* 相談の帯：回る点線の丸をやめ、止まった白い丸を2つ（黄色の中で見にくかった） */
.cta-box::before { animation: none; border: 0; background: rgba(255,255,255,.45); width: 240px; height: 240px; right: -80px; top: -90px; }
.cta-box::after { content: ""; position: absolute; right: 60px; bottom: -60px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255,255,255,.3); pointer-events: none; }
.cta-box > * { position: relative; z-index: 1; }

/* 上へボタン：文字をやめて「＾」だけ。スマホの下の固定ボタンと重ならない高さに */
.to-top { display: grid; place-items: center; font-size: 0; width: 48px; height: 48px; bottom: calc(96px + env(safe-area-inset-bottom)); }
.to-top::before { width: 12px; height: 12px; margin: 5px 0 0; border-left-width: 2.5px; border-top-width: 2.5px; }
@media (min-width: 960px) { .to-top { bottom: 28px; } }

/* SEO対策：2つのポイントはボタンの上に、カードで（11/9） */
.hero-points.hero-tiles { margin: 0 0 24px; padding: 0; border: 0; gap: 10px; max-width: 420px; }
.hero-tiles li { background: var(--tint); border: 0; border-radius: 18px; padding: 14px 16px; text-align: left; font-size: 12.5px; font-weight: 700; color: var(--sub); }
.hero-tiles b { display: block; font-size: 24px; color: var(--ink); margin-top: 2px; }
.hero-tiles b small { font-size: 12px; color: var(--sub); }
/* スマホの並び順：SEOのカードもボタンの上に */
@media (max-width: 767px) { .hero .hero-inner .hero-tiles { order: 4; } .hero .hero-inner .btn-row { order: 5; } }

/* 11/9 制作例の2段：段そのものは動かさず、横にスクロールする箱にする（動きはトップのスクリプトで少しずつ進める）。
   iPhoneで、横に長い段を丸ごと動かすと、上の段が止まったり時間がたつと消えたりしたため */
.t6-row, .t6-row.rev {
  animation: none !important; transform: none !important; will-change: auto; width: auto; max-width: 100%;
  overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  scroll-snap-type: none; padding: 0 0 6px;
}
.t6-row::-webkit-scrollbar { display: none; }
.t6-ph { backface-visibility: visible; }

/* 11/9 片山さん「触れても止まらないように」：段は指で横に動かせないようにする（動きはスクリプトだけ）。縦のスクロールはそのまま */
.t6-row, .t6-row.rev { overflow-x: hidden; touch-action: pan-y; }
