:root {
  --bg: #ffffff;
  --paper: #fffaf2;
  --soft: #f4f8f6;
  --line: #ded7cc;
  --text: #2f2a24;
  --muted: #6b6258;
  --accent: #2f6f63;
  --accent-dark: #22544b;
  --warm: #b8673b;
  --amazon: #3d5a73;
  --shadow: 0 14px 34px rgba(63, 52, 42, 0.1);
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.no-copy {
  -webkit-user-select: none;
  user-select: none;
}

.allow-copy,
.site-header,
.site-footer,
.product-actions,
.contact-form-placeholder,
input,
textarea,
select,
button,
a {
  -webkit-user-select: text;
  user-select: text;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.pr-bar {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
  padding: 0.7rem 1rem;
  text-align: center;
}

.header-inner,
.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0;
}

.site-logo {
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
}

.site-nav a {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  flex: 0 0 auto;
  font-size: 0.92rem;
  font-weight: 700;
  min-height: 44px;
  padding: 0.45rem 0.85rem;
  text-decoration: none;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.hero {
  background: linear-gradient(180deg, #fffaf2 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
  padding: 2.6rem 0 2rem;
}

.hero-grid {
  display: grid;
  gap: 1.4rem;
}

.eyebrow {
  color: var(--warm);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 0.45rem;
}

h1,
h2,
h3 {
  line-height: 1.35;
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 8vw, 3.6rem);
}

h2 {
  font-size: clamp(1.55rem, 5vw, 2.25rem);
}

h3 {
  font-size: 1.18rem;
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 1rem 0 0;
}

.hero-note,
.notice {
  background: var(--soft);
  border: 1px solid #d8e7e1;
  border-radius: 8px;
  color: #40564f;
  padding: 1rem;
}

.hero-note strong,
.notice strong {
  display: block;
  margin-bottom: 0.3rem;
}

.section {
  padding: 2.5rem 0;
}

.content-section {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 2.2rem 0;
}

.content-stack {
  display: grid;
  gap: 1rem;
}

.content-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
}

.content-block h2 {
  font-size: 1.32rem;
  margin-bottom: 0.55rem;
}

.content-block p {
  color: var(--muted);
  margin: 0;
}

.content-block ul {
  color: var(--muted);
  margin: 0.3rem 0 0;
  padding-left: 1.2rem;
}

.affiliate-pr {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--warm);
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 1rem;
  padding: 0.8rem 1rem;
}

.section-header {
  align-items: end;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.section-header p {
  color: var(--muted);
  margin: 0.35rem 0 0;
}

.category-grid {
  display: grid;
  gap: 0.8rem;
}

.category-link {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: flex;
  justify-content: space-between;
  min-height: 72px;
  padding: 1rem;
  text-decoration: none;
}

.category-card {
  align-items: flex-start;
  flex-direction: column;
  gap: 0.25rem;
  justify-content: center;
}

.category-link span {
  font-weight: 800;
}

.category-link small {
  color: var(--muted);
  display: block;
  font-size: 0.92rem;
  line-height: 1.6;
}

.category-link strong {
  color: var(--accent);
  flex: 0 0 auto;
  font-size: 0.95rem;
}

.product-grid {
  display: grid;
  gap: 1rem;
}

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.product-image-wrap {
  aspect-ratio: 16 / 10;
  background: var(--paper);
  position: relative;
}

.product-image-wrap img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.rank-badge {
  align-items: center;
  background: var(--warm);
  border-radius: 999px;
  color: #fff;
  display: flex;
  font-weight: 800;
  height: 44px;
  justify-content: center;
  left: 0.8rem;
  position: absolute;
  top: 0.8rem;
  width: 44px;
  z-index: 1;
}

.product-body {
  padding: 1rem;
}

.category-pill {
  background: var(--soft);
  border-radius: 999px;
  color: var(--accent-dark);
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.4;
  margin: 0 0 0.65rem;
  padding: 0.35rem 0.75rem;
}

.product-details {
  display: grid;
  gap: 0.8rem;
  margin: 1rem 0;
}

.product-details div {
  border-top: 1px solid var(--line);
  padding-top: 0.8rem;
}

.product-details dt {
  color: var(--accent-dark);
  font-size: 0.9rem;
  font-weight: 800;
}

.product-details dd {
  color: var(--muted);
  margin: 0.15rem 0 0;
}

.product-details ul {
  margin: 0;
  padding-left: 1.2rem;
}

.product-actions {
  display: grid;
  gap: 0.65rem;
}

.shop-button,
.primary-button {
  align-items: center;
  border-radius: 8px;
  color: #fff;
  display: flex;
  font-weight: 800;
  justify-content: center;
  min-height: 52px;
  padding: 0.75rem 1rem;
  text-align: center;
  text-decoration: none;
}

.shop-button.rakuten,
.primary-button {
  background: var(--accent);
}

.shop-button.amazon {
  background: var(--amazon);
}

.shop-button:hover,
.primary-button:hover {
  filter: brightness(0.95);
}

.guide-list,
.point-list {
  display: grid;
  gap: 0.9rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.guide-list li,
.point-list li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
}

.guide-list strong,
.point-list strong {
  display: block;
  font-size: 1.05rem;
}

.info-grid,
.faq-list {
  display: grid;
  gap: 1rem;
}

.info-grid {
  margin-top: 1rem;
}

.faq-list {
  margin-top: 1rem;
}

.faq-list.compact {
  margin-top: 1rem;
}

.faq-list h3,
.info-grid h3 {
  font-size: 1.12rem;
  margin-bottom: 0.45rem;
}

.internal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.internal-links a {
  background: var(--soft);
  border: 1px solid #d8e7e1;
  border-radius: 8px;
  color: var(--accent-dark);
  font-weight: 800;
  min-height: 48px;
  padding: 0.55rem 0.85rem;
  text-decoration: none;
}

.page-intro {
  padding: 2.3rem 0 1rem;
}

.empty-message {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  padding: 1rem;
}

.guide-cta {
  align-items: flex-start;
  background: var(--soft);
  border: 1px solid #d8e7e1;
  border-radius: 8px;
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.guide-cta p {
  color: var(--muted);
  margin: 0.55rem 0 0;
}

.contact-page {
  display: grid;
  gap: 1rem;
}

.contact-form-placeholder {
  background: #fff;
  border: 2px dashed var(--line);
  border-radius: 8px;
  padding: 1.15rem;
}

.contact-form-placeholder h2 {
  font-size: 1.32rem;
  margin: 0 0 0.55rem;
}

.contact-form-placeholder p {
  color: var(--muted);
  margin: 0;
}

.form-embed-note {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-weight: 700;
  margin-top: 1rem;
  min-height: 160px;
  padding: 1rem;
}

.content-block a {
  color: var(--accent-dark);
  font-weight: 800;
}

.site-footer {
  background: #2f2a24;
  color: #fff;
  margin-top: 2rem;
  padding: 2rem 0;
}

.site-footer p {
  color: #efe8df;
  margin: 0.4rem 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin-top: 1rem;
}

.footer-links a {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

@media (min-width: 720px) {
  .header-inner {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
  }

  .hero-grid {
    align-items: center;
    grid-template-columns: 1.25fr 0.75fr;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .info-grid,
  .faq-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-cta {
    align-items: center;
    grid-template-columns: 1fr auto;
  }
}

@media (min-width: 1040px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .info-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
