:root {
  --navy: #132239;
  --navy-2: #1d3253;
  --red: #e3232e;
  --bg: #f2f3f7;
  --card: #ffffff;
  --text: #1e2332;
  --muted: #5d6578;
  --line: #dfe2ea;
  --line-green: #06c755;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  line-height: 1.7;
  font-size: 16px;
}

img { max-width: 100%; height: auto; }
a { color: var(--navy-2); }

.wrap { max-width: 720px; margin: 0 auto; padding: 0 16px; }

/* ---- ヒーロー ---- */
.hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  text-align: center;
  padding: 28px 0 32px;
  border-bottom: 6px solid var(--red);
}
.hero-logo { border-radius: 50%; background: #fff; }
.hero-area { margin: 10px 0 0; font-size: 0.85rem; letter-spacing: 0.08em; opacity: 0.85; }
.hero h1 { margin: 2px 0 0; font-size: 2.4rem; letter-spacing: 0.06em; line-height: 1.2; }
.catch { margin: 6px 0 0; font-size: 1.5rem; font-weight: 700; }
.catch strong { color: #ffd54a; }
.sub { margin: 6px 0 0; font-size: 0.9rem; opacity: 0.9; }

.hours {
  margin: 18px auto 0;
  max-width: 420px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  padding: 12px 14px;
}
.hours p { margin: 0; }
.hours-main { font-size: 1.1rem; }
.hours-main b { font-size: 1.3rem; }
.hours-sub { font-size: 0.85rem; opacity: 0.9; margin-top: 2px !important; }
.badge { display: inline-block; background: var(--red); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 1px 8px; border-radius: 999px; vertical-align: 2px; }
.today { margin-top: 8px !important; font-weight: 700; color: #ffd54a; font-size: 0.95rem; }

.cta { display: grid; gap: 10px; margin: 20px auto 0; max-width: 420px; }
.btn {
  display: block;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 15px 12px;
  border-radius: 12px;
  min-height: 52px;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-x { background: #fff; color: var(--navy); }
.btn-line { background: var(--line-green); color: #fff; }
.btn:active { transform: translateY(1px); }

/* ---- セクション ---- */
.section { padding: 36px 0; }
.section.alt { background: #fff; }
.section h2 {
  margin: 0 0 6px;
  font-size: 1.4rem;
  border-left: 6px solid var(--red);
  padding-left: 10px;
  line-height: 1.3;
}
.lead { margin: 4px 0 14px; color: var(--muted); font-size: 0.9rem; }
.notice { color: var(--muted); font-size: 0.8rem; margin: 12px 0 0; }
.pending { color: var(--muted); }

/* ---- 買取表 ---- */
.tabs { display: flex; gap: 6px; margin-top: 10px; }
.tab {
  flex: 1;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 4px;
  border: 2px solid var(--navy);
  background: #fff;
  color: var(--navy);
  border-radius: 10px;
  cursor: pointer;
  min-height: 48px;
}
.tab[aria-selected="true"] { background: var(--navy); color: #fff; }
.updated { margin: 10px 0 8px; font-size: 0.9rem; font-weight: 700; }
.tables figure { margin: 0 0 12px; }
.tables a { display: block; }
.tables img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.tables figcaption { font-size: 0.75rem; color: var(--muted); margin-top: 4px; text-align: right; }
.empty, .loading {
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 28px 16px;
  text-align: center;
  color: var(--muted);
}
.empty .btn { display: inline-block; margin-top: 10px; background: var(--navy); color: #fff; padding: 12px 20px; }

/* ---- 流れ ---- */
.steps { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 14px;
}
.step-no {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
}
.steps h3 { margin: 0; font-size: 1.1rem; }
.steps p { margin: 2px 0 0; font-size: 0.9rem; color: var(--muted); }

/* ---- 店舗情報 ---- */
.info { margin: 14px 0 0; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.info > div { display: grid; grid-template-columns: 6.5em 1fr; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.info > div:last-child { border-bottom: 0; }
.info dt { font-weight: 700; color: var(--navy); }
.info dd { margin: 0; }
.info address { font-style: normal; }
.info small { color: var(--muted); }
.map { margin-top: 16px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map iframe { display: block; width: 100%; height: 320px; border: 0; }

.footer { background: var(--navy); color: #cfd6e4; text-align: center; padding: 24px 0; font-size: 0.85rem; }
.footer p { margin: 2px 0; }
.footer-name { font-weight: 700; color: #fff; font-size: 1rem; }

@media (min-width: 720px) {
  .hero h1 { font-size: 3rem; }
  .cta { grid-template-columns: 1fr 1fr; max-width: 520px; }
  .cta-line { grid-template-columns: 1fr; max-width: 360px; }
  .hero { padding: 44px 0 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
