﻿:root {
  --ink: #142033;
  --muted: #5f6b7a;
  --line: #d9e0e8;
  --paper: #ffffff;
  --soft: #f6f8fb;
  --warm: #f8f2e8;
  --gold: #b48738;
  --green: #0f7b61;
  --blue: #1b5f9f;
  --danger: #8f3c28;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.65;
  letter-spacing: 0;
  background: var(--paper);
}

a {
  color: inherit;
}

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

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

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

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

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
}

.brand-note {
  color: var(--muted);
  font-size: 0.88rem;
}

.header-nav {
  display: flex;
  gap: 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

.header-nav a {
  text-decoration: none;
}

.hero {
  background: linear-gradient(180deg, #fff 0%, var(--soft) 100%);
  border-bottom: 1px solid var(--line);
}

.compact-hero {
  padding: 42px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 360px);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: 48px 0 44px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-weight: 800;
}

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

h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
}

h3 {
  font-size: 1.15rem;
}

.lead {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.button-primary {
  background: var(--green);
  color: #fff;
}

.button-secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.button-blue {
  background: var(--blue);
  color: #fff;
}

.button:hover {
  filter: brightness(0.96);
}

.cover-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
}

.cover-stack img,
.detail-cover img,
.product-card img {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(20, 32, 51, 0.12);
}

.cover-stack img:nth-child(2) {
  transform: translateY(-12px);
}

.cover-stack img:nth-child(3) {
  transform: translateY(10px);
}

.section {
  padding: 44px 0;
}

.section-alt {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.section-head p {
  max-width: 640px;
  margin: 8px 0 0;
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

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

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.product-card img {
  width: 100%;
  aspect-ratio: 595 / 842;
  object-fit: cover;
}

.product-card p {
  margin: 8px 0 0;
  color: var(--muted);
}

.price {
  margin: 12px 0 0;
  font-size: 1.55rem;
  font-weight: 900;
}

.tax {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.notice-list,
.plain-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.notice-list li,
.plain-list li {
  position: relative;
  padding-left: 1.2em;
}

.notice-list li::before,
.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.detail-main {
  display: grid;
  grid-template-columns: minmax(220px, 360px) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
  padding: 44px 0;
}

.detail-cover {
  position: sticky;
  top: 24px;
}

.detail-summary {
  display: grid;
  gap: 22px;
}

.summary-band {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--warm);
  color: #6e4a16;
  font-weight: 800;
  font-size: 0.9rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.info-grid div {
  padding: 16px;
}

.info-grid div + div {
  border-left: 1px solid var(--line);
}

.info-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.info-value {
  margin: 6px 0 0;
  font-weight: 900;
}

.note-box {
  border-left: 4px solid var(--gold);
  padding: 16px 18px;
  background: var(--warm);
}

.note-box p {
  margin: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.gallery-item {
  margin: 0;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 595 / 842;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.gallery-item figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.breadcrumbs {
  padding-top: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumbs a {
  color: var(--blue);
  text-decoration: none;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
  background: #fff;
  font-size: 0.92rem;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.legal-main {
  padding: 44px 0 56px;
}

.legal-main h1 {
  margin-bottom: 20px;
}

.legal-section {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.legal-section p {
  margin: 8px 0 0;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.legal-table th,
.legal-table td {
  padding: 14px 12px;
  border-top: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}

.legal-table th {
  width: 220px;
  color: var(--ink);
  background: var(--soft);
  font-weight: 800;
}

@media (max-width: 860px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .header-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

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

  .cover-stack {
    max-width: 420px;
    margin: 0 auto;
  }

  .product-grid,
  .product-grid-two,
  .gallery-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .info-grid div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .detail-cover {
    position: static;
    max-width: 360px;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-table th,
  .legal-table td {
    display: block;
    width: 100%;
  }

  .legal-table td {
    border-top: 0;
  }
}

@media (max-width: 520px) {
  .header-inner,
  .section-inner {
    width: min(100% - 24px, 1120px);
  }

  .hero-grid,
  .detail-main {
    padding: 32px 0;
  }

  .section {
    padding: 34px 0;
  }

  .section-head {
    display: block;
  }

  .button {
    width: 100%;
  }
}
