/* ===== レジデンスクオリティ モックアップ 共通スタイル ===== */
:root {
  --font-sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-en: "Manrope", "Inter", var(--font-sans);
  --font-display: "Noto Sans JP", var(--font-sans);
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 4px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* A 深緑×金 信頼・格調 */
:root[data-theme="a"] {
  --c-primary: #1e5a43;
  --c-primary-deep: #123a2b;
  --c-primary-soft: #e6efe9;
  --c-accent: #c9a96e;
  --c-accent-ink: #7a5c2a;
  --c-bg: #ffffff;
  --c-bg-alt: #f5f7f4;
  --c-ink: #1b2620;
  --c-muted: #62706a;
  --c-line: #d9e2dc;
  --c-fv-1: #0d2b20; --c-fv-2: #1e5a43; --c-fv-3: #2f7a5b;
  --font-display: "Noto Serif JP", "Yu Mincho", serif;
  --radius: 2px;
  --btn-radius: 2px;
}
/* B エメラルド×墨 スタイリッシュ・若い */
:root[data-theme="b"] {
  --c-primary: #0f8a5f;
  --c-primary-deep: #0a5c40;
  --c-primary-soft: #e3f4ec;
  --c-accent: #c6f06b;
  --c-accent-ink: #4a6a10;
  --c-bg: #ffffff;
  --c-bg-alt: #f2f5f3;
  --c-ink: #101614;
  --c-muted: #5c6862;
  --c-line: #dfe6e2;
  --c-fv-1: #08211a; --c-fv-2: #0f8a5f; --c-fv-3: #17b37c;
  --font-display: "Noto Sans JP", var(--font-sans);
  --radius: 8px;
  --btn-radius: 999px;
}
/* C セージ×テラコッタ 優しい・親しみ */
:root[data-theme="c"] {
  --c-primary: #4f7a63;
  --c-primary-deep: #35543f;
  --c-primary-soft: #e9f0ea;
  --c-accent: #d98c5f;
  --c-accent-ink: #8a4c24;
  --c-bg: #fbfcfa;
  --c-bg-alt: #f0f4ef;
  --c-ink: #26312b;
  --c-muted: #6b7a71;
  --c-line: #dbe4dd;
  --c-fv-1: #2c4a3a; --c-fv-2: #4f7a63; --c-fv-3: #7aa88c;
  --font-display: "Noto Sans JP", var(--font-sans);
  --radius: 14px;
  --btn-radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font-sans); color: var(--c-ink); background: var(--c-bg);
  font-size: 18px; line-height: 1.9; letter-spacing: .02em; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.4; font-weight: 700; }
p { margin: 0; }
.en { font-family: var(--font-en); letter-spacing: .12em; text-transform: uppercase; font-weight: 700; font-size: 12px; color: var(--c-primary); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding: clamp(64px, 9vw, 120px) 0; }
.sec-alt { background: var(--c-bg-alt); }
.sec-head { margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head h2 { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 40px); margin-top: 8px; letter-spacing: .04em; }
.sec-head .lead { margin-top: 14px; color: var(--c-muted); max-width: 640px; }
.sec-head.center { text-align: center; }
.sec-head.center .lead { margin-inline: auto; }
.sec-head.split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: var(--btn-radius); font-weight: 700; font-size: 17px; border: 1.5px solid transparent; transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .3s; white-space: nowrap; }
.btn .ar { width: 18px; height: 18px; border-radius: 50%; display: inline-grid; place-items: center; background: currentColor; flex: none; }
.btn .ar::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid; border-top: 1.5px solid; transform: rotate(45deg) translate(-1px, 1px); color: var(--c-bg); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.12); }
.btn-primary { background: var(--c-primary); color: #fff; }
.btn-primary .ar::before { color: var(--c-primary); }
.btn-accent { background: var(--c-accent); color: var(--c-ink); }
.btn-accent .ar::before { color: var(--c-accent); }
.btn-outline { border-color: currentColor; color: var(--c-primary); background: transparent; }
.btn-outline .ar::before { color: #fff; }
.btn-white { background: #fff; color: var(--c-primary); }
.btn-white .ar::before { color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost .ar { background: #fff; } .btn-ghost .ar::before { color: var(--c-primary-deep); }
.link-more { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--c-primary); font-size: 17px; }
.link-more .ar { width: 28px; height: 28px; border: 1.5px solid currentColor; border-radius: 50%; display: inline-grid; place-items: center; transition: background .3s, color .3s; }
.link-more .ar::before { content: ""; width: 7px; height: 7px; border-right: 1.5px solid; border-top: 1.5px solid; transform: rotate(45deg) translate(-1px, 1px); }
.link-more:hover .ar { background: var(--c-primary); color: #fff; }

/* placeholders (画像は後から生成) */
.ph { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--c-primary-soft), var(--c-bg-alt) 60%, #fff); border-radius: var(--radius); }
.ph::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, transparent 0 14px, rgba(0,0,0,.035) 14px 15px); }
.ph::after { content: attr(data-label); position: absolute; left: 12px; bottom: 10px; font-size: 11px; color: var(--c-muted); background: rgba(255,255,255,.85); padding: 3px 8px; border-radius: 3px; letter-spacing: .04em; }
.ph.dark { background: linear-gradient(135deg, var(--c-primary-deep), var(--c-primary)); }
.ph.dark::after { background: rgba(0,0,0,.4); color: #fff; }

/* ===== header ===== */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .4s, box-shadow .4s, padding .4s; padding: 18px 0; color: #fff; }
.header.is-scrolled, .header.is-open { background: rgba(255,255,255,.96); backdrop-filter: blur(8px); color: var(--c-ink); box-shadow: 0 1px 0 var(--c-line); padding: 10px 0; }
.header .wrap { display: flex; align-items: center; gap: 28px; max-width: 1360px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .04em; line-height: 1.15; }
.logo .mark { width: 38px; height: 38px; border-radius: var(--radius); background: var(--c-accent); position: relative; flex: none; }
.logo .mark::before { content: ""; position: absolute; inset: 9px 9px 9px 9px; border: 2.5px solid var(--c-primary-deep); border-bottom-width: 6px; border-radius: 1px; }
.logo .name { font-size: 15px; }
.logo .sub { display: block; font-size: 10px; font-weight: 500; opacity: .75; letter-spacing: .1em; }
.gnav { margin-left: auto; }
.gnav > ul { display: flex; gap: 4px; }
.gnav > ul > li { position: relative; }
.gnav > ul > li > a { display: block; padding: 12px 14px; font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.gnav > ul > li > a.has-mega::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg) translateY(-3px); margin-left: 8px; opacity: .7; }
.head-cta { display: flex; align-items: center; gap: 10px; }
.head-cta .tel { font-family: var(--font-en); font-weight: 800; font-size: 18px; letter-spacing: .04em; line-height: 1; }
.head-cta .tel small { display: block; font-family: var(--font-sans); font-size: 10px; font-weight: 500; opacity: .75; letter-spacing: .06em; }
.head-cta .btn { padding: 11px 18px; font-size: 13px; }
.menu-btn { display: none; }
/* mega */
.mega { position: absolute; left: 50%; top: 100%; transform: translate(-50%, 8px); width: min(920px, 92vw); background: #fff; color: var(--c-ink); border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0,0,0,.16); padding: 28px; opacity: 0; visibility: hidden; transition: opacity .3s, transform .4s var(--ease), visibility .3s; display: grid; grid-template-columns: 260px 1fr; gap: 28px; }
.gnav li:hover .mega, .gnav li.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega .intro h3 { font-family: var(--font-display); font-size: 20px; margin: 6px 0 10px; }
.mega .intro p { font-size: 15px; color: var(--c-muted); }
.mega .intro .btn { margin-top: 16px; padding: 10px 18px; font-size: 15px; }
.mega ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 20px; }
.mega ul li a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: var(--radius); font-size: 16px; font-weight: 700; transition: background .25s; }
.mega ul li a:hover { background: var(--c-primary-soft); }
.mega ul li a .ic { width: 34px; height: 34px; border-radius: 50%; background: var(--c-primary-soft); flex: none; display: grid; place-items: center; color: var(--c-primary); font-family: var(--font-en); font-size: 11px; }
.mega ul li a small { display: block; font-weight: 400; font-size: 14px; color: var(--c-muted); line-height: 1.5; }
.mega ul li.hot a { background: var(--c-primary); color: #fff; }
.mega ul li.hot a .ic { background: rgba(255,255,255,.2); color: #fff; }
.mega ul li.hot a small { color: rgba(255,255,255,.8); }

/* ===== FV ===== */
.fv { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--c-fv-1); }
.fv-media { position: absolute; inset: 0; }
.fv-media .video { position: absolute; inset: 0; background: linear-gradient(115deg, var(--c-fv-1) 0%, var(--c-fv-2) 55%, var(--c-fv-3) 100%); }
.fv-media .video::before, .fv-media .video::after { content: ""; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.fv-media .video::before { width: 60vw; height: 60vw; right: -15vw; top: -20vw; background: var(--c-fv-3); }
.fv-media .video::after { width: 40vw; height: 40vw; left: -10vw; bottom: -18vw; background: var(--c-accent); opacity: .18; animation-delay: -8s; }
.fv-media .grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 120px 120px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 90%); }
.fv-media .skyline { position: absolute; left: 0; right: 0; bottom: 0; height: 42%; background: linear-gradient(to top, rgba(0,0,0,.45), transparent); }
.fv-media .label { position: absolute; right: 20px; top: 96px; font-size: 11px; letter-spacing: .1em; color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.35); padding: 4px 10px; border-radius: 3px; }
.fv-media .shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.45), rgba(0,0,0,.05) 70%); }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-6vw, 4vw) scale(1.15); } }
.fv .wrap { position: relative; width: 100%; padding-top: 120px; padding-bottom: 160px; }
.fv-copy .en { color: var(--c-accent); }
.fv-copy h1 { font-family: var(--font-display); font-size: clamp(34px, 5.6vw, 72px); line-height: 1.25; letter-spacing: .04em; margin-top: 16px; font-weight: 700; }
.fv-copy h1 .line { display: block; overflow: hidden; }
.fv-copy h1 .line span { display: inline-block; transform: translateY(110%); animation: rise 1.1s var(--ease) forwards; }
.fv-copy h1 .line:nth-child(2) span { animation-delay: .15s; }
.fv-copy h1 .line:nth-child(3) span { animation-delay: .3s; }
.fv-copy h1 em { font-style: normal; color: var(--c-accent); }
@keyframes rise { to { transform: translateY(0); } }
.fv-copy .lead { margin-top: 22px; max-width: 560px; font-size: clamp(16px, 1.3vw, 19px); opacity: 0; animation: fade 1.2s .6s forwards; line-height: 2; }
.fv-copy .btns { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; opacity: 0; animation: fade 1.2s .8s forwards; }
@keyframes fade { to { opacity: 1; } }
.fv-scroll { position: absolute; left: var(--gutter); bottom: 32px; font-family: var(--font-en); font-size: 10px; letter-spacing: .3em; display: flex; align-items: center; gap: 12px; opacity: .8; }
.fv-scroll i { width: 48px; height: 1px; background: rgba(255,255,255,.5); position: relative; overflow: hidden; }
.fv-scroll i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: translateX(-100%); animation: bar 2s ease-in-out infinite; }
@keyframes bar { 50% { transform: translateX(0); } to { transform: translateX(100%); } }
.fv-side { position: absolute; right: var(--gutter); bottom: 40px; writing-mode: vertical-rl; font-family: var(--font-en); font-size: 10px; letter-spacing: .3em; opacity: .6; }

/* 状況別の入口（FV直下） */
.entry { position: relative; z-index: 2; margin-top: -96px; }
.entry .wrap { max-width: 1280px; }
.entry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--c-line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.14); }
.entry-grid a { background: #fff; padding: 28px 24px 24px; display: block; position: relative; transition: background .3s; min-height: 170px; }
.entry-grid a:hover { background: var(--c-primary-soft); }
.entry-grid a .en { display: block; }
.entry-grid a h3 { font-size: 18px; margin-top: 8px; letter-spacing: .04em; }
.entry-grid a p { font-size: 15px; color: var(--c-muted); margin-top: 8px; line-height: 1.7; }
.entry-grid a .ar { position: absolute; right: 20px; top: 26px; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--c-primary); display: grid; place-items: center; color: var(--c-primary); }
.entry-grid a .ar::before { content: ""; width: 7px; height: 7px; border-right: 1.5px solid; border-top: 1.5px solid; transform: rotate(45deg) translate(-1px, 1px); }
.entry-grid a.hot { background: var(--c-primary); color: #fff; }
.entry-grid a.hot .en { color: var(--c-accent); }
.entry-grid a.hot p { color: rgba(255,255,255,.8); }
.entry-grid a.hot .ar { border-color: #fff; color: #fff; }
.entry-grid a.hot:hover { background: var(--c-primary-deep); }

/* ===== 悩み ===== */
.trouble { padding-top: clamp(80px, 10vw, 140px); }
.trouble .cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.trouble .ph { aspect-ratio: 4 / 5; }
.check { display: grid; gap: 10px; margin-top: 28px; }
.check li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: var(--c-bg-alt); border-radius: var(--radius); font-weight: 500; }
.check li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--c-primary); flex: none; margin-top: 4px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); background-size: 13px; background-repeat: no-repeat; background-position: center; }
.trouble .after { margin-top: 24px; color: var(--c-muted); }

/* ===== 選ばれる理由 ===== */
.reason-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.reason { background: #fff; border-radius: var(--radius); padding: 32px 26px 28px; border: 1px solid var(--c-line); position: relative; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.reason:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,.08); }
.reason .num { font-family: var(--font-en); font-size: 44px; font-weight: 800; color: var(--c-primary-soft); line-height: 1; position: absolute; right: 18px; top: 14px; }
.reason .ic { width: 52px; height: 52px; border-radius: 50%; background: var(--c-primary-soft); display: grid; place-items: center; color: var(--c-primary); }
.reason .ic svg { width: 24px; height: 24px; }
.reason h3 { font-size: 18px; margin-top: 20px; letter-spacing: .03em; }
.reason p { font-size: 16px; color: var(--c-muted); margin-top: 10px; }
.reason .val { font-family: var(--font-en); font-size: 28px; font-weight: 800; color: var(--c-primary); margin-top: 14px; line-height: 1; }
.reason .val small { font-family: var(--font-sans); font-size: 12px; font-weight: 700; margin-left: 4px; color: var(--c-ink); }
.reason-more { text-align: center; margin-top: 40px; }

/* ===== 実績 ===== */
.stats { background: var(--c-primary-deep); color: #fff; position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 80% 50%, rgba(255,255,255,.08), transparent); }
.stats .wrap { position: relative; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.12); margin-top: 40px; }
.stat { background: var(--c-primary-deep); padding: 36px 28px; }
.stat .en { color: var(--c-accent); }
.stat .v { font-family: var(--font-en); font-size: clamp(40px, 4.6vw, 64px); font-weight: 800; line-height: 1; margin-top: 12px; letter-spacing: -.02em; }
.stat .v small { font-family: var(--font-sans); font-size: 16px; font-weight: 700; margin-left: 6px; letter-spacing: .05em; }
.stat p { font-size: 15px; opacity: .75; margin-top: 10px; }
.stats .sec-head h2, .stats .sec-head .lead { color: #fff; }
.stats .sec-head .en { color: var(--c-accent); }

/* ===== サービス ===== */
.svc-tabs { display: flex; gap: 8px; margin-bottom: 28px; border-bottom: 1px solid var(--c-line); }
.svc-tabs button { background: none; border: 0; padding: 14px 22px; font: inherit; font-weight: 700; color: var(--c-muted); cursor: pointer; position: relative; font-size: 17px; }
.svc-tabs button.is-active { color: var(--c-primary); }
.svc-tabs button.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--c-primary); }
.svc-panel { display: none; }
.svc-panel.is-active { display: block; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc { display: block; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-line); transition: transform .4s var(--ease), box-shadow .4s; }
.svc:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,.08); }
.svc .ph { aspect-ratio: 16 / 10; border-radius: 0; }
.svc .body { padding: 22px 24px 26px; }
.svc h3 { font-size: 17px; letter-spacing: .03em; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.svc h3 .ar { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--c-primary); display: grid; place-items: center; color: var(--c-primary); flex: none; }
.svc h3 .ar::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid; border-top: 1.5px solid; transform: rotate(45deg) translate(-1px, 1px); }
.svc p { font-size: 15.5px; color: var(--c-muted); margin-top: 8px; }
.svc .tag { display: inline-block; font-size: 13px; font-weight: 700; color: var(--c-primary); background: var(--c-primary-soft); padding: 2px 10px; border-radius: 999px; margin-bottom: 8px; letter-spacing: .06em; }
.svc.hot { border-color: var(--c-primary); }
.svc.hot .tag { background: var(--c-accent); color: var(--c-ink); }

/* ===== 料金 ===== */
.price .cols { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.price-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8px; }
.price-list li { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 20px 20px 18px; }
.price-list li .en { font-size: 11px; }
.price-list li h3 { font-size: 16px; margin-top: 6px; }
.price-list li p { font-size: 15px; color: var(--c-muted); margin-top: 6px; }
.price .diag { background: var(--c-primary); color: #fff; padding: 36px; border-radius: var(--radius); position: relative; overflow: hidden; }
.price .diag::after { content: "FREE"; position: absolute; right: -10px; bottom: -30px; font-family: var(--font-en); font-size: 120px; font-weight: 800; opacity: .08; }
.price .diag .en { color: var(--c-accent); }
.price .diag h3 { font-family: var(--font-display); font-size: 26px; margin-top: 10px; }
.price .diag p { margin-top: 12px; font-size: 16px; opacity: .9; }
.price .diag .btn { margin-top: 20px; }

/* ===== 流れ ===== */
.flow-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 22px 16px 20px; position: relative; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-en); font-weight: 800; font-size: 22px; color: var(--c-primary); line-height: 1; }
.step::after { content: ""; position: absolute; right: -9px; top: 50%; width: 14px; height: 14px; background: var(--c-bg); border-right: 1px solid var(--c-line); border-top: 1px solid var(--c-line); transform: translateY(-50%) rotate(45deg); z-index: 1; }
.step:last-child::after { display: none; }
.step h3 { font-size: 15px; margin-top: 12px; letter-spacing: .02em; }
.step p { font-size: 14px; color: var(--c-muted); margin-top: 6px; line-height: 1.6; }
.flow-note { margin-top: 24px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.flow-note strong { font-size: 20px; }
.flow-note strong b { font-family: var(--font-en); font-size: 30px; color: var(--c-primary); margin: 0 4px; }

/* ===== 事例 ===== */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-line); display: block; }
.case .ph { aspect-ratio: 16 / 10; border-radius: 0; }
.case .body { padding: 24px; }
.case .meta { font-size: 14px; color: var(--c-muted); display: flex; gap: 10px; }
.case .meta span { background: var(--c-bg-alt); padding: 2px 10px; border-radius: 999px; }
.case h3 { font-size: 17px; margin-top: 12px; line-height: 1.6; }
.case .ba { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--c-line); font-size: 15px; }
.case .ba .en { font-size: 10px; display: block; }
.case .ba b { font-size: 17px; }
.case .ba .to { width: 22px; height: 22px; border-radius: 50%; background: var(--c-primary); position: relative; }
.case .ba .to::before { content: ""; position: absolute; left: 6px; top: 7px; width: 6px; height: 6px; border-right: 1.5px solid #fff; border-top: 1.5px solid #fff; transform: rotate(45deg); }
.case .ba .after b { color: var(--c-primary); }

/* ===== コラム・お知らせ ===== */
.info .cols { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(32px, 5vw, 72px); }
.col-list { display: grid; gap: 0; }
.col-list a { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--c-line); align-items: center; transition: background .3s; }
.col-list a:hover h3 { color: var(--c-primary); }
.col-list .ph { aspect-ratio: 16 / 10; }
.col-list .meta { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--c-muted); }
.col-list .meta .cat { background: var(--c-primary-soft); color: var(--c-primary); font-weight: 700; padding: 2px 10px; border-radius: 999px; font-size: 13px; }
.col-list h3 { font-size: 16px; margin-top: 6px; line-height: 1.6; font-weight: 700; transition: color .3s; }
.cat-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.cat-cloud a { font-size: 14px; font-weight: 700; padding: 6px 14px; border: 1px solid var(--c-line); border-radius: 999px; color: var(--c-muted); transition: all .3s; }
.cat-cloud a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.news-list a { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--c-line); font-size: 16px; align-items: baseline; }
.news-list time { font-family: var(--font-en); font-size: 14px; color: var(--c-muted); font-weight: 700; }
.news-list .cat { font-size: 13px; color: var(--c-primary); font-weight: 700; margin-right: 8px; }

/* ===== CTA ===== */
.cta { position: relative; color: #fff; overflow: hidden; background: var(--c-primary-deep); }
.cta .ph { position: absolute; inset: 0; border-radius: 0; opacity: .5; }
.cta .ph::after { display: none; }
.cta .wrap { position: relative; text-align: center; }
.cta h2 { font-family: var(--font-display); font-size: clamp(26px, 3.6vw, 42px); }
.cta p { margin-top: 14px; opacity: .9; }
.cta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; max-width: 980px; margin-inline: auto; }
.cta-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius); padding: 28px 22px; backdrop-filter: blur(6px); transition: background .3s; }
.cta-card:hover { background: rgba(255,255,255,.14); }
.cta-card .en { color: var(--c-accent); }
.cta-card .big { font-family: var(--font-en); font-size: 30px; font-weight: 800; margin-top: 8px; letter-spacing: .02em; }
.cta-card h3 { font-size: 18px; margin-top: 8px; }
.cta-card p { font-size: 15px; margin-top: 8px; opacity: .8; }

/* ===== footer ===== */
.footer { background: var(--c-bg-alt); border-top: 1px solid var(--c-line); padding: 64px 0 120px; font-size: 15px; }
.footer .top { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 32px; }
.footer .logo { color: var(--c-ink); }
.footer address { font-style: normal; color: var(--c-muted); margin-top: 16px; line-height: 1.9; }
.footer h4 { font-size: 13px; margin-bottom: 12px; color: var(--c-primary); letter-spacing: .06em; }
.footer li { margin: 6px 0; }
.footer li a { color: var(--c-muted); transition: color .3s; }
.footer li a:hover { color: var(--c-primary); }
.footer .bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--c-line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--c-muted); font-size: 14px; }
.footer .bottom ul { display: flex; gap: 20px; }

/* ===== 追従CTA ===== */
.fix-cta { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 40; display: flex; flex-direction: column; gap: 6px; }
.fix-cta a { writing-mode: vertical-rl; padding: 22px 14px; background: var(--c-primary); color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .12em; border-radius: var(--radius) 0 0 var(--radius); box-shadow: -6px 6px 20px rgba(0,0,0,.14); transition: transform .3s var(--ease), background .3s; }
.fix-cta a:hover { transform: translateX(-4px); }
.fix-cta a.diag { background: var(--c-accent); color: var(--c-ink); }
.sp-cta { display: none; }

/* ===== reveal ===== */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .1s; } .rv-d2 { transition-delay: .2s; } .rv-d3 { transition-delay: .3s; } .rv-d4 { transition-delay: .4s; }

/* ===== テーマ切替（モックアップ用） ===== */
.theme-sw { position: fixed; left: 16px; bottom: 16px; z-index: 60; background: #1b2620; color: #fff; padding: 10px 12px; border-radius: 10px; font-size: 12px; display: flex; gap: 6px; align-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.theme-sw span { opacity: .7; margin-right: 4px; }
.theme-sw button { font: inherit; font-weight: 700; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; border-radius: 6px; padding: 5px 10px; cursor: pointer; }
.theme-sw button.is-active { background: #fff; color: #1b2620; }

/* ===== responsive ===== */
@media (max-width: 1100px) {
  .reason-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-grid { grid-template-columns: repeat(4, 1fr); }
  .step::after { display: none; }
  .gnav > ul > li > a { padding: 12px 10px; font-size: 13px; }
  .head-cta .tel { display: none; }
}
@media (max-width: 860px) {
  .gnav, .head-cta { display: none; }
  .menu-btn { display: inline-flex; margin-left: auto; align-items: center; gap: 8px; background: none; border: 0; color: inherit; font: inherit; font-weight: 700; font-size: 12px; letter-spacing: .1em; }
  .menu-btn i { width: 26px; height: 18px; display: inline-flex; flex-direction: column; justify-content: space-between; }
  .menu-btn i b { display: block; height: 2px; background: currentColor; }
  .entry-grid { grid-template-columns: 1fr 1fr; }
  .entry { margin-top: -60px; }
  .trouble .cols, .price .cols, .info .cols { grid-template-columns: 1fr; }
  .trouble .ph { aspect-ratio: 16 / 10; }
  .stats-grid, .svc-grid, .case-grid, .cta-grid { grid-template-columns: 1fr 1fr; }
  .footer .top { grid-template-columns: 1fr 1fr; }
  .fix-cta { display: none; }
  .sp-cta { display: grid; grid-template-columns: 1fr 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; gap: 1px; background: var(--c-line); }
  .sp-cta a { background: var(--c-primary); color: #fff; text-align: center; padding: 12px 6px; font-size: 14px; font-weight: 700; }
  .sp-cta a.diag { background: var(--c-accent); color: var(--c-ink); }
  .sp-cta a.tel { background: #fff; color: var(--c-primary); }
  .theme-sw { bottom: 62px; }
}
@media (max-width: 560px) {
  .entry-grid { grid-template-columns: 1fr; }
  .entry-grid a { min-height: 0; padding: 20px 20px; }
  .reason-grid, .stats-grid, .svc-grid, .case-grid, .cta-grid, .price-list, .flow-grid { grid-template-columns: 1fr; }
  .flow-grid { grid-template-columns: 1fr 1fr; }
  .col-list a { grid-template-columns: 100px 1fr; }
  .footer .top { grid-template-columns: 1fr; }
  .fv .wrap { padding-top: 110px; padding-bottom: 130px; }
  .fv-side { display: none; }
  .sec-head.split .link-more { display: none; }
}

/* fontbump:done */
