@import url("https://fonts.googleapis.com/css2?family=BIZ+UDPMincho:wght@400;700&display=swap");

:root {
  --ink: #17201d;
  --muted: #626a65;
  --paper: #f7f3e9;
  --paper-deep: #ece5d5;
  --indigo: #193f51;
  --indigo-light: #dce8e9;
  --vermilion: #a84532;
  --gold: #aa7b2f;
  --line: #d8cfbd;
  --white: #fffdf8;
  --shadow: 0 18px 48px rgb(39 48 42 / 9%);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgb(25 63 81 / 2%) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(rgb(25 63 81 / 2%) 1px, transparent 1px) 0 0 / 22px 22px,
    var(--paper);
  font-family: "BIZ UDPMincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  line-height: 1.85;
}

a {
  color: var(--indigo);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--vermilion);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  color: var(--white);
  background: var(--indigo);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  border-bottom: 1px solid rgb(25 63 81 / 14%);
  background: rgb(247 243 233 / 92%);
  backdrop-filter: blur(10px);
}

.header-inner,
.page-shell,
.footer-inner {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--indigo);
  color: var(--white);
  background: var(--indigo);
  font-size: 0.88rem;
  line-height: 1;
}

.header-note {
  margin: 0;
  color: var(--muted);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 0.78rem;
}

.pr-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 5px 11px;
  border: 1px solid rgb(168 69 50 / 30%);
  border-radius: 999px;
  color: #7f3024;
  background: #fff5f0;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.page-shell {
  padding-block: 42px 80px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 7vw, 78px);
  border: 1px solid rgb(25 63 81 / 14%);
  border-radius: 30px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero::after {
  position: absolute;
  top: -70px;
  right: -40px;
  width: 240px;
  height: 240px;
  border: 34px double rgb(25 63 81 / 7%);
  border-radius: 50%;
  content: "";
}

.eyebrow {
  margin: 18px 0 8px;
  color: var(--vermilion);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.6rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.25;
}

.hero-copy {
  max-width: 720px;
  margin: 24px 0 0;
  color: #444c47;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 1px solid var(--indigo);
  color: var(--white);
  background: var(--indigo);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-weight: 700;
  text-decoration: none;
}

.button.secondary {
  color: var(--indigo);
  background: transparent;
}

.notice-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 24px;
  border: 1px solid var(--line);
  background: rgb(255 253 248 / 70%);
}

.notice-strip > div {
  padding: 18px 20px;
  border-right: 1px solid var(--line);
}

.notice-strip > div:last-child {
  border-right: 0;
}

.notice-strip strong,
.notice-strip span {
  display: block;
}

.notice-strip strong {
  color: var(--indigo);
  font-size: 1.05rem;
}

.notice-strip span {
  color: var(--muted);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 0.78rem;
}

.section {
  padding-top: 74px;
  scroll-margin-top: 24px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.35;
}

.section-heading p {
  max-width: 580px;
  margin: 0;
  color: var(--muted);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 0.9rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.category-card {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgb(255 253 248 / 78%);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--indigo);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.category-number {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 2.4rem;
  line-height: 1;
}

.category-card h3 {
  margin: 24px 0 10px;
  font-size: 1.2rem;
}

.category-card p {
  margin: 0;
  color: var(--muted);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 0.85rem;
}

.category-block {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.category-block + .category-block {
  margin-top: 16px;
}

.category-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.category-block h3 {
  margin: 0;
  font-size: 1.35rem;
}

.count-badge,
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--indigo);
  background: var(--indigo-light);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
}

.category-description {
  margin: 10px 0 0;
  color: var(--muted);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 0.9rem;
}

.item-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.item-link {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.item-link:hover .item-title {
  color: var(--vermilion);
}

.item-title {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
}

.item-meta {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 0.82rem;
}

.item-check {
  display: block;
  margin-top: 10px;
  color: #3f595f;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 0.84rem;
}

.catalog-list {
  margin-top: 0;
}

.catalog-list .item-link {
  padding-block: 24px;
}

.item-arrow {
  align-self: center;
  color: var(--vermilion);
  font-size: 1.5rem;
}

.pending-note {
  margin: 22px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 0.86rem;
}

.ad-area {
  margin-top: 72px;
  padding: 22px;
  border: 1px dashed #b7aa91;
  background: rgb(255 253 248 / 68%);
}

.ad-area-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 0.78rem;
}

.ad-area-heading strong {
  color: var(--vermilion);
  letter-spacing: 0.08em;
}

.ad-slot {
  min-height: 78px;
  padding: 18px;
  background: var(--paper);
}

.ad-placeholder {
  margin: 0;
  color: var(--muted);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 0.86rem;
}

.affiliate-offer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 22px;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
}

.affiliate-offer-copy,
.affiliate-offer-link {
  margin: 0;
}

.affiliate-offer-copy {
  flex: 1 1 320px;
  color: var(--muted);
  font-size: 0.86rem;
}

.affiliate-offer-link a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 1px solid var(--indigo);
  color: var(--white);
  background: var(--indigo);
  font-weight: 700;
  text-decoration: none;
}

.affiliate-offer-link a:hover,
.affiliate-offer-link a:focus-visible {
  background: #2f385e;
}

.breadcrumb {
  margin-bottom: 22px;
  color: var(--muted);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 0.8rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li + li::before {
  margin-right: 8px;
  color: #9d9484;
  content: "/";
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
}

.reading {
  margin: 8px 0 0;
  color: var(--muted);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.lead-summary {
  margin: 28px 0 0;
  font-size: 1.02rem;
}

.quick-check {
  position: relative;
  padding: 28px;
  border-top: 5px solid var(--vermilion);
  background: var(--paper);
}

.quick-check-label {
  color: var(--vermilion);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.quick-check h2 {
  margin: 7px 0 15px;
  font-size: 1.35rem;
}

.quick-check ul,
.condition-list {
  margin: 0;
  padding-left: 1.2em;
}

.quick-check li::marker,
.condition-list li::marker {
  color: var(--vermilion);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.65fr);
  gap: 24px;
  margin-top: 26px;
}

.content-card {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.content-card + .content-card {
  margin-top: 24px;
}

.content-card h2 {
  margin: 0 0 18px;
  font-size: 1.45rem;
}

.content-card h3 {
  margin: 30px 0 8px;
  color: var(--indigo);
  font-size: 1.1rem;
}

.content-card p:last-child {
  margin-bottom: 0;
}

.facts {
  margin: 0;
}

.facts > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.facts > div:first-child {
  border-top: 0;
  padding-top: 0;
}

.facts dt {
  color: var(--muted);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
}

.facts dd {
  margin: 0;
}

.caution-box {
  margin-top: 24px;
  padding: 20px;
  border-left: 4px solid var(--gold);
  background: #fbf6e9;
}

.caution-box strong {
  display: block;
  margin-bottom: 4px;
  color: #795922;
}

.source-list {
  margin: 0;
  padding-left: 1.2em;
}

.source-meta {
  color: var(--muted);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 0.78rem;
}

.back-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--white);
}

.back-panel p {
  margin: 0;
}

.site-footer {
  padding-block: 34px;
  border-top: 1px solid var(--line);
  background: var(--paper-deep);
}

.footer-inner {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 28px;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 0.78rem;
}

@media (max-width: 880px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-hero,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .notice-strip {
    grid-template-columns: 1fr;
  }

  .notice-strip > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .notice-strip > div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 600px) {
  .header-inner,
  .page-shell,
  .footer-inner {
    width: min(100% - 24px, 1160px);
  }

  .header-inner {
    min-height: 68px;
  }

  .header-note {
    display: none;
  }

  .page-shell {
    padding-top: 24px;
  }

  .hero {
    padding: 30px 22px;
    border-radius: 20px;
  }

  .hero::after {
    display: none;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: auto;
  }

  .section-heading,
  .category-block-header,
  .back-panel,
  .footer-inner {
    align-items: start;
    flex-direction: column;
  }

  .item-link {
    grid-template-columns: 1fr auto;
  }

  .facts > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
