/* 買取集客ドットコム 共通スタイル */
:root {
  --coral: #ee7a6b;
  --orange: #dd8a38;
  --grad: linear-gradient(90deg, var(--coral), var(--orange));
  --ink: #231f1c;
  --ink-2: #57514c;
  --line: #ece4dc;
  --cream: #fbf6f1;
  --bg: #ffffff;
  --dark: #2a2522;
  --radius: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.site-header .brand img { width: 168px; }
.gnav { display: flex; align-items: center; gap: 26px; }
.gnav a { text-decoration: none; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.gnav a:hover { color: var(--orange); }
.gnav .btn-cta { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* ---------- buttons ---------- */
.btn-cta, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px; font-weight: 800; font-size: 15px;
  text-decoration: none; transition: transform .15s, box-shadow .15s;
}
.btn-cta { background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(221,138,56,.35); }
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(221,138,56,.42); }
.btn-ghost { border: 2px solid var(--ink); color: var(--ink); background: #fff; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-lg { padding: 16px 38px; font-size: 17px; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(238,122,107,.05) 0 2px, transparent 2px 22px),
    var(--cream);
  padding: 72px 0 84px; text-align: center;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--grad);
}
.hero-logo { width: min(560px, 86%); margin: 0 auto 36px; }
.hero h1 {
  font-size: clamp(26px, 4.4vw, 44px); line-height: 1.45; font-weight: 900; margin: 0 0 18px; letter-spacing: .02em;
}
.hero h1 .mark { background: linear-gradient(transparent 62%, rgba(238,122,107,.35) 62%); }
.hero p.lead { color: var(--ink-2); font-size: clamp(15px, 1.8vw, 17px); margin: 0 auto 32px; max-width: 640px; }
.hero .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- section common ---------- */
.section { padding: 84px 0; }
.section.alt { background: var(--cream); }
.sec-head { text-align: center; margin-bottom: 44px; }
.sec-head .en {
  display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .22em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sec-head h2 { font-size: clamp(24px, 3.2vw, 32px); font-weight: 900; margin: 4px 0 0; line-height: 1.5; }
.sec-head p { color: var(--ink-2); margin: 12px 0 0; }

/* ---------- about points ---------- */
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.point {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px;
  position: relative;
}
.point .num {
  font-size: 40px; font-weight: 900; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.point h3 { font-size: 19px; margin: 14px 0 8px; line-height: 1.5; }
.point p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* ---------- counter band ---------- */
.counter { text-align: center; padding: 56px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.counter .label { font-weight: 800; color: var(--ink-2); margin: 0; }
.counter .value {
  font-size: clamp(56px, 9vw, 96px); font-weight: 900; line-height: 1.1; margin: 6px 0 0;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.counter .value small { font-size: 28px; color: var(--ink); -webkit-text-fill-color: var(--ink); margin-left: 6px; }
.counter .note { font-size: 13px; color: var(--ink-2); margin: 8px 0 0; }

/* ---------- news ---------- */
.news { max-width: 820px; margin: 0 auto; list-style: none; padding: 0; border-top: 1px solid var(--line); }
.news li { display: flex; gap: 28px; padding: 18px 6px; border-bottom: 1px solid var(--line); }
.news time { font-weight: 800; color: var(--orange); flex-shrink: 0; width: 78px; }

/* ---------- category filter ---------- */
.cat-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.cat-filter button {
  font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink-2);
  padding: 8px 18px; border-radius: 999px; transition: .15s;
}
.cat-filter button:hover { border-color: var(--orange); color: var(--orange); }
.cat-filter button.is-active { background: var(--grad); border-color: transparent; color: #fff; }

/* ---------- post cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink);
  transition: transform .18s, box-shadow .18s;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(35,31,28,.09); }
.post-card .bar { height: 6px; background: var(--grad); }
.post-card .body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); margin-bottom: 10px; }
.cat-tag {
  display: inline-block; font-size: 12px; font-weight: 800; color: var(--orange);
  border: 1.5px solid currentColor; border-radius: 4px; padding: 0 8px; line-height: 1.7; text-decoration: none;
}
.post-card h3 { font-size: 17px; line-height: 1.6; margin: 0 0 10px; font-weight: 800; }
.post-card p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.75; }
.post-card .more { margin-top: auto; padding-top: 16px; font-size: 13px; font-weight: 800; color: var(--orange); }
.post-card[hidden] { display: none; }

/* ---------- contact band ---------- */
.contact-band { background: var(--grad); color: #fff; text-align: center; padding: 72px 0; }
.contact-band h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 900; margin: 0 0 12px; line-height: 1.5; }
.contact-band p { margin: 0 0 28px; opacity: .95; }
.contact-band .btn-cta { background: #fff; color: var(--orange); box-shadow: 0 8px 22px rgba(0,0,0,.15); }

/* ---------- footer ---------- */
.site-footer { background: var(--dark); color: #d9d2cb; padding: 56px 0 28px; text-align: center; }
.footer-logo { width: 300px; margin: 0 auto 26px; }
.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 26px; margin-bottom: 26px; }
.footer-nav a { color: #d9d2cb; text-decoration: none; font-size: 14px; }
.footer-nav a:hover { color: #fff; }
.site-footer small { font-size: 12px; color: #9a918a; }

/* ---------- article page ---------- */
.breadcrumb { font-size: 13px; color: var(--ink-2); padding: 18px 0 0; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--orange); }
.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; padding: 28px 0 80px; }
.article-header { border-bottom: 1px solid var(--line); padding-bottom: 22px; margin-bottom: 30px; }
.article-header h1 { font-size: clamp(24px, 3.4vw, 32px); line-height: 1.5; font-weight: 900; margin: 10px 0 12px; }
.article-body { font-size: 16.5px; }
.article-body h2 {
  font-size: 22px; line-height: 1.55; font-weight: 900; margin: 52px 0 18px;
  padding: 12px 18px; background: var(--cream); border-left: 6px solid var(--coral); border-radius: 0 8px 8px 0;
}
.article-body h3 { font-size: 18px; font-weight: 800; margin: 34px 0 12px; padding-bottom: 6px; border-bottom: 2px solid var(--line); }
.article-body p { margin: 0 0 1.3em; }
.article-body ul, .article-body ol { padding-left: 1.4em; margin: 0 0 1.4em; }
.article-body li { margin-bottom: .4em; }
.article-body strong { background: linear-gradient(transparent 64%, rgba(238,122,107,.28) 64%); }
.article-body table { width: 100%; border-collapse: collapse; margin: 0 0 1.6em; font-size: 14.5px; display: block; overflow-x: auto; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; min-width: 110px; }
.article-body th { background: var(--cream); font-weight: 800; }
.summary-box, .point-box {
  border: 2px solid var(--coral); border-radius: var(--radius); padding: 20px 24px 6px; margin: 0 0 2em; background: #fff;
}
.summary-box .ttl, .point-box .ttl { font-weight: 900; color: var(--coral); margin: 0 0 8px; }
.point-box { border-color: var(--line); background: var(--cream); }
.point-box .ttl { color: var(--orange); }
.article-cta {
  margin: 56px 0 0; padding: 30px 28px; border-radius: var(--radius); text-align: center;
  background: var(--cream); border: 1px solid var(--line);
}
.article-cta p { margin: 0 0 18px; font-weight: 700; }
.article-about { margin: 0 0 22px; padding: 0 0 20px; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }
.article-cta .article-about p { margin: 0; font-weight: 400; line-height: 1.8; }
.article-cta .article-about .article-about-name { margin: 0 0 6px; font-weight: 700; color: var(--ink); }
.article-sources { margin-top: 48px; font-size: 13.5px; color: var(--ink-2); }
.article-sources h2 { font-size: 15px; margin: 0 0 8px; }
.article-sources ul { padding-left: 1.2em; margin: 0; }

.sidebar .side-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 24px; position: sticky; top: 92px; }
.sidebar .side-logo { width: 100%; margin-bottom: 14px; }
.sidebar .side-box p { font-size: 14px; color: var(--ink-2); margin: 0 0 16px; }
.sidebar h2 { font-size: 15px; font-weight: 900; margin: 0 0 12px; }
.side-list { list-style: none; padding: 0; margin: 0; }
.side-list li { border-top: 1px solid var(--line); }
.side-list a { display: block; padding: 12px 0; text-decoration: none; font-size: 14px; line-height: 1.6; font-weight: 700; }
.side-list a:hover { color: var(--orange); }
.side-list time { display: block; font-size: 12px; color: var(--ink-2); font-weight: 400; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .article-wrap { grid-template-columns: 1fr; }
  .sidebar .side-box { position: static; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .gnav {
    position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; display: none;
  }
  .gnav.is-open { display: flex; }
  .gnav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .gnav .btn-cta { margin-top: 14px; border-bottom: 0; }
  .site-header .brand img { width: 140px; }
  .points, .post-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { padding: 52px 0 64px; }
  .news li { flex-direction: column; gap: 2px; }
  .article-body { font-size: 16px; }
  .article-body h2 { font-size: 19px; }
  .footer-logo { width: 240px; }
}
.hero h1 .nb { display: inline-block; }
.sec-head h1 { font-size: clamp(26px, 3.6vw, 36px); font-weight: 900; margin: 4px 0 0; line-height: 1.5; }
.list-page { padding-top: 40px; }
.more-link { text-align: center; margin-top: 44px; }
