/* くらしのBASE 共通の見た目（A案「ブランド直系」・2026-11-30）
   THE BASE の4色（赤・黒・白・薄い灰）／Noto Sans JP ＋ Jost。色と大きさはここだけで決める */
:root {
  --red: #d40000;
  --red-deep: #a80000;
  --ink: #1a1517;
  --sub: #5b5557;
  --gray: #e8e6e7;
  --line: #d6d3d4;
  --white: #ffffff;
  --radius: 16px;
  --wrap: 1240px;
  --pad: 40px;
  --en: "Jost", "Noto Sans JP", sans-serif;
  --ja: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--ja); color: var(--ink); background: var(--white); line-height: 1.8; -webkit-font-smoothing: antialiased; line-break: strict; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.jw { word-break: keep-all; overflow-wrap: anywhere; }
.nw { white-space: nowrap; }

/* ===== ヘッダー ===== */
.hd { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.hd-in { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); height: 76px; display: flex; align-items: center; gap: 40px; }
.logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.logo span { font-size: 14px; font-weight: 700; letter-spacing: .08em; }
.logo img { height: 24px; width: auto; }
.gnav { display: flex; gap: 32px; margin-left: auto; }
.gnav a { font-size: 14px; font-weight: 700; letter-spacing: .04em; position: relative; padding: 6px 0; }
.gnav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.gnav a:hover::after, .gnav a[aria-current="page"]::after { transform: scaleX(1); }
.hd-cta { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: 999px; background: var(--red); color: var(--white); font-size: 14px; font-weight: 700; white-space: nowrap; transition: background .2s; }
.hd-cta:hover { background: var(--red-deep); }
.menu-btn { display: none; margin-left: auto; width: 48px; height: 48px; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.menu-btn i { display: block; width: 24px; height: 2px; background: var(--ink); }
.drawer { position: fixed; inset: 0; z-index: 100; background: var(--ink); color: var(--white); display: none; flex-direction: column; padding: 24px 24px 40px; overflow-y: auto; }
.drawer.open { display: flex; }
.drawer-close { align-self: flex-end; width: 48px; height: 48px; font-size: 28px; color: var(--white); }
.drawer a { font-size: 22px; font-weight: 900; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.drawer .hd-cta { margin-top: 32px; justify-content: center; height: 56px; font-size: 16px; border: 0; }

/* ===== パンくず ===== */
.crumb { max-width: var(--wrap); margin: 0 auto; padding: 18px var(--pad) 0; font-size: 13px; color: var(--sub); }
.crumb a { color: var(--sub); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.crumb a:hover { color: var(--red); }
.crumb span { margin: 0 8px; }

/* ===== ページの頭（一覧のページ） ===== */
.ph { position: relative; background: var(--ink); color: var(--white); overflow: hidden; margin-top: 18px; }
.ph-bg { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); opacity: .38; }
.ph-bg img { width: 100%; height: 100%; object-fit: cover; }
.ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(26,21,23,.92) 0%, rgba(26,21,23,.7) 60%, rgba(26,21,23,.5) 100%); }
.ph-in { position: relative; z-index: 2; max-width: var(--wrap); margin: 0 auto; padding: 72px var(--pad) 64px; }
.ph-en { display: inline-block; background: var(--red); padding: 4px 12px; font-family: var(--en); font-size: 13px; font-weight: 700; letter-spacing: .14em; }
.ph-title { margin-top: 20px; font-size: clamp(34px, 5vw, 64px); font-weight: 900; line-height: 1.2; }
.ph-desc { margin-top: 16px; max-width: 40em; font-size: 16px; line-height: 1.9; color: rgba(255,255,255,.9); }
.ph-count { margin-top: 24px; display: inline-flex; align-items: baseline; gap: 8px; font-size: 14px; font-weight: 700; }
.ph-count b { font-family: var(--en); font-size: 44px; font-weight: 700; line-height: 1; }

/* ===== 段の見出し ===== */
.sec { padding: 112px 0; }
.sec-gray { background: var(--gray); }
.sec-ink { background: var(--ink); color: var(--white); }
.sec-hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.sec-en { font-family: var(--en); font-size: 14px; font-weight: 700; letter-spacing: .24em; color: var(--red); margin-bottom: 8px; }
.sec-ink .sec-en { color: var(--white); opacity: .8; }
.sec-ttl { font-size: clamp(30px, 3.6vw, 44px); font-weight: 900; line-height: 1.3; letter-spacing: .01em; }
.mark { background: linear-gradient(transparent 62%, rgba(212,0,0,.9) 62%, rgba(212,0,0,.9) 90%, transparent 90%); padding: 0 .04em; }
.more { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; white-space: nowrap; padding-bottom: 4px; border-bottom: 2px solid currentColor; }
.more:hover { color: var(--red); }
.center { display: flex; justify-content: center; margin-top: 56px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 60px; padding: 0 40px; border-radius: 999px; background: var(--red); color: var(--white); font-size: 16px; font-weight: 700; transition: background .2s, transform .2s; }
.btn:hover { background: var(--red-deep); transform: translateY(-2px); }
.btn-ink { background: var(--ink); }
.btn-ink:hover { background: var(--red); }
.btn-line { background: var(--white); color: var(--ink); border: 2px solid var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--white); }

/* ===== 記事カード（赤い番号＋右端の赤い縦帯） ===== */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; padding-right: 40px; transition: transform .25s, box-shadow .25s; }
.card.no-band { padding-right: 0; }
.card.no-band .card-body { padding-right: 22px; }
.card.on-white { box-shadow: inset 0 0 0 1px var(--line); }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(26,21,23,.12); }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--gray); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { flex: 1; display: flex; flex-direction: column; padding: 20px 4px 22px 22px; }
.card-no { font-family: var(--en); font-size: 30px; font-weight: 800; color: var(--red); line-height: 1; margin-bottom: 12px; }
.card-ttl { font-size: 16px; font-weight: 700; line-height: 1.6; word-break: keep-all; overflow-wrap: anywhere; text-wrap: pretty; }
.card-tags { margin-top: 10px; font-size: 13px; color: var(--sub); line-height: 1.7; }
.card-meta { margin-top: auto; padding-top: 16px; font-family: var(--en); font-size: 13px; font-weight: 500; color: var(--sub); letter-spacing: .04em; }
.card-band { position: absolute; top: 0; right: 0; bottom: 0; width: 40px; background: var(--red); color: var(--white); writing-mode: vertical-rl; display: flex; align-items: center; justify-content: flex-start; padding-top: 20px; font-size: 13px; font-weight: 700; letter-spacing: .3em; }
.card.big { grid-column: span 2; grid-row: span 2; }
.card.big .card-img { aspect-ratio: auto; flex: 1; min-height: 320px; }
.card.big .card-body { flex: 0 0 auto; padding: 28px 8px 30px 32px; }
.card.big .card-no { font-size: 44px; }
.card.big .card-ttl { font-size: 24px; line-height: 1.5; text-wrap: balance; }

/* ===== プランのカード ===== */
.plan { display: flex; flex-direction: column; }
.plan-img { aspect-ratio: 3 / 2; border-radius: 12px; overflow: hidden; background: #2a2527; }
.plan-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.plan:hover .plan-img img { transform: scale(1.05); }
.plan-spec { margin-top: 16px; display: flex; gap: 6px; flex-wrap: wrap; }
.plan-spec span { font-size: 13px; font-weight: 700; padding: 2px 10px; border-radius: 4px; background: rgba(255,255,255,.12); }
.plan-spec span:first-child { background: var(--red); color: var(--white); }
.plan-ttl { margin-top: 10px; font-size: 15px; font-weight: 700; line-height: 1.65; word-break: keep-all; overflow-wrap: anywhere; text-wrap: pretty; }
.plan-sub { margin-top: 6px; font-size: 14px; line-height: 1.7; opacity: .82; }
.on-light .plan-spec span { background: var(--gray); }
.on-light .plan-spec span:first-child { background: var(--red); }
.tabs { display: flex; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; }
.tab { height: 44px; padding: 0 24px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.4); font-size: 15px; font-weight: 700; color: var(--white); }
.tab[aria-selected="true"] { background: var(--white); color: var(--ink); border-color: var(--white); }
.on-light .tab { border-color: var(--line); color: var(--ink); }
.on-light .tab[aria-selected="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.tab small { font-family: var(--en); font-size: 13px; margin-left: 6px; opacity: .8; }

/* ===== 下の案内の帯 ===== */
.cta-band { background: var(--gray); padding: 88px 0; }
.cta-band-in { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-band h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 900; line-height: 1.4; }
.cta-band p { margin-top: 10px; font-size: 16px; color: var(--sub); }
.cta-band .btns { display: flex; gap: 12px; flex-shrink: 0; }

/* ===== 取扱店の帯（赤い地） ===== */
.dealer { background: var(--red); color: var(--white); padding: 104px 0; }
.dealer-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.dealer .sec-en { color: var(--white); opacity: .85; }
.dealer-ttl { font-size: clamp(30px, 3.6vw, 48px); font-weight: 900; line-height: 1.3; }
.dealer-ttl b { font-family: var(--en); font-size: 1.5em; font-weight: 800; line-height: 1; }
.dealer-lead { margin-top: 20px; font-size: 16px; line-height: 1.9; }
.dealer .btn { margin-top: 36px; background: var(--white); color: var(--red); }
.dealer .btn:hover { background: var(--ink); color: var(--white); }
.areas { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.area { display: block; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.35); border-radius: 12px; padding: 16px 14px; text-align: center; transition: background .2s; }
a.area:hover { background: rgba(255,255,255,.24); }
.area p { font-size: 14px; font-weight: 700; }
.area b { display: block; margin-top: 4px; font-family: var(--en); font-size: 30px; font-weight: 700; line-height: 1.1; }
.area b small { font-family: var(--ja); font-size: 13px; font-weight: 700; margin-left: 2px; }

/* ===== インスタ ===== */
.insta { padding: 80px 0; }
.insta-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 40px 48px; border: 2px solid var(--ink); border-radius: var(--radius); }
.insta-l { display: flex; align-items: center; gap: 24px; }
.insta-ico { width: 64px; height: 64px; border-radius: 16px; background: var(--ink); display: grid; place-items: center; flex-shrink: 0; }
.insta-ico svg { width: 32px; height: 32px; fill: var(--white); }
.insta-l h3 { font-family: var(--en); font-size: 24px; font-weight: 700; }
.insta-l p { font-size: 15px; color: var(--sub); }

/* ===== フッター ===== */
.ft { background: var(--ink); color: var(--white); padding: 80px 0 40px; }
.ft-top { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.16); }
.ft-logo { display: flex; align-items: center; gap: 8px; }
.ft-logo span { font-size: 14px; font-weight: 700; letter-spacing: .08em; }
.ft-logo img { height: 26px; width: auto; filter: invert(1); }
.ft-copy { margin-top: 16px; font-size: 14px; color: rgba(255,255,255,.75); }
.ft-links { display: grid; grid-template-columns: repeat(3, auto); gap: 12px 48px; font-size: 14px; }
.ft-links a { color: rgba(255,255,255,.85); }
.ft-links a:hover { color: var(--white); text-decoration: underline; }
.ft-bottom { padding-top: 28px; font-family: var(--en); font-size: 13px; color: rgba(255,255,255,.6); letter-spacing: .08em; }

/* ===== タブレット ===== */
@media (max-width: 1080px) {
  .gnav { display: none; }
  .hd-in > .hd-cta { margin-left: auto; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card.big { grid-row: span 1; }
  .card.big .card-img { min-height: 0; aspect-ratio: 16 / 9; flex: 0 0 auto; }
  .dealer-in { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .cta-band-in { flex-direction: column; align-items: flex-start; }
  .ft-links { grid-template-columns: repeat(2, auto); }
}
/* ===== スマホ ===== */
@media (max-width: 720px) {
  :root { --pad: 20px; }
  .hd-in { height: 64px; gap: 12px; }
  .logo img { height: 20px; }
  .logo span { font-size: 13px; }
  .hd-in > .hd-cta { display: none; }
  .menu-btn { display: flex; }
  .ph-in { padding: 48px var(--pad) 44px; }
  .ph-bg { grid-template-columns: repeat(2, 1fr); }
  .sec { padding: 72px 0; }
  .sec-hd { flex-direction: column; align-items: flex-start; margin-bottom: 32px; }
  .grid, .grid-3 { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .card.big { grid-column: auto; }
  .card.big .card-ttl { font-size: 20px; }
  .card:not(.big) { flex-direction: row; padding-right: 0; border-left: 6px solid var(--red); }
  .card:not(.big) .card-band { display: none; }
  .card:not(.big) .card-img { width: 112px; flex-shrink: 0; aspect-ratio: auto; }
  .card:not(.big) .card-body { padding: 14px 16px; }
  .card:not(.big) .card-no { font-size: 20px; margin-bottom: 6px; }
  .card:not(.big) .card-ttl { font-size: 15px; }
  .card:not(.big) .card-tags { display: none; }
  .card:not(.big) .card-meta { padding-top: 8px; }
  .card:not(.big) .card-meta[data-cat]::before { content: attr(data-cat) "　"; font-family: var(--ja); font-weight: 700; color: var(--red); }
  .tabs { flex-wrap: nowrap; overflow-x: auto; }
  .tab { flex-shrink: 0; }
  .btn { width: 100%; }
  .dealer { padding: 72px 0; }
  .areas { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .area { padding: 10px 2px; border-radius: 8px; }
  .area p { font-size: 13px; }
  .area b { font-size: 22px; }
  .insta-in { flex-direction: column; align-items: stretch; padding: 28px 24px; }
  .insta-l { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cta-band { padding: 64px 0; }
  .cta-band .btns { flex-direction: column; width: 100%; }
  .ft-top { flex-direction: column; }
  .ft-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; }
}
