/* =========================
EC-FORCE / CSS編集（完全版）
方針：
- 中立ベース
- CTAは青で統一（購入/一覧/見積）
- 相談だけ緑で強調（電話/みなとも/相談）
- ベージュは温度（バッジ/チップ/注釈）
- グレーは構造（枠線/サブ/区切り）
========================= */

:root{
  /* base */
  --base: rgb(244,246,248);            /* R244 G246 B248 */
  --card: #fff;
  --text: #111;

  /* structure */
  --gray: rgb(185,185,185);            /* R185 G185 B185 */
  --border: rgba(0,0,0,.10);
  --border2: rgba(0,0,0,.06);
  --muted: rgba(0,0,0,.68);

  /* warmth */
  --beige: rgb(240,235,225);           /* R240 G235 B225 */

  /* accents (semantic) */
  --blue: rgb(11,48,142);              /* R11 G48 B142 ＝購入/一覧/見積 */
  --green: rgb(0,106,103);             /* R0 G106 B103 ＝相談 */

  /* derived */
  --blue10: rgba(11,48,142,.10);
  --blue18: rgba(11,48,142,.18);
  --green10: rgba(0,106,103,.10);
  --green18: rgba(0,106,103,.18);
  --shadow: 0 8px 18px rgba(0,0,0,.04);
}

/* ---- overflow fix core ---- */
html, body{
  width:100%;
  max-width:100%;
  overflow-x:hidden;
}
*,
*::before,
*::after{
  box-sizing:border-box;
}
img{
  max-width:100%;
  height:auto;
  display:block;
}
a, p, li, h1, h2, h3, h4{
  overflow-wrap:anywhere;
}

/* Fonts */
.buy-guide-main,
.buy-guide-header,
.buy-guide-footer{
  font-family: "Noto Sans JP", "Helvetica", Arial, sans-serif;
  color: var(--text);
}

/* Layout */
.buy-guide-container{
  max-width:1100px;
  width:100%;
  margin:0 auto;
  padding:0 16px;
}

/* Header */
.buy-guide-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.92);
  backdrop-filter:saturate(160%) blur(8px);
  border-bottom:1px solid var(--border);
}
.buy-guide-header .buy-guide-container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 16px;
}
.buy-guide-brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.buy-guide-brandName{
  font-weight:800;
  letter-spacing:.02em;
}
.buy-guide-nav{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.buy-guide-navLink{
  font-size:13px;
  text-decoration:none;
  color:inherit;
  padding:8px 10px;
  border-radius:12px;
}
.buy-guide-navLink:hover{ background:rgba(0,0,0,.04); }
.buy-guide-navLink--primary{
  background: var(--blue10);
  border:1px solid var(--blue18);
}

/* Main */
.buy-guide-main{
  background:var(--base);
}

/* Hero */
.buy-guide-hero{
  padding:24px 0 10px;
  background: linear-gradient(to bottom, #fff, var(--base));
}
.buy-guide-heroInner{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:14px;
  align-items:start;
}
.buy-guide-title{
  font-size:28px;
  line-height:1.25;
  margin:0 0 10px;
}
.buy-guide-lead{
  margin:0 0 12px;
  font-size:15px;
  line-height:1.8;
  color:var(--muted);
}
.buy-guide-lead--center{ text-align:center; }

.buy-guide-heroCtas{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:12px 0 12px;
}

/* Badges = warmth */
.buy-guide-badges{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  list-style:none;
  padding:0;
  margin:0;
}
.buy-guide-badge{
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(240,235,225,.85); /* beige */
  border:1px solid rgba(0,0,0,.06);
}

/* Guide */
.buy-guide-guide{
  margin-top:12px;
  background: rgba(255,255,255,.92);
  border:1px solid var(--border);
  border-radius:16px;
  padding:12px;
  box-shadow:0 6px 16px rgba(0,0,0,.04);
}
.buy-guide-guideTitle{
  margin:0 0 8px;
  font-weight:800;
  font-size:13px;
}
.buy-guide-guideList{
  margin:0;
  padding-left:18px;
  font-size:13px;
  line-height:1.8;
  color:var(--muted);
}
.buy-guide-guideHint{
  margin:8px 0 0;
  font-size:12px;
  color:rgba(0,0,0,.55);
}

/* Dots with meaning */
.buy-guide-dot{
  display:inline-block;
  width:10px;
  height:10px;
  border-radius:999px;
  margin-right:6px;
  vertical-align:middle;
  background:var(--gray);
}
.buy-guide-dot--self{ background: var(--gray); }
.buy-guide-dot--talk{ background: var(--green); }      /* 相談＝緑 */
.buy-guide-dot--try{ background: rgba(11,48,142,.60); }/* 一覧系のニュアンス */
.buy-guide-dot--coach{ background: var(--green); }     /* 伴走＝緑 */
.buy-guide-dot--biz{ background: #111; }

/* Hero visual */
.buy-guide-heroVisual{ min-width:0; }
.buy-guide-imageFrame{
  width:100%;
  border-radius:18px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.75);
  overflow:hidden;
  aspect-ratio: 4 / 3;
}
.buy-guide-imageFrameImg{
  width:100%;
  height:100%;
  object-fit:cover;
}
.buy-guide-imageNote{
  margin:8px 0 0;
  font-size:12px;
  color:rgba(0,0,0,.55);
}

/* Sections */
.buy-guide-section{ padding:16px 0 26px; }
.buy-guide-h2{
  font-size:20px;
  margin:0 0 14px;
  letter-spacing:.01em;
}
.buy-guide-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:14px;
}

/* Cards */
.buy-guide-card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:18px;
  padding:14px;
  box-shadow:var(--shadow);
  min-width:0;
}
.buy-guide-cardHeader{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-bottom:10px;
}

/* Chips = warmth (not brand) */
.buy-guide-chip{
  display:inline-flex;
  width:fit-content;
  font-size:12px;
  font-weight:800;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.06);
  background: rgba(240,235,225,.88); /* beige */
  color:#111;
}
.buy-guide-chip--talk{
  /* 相談のチップは“緑の気配”だけ（主張しすぎない） */
  background: rgba(0,106,103,.08);
  border-color: rgba(0,106,103,.16);
}
.buy-guide-chip--coach{
  background: rgba(0,106,103,.08);
  border-color: rgba(0,106,103,.16);
}
.buy-guide-chip--biz{
  background: rgba(0,0,0,.05);
  border-color: rgba(0,0,0,.08);
}

.buy-guide-h3{
  margin:0;
  font-size:16px;
  line-height:1.5;
}
.buy-guide-cardSub{
  margin:0;
  color:rgba(0,0,0,.6);
  font-size:13px;
}

/* Thumbs */
.buy-guide-thumbFrame{
  margin:10px 0 12px;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.08);
  background: var(--base);
  overflow:hidden;
  aspect-ratio: 3 / 2;
}
.buy-guide-thumbImg{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* Lists */
.buy-guide-points{
  margin:0 0 12px;
  padding-left:18px;
  color:var(--muted);
  font-size:13px;
  line-height:1.8;
}

/* Notes = warmth + neutral */
.buy-guide-note{
  border-radius:14px;
  background: rgba(240,235,225,.35);  /* beige very light */
  border:1px solid rgba(0,0,0,.06);
  padding:10px 12px;
  margin:0 0 12px;
}
.buy-guide-noteTitle{
  margin:0 0 4px;
  font-size:12px;
  font-weight:800;
}
.buy-guide-noteBody{
  margin:0;
  font-size:13px;
  color:var(--muted);
  line-height:1.75;
}

.buy-guide-small{
  margin:10px 0 0;
  font-size:12px;
  color:rgba(0,0,0,.55);
}

/* Split */
.buy-guide-card--split{ grid-column:1 / -1; }
.buy-guide-split{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:12px;
  margin-top:10px;
}
.buy-guide-mini{
  border:1px solid var(--border);
  border-radius:16px;
  padding:12px;
  background:#fff;
  min-width:0;
}
.buy-guide-h4{
  margin:0 0 8px;
  font-size:14px;
  font-weight:800;
}
.buy-guide-points--mini{ margin-bottom:10px; }

/* Buttons (semantic colors) */
.buy-guide-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  text-decoration:none;
  border-radius:16px;
  padding:10px 12px;
  font-weight:800;
  font-size:14px;
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
  color:var(--text);
  transition:transform .05s ease, filter .15s ease, background .15s ease, border-color .15s ease;
  min-width:0;
}
.buy-guide-btn:active{ transform:translateY(1px); }

/* Primary = blue CTA（購入/一覧/見積） */
.buy-guide-btn--primary{
  background: var(--blue);
  color:#fff;
  border-color: var(--blue);
}
.buy-guide-btn--primary:hover{ filter:brightness(.95); }

/* Sub = gray structure */
.buy-guide-btn--sub{
  background: rgba(185,185,185,.22);
  border-color: rgba(185,185,185,.35);
  color:#111;
}
.buy-guide-btn--sub:hover{ background: rgba(185,185,185,.28); }

/* Ghost = blue outline (still CTA family, but weaker) */
.buy-guide-btn--ghost{
  background:#fff;
  border-color: rgba(11,48,142,.25);
  color:#111;
}
.buy-guide-btn--ghost:hover{ background: rgba(11,48,142,.06); }

/* 상담(相談) = green emphasis */
.buy-guide-btn--accent{
  background: var(--green);
  border-color: var(--green);
  color:#fff;
}
.buy-guide-btn--accent:hover{ filter:brightness(.95); }

/* (互換用：以前のクラスが残ってても意味がブレないように) */
.buy-guide-btn--accent2{
  background: var(--blue);
  border-color: var(--blue);
  color:#fff;
}

/* sizes */
.buy-guide-btn--lg{ padding:12px 14px; border-radius:18px; }

.buy-guide-ctaGroup{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.buy-guide-ctaGroup--mini .buy-guide-btn{
  font-size:13px;
  padding:9px 10px;
  border-radius:14px;
}

/* CTA section */
.buy-guide-section--cta{
  background:#fff;
  border-top:1px solid var(--border);
}
.buy-guide-ctaBar{
  display:flex;
  gap:10px;
  justify-content:center;
  flex-wrap:wrap;
  margin:12px 0 6px;
}

/* Footer */
.buy-guide-footer{
  background:#b9b9b9;        /* 背景：グレー */
  color:#111;                /* 基本文字：黒 */
  padding:18px 0;
}

.buy-guide-footerInner{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
  flex-wrap:wrap;
}

.buy-guide-footerBrand{
  margin:0 0 6px;
  font-weight:800;
  color:#111;
}

.buy-guide-footerSmall{
  margin:0;
  font-size:12px;
  color:rgba(0,0,0,.75);     /* 少しトーン落とした黒 */
  line-height:1.7;
}

.buy-guide-footerSmall a{
  color:#111;                /* リンクも黒 */
  text-decoration:underline;
}

.buy-guide-footerRight{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
}

.buy-guide-footerLink{
  color:rgba(0,0,0,.85);
  text-decoration:none;
  font-size:12px;
}

.buy-guide-footerLink:hover{
  text-decoration:underline;
}

.buy-guide-footerBottom{
  margin-top:12px;
  border-top:1px solid rgba(0,0,0,.15);  /* 区切り線も黒系 */
  padding-top:10px;
  text-align:center;
  color:rgba(0,0,0,.7);
  font-size:12px;
}

/* Responsive */
@media (max-width: 900px){
  .buy-guide-heroInner{ grid-template-columns: 1fr; }
  .buy-guide-imageFrame{ aspect-ratio: 4 / 5; }
}
@media (max-width: 820px){
  .buy-guide-grid{ grid-template-columns: 1fr; }
  .buy-guide-split{ grid-template-columns: 1fr; }
  .buy-guide-title{ font-size:24px; }
  .buy-guide-navLink{ font-size:13px; padding:7px 9px; }
}
