/* テマヘル site.css v4（v4: 本物の画面のスクリーンショット・美顔補正の比較を追加）
   EC サイトとして作り直した版。Web フォントなし（システムフォント）、外部読み込みなし。
   色: 白地＋薄い灰色の帯、本文は黒に近い灰色、主色は青、購入ボタンは黄色、価格は赤、ヘッダー・フッターは濃紺。 */
:root {
  --bg: #ffffff;
  --band: #f3f3f3;
  --ink: #1a1a1a;
  --ink-2: #444444;
  --ink-3: #6b6b6b;
  --line: #dddddd;
  --line-2: #c4c4c4;

  --brand: #0a64d8;
  --brand-hover: #0852b3;
  --brand-dark: #08479c;
  --brand-soft: #e8f1fc;
  --link: #0a5bc4;
  --link-hover: #08479c;

  --navy: #12284c;
  --navy-2: #1c3763;
  --navy-3: #0b1a33;

  --buy: #ffd814;
  --buy-hover: #f7ca00;
  --buy-border: #f2c200;
  --buy-ink: #0f1111;

  --price: #c40000;
  --free: #0a7a3d;

  --radius: 6px;
  --radius-sm: 4px;
  --shadow: 0 1px 3px rgba(15, 17, 17, .12);
  --focus: #0a64d8;
  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

/* ---------- 基本 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.75;
  letter-spacing: .02em;
  overflow-wrap: anywhere;
  line-break: strict;
}
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-underline-offset: .18em; text-decoration: none; }
a:hover { color: var(--link-hover); text-decoration: underline; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
p { margin: 0 0 .9em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.45; font-weight: 700; letter-spacing: .02em; }
h1 { font-size: clamp(22px, 2.6vw, 28px); }
h2 { font-size: clamp(19px, 2vw, 22px); }
h3 { font-size: 16px; }
.lead, .fine, .split__head p, .section-head p, .price-notes p, .faq summary, .defs dd, .ruled li, .flow p, .points p, .feature p, .bullets li, .buy-notes { word-break: auto-phrase; }
.nb { display: inline-block; }
.num { font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: var(--radius); border: 2px solid var(--brand); }
.skip:focus { top: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container--narrow > * { max-width: 820px; }
.prose { max-width: 40em; }
.muted { color: var(--ink-2); }
.fine { font-size: 13px; line-height: 1.7; color: var(--ink-3); }
@media (max-width: 600px) { .container { padding: 0 16px; } }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 44px; padding: 0 20px;
  border-radius: var(--radius); border: 1px solid var(--brand);
  font: inherit; font-weight: 700; font-size: 15px; letter-spacing: .03em; line-height: 1.3; text-align: center;
  text-decoration: none; cursor: pointer;
  background: var(--brand); color: #fff;
  transition: background-color .12s, border-color .12s;
}
.btn:hover { background: var(--brand-hover); border-color: var(--brand-hover); color: #fff; text-decoration: none; }
.btn--secondary { background: #fff; color: var(--ink); border-color: var(--line-2); box-shadow: 0 1px 2px rgba(15,17,17,.08); font-weight: 500; }
.btn--secondary:hover { background: #f7f7f7; color: var(--ink); border-color: #aaa; }
/* 購入ボタン（Amazon 型の黄色）。1画面に1つだけ置く */
.btn--buy { background: var(--buy); border-color: var(--buy-border); color: var(--buy-ink); box-shadow: 0 1px 2px rgba(15,17,17,.12); }
.btn--buy:hover { background: var(--buy-hover); border-color: #e0b300; color: var(--buy-ink); }
.btn--lg { min-height: 50px; font-size: 16px; }
.btn--sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled] { background: #f0f0f0; color: #8a8a8a; border-color: var(--line); box-shadow: none; cursor: not-allowed; }
.btn--buy.btn--block { flex-wrap: wrap; row-gap: 2px; padding-top: 6px; padding-bottom: 6px; }
.btn--buy [data-buy-label] { white-space: nowrap; }
.btn .soon-chip { font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 3px; background: rgba(15,17,17,.12); letter-spacing: .04em; }
.text-link { font-weight: 700; display: inline-flex; align-items: center; gap: .3em; min-height: 40px; }

/* ---------- ヘッダー ---------- */
.site-header { background: var(--navy); color: #fff; }
.hd-main__inner { display: flex; align-items: center; gap: 20px; min-height: 60px; padding-top: 8px; padding-bottom: 8px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 20px; letter-spacing: .06em; min-height: 44px; flex-shrink: 0; text-decoration: none; padding: 0 6px; margin-left: -6px; border: 1px solid transparent; border-radius: var(--radius-sm); }
.brand:hover { color: #fff; text-decoration: none; border-color: rgba(255,255,255,.6); }
.brand__mark { width: 28px; height: 28px; flex-shrink: 0; }
.brand__mark rect:first-child { fill: var(--brand); }
.brand__mark .bar { fill: #fff; }

.search { flex: 1 1 auto; display: flex; min-width: 0; max-width: 760px; height: 42px; border-radius: var(--radius); overflow: hidden; background: #fff; }
.search:focus-within { box-shadow: 0 0 0 3px #ffd814; }
.search input { flex: 1 1 auto; min-width: 0; border: 0; padding: 0 14px; font: inherit; font-size: 15px; color: var(--ink); background: #fff; outline: none; }
.search input::placeholder { color: #8a8a8a; }
.search input::-webkit-search-cancel-button { cursor: pointer; }
.search button { flex: 0 0 52px; border: 0; background: var(--brand); color: #fff; cursor: pointer; display: grid; place-items: center; }
.search button:hover { background: var(--brand-hover); }
.search button svg { width: 20px; height: 20px; }

.hd-nav { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.hd-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: #fff; font-size: 14px; font-weight: 700; border: 1px solid transparent; border-radius: var(--radius-sm); white-space: nowrap; }
.hd-nav a:hover { color: #fff; text-decoration: none; border-color: rgba(255,255,255,.6); }
/* 今いる場所の黄色い下線。角丸のリンクに inset の影を付けると線の両端が丸く曲がるので、まっすぐな線を別に描く */
.hd-nav a[aria-current="page"], .hd-sub a.is-current { position: relative; }
.hd-nav a[aria-current="page"]::after, .hd-sub a.is-current::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--buy); }

.hd-sub { background: var(--navy-2); }
.hd-sub__inner { display: flex; align-items: center; gap: 2px; min-height: 40px; }
.hd-sub a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; color: #fff; font-size: 14px; border: 1px solid transparent; border-radius: var(--radius-sm); white-space: nowrap; }
.hd-sub a:first-child { margin-left: -12px; }
.hd-sub a:hover { color: #fff; text-decoration: none; border-color: rgba(255,255,255,.6); }
.hd-sub a.is-current { font-weight: 700; }
.hd-sub .sm-only { display: none; }

@media (max-width: 760px) {
  .hd-main__inner { flex-wrap: wrap; gap: 6px 8px; padding-top: 6px; padding-bottom: 10px; }
  .brand { font-size: 18px; }
  .hd-nav { margin-left: auto; }
  .hd-nav a { padding: 0 8px; font-size: 13px; }
  .hd-nav .lg-only { display: none; }
  .search { order: 3; flex-basis: 100%; max-width: none; height: 44px; }
  .hd-sub__inner { gap: 0; }
  .hd-sub a { padding: 0 9px; font-size: 13px; }
  .hd-sub a:first-child { margin-left: -9px; }
  .hd-sub .lg-only { display: none; }
  .hd-sub .sm-only { display: inline-flex; margin-left: auto; font-weight: 700; }
}

/* ---------- パンくず ---------- */
.breadcrumb { font-size: 13px; color: var(--ink-3); padding: 12px 0; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumb li + li::before { content: "›"; margin-right: 4px; color: var(--ink-3); }
.breadcrumb a { color: var(--link); }

/* ---------- セクション ---------- */
.section { padding: 48px 0; }
.section--band { background: var(--band); }
.section--tight { padding: 32px 0; }
.section + .section:not(.section--band) { border-top: 1px solid var(--line); }
.section--band + .section { border-top: 0 !important; }
.section-head { margin-bottom: 24px; max-width: 46em; }
.section-head h2 + p { margin-top: 8px; color: var(--ink-2); }
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px 56px; align-items: start; }
.split__head p { margin-top: 10px; color: var(--ink-2); }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

.page-head { padding: 32px 0 20px; }
.page-head .lead { margin-top: 10px; color: var(--ink-2); max-width: 40em; }

/* 罫線で区切るリスト */
.ruled { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ruled > li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.ruled--compact > li { padding: 12px 0; }

/* 2列の定義リスト */
.defs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin: 0; border-top: 1px solid var(--line); }
.defs > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.defs dt { font-weight: 700; margin-bottom: 2px; }
.defs dd { margin: 0; color: var(--ink-2); }
.defs--one { grid-template-columns: minmax(0, 1fr); }
.defs--one > div { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 4px 24px; }
@media (max-width: 720px) { .defs { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .defs--one > div { grid-template-columns: minmax(0, 1fr); } }

/* ---------- トップ（ストア） ---------- */
.hero-banner { padding: 16px 0 0; }
.banner { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.banner img { display: block; width: 100%; height: auto; }
.banner:hover { border-color: var(--line-2); }

.cat-band { background: var(--band); margin-top: 16px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cat-band__inner { display: flex; align-items: center; gap: 16px; }
.cat-band__label { font-weight: 700; font-size: 14px; flex-shrink: 0; }
.cat-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; flex: 1 1 auto; max-width: 760px; }
.cat {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 6px 10px;
  background: #fff; color: var(--ink); border: 1px solid var(--line-2); border-radius: var(--radius);
  font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; line-height: 1.3;
}
.cat svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--brand); }
.cat:hover { border-color: #999; background: #fafafa; }
.cat[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-dark); box-shadow: inset 0 0 0 1px var(--brand); }
@media (max-width: 600px) {
  .cat-band__label { display: none; }
  .cat-tabs { gap: 6px; }
  .cat { flex-direction: column; gap: 2px; min-height: 58px; padding: 6px 2px; font-size: 12.5px; }
}

.store { padding: 24px 0 48px; }
.store__title { font-size: 22px; margin-bottom: 14px; }
.result-status { margin: 0 0 16px; font-size: 14px; color: var(--ink-2); }
.result-status:empty { display: none; }
.result-status b { color: var(--ink); }
.linklike { background: none; border: 0; padding: 0 2px; font: inherit; color: var(--link); cursor: pointer; text-decoration: underline; text-underline-offset: .18em; min-height: 32px; }
.linklike:hover { color: var(--link-hover); }
.shelf + .shelf { margin-top: 36px; }
.shelf__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.shelf__head p { font-size: 13px; color: var(--ink-3); margin: 0; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }

/* 商品カード。カード全体が1つのリンク（画像・名前・価格のどこを押しても商品ページへ） */
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); text-decoration: none; transition: box-shadow .12s, border-color .12s; }
a.card:hover { color: var(--ink); text-decoration: none; border-color: var(--line-2); box-shadow: 0 2px 8px rgba(15,17,17,.12); }
a.card:hover .card__name { color: var(--link-hover); text-decoration: underline; }
.card__img { display: block; background: var(--band); aspect-ratio: 1; border-bottom: 1px solid var(--line); }
.card__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.card__body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; flex: 1 1 auto; }
.card__date { font-size: 12px; color: var(--ink-3); }
.card__name { word-break: auto-phrase; }
.card__name { font-size: 17px; font-weight: 700; color: var(--link); line-height: 1.4; }
.card__desc { font-size: 13px; color: var(--ink-2); line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(13px * 1.65 * 2); }
.card__price { margin-top: 4px; color: var(--ink-2); font-size: 13px; line-height: 1.5; }
.card__price .price { color: var(--price); font-size: 22px; font-weight: 700; letter-spacing: 0; }
.card__price .per { color: var(--ink-2); font-size: 13px; }
.card__price .other { display: block; font-size: 12px; color: var(--ink-3); }
.card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.tag { display: inline-flex; align-items: center; padding: 1px 8px; border-radius: 3px; font-size: 12px; font-weight: 700; line-height: 1.7; border: 1px solid var(--line-2); color: var(--ink-2); background: #fff; }
.tag--free { border-color: var(--free); color: var(--free); }
.tag--soon { background: #8a8a8a; border-color: #8a8a8a; color: #fff; }
.card--soon { background: #fafafa; }
.card--soon .card__name { color: #555; }
.card--soon .card__img { opacity: .9; }

/* おすすめ: 横長のカード */
.card--wide { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); }
.card--wide .card__img { border-bottom: 0; border-right: 1px solid var(--line); }
.card--wide .card__body { padding: 20px 24px; gap: 6px; }
.card--wide .card__name { font-size: 22px; }
.card--wide .card__desc { font-size: 14px; -webkit-line-clamp: 2; min-height: 0; }
.card--wide .card__points { margin: 6px 0 0; padding-left: 1.2em; font-size: 14px; color: var(--ink); line-height: 1.7; }
.card--wide .card__price .price { font-size: 26px; }
.card--wide .card__more { margin-top: auto; padding-top: 10px; font-weight: 700; color: var(--link); font-size: 14px; }
@media (max-width: 760px) {
  .card--wide { grid-template-columns: minmax(0, 1fr); }
  .card--wide .card__img { border-right: 0; border-bottom: 1px solid var(--line); }
  .card--wide .card__body { padding: 14px 16px 16px; }
  .card--wide .card__points { display: none; }
  .card__body { padding: 10px 10px 12px; }
  .card__name { font-size: 15px; }
  .card__price .price { font-size: 19px; }
}
[data-product][hidden], .shelf[hidden] { display: none !important; }

.empty { padding: 32px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-align: center; }
.empty h2 { font-size: 18px; margin-bottom: 6px; }
.empty p { color: var(--ink-2); font-size: 14px; }
.empty .actions { margin-top: 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

.promo__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 32px; align-items: center; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.promo__label { display: inline-block; font-size: 12px; font-weight: 700; color: var(--brand-dark); background: var(--brand-soft); padding: 1px 8px; border-radius: 3px; margin-bottom: 6px; }
.promo h2 { font-size: 20px; margin-bottom: 4px; }
.promo p { color: var(--ink-2); font-size: 14px; }
@media (max-width: 760px) { .promo__inner { grid-template-columns: minmax(0, 1fr); padding: 18px; } }

/* ---------- 商品ページ ---------- */
.pdp { padding-bottom: 32px; }
.pdp__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "gallery title" "gallery side"; gap: 0 32px; align-items: start; }
.pdp__title { grid-area: title; padding-bottom: 12px; }
.gallery { grid-area: gallery; }
.pdp__side { grid-area: side; }
.pdp__maker { font-size: 13px; color: var(--ink-3); margin-bottom: 2px; }
.pdp__title h1 { line-height: 1.35; }
.pdp__name { display: block; font-size: 30px; }
.pdp__h1sub { display: block; font-size: 16px; font-weight: 700; color: var(--ink-2); margin-top: 2px; }
.pdp__sub { margin: 0 0 6px; font-size: 14px; color: var(--ink-2); line-height: 1.7; }
/* 画像ギャラリー */
.gallery { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; position: sticky; top: 12px; }
.gallery__thumbs { display: flex; flex-direction: column; gap: 8px; list-style: none; margin: 0; padding: 0; }
.gallery__thumbs button { display: block; width: 64px; height: 64px; padding: 0; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: #fff; cursor: pointer; overflow: hidden; }
.gallery__thumbs button:hover { border-color: var(--brand); }
.gallery__thumbs button[aria-pressed="true"] { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand); }
.gallery__thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery__main { margin: 0; }
.gallery__main img { display: block; width: 100%; height: auto; aspect-ratio: 1; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.gallery__main figcaption { margin-top: 6px; font-size: 12px; color: var(--ink-3); }

/* 右列 */
.pdp__side > * + * { margin-top: 16px; }
.buybox { border: 1px solid var(--line-2); border-radius: 8px; padding: 14px 16px 16px; background: #fff; }
.plan-pick { border: 0; margin: 0; padding: 0; min-width: 0; }
.plan-pick legend { font-weight: 700; font-size: 14px; padding: 0; margin-bottom: 8px; }
.plan-opt { position: relative; display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 0 10px; align-items: center; padding: 8px 12px; min-height: 44px; border: 1px solid var(--line-2); border-radius: var(--radius); cursor: pointer; background: #fff; }
.plan-opt + .plan-opt { margin-top: 8px; }
.plan-opt:hover { border-color: #999; }
.plan-opt input { width: 18px; height: 18px; margin: 0; accent-color: var(--brand); cursor: pointer; }
.plan-opt__name { font-weight: 700; font-size: 15px; }
.plan-opt__note { grid-column: 2 / 4; font-size: 12px; color: var(--ink-3); line-height: 1.5; }
.plan-opt__price { font-weight: 700; font-size: 15px; white-space: nowrap; }
.plan-opt__price small { font-size: 12px; font-weight: 400; color: var(--ink-2); }
.plan-opt:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand); }
.plan-opt .best { display: inline-block; margin-left: 6px; font-size: 11px; font-weight: 700; color: #fff; background: var(--price); padding: 0 6px; border-radius: 3px; line-height: 1.7; vertical-align: 1px; }

.price-now { margin: 12px 0 10px; line-height: 1.3; }
.price-now__label { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 2px; }
.price-now .price { color: var(--price); font-size: 32px; font-weight: 700; letter-spacing: 0; }
.price-now .per { font-size: 14px; color: var(--ink-2); margin-left: 2px; }
.price-now .tax { font-size: 13px; color: var(--ink-2); margin-left: 4px; }
.price-now__sub { display: block; font-size: 13px; color: var(--ink-2); margin-top: 4px; }
.buy-notes { margin: 10px 0 0; padding: 0; list-style: none; font-size: 12.5px; line-height: 1.65; color: var(--ink-2); }
.buy-notes li { position: relative; padding-left: 1.1em; }
.buy-notes li + li { margin-top: 2px; }
.buy-notes li::before { content: ""; position: absolute; left: .2em; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--ink-3); }
.buy-msg { margin: 8px 0 0; font-size: 13px; color: var(--price); font-weight: 700; }
.buy-msg:empty { display: none; }
.buybox__free { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.buybox__free .fine { margin-top: 6px; }

/* 購入の流れ（3段階） */
.steps { border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; background: var(--band); }
.steps h2 { font-size: 14px; margin-bottom: 10px; }
.steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: st; }
.steps li { word-break: auto-phrase; position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; font-size: 13px; font-weight: 700; line-height: 1.45; padding: 0 6px; counter-increment: st; }
.steps li::before { content: counter(st); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 14px; font-weight: 700; position: relative; z-index: 1; }
.steps li + li::after { content: ""; position: absolute; top: 15px; right: calc(50% + 15px); width: calc(100% - 30px); height: 2px; background: #9ab6db; }
.steps li small { display: block; font-weight: 400; color: var(--ink-3); font-size: 12px; }

.bullets h2 { font-size: 16px; margin-bottom: 6px; }
.bullets ul { margin: 0; padding-left: 1.2em; }
.bullets li { margin: 4px 0; }
.side-links { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 14px; }

/* スマホの固定購入バー */
.buybar { display: none; }
@media (max-width: 860px) {
  .pdp__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "gallery" "side"; gap: 12px; }
  .pdp__title { padding-bottom: 0; }
  .pdp__name { font-size: 24px; }
  .pdp__h1sub { font-size: 14px; }
  .gallery { grid-template-columns: minmax(0, 1fr); position: static; }
  .gallery__thumbs { flex-direction: row; order: 2; overflow-x: auto; padding: 2px; }
  .gallery__thumbs button { width: 56px; height: 56px; flex-shrink: 0; }
  .buybar {
    display: flex; align-items: center; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid var(--line-2); box-shadow: 0 -2px 8px rgba(15,17,17,.12);
    transition: transform .2s;
  }
  .buybar[data-hidden="true"] { transform: translateY(110%); }
  .buybar__price { flex: 1 1 auto; min-width: 0; line-height: 1.25; }
  .buybar__plan { display: block; font-size: 12px; color: var(--ink-2); }
  .buybar__price .price { color: var(--price); font-size: 20px; font-weight: 700; }
  .buybar__price .per { font-size: 12px; color: var(--ink-2); }
  .buybar .btn { flex: 0 0 auto; min-height: 46px; padding: 0 16px; font-size: 15px; }
  body.has-buybar { padding-bottom: 72px; }
}
@media (prefers-reduced-motion: reduce) { .buybar { transition: none; } }

/* この商品について */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 20px 40px; align-items: center; padding: 28px 0; border-top: 1px solid var(--line); }
.feature:last-of-type { border-bottom: 1px solid var(--line); }
.feature img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.feature h3 { font-size: 20px; margin-bottom: 8px; }
.feature .before { margin-top: 14px; padding: 12px 14px; background: var(--band); border-radius: var(--radius); font-size: 14px; color: var(--ink-2); }
.feature .before b { display: block; color: var(--ink); margin-bottom: 2px; }
.feature .label { display: inline-block; font-size: 12px; font-weight: 700; color: var(--brand-dark); background: var(--brand-soft); padding: 0 8px; border-radius: 3px; margin-bottom: 6px; }
@media (max-width: 760px) { .feature { grid-template-columns: minmax(0, 1fr); padding: 22px 0; } }

.feature picture { display: block; }
.feature .note-img { margin-top: 6px; font-size: 12px; color: var(--ink-3); }
.feature--text { grid-template-columns: minmax(0, 1fr); }

/* 実際の画面（スクリーンショット） */
.shot { margin: 0; }
.shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line-2); border-radius: var(--radius); background: #16171b; }
.shot figcaption { margin-top: 6px; font-size: 12px; color: var(--ink-3); line-height: 1.6; }
.shot--narrow { max-width: 560px; }

/* 美顔補正: 顔の検出 → 補正前 → 補正後 */
.beauty-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: bstep; }
.beauty-steps li { counter-increment: bstep; }
.beauty-steps b { display: block; font-size: 14px; margin-bottom: 6px; }
.beauty-steps b::before { content: counter(bstep); display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 6px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 12px; vertical-align: 1px; }
.beauty-steps img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.beauty-steps small { display: block; margin-top: 4px; font-size: 12px; color: var(--ink-3); line-height: 1.5; }
@media (max-width: 560px) { .beauty-steps { gap: 6px; } .beauty-steps b { font-size: 12px; } .beauty-steps b::before { width: 18px; height: 18px; font-size: 11px; margin-right: 3px; } }

/* 補正前 / 補正後の比較（スライダーで境目を動かす）。画像が読めない時は「準備中」 */
.ba-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 760px; }
.beauty-compare { padding: 4px 0 28px; }
@media (max-width: 560px) { .ba-grid { gap: 8px; } .ba__tag { font-size: 11px; top: 4px; padding: 1px 5px; } .ba__tag--before { left: 4px; } .ba__tag--after { right: 4px; } }
.ba { margin: 0; }
.ba__frame { --pos: 50%; position: relative; aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--band); user-select: none; touch-action: pan-y; }
.ba__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.25); pointer-events: none; }
.ba__line::after { content: "◀ ▶"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); padding: 6px 8px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 11px; white-space: nowrap; box-shadow: var(--shadow); }
.ba__tag { position: absolute; top: 8px; padding: 2px 8px; border-radius: 3px; font-size: 12px; font-weight: 700; color: #fff; background: rgba(0,0,0,.6); pointer-events: none; }
.ba__tag--before { left: 8px; }
.ba__tag--after { right: 8px; background: var(--brand); }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba__range:focus-visible + .ba__line::after { outline: 3px solid var(--focus); }
.ba figcaption { margin-top: 6px; font-size: 13px; color: var(--ink-2); }
.ba__pending { display: none; position: absolute; inset: 0; place-items: center; text-align: center; font-size: 14px; color: var(--ink-3); background: var(--band); }
.ba__frame.is-pending .ba__pending { display: grid; }
.ba__frame.is-pending .ba__line, .ba__frame.is-pending .ba__tag, .ba__frame.is-pending .ba__range { display: none; }
.ai-note { margin-top: 8px; font-size: 12px; color: var(--ink-3); line-height: 1.6; }

/* トップ: バナー下の美顔補正の紹介 */
.promo-beauty { margin-top: 16px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 3fr) minmax(0, 3fr); gap: 20px; align-items: center; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.promo-beauty h2 { font-size: 20px; margin-bottom: 6px; }
.promo-beauty .label { display: inline-block; font-size: 12px; font-weight: 700; color: var(--brand-dark); background: var(--brand-soft); padding: 0 8px; border-radius: 3px; margin-bottom: 6px; }
.promo-beauty figcaption, .promo-beauty .ba figcaption { font-size: 12px; color: var(--ink-3); }
.promo-beauty p { font-size: 14px; color: var(--ink-2); line-height: 1.7; }
.promo-beauty .more { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 700; }
.promo-beauty .shot img { aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 760px) { .promo-beauty { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 14px; gap: 12px; } .promo-beauty__text { grid-column: 1 / -1; } }

.subhead { font-size: 17px; margin: 32px 0 8px; }
.more-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.more-features li { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); }
.more-features h4 { font-size: 15px; margin: 0 0 2px; }
.more-features p { font-size: 14px; color: var(--ink-2); line-height: 1.7; }
@media (max-width: 860px) { .more-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .more-features { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 料金表（プランを列にした比較表） ---------- */
.price-tax { font-size: .7em; font-weight: 400; color: var(--ink-2); margin-left: .3em; }
.plans { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.plan { display: grid; grid-row: span var(--rows, 5); grid-template-rows: subgrid; row-gap: 0; padding: 20px 18px; border-left: 1px solid var(--line); font-size: 14px; line-height: 1.7; }
.plan:first-child { border-left: 0; }
.plan > * + * { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.plan.is-pick { background: var(--brand-soft); }
.plan h3 { font-size: 16px; }
.plan-for { font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.pick-label { display: inline-block; font-size: 11px; font-weight: 700; color: #fff; background: var(--price); padding: 0 6px; border-radius: 3px; margin-bottom: 4px; }
.plan__price .price { display: block; font-size: 26px; font-weight: 700; letter-spacing: 0; line-height: 1.3; white-space: nowrap; color: var(--price); }
.plan__price .price small { font-size: 13px; font-weight: 400; color: var(--ink-2); margin-left: 2px; }
.price-sub { display: block; font-size: 12px; color: var(--ink-2); margin-top: 2px; }
.plan__label { display: block; font-size: 12px; font-weight: 700; color: var(--ink-3); margin-bottom: 2px; }
.plan ul { margin: 0; padding-left: 1.1em; }
.plan li + li { margin-top: 2px; }
.plan .none { color: var(--ink-2); }
.plan__action { align-self: end; }
.plan__action.fine { align-self: center; }
.price-notes { margin-top: 16px; max-width: 52em; }
.price-notes p { font-size: 13px; color: var(--ink-2); line-height: 1.75; }
@media (max-width: 860px) {
  .plans { grid-template-columns: minmax(0, 1fr); background: transparent; border: 0; gap: 10px; overflow: visible; border-radius: 0; }
  .plan { display: block; grid-row: auto; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 16px; }
  .plan:first-child { border-left: 1px solid var(--line); }
  .plan > * + * { margin-top: 10px; padding-top: 10px; }
  .plan.is-pick { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
  .plan__action.fine { border-top: 0; padding-top: 0; margin-top: 6px; }
  .plan > div:has(> .plan__label) { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 10px; }
  .plan > div > .plan__label { margin: 2px 0 0; }
}

/* ---------- 業務自動化の開発（/service/） ---------- */
.hero { padding: 40px 0 44px; }
.hero__label { display: block; font-size: 14px; color: var(--ink-2); font-weight: 700; margin-bottom: 10px; }
.hero h1 { font-size: clamp(26px, 3.6vw, 38px); line-height: 1.4; max-width: 16em; }
.hero .lead { font-size: 16px; color: var(--ink-2); max-width: 34em; margin: 16px 0 0; line-height: 1.85; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 24px; }
.hero__note { margin-top: 10px; font-size: 13px; color: var(--ink-3); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

.demo { position: relative; margin: 0; }
.demo__stage { display: grid; gap: 12px; }
.mail, .sheet { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); font-size: 13px; line-height: 1.7; overflow: hidden; }
.mail { width: 86%; }
.mail__bar, .sheet__bar { display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-bottom: 1px solid var(--line); background: var(--band); font-size: 12px; color: var(--ink-3); }
.mail__body { padding: 12px 16px 14px; }
.mail__meta { display: grid; grid-template-columns: 3.5em minmax(0, 1fr); gap: 0 8px; color: var(--ink-3); font-size: 12px; margin-bottom: 8px; }
.mail__meta b { color: var(--ink); font-weight: 700; }
.mail__text { color: var(--ink-2); }
.mail__text mark { background: #fff1a8; color: var(--ink); padding: 0 2px; }
.demo__arrow { display: flex; align-items: center; gap: 10px; padding-left: 24px; font-size: 12px; font-weight: 700; color: var(--brand-dark); }
.demo__arrow::before { content: ""; width: 2px; height: 26px; background: var(--brand); }
.sheet { margin-left: 8%; }
.sheet table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.sheet th, .sheet td { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 4px 8px; text-align: left; white-space: nowrap; font-weight: 400; }
.sheet th:last-child, .sheet td:last-child { border-right: 0; }
.sheet thead th { background: var(--band); color: var(--ink-3); font-size: 11px; }
.sheet tbody tr:first-child td { font-weight: 700; color: var(--ink-2); font-size: 12px; }
.sheet td.r { text-align: right; }
.sheet tr.is-new td { background: var(--brand-soft); color: var(--ink); }
.sheet tr.is-new td:first-child { box-shadow: inset 3px 0 0 var(--brand); }
.demo figcaption { margin-top: 12px; font-size: 13px; color: var(--ink-3); line-height: 1.7; }
@media (max-width: 520px) { .mail { width: 100%; } .sheet { margin-left: 0; } .sheet .hide-sm { display: none; } }

.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.points > div { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 20px; border-top: 3px solid var(--brand); }
.points h3 { font-size: 17px; margin-bottom: 8px; }
.points p { color: var(--ink-2); font-size: 14px; line-height: 1.8; }
@media (max-width: 860px) { .points { grid-template-columns: minmax(0, 1fr); } }

.flow { list-style: none; margin: 0; padding: 0; }
.flow > li { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 6px 28px; padding: 18px 0; border-top: 1px solid var(--line); }
.flow > li:last-child { border-bottom: 1px solid var(--line); }
.flow .when { font-size: 14px; font-weight: 700; color: var(--brand-dark); padding-top: 2px; }
.flow h3 { margin-bottom: 2px; }
.flow p { color: var(--ink-2); }
@media (max-width: 600px) { .flow > li { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

.closing { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 32px 56px; align-items: start; }
.closing h2 { font-size: clamp(21px, 2.4vw, 26px); }
.closing .lead { margin-top: 10px; color: var(--ink-2); }
.closing .actions { margin-top: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.panel h3 { font-size: 15px; margin-bottom: 8px; }
.panel ol, .panel ul { margin: 0; padding-left: 1.3em; color: var(--ink-2); font-size: 14px; }
.panel li + li { margin-top: 4px; }
@media (max-width: 860px) { .closing { grid-template-columns: minmax(0, 1fr); } }

/* ---------- よくある質問 ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 14px 0; min-height: 50px; font-weight: 700; line-height: 1.6; }
.faq summary:hover { color: var(--link-hover); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex-shrink: 0; width: 8px; height: 8px; margin-top: 7px; margin-right: 4px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 11px; }
.faq details > div { padding: 0 0 16px; color: var(--ink-2); max-width: 44em; }

/* ---------- 表（動作環境・特商法） ---------- */
.spec { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.75; border: 1px solid var(--line); }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.spec th { width: 28%; font-weight: 700; background: var(--band); border-right: 1px solid var(--line); }
@media (max-width: 600px) {
  .spec, .spec tbody, .spec tr, .spec th, .spec td { display: block; width: 100%; }
  .spec th { border-right: 0; padding: 8px 12px; }
  .spec td { padding: 10px 12px 14px; }
}

/* ---------- 文書（規約など） ---------- */
.doc { max-width: 44em; }
.doc h2 { font-size: 18px; margin: 36px 0 10px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.doc ul, .doc ol { padding-left: 1.4em; margin: 0 0 1em; }
.doc li + li { margin-top: 4px; }
.doc .doc-date { margin-top: 40px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.toc { margin: 8px 0; padding: 14px 18px; background: var(--band); border-radius: var(--radius); font-size: 14px; }
.toc p { font-weight: 700; margin-bottom: 4px; }
.toc ol { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 24px; }
.toc li { break-inside: avoid; }
.toc a { display: inline-block; padding: 3px 0; }
@media (max-width: 600px) { .toc ol { columns: 1; } }

/* ---------- サポート ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; align-items: stretch; }
.contact-box { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 22px 22px 20px; display: flex; flex-direction: column; }
.contact-box h2 { font-size: 19px; margin-bottom: 4px; }
.contact-box > p { color: var(--ink-2); }
.contact-box ul { margin: 10px 0 0; padding-left: 1.2em; color: var(--ink-2); }
.contact-box .actions { margin-top: auto; padding-top: 18px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.mail-addr { font-weight: 700; font-size: 17px; }
.env { margin-bottom: 16px; padding: 16px 18px; border-radius: 8px; border: 1px solid var(--brand); background: var(--brand-soft); }
.env__head { font-size: 13px; font-weight: 700; color: var(--brand-dark); margin-bottom: 2px; }
.env__text { font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.env__help { font-size: 14px; color: var(--ink-2); }
.env__actions { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } .contact-box { padding: 18px; } }

/* ---------- フッター（濃紺） ---------- */
.site-footer { color: #fff; font-size: 14px; }
.to-top { display: block; padding: 14px 16px; text-align: center; background: var(--navy-2); color: #fff; font-size: 13px; }
.to-top:hover { background: #26467a; color: #fff; text-decoration: none; }
.ft-main { background: var(--navy); padding: 40px 0 32px; }
.ft-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 28px 40px; }
.ft-about .brand { margin-bottom: 6px; }
.ft-about p { color: #d5dbe5; margin-bottom: 12px; line-height: 1.7; }
.ft-about dl { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 14px; font-size: 13px; line-height: 1.7; }
.ft-about dt { color: #aab6c8; }
.ft-about dd { margin: 0; color: #fff; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.ft-col h2 { font-size: 15px; font-weight: 700; margin-bottom: 6px; color: #fff; }
.ft-col ul { list-style: none; margin: 0; padding: 0; }
.ft-col a { display: inline-flex; align-items: center; min-height: 34px; color: #d5dbe5; }
.ft-bottom { background: var(--navy-3); padding: 16px 0; font-size: 12px; color: #aab6c8; text-align: center; }
@media (max-width: 860px) { .ft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ft-about { grid-column: 1 / -1; } }
@media (max-width: 420px) { .ft-grid { grid-template-columns: minmax(0, 1fr); } .ft-col a { min-height: 40px; } }
