/* =========================================================
   日彩ペットセレモニー TOP — hi-fi design
   トンマナ：生成り白×余白 × 琥珀／金茶（日彩＝陽の彩り）
   × 明朝見出し＋ゴシック本文 ／ 静かなスクロール演出
   ベース：FIXPERT のデザインシステムを踏襲
   ========================================================= */
/* フォントはパンフレット（0714）に準拠：Shippori Mincho（見出し）＋ Zen Kaku Gothic New（本文） */
@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;500;700;900&family=Shippori+Mincho:wght@500;600;700;800&family=Manrope:wght@300;500;700;800&display=swap');

:root{
  --accent:#B07338;        /* 琥珀茶：見出しアクセント・ボタン */
  --accent-2:#E0B27A;      /* 明るい金茶：ダース背景上のアクセント */
  --accent-red:#C0392B;    /* 電話（緊急）導線 */
  --line-green:#06C755;    /* LINE 公式カラー */
  --ink:#2A2521;
  --ink-2:#514840;
  --muted:#8B7F73;
  --line:#E9E1D6;
  --bg:#FFFFFF;
  --bg-alt:#F8F3EB;        /* 生成り */
  --navy:#2E2620;          /* ダース：温かい焦茶 */
  --navy-2:#221C17;
  --radius:18px;
  --font-jp:'Zen Kaku Gothic New','Hiragino Kaku Gothic ProN',sans-serif;
  --font-mincho:'Shippori Mincho','Hiragino Mincho ProN',serif;
  --font-en:'Manrope',sans-serif;
  --ease:cubic-bezier(.22,.65,.18,1);
}

*{box-sizing:border-box;}
/* overflow-x:hiddenがbodyのみだとiOS Safariで横パンできてしまうためhtmlにも指定
   （clipはスクロールコンテナ化せずに切るモダンな指定。未対応環境はhiddenにフォールバック） */
html{scroll-behavior:smooth;overflow-x:hidden;overflow-x:clip;}
html,body{margin:0;}
body{
  font-family:var(--font-jp);
  color:var(--ink);
  background:var(--bg);
  line-height:1.9;
  font-size:16px;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
body[data-headfont="mincho"] h1,
body[data-headfont="mincho"] h2,
body[data-headfont="mincho"] h3,
body[data-headfont="mincho"] .plan-name,
body[data-headfont="mincho"] .cta-head,
body[data-headfont="mincho"] .trustband-head,
body[data-headfont="mincho"] .cb-head,
body[data-headfont="mincho"] .cb-close,
body[data-headfont="mincho"] .issue-close,
body[data-headfont="mincho"] .prez-title,
body[data-headfont="mincho"] .statement{
  font-family:var(--font-mincho);letter-spacing:.06em;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
p{margin:0;}
.container{max-width:1180px;margin:0 auto;padding:0 36px;}

/* ---------- kicker ---------- */
.kicker{display:flex;align-items:center;gap:14px;margin-bottom:22px;}
.kicker .en{font:800 12px/1 var(--font-en);letter-spacing:.24em;color:var(--accent);}
.kicker .ln{width:34px;height:2px;background:var(--accent);}
.kicker .jp{font-size:12.5px;color:var(--muted);letter-spacing:.14em;}

h2.sec-title{
  font-size:clamp(28px,3.6vw,42px);font-weight:900;line-height:1.32;
  letter-spacing:.02em;margin:0 0 18px;text-wrap:pretty;
  font-feature-settings:"palt" 1;font-kerning:normal;
}
h2.sec-title .ac{color:var(--accent);}
.sec-lead{font-size:16px;color:var(--ink-2);max-width:46em;text-wrap:pretty;}
.sec-lead .lead-em{color:var(--accent);font-weight:700;}
section.block{padding:118px 0;}
/* 白背景セクション共通：薄いドット背景（淡グレーalt・ダークは各自で上書き） */
.block{
  background-color:#fff;
  background-image:radial-gradient(rgba(58,44,30,.07) 1px,transparent 1px);
  background-size:14px 14px;background-position:-7px -7px;
}
section.block.alt{background:var(--bg-alt);}

/* ---------- buttons ---------- */
.btnrow{display:flex;gap:14px;flex-wrap:wrap;align-items:center;}
.btn{
  display:inline-flex;align-items:center;gap:14px;
  background:var(--accent);color:#fff;font-weight:700;font-size:17px;
  padding:17px 14px 17px 30px;border-radius:999px;letter-spacing:.04em;
  transition:transform .35s var(--ease),box-shadow .35s var(--ease),background .35s;
}
.btn .arr{
  flex:0 0 34px;width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,.16);
  display:inline-flex;align-items:center;justify-content:center;
  transition:transform .35s var(--ease),background .35s;
}
.btn .arr svg{width:15px;height:15px;}
.btn:hover{transform:translateY(-2px);box-shadow:0 14px 30px color-mix(in oklab,var(--accent),transparent 65%);background:color-mix(in oklab,var(--accent),black 12%);}
.btn:hover .arr{transform:translateX(3px);background:rgba(255,255,255,.28);}
.btn.ghost{background:transparent;color:var(--ink);border:1.5px solid #D6CCBE;}
.btn.ghost .arr{background:var(--bg-alt);color:var(--accent);}
.btn.ghost:hover{box-shadow:0 10px 24px rgba(58,44,30,.10);background:#fff;}
.hero .btn.ghost{color:#fff;border-color:rgba(255,255,255,.45);}
.hero .btn.ghost .arr{background:rgba(255,255,255,.14);color:#fff;}
.assure{font-size:13.5px;color:var(--muted);letter-spacing:.02em;}
.assure b{font-weight:700;color:var(--ink-2);}
.textlink{
  display:inline-flex;align-items:center;gap:10px;font-weight:700;font-size:14.5px;
  color:var(--accent);letter-spacing:.05em;border-bottom:1.5px solid transparent;
  transition:border-color .3s;
}
.textlink:hover{border-color:var(--accent);}

/* ---------- header ---------- */
.site-header{
  position:fixed;inset:0 0 auto 0;z-index:60;
  padding:0 36px;height:78px;display:flex;align-items:center;justify-content:space-between;
  color:#fff;transition:background .4s,color .4s,box-shadow .4s,height .4s;
}
.site-header .logo{display:flex;align-items:baseline;gap:12px;}
.site-header .logo .mark{font:800 21px/1 var(--font-en);letter-spacing:.1em;}
.site-header .logo .sub{font-size:10.5px;letter-spacing:.18em;opacity:.75;}
.site-header nav{display:flex;align-items:center;gap:30px;font-size:14.5px;font-weight:700;letter-spacing:.08em;}
.site-header nav a{position:relative;padding:6px 0;}
.site-header nav a::after{content:"";position:absolute;left:0;right:100%;bottom:0;height:2px;background:var(--accent);transition:right .35s var(--ease);}
.site-header nav a:hover::after{right:0;}
.site-header .hd-cta{
  background:var(--accent);color:#fff;font-weight:700;font-size:13.5px;
  padding:11px 48px;border-radius:999px;transition:background .3s,transform .3s;
}
.site-header .hd-cta:hover{background:color-mix(in oklab,var(--accent),black 12%);transform:translateY(-1px);}
.site-header.scrolled{background:rgba(255,255,255,.92);backdrop-filter:blur(14px);color:var(--ink);height:66px;box-shadow:0 1px 0 var(--line);}
.burger{display:none;background:none;border:none;cursor:pointer;padding:8px;}
.burger i{display:block;width:22px;height:2px;background:currentColor;margin:5px 0;transition:.3s;}

/* ---------- hero ---------- */
.hero{position:relative;min-height:100svh;display:flex;flex-direction:column;justify-content:flex-end;color:#fff;background:var(--navy);}
.hero-bg{position:absolute;inset:0;overflow:hidden;}
.hero-slides{position:absolute;inset:0;}
.hero-bg .hero-slide{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  opacity:0;transform:scale(1.04);will-change:opacity,transform;
}
.hero-bg .hero-slide:first-child{opacity:1;} /* fallback: アニメ無効時は1枚目を表示 */
/* 4枚クロスフェード（フェードイン/アウト＋ゆるやかなズーム） */
html.fx .hero-bg .hero-slide{animation:heroSlide 28s var(--ease) infinite;opacity:0;}
html.fx .hero-bg .hero-slide:nth-child(2){animation-delay:7s;}
html.fx .hero-bg .hero-slide:nth-child(3){animation-delay:14s;}
html.fx .hero-bg .hero-slide:nth-child(4){animation-delay:21s;}
@keyframes heroSlide{
  0%{opacity:0;transform:scale(1.09);}
  3%{opacity:1;}
  21%{opacity:1;}
  25%{opacity:0;transform:scale(1.02);}
  100%{opacity:0;transform:scale(1.02);}
}
.hero-veil{position:absolute;inset:0;background:
  linear-gradient(72deg,rgba(30,23,17,.84) 0%,rgba(30,23,17,.55) 46%,rgba(30,23,17,.18) 100%),
  linear-gradient(to top,rgba(30,23,17,.72) 0%,transparent 42%);}
.hero-inner{position:relative;width:100%;padding-top:150px;padding-bottom:64px;}
.hero-kicker{display:flex;align-items:center;gap:14px;margin-bottom:26px;}
.hero-kicker .en{font:800 12.5px/1 var(--font-en);letter-spacing:.3em;color:#E8C48F;}
.hero-kicker .ln{width:42px;height:2px;background:var(--accent);}
.hero-kicker .jp{font-size:14.5px;letter-spacing:.16em;color:rgba(255,255,255,.85);}
.hero h1{
  font-size:clamp(38px,5.4vw,66px);font-weight:900;line-height:1.36;
  letter-spacing:.02em;margin:0 0 14px;text-wrap:pretty;
  font-feature-settings:"palt" 1;font-kerning:normal;
}
.hero h1 .bo,.phero h1 .bo,h2.sec-title .bo,.issue-close .bo{margin-left:-.42em;}
.hero h1 .bc,.phero h1 .bc,h2.sec-title .bc,.issue-close .bc{margin-right:-.42em;}
.phero h1{font-feature-settings:"palt" 1;font-kerning:normal;}
.hero-sub{font-size:clamp(17px,1.9vw,23px);font-weight:700;letter-spacing:.06em;color:#F2E2CB;margin-bottom:22px;}
.hero-lead{font-size:18.5px;line-height:1.8;color:rgba(255,255,255,.86);max-width:38em;margin-bottom:34px;text-wrap:pretty;}
.hero .btnrow .btn{font-size:15.5px;}
.hero .assure{color:rgba(255,255,255,.62);margin-top:16px;}
.hero .assure b{color:rgba(255,255,255,.9);}

.hero-foot{position:relative;border-top:1px solid rgba(255,255,255,.18);background:rgba(30,23,17,.32);backdrop-filter:blur(6px);}
.hf-inner{display:flex;align-items:stretch;gap:0;}
.hf-item{flex:1;display:flex;align-items:baseline;gap:12px;padding:22px 28px;border-left:1px solid rgba(255,255,255,.14);}
.hf-item:first-child{border-left:none;padding-left:0;}
.hf-item .n{font:300 34px/1 var(--font-en);letter-spacing:.02em;white-space:nowrap;}
.hf-item .n small{font-size:14px;font-weight:500;margin-left:2px;font-family:var(--font-jp);}
.hf-item .k{font-size:12px;color:rgba(255,255,255,.66);letter-spacing:.06em;line-height:1.6;}
.scrollcue{display:flex;align-items:center;gap:10px;padding:22px 0;}
.scrollcue .t{font:700 10px/1 var(--font-en);letter-spacing:.3em;color:rgba(255,255,255,.65);}
.scrollcue .bar{width:1px;height:34px;background:rgba(255,255,255,.25);position:relative;overflow:hidden;}
.scrollcue .bar::after{content:"";position:absolute;left:0;top:-100%;width:100%;height:100%;background:#fff;animation:scue 2.2s var(--ease) infinite;}
@keyframes scue{0%{top:-100%;}55%{top:0;}100%{top:100%;}}

/* hero load reveal (fx-gated) */
html.fx .h-rev{opacity:0;transform:translateY(34px);transition:opacity 1.1s var(--ease),transform 1.1s var(--ease);}
html.fx body.loaded .h-rev{opacity:1;transform:none;}

/* ---------- scroll reveal (fx-gated: base CSS = final state) ---------- */
/* will-change: アニメ開始/終了時のレイヤー生成・破棄による「カクつき」防止（特に写真） */
html.fx [data-reveal]{opacity:0;transform:translateY(34px);transition:opacity 1s var(--ease),transform 1s var(--ease);will-change:opacity,transform;}
html.fx [data-reveal].in{opacity:1;transform:translateY(0);}
html.fx [data-reveal="left"]{transform:translateX(-40px);}
html.fx [data-reveal="right"]{transform:translateX(40px);}
html.fx [data-stagger]{opacity:1;transform:none;transition:none;}
html.fx [data-stagger]>*{opacity:0;transform:translateY(34px);transition:opacity .9s var(--ease),transform .9s var(--ease);will-change:opacity,transform;}
html.fx [data-stagger].in>*{opacity:1;transform:translateY(0);}
/* per-character title reveal（文字が左から順に出る） */
html.fx .sec-title .ch{display:inline-block;opacity:0;transform:translateY(.5em);transition:opacity .55s var(--ease),transform .55s var(--ease);}
html.fx .sec-title.in .ch{opacity:1;transform:none;}
.media-reveal{position:relative;overflow:hidden;border-radius:var(--radius);}
.media-reveal::after{content:"";position:absolute;inset:0;background:var(--bg-alt);transform:translateX(101%);z-index:2;}
html.fx .media-reveal::after{transform:translateX(0);transition:transform 1.1s var(--ease);will-change:transform;}
/* .media-reveal自身がdata-revealを兼ねるケース（Company代表写真等）にもマッチさせる */
html.fx [data-reveal].in .media-reveal::after,
html.fx [data-reveal].in.media-reveal::after{transform:translateX(101%);}
.media-reveal img{transition:transform 1.4s var(--ease);}
html.fx .media-reveal img{transform:scale(1.12);will-change:transform;}
html.fx [data-reveal].in .media-reveal img,
html.fx [data-reveal].in.media-reveal img{transform:scale(1);}

/* reduced motion / tweak=控えめ */
@media (prefers-reduced-motion: reduce){
  html.fx [data-reveal],html.fx [data-stagger]>*,html.fx .h-rev{opacity:1 !important;transform:none !important;transition:none !important;}
  /* （2026-09-16 無効化：写真の切り替えは reduce-motion でもフェードのみで動かす。末尾の指定を参照） */
  .mq-track{animation:none !important;}
}
body[data-motion="min"] [data-reveal],
body[data-motion="min"] [data-stagger]>*,
body[data-motion="min"] .h-rev{transform:none;transition:opacity .5s ease;}
body[data-motion="min"] .sec-title .ch{opacity:1 !important;transform:none !important;transition:none !important;}
body[data-motion="min"] .hero-bg .hero-slide{animation:none;transform:none;opacity:0;}
body[data-motion="min"] .hero-bg .hero-slide:first-child{opacity:1;}
body[data-motion="min"] .media-reveal::after{transition-duration:.5s;}
body[data-motion="min"] .scrollcue .bar::after{animation:none;}

/* ---------- photo placeholder ---------- */
.media{position:relative;background:#EFE8DC;overflow:hidden;border-radius:var(--radius);}
.media .ph-label{
  position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  font-size:12px;color:var(--muted);letter-spacing:.1em;
}
.media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
.media .credit{display:none;}
/* 写真が入ると ph-label は画像の下に隠れる（＝仮素材だと見えなくなる）。
   社内確認で仮を可視化したいときは <html data-photo="draft"> にする */
html[data-photo="draft"] .media .ph-label{
  z-index:3;inset:auto auto 10px 10px;display:inline-flex;
  background:rgba(63,56,51,.78);color:#fff;padding:5px 11px;border-radius:999px;
  font-size:11px;letter-spacing:.06em;
}

/* ---------- issue ---------- */
.issue-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:54px;}
.icard{
  background:#fff;border-radius:var(--radius);padding:34px 30px 30px;
  border:1px solid var(--line);display:flex;flex-direction:column;
  transition:transform .4s var(--ease),box-shadow .4s var(--ease);
}
.icard:hover{transform:translateY(-6px);box-shadow:0 22px 44px rgba(70,50,28,.10);}
.icard .no{font:300 38px/1 var(--font-en);color:var(--accent);margin-bottom:16px;}
.icard h3{display:flex;gap:10px;align-items:center;justify-content:center;font-size:20px;font-weight:700;line-height:1.55;margin:0 0 10px;}
.icard h3 .x{flex:0 0 auto;font:700 12px/1 var(--font-en);color:#B4523F;border:1.5px solid #B4523F;border-radius:4px;width:19px;height:19px;display:inline-flex;align-items:center;justify-content:center;}
.icard p{font-size:15px;color:var(--ink-2);}
.icard ul{margin:14px 0 0;padding:0;list-style:none;border-left:2px solid var(--line);display:flex;flex-direction:column;gap:6px;}
.icard ul li{font-size:15px;color:var(--muted);padding-left:16px;position:relative;line-height:1.7;}
.icard ul li::before{content:"";position:absolute;left:6px;top:.75em;width:4px;height:4px;border-radius:50%;background:#B9AB9A;}
.icard .res{
  margin-top:auto;padding:12px 16px;margin-top:18px;border-radius:10px;
  background:color-mix(in oklab,var(--accent),white 93%);
  color:color-mix(in oklab,var(--accent),black 18%);font-size:15px;font-weight:700;line-height:1.7;
}
.issue-close{margin-top:46px;text-align:center;font-size:clamp(23px,2.9vw,32px);font-weight:700;letter-spacing:.04em;line-height:1.4;}
.issue-close .em{color:var(--accent);}

/* 締めの一文の両脇に、犬と猫が座っているイラスト（背景が暗いので透過webp） */
.issue-close-row{
  margin-top:46px;display:flex;align-items:flex-end;justify-content:center;
  gap:clamp(12px,3.4vw,52px);
}
.issue-close-row .issue-close{margin-top:0;}
.issue-close-row .ic-pet{flex:0 0 auto;width:auto;height:clamp(104px,13vw,168px);}
@media (max-width:760px){
  /* SPは文字が長いので、2匹を上の行に並べて文章は下に回す */
  .issue-close-row{flex-wrap:wrap;gap:18px;margin-top:38px;}
  .issue-close-row .ic-pet{height:112px;}
  .issue-close-row .issue-close{order:3;width:100%;}
}

/* ---------- ISSUE: dark gradient theme (studio.design風) ---------- */
.issue-dark{
  position:relative;overflow:hidden;color:#fff;
  background:linear-gradient(180deg,#221C17 0%,#2E2620 30%,#4A3A2A 72%,#6E5638 100%);
}
.issue-dark .issue-head{text-align:center;}
.issue-dark .kicker{justify-content:center;margin-bottom:18px;}
.issue-dark .kicker .en{color:#E8C48F;}
.issue-dark .kicker .ln{background:#E8C48F;}
.issue-dark .kicker .jp{color:rgba(255,255,255,.62);}
.issue-dark h2.sec-title{color:#fff;}
/* illustration circle */
.icard-illust{
  width:clamp(120px,13vw,168px);aspect-ratio:1;margin:0 auto 22px;
  border-radius:50%;overflow:hidden;
  border:none;
  background:rgba(34,28,23,.55);box-shadow:0 18px 40px rgba(0,0,0,.28);
}
.icard-illust img{width:100%;height:100%;object-fit:cover;display:block;}
/* cards on dark */
.issue-dark .icard{
  background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.12);
  text-align:center;backdrop-filter:blur(2px);
}
.issue-dark .icard:hover{transform:translateY(-6px);box-shadow:0 26px 50px rgba(0,0,0,.34);}
.issue-dark .icard .no{display:none;}
.issue-dark .icard h3{color:#fff;justify-content:center;}
.issue-dark .icard p{color:rgba(255,255,255,.8);}
.issue-dark .icard ul{
  border-left:none;border-top:1px solid rgba(255,255,255,.14);
  margin-top:18px;padding-top:16px;text-align:left;gap:3px;
}
.issue-dark .icard ul li{color:rgba(255,255,255,.66);line-height:1.6;}
.issue-dark .icard ul li::before{background:#E8C48F;}
.issue-dark .icard h3 .x{color:#E08C6F;border-color:#E08C6F;}
.issue-dark .icard .res{
  background:rgba(176,115,56,.22);border:1px solid rgba(232,196,143,.32);
  color:#F4E5CE;text-align:left;
}
.issue-dark .issue-close{color:#fff;}
.issue-dark .issue-close .em{color:#E0B27A;}

/* ---------- value (zigzag) ---------- */
.vrow{display:grid;grid-template-columns:1.04fr .96fr;gap:64px;align-items:center;margin-top:84px;}
.container > div:first-child + .vrow{margin-top:40px;}
.vrow.flip .vmedia{order:2;}
.vmedia{aspect-ratio:16/11;border-radius:10px;}
.vbody .vnum{display:flex;align-items:center;gap:14px;margin-bottom:14px;}
.vbody .vnum .n{font:300 15px/1 var(--font-en);letter-spacing:.2em;color:var(--accent);}
.vbody .vnum .ln{width:30px;height:1.5px;background:var(--accent);}
.vbody h3{
  font-size:clamp(22px,2.4vw,28px);font-weight:700;line-height:1.6;margin:0 0 14px;letter-spacing:.02em;
  width:fit-content;max-width:100%;padding-bottom:13px;
  background-image:radial-gradient(var(--accent) 1.7px,transparent 2px);
  background-size:10px 3px;background-repeat:repeat-x;background-position:left bottom;
}
.vbody h3 .hl{color:var(--accent);font-weight:900;}
.vbody p{font-size:15px;color:var(--ink-2);max-width:34em;}

/* ---------- capability ---------- */
.capgrid{display:grid;grid-template-columns:.9fr 1.1fr;gap:70px;align-items:start;margin-top:10px;}
.capleft{position:sticky;top:110px;}
.cap-illust{display:block;width:100%;max-width:440px;margin-top:18px;mix-blend-mode:multiply;}
.caplist{display:flex;flex-direction:column;}
.caprow{display:flex;gap:24px;padding:30px 6px;border-top:1px solid var(--line);}
.caprow:last-child{border-bottom:1px solid var(--line);}
.caprow .cico{
  flex:0 0 48px;display:flex;align-items:flex-start;justify-content:center;
  color:var(--accent);margin-top:2px;
}
.caprow .cico svg{width:44px;height:44px;}
.caprow h3{font-size:23px;font-weight:700;margin:2px 0 8px;letter-spacing:.03em;}
.caprow p{font-size:15px;color:var(--ink-2);}

/* ---------- process ---------- */
.sec-cta{text-align:center;margin-top:52px;}
/* ステップのイラスト。flow-0N.webp は被写体の余白を4%に揃えて書き出してあるので、
   以前あった nth-child ごとの scale 補正は不要 */
.pstep-illust{display:block;width:100%;height:190px;object-fit:contain;margin:6px 0 14px;}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:40px;counter-reset:step;}
.pstep{
  position:relative;background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:32px 28px 28px;
}
.pstep .meta{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px;}
.pstep .sn{font:800 11px/1 var(--font-en);letter-spacing:.22em;color:var(--accent);}
.pstep .term{font-size:11.5px;color:var(--muted);background:var(--bg-alt);border-radius:999px;padding:5px 12px;letter-spacing:.06em;}
.pstep h3{font-size:23px;font-weight:700;margin:0 0 8px;}
.pstep p{font-size:13.5px;color:var(--ink-2);}
.pstep .out{margin-top:14px;font-size:12px;color:var(--muted);border-top:1px dashed var(--line);padding-top:12px;}
.pstep .parr{
  position:absolute;right:-19px;top:50%;transform:translateY(-50%);z-index:2;
  width:34px;height:34px;border-radius:50%;background:var(--accent);color:#fff;
  display:flex;align-items:center;justify-content:center;box-shadow:0 6px 14px color-mix(in oklab,var(--accent),transparent 65%);
}
.pstep .parr svg{width:13px;height:13px;}

/* ---------- results ---------- */
.result-wrap{display:grid;grid-template-columns:1.08fr .92fr;gap:56px;align-items:stretch;margin-top:40px;}
.result-photo{aspect-ratio:16/10;border-radius:12px;margin-bottom:26px;}
/* この写真はズーム演出なし（隣のグラフ・数値アニメと重なりカクつくため） */
html.fx .result-photo img{transform:none;transition:none;}
.chart-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:38px 40px 32px;box-shadow:0 24px 60px rgba(70,50,28,.07);}
#results .chart-card{display:flex;flex-direction:column;}
.chart-card .cc-title{font-size:15px;font-weight:700;letter-spacing:.04em;}
.chart-card .cc-sub{font-size:12px;color:var(--muted);margin-top:4px;}
.bars{display:flex;align-items:flex-end;gap:46px;height:230px;margin-top:54px;padding:0 12px;}
#results .bars{flex:1;min-height:230px;height:auto;}
.bars .col{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;gap:12px;}
.bars .bar{
  width:100%;border-radius:12px 12px 4px 4px;position:relative;height:var(--h);
}
/* 棒はheightではなくclip-pathで下から見せる：毎フレームのレイアウト計算と
   グラデーション再描画（伸び縮みして見える原因）をなくす。開始も.4s遅らせて
   写真のリビール開始フレームと衝突させない。-48pxは上に乗る金額ラベルの逃げ */
html.fx .bars .bar{clip-path:inset(100% 0 0 0);transition:clip-path 1.2s var(--ease) .4s;}
.bars .bar .amt{
  position:absolute;top:-32px;left:50%;transform:translateX(-50%);
  font:700 16px/1 var(--font-en);letter-spacing:.02em;white-space:nowrap;
}
.bars .bar.before{background:repeating-linear-gradient(45deg,#F1EAE0,#F1EAE0 7px,#EAE2D6 7px,#EAE2D6 14px);border:1px solid #E3D9CB;}
.bars .bar.after{background:linear-gradient(180deg,color-mix(in oklab,var(--accent),white 8%),var(--accent));}
.bars .bar.after .amt{color:var(--accent);}
.bars .cap{font-size:12.5px;color:var(--muted);letter-spacing:.06em;}
.bars .cap b{color:var(--ink);}
.chart-note{margin-top:18px;font-size:11.5px;color:var(--muted);border-top:1px solid var(--line);padding-top:14px;}
.rate-chips{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:30px 0 8px;}
/* contain＋等幅数字：カウントアップのテキスト書き換えがチップ外のレイアウトに波及しないように */
.rchip{background:var(--bg-alt);border-radius:14px;padding:26px 10px;text-align:center;contain:layout paint;}
.rchip [data-count]{font-variant-numeric:tabular-nums;}
.rchip .v{font:800 36px/1.05 var(--font-en);color:var(--ink);white-space:nowrap;font-variant-numeric:tabular-nums;}
.rchip .k{font-size:14px;font-weight:700;color:var(--ink-2);margin-top:8px;letter-spacing:.06em;}
.rate-cta{display:flex;width:fit-content;max-width:100%;margin:28px auto 0;text-align:center;}

/* ---------- pricing ---------- */
.plans{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:40px;}
.plan{
  position:relative;background:#fff;border:1.5px solid var(--accent);border-radius:var(--radius);
  padding:34px 28px 28px;display:flex;flex-direction:column;
  transition:transform .4s var(--ease),box-shadow .4s var(--ease);
}
.plan:hover{transform:translateY(-6px);box-shadow:0 22px 44px rgba(176,115,56,.13);}
.plan-name{font-size:26px;font-weight:900;letter-spacing:.02em;line-height:1.2;}
.plan-rec{margin-top:12px;font-size:13px;color:var(--ink-2);display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.plan-badge{
  display:inline-block;background:var(--accent);color:#fff;font-size:12px;font-weight:700;
  padding:4px 11px;border-radius:7px;letter-spacing:.03em;
}
.plan-price{margin:18px 0 4px;display:flex;flex-direction:column;gap:2px;}
.plan-price .pp-l{font-size:12px;color:var(--muted);letter-spacing:.08em;}
.plan-price .pp-v{font:800 40px/1 var(--font-en);color:var(--ink);letter-spacing:.01em;}
.plan-price .pp-v small{font-size:22px;font-weight:800;margin-left:3px;}
.plan-sechead{
  margin-top:18px;background:var(--bg-alt);border-radius:8px;padding:9px 14px;
  font-size:12.5px;font-weight:700;color:var(--ink-2);letter-spacing:.04em;
}
.plan-list{margin:14px 0 0;padding:0 2px;list-style:none;display:flex;flex-direction:column;gap:11px;}
.plan-list li{font-size:14px;color:var(--ink-2);padding-left:26px;position:relative;line-height:1.6;}
.plan-list li::before{content:"";position:absolute;left:3px;top:.42em;width:12px;height:7px;border-left:2px solid var(--accent);border-bottom:2px solid var(--accent);transform:rotate(-45deg);}
.plan-min{margin-top:auto;padding-top:18px;border-top:1px solid var(--line);display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-top:auto;}
.plan-min .l{font-size:12px;color:var(--muted);letter-spacing:.08em;}
.plan-min .v{font-size:18px;font-weight:700;color:var(--ink);}
.plan-cta{
  margin-top:20px;display:flex;align-items:center;justify-content:center;
  background:var(--accent);color:#fff;font-weight:700;font-size:15px;
  padding:15px 18px;border-radius:999px;
  transition:background .3s var(--ease),transform .3s var(--ease);
}
.plan-cta:hover{background:color-mix(in oklab,var(--accent),black 12%);transform:translateY(-1px);}
.fit-note{
  margin-top:34px;display:flex;gap:20px;align-items:flex-start;
  background:var(--bg-alt);border-radius:var(--radius);padding:26px 30px;
}
.fit-note .tag{
  flex:0 0 auto;font-size:11.5px;font-weight:700;letter-spacing:.14em;color:#fff;
  background:var(--ink);border-radius:6px;padding:7px 13px;margin-top:2px;
}
.fit-note p{font-size:13.5px;color:var(--ink-2);}
.price-cta{margin-top:38px;display:flex;justify-content:center;}

/* ---------- cases ---------- */
.case-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:40px;}
.ccard{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:transform .4s var(--ease),box-shadow .4s var(--ease);}
.ccard:hover{transform:translateY(-6px);box-shadow:0 22px 44px rgba(70,50,28,.10);}
.ccard .media{aspect-ratio:16/10;border-radius:0;}
.ccard .cbody{padding:24px 26px 26px;}
.ccard .ck{font-size:11.5px;color:var(--muted);letter-spacing:.08em;}
.ccard h3{font-size:17px;font-weight:700;margin:4px 0 12px;}
.ccard .cnum{display:flex;align-items:baseline;gap:12px;border-top:1px solid var(--line);padding-top:14px;}
.ccard .cnum .v{font:800 30px/1 var(--font-en);color:var(--accent);}
.ccard .cnum .s{font-size:12px;color:var(--muted);}
.case-note{margin-top:26px;font-size:11.5px;color:var(--muted);text-align:center;}

/* ---------- president ---------- */
.prez{display:grid;grid-template-columns:.82fr 1.18fr;gap:clamp(40px,5vw,70px);align-items:start;margin-top:4px;}
.prez-head .media{aspect-ratio:16/10;border-radius:12px;}
/* 写真の上つらとタイトル1行目の文字の上端を揃える（行送りの上余白ぶんを詰める） */
.prez-title{margin:-.32em 0 14px;font-size:clamp(22px,2.4vw,26px);font-weight:900;letter-spacing:.03em;line-height:1.5;}
.prez-title .ac{color:var(--accent);}
.prez .pmsg{margin:0;font-size:15px;color:var(--ink-2);max-width:36em;}
.prez .pmeta{margin-top:24px;display:flex;flex-wrap:wrap;gap:10px;}
.prez .pmeta span{font-size:12px;color:var(--ink-2);background:var(--bg-alt);border-radius:999px;padding:7px 16px;letter-spacing:.04em;}
.prez .btnrow{margin-top:30px;}

/* ---------- marquee ---------- */
.marquee{overflow:hidden;padding:0;}
.mq-track{display:flex;gap:64px;white-space:nowrap;width:max-content;animation:mq 36s linear infinite;}
.mq-track span{
  font:800 clamp(64px,9vw,118px)/1 var(--font-en);letter-spacing:.04em;
  /* 透明塗り＋strokeだとグリフ内部の重なり線が見えるため、
     背景色で塗り→paint-orderでstrokeを先に描き、内部線を塗りで隠す */
  color:#fff;-webkit-text-stroke:2.5px #E7DCCA;paint-order:stroke fill;
}
.mq-track span.fill{color:#F6EFE3;-webkit-text-stroke:0;}
@keyframes mq{to{transform:translateX(-50%);}}

/* ---------- CTA ---------- */
.cta{background:var(--navy);color:#fff;padding:120px 0;position:relative;overflow:hidden;}
.cta::before{
  content:"";position:absolute;right:-220px;top:-260px;width:680px;height:680px;border-radius:50%;
  background:radial-gradient(circle,color-mix(in oklab,var(--accent),transparent 55%),transparent 68%);
  pointer-events:none;
}
.cta-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:70px;align-items:center;position:relative;}
.cta .kicker .en{color:#E8C48F;}
.cta .kicker .jp{color:rgba(255,255,255,.6);}
.cta-head{font-size:clamp(28px,3.4vw,40px);font-weight:700;line-height:1.32;margin:0 0 18px;text-wrap:pretty;}
.cta-sub{font-size:14.5px;color:rgba(255,255,255,.74);max-width:36em;margin-bottom:34px;}
.cta .assure{color:rgba(255,255,255,.55);margin-top:18px;}
.cta .assure b{color:rgba(255,255,255,.85);}
.cta .btn{background:#fff;color:var(--ink);}
.cta .btn .arr{background:var(--bg-alt);color:var(--accent);}
.cta .btn:hover{background:#fff;box-shadow:0 16px 36px rgba(0,0,0,.35);}
.cta-free{display:flex;flex-direction:column;gap:14px;}
.cta-free .cf{
  display:flex;gap:16px;align-items:flex-start;
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.14);
  border-radius:16px;padding:20px 22px;
}
.cta-free .ck{
  flex:0 0 24px;height:24px;border-radius:50%;background:var(--accent);color:#fff;
  display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:800;margin-top:2px;
}
.cta-free b{display:block;font-size:15px;margin-bottom:3px;}
.cta-free span.d{display:block;font-size:12.5px;color:rgba(255,255,255,.62);line-height:1.7;}
.cta-tel{margin-top:6px;font-size:12.5px;color:rgba(255,255,255,.6);}
.cta-tel b{font:700 19px/1 var(--font-en);color:#fff;letter-spacing:.04em;margin-right:10px;}
.cta-addr{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:12px;font-size:12.5px;color:rgba(255,255,255,.6);line-height:1.7;}
.map-btn{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:700;font-size:12px;color:#fff;border:1px solid rgba(255,255,255,.35);border-radius:999px;padding:8px 34px;letter-spacing:.06em;transition:background .25s var(--ease),border-color .25s var(--ease);}
.map-btn:hover{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.6);}
.map-btn svg{width:13px;height:13px;}

/* ---------- footer ---------- */
.footer{background:var(--navy-2);color:rgba(255,255,255,.62);padding:54px 0 38px;font-size:12.5px;}
.foot-grid{display:flex;justify-content:space-between;align-items:flex-start;gap:30px;flex-wrap:wrap;}
.footer .logo .mark{font:800 19px/1 var(--font-en);letter-spacing:.1em;color:#fff;}
.footer .logo .sub{display:block;font-size:10.5px;letter-spacing:.16em;margin-top:8px;}
.footer nav{display:flex;gap:26px;flex-wrap:wrap;}
.footer nav a:hover{color:#fff;}
.foot-btm{margin-top:40px;padding-top:22px;border-top:1px solid rgba(255,255,255,.1);display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:11px;color:rgba(255,255,255,.4);}

/* ---------- mobile menu ---------- */
.m-menu{display:none;}
.site-header.menu-open{background:#fff;color:var(--ink);box-shadow:0 1px 0 var(--line);}
.site-header.menu-open .m-menu{
  display:flex;flex-direction:column;position:fixed;left:0;right:0;top:66px;
  background:#fff;color:var(--ink);padding:10px 22px 24px;
  box-shadow:0 24px 40px rgba(58,44,30,.12);
}
.site-header.menu-open .m-menu a{padding:14px 4px;border-bottom:1px solid var(--line);font-size:14.5px;font-weight:500;letter-spacing:.06em;}
/* burgerはSPでは下部バー（.m-cta）内にあるため、ヘッダーの兄弟要素として辿る */
.site-header.menu-open ~ .m-cta .burger i:nth-child(1){transform:translateY(5px) rotate(45deg);}
.site-header.menu-open ~ .m-cta .burger i:nth-child(2){opacity:0;}
.site-header.menu-open ~ .m-cta .burger i:nth-child(3){transform:translateY(-5px) rotate(-45deg);}

/* bars grow when revealed */
html.fx [data-reveal].in .bars .bar{clip-path:inset(-48px 0 0 0);}

/* ---------- mobile sticky CTA ---------- */
.m-cta{display:none;}

/* ---------- responsive ---------- */
.br-sp{display:none;}
@media(max-width:980px){
  .br-sp{display:inline;}
  body{line-height:1.8;}
  section.block{padding:84px 0;}
  .container{padding:0 22px;}
  .site-header{padding:0 22px;transition:background .4s,color .4s,box-shadow .4s,height .4s,transform .4s var(--ease);}
  .site-header.hd-hide{transform:translateY(-100%);} /* 下スクロールで収納・上スクロールで復帰 */
  .site-header nav{display:none;}
  /* ハンバーガーは下部バー内の丸角ボタン（アイコン＋「メニュー」ラベル） */
  .m-cta .burger{
    flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;
    width:52px;height:52px;border-radius:15px;background:#fff;color:var(--ink);
    padding:0;box-shadow:0 4px 14px rgba(0,0,0,.18);
  }
  .m-cta .burger i{width:16px;margin:1.5px 0;}
  .m-cta .burger::after{content:"メニュー";font-size:8.5px;font-weight:700;letter-spacing:.05em;line-height:1;margin-top:4px;}
  .hero-inner{padding-top:120px;}
  .hf-inner{flex-wrap:wrap;}
  .hf-item{flex:1 1 40%;padding:16px 18px;}
  .hf-item:first-child{padding-left:18px;}
  .scrollcue{display:none;}
  .issue-cards,.steps,.plans,.case-cards,.rate-chips{grid-template-columns:1fr;}
  .issue-cards{margin-top:30px;}
  .vrow,.vrow.flip{display:flex;flex-direction:column;align-items:stretch;gap:16px;margin-top:56px;}
  .vrow .vbody{display:contents;}
  .vrow .vnum{order:1;margin-bottom:0;}
  .vrow .vbody h3{order:2;margin-bottom:0;width:auto;max-width:100%;}
  .vrow .vmedia,.vrow.flip .vmedia{order:3;width:100%;}
  .vrow .vbody p{order:4;}
  .capgrid{grid-template-columns:1fr;gap:30px;}
  .capleft{position:static;}
  .result-wrap{grid-template-columns:1fr;gap:34px;}
  .bars{gap:22px;}
  .bars .cap{white-space:nowrap;}
  .rate-chips{grid-template-columns:repeat(3,1fr);gap:8px;}
  .rchip{padding:16px 6px;}
  .rchip .v{font-size:21px;}
  .rchip .k{font-size:12px;}
  .pstep .parr{right:50%;top:auto;bottom:-19px;transform:translateX(50%) rotate(90deg);}
  .prez{grid-template-columns:1fr;gap:26px;}
  .prez-title{margin-top:0;}
  .cta{padding:68px 0;}
  .cta-grid{grid-template-columns:1fr;gap:40px;}
  .fit-note{flex-direction:column;gap:12px;}
  .m-cta{ /* 背景なし＝ボタンが浮いて見える。透明部分はタップを透過 */
    display:flex;position:fixed;left:0;right:0;bottom:0;z-index:55;
    padding:10px 12px calc(10px + env(safe-area-inset-bottom));gap:8px;align-items:center;
    pointer-events:none;
  }
  .m-cta .btn,.m-cta .burger{pointer-events:auto;}
  .m-cta .btn{
    flex:1 1 auto;min-width:0;justify-content:center;padding:14px 12px;font-size:13.5px;white-space:nowrap;
    box-shadow:0 8px 24px rgba(52,36,20,.35);
  }
  body{padding-bottom:84px;}
}

/* ---------- trust band (prominent stats, studio.design風) ---------- */
.trustband{
  padding:clamp(64px,8vw,108px) 0;
  background-color:#fff;
  background-image:radial-gradient(rgba(58,44,30,.07) 1px,transparent 1px);
  background-size:14px 14px;
  background-position:-7px -7px;
}
.trustband-head{
  text-align:center;font-weight:900;line-height:1.5;letter-spacing:.02em;
  color:var(--ink);font-size:clamp(26px,3.6vw,42px);
  margin:0 auto clamp(40px,5vw,64px);max-width:24em;text-wrap:balance;
}
.trustband-head{font-feature-settings:"palt" 1;font-kerning:normal;}
.trustband-head .ac{color:var(--accent);}
.cm{margin-right:-.38em;}
.trustband-stats{
  display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(24px,4vw,56px);
  max-width:980px;margin:0 auto;
}
.tb-item{position:relative;text-align:center;display:flex;flex-direction:column;align-items:center;gap:14px;}
.tb-item + .tb-item::before{
  content:"";position:absolute;left:calc(-1 * clamp(12px,2vw,28px));top:6px;bottom:6px;
  width:1px;background:var(--line);
}
.tb-n{font:800 clamp(54px,7vw,96px)/1 var(--font-en);color:var(--accent);letter-spacing:.01em;white-space:nowrap;}
.tb-n small{font-size:.3em;font-weight:700;font-family:var(--font-jp);color:var(--ink);margin-left:5px;letter-spacing:.04em;}
.tb-k{font-size:14px;line-height:1.55;color:var(--ink-2);max-width:18em;}
@media (max-width:760px){
  /* SPのヒーローは英語キッカー＋メイン見出しのみ（情報過多の解消。CTAは画面下部固定のm-ctaが担う） */
  .hero-kicker .ln,.hero-kicker .jp,
  .hero-lead,.hero .btnrow,.hero .assure{display:none;}
  .hero-inner{padding-bottom:112px;} /* 下部固定のm-cta(約72px)に見出しが隠れない逃げ */
  .hero h1{margin-bottom:0;}
  .trustband-head{margin-bottom:16px;}
  .trustband-stats{grid-template-columns:1fr;gap:0;}
  .tb-item + .tb-item::before{display:none;}
  .tb-item{padding:28px 0;gap:8px;}
  .tb-item:first-child{padding-top:6px;}
  .tb-item:nth-child(1) .tb-n,
  .tb-item:nth-child(2) .tb-n{font-size:68px;}
  .tb-item + .tb-item{border-top:1px solid var(--line);}
}
@media (max-width:480px){
  h2.sec-title{font-size:25px;}
}

/* ---------- 右下 追従バナー（無料診断・PC専用） ---------- */
.float-cta{
  position:fixed;right:24px;bottom:24px;z-index:70;
  width:392px;max-width:calc(100vw - 32px);
  background:#fff;border:1px solid var(--line);border-radius:11px;
  box-shadow:0 20px 50px rgba(60,44,26,.22);
  overflow:hidden;
  transform:translateY(22px);opacity:0;pointer-events:none;
  transition:opacity .5s var(--ease),transform .5s var(--ease);
}
.float-cta.show{transform:none;opacity:1;pointer-events:auto;}
.float-cta-close{
  position:absolute;top:8px;right:8px;z-index:2;width:24px;height:24px;border-radius:50%;
  background:rgba(255,255,255,.92);border:1px solid var(--line);color:var(--muted);
  font-size:14px;line-height:1;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.12);
  display:flex;align-items:center;justify-content:center;transition:color .2s,transform .2s;
}
.float-cta-close:hover{color:var(--ink);transform:scale(1.08);}
.float-cta-link{display:flex;align-items:stretch;}
.float-cta-photo{flex:0 0 150px;overflow:hidden;}
.float-cta-photo img{width:100%;height:100%;min-height:108px;object-fit:cover;display:block;}
.float-cta-body{
  flex:1 1 auto;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:11px;
  padding:13px 18px;
}
.float-cta-head{font-size:15px;font-weight:700;line-height:1.65;color:var(--ink);word-break:auto-phrase;}
.float-cta-head .em{color:var(--accent);}
.float-cta-btn{
  display:flex;align-items:center;justify-content:center;gap:8px;align-self:stretch;
  background:var(--accent);color:#fff;font-size:13px;font-weight:700;
  padding:9px 18px;border-radius:999px;transition:background .25s var(--ease),transform .25s var(--ease);
}
.float-cta-link:hover .float-cta-btn{background:color-mix(in oklab,var(--accent),black 12%);transform:translateY(-1px);}
.float-cta-btn .arr{display:inline-flex;width:13px;height:13px;}
.float-cta-btn .arr svg{width:100%;height:100%;}
@media (max-width:980px){ .float-cta{display:none;} }

/* ---------- logo image (header switches white over hero / dark on scroll) ---------- */
.site-header .logo{align-items:center;}
.site-header .logo .logo-imgs{position:relative;display:block;height:26px;}
.site-header .logo .logo-img{height:26px;width:auto;display:block;}
.site-header .logo .logo-imgs .logo-dark{position:absolute;inset:0;opacity:0;transition:opacity .4s var(--ease);}
.site-header.scrolled .logo-imgs .logo-white,
.site-header.menu-open .logo-imgs .logo-white{opacity:0;}
.site-header.scrolled .logo-imgs .logo-dark,
.site-header.menu-open .logo-imgs .logo-dark{opacity:1;}
.footer .logo{display:flex;flex-direction:column;align-items:flex-start;gap:8px;}
.footer .logo .logo-img{height:26px;width:auto;display:block;}
@media (max-width:980px){
  .site-header .logo .logo-imgs,
  .site-header .logo .logo-img{height:22px;}
}

/* ---------- 中間CTA帯（上端カーブ・セクション間に挿入、コピー可変） ---------- */
.cta-band{
  position:relative;overflow:hidden;text-align:center;color:#fff;
  background:linear-gradient(118deg,#C98A45 0%,var(--accent) 42%,#7A4A1E 100%);
  padding:calc(var(--arc-h) + clamp(38px,4vw,56px)) 0 clamp(70px,8vw,96px);
}
.cta-band{--arc-h:clamp(80px,11vw,160px);} /* 円弧エリアの高さ（Uniforce実測: PC160px/SP64px相当） */
.cta-band::before{ /* 直前セクションの背景色が左右対称の円弧で食い込む。
   Uniforceのマスク画像を実測した曲線（2880x384中、両端y=116・中央y=381の円弧）をSVGマスクで再現。
   楕円border-radiusと違い曲率が一様なので、ゆったり滑らかに見える */
  content:"";position:absolute;top:-1px;left:0;
  width:100%;height:var(--arc-h);
  background-color:var(--cb-arc,#fff);
  /* 白背景セクション（ドット柄）から続いて見えるように同じドットを敷く */
  background-image:radial-gradient(rgba(58,44,30,.07) 1px,transparent 1px);
  background-size:14px 14px;background-position:-7px -7px;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2880 384' preserveAspectRatio='none'%3E%3Cpath d='M0 0h2880v117Q1440 646 0 116Z'/%3E%3C/svg%3E") center top/100% 100% no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2880 384' preserveAspectRatio='none'%3E%3Cpath d='M0 0h2880v117Q1440 646 0 116Z'/%3E%3C/svg%3E") center top/100% 100% no-repeat;
}
.cta-band.arc-alt::before{background-image:none;} /* altセクションは無地 */
.cta-band.arc-alt{--cb-arc:var(--bg-alt);}
.cb-deco{position:absolute;inset:0;pointer-events:none;user-select:none;}
.cb-deco span{
  position:absolute;font:800 clamp(170px,24vw,320px)/1 var(--font-en);
  color:rgba(255,255,255,.05);
}
.cb-deco span:nth-child(1){left:-3%;top:4%;transform:rotate(-18deg);}
.cb-deco span:nth-child(2){left:14%;bottom:-22%;transform:rotate(12deg);}
.cb-deco span:nth-child(3){right:22%;top:-14%;transform:rotate(24deg);}
.cb-deco span:nth-child(4){right:5%;bottom:-18%;transform:rotate(-14deg);}
.cb-deco span:nth-child(5){right:-4%;top:16%;transform:rotate(8deg);}
.cb-if{font-size:clamp(14px,1.6vw,17px);font-weight:700;letter-spacing:.06em;}
.cb-head{margin:8px 0 4px;font-size:clamp(24px,3.3vw,40px);font-weight:900;line-height:1.55;letter-spacing:.03em;font-feature-settings:"palt" 1;}
.cb-close{font-size:clamp(14.5px,1.7vw,18px);font-weight:700;}
.cb-sub{margin-top:clamp(28px,4vw,46px);font-size:clamp(13.5px,1.5vw,15.5px);font-weight:700;color:rgba(255,255,255,.92);}
.cta-band .btnrow{justify-content:center;margin-top:20px;}
.cta-band .btn.cb-w{background:#fff;color:var(--accent);}
.cta-band .btn.cb-w .arr{background:color-mix(in oklab,var(--accent),transparent 88%);color:var(--accent);}
.cta-band .btn.cb-w:hover{background:#fff;box-shadow:0 14px 30px rgba(52,36,20,.35);}
.cta-band .btn.cb-line{background:transparent;border:1.5px solid rgba(255,255,255,.6);color:#fff;}
.cta-band .btn.cb-line .arr{background:rgba(255,255,255,.16);color:#fff;}
.cta-band .btn.cb-line:hover{background:rgba(255,255,255,.1);box-shadow:none;border-color:#fff;}
@media (max-width:760px){
  .cta-band .btnrow{flex-direction:column;align-items:stretch;max-width:340px;margin-left:auto;margin-right:auto;}
  .cta-band .btn{justify-content:center;}
}

/* =========================================================
   日彩ペットセレモニー 追加コンポーネント
   （FIXPERTベースに対する差分。ここから下が日彩固有）
   ========================================================= */

/* ---------- 4カラム版グリッド（選ばれる理由・火葬プラン・流れ） ---------- */
.plans.four,
.steps.four{grid-template-columns:repeat(4,1fr);gap:18px;}
@media(max-width:1080px){
  .plans.four,.steps.four{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:760px){
  .plans.four,.steps.four{grid-template-columns:1fr;}
}

/* ---------- CTAボタン：電話 / LINE ----------
   弔事のトーンに配慮し、電話はブランドの琥珀色（赤は注意書きにのみ使用） */
.btn.tel{background:var(--accent);}
.btn.tel:hover{background:color-mix(in oklab,var(--accent),black 12%);box-shadow:0 14px 30px color-mix(in oklab,var(--accent),transparent 65%);}
.btn.line{background:var(--line-green);}
.btn.line:hover{background:color-mix(in oklab,var(--line-green),black 12%);box-shadow:0 14px 30px color-mix(in oklab,var(--line-green),transparent 60%);}
.btn .ico{flex:0 0 26px;width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;}
.btn .ico svg{width:100%;height:100%;}
/* 電話番号を大きく見せるボタン（最終CTA用） */
.telbox{
  display:inline-flex;flex-direction:column;gap:2px;background:#fff;border-radius:16px;
  padding:16px 30px;border:1.5px solid var(--line);
}
.telbox .l{font-size:11.5px;letter-spacing:.14em;color:var(--muted);}
.telbox .n{font:800 30px/1.2 var(--font-en);color:var(--ink);letter-spacing:.02em;font-variant-numeric:tabular-nums;}
.telbox .h{font-size:12px;color:var(--muted);}

/* ---------- 体重別 料金表 ---------- */
.ptable-wrap{margin-top:38px;overflow-x:auto;-webkit-overflow-scrolling:touch;}
.ptable{
  width:100%;min-width:640px;border-collapse:separate;border-spacing:0;
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;
  font-size:14.5px;
}
.ptable th,.ptable td{padding:16px 18px;text-align:center;border-bottom:1px solid var(--line);}
.ptable thead th{
  background:var(--bg-alt);font-size:12.5px;font-weight:700;color:var(--ink-2);
  letter-spacing:.06em;line-height:1.5;
}
.ptable thead th.feat{background:color-mix(in oklab,var(--accent),white 84%);color:var(--accent);}
.ptable tbody th{
  text-align:left;font-weight:700;color:var(--ink);font-size:14px;line-height:1.6;
  background:#fff;
}
.ptable tbody th small{display:block;font-weight:400;font-size:12px;color:var(--muted);margin-top:2px;}
.ptable td{font:700 16px/1 var(--font-en);color:var(--ink-2);font-variant-numeric:tabular-nums;white-space:nowrap;}
.ptable td.feat{background:color-mix(in oklab,var(--accent),white 92%);color:var(--accent);font-weight:800;}
.ptable tbody tr:last-child th,.ptable tbody tr:last-child td{border-bottom:none;}
.ptable tbody tr:hover th,.ptable tbody tr:hover td{background:color-mix(in oklab,var(--bg-alt),white 30%);}
.ptable tbody tr:hover td.feat{background:color-mix(in oklab,var(--accent),white 86%);}
.ptable-note{margin-top:16px;font-size:11.5px;color:var(--muted);}
.ptable-note b{color:var(--accent-red);font-weight:700;}

/* ---------- 対応エリア ---------- */
.area-wrap{display:grid;grid-template-columns:.95fr 1.05fr;gap:60px;align-items:center;margin-top:36px;}
.area-chips{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px;}
.area-chips span{
  font-size:14px;font-weight:700;color:var(--ink-2);background:#fff;
  border:1px solid var(--line);border-radius:999px;padding:10px 20px;letter-spacing:.04em;
  transition:transform .3s var(--ease),border-color .3s,color .3s;
}
.area-chips span.main{background:var(--accent);border-color:var(--accent);color:#fff;}
.area-chips span:hover{transform:translateY(-2px);border-color:var(--accent);color:var(--accent);}
.area-chips span.main:hover{color:#fff;}
.area-note{margin-top:22px;font-size:12.5px;color:var(--muted);}
.area-map{border-radius:var(--radius);overflow:hidden;border:1px solid var(--line);background:var(--bg-alt);aspect-ratio:4/3;}
@media(max-width:980px){ .area-wrap{grid-template-columns:1fr;gap:32px;} }

/* ---------- お客様の声 ---------- */
.voice-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:40px;}
.vcard{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:34px 30px 30px;display:flex;flex-direction:column;position:relative;
  transition:transform .4s var(--ease),box-shadow .4s var(--ease);
}
.vcard:hover{transform:translateY(-6px);box-shadow:0 22px 44px rgba(70,50,28,.10);}
.vcard::before{
  content:"”";position:absolute;top:6px;right:22px;
  font:900 78px/1 var(--font-mincho);color:color-mix(in oklab,var(--accent),white 82%);
}
.vcard .vmeta{display:flex;align-items:center;gap:12px;}
.vcard .vava{
  flex:0 0 52px;width:52px;height:52px;border-radius:50%;background:var(--bg-alt);
  display:flex;align-items:center;justify-content:center;overflow:hidden;
}
/* 対応ペット帯のイラスト（透過webp）を流用。全身の座り姿なので、
   丸で切らずに収める（拡大して切ると足先が欠けて事故に見える） */
.vcard .vava img{width:100%;height:100%;object-fit:contain;}
.vcard .vpet{font-size:14.5px;font-weight:700;color:var(--ink);line-height:1.5;}
.vcard .varea{font-size:11.5px;color:var(--muted);letter-spacing:.06em;}
.vcard .vbody-txt{margin-top:20px;font-size:14px;color:var(--ink-2);line-height:1.95;}
.vcard .vname{margin-top:auto;padding-top:18px;font-size:12px;color:var(--muted);text-align:right;}
@media(max-width:980px){ .voice-cards{grid-template-columns:1fr;} }

/* ---------- 想い（ステートメント） ---------- */
.statement{
  font-size:clamp(20px,2.6vw,30px);font-weight:700;line-height:2.1;letter-spacing:.08em;
  text-align:center;color:var(--ink);text-wrap:balance;
}
.statement .em{color:var(--accent);}

/* ---------- スマホ追従CTA（電話＋LINEの2本） ---------- */
@media(max-width:980px){
  .m-cta{gap:8px;}
  .m-cta .btn{flex:1;justify-content:center;font-size:14px;padding:14px 10px;gap:8px;}
  .m-cta .btn .arr{display:none;}
}

/* ---------- ヒーロー：写真未入稿時のフォールバック ----------
   「日彩＝陽の彩り」を表す夕暮れのグラデーション。
   assets/hero-*.jpg を入れると写真が上に乗る（画像が無い場合は img が自身を remove） */
.hero{
  background:
    radial-gradient(120% 90% at 78% 18%, #E6B274 0%, rgba(230,178,116,0) 58%),
    linear-gradient(168deg,#5C4630 0%,#3A2E22 45%,#2A211A 100%);
}

/* ---------- テキストロゴ（日彩 ／ ロゴ画像が入るまでの仮） ---------- */
.site-header .logo{align-items:baseline;}
.mark-jp{
  font-family:var(--font-mincho);font-weight:700;font-size:20px;letter-spacing:.12em;
  line-height:1;white-space:nowrap;
}
.footer .logo{display:flex;flex-direction:column;gap:8px;align-items:flex-start;}
.footer .mark-jp{color:#fff;font-size:19px;}
.footer .logo .sub{font:700 10px/1 var(--font-en);letter-spacing:.22em;opacity:.55;}

/* ヒーロー見出しのアクセント（写真上なので明るい金茶） */
.hero h1 .ac{color:var(--accent-2);}

/* ---------- 資格チップ ---------- */
.license-chips{display:flex;flex-wrap:wrap;gap:9px;margin-top:28px;}
.license-chips span{
  font-size:12px;font-weight:700;color:var(--accent);letter-spacing:.04em;
  background:#fff;border:1px solid color-mix(in oklab,var(--accent),white 62%);
  border-radius:999px;padding:8px 16px;
}

/* ---------- おすすめプラン（立会い個別） ---------- */
.plan.feat{
  border-width:2px;
  box-shadow:0 18px 40px color-mix(in oklab,var(--accent),transparent 88%);
}
.plan.feat::after{
  content:"おすすめ";position:absolute;top:-13px;left:50%;transform:translateX(-50%);
  background:var(--accent);color:#fff;font-size:11.5px;font-weight:700;letter-spacing:.1em;
  padding:5px 18px;border-radius:999px;white-space:nowrap;
}
.plan .plan-price .pp-v{font-family:var(--font-en);}

/* ---------- ご不安カード（イラスト無し版の余白調整） ---------- */
.issue-cards .icard{padding-top:34px;}

/* ---------- 対応エリアの地図プレースホルダ ---------- */
.area-map{display:flex;align-items:center;justify-content:center;position:relative;}

/* ---------- SPヒーロー：メッセージを残す ----------
   FIXPERTはSPでリード文・CTAを隠す設計だが、ペット供養では冒頭の言葉が要。
   ボタンは下部固定CTAに任せ、リード文・受付案内は表示する */
@media (max-width:760px){
  .hero-kicker .jp{display:block;font-size:12px;letter-spacing:.1em;}
  .hero-kicker{flex-wrap:wrap;gap:8px;margin-bottom:18px;}
  .hero-lead{display:block;font-size:14.5px;line-height:1.95;margin-bottom:18px;}
  .hero .assure{display:block;font-size:11.5px;line-height:1.8;}
  .hero-inner{padding-bottom:126px;}
  /* 明朝＋字間ぶん、SPでは1行に収まるサイズまで落とす（改行位置を意図通りに） */
  .hero h1{font-size:31px;line-height:1.5;margin-bottom:20px;}
}

/* =========================================================
   やさしいトーン（ロゴ準拠）
   ロゴ＝水彩の朝陽・桜・墨茶。重いダークセクションをやめ、
   全体を「明るい・やわらかい」トーンに置き換える上書き層。
   ここが日彩のトンマナの本体。以前の琥珀×焦茶ダークは全て上書きされる。
   ========================================================= */
:root{
  --accent:#BC6851;        /* 珊瑚（ロゴの夕陽・リボン）：見出し・ボタン */
  --accent-2:#F0A98F;      /* 淡い珊瑚：装飾 */
  --sakura:#EFA9AE;        /* 桜 */
  --gold:#F5C86F;          /* 朝陽の金 */
  --cream:#FDF6F0;         /* 生成りクリーム */
  --ink:#4A3A2E;           /* 墨茶（ロゴの「日彩」の色） */
  --ink-2:#6E5A4A;
  --muted:#9A8878;
  --line:#F0E2D8;
  --bg:#FFFFFF;
  --bg-alt:#FDF5EF;
  --navy:#57433A;          /* ダース：やわらかい焦茶（フッターのみ） */
  --navy-2:#4A3A2E;
}

/* ドット柄をやさしく */
.block{background-image:radial-gradient(rgba(188,104,81,.06) 1px,transparent 1px);}
.cta-band::before{background-image:radial-gradient(rgba(188,104,81,.06) 1px,transparent 1px);}

/* ---------- ヘッダー：明るいヒーローに載るので墨茶に ---------- */
.site-header{color:var(--ink);}
.site-header.scrolled{background:rgba(255,255,255,.94);}

/* ---------- ヒーロー：朝陽のグラデーション（明るい） ---------- */
.hero{
  color:var(--ink);
  background:
    radial-gradient(78% 58% at 18% 72%, rgba(245,200,111,.55) 0%, rgba(245,200,111,0) 62%),
    radial-gradient(62% 52% at 88% 16%, rgba(239,169,174,.50) 0%, rgba(239,169,174,0) 66%),
    linear-gradient(168deg,#FFFBF7 0%,#FDF0E6 42%,#FBE3DC 74%,#F9DDDF 100%);
}
/* 写真が入ったときも白く霞ませて、やさしさを保つ */
.hero-veil{background:
  linear-gradient(72deg,rgba(255,251,247,.90) 0%,rgba(255,248,242,.66) 48%,rgba(255,245,238,.30) 100%),
  linear-gradient(to top,rgba(255,247,240,.82) 0%,transparent 46%);}
.hero h1{color:var(--ink);}
.hero h1 .ac{color:var(--accent);}
.hero-kicker .en{color:var(--accent);}
.hero-kicker .ln{background:var(--accent-2);}
.hero-kicker .jp{color:var(--ink-2);}
.hero-lead{color:var(--ink-2);}
.hero .assure{color:var(--muted);}
.hero .assure b{color:var(--ink-2);}
.hero .btn.ghost{color:var(--ink);border-color:#E4CFC2;}
.hero .btn.ghost .arr{background:rgba(188,104,81,.10);color:var(--accent);}
.hero-foot{border-top:1px solid rgba(188,104,81,.16);background:rgba(255,255,255,.34);}
.hf-item{border-left:1px solid rgba(188,104,81,.14);}
.hf-item .k{color:var(--muted);}
.scrollcue .t{color:var(--muted);}
.scrollcue .bar{background:rgba(188,104,81,.22);}
.scrollcue .bar::after{background:var(--accent);}

/* ---------- 「ご不安」セクション：ダーク → 桜のグラデーション ---------- */
.issue-dark{
  color:var(--ink);
  background:linear-gradient(180deg,#FFFFFF 0%,#FDF2EC 34%,#FAE4E2 72%,#F7DADE 100%);
}
.issue-dark .kicker .en{color:var(--accent);}
.issue-dark .kicker .ln{background:var(--accent-2);}
.issue-dark .kicker .jp{color:var(--muted);}
.issue-dark h2.sec-title{color:var(--ink);}
.issue-dark .icard{
  background:rgba(255,255,255,.86);border:1px solid rgba(255,255,255,.9);
  box-shadow:0 18px 40px rgba(188,104,81,.09);backdrop-filter:blur(2px);
}
.issue-dark .icard:hover{box-shadow:0 26px 50px rgba(188,104,81,.16);}
.issue-dark .icard h3{color:var(--ink);}
.issue-dark .icard p{color:var(--ink-2);}
.issue-dark .icard ul{border-top:1px solid var(--line);}
.issue-dark .icard ul li{color:var(--muted);}
.issue-dark .icard ul li::before{background:var(--sakura);}
.issue-dark .icard .res{
  background:rgba(188,104,81,.07);border:1px solid rgba(188,104,81,.16);color:var(--accent);
}
.issue-close{color:var(--ink);}
.issue-close .em{color:var(--accent);}

/* ---------- CTAバンド：桜色の帯（白文字をやめ、墨茶で読む） ---------- */
.cta-band{
  color:var(--ink);
  background:linear-gradient(118deg,#FDEBDC 0%,#FADAD0 44%,#F6DCE2 100%);
}
.cb-deco span{color:rgba(188,104,81,.07);font-family:var(--font-mincho);}
.cb-if{color:var(--accent);}
.cb-head{color:var(--ink);}
.cb-close{color:var(--ink-2);}
.cb-sub{color:var(--muted);}
.cta-band .btn.cb-w{background:var(--accent);color:#fff;}
.cta-band .btn.cb-w .arr{background:rgba(255,255,255,.2);color:#fff;}
.cta-band .btn.cb-w:hover{background:color-mix(in oklab,var(--accent),black 10%);box-shadow:0 14px 30px rgba(188,104,81,.32);}
.cta-band .btn.cb-line{background:var(--line-green);border:none;color:#fff;}
.cta-band .btn.cb-line .arr{background:rgba(255,255,255,.22);color:#fff;}
.cta-band .btn.cb-line:hover{background:color-mix(in oklab,var(--line-green),black 10%);border:none;}

/* ---------- 最終CTA：ダーク → 朝陽のグラデーション ---------- */
.cta{
  color:var(--ink);
  background:
    radial-gradient(70% 60% at 88% 12%, rgba(239,169,174,.42) 0%, rgba(239,169,174,0) 62%),
    linear-gradient(170deg,#FFFCF8 0%,#FDEFE4 48%,#FAE0DE 100%);
}
.cta::before{display:none;}
.cta .kicker .en{color:var(--accent);}
.cta .kicker .jp{color:var(--muted);}
.cta-head{color:var(--ink);}
.cta-sub{color:var(--ink-2);}
.cta .assure{color:var(--muted);}
.cta .assure b{color:var(--ink-2);}
.cta .btn.tel{background:var(--accent);color:#fff;}
.cta .btn.tel .arr{background:rgba(255,255,255,.2);color:#fff;}
.cta .btn.tel:hover{background:color-mix(in oklab,var(--accent),black 10%);}
.cta .btn.line{background:var(--line-green);color:#fff;}
.cta .btn.line .arr{background:rgba(255,255,255,.22);color:#fff;}
.cta .btn.line:hover{background:color-mix(in oklab,var(--line-green),black 10%);}
.cta-free .cf{background:rgba(255,255,255,.8);border:1px solid var(--line);box-shadow:0 12px 30px rgba(188,104,81,.06);}
.cta-free b{color:var(--ink);}
.cta-free span.d{color:var(--muted);}
.cta-tel{color:var(--muted);}
.cta-tel b{color:var(--ink);}
.cta-addr{color:var(--muted);}
.map-btn{color:var(--accent);border:1px solid rgba(188,104,81,.30);}
.map-btn:hover{background:rgba(188,104,81,.08);border-color:var(--accent);}

/* ---------- マーキー：桜色の輪郭 ---------- */
.mq-track span{color:#fff;-webkit-text-stroke:2.5px #F3D9D2;}
.mq-track span.fill{color:#FCEDE8;}

/* ---------- フッター：ロゴの墨茶で、やわらかく締める ---------- */
.footer{background:var(--navy-2);color:rgba(255,255,255,.66);}

/* ---------- 細部 ---------- */
.trustband-head .ac{color:var(--accent);}
.tb-item .tb-n{color:var(--accent);}
.plan.feat::after{background:var(--accent);}
.ptable thead th.feat{background:rgba(188,104,81,.10);color:var(--accent);}
.ptable td.feat{background:rgba(188,104,81,.055);color:var(--accent);}
.vcard::before{color:rgba(239,169,174,.45);}
.area-chips span.main{background:var(--accent);border-color:var(--accent);}
.license-chips span{background:#fff;border-color:rgba(188,104,81,.26);color:var(--accent);}
.issue-dark .issue-close{color:var(--ink);}
.issue-dark .issue-close .em{color:var(--accent);}

/* =========================================================
   ヒーローの桜モーション
   咲くらクリニック（sakura-clinic.jp）は webm 動画で実装しているが、
   ここは CSS のみで再現：ぼかした花びらが手前〜奥をゆっくり漂う。
   素材不要・軽量・色/数/速さを後から調整できる。
   ========================================================= */
.petals{position:absolute;inset:-10% -5%;pointer-events:none;overflow:hidden;z-index:1;}
.petals span{
  position:absolute;display:block;
  /* 花びらの形：片側だけ尖らせた楕円 */
  border-radius:78% 22% 62% 38% / 62% 38% 62% 38%;
  background:radial-gradient(120% 120% at 30% 28%,
    rgba(255,214,216,.95) 0%,
    rgba(246,176,182,.85) 42%,
    rgba(236,146,156,.62) 100%);
  will-change:transform;
  animation:petalFall linear infinite;
}
/* 奥行き：小さく薄くボケた「遠く」〜 大きく強くボケた「手前」 */
.petals span:nth-child(1) {left:4%;  top:-12%; width:210px;height:190px;filter:blur(22px);opacity:.55;animation-duration:34s;animation-delay:-4s;}
.petals span:nth-child(2) {left:88%; top:-18%; width:250px;height:220px;filter:blur(26px);opacity:.5; animation-duration:41s;animation-delay:-18s;}
.petals span:nth-child(3) {left:22%; top:-8%;  width:64px; height:56px; filter:blur(5px); opacity:.75;animation-duration:26s;animation-delay:-9s;}
.petals span:nth-child(4) {left:41%; top:-14%; width:96px; height:84px; filter:blur(9px); opacity:.6; animation-duration:30s;animation-delay:-22s;}
.petals span:nth-child(5) {left:63%; top:-6%;  width:48px; height:42px; filter:blur(3px); opacity:.8; animation-duration:23s;animation-delay:-2s;}
.petals span:nth-child(6) {left:74%; top:-16%; width:132px;height:116px;filter:blur(13px);opacity:.55;animation-duration:36s;animation-delay:-13s;}
.petals span:nth-child(7) {left:14%; top:-5%;  width:38px; height:33px; filter:blur(2px); opacity:.85;animation-duration:21s;animation-delay:-16s;}
.petals span:nth-child(8) {left:53%; top:-20%; width:180px;height:158px;filter:blur(18px);opacity:.5; animation-duration:39s;animation-delay:-6s;}
.petals span:nth-child(9) {left:33%; top:-7%;  width:56px; height:50px; filter:blur(4px); opacity:.72;animation-duration:28s;animation-delay:-25s;}
.petals span:nth-child(10){left:95%; top:-9%;  width:72px; height:64px; filter:blur(7px); opacity:.62;animation-duration:32s;animation-delay:-11s;}
.petals span:nth-child(11){left:8%;  top:-15%; width:110px;height:96px; filter:blur(11px);opacity:.58;animation-duration:35s;animation-delay:-29s;}
.petals span:nth-child(12){left:47%; top:-4%;  width:34px; height:30px; filter:blur(2px); opacity:.8; animation-duration:19s;animation-delay:-7s;}
.petals span:nth-child(13){left:81%; top:-6%;  width:52px; height:46px; filter:blur(4px); opacity:.7; animation-duration:25s;animation-delay:-20s;}
.petals span:nth-child(14){left:67%; top:-13%; width:88px; height:78px; filter:blur(8px); opacity:.6; animation-duration:31s;animation-delay:-3s;}
.petals span:nth-child(15){left:27%; top:-18%; width:230px;height:200px;filter:blur(24px);opacity:.42;animation-duration:44s;animation-delay:-33s;}
.petals span:nth-child(16){left:58%; top:-10%; width:44px; height:39px; filter:blur(3px); opacity:.78;animation-duration:24s;animation-delay:-14s;}

/* 落ちながら、風に押されて左右に揺れる */
@keyframes petalFall{
  0%  {transform:translate3d(0,0,0) rotate(0deg);}
  25% {transform:translate3d(-40px,32vh,0) rotate(70deg);}
  50% {transform:translate3d(28px,62vh,0) rotate(150deg);}
  75% {transform:translate3d(-22px,92vh,0) rotate(240deg);}
  100%{transform:translate3d(16px,128vh,0) rotate(340deg);}
}
/* 「動きを減らす」設定の人には、静かに散らばった状態で止めて見せる */
@media (prefers-reduced-motion: reduce){
  .petals span{animation:none;transform:translateY(46vh);}
}

/* =========================================================
   清潔感レイヤー（nono-medtown.com 参照）
   「白と薄ピンク・パキッと」。やり方は色ではなく引き算：
   ・背景は白／ごく淡いオフ白のみ。柄（ドット）は使わない
   ・淡い色を広い面にベタ塗りしない。ピンクは差し色に回す
   ・角丸を小さく、影を消し、境界は細線と余白で作る
   ・見出しの太りを落とす（明朝は維持）
   ========================================================= */
:root{
  --accent:#C75E74;        /* 桜（濃いめ）：線・文字・ボタン。差し色として小面積に */
  --accent-2:#F0AEBB;      /* 淡い桜 */
  --sakura:#EFA9AE;
  --gold:#F5C86F;          /* 朝陽の金：ごく控えめに */
  --ink:#3F3833;           /* 真っ黒にしない */
  --ink-2:#6B615A;
  --muted:#9A9089;
  --line:#EFE7E5;          /* 細い境界線 */
  --bg:#FFFFFF;
  --bg-alt:#FBF8F7;        /* ほぼ白のオフホワイト */
  --radius:10px;           /* 18px → 10px。輪郭をパキッと */
}

/* ---- 背景：柄を廃止、白基調に ---- */
.block{background-color:#fff;background-image:none;}
section.block.alt{background:var(--bg-alt);}
.cta-band::before{background-image:none;}

/* ---- 見出し：太りを落とす（明朝は維持） ---- */
h2.sec-title{font-weight:600;letter-spacing:.05em;}
.hero h1{font-weight:600;}
.cb-head{font-weight:600;}
.cta-head{font-weight:600;}
.statement{font-weight:500;}
.trustband-head{font-weight:600;}
.issue-close{font-weight:500;}
.plan-name{font-weight:600;}

/* ---- ヒーロー：白地に、桜のにじみだけ ---- */
.hero{
  background:
    radial-gradient(58% 44% at 86% 10%, rgba(240,174,187,.28) 0%, rgba(240,174,187,0) 70%),
    radial-gradient(52% 42% at 8% 88%, rgba(245,200,111,.16) 0%, rgba(245,200,111,0) 70%),
    linear-gradient(172deg,#FFFFFF 0%,#FFFCFC 58%,#FEF6F7 100%);
}
.hero-veil{background:
  linear-gradient(72deg,rgba(255,255,255,.93) 0%,rgba(255,255,255,.74) 50%,rgba(255,255,255,.44) 100%);}
.hero-foot{border-top:1px solid var(--line);background:transparent;}

/* ---- 「ご不安」：桜のベタ塗り → 白 ---- */
.issue-dark{
  background:
    radial-gradient(46% 38% at 94% 4%, rgba(240,174,187,.16) 0%, rgba(240,174,187,0) 72%),
    #fff;
}
.issue-dark .icard{
  background:#fff;border:1px solid var(--line);box-shadow:none;backdrop-filter:none;
}
.issue-dark .icard:hover{box-shadow:0 10px 26px rgba(63,56,51,.06);border-color:var(--accent-2);}
.issue-dark .icard .res{background:#FDF4F6;border:1px solid #F6DFE4;color:var(--accent);}

/* ---- CTAバンド：ベタ塗りをやめ、ごく淡い桜に ---- */
.cta-band{background:#FDF5F6;}
.cta-band.arc-alt{--cb-arc:var(--bg-alt);}
.cb-deco span{color:rgba(199,94,116,.045);}

/* ---- 最終CTA：オフホワイト ---- */
.cta{
  background:
    radial-gradient(52% 46% at 92% 8%, rgba(240,174,187,.20) 0%, rgba(240,174,187,0) 72%),
    #FBF8F7;
}
.cta-free .cf{background:#fff;border:1px solid var(--line);box-shadow:none;}

/* ---- カード全般：影を消し、細線と余白で ---- */
.icard,.qcard,.vcard,.ccard,.plan,.rchip,.pstep,.pf,.qstat,.ci,.tablewrap,.form-wrap{
  box-shadow:none;
}
.vcard{border:1px solid var(--line);}
.vcard:hover,.ccard:hover,.plan:hover,.pstep:hover{
  transform:translateY(-3px);box-shadow:0 10px 26px rgba(63,56,51,.06);
}
.plan{border:1px solid var(--line);}
.plan.feat{border:1.5px solid var(--accent);box-shadow:none;}
.plan.feat:hover{box-shadow:0 12px 30px rgba(199,94,116,.10);}
.vcard::before{color:rgba(240,174,187,.42);}
.flow-nodes span{box-shadow:none;}
.gain{box-shadow:none;}

/* ---- 料金表：塗りを最小限に ---- */
.ptable{border:1px solid var(--line);}
.ptable thead th{background:var(--bg-alt);}
.ptable thead th.feat{background:#FDF1F4;color:var(--accent);}
.ptable td.feat{background:#FEF8F9;color:var(--accent);}

/* ---- チップ類 ---- */
.area-chips span{border:1px solid var(--line);}
.area-chips span.main{background:var(--accent);border-color:var(--accent);}
.license-chips span{border:1px solid #F0DDE1;color:var(--accent);background:#fff;}

/* ---- マーキー ---- */
.mq-track span{-webkit-text-stroke:2px #F4E2E5;}
.mq-track span.fill{color:#FCF2F4;}

/* ---- フッター：墨に寄せて締める ---- */
.footer{background:#3F3833;}

/* ---- 花びら：白地に映えるよう、彩度を少し上げる ---- */
.petals span{
  background:radial-gradient(120% 120% at 30% 28%,
    rgba(255,220,226,.95) 0%,
    rgba(246,168,182,.82) 42%,
    rgba(232,130,150,.58) 100%);
}
/* 実績バンドのドット柄も廃止（清潔感レイヤーの続き） */
.trustband{background-color:#fff;background-image:none;}
/* 花びらは白地では主張が強いので、全体的に薄く */
.petals span{opacity:.42;}
.petals span:nth-child(3),.petals span:nth-child(5),.petals span:nth-child(7),
.petals span:nth-child(12),.petals span:nth-child(16){opacity:.5;}

/* =========================================================
   3段ヘッダー（ハピネス型）
   段1 SEOキャッチ帯 ／ 段2 ロゴ・電話番号・CTA ／ 段3 グローバルナビ
   FIXPERTの「写真に重なる固定ヘッダー」から、白い通常ヘッダーに作り替える。
   ========================================================= */
.site-header{
  position:relative;inset:auto;height:auto;padding:0;display:block;
  color:var(--ink);background:#fff;z-index:60;
  border-bottom:1px solid var(--line);
}
/* スクロール追従・収納の挙動は使わない（top.jsが付けるクラスを無効化） */
.site-header.scrolled,.site-header.hd-hide{
  background:#fff;height:auto;box-shadow:none;transform:none;backdrop-filter:none;
}
.hd-inner{max-width:1400px;margin:0 auto;padding:0 28px;}

/* ---- 段1：SEOキャッチ ---- */
.topbar{background:#F7F3F2;border-bottom:1px solid var(--line);}
.topbar .hd-inner{padding-top:7px;padding-bottom:7px;}
.tb-catch{
  margin:0;font-family:var(--font-jp);font-size:11.5px;font-weight:400;
  color:var(--muted);letter-spacing:.03em;line-height:1.7;
}

/* ---- 段2：ロゴ／電話／CTA ---- */
.hd-main .hd-inner{display:flex;align-items:center;gap:22px;padding-top:15px;padding-bottom:15px;}
.site-header .logo{
  flex:0 0 auto;margin-right:auto;
  display:flex;flex-direction:column;align-items:flex-start;gap:5px;
}
.site-header .logo .mark-jp{font-size:23px;letter-spacing:.1em;}
.site-header .logo .sub{font:700 9.5px/1 var(--font-en);letter-spacing:.22em;color:var(--muted);opacity:1;}

.hd-contact{display:flex;align-items:center;gap:16px;}
.hd-badge{
  flex:0 0 auto;width:62px;height:62px;border-radius:50%;
  background:#FDF1F4;border:1px solid #F3DAE0;color:var(--accent);
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  font-size:9px;font-weight:700;line-height:1.35;letter-spacing:.02em;text-align:center;
}
.hd-badge b{font-size:14px;font-weight:800;line-height:1.2;}

.hd-tel{display:flex;flex-direction:column;gap:3px;}
.hd-tel .tel-num{
  display:flex;align-items:center;gap:9px;
  font:800 33px/1 var(--font-en);letter-spacing:.01em;color:var(--ink);
  font-variant-numeric:tabular-nums;
}
.hd-tel .tel-num .ti{
  flex:0 0 26px;width:26px;height:26px;color:var(--accent);
  display:inline-flex;align-items:center;justify-content:center;
}
.hd-tel .tel-num .ti svg{width:100%;height:100%;}
.hd-tel .tel-num:hover{color:var(--accent);}
.hd-tel .tel-sub{font-size:11px;color:var(--muted);letter-spacing:.02em;}

.hd-btn{
  flex:0 0 auto;display:flex;flex-direction:column;align-items:center;gap:3px;
  min-width:196px;padding:11px 18px;border-radius:8px;color:#fff;
  transition:transform .3s var(--ease),box-shadow .3s var(--ease),filter .3s;
}
.hd-btn .hb-l{
  font-size:10px;font-weight:700;letter-spacing:.08em;color:rgba(255,255,255,.86);
  display:flex;align-items:center;gap:8px;
}
.hd-btn .hb-l::before,.hd-btn .hb-l::after{content:"";width:14px;height:1px;background:rgba(255,255,255,.5);}
.hd-btn .hb-t{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:700;letter-spacing:.03em;}
.hd-btn .hi{flex:0 0 20px;width:20px;height:20px;display:inline-flex;}
.hd-btn .hi svg{width:100%;height:100%;}
.hd-btn.mail{background:var(--accent);}
.hd-btn.line{background:var(--line-green);}
.hd-btn:hover{transform:translateY(-2px);filter:brightness(.94);box-shadow:0 10px 24px rgba(63,56,51,.14);}

/* ---- 段3：グローバルナビ ---- */
.site-header nav.gnav{display:block;border-top:1px solid var(--line);}
.gnav .hd-inner{
  display:flex;align-items:stretch;justify-content:space-between;gap:8px;
}
.gnav a{
  flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;
  padding:15px 6px;font-size:14.5px;font-weight:500;letter-spacing:.06em;
  color:var(--ink);text-align:center;line-height:1.5;position:relative;
}
.gnav a small{display:block;font-size:11px;font-weight:400;color:var(--muted);letter-spacing:.02em;}
.gnav a::after{
  content:"";position:absolute;left:50%;right:50%;bottom:0;height:2px;
  background:var(--accent);transition:left .3s var(--ease),right .3s var(--ease);
}
.gnav a:hover::after{left:12%;right:12%;}
.gnav a:hover{color:var(--accent);}
.gnav a.on{color:var(--accent);font-weight:700;}
.gnav a.on::after{left:12%;right:12%;}

/* ---- ヘッダーが固定でなくなったぶん、ヒーロー／ページヘッダーの逃げを詰める ---- */
.hero{min-height:clamp(560px,74svh,760px);}
.hero-inner{padding-top:76px;padding-bottom:56px;}
.phero{padding:84px 0 76px;}
.phero.compact{padding:72px 0 60px;}

/* ---- スマホ：CTAは下部固定バーに任せ、ヘッダーはロゴだけに ---- */
@media (max-width:980px){
  .site-header .logo .mark-jp{font-size:18px;}
  .hd-main .hd-inner{padding-top:12px;padding-bottom:12px;gap:12px;}
  .hd-contact{gap:10px;}
  .hd-badge,.hd-btn,.hd-tel .tel-sub{display:none;}
  .hd-tel .tel-num{font-size:20px;gap:6px;}
  .hd-tel .tel-num .ti{flex-basis:18px;width:18px;height:18px;}
  .site-header nav.gnav{display:none;}
  .tb-catch{line-height:1.6;}
  .hero-inner{padding-top:44px;padding-bottom:126px;}
  /* メニューは全画面パネル。下部バー（z-index:55）より下に敷いて、バーの×で閉じられるように */
  .site-header.menu-open .m-menu{
    position:fixed;inset:0;top:0;z-index:52;
    display:flex;flex-direction:column;
    background:#fff;padding:28px 24px 120px;overflow-y:auto;box-shadow:none;
  }
  .site-header.menu-open .m-menu a{padding:17px 4px;}
}

/* ---- ヒーローの大見出し（h1 は上帯のキャッチに譲ったので、見た目だけ継承） ---- */
.hero .hero-copy{
  font-family:var(--font-mincho);
  font-size:clamp(38px,5.4vw,66px);font-weight:600;line-height:1.36;
  letter-spacing:.06em;margin:0 0 20px;color:var(--ink);text-wrap:pretty;
  font-feature-settings:"palt" 1;font-kerning:normal;
}
.hero .hero-copy .ac{color:var(--accent);}
@media (max-width:760px){
  .hero .hero-copy{font-size:31px;line-height:1.5;margin-bottom:20px;}
}
@media (max-width:980px){
  .site-header .logo{min-width:0;}
  .hd-tel .tel-num{font-size:18px;white-space:nowrap;}
}
@media (max-width:400px){
  .site-header .logo .mark-jp{font-size:16px;letter-spacing:.06em;}
  .hd-tel .tel-num{font-size:16px;}
}

/* =========================================================
   スクロール追従（ハピネス型）
   PC：ナビ段だけ画面上部に残す ／ 画面下に連絡先バー
   SP：ヘッダーごと追従（ロゴ＋電話＋LINE＋メニュー）／ 画面下に連絡バー
   ========================================================= */

/* ---------- PC：ナビ段の固定 ---------- */
@media (min-width:981px){
  .site-header.nav-stuck{padding-bottom:var(--gnav-h,58px);} /* 浮いたぶんの高さを埋める */
  .site-header.nav-stuck nav.gnav{
    position:fixed;top:0;left:0;right:0;z-index:70;
    background:rgba(255,255,255,.95);backdrop-filter:blur(12px);
    border-top:none;
    box-shadow:0 1px 0 var(--line),0 6px 22px rgba(63,56,51,.07);
    animation:navDrop .32s var(--ease);
  }
  @keyframes navDrop{from{transform:translateY(-100%);}to{transform:none;}}
}

/* ---------- SP：ヘッダーごと追従 ---------- */
@media (max-width:980px){
  .site-header{position:sticky;top:0;}
  /* ヘッダー右：電話・LINE・メニュー */
  .hd-sp{display:flex;align-items:stretch;gap:0;margin-left:auto;align-self:stretch;}
  .sp-act{
    flex:0 0 auto;width:60px;
    display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;
    font-size:9.5px;font-weight:700;letter-spacing:.02em;color:#fff;
    background:none;border:none;cursor:pointer;padding:8px 2px;
  }
  .sp-act .si{width:19px;height:19px;display:inline-flex;}
  .sp-act .si svg{width:100%;height:100%;}
  .sp-act.tel{background:var(--accent);}
  .sp-act.line{background:var(--line-green);}
  .sp-act.burger{background:var(--ink);}
  .sp-act.burger i{display:block;width:17px;height:1.5px;background:#fff;margin:2px 0;transition:.3s;}
  .sp-act.burger .bl{margin-top:3px;}
  /* ヘッダーの左右パディングを詰めて、ボタンを端まで */
  .hd-main .hd-inner{padding:0 0 0 16px;gap:8px;align-items:stretch;}
  .site-header .logo{padding:9px 0;justify-content:center;}
  .hd-tel{display:none;} /* 電話は右のボタンに集約 */
  /* メニュー展開時のバーガー（ヘッダー内に移設したのでセレクタを変更） */
  /* バーは高さ1.5px＋上下margin2px＝ピッチ5.5px。同じ量だけ寄せないと×が閉じず「>」に見える */
  .site-header.menu-open .burger i:nth-child(1){transform:translateY(5.5px) rotate(45deg);}
  .site-header.menu-open .burger i:nth-child(2){opacity:0;}
  .site-header.menu-open .burger i:nth-child(3){transform:translateY(-5.5px) rotate(-45deg);}
  /* top:100% は position:fixed だと「画面の高さ」＝画面外に飛ぶ（メニューが開かない原因だった）。
     ヘッダーの実寸 --hd-h（top.js の measure() が設定）を使って、その真下から敷く。
     ヘッダーを残すのは、開閉ボタン（×）がヘッダー内にあるため */
  .site-header.menu-open .m-menu{
    position:fixed;left:0;right:0;top:var(--hd-h,96px);bottom:0;z-index:52;
    display:flex;flex-direction:column;
    background:#fff;padding:14px 22px 140px;overflow-y:auto;
    box-shadow:0 24px 40px rgba(63,56,51,.10);
  }
}
@media (min-width:981px){ .hd-sp{display:none;} }

/* ---------- 画面下の連絡先バー ---------- */
.fixbar{
  position:fixed;left:0;right:0;bottom:0;z-index:65;
  background:rgba(255,255,255,.96);backdrop-filter:blur(12px);
  border-top:1px solid var(--line);
  box-shadow:0 -6px 24px rgba(63,56,51,.07);
  transform:translateY(102%);transition:transform .45s var(--ease);
}
.fixbar.show{transform:none;}
.fx-lead{
  margin:0;padding:6px 20px;text-align:center;
  background:#FDF1F4;color:var(--accent);
  font-size:11.5px;font-weight:700;letter-spacing:.06em;
}
.fx-inner{
  max-width:1400px;margin:0 auto;padding:11px 28px;
  display:flex;align-items:center;gap:18px;
}
.fx-logo{flex:0 0 auto;margin-right:auto;display:flex;flex-direction:column;gap:4px;}
.fx-logo .mark-jp{font-size:19px;letter-spacing:.08em;}
.fx-logo .sub{font:700 8.5px/1 var(--font-en);letter-spacing:.2em;color:var(--muted);}
.fixbar .hd-badge{width:54px;height:54px;font-size:8px;}
.fixbar .hd-badge b{font-size:12.5px;}
.fixbar .hd-tel .tel-num{font-size:28px;}
.fixbar .hd-tel .tel-sub{font-size:10.5px;}
.fixbar .hd-btn{min-width:186px;padding:9px 16px;}
.fixbar .hd-btn .hb-t{font-size:14px;}

/* SPの下部バー：電話＋メール＋LINE */
@media (max-width:980px){
  .fixbar{transform:none;} /* SPでは常時表示（今すぐ連絡したい人の受け皿） */
  .fx-lead{font-size:10.5px;padding:5px 12px;letter-spacing:.02em;}
  .fx-inner{padding:0;gap:0;align-items:stretch;}
  .fx-logo,.fixbar .hd-tel .tel-sub{display:none;}
  .fixbar .hd-badge{
    width:auto;flex:0 0 62px;height:auto;border-radius:0;border:none;
    background:#FDF1F4;font-size:8px;padding:6px 4px;
  }
  .fixbar .hd-badge b{font-size:11px;}
  .fixbar .hd-tel{flex:1 1 auto;justify-content:center;padding:0 8px;min-width:0;}
  .fixbar .hd-tel .tel-num{font-size:19px;justify-content:center;white-space:nowrap;}
  .fixbar .hd-btn{
    flex:0 0 84px;min-width:0;border-radius:0;padding:9px 4px;gap:2px;
  }
  .fixbar .hd-btn .hb-l{display:none;}
  .fixbar .hd-btn .hb-t{flex-direction:column;gap:3px;font-size:9.5px;letter-spacing:0;text-align:center;line-height:1.3;}
  .fixbar .hd-btn .hi{width:18px;height:18px;}
  /* 下部バーぶんの余白（フッターが隠れないように） */
  body{padding-bottom:0;}
  .footer{padding-bottom:calc(96px + env(safe-area-inset-bottom));}
}
@media (max-width:980px){
  .fixbar .hd-btn.mail .hb-t::after{content:"メール";}
  .fixbar .hd-btn.line .hb-t::after{content:"LINE";}
  .fixbar .hd-btn .hb-t{font-size:0;}
  .fixbar .hd-btn .hb-t::after{font-size:9.5px;font-weight:700;}
}

/* ---- 追従まわりの不具合修正 ----
   1) body の overflow-x:hidden は position:sticky を殺す。
      clip なら横はみ出しを切りつつ sticky が効く（html には既に clip 指定あり） */
body{overflow-x:clip;}

/* 2) SPでヘッダーの要素を隠す指定が、下部バーの中身まで消していた。
      ヘッダー内だけに限定し、下部バーでは表示し直す */
@media (max-width:980px){
  .fixbar .hd-badge{display:flex;}
  .fixbar .hd-tel{display:flex;}
  .fixbar .hd-btn{display:flex;}
}

/* ---- 花びらを「舞い上がる」方向に ----
   落下(petalFall)を逆再生する。揺れ幅も回転もそのまま反転するので、
   画面下から入って上へ抜けていく。キーフレームは1つのまま維持できる */
.petals span{animation-direction:reverse;}
@media (prefers-reduced-motion: reduce){
  .petals span{animation:none;transform:translateY(46vh);}
}

/* ---- 受付時間の一行をはっきり読ませる（薄いグレーだと見落とされる） ---- */
.hd-tel .tel-sub{
  color:var(--ink-2);font-size:12px;font-weight:600;letter-spacing:.02em;
}
.fixbar .hd-tel .tel-sub{font-size:11.5px;font-weight:600;color:var(--ink-2);}

/* ---- SEOキャッチ帯：薄すぎるとアクセシビリティ検査に引っかかる ----
   #9A9089 は背景(#F7F3F2)に対して 2.83:1 で WCAG AA(4.5:1) 不合格。
   小さく薄い文字にキーワードを詰めたH1は、隠しテキストと同じ「形」に見えるので
   本文色まで上げて、普通に読めるテキストにする（#6B615A で 5.47:1）*/
.tb-catch{color:var(--ink-2);font-size:12px;letter-spacing:.02em;}
.tb-catch b{color:var(--ink);font-weight:700;}
/* SPでは5行に折り返して画面上部を潰していたので、後半の訴求文（.tb-more）を隠して
   「地域＋サービス＋屋号」だけ1行で見せる。訴求文は本文側にも出ているので情報は落ちない。
   ※ この指定は上の .tb-catch{font-size:12px} より後ろに置くこと（前に書くと打ち消される） */
@media (max-width:980px){
  /* 左右も詰める。28pxのままだと375pxで2行に折り返す（ロゴの開始位置16pxとも揃う） */
  .topbar .hd-inner{padding:5px 16px;}
  .tb-catch{
    font-size:10.5px;line-height:1.5;letter-spacing:0;
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  }
  .tb-more{display:none;}
}

/* =========================================================
   コントラスト調整（WCAG AA / Lighthouse 対応）
   ・--muted #9A9089 は白地で 3.12:1 → #78706A（4.86:1）
   ・--accent #C75E74 は白地で 3.98:1 → #B84A63（5.00:1）
     アクセントは「文字色」と「ボタンの下地（白文字）」の両方に使うが、
     この比率は両方向で同じなので、1つ濃くすれば両方まとめて合格になる
   ========================================================= */
:root{
  --muted:#78706A;
  --accent:#B84A63;
}
/* ボタン内の小さいラベルは白の透過をやめて、はっきり出す */
.hd-btn .hb-l{color:#fff;}
.hd-btn .hb-l::before,.hd-btn .hb-l::after{background:rgba(255,255,255,.6);}
/* 淡い桜の下地に載る文字は、下地をわずかに濃くして比率を稼ぐ */
.fx-lead{background:#FBEAEF;}
.hd-badge{background:#FBEAEF;border-color:#F0CFD8;}
.issue-dark .icard .res{background:#FBEDF1;border-color:#F1D5DE;}
.ptable thead th.feat{background:#FBEAEF;}
.ptable td.feat{background:#FDF4F7;}
/* 桜の下地は「濃くする」のではなく「明るくする」方が、暗い文字との差が開く */
.fx-lead{background:#FDF4F7;}
.hd-badge{background:#FDF4F7;border-color:#F2D8E0;}
.issue-dark .icard .res{background:#FDF4F7;border-color:#F2D8E0;}
.ptable thead th.feat{background:#FDF4F7;}
.ptable td.feat{background:#FEFAFB;}
/* 写真プレースホルダの説明文（写真が入るまでの仮表示） */
.media .ph-label{color:var(--ink-2);}

/* ---- ヒーローに写真が入ったので、ベールを調整 ----
   文字が載る左側はしっかり白く伏せ、右側は写真を見せる。
   ベールが均一に強いと写真が眠く見えるので、左右の落差をつける */
.hero-veil{background:
  linear-gradient(78deg,
    rgba(255,255,255,.94) 0%,
    rgba(255,255,255,.90) 32%,
    rgba(255,255,255,.62) 58%,
    rgba(255,255,255,.28) 100%),
  linear-gradient(to top, rgba(255,255,255,.55) 0%, transparent 30%);}
/* 写真そのものを、ほんの少し明るく・彩度を落として、桜のトーンに馴染ませる */
.hero-bg .hero-slide{filter:saturate(.86) brightness(1.04);}

/* ---- ベール再調整：右側は写真をはっきり見せる ----
   文字の右端はコンテナの約60%地点。そこまでは白く伏せ、
   そこから一気に抜いて、右三分の一は素の写真に */
.hero-veil{background:
  linear-gradient(78deg,
    rgba(255,255,255,.95) 0%,
    rgba(255,255,255,.93) 45%,
    rgba(255,255,255,.80) 60%,
    rgba(255,255,255,.34) 71%,
    rgba(255,255,255,.06) 84%,
    rgba(255,255,255,0) 100%),
  linear-gradient(to top, rgba(255,255,255,.42) 0%, transparent 26%);}
.hero-bg .hero-slide{filter:saturate(.95) brightness(1.01);}

/* ---- ヒーローのベール：バンディング（縞）対策 ----
   半透明の白を大きな面に敷くと、8bitの階調が足りず境目に縞が出る。
   1) 変化を細かい刻みにして段差を目立たなくする
   2) 極薄のノイズを重ねてディザリングし、残った縞を潰す
      （デザインツールでいう「ノイズを加える」と同じ理屈） */
.hero-veil{
  background:
    linear-gradient(78deg,
      rgba(255,255,255,.95) 0%,
      rgba(255,255,255,.945) 30%,
      rgba(255,255,255,.93) 45%,
      rgba(255,255,255,.89) 52%,
      rgba(255,255,255,.80) 60%,
      rgba(255,255,255,.66) 65%,
      rgba(255,255,255,.50) 69%,
      rgba(255,255,255,.34) 73%,
      rgba(255,255,255,.21) 77%,
      rgba(255,255,255,.11) 81%,
      rgba(255,255,255,.05) 86%,
      rgba(255,255,255,.01) 93%,
      rgba(255,255,255,0) 100%),
    linear-gradient(to top,
      rgba(255,255,255,.42) 0%,
      rgba(255,255,255,.30) 8%,
      rgba(255,255,255,.18) 15%,
      rgba(255,255,255,.08) 21%,
      rgba(255,255,255,0) 28%);
}
.hero-veil::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity:.045;mix-blend-mode:overlay;
}

/* ---- 写真を主役に：文字の列を左半分に収め、白いベールを左へ寄せる ----
   見出しは1行9文字。66pxだと630px幅を食って写真に被るので、
   52pxまで落として文字列を600px以内に収める */
.hero-inner > *{max-width:600px;}
.hero .hero-copy{font-size:clamp(32px,3.6vw,52px);line-height:1.45;}
.hero-lead{font-size:16.5px;line-height:1.95;max-width:600px;}
.hero-veil{
  background:
    linear-gradient(80deg,
      rgba(255,255,255,.96) 0%,
      rgba(255,255,255,.945) 26%,
      rgba(255,255,255,.92) 38%,
      rgba(255,255,255,.86) 45%,
      rgba(255,255,255,.74) 51%,
      rgba(255,255,255,.58) 56%,
      rgba(255,255,255,.42) 60%,
      rgba(255,255,255,.28) 64%,
      rgba(255,255,255,.17) 68%,
      rgba(255,255,255,.09) 73%,
      rgba(255,255,255,.04) 79%,
      rgba(255,255,255,.01) 88%,
      rgba(255,255,255,0) 100%),
    linear-gradient(to top,
      rgba(255,255,255,.38) 0%,
      rgba(255,255,255,.26) 8%,
      rgba(255,255,255,.15) 15%,
      rgba(255,255,255,.06) 21%,
      rgba(255,255,255,0) 28%);
}
@media (max-width:760px){
  .hero-inner > *{max-width:none;}
  .hero .hero-copy{font-size:31px;line-height:1.5;}
}
/* キッカーと受付案内は1行で読ませたいので、幅制限の対象外にする */
.hero-kicker{max-width:none;white-space:nowrap;}
.hero .assure{max-width:none;}
@media (max-width:760px){
  .hero-kicker{white-space:normal;}
}

/* ---- SPのヒーロー：横長写真を縦画面で見せる ----
   PCは「左に文字・右に写真」の左右分割だが、SPでは横幅が無いので成立しない。
   縦分割に切り替える：上に文字、下に写真。
   写真は object-position で顔（右寄り）を画面に残す */
@media (max-width:760px){
  .hero{min-height:auto;}
  .hero-bg .hero-slide{object-position:72% 42%;}
  .hero-veil{
    background:linear-gradient(to bottom,
      rgba(255,255,255,.97) 0%,
      rgba(255,255,255,.96) 30%,
      rgba(255,255,255,.93) 44%,
      rgba(255,255,255,.86) 52%,
      rgba(255,255,255,.70) 58%,
      rgba(255,255,255,.48) 64%,
      rgba(255,255,255,.28) 70%,
      rgba(255,255,255,.14) 76%,
      rgba(255,255,255,.05) 84%,
      rgba(255,255,255,0) 100%);
  }
  /* 下に写真が見える余白をつくる */
  .hero-inner{padding-top:34px;padding-bottom:300px;}
  .hero-foot{display:none;} /* SCROLLの線は写真に被るので隠す */
}

/* ---- SPヒーロー：写真を下部のバンドとして置く ----
   16:9の写真を縦長の画面に cover で敷くと、横幅の2割ほどしか映らず顔が切れる。
   そこで写真だけを画面下のバンドに限定し、上端をマスクでぼかして背景に溶かす。
   （花びらは .hero-bg 全体に残るので、この方法なら影響を受けない） */
@media (max-width:760px){
  .hero-slides{
    top:auto;bottom:0;height:min(44vh,320px);
    -webkit-mask-image:linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.45) 24%, #000 58%);
    mask-image:linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.45) 24%, #000 58%);
  }
  .hero-bg .hero-slide{object-position:70% 45%;} /* 顔（右寄り）を画面に残す */
  .hero-veil{background:none;}                    /* 文字はバンドの上に載らないのでベール不要 */
  .hero-inner{padding-top:34px;padding-bottom:calc(min(44vh,320px) + 20px);}
}
/* 下部固定バー（約96px）に写真が隠れてしまうので、その上に載せる */
@media (max-width:760px){
  .hero-slides{
    bottom:calc(96px + env(safe-area-inset-bottom));
    height:min(46vh,340px);
  }
  .hero-bg .hero-slide{object-position:70% 38%;}
  .hero-inner{padding-bottom:calc(min(46vh,340px) + 96px + 16px);}
}
/* ヒーロー全体を画面高に固定しないと、写真バンドが画面外に押し出される */
@media (max-width:760px){
  .hero{min-height:100svh;}
  .hero-slides{bottom:calc(96px + env(safe-area-inset-bottom));height:300px;}
  .hero-inner{padding-top:26px;padding-bottom:calc(300px + 96px + 10px);}
}
/* バンド上端のぼかしが深すぎて、顔がフェードに埋もれていた。浅くして写真を立たせる */
@media (max-width:760px){
  .hero-slides{
    -webkit-mask-image:linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.55) 16%, #000 36%);
    mask-image:linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.55) 16%, #000 36%);
  }
  .hero-bg .hero-slide{object-position:70% 46%;}
}

/* ---- 実績バンド：各項目の頭に線画イラスト ---- */
.tb-illust{
  width:clamp(56px,6vw,72px);height:clamp(56px,6vw,72px);
  color:var(--accent);display:inline-flex;align-items:center;justify-content:center;
  margin-bottom:2px;
}
.tb-illust svg{width:100%;height:100%;}
/* 演出：線を描いてから、うっすら色がのる（reveal時） */
html.fx [data-stagger] .tb-illust svg [stroke],
html.fx [data-stagger] .tb-illust svg path,
html.fx [data-stagger] .tb-illust svg circle{
  stroke-dasharray:200;stroke-dashoffset:200;
  transition:stroke-dashoffset 1.1s var(--ease);
}
html.fx [data-stagger].in .tb-illust svg path,
html.fx [data-stagger].in .tb-illust svg circle{stroke-dashoffset:0;}
@media (prefers-reduced-motion:reduce){
  html.fx [data-stagger] .tb-illust svg path,
  html.fx [data-stagger] .tb-illust svg circle{stroke-dashoffset:0;}
}
@media (max-width:760px){
  .tb-illust{width:52px;height:52px;}
}

/* ---- ロゴマーク（円形エンブレム）＋ワードマーク ---- */
.site-header .logo{flex-direction:row;align-items:center;gap:13px;}
.logo-text{display:flex;flex-direction:column;gap:5px;}
.logo-mark{
  flex:0 0 auto;width:58px;height:58px;border-radius:50%;object-fit:cover;
  /* 白背景JPEGの円の外側を、ヘッダーの白に溶かす */
  mix-blend-mode:multiply;
}
.fx-logo{flex-direction:row;align-items:center;gap:11px;}
.fixbar .logo-mark{width:46px;height:46px;}

@media (max-width:980px){
  .site-header .logo{gap:9px;}
  .logo-mark{width:44px;height:44px;}
}
@media (max-width:400px){
  .logo-mark{width:38px;height:38px;}
}
/* スマホのヘッダーロゴを少し大きく、社名との間隔を最適化 */
@media (max-width:980px){
  .site-header .logo{gap:8px;padding:8px 0;}
  .logo-mark{width:42px;height:42px;}
  .logo-text .mark-jp{font-size:16px;letter-spacing:.06em;}
  .logo-text .sub{font-size:8px;letter-spacing:.18em;}
}
@media (max-width:400px){
  .logo-text .sub{display:none;} /* 幅が厳しい端末では英字サブを省く */
  .logo-mark{width:38px;height:38px;}
}

/* =========================================================
   「亡くなったら、まず」6ステップの手当てガイド
   ========================================================= */
.care-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:44px;}
.care-card{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:30px 26px 28px;display:flex;flex-direction:column;position:relative;
  transition:transform .4s var(--ease),box-shadow .4s var(--ease),border-color .3s;
}
.care-card:hover{transform:translateY(-3px);box-shadow:0 10px 26px rgba(63,56,51,.06);border-color:var(--accent-2);}
.care-no{
  position:absolute;top:-15px;left:26px;
  width:38px;height:38px;border-radius:50%;background:var(--accent);color:#fff;
  display:flex;align-items:center;justify-content:center;
  font:800 15px/1 var(--font-en);letter-spacing:.02em;
}
.care-card > h3{
  margin:6px 0 0;font-family:var(--font-mincho);font-size:19px;font-weight:600;
  letter-spacing:.04em;color:var(--ink);line-height:1.5;
}
.care-illust{
  margin:16px 0 18px;aspect-ratio:16/9;border-radius:12px;
  background:linear-gradient(160deg,#FDF6F1 0%,#FBF1F3 100%);
  display:flex;align-items:center;justify-content:center;
}
.care-illust svg{width:44%;height:auto;color:var(--accent);}
.care-lead{font-size:14px;font-weight:700;color:var(--accent);line-height:1.65;margin-bottom:10px;}
.care-card p:last-child{font-size:13px;color:var(--ink-2);line-height:1.9;}
.care-note{
  margin-top:34px;display:flex;gap:14px;align-items:flex-start;
  background:var(--bg-alt);border-radius:var(--radius);padding:22px 26px;
}
.care-note .cn-i{flex:0 0 22px;width:22px;height:22px;color:var(--accent);margin-top:2px;}
.care-note p{font-size:13px;color:var(--ink-2);line-height:1.9;}
@media (max-width:980px){ .care-grid{grid-template-columns:1fr;gap:26px;} }
/* 亡くなったら、まず：水彩イラストを入れたカード */
.care-illust.has-img{padding:0;overflow:hidden;background:#fff;}
.care-illust.has-img img{width:100%;height:100%;object-fit:cover;display:block;}

/* 私たちのお約束：見出しが narrow な左カラムで3行に折れる（「て。」が余る）ので、
   この見出しだけサイズと字間を詰めて2行に収める */
.promise-title{font-size:clamp(26px,2.9vw,34px);letter-spacing:.02em;}
.promise-title .ac{white-space:nowrap;}
@media (max-width:980px){ .promise-title .ac{white-space:normal;} }

/* ---- ヒーロー：サービス名を明示するバナー（何のサイトか一目でわかる） ---- */
.hero-banner{
  display:inline-flex;align-items:center;gap:16px;
  margin:0 0 16px;padding:0;font-family:var(--font-jp);
  max-width:none;
}
.hero-banner .hb-text{
  font-size:clamp(16px,1.9vw,21px);font-weight:700;color:var(--ink);
  letter-spacing:.04em;line-height:1.6;
}
.hero-banner .hb-key{
  color:var(--accent);font-weight:800;font-size:1.18em;
  padding-bottom:.06em;box-shadow:inset 0 -.42em 0 color-mix(in oklab,var(--accent),white 84%);
}
.hero-banner .hb-br{display:none;}
/* 両端の斜め装飾（＼ … ／） */
.hero-banner{align-items:stretch;}
.hero-banner .hb-slash{flex:0 0 auto;position:relative;width:18px;align-self:stretch;min-height:56px;}
.hero-banner .hb-slash::before,
.hero-banner .hb-slash::after{
  content:"";position:absolute;top:0;width:2px;height:100%;
  background:var(--accent);border-radius:2px;
}
.hero-banner .hb-slash.left::before{left:2px;transform:rotate(-20deg);}
.hero-banner .hb-slash.left::after{left:9px;transform:rotate(-20deg);opacity:.5;}
.hero-banner .hb-slash.right::before{right:2px;transform:rotate(20deg);}
.hero-banner .hb-slash.right::after{right:9px;transform:rotate(20deg);opacity:.5;}
@media (max-width:760px){
  .hero-banner{gap:10px;}
  .hero-banner .hb-text{font-size:15px;}
  .hero-banner .hb-br{display:inline;}
  .hero-banner .hb-slash{height:46px;}
}
/* LINEアイコンは枠内の余白が多く小さく見えるので、LINEボタンだけ拡大 */
.btn.line .ico{flex-basis:32px;width:32px;height:32px;}

/* ---- ヘッダー/追従バー/SPのアイコンを拡大（LINEはさらに大きく） ---- */
.hd-btn .hi{flex-basis:24px;width:24px;height:24px;}
.hd-btn.line .hi{flex-basis:28px;width:28px;height:28px;}
.fixbar .hd-btn .hi{width:22px;height:22px;}
.fixbar .hd-btn.line .hi{width:26px;height:26px;}
@media (max-width:980px){
  .sp-act .si{width:22px;height:22px;}
  .sp-act.line .si{width:26px;height:26px;}
}

/* =========================================================
   パララックス写真バンド（想いの下）
   background-attachment:fixed で奥に留まる演出。
   モバイル/タッチ環境は fixed が不安定なので scroll にフォールバック
   ========================================================= */
.parallax-band{
  position:relative;overflow:hidden;
  height:clamp(300px,44vh,540px);
  display:flex;align-items:center;justify-content:center;
}
.parallax-bg{
  position:absolute;inset:0;z-index:0;
  background-image:url("../img/parallax-1.jpg");
  background-size:cover;background-position:center 42%;
  background-attachment:fixed;   /* ← パララックス */
}
.parallax-veil{
  position:absolute;inset:0;z-index:1;
  background:
    linear-gradient(180deg,rgba(255,251,247,.30) 0%,rgba(63,56,51,.20) 55%,rgba(63,56,51,.42) 100%);
}
/* 親が display:flex なので、幅を指定しないと内容幅（995px）に縮んで1行が収まらない */
.parallax-inner{position:relative;z-index:2;text-align:center;width:100%;}
.parallax-copy{
  font-family:var(--font-mincho);color:#fff;
  font-size:clamp(20px,3vw,34px);font-weight:600;line-height:2;letter-spacing:.12em;
  text-shadow:0 2px 20px rgba(30,23,17,.4);
  /* 改行は <br> で指定しているので balance は切る（有効だと行を均そうとして1行目が割れる） */
  text-wrap:normal;
}
/* fixed が効かない/ガタつく環境は静止のcoverに */
@media (hover:none),(max-width:900px){
  .parallax-bg{background-attachment:scroll;}
}
@media (prefers-reduced-motion:reduce){
  .parallax-bg{background-attachment:scroll;}
}

/* ご不安カード：見出し下の横長写真 */
.icard-photo{aspect-ratio:16/9;border-radius:10px;overflow:hidden;margin:14px 0 4px;}

/* =========================================================
   静けさ優先の調整（葬儀にふさわしい落ち着き）
   写真まわりの動きを中心に、全体の賑やかさを抑える。ここが最終上書き。
   ========================================================= */
/* 1) 写真：カーテン開き＋拡大 → 廃止し、静かなフェードに */
html.fx .media-reveal::after,
html.fx [data-reveal].in .media-reveal::after,
html.fx [data-reveal].in.media-reveal::after{display:none;}
html.fx .media-reveal img{transform:none !important;opacity:0;transition:opacity 1.3s var(--ease);}
html.fx [data-reveal].in .media-reveal img,
html.fx [data-reveal].in.media-reveal img,
html.fx .media-reveal.in img{opacity:1;}

/* 2) ヒーロー：Ken Burnsのズームをほぼ無くし、静かなクロスフェードだけに */
@keyframes heroSlide{
  0%{opacity:0;transform:scale(1.015);}
  4%{opacity:1;}
  22%{opacity:1;}
  26%{opacity:0;transform:scale(1);}
  100%{opacity:0;transform:scale(1);}
}

/* 3) 競り上がる演出を控えめに（移動量を小さく） */
html.fx .h-rev,
html.fx [data-reveal],
html.fx [data-stagger]>*{transform:translateY(16px);}
html.fx .sec-title .ch{transform:translateY(.22em);}

/* 4) 花びら：数・淡さとも「最初と静か版の中間」に */
.petals span{opacity:.38 !important;}

/* ご不安カードの見出しを1行に収める（「夜中・早朝に旅立ってしまった」が2行に折れるのを防ぐ） */
.issue-dark .icard h3{
  font-size:clamp(15.5px,1.35vw,18px);letter-spacing:0;
  white-space:nowrap;line-height:1.5;font-feature-settings:"palt" 1;
}

/* 対応エリア：Googleマップ埋め込み（住所確定後はピン付きに差し替え） */
.area-map iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block;}
.area-map{background:var(--bg-alt);}

/* =========================================================
   SPヒーロー：写真を全面背景に（下部バンドをやめる）
   これまでの「下部バンド化」指定を打ち消し、デスクトップ同様に全面表示。
   文字は上に載るので、白ベールを強めにかけて可読性を確保する。ここが最終上書き。
   ========================================================= */
@media (max-width:760px){
  .hero{min-height:100svh;}
  .hero-slides{
    position:absolute;inset:0;top:0;bottom:0;height:auto;
    -webkit-mask:none;mask:none;
  }
  .hero-bg .hero-slide{object-position:66% 46%;}
  .hero-veil{
    display:block;
    background:linear-gradient(180deg,
      rgba(255,251,247,.92) 0%,
      rgba(255,251,247,.86) 30%,
      rgba(255,250,245,.72) 56%,
      rgba(255,248,242,.55) 78%,
      rgba(255,247,240,.60) 100%);
  }
  .hero-inner{
    padding-top:40px;
    padding-bottom:calc(96px + env(safe-area-inset-bottom) + 18px);
  }
}

/* SPヒーロー：全面写真に切り替えたので、コンテンツは上寄せにして全部見せる
   （下寄せ flex-end のままだとボタン・バナーが下部固定バーの裏に隠れる） */
@media (max-width:760px){
  .hero{justify-content:flex-start;}
  .hero-inner{padding-top:46px;padding-bottom:56px;}
}

/* =========================================================
   SP下部追従バー：電話番号が収まらず切れる問題を解消
   番号表示をやめ、「電話」「LINE」の2つのタップボタンに整理（最終上書き）
   ========================================================= */
@media (max-width:980px){
  .fixbar .fx-logo,
  .fixbar .hd-badge,
  .fixbar .tel-sub,
  .fixbar .hd-btn.mail{display:none;}
  .fixbar .fx-inner{display:flex;gap:0;padding:0;align-items:stretch;}
  /* 電話：アイコン＋ラベルのボタンに */
  .fixbar .hd-tel{flex:1;min-width:0;padding:0;display:flex;}
  .fixbar .hd-tel .tel-num{
    flex:1;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:9px;
    padding:14px 4px;background:var(--accent);color:#fff;font-size:0;white-space:nowrap;
  }
  .fixbar .hd-tel .tel-num .ti{flex:0 0 auto;width:22px;height:22px;color:#fff;}
  .fixbar .hd-tel .tel-num::after{content:"電話でお問い合わせ";font-size:14px;font-weight:700;letter-spacing:.03em;}
  /* LINE：右半分（元のテキスト「LINEでお問い合わせ」をそのまま表示） */
  .fixbar .hd-btn.line{flex:1;min-width:0;border-radius:0;padding:14px 4px;flex-direction:row;gap:9px;}
  .fixbar .hd-btn.line .hb-l{display:none;}
  .fixbar .hd-btn.line .hb-t{flex-direction:row;gap:9px;font-size:14px;font-weight:700;letter-spacing:.03em;}
  .fixbar .hd-btn.line .hb-t::after{content:none;}
  .fixbar .hd-btn.line .hi{width:24px;height:24px;}
}

/* =========================================================
   火葬プラン比較表（一目でわかる ○△×）
   ========================================================= */
.pmatrix-wrap{margin-top:44px;overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:var(--radius);}
.pmatrix{
  width:100%;min-width:800px;border-collapse:separate;border-spacing:0;
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;
  font-size:14px;
}
.pmatrix th,.pmatrix td{padding:14px 12px;text-align:center;vertical-align:middle;border-bottom:1px solid var(--line);border-right:1px solid var(--line);}
.pmatrix th:last-child,.pmatrix td:last-child{border-right:none;}
.pmatrix tbody tr:last-child th,.pmatrix tbody tr:last-child td{border-bottom:none;}

/* 見出し行（プラン名・色分け） */
.pmatrix thead th{color:#fff;font-size:16px;font-weight:700;letter-spacing:.02em;line-height:1.4;padding:18px 12px;position:relative;}
.pmatrix thead .c1{background:#8C8178;}
.pmatrix thead .c2{background:#C0985E;}
.pmatrix thead .c3{background:var(--accent);}
.pmatrix thead .c4{background:#A65D4E;}
.pmatrix .pm-corner{background:var(--ink);color:#fff;width:15%;}
.pm-corner .pm-c-t{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.08em;background:rgba(255,255,255,.16);border-radius:999px;padding:4px 14px;margin-bottom:8px;}
.pm-corner .pm-c-b{display:block;font-family:var(--font-mincho);font-size:17px;font-weight:600;letter-spacing:.06em;}
.pm-osusume{
  position:absolute;top:-11px;left:50%;transform:translateX(-50%);
  background:var(--gold);color:#5a4327;font-size:11px;font-weight:800;letter-spacing:.06em;
  padding:4px 14px;border-radius:999px;white-space:nowrap;box-shadow:0 3px 8px rgba(90,67,39,.22);
}

/* 行ラベル */
.pmatrix tbody th{background:var(--bg-alt);color:var(--ink-2);font-weight:700;font-size:13px;white-space:nowrap;}
.pmatrix tbody th small{display:block;font-weight:400;color:var(--muted);font-size:11px;margin-top:2px;}

/* おすすめ列を薄く強調 */
.pmatrix td.feat{background:#FDF4F7;}
.pmatrix tbody tr:hover td{background:color-mix(in oklab,var(--bg-alt),white 40%);}
.pmatrix tbody tr:hover td.feat{background:#FBEAEF;}

/* 料金行 */
.pm-price td{font-family:var(--font-en);font-weight:800;font-size:23px;letter-spacing:.01em;}
.pm-price td small{font-size:13px;font-weight:700;margin-left:1px;}
.pm-price .c1{color:#8C8178;} .pm-price .c2{color:#C0985E;}
.pm-price .c3{color:var(--accent);} .pm-price .c4{color:#A65D4E;}
/* こんな方に・火葬方法（テキスト行） */
.pm-txt td{font-size:13px;color:var(--ink-2);line-height:1.55;}
.pm-txt td b{font-weight:700;color:var(--ink);font-size:15px;}

/* ○△×マーク */
.pmatrix .mk{font-size:25px;line-height:1;display:inline-block;font-weight:400;}
.pmatrix td.c1 .mk.ok,.pmatrix td.c1 .mk.best{color:#8C8178;}
.pmatrix td.c2 .mk.ok,.pmatrix td.c2 .mk.best,.pmatrix td.c2 .mk.tri{color:#C0985E;}
.pmatrix td.c3 .mk.ok,.pmatrix td.c3 .mk.best{color:var(--accent);}
.pmatrix td.c4 .mk.ok,.pmatrix td.c4 .mk.best{color:#A65D4E;}
.pmatrix .mk.best{font-size:27px;}
.pmatrix .mk.no{color:#D8CEC7;}
.pmatrix .mk.dash{color:#D8CEC7;font-size:20px;}
.pmatrix .mk.tri{color:#C0985E;}
.pmatrix td .note{display:block;font-size:11px;margin-top:5px;font-weight:700;color:var(--muted);line-height:1.4;}
.pmatrix td.c4 .note{color:#A65D4E;}
.pmatrix td.c3 .note{color:var(--accent);}

/* 全プラン共通行 */
.pm-merge td{background:var(--bg-alt);color:var(--ink-2);font-size:13px;font-weight:700;letter-spacing:.04em;}

/* 凡例 */
.pmatrix-legend{margin-top:16px;font-size:12.5px;color:var(--muted);display:flex;flex-wrap:wrap;gap:6px 18px;align-items:center;}
.pmatrix-legend .mk{font-size:17px;margin-right:4px;}
.pmatrix-legend .mk.ok{color:var(--accent);} .pmatrix-legend .mk.best{color:var(--accent);}
.pmatrix-legend .mk.tri{color:#C0985E;} .pmatrix-legend .mk.no{color:#D8CEC7;}

/* おすすめ強調をやめ、全列を対等に（列ごとの色分けヘッダーは維持） */
.pmatrix td.feat{background:transparent;}
.pmatrix tbody tr:hover td.feat{background:color-mix(in oklab,var(--bg-alt),white 40%);}

/* =========================================================
   パンフレット確定原稿（2026-08）反映ぶんの追加スタイル
   ========================================================= */

/* ---------- 表紙リード（trustband） ---------- */
.trustband-lead{
  max-width:44em;margin:22px auto 44px;text-align:center;
  font-size:15px;line-height:2.05;color:var(--ink-2);
}
@media (max-width:760px){
  .trustband-lead{font-size:14px;line-height:1.95;margin:16px auto 30px;text-align:left;}
}

/* ---------- 「日彩」の想い：結びの一行 ---------- */
.thoughts-sign{
  margin-top:36px;font-family:var(--font-mincho);font-size:clamp(17px,2.1vw,21px);
  font-weight:600;letter-spacing:.1em;color:var(--accent);
}
.thoughts-sign::before,
.thoughts-sign::after{
  content:"";display:inline-block;width:26px;height:1px;vertical-align:middle;
  background:color-mix(in oklab,var(--accent),transparent 55%);
}
.thoughts-sign::before{margin-right:16px;}
.thoughts-sign::after{margin-left:16px;}

/* ---------- 選ばれる理由：本文下の注記 ---------- */
.vbody .vnote{
  margin-top:14px;padding-left:1em;text-indent:-1em;
  font-size:12.5px;line-height:1.8;color:var(--muted);
}
.vbody .license-chips{margin-top:22px;}

/* ---------- ご依頼の流れ：5ステップ ---------- */
.steps.five{grid-template-columns:repeat(5,1fr);gap:14px;}
.steps.five .pstep{padding:24px 18px 22px;}
.steps.five .pstep h3{font-size:18px;letter-spacing:.01em;}
.steps.five .pstep p{font-size:12.5px;line-height:1.75;}
.steps.five .pstep .meta{flex-wrap:wrap;gap:4px;}
.steps.five .pstep .term{font-size:10.5px;padding:4px 9px;}
.steps.five .pstep .out{font-size:11px;margin-top:12px;padding-top:10px;}
.steps.five .pstep .parr{right:-17px;width:30px;height:30px;}
@media (max-width:1180px){
  .steps.five{grid-template-columns:repeat(3,1fr);gap:18px;}
  .steps.five .pstep:nth-child(3n) .parr{display:none;}
}
@media (max-width:900px){
  .steps.five{grid-template-columns:repeat(2,1fr);}
  .steps.five .pstep .parr{display:none;}
}
@media (max-width:640px){ .steps.five{grid-template-columns:1fr;} }

/* ---------- 料金マトリクス：プラン名（2段組み） ---------- */
.pmatrix{min-width:880px;}
.pmatrix thead .pn{display:block;font-size:15px;line-height:1.35;}
.pmatrix thead .ps{display:block;margin-top:3px;font-size:11.5px;font-weight:600;letter-spacing:.04em;opacity:.88;}
.pm-price .ask{font-family:var(--font-jp);font-size:17px;letter-spacing:.04em;}
.ptable thead th br{display:block;}

/* ---------- 事前相談 受付中 ---------- */
.pre-panel{
  max-width:760px;margin:40px auto 0;padding:38px 40px;text-align:center;
  background:var(--bg-alt);border:1px solid var(--line);border-radius:var(--radius);
}
.pre-panel .pre-lead{font-size:14.5px;color:var(--ink-2);letter-spacing:.02em;}
.pre-panel .pre-strong{
  margin-top:12px;font-family:var(--font-mincho);font-weight:600;
  font-size:clamp(19px,2.6vw,26px);line-height:1.75;letter-spacing:.05em;color:var(--ink);
}
@media (max-width:760px){
  .pre-panel{padding:28px 22px;margin-top:30px;}
}

/* ---------- 対応できるペットちゃん（線画イラスト帯） ---------- */
.pet-head{margin-top:64px;padding-top:52px;border-top:1px solid var(--line);text-align:center;}
.pet-title{
  font-family:var(--font-mincho);font-weight:600;letter-spacing:.05em;
  font-size:clamp(20px,2.7vw,27px);line-height:1.65;
}
.pet-title .ac{color:var(--accent);}
.pet-lead{max-width:38em;margin:16px auto 0;font-size:14.5px;line-height:1.95;color:var(--ink-2);}
.pet-strip{display:grid;grid-template-columns:repeat(6,1fr);gap:14px;margin-top:36px;}
.pet{
  display:flex;flex-direction:column;align-items:center;gap:12px;
  padding:26px 8px 20px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);
}
.pet .pi{display:block;color:var(--accent);line-height:0;}
.pet .pi svg{width:58px;height:58px;display:block;}
/* care-*.webp と同じフラット絵本調のカラーイラスト。画像内に6%の余白を持たせてある */
.pet .pi img{width:104px;height:104px;display:block;}
.pet .pn{font-size:13px;font-weight:700;letter-spacing:.05em;color:var(--ink-2);text-align:center;}
@media (max-width:900px){ .pet-strip{grid-template-columns:repeat(3,1fr);} }
@media (max-width:520px){
  .pet-strip{grid-template-columns:repeat(2,1fr);gap:10px;}
  .pet{padding:20px 6px 16px;}
  .pet .pi svg{width:48px;height:48px;}
  .pet .pi img{width:72px;height:72px;}
  .pet-head{margin-top:44px;padding-top:38px;}
}

/* =========================================================
   SPヘッダーの詰め（メニューボタンが画面外に出る問題）
   .site-header .logo が flex:0 0 auto で縮まないため、
   ロゴ216px ＋ SPアクション180px ＝ 420px が 390px の画面に収まらず、
   メニューボタン（唯一のメニュー開閉手段）が右へ押し出されていた。
   ロゴを縮められるようにし、ロゴ側とボタン側の両方を詰めて収める。
   ========================================================= */
@media (max-width:430px){
  .site-header .logo{flex:0 1 auto;min-width:0;}
  .site-header .logo .logo-text{min-width:0;}
  .site-header .logo .mark-jp{
    font-size:14.5px;letter-spacing:.02em;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;   /* 最後の逃げ道 */
  }
  .site-header .logo .sub{display:none;}                          /* 英字ロゴはSPでは省く */
  .site-header .logo-mark{width:40px;height:40px;}
  /* 48px：ラベル「電話相談」(9.5px×4字＝38px) が折り返さない下限 */
  .hd-sp .sp-act{width:48px;padding-left:0;padding-right:0;}
}
/* 370px以下は屋号を省略記号で切るより、ロゴマークだけにしたほうが読める */
@media (max-width:370px){
  .site-header .logo .logo-text{display:none;}
}

/* 住所：建物名だけ折り返さない（SPで「石川ハイ／ツ205」と途中で改行されていた）。
   番地までを nowrap にすると min-content が411pxになり、CTAのグリッドを押し広げるので不可 */
.addr-nw{white-space:nowrap;}
/* 長い連続文字でグリッドのトラックが伸びないようにする保険 */
.cta-grid > *{min-width:0;}
/* 事業者概要テーブルの中はセルが狭いので、折り返し禁止を解除する */
.ctbl .addr-nw{white-space:normal;}

/* =========================================================
   最終CTA：連絡のハードルを下げるための追記
   （相談例／ボタンの補足／タップできる電話番号）
   ※ .cta-tel などの素の指定は 1074行付近にもあるので、必ずそれより後ろに置く
   ========================================================= */
.cta-ask{margin:0 0 30px;}
.cta-ask-t{
  font-size:12px;font-weight:700;letter-spacing:.12em;color:var(--accent);
  margin:0 0 12px;
}
.cta-ask ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px;}
.cta-ask li{
  position:relative;padding:12px 18px 12px 46px;
  font-size:14.5px;line-height:1.75;color:var(--ink-2);
  background:#fff;border:1px solid var(--line);border-radius:12px;
}
/* お客様の声カードと同じ引用符を、相談例の頭に置く */
.cta-ask li::before{
  content:"”";position:absolute;left:17px;top:15px;
  font:900 27px/1 var(--font-mincho);color:var(--accent-2);
}
/* ボタンの下の補足：電話とLINEで役割が違うことを一言で伝える */
.btn-notes{
  display:flex;flex-wrap:wrap;gap:6px 28px;margin:16px 0 0;
  font-size:12.5px;line-height:1.7;color:var(--muted);
}
.btn-notes b{color:var(--ink-2);font-weight:700;margin-right:9px;}
/* 電話番号はタップ／クリックできるようにする（これまでただのテキストだった） */
.cta-tel{margin-top:10px;}
.cta-tel .tel-big{
  display:inline-flex;align-items:center;gap:12px;
  /* 数字は最大42px。狭い画面では vw で縮めて、320pxでも1行に収める */
  font:700 clamp(27px,8vw,42px)/1 var(--font-en);letter-spacing:.02em;color:var(--ink);
  white-space:nowrap;transition:color .2s var(--ease);
}
.cta-tel .tel-big .ti{flex:0 0 .62em;width:.62em;height:.62em;color:var(--accent);}
.cta-tel .tel-big .ti svg{width:100%;height:100%;display:block;}
.cta-tel .tel-big:hover{color:var(--accent);}
.cta-tel .tn{display:block;margin-top:7px;font-size:12.5px;color:var(--muted);}
@media (max-width:760px){
  .cta-ask{margin-bottom:24px;}
  .cta-ask li{font-size:14px;padding:11px 15px 11px 42px;}
  .btn-notes{gap:5px 0;flex-direction:column;}
}

/* =========================================================
   最終CTA：安心材料をバンド（色ベタ＋肉球柄＋写真）で見せる
   参考デザインの構造（色面／見出し／2行の説明／右に写真）はそのまま、
   色はロゴのトンマナ（桜・墨茶・金茶）に置き換えている
   ========================================================= */
.cband{
  position:relative;overflow:hidden;border-radius:14px;
  min-height:106px;display:flex;align-items:center;
  padding:20px 22px;color:#fff;background:var(--band);
}
.cband + .cband{margin-top:12px;}
/* 肉球柄。うるさくならないよう白9%で、大きめに散らす */
.cband::before{
  content:"";position:absolute;inset:0;z-index:1;opacity:.09;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='%23fff'%3E%3Cellipse cx='30' cy='34' rx='7.5' ry='9.5'/%3E%3Cellipse cx='17' cy='19' rx='4.6' ry='6'/%3E%3Cellipse cx='30' cy='14' rx='4.6' ry='6'/%3E%3Cellipse cx='43' cy='19' rx='4.6' ry='6'/%3E%3Cellipse cx='78' cy='79' rx='6' ry='7.6'/%3E%3Cellipse cx='68' cy='67' rx='3.7' ry='4.8'/%3E%3Cellipse cx='78' cy='63' rx='3.7' ry='4.8'/%3E%3Cellipse cx='88' cy='67' rx='3.7' ry='4.8'/%3E%3C/g%3E%3C/svg%3E");
  background-size:96px 96px;
}
/* テキストは写真の上に乗せない（乗せると見出しが読めなくなる） */
.cb-txt{position:relative;z-index:3;width:64%;flex:0 0 64%;min-width:0;}
/* 色は明示する。後方の .cta-free b{color:var(--ink)} に負けて墨色になっていた */
.cb-txt b{
  display:block;color:#fff;font-family:var(--font-mincho);font-weight:600;
  font-size:17px;letter-spacing:.02em;line-height:1.5;margin-bottom:6px;
}
.cb-txt span{display:block;font-size:12px;line-height:1.75;color:rgba(255,255,255,.88);}
/* 写真は右端。左25%は完全に透過させ、色面へ溶かす */
.cb-photo{position:absolute;right:0;top:0;bottom:0;width:42%;z-index:2;}
.cb-photo img{
  width:100%;height:100%;object-fit:cover;display:block;
  -webkit-mask-image:linear-gradient(to right,transparent 0%,transparent 24%,rgba(0,0,0,.55) 58%,#000 100%);
  mask-image:linear-gradient(to right,transparent 0%,transparent 24%,rgba(0,0,0,.55) 58%,#000 100%);
}
/* 写真の上にも同色をうっすら重ねて、色面と地続きに見せる */
.cb-photo::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(to right,var(--band) 0%,color-mix(in srgb,var(--band) 45%,transparent) 52%,transparent 100%);
}
.cb-sakura{--band:#B04A61;}   /* 桜　　白文字コントラスト 5.9:1 */
.cb-midori{--band:#35604A;}   /* 濃緑　　　　　　　　　　 7.2:1 */
.cb-kin{--band:#8E6E40;}      /* 金　AAを保てる上限の明るさ 4.7:1 */
@media (max-width:980px){
  .cband{min-height:98px;padding:18px;}
  .cb-txt{width:64%;flex-basis:64%;}
  .cb-photo{width:38%;}
}
@media (max-width:420px){
  /* 幅の%はパディングを除いた内容幅に対してかかる。64%だと見出しが1文字あふれた */
  .cb-txt{width:70%;flex-basis:70%;}
  .cb-txt b{font-size:15.5px;}
  .cb-txt span{font-size:11.5px;line-height:1.7;}
  .cb-photo{width:34%;}
}


/* =========================================================
   2026-09 クライアント修正（HP修正箇所 / プラン表 最終）反映ぶん
   ※ 同名セレクタが前方にあるため、追記は必ずこのファイルの末尾に置くこと
   ========================================================= */

/* ---------- 表紙リード直後に移した「安心の3点」 ---------- */
.trustband-stats-only{padding:clamp(48px,6vw,84px) 0;}

/* ---------- 息を引き取ったら、まず：本文と注記 ---------- */
.care-card p.care-body{font-size:13px;color:var(--ink-2);line-height:1.9;}
.care-card p.care-cnote{
  margin-top:10px;padding-left:1.05em;text-indent:-1.05em;
  font-size:12px;line-height:1.8;color:var(--muted);
}

/* ---------- 私たちのお約束：番号 ---------- */
.caprow .cap-no{
  display:block;font:800 12px/1 var(--font-en);letter-spacing:.18em;
  color:var(--accent);margin-bottom:8px;
}

/* ---------- ご依頼の流れ：ステップ内の注記 ---------- */
.steps.five .pstep p.pnote{
  margin-top:10px;padding-left:1.05em;text-indent:-1.05em;
  font-size:11.5px;line-height:1.75;color:var(--muted);
}

/* ---------- 料金：オプションの金額 ---------- */
.qcard .opt-price{
  margin:6px 0 8px;font:700 clamp(17px,2.1vw,21px)/1.35 var(--font-jp);
  color:var(--accent);letter-spacing:.02em;
}

/* ---------- ご不安の締め：文字を大きく、動きを添える ---------- */
.issue-close{font-size:clamp(24px,3.2vw,37px);line-height:1.45;}
.issue-close-row .issue-close{flex:1 1 auto;min-width:0;}
.issue-close-row .ic-pet{height:clamp(110px,13vw,170px);}
.issue-close .em{position:relative;}
.issue-close .em::after{
  content:"";position:absolute;left:0;right:100%;bottom:-.16em;height:2px;
  background:currentColor;opacity:.45;transition:right 1.05s cubic-bezier(.2,.8,.2,1) .3s;
}
html.fx .issue-close-row.in .issue-close .em::after{right:0;}
html.fx .issue-close-row.in .ic-pet{animation:ic-breathe 4.4s ease-in-out infinite;}
html.fx .issue-close-row.in .ic-pet:nth-of-type(2){animation-delay:-2.2s;}
@keyframes ic-breathe{0%,100%{transform:translateY(0);}50%{transform:translateY(-9px);}}
@media (max-width:760px){
  .issue-close{font-size:26px;}
}

/* ---------- 事前相談 受付中：桜色のバンドで目立たせる ---------- */
.presoudan{position:relative;overflow:hidden;background:#B04A61;color:#fff;}
.presoudan::before{
  content:"";position:absolute;inset:0;z-index:0;opacity:.085;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='%23fff'%3E%3Cellipse cx='34' cy='40' rx='9' ry='11.5'/%3E%3Cellipse cx='19' cy='22' rx='5.6' ry='7.2'/%3E%3Cellipse cx='34' cy='16' rx='5.6' ry='7.2'/%3E%3Cellipse cx='49' cy='22' rx='5.6' ry='7.2'/%3E%3Cellipse cx='94' cy='96' rx='7.2' ry='9.2'/%3E%3Cellipse cx='82' cy='81' rx='4.5' ry='5.8'/%3E%3Cellipse cx='94' cy='76' rx='4.5' ry='5.8'/%3E%3Cellipse cx='106' cy='81' rx='4.5' ry='5.8'/%3E%3C/g%3E%3C/svg%3E");
  background-size:120px 120px;
}
.presoudan > .container{position:relative;z-index:2;}
.presoudan h2.sec-title{color:#fff;font-size:clamp(30px,4.4vw,50px);}
.presoudan h2.sec-title .ac{color:#FFE1B0;}
.presoudan .sec-lead{color:rgba(255,255,255,.92);}
.pre-badge{
  display:inline-flex;align-items:center;gap:12px;margin-bottom:24px;
  padding:9px 20px;border-radius:999px;background:#fff;
}
.pre-badge .en{font:800 11px/1 var(--font-en);letter-spacing:.2em;color:#B04A61;}
.pre-badge .jp{font-size:13px;font-weight:700;letter-spacing:.12em;color:#B04A61;}
.presoudan .pre-panel{
  background:rgba(255,255,255,.13);border-color:rgba(255,255,255,.42);
  backdrop-filter:blur(2px);
}
.presoudan .pre-panel .pre-lead{color:rgba(255,255,255,.92);}
.presoudan .pre-panel .pre-strong{color:#fff;}
.presoudan .btn.ghost{color:#fff;border-color:rgba(255,255,255,.62);background:transparent;}
.presoudan .btn.ghost .arr{background:rgba(255,255,255,.2);color:#fff;}
.presoudan .btn.ghost:hover{background:#fff;color:#B04A61;box-shadow:0 12px 28px rgba(70,20,32,.25);}
.presoudan .btn.ghost:hover .arr{background:rgba(176,74,97,.14);color:#B04A61;}

/* うさぎと小鳥（TOPのヒーロー／締めは犬・猫なので別の動物を使う） */
.pre-pets{position:absolute;inset:0;z-index:1;pointer-events:none;}
.pre-pet{
  position:absolute;width:clamp(88px,10vw,142px);height:auto;
  filter:drop-shadow(0 8px 18px rgba(60,18,30,.22));
}
.pre-pet-rabbit{left:clamp(10px,4.5vw,84px);bottom:7%;animation:pre-hop 2.9s ease-in-out infinite;}
.pre-pet-bird{right:clamp(10px,4.5vw,84px);top:13%;width:clamp(66px,7.2vw,108px);animation:pre-bob 3.6s ease-in-out infinite;}
@keyframes pre-hop{
  0%,54%,100%{transform:translateY(0) rotate(0deg);}
  62%{transform:translateY(-18px) rotate(-5deg);}
  72%{transform:translateY(0) rotate(0deg);}
  80%{transform:translateY(-8px);}
  88%{transform:translateY(0);}
}
@keyframes pre-bob{
  0%,100%{transform:translateY(0) rotate(-3deg);}
  50%{transform:translateY(-12px) rotate(3deg);}
}
/* 幅が足りない画面では本文に重ねず、下に並べる */
@media (max-width:1180px){
  .pre-pets{position:static;display:flex;justify-content:center;align-items:flex-end;gap:34px;margin-top:34px;}
  .pre-pet{position:static;width:104px;}
  .pre-pet-bird{width:82px;margin-bottom:6px;}
}
@media (max-width:420px){
  .pre-pet{width:86px;} .pre-pet-bird{width:68px;}
}
@media (prefers-reduced-motion:reduce){
  .pre-pet{animation:none;}
  html.fx .issue-close-row.in .ic-pet{animation:none;}
}
@media (max-width:760px){
  .presoudan h2.sec-title{font-size:clamp(23px,6.6vw,32px);}
  .presoudan .pre-badge{padding:8px 16px;gap:9px;}
  .presoudan .pre-badge .en{font-size:10px;letter-spacing:.16em;}
}

/* SP：表紙リードの見出しが1文字だけ折り返すのを防ぐ（2026-09-04 本番確認で発見） */
@media (max-width:420px){
  .trustband-head{font-size:24px;letter-spacing:0;text-wrap:pretty;}
}

/* 比較表「その他」：注記のあとに次の項目が続くときの間隔（2026-09-12） */
.pmatrix td .note:not(:last-child){margin-bottom:8px;}

/* =========================================================
   ヒーロー写真の出し分け（2026-09-15）
   SPは縦長（9:16）に切った写真を <picture> で出す。<picture> で包んだので
   クロスフェードの遅延指定と、JS無効時の1枚目表示を付け直す
   ========================================================= */
.hero-slides picture{display:contents;}
.hero-bg picture:not(:first-child) .hero-slide{opacity:0;}
html.fx .hero-bg picture:nth-child(2) .hero-slide{animation-delay:7s;}
html.fx .hero-bg picture:nth-child(3) .hero-slide{animation-delay:14s;}
html.fx .hero-bg picture:nth-child(4) .hero-slide{animation-delay:21s;}
@media (prefers-reduced-motion: reduce){
  html.fx .hero-bg picture:first-child .hero-slide{opacity:1;}
}
body[data-motion="min"] .hero-bg picture:first-child .hero-slide{opacity:1;}

/* =========================================================
   SPヒーロー（採用：F案 2026-09-15）：ファーストビューは「見出し＋キッカー＋写真」だけ
   写真は1画面ぶん。下に行くほど白くなるグラデーションの上に見出しを置く。
   キッカー・バナー・受付案内は1画面より下に送り、スクロールすると現れる
   ========================================================= */
@media (max-width:760px){
  :root{--hd:84px;--fb:calc(96px + env(safe-area-inset-bottom));}
  .hero{min-height:auto;justify-content:flex-start;background:#fff;}
  .hero-slides{
    position:absolute;inset:0 0 auto 0;height:calc(100svh - var(--hd));
    -webkit-mask:none;mask:none;
    overflow:hidden; /* 拡大演出ぶんのはみ出しが帯の下に線として出るのを防ぐ */
  }
  .hero-bg .hero-slide{object-position:50% 28%;filter:none;}
  .hero-veil{
    position:absolute;inset:0 0 auto 0;height:calc(100svh - var(--hd));
    background:linear-gradient(to bottom,
      rgba(255,255,255,0) 0%,rgba(255,255,255,0) 36%,
      rgba(255,255,255,.28) 48%,rgba(255,255,255,.62) 58%,
      rgba(255,255,255,.86) 68%,rgba(255,255,255,.96) 78%,#fff 90%,#fff 100%);
  }
  .hero-inner{display:flex;flex-direction:column;padding-top:0;padding-bottom:36px;}
  /* 1画面目：見出し＋キッカーをひとまとまりに。下端は固定バーの少し上
     （flex にすると <span class="ac"> が別の行に分かれるので、padding-top で位置を作る） */
  .hero .hero-copy{
    order:1;margin:0 0 14px;display:block;
    --fs:clamp(25px,7.6vw,30px);--kick:50px;
    font-size:var(--fs);line-height:1.5;font-weight:800;letter-spacing:.02em;white-space:nowrap;
    padding-top:calc(100svh - var(--hd) - var(--fb) - 22px - var(--fs) * 4.5 - 14px - var(--kick));
    padding-bottom:0;
  }
  .hero-kicker{
    order:2;margin:0;padding-bottom:calc(var(--fb) + 22px);
    display:flex;flex-direction:column;align-items:flex-start;gap:7px;
  }
  .hero-kicker .ln{display:none;}
  .hero-kicker .en{font-size:12px;letter-spacing:.24em;}
  .hero-kicker .jp{font-size:12px;color:var(--ink-2);}
  /* 2画面目：スクロールで現れる（固定バーの裏ぶんだけ引き上げて隙間を詰める） */
  .hero-banner{order:3;margin:calc(28px - var(--fb)) 0 6px;}
  .hero-banner .hb-slash{min-height:44px;width:14px;}
  /* 2画面目（バナー＋受付案内）は中央揃え */
  .hero-banner{gap:8px;max-width:100%;display:flex;justify-content:center;margin-left:auto;margin-right:auto;}
  .hero-banner .hb-text{text-align:center;}
  .hero .assure{text-align:center;}
  /* 「…ご相談ください」の1行（18文字）が 375px 幅でも折り返さないよう、文字サイズを画面幅に追従させる */
  .hero-banner .hb-text{font-size:clamp(12.5px,3.7vw,15px);letter-spacing:.02em;white-space:nowrap;}
  .hero .assure{order:4;margin:0;padding-top:0;}
}

/* =========================================================
   「想い」の背景：花びらの散らし＋光のにじみ（採用 2026-09-15）
   ========================================================= */
#thoughts{position:relative;overflow:hidden;isolation:isolate;}
#thoughts > .container{position:relative;z-index:3;}
.tbg{position:absolute;inset:0;z-index:0;pointer-events:none;}
.tbg > *{position:absolute;opacity:1;}
.tbg .glow{inset:0;
  background:
    radial-gradient(38% 50% at 12% 18%, rgba(224,178,122,.22) 0%, rgba(224,178,122,0) 70%),
    radial-gradient(34% 48% at 88% 82%, rgba(240,174,187,.26) 0%, rgba(240,174,187,0) 70%);}
.tbg .petalfield{inset:0;}
.tbg .petalfield i{position:absolute;display:block;width:22px;height:26px;background:#F0AEBB;
  border-radius:100% 0 100% 0;transform:rotate(var(--r,20deg));opacity:.55;}
.tbg .petalfield i:nth-child(1){left:6%;top:14%;--r:-25deg;width:30px;height:36px;filter:blur(1px);}
.tbg .petalfield i:nth-child(2){left:14%;top:62%;--r:35deg;width:18px;height:22px;}
.tbg .petalfield i:nth-child(3){left:23%;top:30%;--r:60deg;width:14px;height:17px;opacity:.4;}
.tbg .petalfield i:nth-child(4){left:9%;top:82%;--r:-50deg;width:40px;height:48px;filter:blur(4px);opacity:.35;}
.tbg .petalfield i:nth-child(5){left:31%;top:86%;--r:10deg;width:16px;height:19px;}
.tbg .petalfield i:nth-child(6){left:70%;top:10%;--r:-40deg;width:20px;height:24px;}
.tbg .petalfield i:nth-child(7){left:80%;top:26%;--r:30deg;width:34px;height:40px;filter:blur(2px);opacity:.4;}
.tbg .petalfield i:nth-child(8){left:90%;top:48%;--r:70deg;width:16px;height:19px;}
.tbg .petalfield i:nth-child(9){left:76%;top:70%;--r:-15deg;width:24px;height:29px;}
.tbg .petalfield i:nth-child(10){left:93%;top:84%;--r:45deg;width:44px;height:52px;filter:blur(5px);opacity:.3;}
.tbg .petalfield i:nth-child(11){left:60%;top:90%;--r:-70deg;width:14px;height:17px;opacity:.45;}
.tbg .petalfield i:nth-child(12){left:40%;top:6%;--r:15deg;width:12px;height:15px;opacity:.4;}
.tbg .petalfield i:nth-child(13){left:86%;top:6%;--r:-5deg;width:12px;height:15px;opacity:.5;}
.tbg .petalfield i:nth-child(14){left:3%;top:44%;--r:80deg;width:26px;height:31px;filter:blur(2px);opacity:.35;}

/* =========================================================
   SPヘッダー：画面下に電話・LINEの固定バーがあるので、上はロゴとメニューだけに（2026-09-15）
   ========================================================= */
@media (max-width:980px){
  .hd-sp .sp-act.tel, .hd-sp .sp-act.line{display:none;}
  .hd-sp .sp-act.burger{width:56px;}
  .site-header .logo .logo-text{font-size:15.5px;}
}
@media (max-width:370px){
  .site-header .logo .logo-text{display:block;font-size:14px;}
}

/* SPヒーローの見出し：写真の上で薄く見えないよう、濃い墨色にして重なり順も明示（2026-09-15） */
@media (max-width:760px){
  .hero-inner{z-index:2;}
  .hero .hero-copy{
    color:#2A2521;
    text-shadow:0 0 14px rgba(255,255,255,.85),0 0 28px rgba(255,255,255,.6);
  }
  .hero .hero-copy .ac{color:#A8405A;}
}

/* SPヘッダーのメニューボタン：開いたときのバツ印を中央で交差させる（2026-09-15）
   ボタンは flex 縦並び（gap 3px）で、線は高さ1.5px＋上下2pxの余白。
   線の中心どうしの間隔＝1.5+2+2+3＝8.5px なので、上下の線を8.5pxずつ寄せて中央で交差させる */
@media (max-width:980px){
  .site-header.menu-open .sp-act.burger i:nth-child(1){transform:translateY(8.5px) rotate(45deg);}
  .site-header.menu-open .sp-act.burger i:nth-child(2){opacity:0;transform:scaleX(0);}
  .site-header.menu-open .sp-act.burger i:nth-child(3){transform:translateY(-8.5px) rotate(-45deg);}
  .site-header.menu-open .sp-act.burger .bl{font-size:0;}
  .site-header.menu-open .sp-act.burger .bl::after{content:"閉じる";font-size:9.5px;}
}

/* 「想い」の花びら：文字と重なって読みにくいので、濃いものを薄く。SPは全体をさらに薄く（2026-09-15） */
.tbg .petalfield i{opacity:.32;}
.tbg .petalfield i:nth-child(1){opacity:.3;}
.tbg .petalfield i:nth-child(2){opacity:.3;}
.tbg .petalfield i:nth-child(5){opacity:.3;}
.tbg .petalfield i:nth-child(6){opacity:.3;}
.tbg .petalfield i:nth-child(8){opacity:.3;}
.tbg .petalfield i:nth-child(9){opacity:.3;}
.tbg .petalfield i:nth-child(13){opacity:.3;}
.tbg .petalfield i:nth-child(3),.tbg .petalfield i:nth-child(11),.tbg .petalfield i:nth-child(12){opacity:.24;}
.tbg .petalfield i:nth-child(4),.tbg .petalfield i:nth-child(7),.tbg .petalfield i:nth-child(10),.tbg .petalfield i:nth-child(14){opacity:.22;}
@media (max-width:760px){
  .tbg .petalfield{opacity:.7;}
  .tbg .glow{opacity:.7;}
}

/* SP下部バー：アイコンと文字の間を詰める（2026-09-15） */
@media (max-width:980px){
  .fixbar .hd-tel .tel-num{gap:4px;}
  .fixbar .hd-btn.line{gap:4px;}
  .fixbar .hd-btn.line .hb-t{gap:4px;}
}

/* ヘッダーの白を少し透けさせる（2026-09-15）。追従中に後ろの写真・本文がうっすら見える。
   メニューを開いている間はナビの読みやすさを優先して白のまま */
.site-header,
.site-header.scrolled,.site-header.hd-hide{
  background:rgba(255,255,255,.84);
  -webkit-backdrop-filter:blur(12px) saturate(1.2);backdrop-filter:blur(12px) saturate(1.2);
}
.site-header .topbar{background:rgba(247,243,242,.6);}
.site-header.menu-open{background:#fff;}

/* SP：各セクションの上下余白を 56px に統一（2026-09-15） */
@media (max-width:760px){
  section.block{padding:56px 0;}
  .trustband{padding:56px 0;}
  .trustband-lead{margin-bottom:0;}
  .trustband-stats-only{padding:56px 0;}
  .cta{padding:56px 0;}
}

/* CTA帯：見出しの右端にスタッフの丸写真（2026-09-15。写真は仮＝staff-1） */
.cb-head.has-staff{display:flex;align-items:center;justify-content:center;gap:18px;flex-wrap:nowrap;}
.cb-staff{
  flex:0 0 auto;width:clamp(60px,7.2vw,104px);aspect-ratio:1;border-radius:50%;overflow:hidden;
  border:3px solid #fff;box-shadow:0 8px 22px rgba(60,40,30,.16);background:#EFE8DC;
}
.cb-staff img{width:100%;height:100%;object-fit:cover;object-position:50% 18%;display:block;}
@media (max-width:760px){
  .cb-head.has-staff{gap:12px;}
  .cb-head.has-staff .cb-head-t{font-size:clamp(19px,5.8vw,22px);white-space:nowrap;letter-spacing:.02em;}
  .cb-staff{width:60px;border-width:2px;}
}

/* CTA帯のボタン：375px幅で「…に電話する」が折り返していたので、SPは文字を少し小さく・折り返し禁止（2026-09-15） */
@media (max-width:760px){
  .cta-band .btn{white-space:nowrap;font-size:14.5px;padding-left:18px;padding-right:14px;}
}

/* =========================================================
   CTA帯「ひと目で分かる」版（cta-punch・2026-09-15）
   左：スタッフ写真／右：タグ＋見出し＋リード → 黒帯（受付中） → 白ボックス（大きな電話番号＋LINE）
   ========================================================= */
.cta-punch{text-align:left;}
.cta-punch .container{max-width:860px;}
.cp-top{display:flex;align-items:center;gap:clamp(18px,3vw,36px);}
.cp-staff{
  flex:0 0 clamp(120px,18vw,200px);aspect-ratio:1;border-radius:50%;overflow:hidden;
  border:4px solid #fff;box-shadow:0 12px 30px rgba(60,40,30,.16);background:#EFE8DC;
}
.cp-staff img{width:100%;height:100%;object-fit:cover;object-position:50% 18%;display:block;}
.cp-txt{flex:1 1 auto;min-width:0;}
.cp-tag{
  display:inline-block;background:var(--accent);color:#fff;font-weight:700;
  font-size:clamp(13px,1.4vw,15px);letter-spacing:.06em;padding:6px 12px;border-radius:4px;margin:0 0 10px;
}
.cp-head{
  margin:0 0 8px;font-family:var(--font-mincho);font-weight:700;color:var(--ink);
  font-size:clamp(26px,3.6vw,42px);line-height:1.35;letter-spacing:.03em;font-feature-settings:"palt" 1;
}
.cp-lead{margin:0;font-size:clamp(14px,1.5vw,16px);line-height:1.8;color:var(--ink-2);font-weight:700;}
.cp-pill{
  margin:clamp(22px,3vw,30px) 0 0;background:var(--ink);color:#fff;text-align:center;
  font-weight:700;font-size:clamp(14px,1.7vw,18px);letter-spacing:.06em;padding:12px 16px;border-radius:999px;
}
.cp-box{
  margin-top:18px;background:#fff;border:2px solid var(--accent);border-radius:14px;
  padding:clamp(20px,3vw,28px) clamp(18px,3vw,32px);text-align:center;
}
.cp-box-t{margin:0 0 6px;font-weight:700;font-size:clamp(14px,1.5vw,16px);color:var(--ink);letter-spacing:.04em;}
.cp-tel{
  display:inline-flex;align-items:center;gap:8px;color:var(--accent);text-decoration:none;
  font:800 clamp(34px,5.4vw,56px)/1.1 var(--font-en);letter-spacing:.02em;
}
.cp-tel .ti{flex:0 0 auto;width:.8em;height:.8em;display:inline-flex;}
.cp-tel .ti svg{width:100%;height:100%;}
.cp-box-n{margin:8px 0 0;font-size:clamp(12.5px,1.3vw,14px);color:var(--muted);line-height:1.7;}
.cp-line{margin-top:16px;display:flex;justify-content:center;}
.cp-line .btn{justify-content:center;}
@media (max-width:760px){
  /* 写真は小さく左に、右にタグ＋見出し。リードは写真の下に全幅で */
  .cp-top{display:grid;grid-template-columns:80px 1fr;column-gap:12px;row-gap:0;align-items:center;}
  .cp-staff{flex-basis:auto;width:80px;border-width:3px;grid-column:1;grid-row:1 / span 2;align-self:center;}
  .cp-txt{display:contents;}
  .cp-tag{grid-column:2;grid-row:1;align-self:end;font-size:11.5px;padding:5px 9px;margin:0 0 6px;justify-self:start;}
  .cp-head{grid-column:2;grid-row:2;align-self:start;margin:0;
    font-size:clamp(19px,5.6vw,22px);white-space:nowrap;letter-spacing:.01em;line-height:1.3;}
  .cp-lead{grid-column:1 / -1;grid-row:3;margin-top:12px;font-size:13.5px;line-height:1.75;}
  .cp-lead br{display:none;}
  .cp-pill{font-size:13.5px;padding:11px 10px;letter-spacing:.03em;}
  .cp-box{padding:18px 14px;}
  .cp-tel{font-size:clamp(26px,8vw,32px);white-space:nowrap;}
  .cp-line .btn{width:100%;}
}

/* ひと目で分かるCTA：受付中の帯をタグと同じ桜色に（2026-09-15） */
.cp-pill{background:var(--accent);}

/* ひと目で分かるCTA：押しやすい大きなボタン2つ（2026-09-15）
   角丸の長方形・上下グラデーション・下辺の濃い縁で立体感。押すと沈む */
.cp-btns{margin-top:18px;display:grid;gap:12px;}
.cp-btn{
  --c1:#D06A82;--c2:var(--accent);--c3:#8E3548;
  position:relative;display:flex;align-items:center;gap:14px;
  min-height:68px;padding:12px 18px 14px 20px;border-radius:12px;text-decoration:none;color:#fff;
  background:linear-gradient(to bottom,var(--c1) 0%,var(--c2) 100%);
  box-shadow:0 4px 0 var(--c3),0 10px 22px rgba(60,40,30,.16);
  transition:transform .12s ease,box-shadow .12s ease;
}
.cp-btn:hover{filter:brightness(1.04);}
.cp-btn:active{transform:translateY(3px);box-shadow:0 1px 0 var(--c3),0 4px 10px rgba(60,40,30,.16);}
.cp-btn .cp-ci{flex:0 0 auto;width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;}
.cp-btn .cp-ci svg{width:100%;height:100%;}
.cp-btn .cp-ct{flex:1 1 auto;font-weight:800;font-size:clamp(17px,1.8vw,21px);line-height:1.3;letter-spacing:.04em;text-align:center;text-shadow:0 1px 0 rgba(0,0,0,.12);}
.cp-btn .cp-ct .cp-sp{display:none;}
.cp-btn .cp-cv{flex:0 0 auto;font:800 26px/1 var(--font-en);opacity:.85;}
.cp-btn-line{--c1:#2ED36B;--c2:var(--line-green);--c3:#048C3D;}
.cp-btn-line .cp-ci{width:36px;height:36px;}
@media (max-width:760px){
  .cp-btns{gap:10px;}
  .cp-btn{min-height:70px;padding:10px 14px 12px 16px;}
  .cp-btn .cp-ct{font-size:18px;line-height:1.25;}
  .cp-btn .cp-ct .cp-sp{display:inline;}
  .cp-btn .cp-ct .cp-pc{display:none;}
}

/* ひと目で分かるCTA：スタッフは切り抜き写真（gosoudan.png）を右側に立たせる（2026-09-15）
   足元は受付中の帯の裏に入る（帯の上に立っているように見せる） */
.cp-top{align-items:flex-end;}
.cp-staff.cp-cutout{
  flex:0 0 auto;width:auto;aspect-ratio:auto;border-radius:0;overflow:visible;border:0;box-shadow:none;background:none;
  margin-bottom:calc(-1 * clamp(22px,3vw,30px));position:relative;z-index:0;
  filter:drop-shadow(0 10px 18px rgba(60,40,30,.14));
}
.cp-staff.cp-cutout img{width:auto;height:clamp(190px,24vw,260px);object-fit:contain;object-position:bottom;display:block;}
.cp-txt{align-self:center;padding-bottom:10px;}
.cp-pill{position:relative;z-index:1;}
@media (max-width:760px){
  .cp-top{display:grid;grid-template-columns:1fr 104px;column-gap:8px;row-gap:0;align-items:end;}
  .cp-txt{display:block;grid-column:1;grid-row:1;align-self:center;padding-bottom:0;min-width:0;}
  .cp-tag{display:inline-block;margin:0 0 6px;}
  .cp-head{margin:0;font-size:clamp(17px,5.1vw,20px);white-space:nowrap;letter-spacing:.01em;line-height:1.3;}
  .cp-lead{margin-top:8px;font-size:13px;line-height:1.7;}
  .cp-staff.cp-cutout{grid-column:2;grid-row:1;width:104px;margin-bottom:-22px;justify-self:end;}
  .cp-staff.cp-cutout img{height:auto;width:100%;}
}

/* ひと目で分かるCTA：PCは文字と人物を中央に寄せる（2026-09-15） */
@media (min-width:761px){
  .cp-top{justify-content:center;gap:clamp(28px,5vw,64px);}
  .cp-txt{flex:0 1 auto;}
}

/* ひと目で分かるCTA：PCは人物を少し小さく・間隔を詰めて中央へ。SPの補足は短い文で1行に（2026-09-15） */
@media (min-width:761px){
  .cp-top{gap:clamp(20px,3vw,36px);}
  .cp-staff.cp-cutout img{height:clamp(170px,20vw,230px);}
  .cp-box-n .cp-sp{display:none;}
}
@media (max-width:760px){
  .cp-box-n .cp-pc{display:none;}
  .cp-box-n{white-space:nowrap;font-size:12.5px;}
}

/* ひと目で分かるCTA：見出しが長い帯（種類や大きさから…）はSPで2行にする（2026-09-15） */
@media (max-width:760px){
  .cp-head.cp-head-2l{white-space:normal;font-size:clamp(18px,5.4vw,21px);line-height:1.35;}
  .cp-head.cp-head-2l .br-sp{display:inline;}
}
@media (min-width:761px){
  .cp-head.cp-head-2l .br-sp{display:none;}
}

/* =========================================================
   最終CTA（お電話一本で…）：左列を「ひと目で分かる」構成に（2026-09-15・全ページ共通）
   ========================================================= */
.cta .cta-grid{align-items:start;}
.cta .cp-top{margin-top:4px;}
.cta .cta-head.cp-head{font-size:clamp(22px,2.2vw,30px);margin:0 0 8px;font-weight:700;letter-spacing:.02em;}
.cta .cp-lead{font-size:clamp(13.5px,1.3vw,15px);font-weight:500;color:var(--ink-2);}
.cta .cp-staff.cp-cutout img{height:clamp(160px,17vw,210px);}
.cta .cp-box{margin-top:16px;}
.cta .cta-ask{margin:26px 0 0;}
.cta .assure{margin-top:14px;}
@media (min-width:761px){
  .cta .cp-top{justify-content:flex-start;gap:clamp(16px,2.4vw,28px);}
  .cta .cp-head.cp-head-2l br{display:inline;}
}
@media (max-width:760px){
  .cta .cp-top{margin-top:8px;}
  .cta .cta-head.cp-head{font-size:clamp(17px,5vw,19.5px);line-height:1.35;letter-spacing:.01em;}
}

/* 「種類や大きさから、お見積りできます」帯：PCでも「種類や大きさから、」で改行し、文字と人物を中央に寄せる（2026-09-15） */
@media (min-width:761px){
  .cta-punch .cp-head.cp-head-2l .br-sp{display:inline;}
  .cta-punch .cp-head.cp-head-2l{line-height:1.3;}
  .cta-punch .cp-top{justify-content:center;gap:clamp(20px,3vw,36px);}
}

/* 最終CTA：左右の高さをそろえるため、「こんなご相談から」と事前相談の一文を右列（帯・住所の下）へ（2026-09-15） */
.cta-free .cta-ask{margin:26px 0 0;}
.cta-free .assure{margin-top:14px;}
@media (min-width:761px){
  .cta .cta-grid{align-items:stretch;}
  .cta-free{justify-content:space-between;}
}

/* ひと目で分かるCTA（SP）：見出しを大きく。タグ・見出しは全幅、人物はリード文の横に（2026-09-15） */
@media (max-width:760px){
  .cp-top{display:grid;grid-template-columns:1fr 96px;column-gap:10px;row-gap:0;align-items:end;}
  .cp-txt{display:contents;}
  .cp-tag{grid-column:1 / -1;grid-row:1;justify-self:start;margin:0 0 8px;font-size:12px;}
  .cp-head, .cta-punch .cp-head, .cta .cta-head.cp-head{
    grid-column:1 / -1;grid-row:2;margin:0;
    font-size:clamp(23px,6.9vw,27px);line-height:1.35;letter-spacing:.02em;white-space:nowrap;
  }
  .cp-head.cp-head-2l, .cta .cta-head.cp-head.cp-head-2l{white-space:normal;}
  .cp-lead{grid-column:1;grid-row:3;align-self:center;margin-top:10px;font-size:13.5px;line-height:1.7;}
  .cp-staff.cp-cutout{grid-column:2;grid-row:3;width:96px;align-self:end;margin-bottom:-22px;justify-self:end;}
  .cp-staff.cp-cutout img{width:100%;height:auto;}
  .cta .cp-staff.cp-cutout img{height:auto;}
}

/* ひと目で分かるCTA（SP）：人物は右側でタグ〜リードの横に。見出しは横に収まるサイズ（20〜22px）。見出しとリードの間を詰める（2026-09-15） */
@media (max-width:760px){
  .cp-top{grid-template-columns:1fr 88px;column-gap:10px;align-items:end;}
  .cp-tag{grid-column:1;grid-row:1;margin:0 0 6px;}
  .cp-head, .cta-punch .cp-head, .cta .cta-head.cp-head{
    grid-column:1;grid-row:2;font-size:clamp(20px,5.6vw,22px);line-height:1.35;letter-spacing:0;
  }
  .cp-lead{grid-column:1;grid-row:3;margin-top:4px;font-size:13px;line-height:1.65;}
  .cp-staff.cp-cutout{grid-column:2;grid-row:1 / span 3;width:88px;align-self:end;margin-bottom:-22px;}
}

/* =========================================================
   最終CTA：1カラム版（cta-single・2026-09-15）
   上の CTA と同じブロック → 「はじめにお伺いすること」など3枚を横並び → 住所
   相談例（こんなご相談から）と事前相談の一文はボックス内に組み込む
   ========================================================= */
.cta.cta-single .cp-wrap{max-width:860px;margin:0 auto;}
.cta.cta-single .kicker{margin-bottom:14px;}
.cta.cta-single .cp-top{margin-top:0;}
.cta.cta-single .cp-box{text-align:center;}
.cp-ask{margin-top:20px;padding-top:18px;border-top:1px dashed var(--line);text-align:left;}
.cp-ask-t{margin:0 0 10px;font-size:13.5px;font-weight:700;color:var(--accent);letter-spacing:.04em;}
.cp-ask ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:7px;}
.cp-ask li{position:relative;padding-left:22px;font-size:14px;line-height:1.65;color:var(--ink-2);}
.cp-ask li::before{content:"”";position:absolute;left:2px;top:-2px;font:800 20px/1 var(--font-en);color:var(--accent);}
.cp-assure{margin:14px 0 0;font-size:12.5px;line-height:1.7;color:var(--muted);text-align:left;}
.cp-assure b{color:var(--ink-2);font-weight:700;}
.cp-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;max-width:1040px;margin:34px auto 0;}
.cp-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px 20px 18px;}
.cp-card b{display:block;font-family:var(--font-mincho);font-weight:700;font-size:15.5px;color:var(--accent);margin-bottom:8px;line-height:1.5;}
.cp-card span{display:block;font-size:13px;line-height:1.75;color:var(--ink-2);}
.cp-addr{margin:22px auto 0;max-width:1040px;display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;font-size:12.5px;color:var(--muted);line-height:1.7;text-align:center;}
@media (max-width:760px){
  .cp-cards{grid-template-columns:1fr;gap:10px;margin-top:22px;}
  .cp-card{padding:16px 16px 14px;}
  .cp-card b{font-size:15px;}
  .cp-ask li{font-size:13.5px;}
  .cp-addr{margin-top:18px;font-size:12px;}
}

/* フッターの帯を桜色（赤）に */
.footer{background:var(--accent);color:rgba(255,255,255,.86);}
.footer .mark-jp,.footer nav a:hover{color:#fff;}
.footer nav a{color:rgba(255,255,255,.9);}
.footer .logo .sub{opacity:.75;}
.footer .foot-btm{border-top-color:rgba(255,255,255,.28);}
.footer .foot-btm{color:rgba(255,255,255,.75);}

/* フッター：PCでも画面下の追従バーが重なって下側が隠れるので、バーの高さぶん余白を足す。ロゴとナビは上下中央（2026-09-15） */
.foot-grid{align-items:center;}
@media (min-width:981px){
  .footer{padding-bottom:calc(38px + 120px);}
}

/* 最終CTA（PC）：見出しは1行、リードは「決まっていなくても、」で改行、文字と人物を中央に（2026-09-15） */
@media (min-width:761px){
  .cta .cp-head.cp-head-2l br{display:none;}
  .cta.cta-single .cp-top{justify-content:center;gap:clamp(20px,3vw,36px);}
  .cta .cp-lead .br-pc{display:inline;}
}
@media (max-width:760px){
  .cp-lead .br-pc{display:none;}
}

/* =========================================================
   事前相談バンドの背景（採用 B 2026-09-15）：肉球柄・うさぎ・小鳥をやめ、光のにじみ＋白い花びらを薄く
   ========================================================= */
.presoudan::before{display:none;}
.pre-pets{display:none;}
.ps-bg{position:absolute;inset:0;z-index:0;pointer-events:none;}
.ps-bg > *{position:absolute;inset:0;opacity:1;}
.ps-bg .glow{background:
  radial-gradient(60% 70% at 50% 0%, rgba(255,255,255,.14) 0%, rgba(255,255,255,0) 70%),
  radial-gradient(40% 50% at 8% 90%, rgba(255,225,176,.16) 0%, rgba(255,225,176,0) 70%),
  radial-gradient(40% 50% at 92% 10%, rgba(255,255,255,.10) 0%, rgba(255,255,255,0) 70%),
  linear-gradient(170deg,#B85069 0%,#B04A61 50%,#9E3F55 100%);}
.ps-bg .petals i{position:absolute;display:block;width:22px;height:26px;background:#fff;border-radius:100% 0 100% 0;transform:rotate(var(--r,20deg));opacity:.10;}
.ps-bg .petals i:nth-child(1){left:6%;top:14%;--r:-25deg;width:30px;height:36px;filter:blur(1px);}
.ps-bg .petals i:nth-child(2){left:14%;top:62%;--r:35deg;width:18px;height:22px;}
.ps-bg .petals i:nth-child(3){left:23%;top:30%;--r:60deg;width:14px;height:17px;opacity:.08;}
.ps-bg .petals i:nth-child(4){left:9%;top:82%;--r:-50deg;width:40px;height:48px;filter:blur(4px);opacity:.07;}
.ps-bg .petals i:nth-child(5){left:31%;top:86%;--r:10deg;width:16px;height:19px;}
.ps-bg .petals i:nth-child(6){left:70%;top:10%;--r:-40deg;width:20px;height:24px;}
.ps-bg .petals i:nth-child(7){left:80%;top:26%;--r:30deg;width:34px;height:40px;filter:blur(2px);opacity:.08;}
.ps-bg .petals i:nth-child(8){left:90%;top:48%;--r:70deg;width:16px;height:19px;}
.ps-bg .petals i:nth-child(9){left:76%;top:70%;--r:-15deg;width:24px;height:29px;}
.ps-bg .petals i:nth-child(10){left:93%;top:84%;--r:45deg;width:44px;height:52px;filter:blur(5px);opacity:.06;}
.ps-bg .petals i:nth-child(11){left:60%;top:90%;--r:-70deg;width:14px;height:17px;}
.ps-bg .petals i:nth-child(12){left:40%;top:6%;--r:15deg;width:12px;height:15px;}
.ps-bg .petals i:nth-child(13){left:86%;top:6%;--r:-5deg;width:12px;height:15px;}
.ps-bg .petals i:nth-child(14){left:3%;top:44%;--r:80deg;width:26px;height:31px;filter:blur(2px);opacity:.07;}

/* 最終CTA（SP）：人物を大きく（88→124px）。文字列の幅を減らし、リードの改行を増やす（2026-09-15） */
@media (max-width:760px){
  .cta.cta-single .cp-top{grid-template-columns:1fr 124px;column-gap:8px;}
  .cta.cta-single .cp-staff.cp-cutout{width:124px;margin-bottom:-26px;}
  .cta.cta-single .cp-lead{font-size:12.5px;line-height:1.7;}
}
@media (max-width:760px){
  /* 人物を大きくした分、見出しが3行に折れないよう 17.5〜18.5px に */
  .cta.cta-single .cta-head.cp-head{font-size:clamp(17.5px,4.7vw,18.5px);letter-spacing:0;line-height:1.4;}
}

/* CTA帯（SP）：人物の大きさを最終CTAと同じ 124px に統一。見出し・リードも同じサイズ（2026-09-15） */
@media (max-width:760px){
  .cta-punch .cp-top{grid-template-columns:1fr 124px;column-gap:8px;}
  .cta-punch .cp-staff.cp-cutout{width:124px;margin-bottom:-26px;}
  .cta-punch .cp-head{font-size:clamp(17.5px,4.7vw,18.5px);letter-spacing:0;line-height:1.4;}
  .cta-punch .cp-lead{font-size:12.5px;line-height:1.7;}
}

/* CTA（PC・タブレット幅）：文字の列が人物に押されて「種類や大きさか／ら、」のように途中で折れないようにする（2026-09-15）
   見出しの各行は短いので折り返し禁止。人物は 761〜1100px では小さめに */
@media (min-width:761px){
  .cp-head, .cta .cta-head.cp-head{white-space:nowrap;}
  .cp-txt{flex:0 0 auto;max-width:calc(100% - 200px);}
  .cp-lead{white-space:nowrap;}
}
@media (min-width:761px) and (max-width:1100px){
  .cp-head, .cta .cta-head.cp-head, .cta-punch .cp-head{font-size:clamp(22px,3.1vw,30px);}
  .cp-staff.cp-cutout img, .cta .cp-staff.cp-cutout img{height:clamp(150px,19vw,200px);}
  .cp-lead{font-size:13.5px;white-space:normal;}
  .cp-txt{max-width:calc(100% - 170px);}
}

/* PCヘッダー（981〜1260px）：電話番号が折れて3行になっていたので、番号は折り返し禁止・幅に応じて縮小。
   受付時間は1行に、ボタンは細く（2026-09-15） */
@media (min-width:981px) and (max-width:1260px){
  .hd-tel .tel-num{white-space:nowrap;font-size:clamp(22px,2.4vw,30px);gap:6px;}
  .hd-tel .tel-num .ti{flex-basis:22px;width:22px;height:22px;}
  .hd-tel .tel-sub{white-space:nowrap;font-size:10px;}
  .hd-contact{gap:12px;}
  .hd-badge{width:54px;height:54px;font-size:8px;}
  .hd-badge b{font-size:12px;}
  .hd-btn{min-width:0;padding:10px 14px;}
  .hd-btn .hb-t{font-size:13px;white-space:nowrap;}
  .site-header .logo .logo-text .mark-jp{font-size:17px;}
}
@media (min-width:981px) and (max-width:1120px){
  .hd-tel .tel-sub{display:none;}
  .hd-btn .hb-l{display:none;}
  .hd-btn{padding:12px 14px;}
}

/* SP/タブレットの下部バー：LINEボタンの中身が左に寄っていた（幅が広いと目立つ）→ 中央揃え（2026-09-15） */
@media (max-width:980px){
  .fixbar .hd-btn.line{justify-content:center;}
  .fixbar .hd-btn.line .hb-t{justify-content:center;}
}

/* ヒーロー1枚目が7秒遅れて出ていた不具合（2026-09-16）
   <picture> で包んだことで img が picture の2番目の子になり、古い「.hero-slide:nth-child(2){delay:7s}」が全枚に当たっていた。
   1枚目は遅延なしを明示する */
html.fx .hero-bg picture:nth-child(1) .hero-slide{animation-delay:0s;}

/* =========================================================
   下部追従バー（SP）：iPhone Safari で崩れたため、font-size:0 と ::after のラベル生成をやめ、
   HTMLに「電話でお問い合わせ」のラベル（.fx-label）を持たせる。PCは番号（.fx-num）を表示（2026-09-16）
   ========================================================= */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;}
.fx-label{display:none;}
@media (max-width:980px){
  .fixbar .fx-inner{display:flex;align-items:stretch;}
  .fixbar .hd-tel{flex:1 1 50%;min-width:0;display:flex;padding:0;}
  .fixbar .hd-btn.line{flex:1 1 50%;min-width:0;}
  .fixbar .hd-tel .tel-num{
    font-size:14px;line-height:1.2;font-weight:700;letter-spacing:.02em;
    display:flex;flex-direction:row;align-items:center;justify-content:center;gap:4px;
    padding:14px 6px;white-space:nowrap;overflow:hidden;
  }
  .fixbar .hd-tel .tel-num::after{content:none;}
  .fixbar .hd-tel .tel-num .fx-num{display:none;}
  .fixbar .hd-tel .tel-num .fx-label{display:inline;font-family:var(--font-jp);font-size:clamp(12px,3.6vw,14px);}
  .fixbar .hd-tel .tel-num .ti{flex:0 0 auto;width:22px;height:22px;color:#fff;}
  .fixbar .hd-btn.line{padding:14px 6px;overflow:hidden;}
  .fixbar .hd-btn.line .hb-t{white-space:nowrap;font-size:clamp(12px,3.6vw,14px);letter-spacing:.02em;justify-content:center;gap:4px;}
  .fixbar .hd-btn.line .hi{flex:0 0 24px;width:24px;height:24px;}
}

/* =========================================================
   SPメニューが途中までしか開かない不具合（2026-09-16）
   ヘッダーに backdrop-filter を付けたことで、ヘッダーが fixed 要素（.m-menu）の基準になり、
   メニューの bottom:0 がヘッダー下端になっていた。半透明＋ぼかしは ::before に移し、ヘッダー本体からは外す
   ========================================================= */
.site-header,
.site-header.scrolled,.site-header.hd-hide,.site-header.menu-open{
  background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;isolation:isolate;
}
.site-header::before{
  content:"";position:absolute;inset:0;z-index:-1;
  background:rgba(255,255,255,.84);
  -webkit-backdrop-filter:blur(12px) saturate(1.2);backdrop-filter:blur(12px) saturate(1.2);
}
.site-header.menu-open::before{background:#fff;-webkit-backdrop-filter:none;backdrop-filter:none;}

/* SPメニュー：9項目が下部バーの上に収まるよう行を詰める（1行 約44px）。最後のプライバシーポリシーは小さく（2026-09-16） */
@media (max-width:980px){
  .site-header.menu-open .m-menu{padding:6px 22px 130px;}
  .site-header.menu-open .m-menu a{padding:12px 4px;font-size:14.5px;line-height:1.4;}
  .site-header.menu-open .m-menu a:last-child{font-size:12px;color:var(--muted);border-bottom:none;padding-top:10px;}
}
@media (max-width:980px) and (max-height:700px){
  .site-header.menu-open .m-menu a{padding:9px 4px;font-size:14px;}
}

/* =========================================================
   SPでスクロール中にヒーロー下部（バナー付近）がカクつく（2026-09-16）
   原因：1画面目の高さ計算に env(safe-area-inset-bottom) を含めていたため、iOS Safari でツールバーが縮むたびに
   値が変わり、見出し・バナーの位置が数十px 動いていた。レイアウト用の --fb は固定値にする
   ========================================================= */
@media (max-width:760px){
  :root{--fb:96px;}
  .hero-slides,.hero-veil,.hero .hero-copy{will-change:auto;}
}
/* iOS：ぼかしはスクロール中の負荷が大きいので少し軽く */
.site-header::before{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);}

/* SPメニュー：行の間隔を少し広げる（12→16px。画面が低い端末は11px）（2026-09-16） */
@media (max-width:980px){
  .site-header.menu-open .m-menu{padding-top:8px;}
  .site-header.menu-open .m-menu a{padding:16px 4px;}
  .site-header.menu-open .m-menu a:last-child{padding-top:14px;}
}
@media (max-width:980px) and (max-height:700px){
  .site-header.menu-open .m-menu a{padding:11px 4px;}
}

/* ヒーロー：アニメーション無効時（iOSの「視差効果を減らす」、バックグラウンドで開いた場合など html.fx が付かない時）に
   1枚目が出ない不具合。<picture> で包んだことで旧「.hero-slide:first-child{opacity:1}」が効かなくなっていた（2026-09-16） */
.hero-bg picture:first-child .hero-slide{opacity:1;}
@media (prefers-reduced-motion: reduce){
  .hero-bg picture:first-child .hero-slide{opacity:1;transform:none !important;}
}

/* =========================================================
   ヒーローのクロスフェードを html.fx（演出ON判定）に依存させない（2026-09-16）
   iPhone で演出OFF扱い（視差効果を減らす／バックグラウンド読み込み等）になると1枚目で止まっていた。
   写真の切り替えは常に動かし、「視差効果を減らす」の環境では拡大だけ止めてフェードのみにする
   ========================================================= */
.hero-bg .hero-slide{animation:heroSlide 28s var(--ease) infinite;opacity:0;}
.hero-bg picture:nth-child(1) .hero-slide{animation-delay:0s;}
.hero-bg picture:nth-child(2) .hero-slide{animation-delay:7s;}
.hero-bg picture:nth-child(3) .hero-slide{animation-delay:14s;}
.hero-bg picture:nth-child(4) .hero-slide{animation-delay:21s;}
body[data-motion="min"] .hero-bg .hero-slide{animation:heroSlide 28s var(--ease) infinite;}
@keyframes heroFadeOnly{0%{opacity:0;}3%{opacity:1;}21%{opacity:1;}25%{opacity:0;}100%{opacity:0;}}
@media (prefers-reduced-motion: reduce){
  /* 注意：opacity に !important を付けてはいけない（!important はアニメーションより優先され、フェードが効かなくなる） */
  .hero-bg .hero-slide, html.fx .hero-bg .hero-slide, body[data-motion="min"] .hero-bg .hero-slide{
    animation:heroFadeOnly 28s linear infinite !important;transform:none !important;opacity:0;
  }
  .hero-bg picture:first-child .hero-slide, html.fx .hero-bg picture:first-child .hero-slide{opacity:1;animation:heroFadeOnly 28s linear infinite !important;}
  .hero-bg picture:nth-child(1) .hero-slide{animation-delay:0s !important;}
  .hero-bg picture:nth-child(2) .hero-slide{animation-delay:7s !important;}
  .hero-bg picture:nth-child(3) .hero-slide{animation-delay:14s !important;}
  .hero-bg picture:nth-child(4) .hero-slide{animation-delay:21s !important;}
}

/* SPメニュー：行の余白をさらに広げる（16→21px。画面高700px以下は13px）（2026-09-16） */
@media (max-width:980px){
  .site-header.menu-open .m-menu a{padding:21px 4px;}
  .site-header.menu-open .m-menu a:last-child{padding-top:18px;}
}
@media (max-width:980px) and (max-height:700px){
  .site-header.menu-open .m-menu a{padding:13px 4px;}
}

/* =========================================================
   iPhone Safari で MV が出ない（2026-09-16）
   picture を display:contents にしていたが、Safari では display:contents の子要素にアニメーションが効かない環境がある。
   picture を通常のブロック（absolute で全面）にし、img はその中で全面に敷く。
   万一アニメーションが動かない場合でも1枚目が見えるよう、最後に fallback を置く
   ========================================================= */
.hero-slides picture{display:block;position:absolute;inset:0;width:100%;height:100%;}
.hero-bg .hero-slide{position:absolute;inset:0;width:100%;height:100%;}
.hero-bg picture:first-child .hero-slide{opacity:1;} /* アニメーション中は keyframes が優先される */

/* 比較表の列幅を等分に（2026-09-20）
   table-layout 未指定だと内容量で列幅が決まり、「合同」が狭く「お見送りセレモニー」が広い、
   という不揃いになっていた。左の見出し列だけ固定して、プラン4列は等幅にする */
.pmatrix{table-layout:fixed;}
.pmatrix .pm-corner{width:16.4%;}
.pmatrix thead th:not(.pm-corner){width:20.9%;}

/* 体重別料金表のヘッダーを、上の比較表（.pmatrix）と同じ4色・同じ表記に（2026-09-20）
   列の対応が色で分かるようにするのが狙い。プラン名の2段組み（pn/ps）も比較表に合わせた
   ※ 後方に .ptable thead th.feat の上書きがあるので、この指定はファイル末尾に置くこと */
.ptable{table-layout:fixed;}
.ptable thead th:first-child{width:22%;}
.ptable thead th:not(:first-child){width:19.5%;}
.ptable thead th{color:#fff;font-size:13.5px;padding-top:14px;padding-bottom:14px;}
.ptable thead th:first-child{background:var(--ink);}
.ptable thead th.c1{background:#8C8178;}
.ptable thead th.c2{background:#C0985E;}
.ptable thead th.c3{background:var(--accent);}
.ptable thead th.c4{background:#A65D4E;}
.ptable thead .pn{display:block;font-size:13.5px;line-height:1.35;}
.ptable thead .ps{display:block;margin-top:3px;font-size:11px;font-weight:600;letter-spacing:.04em;opacity:.88;}
@media (max-width:760px){
  .ptable thead th{font-size:12.5px;}
  .ptable thead .pn{font-size:12.5px;}
  .ptable thead .ps{font-size:10.5px;}
}

/* フッターナビを2段組み＋区切り線に（2026-09-21・A案採用）
   桜色地×白12.5pxの1行8個で読みづらかった。4列×2段に分け、13.5px・白100%に上げ、
   縦線で1件ずつ区切る。「トップ」は入れない方針（8項目＝4列×2段でちょうど収まる） */
.footer nav{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  gap:2px 0;flex-wrap:nowrap;
}
.footer nav a{
  color:#fff;font-size:13.5px;font-weight:500;letter-spacing:.04em;line-height:1.6;
  padding:9px 16px;border-left:1px solid rgba(255,255,255,.3);
}
.footer nav a:nth-child(4n+1){border-left:none;padding-left:0;}
@media (max-width:760px){
  .footer nav{grid-template-columns:repeat(2,minmax(0,1fr));}
  .footer nav a{padding:11px 14px;font-size:13px;}
  .footer nav a:nth-child(4n+1){border-left:1px solid rgba(255,255,255,.3);padding-left:14px;}
  .footer nav a:nth-child(odd){border-left:none;padding-left:0;}
}


/* 「日彩」の想いの結びの一文（2026-10-01 ※1指示：一行あけて置く。太さは本文と同じ） */
.th-close{letter-spacing:.06em;}

/* 表紙リードの見出し（2026-10-01 文面変更）：1行目が23字＋読点になったため 24em → 26em に。
   改行は <br> で指定しているので balance は切る（有効だと「ではな／く、」と割れていた） */
.trustband-head{max-width:26em;text-wrap:normal;}
@media (max-width:760px){
  /* SPは4行（ただ／ではなく、／を伝え、／時間に。）。最長15字が1行に入るよう20pxに */
  .trustband-head{font-size:clamp(18px,5.2vw,21px);letter-spacing:0;}
}

/* 表紙リードの本文：44em だと最後の「す。」だけが4行目に落ちていた。
   46em に広げてPCで3行に収める（2026-10-01） */
.trustband-lead{max-width:46em;}

/* TOP：料金表の下の「出張費の目安を地図で見る」ボタン（2026-10-01）
   料金ページの「地図で見る」と同じ見た目。TOPは pages.css を読まないので top.css に置く */
.travel-link{margin-top:24px;text-align:center;}
.travel-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  min-height:56px;padding:14px 34px;border-radius:999px;box-sizing:border-box;
  font-size:15.5px;font-weight:700;letter-spacing:.04em;color:var(--accent);
  background:#fff;border:1.5px solid var(--accent-2);
  transition:background .25s var(--ease),border-color .25s var(--ease),box-shadow .25s var(--ease);
}
.travel-btn:hover{background:#FDF4F6;border-color:var(--accent);box-shadow:0 10px 24px rgba(184,74,99,.12);}
.travel-btn::before{
  content:"";flex:0 0 20px;width:20px;height:20px;background-color:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 6-9 12-9 12s-9-6-9-12a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 6-9 12-9 12s-9-6-9-12a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center/contain no-repeat;
}
/* 別ページへ移動するので、下向きではなく右向きの矢印 */
.travel-btn::after{
  content:"";flex:0 0 9px;width:9px;height:9px;margin-left:2px;
  border-right:2.5px solid currentColor;border-bottom:2.5px solid currentColor;
  transform:rotate(-45deg);
}
@media (max-width:760px){
  .travel-btn{display:flex;width:100%;min-height:54px;padding:14px 20px;font-size:15px;}
}
/* 追従ヘッダーに見出しが隠れないように */
#travel,#travel-map{scroll-margin-top:calc(var(--hd, 110px) + 20px);}

/* 料金表の直下：骨壷サイズの注意（2026-10 クライアント指示「目立つように」）
   小さな注記（.ptable-note）と区別するため、枠＋地色＋太字で */
.urn-note{
  margin-top:18px;padding:16px 20px 16px 50px;position:relative;
  font-size:14px;line-height:1.85;color:var(--ink);
  background:#FDF4F6;border:1px solid #F1D5DE;border-radius:var(--radius);
}
.urn-note::before{
  content:"!";position:absolute;left:18px;top:17px;width:20px;height:20px;border-radius:50%;
  background:var(--accent);color:#fff;font:800 13px/20px var(--font-en);text-align:center;
}
.urn-note b{color:var(--accent);font-weight:700;}
/* 対応ペットの帯の下：家畜の火葬はお断り */
.pet-ng{margin-top:16px;font-size:12.5px;line-height:1.85;color:var(--muted);text-align:center;}
@media (max-width:760px){
  .urn-note{padding:14px 16px 14px 44px;font-size:13.5px;}
  .urn-note::before{left:14px;top:15px;}
  .pet-ng{text-align:left;}
}

/* お客様の声：Googleのクチコミの星（WPテーマで「評価」を入れたときだけ出る） */
.vstars{margin-top:2px;font-size:13px;letter-spacing:.08em;color:#E8A93B;line-height:1.4;}
.vstars .off{color:#E4DCD8;}

/* =========================================================
   文字サイズの底上げ（2026-10-15 年配の方にも読みやすく）
   本文は PC・SP とも 15px 以上、※注記は 13px 以上。
   各所の指定（pages.css や #id 付きの指定）に確実に勝つよう html body:not(#_) を前に付けている。
   見出し・キッカー・ボタン・ラベル類はそのまま
   ========================================================= */
/* --- 本文 --- */
html body:not(#_) .care-lead{font-size:15.5px;}
html body:not(#_) .care-body,
html body:not(#_) .care-note p{font-size:15px;line-height:1.85;}
html body:not(#_) .pstep p{font-size:15px;line-height:1.85;}
html body:not(#_) .qcard p,
html body:not(#_) #options .qcard p{font-size:15px;line-height:1.8;}
html body:not(#_) .pd-catch{font-size:16px;}
html body:not(#_) .pd-body{font-size:15px;line-height:1.9;}
html body:not(#_) .ctbl td{font-size:15.5px;}
html body:not(#_) .faq .a p{font-size:15.5px;}
html body:not(#_) .pet-lead{font-size:15.5px;}
html body:not(#_) .urn-note{font-size:15px;}
html body:not(#_) .notebox p{font-size:15px;}
html body:not(#_) .travel-lead{font-size:15px;}
html body:not(#_) .t-area{font-size:14.5px;}
html body:not(#_) .goods-lead{font-size:15px;}
html body:not(#_) .vbody-txt{font-size:15px;}
html body:not(#_) .sn-d,
html body:not(#_) .chips-lead{font-size:15px;}
html body:not(#_) .prose p,
html body:not(#_) .prose li,
html body:not(#_) .prose td{font-size:15px;}
html body:not(#_) .pre-lead{font-size:15.5px;}
html body:not(#_) .gbody span{font-size:14.5px;}
html body:not(#_) .form-done p{font-size:15px;}
html body:not(#_) .cform .assure{font-size:14.5px;}
/* 最終CTA・相談バンド */
html body:not(#_) .cp-lead{font-size:16px;}
html body:not(#_) .cp-box-n{font-size:15px;}
html body:not(#_) .cp-box-n span{font-size:inherit;}
html body:not(#_) .cp-ask li{font-size:15px;}
html body:not(#_) .cp-ask-t{font-size:15px;}
html body:not(#_) .cp-card span{font-size:14.5px;line-height:1.75;}
html body:not(#_) .cp-assure{font-size:14.5px;}
html body:not(#_) .cp-addr{font-size:14px;}
/* --- ※注記・補足 --- */
html body:not(#_) .care-cnote{font-size:13.5px;}
html body:not(#_) .pstep .pnote,
html body:not(#_) .pstep .out{font-size:13px;}
html body:not(#_) .area-note,
html body:not(#_) .vnote,
html body:not(#_) .pet-ng,
html body:not(#_) .pmatrix-legend,
html body:not(#_) .ptable-note{font-size:13.5px;}
html body:not(#_) .pd-note{font-size:13.5px;}
html body:not(#_) .opt-sub,
html body:not(#_) .g-text{font-size:13.5px;}
html body:not(#_) .case-note{font-size:13px;}
html body:not(#_) .license-chips span{font-size:13px;}
html body:not(#_) .pmatrix small.note{font-size:12px;}
@media (max-width:760px){
  html body:not(#_) .trustband-lead{font-size:15px;}
  html body:not(#_) .cp-lead{font-size:15px;}
  html body:not(#_) .cp-box-n{font-size:14.5px;}
  html body:not(#_) .ctbl td{font-size:15px;}
  html body:not(#_) .assure{font-size:13.5px;}
}
/* 流れ（5ステップ）の見出し：PCで「お迎え・手続き・準|備」と1文字だけ折れていたので1行に収める */
@media (min-width:1101px){ html body:not(#_) .steps.five .pstep h3{font-size:17px;letter-spacing:0;} }
/* CTA帯・最終CTA（SP）：リードを人物の横の細い列から出し、見出し＋人物の下に全幅で置く。
   15px にすると横の列では「段|階」のように語の途中で折れるため（2026-10-15） */
@media (max-width:760px){
  html body:not(#_) .cta-punch .cp-txt,
  html body:not(#_) .cta.cta-single .cp-txt{display:contents;}
  html body:not(#_) .cta-punch .cp-tag,
  html body:not(#_) .cta.cta-single .cp-tag{grid-column:1;grid-row:1;justify-self:start;align-self:end;}
  html body:not(#_) .cta-punch .cp-head,
  html body:not(#_) .cta.cta-single .cp-head{grid-column:1;grid-row:2;align-self:start;}
  html body:not(#_) .cta-punch .cp-staff.cp-cutout,
  html body:not(#_) .cta.cta-single .cp-staff.cp-cutout{grid-column:2;grid-row:1 / span 2;align-self:end;}
  html body:not(#_) .cta-punch .cp-lead,
  html body:not(#_) .cta.cta-single .cp-lead{grid-column:1 / -1;grid-row:3;margin-top:12px;font-size:15px;line-height:1.75;white-space:normal;}
  html body:not(#_) .cta-punch .cp-lead br,
  html body:not(#_) .cta.cta-single .cp-lead br{display:none;}
}
@media (max-width:760px){
  html body:not(#_) .cta-punch .cp-staff.cp-cutout,
  html body:not(#_) .cta.cta-single .cp-staff.cp-cutout{margin-bottom:0;}
}
/* 360px未満（小さいiPhone等）：人物を少し小さくして見出しの列を確保 */
@media (max-width:359px){
  html body:not(#_) .cta-punch .cp-top,
  html body:not(#_) .cta.cta-single .cp-top{grid-template-columns:1fr 96px;}
  html body:not(#_) .cta-punch .cp-staff.cp-cutout,
  html body:not(#_) .cta.cta-single .cp-staff.cp-cutout{width:96px;}
  html body:not(#_) .cta-punch .cp-head,
  html body:not(#_) .cta.cta-single .cp-head{font-size:17px;}
  html body:not(#_) .cta-punch .cp-tag,
  html body:not(#_) .cta.cta-single .cp-tag{font-size:11.5px;white-space:nowrap;}
}
/* ご不安の締め（SP）：「急ぐことではなく、」が1行に収まらず変な位置で折れていたので、
   「— 大切なのは、／急ぐことではなく、／後悔のないお別れをすること。」の3行に（| でSPのみ改行）。3行目が収まる大きさに */
@media (max-width:760px){ html body:not(#_) .issue-close{font-size:clamp(19px,6vw,24px);letter-spacing:.02em;} }
/* SP：本文 16px／※注記 14px に統一（2026-10-15 クライアント確認） */
@media (max-width:760px){
  html body:not(#_) .trustband-lead,
  html body:not(#_) .icard p,
  html body:not(#_) .care-lead,
  html body:not(#_) .care-body,
  html body:not(#_) .care-note p,
  html body:not(#_) .vbody p:not(.vnote),
  html body:not(#_) #promise p,
  html body:not(#_) .pstep p:not(.out):not(.pnote),
  html body:not(#_) .pet-lead,
  html body:not(#_) .qcard p,
  html body:not(#_) #options .qcard p,
  html body:not(#_) .pd-catch,
  html body:not(#_) .pd-body,
  html body:not(#_) .ctbl td,
  html body:not(#_) .faq .a p,
  html body:not(#_) .urn-note,
  html body:not(#_) .notebox p,
  html body:not(#_) .travel-lead,
  html body:not(#_) .travel-free,
  html body:not(#_) .goods-lead,
  html body:not(#_) .vbody-txt,
  html body:not(#_) .sn-d,
  html body:not(#_) .chips-lead,
  html body:not(#_) .prose p,
  html body:not(#_) .prose li,
  html body:not(#_) .prose td,
  html body:not(#_) .pre-lead,
  html body:not(#_) .gbody span,
  html body:not(#_) .form-done p,
  html body:not(#_) .cp-lead,
  html body:not(#_) .cp-ask li,
  html body:not(#_) .cp-card span,
  html body:not(#_) .flow-nodes span{font-size:16px;}
  /* ※注記・補足 */
  html body:not(#_) .care-cnote,
  html body:not(#_) .pstep .pnote,
  html body:not(#_) .pstep .out,
  html body:not(#_) .area-note,
  html body:not(#_) .vnote,
  html body:not(#_) .pet-ng,
  html body:not(#_) .pmatrix-legend,
  html body:not(#_) .ptable-note,
  html body:not(#_) .pd-note,
  html body:not(#_) .opt-sub,
  html body:not(#_) .g-text,
  html body:not(#_) .case-note,
  html body:not(#_) .cp-assure,
  html body:not(#_) .cp-addr,
  html body:not(#_) .cp-box-n,
  html body:not(#_) .assure{font-size:14px;}
}
@media (max-width:760px){
  html body:not(#_) .cta-punch .cp-lead,
  html body:not(#_) .cta.cta-single .cp-lead{font-size:16px;}
}

/* PC も本文 16px／※注記 14px に統一（2026-10-15 クライアント確認）。上の SP ブロックと同じ指定を全幅に */
html body:not(#_) .trustband-lead,
html body:not(#_) .icard p,
html body:not(#_) .care-lead,
html body:not(#_) .care-body,
html body:not(#_) .care-note p,
html body:not(#_) .vbody p:not(.vnote),
html body:not(#_) #promise p,
html body:not(#_) .pstep p:not(.out):not(.pnote),
html body:not(#_) .pet-lead,
html body:not(#_) .qcard p,
html body:not(#_) #options .qcard p,
html body:not(#_) .pd-catch,
html body:not(#_) .pd-body,
html body:not(#_) .ctbl td,
html body:not(#_) .faq .a p,
html body:not(#_) .urn-note,
html body:not(#_) .notebox p,
html body:not(#_) .travel-lead,
html body:not(#_) .travel-free,
html body:not(#_) .goods-lead,
html body:not(#_) .vbody-txt,
html body:not(#_) .sn-d,
html body:not(#_) .chips-lead,
html body:not(#_) .prose p,
html body:not(#_) .prose li,
html body:not(#_) .prose td,
html body:not(#_) .pre-lead,
html body:not(#_) .gbody span,
html body:not(#_) .form-done p,
html body:not(#_) .cp-lead,
html body:not(#_) .cp-ask li,
html body:not(#_) .cp-card span,
html body:not(#_) .flow-nodes span{font-size:16px;}
/* ※注記・補足 */
html body:not(#_) .care-cnote,
html body:not(#_) .pstep .pnote,
html body:not(#_) .pstep .out,
html body:not(#_) .area-note,
html body:not(#_) .vnote,
html body:not(#_) .pet-ng,
html body:not(#_) .pmatrix-legend,
html body:not(#_) .ptable-note,
html body:not(#_) .pd-note,
html body:not(#_) .opt-sub,
html body:not(#_) .g-text,
html body:not(#_) .case-note,
html body:not(#_) .cp-assure,
html body:not(#_) .cp-addr,
html body:not(#_) .cp-box-n,
html body:not(#_) .assure{font-size:14px;}
html body:not(#_) .cta-punch .cp-lead,
html body:not(#_) .cta.cta-single .cp-lead{font-size:16px;}
/* PCのグローバルナビ：14.5px → 幅に応じて 15〜17px（2026-10-15 クライアント指示「少し大きく」）。
   981px付近では1項目の幅に余裕が少ないので可変に */
@media (min-width:981px){
  html body:not(#_) .gnav a{font-size:clamp(15px,1.45vw,17px);}
  html body:not(#_) .gnav a small{font-size:12px;}
}
/* 初めての方「よくあるご心配ごと」：カードの見出しを桜色（アクセント色）に（2026-10-15） */
html body:not(#_) #worries .qcard h3{color:var(--accent);}

/* 資格：勲章アイコン付きのカード（2026-10-15 クライアント案。旧 .license-chips の丸チップから置き換え）
   1枚＝アイコン＋2行（「厚生労働省認定／葬祭ディレクター1級」など）。各行は途中で折らない。
   入る数だけ横に並ぶ（スタッフ紹介PC 4列／TOPの理由05 2列）、SPは1列 */
.license-badges{display:grid;grid-template-columns:repeat(2,minmax(0,max-content));gap:12px;margin-top:28px;}
@media (min-width:1100px){ .license-badges{grid-template-columns:repeat(4,minmax(0,1fr));} }
/* TOPの理由05（右の文の列）では入るだけ（2列か1列）。4枚なので1枚だけ余ることはない */
.vbody .license-badges{margin-top:22px;grid-template-columns:repeat(auto-fit,minmax(236px,1fr));}
.lb{display:flex;align-items:center;gap:14px;padding:14px 18px;border-radius:12px;
  background:linear-gradient(135deg,#FFFBF8 0%,#FBEDE7 100%);border:1px solid #EFD9D1;
  box-shadow:0 2px 8px rgba(188,120,104,.08);}
.lb-ic{flex:0 0 auto;width:26px;height:auto;}
.lb-t{font-size:16px;font-weight:500;line-height:1.5;color:#4A3E38;letter-spacing:.03em;white-space:nowrap;}
@media (max-width:640px){
  .license-badges,.vbody .license-badges{grid-template-columns:1fr;gap:8px;}
  .lb{padding:11px 16px;}
  .lb-ic{width:22px;}
}
/* PC：オプション・メモリアルグッズの文字を全体的に大きく（2026-10-19「HP修正箇所②」） */
@media (min-width:761px){
  html body:not(#_) #options .qcard h3{font-size:19px;}
  html body:not(#_) #options .qcard .opt-price{font-size:20px;}
  html body:not(#_) #options .qcard p:not(.opt-price){font-size:17px;line-height:1.8;}
  html body:not(#_) #options .opt-sub{font-size:14.5px;}
  html body:not(#_) .goods-t{font-size:26px;}
  html body:not(#_) .goods-lead{font-size:17px;}
  html body:not(#_) .g-body h3{font-size:17px;line-height:1.55;letter-spacing:0;}
  html body:not(#_) .g-body{padding:18px 16px 20px;}
  html body:not(#_) .g-body .opt-price{font-size:19px;}
  html body:not(#_) .g-text{font-size:15px;}
}
/* スタッフ紹介：資格証書（2026-10-19「HP修正箇所②」。氏名・生年月日は画像側で伏せ済み）
   縦長・横長が混ざるので、同じ大きさの枠に収めて並べる。PC 3列／SP 2列 */
.certs{margin-top:44px;}
.certs-t{font-family:var(--font-mincho);font-size:22px;font-weight:600;letter-spacing:.06em;color:var(--ink);}
.cert-grid{margin-top:18px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;}
.cert{margin:0;}
.cert-frame{display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;padding:14px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 2px 10px rgba(120,90,80,.06);transition:box-shadow .2s,transform .2s;}
.cert img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;}
.cert figcaption{margin-top:10px;text-align:center;font-size:15px;line-height:1.5;color:var(--ink-2);}
.certs-note{margin-top:14px;font-size:14px;color:var(--muted);}
@media (max-width:760px){
  .cert-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
  .cert-frame{padding:8px;}
  .cert figcaption{font-size:13.5px;}
  .certs-t{font-size:19px;}
}
/* 下層ページの見出し（SP）：最小30pxだと1行10字ほどで「経|験を、」「お別|れを。」と語の途中で折れていたので、
   画面幅に合わせて縮め、各行（最長13字程度）が1行に収まるように（2026-10-19） */
@media (max-width:760px){ html body:not(#_) .phero h1{font-size:clamp(19px,6.4vw,28px);letter-spacing:.02em;} }
/* ナビ8項目（火葬車のご紹介を追加）：981〜1099px で「火葬車のご紹|介」と折れないよう、文字を詰めて1行に */
@media (min-width:981px){ html body:not(#_) .gnav a{white-space:nowrap;} }
@media (min-width:981px) and (max-width:1099px){
  html body:not(#_) .gnav a{font-size:14px;letter-spacing:.02em;padding-left:4px;padding-right:4px;}
}
/* フッター：リンクと住所・コピーライトを大きく（2026-10-19）。ロゴはそのまま */
html body:not(#_) .footer nav a{font-size:16px;}
html body:not(#_) .footer .foot-btm,
html body:not(#_) .footer .foot-btm span{font-size:13.5px;}
@media (max-width:760px){
  html body:not(#_) .footer nav a{font-size:15px;}
  html body:not(#_) .footer .foot-btm,
  html body:not(#_) .footer .foot-btm span{font-size:13px;}
}
@media (max-width:760px){ html body:not(#_) .footer nav a{white-space:nowrap;letter-spacing:.03em;} }
@media (max-width:374px){ html body:not(#_) .footer nav a{font-size:14px;letter-spacing:0;padding-right:4px;} html body:not(#_) .footer nav a:nth-child(even){padding-left:12px;} html body:not(#_) .footer nav{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);} }
@media (max-width:760px){
  html body:not(#_) .footer nav{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);}
  html body:not(#_) .footer nav a{padding-right:4px;}
  html body:not(#_) .footer nav a:nth-child(even){padding-left:14px;}
}
/* 体重別料金表：体重の目安の動物名（2026-10-19 クライアント指示で具体的な犬種に）。2行目を少し大きく */
html body:not(#_) .ptable tbody th small{font-size:13px;line-height:1.5;margin-top:3px;}
/* 動物名は語の途中で折らず、「・」の後ろだけで改行（<wbr>）。PCは1列目を広げて1行に */
html body:not(#_) .ptable tbody th small{word-break:keep-all;overflow-wrap:normal;}
@media (min-width:761px){ html body:not(#_) .ptable thead th:first-child,html body:not(#_) .ptable tbody th{width:27%;} }

/* 骨壷サイズの注意（2026-10-20「必ず読んでいただきたいので注意事項として目立つように」）
   見出し付きの枠に。PC・SPとも本文16px */
html body:not(#_) .urn-note{margin-top:22px;padding:22px 26px 22px 26px;background:#FDF2F4;border:2px solid var(--accent);border-radius:14px;font-size:16px;line-height:1.9;color:var(--ink);}
html body:not(#_) .urn-note::before{content:none;}
html body:not(#_) .urn-note .un-t{display:flex;align-items:center;gap:10px;margin:0 0 10px;font-size:18px;font-weight:700;color:var(--accent);letter-spacing:.04em;line-height:1.5;}
html body:not(#_) .urn-note .un-t::before{content:"!";flex:0 0 auto;width:26px;height:26px;border-radius:50%;background:var(--accent);color:#fff;font:800 16px/26px var(--font-en);text-align:center;}
html body:not(#_) .urn-note p + p{margin-top:8px;}
html body:not(#_) .urn-note b{color:var(--accent);font-weight:700;}
@media (max-width:760px){
  html body:not(#_) .urn-note{padding:18px 18px;font-size:16px;}
  html body:not(#_) .urn-note .un-t{font-size:16.5px;align-items:flex-start;}
  html body:not(#_) .urn-note .un-t::before{margin-top:1px;}
}

/* 「日彩」の想い（2026-10-20「企業理念・一番大切にしている部分なので目立たせて」）
   見出しラベルを大きく、本文は便箋のような白いカードに明朝18〜19px。左右に座った犬と猫のイラスト */
html body:not(#_) #thoughts .kicker .jp{font-size:18px;font-weight:700;color:var(--accent);letter-spacing:.12em;}
@media (min-width:761px){ html body:not(#_) #thoughts .statement{font-size:clamp(24px,2.8vw,34px);} }
.th-card{position:relative;max-width:1060px;margin:40px auto 0;padding:48px 112px 44px;background:rgba(255,255,255,.92);
  border:1px solid #F0DCE1;border-radius:20px;box-shadow:0 14px 40px rgba(170,110,110,.12);}
.th-card::before{content:"";position:absolute;inset:16px;border:1px dashed #EBCBD3;border-radius:12px;pointer-events:none;}
.th-body{position:relative;font-family:var(--font-mincho);font-size:18px;line-height:2.3;color:var(--ink);letter-spacing:0;text-align:center;}
html body:not(#_) #thoughts .th-close{position:relative;margin-top:22px;font-family:var(--font-mincho);font-size:21px;font-weight:600;color:var(--accent);letter-spacing:.1em;text-align:center;}
.th-pet{position:absolute;bottom:22px;height:150px;width:auto;}
.th-dog{left:22px;} .th-cat{right:26px;}
html.fx #thoughts .in .th-pet{animation:ic-breathe 4.4s ease-in-out infinite;}
html.fx #thoughts .in .th-cat{animation-delay:-2.2s;}
@media (max-width:1100px) and (min-width:761px){ .th-card{padding:40px 24px 150px;} .th-pet{height:110px;} .th-dog{left:calc(50% - 120px);} .th-cat{right:calc(50% - 110px);} .th-body{font-size:17.5px;} }
@media (max-width:760px){
  .th-card{margin-top:28px;padding:30px 20px 120px;border-radius:16px;}
  .th-card::before{inset:10px;}
  .th-body{font-size:17px;line-height:2.1;letter-spacing:.03em;text-align:left;}
  .th-body br{display:none;}
  html body:not(#_) #thoughts .th-close{font-size:18px;}
  .th-pet{height:96px;bottom:16px;}
  .th-dog{left:calc(50% - 90px);} .th-cat{right:calc(50% - 86px);}
}

/* ご依頼の流れページ（.steps-v）：PCでも1ステップ1行の縦並び（2026-10-20）
   左にSTEP・イラスト・見出し、右に説明文を横書きで。ステップ間は下向き矢印 */
@media (min-width:641px){
  .steps.five.steps-v{grid-template-columns:1fr;gap:34px;max-width:980px;margin-left:auto;margin-right:auto;}
  .steps-v .pstep{display:grid;grid-template-columns:230px minmax(0,1fr);column-gap:40px;align-items:center;padding:30px 36px;}
  .steps-v .pstep-illust{height:150px;margin:8px 0 10px;}
  html body:not(#_) .steps-v .pstep h3{font-size:21px;text-align:center;margin:0;}
  .steps-v .ps-head .meta{justify-content:flex-start;gap:10px;}
  .steps-v .ps-body{border-left:1px solid var(--line);padding-left:40px;}
  html body:not(#_) .steps-v .pstep p{font-size:16px;line-height:1.95;}
  .steps-v .pstep p + p{margin-top:10px;}
  html body:not(#_) .steps-v .pstep p.pnote,
  html body:not(#_) .steps-v .pstep .out{font-size:14px;}
  html body:not(#_) .steps-v .pstep .parr{display:flex;right:50%;top:auto;bottom:-31px;transform:translateX(50%) rotate(90deg);}
}
@media (min-width:641px) and (max-width:860px){
  .steps-v .pstep{grid-template-columns:170px minmax(0,1fr);column-gap:26px;padding:26px 24px;}
  .steps-v .ps-body{padding-left:26px;}
  .steps-v .pstep-illust{height:120px;}
}
/* 資格証書は4枚に（2026-10-20）。PCは4列で1段 */
@media (min-width:761px){ html body:not(#_) .cert-grid{grid-template-columns:repeat(4,minmax(0,1fr));} }
/* 想いカード：犬猫イラストをやめ、子犬と子猫の写真（桜の枝付き・透過PNG）を下に（2026-10-20） */
html body:not(#_) .th-card{padding:48px 60px 36px;}
html body:not(#_) .th-card .th-pet{display:none;}
.th-concept{position:relative;display:block;width:340px;max-width:80%;height:auto;margin:18px auto 0;}
@media (max-width:1100px) and (min-width:761px){ html body:not(#_) .th-card{padding:40px 24px 32px;} }
@media (max-width:760px){ html body:not(#_) .th-card{padding:30px 20px 24px;} .th-concept{width:260px;margin-top:12px;} }
/* 想いカード：「日々に彩りを〜」を写真の上部に重ねる（2026-10-20 クライアント案）。写真は少し大きく */
.th-visual{position:relative;width:420px;max-width:100%;margin:22px auto 0;}
html body:not(#_) .th-visual .th-concept{width:100%;max-width:none;margin:0;}
html body:not(#_) #thoughts .th-visual .th-close{position:absolute;left:50%;top:13%;transform:translateX(-50%);margin:0;white-space:nowrap;
  font-size:22px;text-shadow:0 0 6px #fff,0 0 12px #fff,0 0 18px rgba(255,255,255,.9);}
@media (max-width:760px){
  .th-visual{width:320px;}
  html body:not(#_) #thoughts .th-visual .th-close{font-size:17px;letter-spacing:.04em;top:12%;}
}
@media (max-width:359px){ .th-visual{width:280px;} html body:not(#_) #thoughts .th-visual .th-close{font-size:15.5px;} }
@media (max-width:760px){ html body:not(#_) #thoughts .th-visual .th-close{font-size:clamp(13px,4.3vw,17px);letter-spacing:.02em;} }
/* 「日々に彩りを〜」をさらに大きく（2026-10-20）。写真は大きい元データに差し替え、表示サイズは据え置き */
html body:not(#_) #thoughts .th-visual .th-close{font-size:26px;letter-spacing:.05em;}
@media (max-width:760px){ html body:not(#_) #thoughts .th-visual .th-close{font-size:clamp(14.5px,4.8vw,19px);letter-spacing:.02em;} }
/* 「日々に彩りを〜」の位置を少し上に（2026-10-20） */
html body:not(#_) #thoughts .th-visual .th-close{top:9%;}
@media (max-width:760px){ html body:not(#_) #thoughts .th-visual .th-close{top:8.5%;} }
/* 本文の最後の行に1〜2文字だけ残る（「す。」「定」など）のを防ぐ（2026-10-22）
   :where() で強さ0にしているので、見出しなどで個別に指定した折り返し（balance 等）はそのまま */
:where(p, li, dd, td, figcaption){text-wrap:pretty;}
/* 箇条書き（短い1行の項目）は文節の切れ目で折り返す（「あ|げる」「プランで|決定」を防ぐ）。Chrome/Edge のみ対応、Safari は通常の折り返し */
:where(section li){word-break:auto-phrase;}
/* 比較表：注記だけの行（「|・項目」＝箇条書き）は行間を詰める（手元供養セットの中身など） */
.pmatrix td .note.nl{margin-top:2px;margin-bottom:0;}

/* キャッシュレス決済のロゴ（2026-10-28）。支給の横長画像をグループごとに分割して並べる。
   PC：元画像と同じ1列（ロゴの大きさがそろうよう、幅は元画像のピクセル幅の比で配分）
   SP：Square → カード｜QR の2列 → 交通系（全幅）→ iD・QUICPay の順に積み、ロゴが小さくなりすぎないように */
.paylogos{display:flex;align-items:center;gap:0;margin-top:18px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:22px 10px;}
.paylogos img{display:block;width:100%;height:auto;}
.pl-brand{flex:600 1 0;padding:0 14px;}
.pl-g{padding:0 14px;border-left:1px solid var(--line);}
.pl-cards{flex:550 1 0;} .pl-ic{flex:1066 1 0;} .pl-qr{flex:672 1 0;}
.pl-idq{flex:228 1 0;display:flex;flex-direction:column;gap:18px;align-items:center;}
.pl-idq img{width:100%;max-width:120px;}
.faq .a .a-body{flex:1 1 auto;min-width:0;}
.paybox{margin-top:40px;}
.pay-t{font-family:var(--font-mincho);font-size:clamp(20px,2.4vw,26px);font-weight:600;letter-spacing:.05em;color:var(--ink);}
html body:not(#_) .pay-lead{margin-top:8px;font-size:16px;color:var(--ink-2);}
@media (max-width:760px){
  .paylogos{display:grid;grid-template-columns:minmax(0,550fr) minmax(0,672fr);gap:18px 0;padding:18px 8px;}
  .pl-brand{grid-column:1 / -1;justify-self:center;width:52%;padding:0;}
  .pl-g{padding:0 10px;}
  .pl-cards{border-left:none;}
  .pl-ic{grid-column:1 / -1;border-left:none;border-top:1px solid var(--line);padding-top:18px;}
  .pl-idq{grid-column:1 / -1;flex-direction:row;justify-content:center;gap:28px;border-left:none;border-top:1px solid var(--line);padding-top:16px;}
  .pl-idq img{width:30%;max-width:110px;}
  .pl-brand{order:0;} .pl-cards{order:1;} .pl-qr{order:2;} .pl-ic{order:3;} .pl-idq{order:4;}
}

/* よくあるご質問：回答の下のリンクボタン（2026-10-29） */
html body:not(#_) .faq .a p.faq-more{margin-top:16px;}
.faq-more .btn{font-size:15px;gap:12px;padding:10px 10px 10px 22px;}
.faq-more .btn .arr{flex-basis:30px;width:30px;height:30px;}
@media (max-width:760px){
  .faq-more .btn{font-size:15px;}
}
