:root {
  --bg: #f5f1ea;
  --surface: #fffdf8;
  --ink: #172235;
  --muted: #687488;
  --line: #e2d9cc;
  --navy: #0e2138;
  --navy-2: #173657;
  --gold: #b48b4f;
  --sand: #e8ddcd;
  --shadow: 0 26px 80px rgba(23, 34, 53, 0.13);
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", Meiryo, sans-serif;
  background:
    linear-gradient(90deg, rgba(180, 139, 79, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(14, 33, 56, 0.045) 1px, transparent 1px),
    var(--bg);
  background-size: 28px 28px;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.legacy-header {
  display: block;
  width: min(var(--max), calc(100% - 28px));
  height: 64px;
  margin: 0 auto;
  background: #fff;
}
main { width: min(var(--max), calc(100% - 28px)); margin: 0 auto 72px; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 18px 0 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.breadcrumb a { color: var(--navy-2); text-decoration: none; }
.breadcrumb span::before,
.breadcrumb strong::before { content: "/"; margin-right: 8px; color: #b6aa9c; }
.breadcrumb strong { color: var(--ink); }
.brand-hero {
  position: relative;
  min-height: min(680px, calc(100vh - 92px));
  overflow: hidden;
  color: #fff;
  border-radius: 24px;
  background: var(--navy);
  box-shadow: var(--shadow);
}
.brand-hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.brand-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 24%, rgba(180,139,79,.32), transparent 28%),
    linear-gradient(90deg, rgba(8,18,32,.72), rgba(8,18,32,.36) 45%, rgba(8,18,32,.08)),
    linear-gradient(180deg, rgba(8,18,32,.06), rgba(8,18,32,.48));
}
.brand-hero__content {
  position: relative;
  z-index: 1;
  width: min(650px, 58%);
  padding: clamp(30px, 4vw, 48px);
  margin: clamp(36px, 7vw, 76px) 0 0 clamp(24px, 6vw, 72px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(10, 27, 47, .82), rgba(10, 27, 47, .48));
  box-shadow: 0 30px 80px rgba(0,0,0,.24);
  backdrop-filter: blur(8px);
}
.brand-hero__mark { width: 64px; height: 64px; margin-bottom: 18px; border-radius: 16px; box-shadow: 0 12px 36px rgba(0,0,0,.26); }
.eyebrow { margin: 0; color: #d3b475; font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
h1 { margin: 12px 0 16px; font-size: clamp(38px, 5vw, 64px); line-height: 1.08; letter-spacing: -.03em; }
.hero-lead { margin: 0; max-width: 600px; color: #eef4f7; font-size: 17px; line-height: 1.9; font-weight: 700; }
.hero-actions, .hero-proof { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions { margin-top: 30px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
}
.button.primary { color: var(--navy); background: #fff; }
.button.secondary { color: #fff; border: 1px solid rgba(255,255,255,.38); background: rgba(255,255,255,.1); }
.hero-proof { margin-top: 24px; }
.hero-proof span {
  padding: 9px 12px;
  color: #f7ebd2;
  border: 1px solid rgba(211,180,117,.32);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  font-size: 13px;
  font-weight: 900;
}
.notice-panel, .finder {
  margin-top: 34px;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,253,248,.94);
  box-shadow: 0 18px 60px rgba(23,34,53,.08);
}
.notice-panel { display: grid; grid-template-columns: .82fr 1.18fr; gap: 28px; }
.notice-panel h2, .finder h2 { margin: 8px 0 0; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.22; letter-spacing: -.02em; }
.notice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.notice-grid article { padding: 18px; border: 1px solid #eadfcc; border-radius: 16px; background: #fff; }
.notice-grid strong { display: block; margin-bottom: 8px; color: var(--navy); font-size: 16px; }
.notice-grid p { margin: 0; color: var(--muted); line-height: 1.75; }
.notice-grid a { color: var(--navy-2); font-weight: 900; }
.finder-head { display: grid; grid-template-columns: 1fr minmax(280px, 420px); gap: 22px; align-items: end; }
.search-box { display: grid; gap: 8px; color: var(--navy); font-size: 13px; font-weight: 900; }
.search-box input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}
.alpha-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 16px; }
.alpha-link {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  color: var(--navy);
  font-weight: 900;
  text-decoration: none;
}
.alpha-link:hover { background: var(--navy); color: #fff; }
.alpha-link.is-empty { opacity: .34; pointer-events: none; }
.result-count { margin: 0 0 20px; color: var(--muted); font-weight: 800; }
.brand-section { scroll-margin-top: 20px; margin-top: 26px; }
.brand-section__head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 12px; border-bottom: 2px solid var(--navy); }
.brand-section__head h2 { margin: 0; color: var(--navy); font-size: 32px; line-height: 1; }
.brand-section__head span { margin-bottom: 7px; color: var(--muted); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.brand-card {
  position: relative;
  display: grid;
  min-height: 128px;
  padding: 20px 18px;
  border: 1px solid #eadfcc;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #fffaf1);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 12px 34px rgba(23,34,53,.06);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.brand-card:hover { transform: translateY(-2px); border-color: rgba(180,139,79,.58); box-shadow: 0 20px 48px rgba(23,34,53,.12); }
.brand-card__name { font-size: 17px; font-weight: 900; line-height: 1.35; word-break: break-word; }
.brand-card__jp { margin-top: 6px; color: var(--muted); font-size: 13px; font-weight: 800; line-height: 1.55; }
.brand-card__open { align-self: end; margin-top: 18px; color: var(--gold); font-size: 12px; font-weight: 900; letter-spacing: .05em; }
.empty-state { padding: 22px; border-radius: 14px; background: #fff3e1; color: var(--navy); font-weight: 900; }
#page-top { position: fixed; right: 18px; bottom: 18px; margin: 0; z-index: 5; }
#page-top a { display: block; padding: 11px 14px; border-radius: 999px; color: #fff; background: var(--navy); font-size: 12px; font-weight: 900; text-decoration: none; box-shadow: 0 12px 34px rgba(14,33,56,.24); }
@media (max-width: 900px) {
  .brand-hero { min-height: 650px; }
  .brand-hero__image { object-position: 62% center; }
  .brand-hero__content { width: calc(100% - 32px); margin: 28px auto 0; }
  .notice-panel, .finder-head { grid-template-columns: 1fr; }
  .notice-grid, .brand-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  main, .legacy-header { width: min(100% - 18px, var(--max)); }
  .legacy-header { height: 58px; }
  .breadcrumb { font-size: 12px; }
  .brand-hero { min-height: 700px; border-radius: 18px; }
  .brand-hero__content { padding: 24px 20px; border-radius: 18px; }
  .brand-hero__mark { width: 52px; height: 52px; }
  h1 { font-size: 36px; }
  .hero-lead { font-size: 15px; }
  .button { width: 100%; }
  .notice-grid, .brand-grid { grid-template-columns: 1fr; }
  .alpha-link { width: 35px; height: 35px; }
  .brand-card { min-height: 116px; }
  #page-top { right: 10px; bottom: 10px; }
}
