/* HIME DESIGN — 白ベース × 青（誠実・信頼感）
   写真・画像・カード・ボタンなど、角はすべて直角（角丸なし）で統一 */

:root {
  --bg: #ffffff;
  --bg-2: #f3f7fc;
  --bg-3: #e9f0fa;
  --surface: #ffffff;
  --navy: #14306e;
  --primary: #1e4fb8;
  --primary-2: #2f6fe0;
  --primary-3: #dbe8fb;
  --primary-4: #f0f6ff;
  --accent: #f29a1f;
  --text: #1b2536;
  --text-2: #3a475c;
  --muted: #66738a;
  --line: #dde5f0;
  --line-2: #c3d2e6;
  --ok: #128a5b;
  --ng: #d93a3a;
  --sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  --en: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --header-h: 72px;
  --radius: 0;
  --shadow: 0 10px 30px -14px rgba(20, 48, 110, .22);
  --shadow-lg: 0 24px 50px -20px rgba(20, 48, 110, .3);
  --grad: linear-gradient(120deg, #1e4fb8 0%, #2f6fe0 100%);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.85;
  letter-spacing: .02em; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { border-radius: 0; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
strong { color: var(--navy); font-weight: 700; background: linear-gradient(transparent 62%, #d6e6ff 62%); }
::selection { background: var(--primary-3); }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.container--narrow { width: min(880px, 100% - 32px); }
.container--article { width: min(820px, 100% - 32px); }
.center { text-align: left; margin-top: 40px; }
.muted { color: var(--muted); }
.note { color: var(--muted); font-size: 13px; margin-top: 20px; text-align: left; }
.pc { display: inline; } .sp { display: none; }
@media (max-width: 768px) { .pc { display: none; } .sp { display: inline; } }

.skip { position: absolute; left: -9999px; top: 0; background: var(--primary); color: #fff; padding: 8px 16px; z-index: 1000; }
.skip:focus { left: 8px; top: 8px; }

.blue-text { color: var(--primary); }

.ico { width: 1.25em; height: 1.25em; flex: none; }
img.ico { object-fit: contain; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 48px; padding: .7em 1.6em;
  border: 1.5px solid var(--primary); background: #fff; color: var(--primary); text-decoration: none; font-weight: 700; letter-spacing: .06em;
  cursor: pointer; transition: background .25s, color .25s, transform .25s, box-shadow .25s; border-radius: 0; white-space: nowrap;
}
.btn .ico { width: 1.1em; height: 1.1em; transition: transform .25s; }
.btn:hover .ico { transform: translateX(4px); }
.btn--primary { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 12px 26px -12px rgba(30,79,184,.7); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(30,79,184,.8); }
.btn--ghost:hover { background: var(--primary-4); }
.btn--lg { min-height: 58px; padding: .8em 2.1em; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.btn__spinner { width: 1em; height: 1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.link-more { display: inline-flex; align-items: center; gap: .4em; color: var(--primary); text-decoration: none; font-size: 14px; font-weight: 700; margin-top: auto; padding-top: 14px; }
.link-more .ico { width: 1em; height: 1em; transition: transform .25s; }
.link-more:hover .ico { transform: translateX(4px); }

/* ---------- ヘッダー ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); background: rgba(255,255,255,.92); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-scrolled, .page .site-header { border-bottom-color: var(--line); box-shadow: 0 4px 20px -12px rgba(20,48,110,.25); }
.site-header__inner { height: 100%; width: min(1280px, 100% - 32px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo__mark { width: 40px; height: 40px; display: block; flex: none; }
.logo__mark img { width: 100%; height: 100%; }
.logo__text { display: flex; flex-direction: column; line-height: 1.25; position: relative; top: 5px; }
.logo__en { font-family: var(--en); font-weight: 700; font-size: 19px; letter-spacing: .1em; color: var(--navy); }
.logo__ja { font-size: 10px; color: var(--muted); letter-spacing: .1em; white-space: nowrap; }
@media (max-width: 560px) { .site-header__inner { gap: 12px; } .logo { min-width: 0; gap: 10px; } .logo__ja { font-size: 9px; letter-spacing: 0; white-space: normal; } .menu-btn { flex: none; } }
.gnav { display: flex; align-items: center; gap: 28px; }
.gnav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.gnav ul a { text-decoration: none; font-size: 14px; font-weight: 500; color: var(--text-2); position: relative; padding: 4px 0; white-space: nowrap; }
@media (max-width: 1320px) { .gnav { gap: 22px; } .gnav ul { gap: 16px; } }
.gnav ul a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--primary); transition: right .3s; }
.gnav ul a:hover { color: var(--primary); } .gnav ul a:hover::after { right: 0; }
.gnav__cta { min-height: 42px; padding: .5em 1.3em; font-size: 14px; }
.menu-btn { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 0; background: #fff; color: var(--primary); cursor: pointer; place-items: center; }
.menu-btn .ico { width: 24px; height: 24px; }
.menu-btn .ico--close { display: none; }
.menu-btn[aria-expanded="true"] .ico { display: none; }
.menu-btn[aria-expanded="true"] .ico--close { display: block; }

@media (max-width: 1260px) {
  .menu-btn { display: grid; }
  .gnav {
    position: fixed; inset: var(--header-h) 0 0; background: #fff; flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: 24px 24px 40px; gap: 24px; overflow-y: auto; transform: translateX(100%); transition: transform .35s ease; visibility: hidden;
  }
  .gnav.is-open { transform: none; visibility: visible; }
  .gnav ul { flex-direction: column; gap: 0; }
  .gnav ul a { display: block; padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .gnav ul a::after { display: none; }
  .gnav__cta { min-height: 54px; }
  body.menu-open { overflow: hidden; }
}

/* ---------- 共通セクション ---------- */
.section { padding: 110px 0; position: relative; }
.section--tight { padding: 64px 0; }
.section--alt { background: var(--bg-2); }
.sec-head { text-align: left; margin-bottom: 52px; }
.sec-head__en { font-family: var(--en); font-weight: 700; color: var(--primary-2); font-size: 13px; letter-spacing: .28em; text-transform: uppercase; margin: 0 0 10px; display: inline-flex; align-items: center; gap: 12px; }
.sec-head__en::before { content: ""; width: 24px; height: 2px; background: var(--primary-2); }
.sec-head__title { font-weight: 700; font-size: clamp(25px, 3.8vw, 38px); line-height: 1.5; margin: 0; letter-spacing: .04em; color: var(--navy); }
.sec-head__lead { color: var(--muted); margin: 16px 0 0; }
.sub-title { font-size: clamp(19px, 2.4vw, 23px); font-weight: 700; color: var(--navy); text-align: left; margin: 72px 0 30px; display: flex; align-items: center; gap: 20px; }
.sub-title::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
@media (max-width: 768px) { .section { padding: 76px 0; } .sec-head { margin-bottom: 42px; } }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- ヒーロー ---------- */
.hero { position: relative; padding: calc(var(--header-h) + 56px) 0 0; overflow: hidden; background: linear-gradient(180deg, #f5f9ff 0%, #ffffff 70%); }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__shape { position: absolute; border-radius: 50%; }
.hero__shape--1 { width: 720px; height: 720px; right: -220px; top: -260px; background: radial-gradient(circle, #dbe8fb 0%, rgba(219,232,251,0) 70%); }
.hero__shape--2 { width: 420px; height: 420px; left: -160px; bottom: -120px; background: radial-gradient(circle, #e6f0ff 0%, rgba(230,240,255,0) 70%); }
.hero__dots { position: absolute; inset: 0; background-image: radial-gradient(#c9d8ef 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent 40%, #000 75%); -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000 75%); opacity: .55; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; padding-bottom: 72px; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; font-size: 14px; font-weight: 700; color: var(--primary); background: var(--primary-4); border: 1px solid var(--primary-3); padding: 6px 16px; border-radius: 0; }
.hero__eyebrow span { font-family: var(--en); font-size: 12px; letter-spacing: .14em; background: var(--primary); color: #fff; padding: 1px 10px; border-radius: 0; }
.hero__title { font-weight: 700; font-size: clamp(30px, 4.6vw, 52px); line-height: 1.42; margin: 0 0 22px; letter-spacing: .03em; color: var(--navy); }
.hero__title .blue-text { color: var(--primary-2); }
.hero__lead { color: var(--text-2); margin: 0 0 30px; font-size: clamp(15px, 1.5vw, 17px); }
.hero__price { display: inline-flex; align-items: center; gap: 26px; padding: 18px 30px; background: #fff; border: 1px solid var(--line); border-radius: 0; box-shadow: var(--shadow); margin-bottom: 22px; }
.hero__price-item { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.hero__price-label { font-size: 14px; font-weight: 700; color: #fff; background: var(--navy); padding: 2px 10px; border-radius: 0; align-self: center; }
.hero__price-value { font-family: var(--en); color: var(--primary); line-height: 1; font-weight: 700; }
.hero__price-value .num { font-size: clamp(42px, 5.6vw, 66px); letter-spacing: -.01em; }
.hero__price-value .unit { font-family: var(--sans); font-size: 20px; margin-left: 4px; }
.hero__price-tax { font-size: 13px; color: var(--muted); }
.hero__price-sep { width: 1px; align-self: stretch; background: var(--line); }
.hero__tags { list-style: none; padding: 0; margin: 0 0 34px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero__tags li { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); padding: 6px 14px 6px 8px; font-size: 14px; font-weight: 500; border-radius: 0; }
.hero__tags .ico { width: 24px; height: 24px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__visual { position: relative; }
.hero__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; box-shadow: var(--shadow-lg); }
.hero__badge { position: absolute; left: -18px; bottom: -22px; background: #fff; border-radius: 0; box-shadow: var(--shadow-lg); padding: 14px 18px; display: flex; align-items: center; gap: 12px; font-size: 13px; line-height: 1.5; }
.hero__badge b { display: block; font-size: 16px; color: var(--navy); }
.hero__badge .ico { width: 40px; height: 40px; }
.hero__cap { margin: 10px 0 0; font-size: 11px; color: var(--muted); text-align: left; }
.hero__strip { position: relative; background: var(--navy); color: #fff; overflow: hidden; padding: 14px 0; }
.hero__strip-track { display: flex; gap: 28px; width: max-content; animation: marquee 44s linear infinite; font-family: var(--en); font-weight: 600; font-size: 15px; letter-spacing: .22em; white-space: nowrap; opacity: .9; }
.hero__strip-track i { font-style: normal; color: #8fb6ff; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 960px) {
  .hero { padding-top: calc(var(--header-h) + 32px); }
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__copy { text-align: left; }
  .hero__price { padding: 16px 20px; gap: 18px; }
  .hero__tags, .hero__cta { justify-content: flex-start; }
  .hero__badge { left: 12px; }
}
@media (max-width: 480px) {
  .hero__price { display: flex; flex-direction: column; gap: 8px; width: 100%; }
  .hero__price-sep { width: 60%; height: 1px; align-self: flex-start; }
  .hero__cta .btn { width: 100%; }
  .hero__badge { position: static; margin-top: 12px; box-shadow: var(--shadow); }
}

/* ヒーロー（1枚絵） */
.hero--image { padding: var(--header-h) 0 0; background: linear-gradient(180deg, #eef4fd 0%, #ffffff 80%); }
.hero__h1 { margin: 0 auto; max-width: 1180px; font-size: inherit; line-height: 0; }
.hero__main { width: 100%; height: auto; display: block; }
.hero__cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 26px 0 34px; }
.hero__note { margin: 0; font-size: 13px; color: var(--muted); }
@media (max-width: 480px) { .hero__cta-row .btn { width: 100%; } }

/* ---------- お悩み ---------- */
.problems__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.problems__list li { display: flex; gap: 14px; align-items: flex-start; padding: 22px 24px; border: 1px solid var(--line); background: #fff; border-radius: 0; }
.problems__list p { margin: 0; color: var(--text-2); }
.problems__no { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 0; background: var(--primary-3); color: var(--primary); font-family: var(--en); font-weight: 700; font-size: 13px; }
.problems__answer { text-align: left; font-size: clamp(19px, 2.8vw, 27px); font-weight: 700; color: var(--navy); margin: 56px 0 0; position: relative; padding-top: 52px; }
.problems__answer::before { content: ""; position: absolute; top: 0; left: 4px; width: 22px; height: 22px; border-right: 3px solid var(--primary-2); border-bottom: 3px solid var(--primary-2); transform: rotate(45deg); }
.problems__answer span { color: var(--primary-2); }
@media (max-width: 900px) { .problems__list { grid-template-columns: 1fr; } }

/* ---------- 特長 ---------- */
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { background: #fff; padding: 36px 30px 30px; display: flex; flex-direction: column; position: relative; border: 1px solid var(--line); border-radius: 0; transition: box-shadow .3s, transform .3s, border-color .3s; }
.feature:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--primary-3); }
.feature__no { position: absolute; top: 20px; right: 24px; font-family: var(--en); font-weight: 700; font-size: 34px; color: var(--primary-3); line-height: 1; }
.feature__icon { width: 76px; height: 76px; display: grid; place-items: center; background: var(--primary-4); border-radius: 0; margin-bottom: 20px; color: var(--primary); }
.feature__icon .ico { width: 52px; height: 52px; }
.feature__title { font-size: 20px; margin: 0 0 10px; font-weight: 700; color: var(--navy); }
.feature__text { color: var(--text-2); margin: 0; font-size: 15px; }
@media (max-width: 900px) { .features__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features__grid { grid-template-columns: 1fr; } .feature { padding: 28px 22px; } }

/* 制作サンプル（Works）: PCは3列。各店の色は .work--<id> の --w1〜3 */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.works__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.work { grid-column: span 2; }
.work a { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--w2); border-radius: 0; text-decoration: none; color: inherit; transition: box-shadow .3s, transform .3s; }
.work a:hover, .work a:focus-visible { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.work__img { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--w1); }
.work__img img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform .8s cubic-bezier(.16,1,.3,1); }
.work a:hover .work__img img { transform: scale(1.05); }
.work__colors { position: absolute; left: 0; bottom: 0; display: flex; }
.work__colors i { width: 26px; height: 10px; }
.work__colors i:nth-child(1) { background: var(--w1); } .work__colors i:nth-child(2) { background: var(--w2); } .work__colors i:nth-child(3) { background: var(--w3); }
.work__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 22px; }
.work__taste { align-self: flex-start; font-size: 12px; font-weight: 700; color: #fff; background: var(--w3); padding: 2px 10px; letter-spacing: .06em; }
.work__name { margin: 12px 0 8px; font-family: var(--en); font-size: 23px; font-weight: 700; color: var(--navy); letter-spacing: .04em; line-height: 1.3; }
.work__name small { display: block; font-family: var(--sans); font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: .1em; margin-top: 2px; }
.work__text { display: block; color: var(--text-2); font-size: 14.5px; line-height: 1.8; }
.work__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; }
.work__tags span { font-size: 12px; color: var(--text-2); border: 1px solid var(--line-2); padding: 1px 9px; }
.work__more { display: inline-flex; align-items: center; gap: .4em; margin-top: auto; padding-top: 18px; color: var(--primary); font-size: 14px; font-weight: 700; }
.work__more .ico { width: 1em; height: 1em; }
.works__common { margin-top: 36px; padding: 24px 30px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--primary); }
.works__common h3 { margin: 0 0 10px; font-size: 18px; color: var(--navy); }
.works__common ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px; }
.works__common li { position: relative; padding-left: 1.4em; font-size: 15px; color: var(--text-2); }
.works__common li::before { content: ""; position: absolute; left: 0; top: .72em; width: .7em; height: 2px; background: var(--primary-2); }
.work--haitoku-mrs { --w1: #0f0816; --w2: #8d4fd6; --w3: #7a1634; }
.work--silklounge { --w1: #f7f2ea; --w2: #c8a97e; --w3: #6a5a4d; }
.work--noblenight { --w1: #0b0b0f; --w2: #c9a45c; --w3: #141a2e; }
.work--maisonderose { --w1: #f6e4e6; --w2: #c97b8a; --w3: #5e1a2c; }
.work--healinggarden { --w1: #f5f1e6; --w2: #8fa58a; --w3: #2f4a3a; }
.work--aromakiss { --w1: #efe7f7; --w2: #e7a6c4; --w3: #4b3366; }
@media (max-width: 900px) { .works__grid { grid-template-columns: 1fr 1fr; } .work { grid-column: auto; } .works__common ul { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .works__grid { grid-template-columns: 1fr; } .work__body { padding: 20px 18px; } .works__common { padding: 20px 18px; } }
@media (prefers-reduced-motion: reduce) { .work a, .work__img img { transition: none; } .work a:hover .work__img img { transform: none; } }

/* ---------- 標準ページ ---------- */
.pages__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.page-card a { position: relative; display: flex; flex-direction: column; height: 100%; padding: 24px 22px 22px; border: 1px solid var(--line); background: #fff; border-radius: 0; text-decoration: none; transition: border-color .3s, transform .3s, box-shadow .3s; }
.page-card a:hover { border-color: var(--primary-3); transform: translateY(-4px); box-shadow: var(--shadow); }
.page-card__no { position: absolute; top: 16px; right: 18px; font-family: var(--en); font-weight: 700; color: var(--line-2); font-size: 14px; }
.page-card__icon { width: 60px; height: 60px; display: grid; place-items: center; background: var(--primary-4); border-radius: 0; margin-bottom: 14px; color: var(--primary); }
.page-card__icon .ico { width: 42px; height: 42px; }
.page-card__en { font-family: var(--en); font-weight: 700; font-size: 11px; letter-spacing: .2em; color: var(--primary-2); }
.page-card__title { font-size: 18px; margin: 2px 0 8px; font-weight: 700; color: var(--navy); }
.page-card__text { margin: 0; font-size: 13.5px; color: var(--text-2); line-height: 1.75; }
.hide-note { display: flex; gap: 24px; align-items: center; margin-top: 36px; padding: 26px 30px; border: 1.5px dashed var(--line-2); background: #fff; border-radius: 0; }
.hide-note__icon { width: 72px; height: 72px; flex: none; display: grid; place-items: center; background: var(--primary-4); border-radius: 0; color: var(--primary); }
.hide-note__icon .ico { width: 50px; height: 50px; }
.hide-note h3 { margin: 0 0 4px; font-size: 19px; color: var(--navy); }
.hide-note p { margin: 0; color: var(--text-2); font-size: 15px; }
.hide-note a { color: var(--primary); font-weight: 700; }
@media (max-width: 1000px) { .pages__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .pages__grid { grid-template-columns: 1fr 1fr; gap: 10px; } .page-card a { padding: 18px 14px; } .page-card__text { font-size: 12.5px; } .hide-note { flex-direction: column; align-items: flex-start; text-align: left; padding: 22px 18px; } }

/* ---------- マーケティング ---------- */
.marketing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mk { position: relative; padding: 36px 30px 30px; border-radius: 0; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--primary); display: flex; flex-direction: column; box-shadow: var(--shadow); }
.mk__icon { width: 76px; height: 76px; display: grid; place-items: center; background: var(--primary-4); border-radius: 0; margin-bottom: 18px; color: var(--primary); }
.mk__icon .ico { width: 52px; height: 52px; }
.mk h3 { font-size: 22px; margin: 0; color: var(--navy); }
.mk__sub { color: var(--primary-2); font-size: 13px; font-weight: 700; margin: 2px 0 12px; }
.mk p { margin: 0; color: var(--text-2); font-size: 15px; }
@media (max-width: 900px) { .marketing__grid { grid-template-columns: 1fr; } }

/* ---------- 料金 ---------- */
.price-main { border-radius: 0; background: #fff; border: 2px solid var(--primary); padding: 44px 48px; position: relative; box-shadow: var(--shadow-lg); }
.price-main__head { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.price-main__name { font-size: 26px; margin: 0; font-weight: 700; color: var(--navy); }
.price-main__values { display: flex; gap: 40px; align-items: baseline; flex-wrap: wrap; }
.price-main__values > div { display: flex; align-items: baseline; gap: 10px; }
.price-main__label { font-size: 14px; font-weight: 700; color: var(--muted); }
.price-main__value { font-family: var(--en); font-weight: 700; color: var(--navy); }
.price-main__value .num { font-size: 50px; line-height: 1; }
.price-main__value--big { color: var(--primary); }
.price-main__value--big .num { font-size: 72px; }
.price-main__value .unit { font-family: var(--sans); font-size: 20px; margin-left: 4px; }
.price-main__tax { color: var(--muted); font-size: 14px; }
.price-main__list { list-style: none; margin: 26px 0 16px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 24px; }
.price-main__list li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.price-main__list .ico { color: #fff; background: var(--primary-2); border-radius: 0; padding: 3px; width: 22px; height: 22px; }
.price-main__pages { margin: 0; color: var(--text-2); font-size: 14px; background: var(--bg-2); padding: 12px 16px; border-radius: 0; }
.price-main__pages b { color: var(--navy); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; padding: 40px 26px 28px; border: 1px solid var(--line); background: #fff; text-align: left; display: flex; flex-direction: column; align-items: flex-start; border-radius: 0; }
.plan--rec { border: 2px solid var(--primary-2); box-shadow: var(--shadow-lg); }
.plan__ribbon { position: absolute; top: -15px; left: 24px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; padding: 4px 18px; white-space: nowrap; border-radius: 0; }
.plan__name { font-size: 21px; margin: 0 0 8px; color: var(--navy); }
.plan__badge { display: inline-block; margin: 0 0 16px; padding: 2px 14px; background: var(--primary-3); color: var(--primary); font-size: 14px; font-weight: 700; border-radius: 0; }
.plan__badge--plain { background: var(--bg-2); color: var(--muted); font-weight: 500; }
.plan__total { margin: 0; font-family: var(--en); font-weight: 700; color: var(--navy); }
.plan__total .num { font-size: 44px; line-height: 1.1; }
.plan__total .unit { font-family: var(--sans); font-size: 18px; }
.plan__per { display: block; font-family: var(--sans); font-weight: 400; font-size: 13px; color: var(--muted); }
.plan__eff { margin: 14px 0 0; font-size: 15px; }
.plan__eff b { color: var(--primary); font-size: 20px; }
.plan__save { margin: 4px 0 0; color: #c46a00; font-size: 14px; font-weight: 700; min-height: 1.6em; }
.plan__save b { font-size: 18px; }
.plan__note { color: var(--muted); font-size: 13px; margin: 10px 0 0; }
@media (max-width: 900px) {
  .price-main { padding: 30px 22px; }
  .price-main__list { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 520px) { .price-main__list { grid-template-columns: 1fr; } .price-main__value--big .num { font-size: 58px; } .price-main__values { gap: 16px; } }

/* ---------- オプション ---------- */
.opt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.opt { position: relative; padding: 28px 26px 24px; border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; border-radius: 0; transition: box-shadow .3s, transform .3s; }
.opt:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.opt__badge { position: absolute; top: 16px; right: 16px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 12px; border-radius: 0; }
.opt__icon { width: 64px; height: 64px; display: grid; place-items: center; background: var(--primary-4); border-radius: 0; margin-bottom: 14px; color: var(--primary); }
.opt__icon .ico { width: 44px; height: 44px; }
.opt__name { font-size: 18px; margin: 0 0 4px; color: var(--navy); }
.opt__price { margin: 0 0 10px; font-family: var(--en); font-weight: 700; color: var(--primary); }
.opt__price .num { font-size: 32px; line-height: 1.15; }
.opt__price .unit { font-family: var(--sans); font-size: 16px; }
.opt__per { font-family: var(--sans); font-weight: 400; font-size: 13px; color: var(--muted); margin-left: 4px; }
.opt__desc { margin: 0; font-size: 14px; color: var(--text-2); }
@media (max-width: 900px) { .opt-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .opt-grid { grid-template-columns: 1fr; } }

/* ---------- シミュレーター ---------- */
.sim { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; }
.sim__group { border: 1px solid var(--line); background: #fff; padding: 22px 24px 24px; margin: 0 0 20px; border-radius: 0; }
.sim__group legend { font-size: 17px; font-weight: 700; padding: 0 8px; color: var(--navy); }
.sim__plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sim__plan input, .sim__opt input, .chip input { position: absolute; opacity: 0; pointer-events: none; }
.sim__plan span { display: flex; flex-direction: column; align-items: flex-start; padding: 14px 14px; border: 1.5px solid var(--line); border-radius: 0; cursor: pointer; text-align: left; transition: border-color .2s, background .2s; }
.sim__plan small { color: var(--primary-2); font-size: 12px; font-weight: 700; }
.sim__plan input:checked + span { border-color: var(--primary); background: var(--primary-4); }
.sim__plan input:focus-visible + span, .sim__opt:has(input:focus-visible), .chip input:focus-visible + span { outline: 2px solid var(--primary-2); outline-offset: 2px; }
.sim__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sim__opt { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 14px 12px 42px; border: 1.5px solid var(--line); border-radius: 0; cursor: pointer; font-size: 14px; transition: border-color .2s, background .2s; }
.sim__opt::before { content: ""; position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); border: 1.5px solid var(--line-2); border-radius: 0; background: #fff; }
.sim__opt:has(input:checked) { border-color: var(--primary); background: var(--primary-4); }
.sim__opt:has(input:checked)::before { background: var(--primary) 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'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; border-color: var(--primary); }
.sim__opt-price { color: var(--primary); font-weight: 700; font-size: 13px; white-space: nowrap; }
.sim__result { position: sticky; top: calc(var(--header-h) + 20px); border-radius: 0; background: var(--navy); color: #fff; padding: 28px; box-shadow: var(--shadow-lg); }
/* 紺の結果欄では本文の strong（紺文字＋マーカー）を打ち消して白文字にする */
.sim__result strong { color: #fff; background: none; }
.sim__result-title { font-size: 18px; font-weight: 700; margin: 0 0 12px; text-align: left; }
.sim__rows { margin: 0; }
.sim__rows div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.16); font-size: 15px; }
.sim__rows dt { color: #b9c8e6; }
.sim__rows dd { margin: 0; }
.sim__total { display: flex; align-items: baseline; justify-content: flex-start; gap: 8px; margin: 20px 0 6px; }
.sim__total span { color: #b9c8e6; font-size: 14px; }
.sim__total strong { font-family: var(--en); font-size: 54px; line-height: 1; font-weight: 700; }
.sim__total em { font-style: normal; }
.sim__sum { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 14px; background: rgba(255,255,255,.1); border-radius: 0; font-size: 14px; }
.sim__sum strong { font-size: 20px; }
.sim__save { margin: 10px 0 0; text-align: left; color: #ffd28a; font-weight: 700; }
.sim__note { margin: 10px 0 18px; font-size: 12px; color: #b9c8e6; }
.sim__result .btn--primary { background: #fff; color: var(--primary); box-shadow: none; }
.sim__export { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 12px; }
.sim__export-btn { min-height: 44px; padding: .5em .8em; font-size: 14px; background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.sim__export-btn:hover { background: rgba(255,255,255,.12); }

/* お見積書（PDF 用。画面外に A4 サイズで組んで画像化する） */
.est-sheet { position: fixed; left: -10000px; top: 0; width: 794px; height: 1123px; padding: 56px 56px 40px; background: #fff; color: #1b2536; font-family: var(--sans); font-size: 13px; line-height: 1.7; letter-spacing: .02em; display: flex; flex-direction: column; }
.est-sheet__head { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 3px solid var(--navy); padding-bottom: 18px; }
.est-sheet__title { margin: 0; font-size: 28px; font-weight: 700; color: var(--navy); letter-spacing: .12em; }
.est-sheet__date { margin: 4px 0 0; color: var(--muted); }
.est-sheet__brand { display: flex; align-items: center; gap: 10px; }
.est-sheet__brand img { width: 48px; height: 48px; }
.est-sheet__brand b { display: block; font-family: var(--en); font-size: 18px; letter-spacing: .1em; color: var(--navy); }
.est-sheet__brand span { font-size: 11px; color: var(--muted); }
.est-sheet__summary { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0; align-items: stretch; }
.est-sheet__summary > div { background: var(--navy); color: #fff; padding: 16px 20px; display: flex; flex-direction: column; justify-content: center; }
.est-sheet__summary > div span { font-size: 12px; color: #c8d6f0; }
.est-sheet strong { background: none; }
.est-sheet__summary strong { font-family: var(--en); font-size: 34px; line-height: 1.2; color: #fff; }
.est-sheet__summary strong small { font-family: var(--sans); font-size: 16px; margin-left: 4px; }
.est-sheet__summary dl { margin: 0; border: 1px solid var(--line-2); }
.est-sheet__summary dl div { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 4px 14px 10px; border-bottom: 1px solid var(--line); }
.est-sheet__summary dl div:last-child { border-bottom: 0; }
.est-sheet__summary dt { color: var(--muted); }
.est-sheet__summary dd { margin: 0; font-weight: 700; text-align: right; }
.est-sheet__table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.est-sheet__table th, .est-sheet__table td { border: 1px solid var(--line-2); padding: 3px 10px 11px; line-height: 1.5; vertical-align: middle; white-space: normal; }
.est-sheet__table thead th { background: var(--primary-3); color: var(--navy); text-align: left; }
.est-sheet__table td:nth-child(n+2) { text-align: right; white-space: nowrap; }
.est-sheet__table tfoot th { text-align: right; background: var(--bg-2); color: var(--navy); font-weight: 700; }
.est-sheet__table tfoot td { text-align: right; font-weight: 700; }
.est-sheet__table tfoot .is-grand th, .est-sheet__table tfoot .is-grand td { background: var(--navy); color: #fff; font-size: 15px; border-color: var(--navy); }
.est-sheet__notes { margin: 20px 0 0; padding: 14px 18px; list-style: none; background: var(--bg-2); font-size: 11.5px; color: var(--text-2); }
.est-sheet__notes li { padding-left: 1em; text-indent: -1em; }
.est-sheet__notes li::before { content: "・"; }
.est-sheet__notes li + li { margin-top: 3px; }
.est-sheet__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-2); display: flex; justify-content: space-between; align-items: baseline; font-size: 11px; color: var(--muted); }
.est-sheet__foot b { color: var(--navy); font-size: 13px; }

.sim__notice { display: flex; align-items: center; gap: 16px; margin: 28px 0 0; padding: 20px 24px; background: #fff6e6; border: 2px solid var(--accent); color: var(--navy); font-size: clamp(16px, 2vw, 19px); font-weight: 700; line-height: 1.6; }
.sim__notice-label { flex: none; background: var(--accent); color: #fff; font-family: var(--en); font-size: 13px; letter-spacing: .16em; padding: 4px 12px; }
.sim__notice strong { color: #c2410c; background: linear-gradient(transparent 62%, #ffd9a8 62%); }
@media (max-width: 600px) { .sim__notice { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 18px; } }
@media (max-width: 960px) { .sim { grid-template-columns: 1fr; } .sim__result { position: static; } }
@media (max-width: 560px) { .sim__opts { grid-template-columns: 1fr; } .sim__plans { grid-template-columns: 1fr; } .sim__group { padding: 18px 14px; } }

/* ---------- サービス概要・表 ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; }
th, td { border: 1px solid var(--line); padding: 14px 18px; text-align: left; vertical-align: top; }
th { background: var(--primary-4); color: var(--navy); font-weight: 700; white-space: nowrap; }
.summary__table th { width: 30%; }
@media (max-width: 600px) { .summary__table th, .summary__table td { display: block; width: 100%; } .summary__table th { border-bottom: 0; } }

/* ---------- サポート・流れ ---------- */
.support { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 72px; }
.support__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; box-shadow: var(--shadow-lg); }
.support__title { font-size: clamp(22px, 3vw, 30px); color: var(--navy); margin: 0 0 14px; line-height: 1.5; }
.support__text { color: var(--text-2); margin: 0 0 18px; }
.support__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.support__list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.support__list .ico { color: #fff; background: var(--primary-2); border-radius: 0; padding: 3px; width: 22px; height: 22px; margin-top: 3px; }
@media (max-width: 900px) { .support { grid-template-columns: 1fr; gap: 28px; } }
.flow__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.flow__item { position: relative; padding: 24px 18px; background: #fff; border: 1px solid var(--line); border-radius: 0; }
.flow__item:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -11px; width: 8px; height: 8px; border-top: 2px solid var(--primary-2); border-right: 2px solid var(--primary-2); transform: translateY(-50%) rotate(45deg); }
.flow__no { font-family: var(--en); font-weight: 700; font-size: 12px; letter-spacing: .14em; color: #fff; background: var(--primary); padding: 2px 10px; border-radius: 0; }
.flow__item h3 { font-size: 18px; margin: 10px 0 6px; color: var(--navy); }
.flow__item p { margin: 0; font-size: 14px; color: var(--text-2); }
@media (max-width: 1000px) { .flow__list { grid-template-columns: repeat(3, 1fr); } .flow__item:nth-child(3)::after { display: none; } }
@media (max-width: 600px) { .flow__list { grid-template-columns: 1fr; } .flow__item::after { display: none; } }

/* ---------- FAQ ---------- */
.faq__list { display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--line); background: #fff; border-radius: 0; }
.faq__item[open] { border-color: var(--primary-3); box-shadow: var(--shadow); }
.faq__item summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative; display: flex; gap: 14px; align-items: flex-start; font-weight: 700; color: var(--navy); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; position: absolute; right: 24px; top: 26px; width: 9px; height: 9px; border-right: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: rotate(45deg); transition: transform .3s; }
.faq__item[open] summary::after { transform: rotate(-135deg); top: 31px; }
.faq__q, .faq__a-mark { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 0; font-family: var(--en); font-weight: 700; font-size: 14px; line-height: 1; background: var(--primary); color: #fff; }
.faq__a { display: flex; gap: 14px; padding: 0 22px 22px; }
.faq__a-mark { background: var(--primary-3); color: var(--primary); }
.faq__a p { margin: 0; color: var(--text-2); }

/* ---------- ブログカード ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; border: 1px solid var(--line); background: #fff; border-radius: 0; overflow: hidden; transition: box-shadow .3s, transform .3s; }
.post-card a:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.post-card__thumb { position: relative; aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.post-card__thumb span { position: absolute; left: 14px; top: 12px; font-family: var(--en); font-weight: 700; letter-spacing: .18em; font-size: 11px; color: var(--primary); background: #fff; padding: 2px 10px; border-radius: 0; }
.post-card__thumb .ico { width: 84px; height: 84px; }
.post-card__thumb > img:not(.ico) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-card__thumb span { z-index: 1; }
.post-card__thumb--plan { background: linear-gradient(135deg, #e3eeff, #f6f9ff); }
.post-card__thumb--standard { background: linear-gradient(135deg, #dcebff, #eef5ff); }
.post-card__thumb--pages { background: linear-gradient(135deg, #e5f0fb, #f4f8fd); }
.post-card__thumb--content-option { background: linear-gradient(135deg, #dff3f6, #f2fafb); }
.post-card__thumb--tool-option { background: linear-gradient(135deg, #e3e9fb, #f3f5fd); }
.post-card__body { display: flex; flex-direction: column; padding: 18px 20px 22px; gap: 6px; }
.post-card__meta { display: flex; gap: 12px; align-items: center; font-size: 12px; color: var(--muted); }
.post-card__cat { color: var(--primary); background: var(--primary-4); padding: 0 10px; border-radius: 0; font-weight: 700; }
.post-card__title { font-size: 16.5px; line-height: 1.6; margin: 0; font-weight: 700; color: var(--navy); }
.post-card__desc { font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-card.is-hidden { display: none; }
@media (max-width: 960px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }

/* ---------- お問合せフォーム ---------- */
.cform { border: 1px solid var(--line); background: #fff; padding: 44px; display: grid; gap: 24px; border-radius: 0; box-shadow: var(--shadow); }
.cform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field__label { font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 8px; padding: 0; color: var(--navy); }
.field__label em { font-style: normal; font-size: 11px; background: var(--ng); color: #fff; padding: 0 7px; border-radius: 0; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea {
  width: 100%; background: var(--bg-2); border: 1.5px solid var(--line); padding: 13px 16px; border-radius: 0; transition: border-color .2s, background .2s; font-size: 16px;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--primary-2); background: #fff; }
.field input.is-invalid { border-color: var(--ng); background: #fff5f5; }
.field__label em.field__opt { background: #e6ebf2; color: var(--muted); }
.domain-field { margin-top: 14px; }
.domain-field[hidden] { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip span { display: inline-block; padding: 8px 15px; border: 1.5px solid var(--line); border-radius: 0; cursor: pointer; font-size: 14px; transition: border-color .2s, background .2s; background: #fff; }
.chip input:checked + span { border-color: var(--primary); background: var(--primary); color: #fff; }
.agree { display: flex; gap: 10px; align-items: center; justify-content: flex-start; cursor: pointer; }
.agree input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 0; border: 1.5px solid var(--line-2); border-radius: 0; background: #fff; cursor: pointer; flex: none; }
.agree input:checked { background: var(--primary) 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'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; border-color: var(--primary); }
.agree input:focus-visible { outline: 2px solid var(--primary-2); outline-offset: 2px; }
.agree a { color: var(--primary); font-weight: 700; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { display: flex; justify-content: flex-start; }
.cform__note { margin: 0; text-align: left; font-size: 13px; color: var(--muted); }
@media (max-width: 700px) { .cform { padding: 26px 18px; } .cform__grid { grid-template-columns: 1fr; } }

/* ---------- トースト ---------- */
.toast-area { position: fixed; z-index: 300; left: 50%; bottom: 24px; transform: translateX(-50%); display: grid; gap: 10px; width: min(480px, calc(100% - 32px)); pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--primary); border-radius: 0; box-shadow: var(--shadow-lg); animation: toastIn .3s ease; }
.toast--ok { border-left-color: var(--ok); }
.toast--ng { border-left-color: var(--ng); }
.toast__msg { flex: 1; margin: 0; font-size: 15px; color: var(--text-2); }
.toast__msg b { display: block; color: var(--primary); }
.toast--ok .toast__msg b { color: var(--ok); }
.toast--ng .toast__msg b { color: var(--ng); }
.toast__close { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 2px; width: 28px; height: 28px; display: grid; place-items: center; }
.toast__close .ico { width: 18px; height: 18px; }
.toast.is-out { opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .3s; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } }

/* ---------- スマホ固定CTA ---------- */
.sp-cta { display: none; }
@media (max-width: 768px) {
  .sp-cta { position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px -12px rgba(20,48,110,.3); transform: translateY(110%); transition: transform .3s; }
  .sp-cta.is-show { transform: none; }
  .sp-cta .btn { min-height: 48px; padding: .5em .8em; font-size: 14px; }
  .home .site-footer { padding-bottom: 90px; }
  .toast-area { bottom: 84px; }
}

/* ---------- フッター ---------- */
.site-footer { padding: 64px 0 28px; background: var(--navy); color: #dce6f7; }
.site-footer .logo__en { color: #fff; }
.site-footer .logo__ja { color: #a9bbdc; }
.site-footer .logo__mark { background: #fff; padding: 4px; width: 44px; height: 44px; }
.site-footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.site-footer__lead { color: #b9c8e6; font-size: 14px; max-width: 360px; }
.site-footer__nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, auto); gap: 10px 36px; }
.site-footer__nav a { text-decoration: none; font-size: 14px; color: #dce6f7; }
.site-footer__nav a:hover { color: #fff; text-decoration: underline; }
.site-footer__note { font-size: 12px; color: #a9bbdc; margin-top: 32px; }
.site-footer__copy { text-align: left; font-family: var(--en); letter-spacing: .1em; color: #a9bbdc; font-size: 12px; margin: 24px 0 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); }
@media (max-width: 600px) { .site-footer__nav ul { grid-template-columns: 1fr 1fr; } }

/* ---------- 下層ページ ---------- */
.page-hero { padding: calc(var(--header-h) + 44px) 0 44px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #eef4fd, #f8fbff); }
.page-hero__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.page-hero__img { width: 100%; height: auto; display: block; border: 1px solid var(--line); }
@media (max-width: 800px) { .page-hero__grid { grid-template-columns: 1fr; gap: 24px; } }
.page-hero--center { text-align: left; min-height: 70vh; display: grid; align-items: center; }
.page-hero__title { font-size: clamp(27px, 4.2vw, 40px); margin: 4px 0 10px; font-weight: 700; color: var(--navy); }
.page-hero__lead { color: var(--muted); margin: 0; }
.crumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 22px; font-size: 12px; color: var(--muted); }
.crumb li + li::before { content: "›"; margin-right: 6px; opacity: .6; }
.crumb a { text-decoration: none; color: var(--primary); }
.crumb [aria-current] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }

.cat-filter { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-start; margin-bottom: 40px; }
.cat-filter__btn { border: 1.5px solid var(--line); background: #fff; padding: 8px 16px; cursor: pointer; font-size: 14px; font-weight: 500; display: inline-flex; gap: 8px; align-items: center; border-radius: 0; transition: border-color .2s, background .2s, color .2s; }
.cat-filter__btn span { font-family: var(--en); font-weight: 700; color: var(--muted); }
.cat-filter__btn.is-active { border-color: var(--primary); background: var(--primary); color: #fff; }
.cat-filter__btn.is-active span { color: #cfe0ff; }

/* 記事 */
.article__head { padding: calc(var(--header-h) + 40px) 0 40px; background: linear-gradient(180deg, #eef4fd, #f8fbff); border-bottom: 1px solid var(--line); }
.article__meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.article__cat { color: #fff; background: var(--primary); padding: 1px 12px; border-radius: 0; text-decoration: none; font-weight: 700; }
.article__title { font-size: clamp(25px, 3.8vw, 36px); line-height: 1.5; margin: 0 0 16px; font-weight: 700; color: var(--navy); }
.article__lead { margin: 0; color: var(--text-2); }
.article__layout { padding: 48px 0 24px; }
.article__eyecatch { margin: 0 0 36px; }
.article__eyecatch img { width: 100%; height: auto; display: block; border: 1px solid var(--line); }
.toc { border: 1px solid var(--line); background: var(--bg-2); padding: 22px 26px; margin-bottom: 40px; border-radius: 0; }
.toc__title { color: var(--navy); font-weight: 700; margin: 0 0 8px; font-size: 16px; }
.toc ol { margin: 0; padding-left: 1.4em; }
.toc li { padding: 3px 0; }
.toc li::marker { color: var(--primary-2); font-weight: 700; }
.toc a { text-decoration: none; color: var(--text-2); font-size: 15px; }
.toc a:hover { color: var(--primary); text-decoration: underline; }

.prose { font-size: 16.5px; line-height: 2; color: var(--text); }
.prose > * + * { margin-top: 1.2em; }
.prose p { margin: 0; }
.prose h2 { font-size: clamp(20px, 2.6vw, 24px); line-height: 1.55; margin: 2.6em 0 1em; padding: 14px 18px; border-left: 5px solid var(--primary); background: var(--primary-4); border-radius: 0; font-weight: 700; color: var(--navy); }
.prose h3 { font-size: 18.5px; margin: 2em 0 .6em; padding-bottom: 8px; border-bottom: 2px solid var(--primary-3); color: var(--navy); font-weight: 700; }
.prose h4 { font-size: 17px; margin: 1.6em 0 .4em; }
.prose a { color: var(--primary); font-weight: 500; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.5em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--primary-2); font-weight: 700; }
.prose .table-wrap { margin-top: 1.4em; }
.prose table { font-size: 14.5px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.point { position: relative; border: 1.5px solid var(--primary-3); background: var(--primary-4); padding: 26px 24px 20px; margin-top: 1.8em !important; border-radius: 0; }
.point__label { position: absolute; top: -12px; left: 18px; background: var(--primary); color: #fff; font-family: var(--en); font-weight: 700; letter-spacing: .16em; padding: 1px 12px; font-size: 12px; border-radius: 0; }
.point p + p { margin-top: .8em; }
.point--accent { border: 2px solid var(--accent); background: #fff6e6; font-size: 17px; font-weight: 700; color: var(--navy); }
.point--accent .point__label { background: var(--accent); }
.point--accent strong { color: #c2410c; background: linear-gradient(transparent 62%, #ffd9a8 62%); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 56px; }
.pager a { display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: 0; text-decoration: none; font-size: 14px; line-height: 1.6; background: #fff; color: var(--navy); }
.pager a:hover { border-color: var(--primary-3); box-shadow: var(--shadow); }
.pager small { display: block; color: var(--primary); font-weight: 700; font-size: 12px; }
.pager__next { text-align: left; }
@media (max-width: 600px) { .pager { grid-template-columns: 1fr; } .prose { font-size: 16px; } }

.cta-box { padding: 64px 0; }
.cta-box__inner { position: relative; text-align: left; padding: 48px 28px; border-radius: 0; background: var(--grad); color: #fff; overflow: hidden; box-shadow: var(--shadow-lg); }
.cta-box__en { font-family: var(--en); font-weight: 700; color: #cfe0ff; margin: 0; letter-spacing: .2em; font-size: 12px; text-transform: uppercase; }
.cta-box__title { font-size: clamp(20px, 3vw, 27px); margin: 8px 0; font-weight: 700; }
.cta-box__price { font-size: 18px; margin: 0 0 8px; font-weight: 700; }
.cta-box__price b { font-family: var(--en); font-size: 44px; margin: 0 2px; }
.cta-box__price small { font-size: 13px; color: #cfe0ff; font-weight: 400; }
.cta-box__text { color: #e1ebff; margin: 0 0 24px; font-size: 15px; }
.cta-box__btns { position: relative; display: flex; gap: 12px; justify-content: flex-start; flex-wrap: wrap; }
.cta-box .btn--primary { background: #fff; color: var(--primary); }
.cta-box .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.cta-box .btn--ghost:hover { background: rgba(255,255,255,.12); }
@media (max-width: 520px) { .cta-box__btns .btn { width: 100%; } }
