/* Top page only. Scoped to .page-home */

.page-home {
  --home-navy: #1a3a6b;
  --home-navy-deep: #122a52;
  --home-ink: #1a1a1a;
  --home-muted: #5a6570;
  --home-gold: #c9a227;
  --home-gold-deep: #a8841a;
  --home-line: #e5e8ec;
  --home-bg: #fff;
  --home-hero-bg: #eef3f8;

  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 80% 50% at 20% 22%, rgba(255, 255, 255, 0.7), transparent 55%),
    radial-gradient(ellipse 50% 34% at 70% 14%, rgba(201, 162, 39, 0.08), transparent 50%),
    linear-gradient(165deg, #f5f8fb 0%, var(--home-hero-bg) 38%, #e8eef5 100%);
  color: var(--home-ink);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.page-home a {
  color: inherit;
  text-decoration: none;
}

.page-home a:hover {
  text-decoration: none;
}

.page-home .home-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* —— Header —— */
.page-home .home-header {
  background: #fff;
  border-bottom: 1px solid var(--home-line);
}

.page-home .home-header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 20px;
  min-height: 64px;
}

.page-home .home-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.33em;
  flex-shrink: 0;
  min-width: 0;
  font-size: 28px;
  text-decoration: none;
}

.page-home .home-brand .brand-row {
  display: flex;
  align-items: center;
  gap: 0;
}

.page-home .home-brand-icon {
  height: 1.17em;
  width: auto;
  flex-shrink: 0;
  display: block;
}

.page-home .home-brand .brand-mark {
  font-size: 1em;
  font-weight: 800;
  color: #16325a;
  letter-spacing: -0.04em;
  line-height: 1.1;
  white-space: nowrap;
}

.page-home .home-brand .brand-tag {
  font-size: 9.5px;
  font-weight: 500;
  color: #1e2a3a;
  line-height: 1.2;
  white-space: nowrap;
}

.page-home .home-search {
  flex: 1;
  display: flex;
  align-items: stretch;
  max-width: 420px;
  margin: 0 auto;
  border: 1px solid #c8d0d8;
  border-radius: 999px;
  overflow: hidden;
  background: #f7f9fb;
}

.page-home .home-search input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--home-ink);
  outline: none;
  min-width: 0;
}

.page-home .home-search input::placeholder {
  color: #9aa3ad;
}

.page-home .home-search button {
  border: 0;
  background: transparent;
  padding: 0 14px;
  color: var(--home-navy);
  cursor: pointer;
  display: flex;
  align-items: center;
}

.page-home .home-search button:hover {
  color: var(--home-gold-deep);
}

/* —— Category nav —— */
.page-home .home-catnav {
  background: var(--home-navy);
  color: #fff;
}

.page-home .home-catnav-inner {
  display: flex;
  align-items: stretch;
  gap: 2px;
  padding: 0 12px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.page-home .home-catnav a,
.page-home .home-catnav-all {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 14px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  opacity: 0.92;
  border-top: 0;
  border-right: 0;
  border-left: 0;
  cursor: pointer;
  font: inherit;
}

.page-home .home-catnav a:hover,
.page-home .home-catnav-all:hover {
  background: rgba(255, 255, 255, 0.08);
  opacity: 1;
}

.page-home .home-catnav-all {
  background: transparent;
  color: #fff;
}

.page-home .home-catnav svg {
  width: 22px;
  height: 22px;
  opacity: 0.95;
}

.page-home .home-catnav-all:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -3px;
}

/* —— Hero —— */
.page-home .home-hero {
  background: transparent;
  border-bottom: none;
  overflow: hidden;
}

.page-home .home-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 32px;
  align-items: center;
  padding: 24px 20px 28px;
  position: relative;
  min-height: 0;
}

.page-home .home-hero-copy {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  min-width: 0;
}

.page-home .home-hero-badge {
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #f5e6a8, var(--home-gold) 55%, var(--home-gold-deep));
  color: #3d2e08;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow:
    0 0 0 3px #fff,
    0 0 0 5px var(--home-gold),
    0 8px 20px rgba(168, 132, 26, 0.28);
  font-weight: 800;
  line-height: 1.15;
  position: relative;
}

.page-home .home-hero-badge::before,
.page-home .home-hero-badge::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 28px;
  border: 2px solid var(--home-gold-deep);
  border-radius: 50%;
  top: 28px;
  opacity: 0.55;
}

.page-home .home-hero-badge::before {
  left: -2px;
  border-right: 0;
}

.page-home .home-hero-badge::after {
  right: -2px;
  border-left: 0;
}

.page-home .home-hero-badge-kicker {
  font-size: 9px;
  letter-spacing: 0.02em;
}

.page-home .home-hero-badge-num {
  font-size: 18px;
  letter-spacing: -0.02em;
}

.page-home .home-hero-badge-unit {
  font-size: 10px;
}

.page-home .home-hero-badge-end {
  font-size: 10px;
  margin-top: 1px;
}

.page-home .home-hero-body {
  min-width: 0;
}

.page-home .home-hero-title {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  line-height: 1.35;
  color: var(--home-ink);
  letter-spacing: -0.02em;
}

.page-home .home-hero-title .home-hero-em {
  background: linear-gradient(transparent 62%, #ffe566 62%);
  padding: 0 2px;
}

.page-home .home-hero-lead {
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--home-muted);
  line-height: 1.7;
  max-width: 36em;
}

.page-home .home-hero-sources {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.page-home .home-source {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #dce3ea;
  font-size: 11px;
  font-weight: 700;
  color: #444;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.page-home .home-source-amazon {
  color: #111;
}

.page-home .home-source-kakaku {
  color: #c45c00;
}

.page-home .home-source-rakuten {
  color: #bf0000;
}

.page-home .home-source-yahoo {
  color: #6001d2;
}

.page-home .home-source-more {
  font-size: 12px;
  color: var(--home-muted);
  font-weight: 600;
}

.page-home .home-hero-visual {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-home .home-hero-visual img {
  width: 100%;
  max-width: 620px;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
}

.page-home .home-hero-float-mark {
  position: absolute;
  top: 8%;
  right: 12%;
  width: 46px;
  height: 40px;
  filter: drop-shadow(0 4px 10px rgba(22, 50, 90, 0.22));
  animation: home-mark-float 3.2s ease-in-out infinite;
}

@keyframes home-mark-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (max-width: 900px) {
  .page-home .home-header-inner {
    flex-wrap: wrap;
  }

  .page-home .home-search {
    order: 3;
    flex: 1 1 100%;
    max-width: none;
    margin: 0;
  }

  .page-home .home-hero-inner {
    grid-template-columns: 1fr;
    padding-top: 28px;
    min-height: 0;
  }

  .page-home .home-hero-visual {
    order: -1;
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .page-home .home-brand {
    font-size: 21px;
  }

  .page-home .home-brand .brand-tag {
    font-size: 9px;
  }

  .page-home .home-hero-copy {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-home .home-hero-title {
    font-size: 20px;
  }
}
