@charset "UTF-8";
:root {
  --bg: #fbfaf6;
  --bg-soft: #f2efe6;
  --paper: rgba(255, 255, 255, 0.82);
  --ink: #23302c;
  --muted: #6f7a72;
  --line: rgba(35, 48, 44, 0.14);
  --green: #42665a;
  --green-dark: #243f38;
  --gold: #b99b5f;
  --gold-light: #ded0aa;
  --shadow: 0 26px 70px rgba(43, 60, 52, 0.14);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  letter-spacing: 0.04em;
}

body.is-fixed {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 15% 12%, rgba(185, 155, 95, 0.18), transparent 28%),
    radial-gradient(circle at 85% 8%, rgba(66, 102, 90, 0.14), transparent 30%),
    linear-gradient(135deg, #fbfaf6 0%, #f5f1e7 50%, #eef2ec 100%);
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(251, 250, 246, 0.78);
  border-bottom: 1px solid rgba(35, 48, 44, 0.08);
}

.header__inner {
  width: min(calc(100% - 40px), var(--max));
  min-height: 104px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex-shrink: 0;
  position: relative;
}


.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brand__logo {
  display: block;
  width: clamp(250px, 23vw, 330px);
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.brand__logo--footer {
  height: 92px;
  width: auto;
  max-width: none;
}

.brand__copy {
  display: none;
  flex-direction: column;
  justify-content: center;
  line-height: 1.06;
}

.brand__title {
  color: var(--green-dark);
  font-size: 19px;
  letter-spacing: 0.08em;
  font-weight: 600;
  white-space: nowrap;
}

.brand__title-sub {
  margin-top: 5px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  white-space: nowrap;
}

.brand__mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(185, 155, 95, 0.56);
  border-radius: 50%;
  color: var(--green-dark);
  background: linear-gradient(145deg, rgba(255,255,255,0.88), rgba(242,239,230,0.72));
  box-shadow: 0 14px 30px rgba(66, 102, 90, 0.12);
  font-size: 23px;
  font-weight: 600;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}

.brand__name {
  font-size: 18px;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.brand__sub {
  margin-top: 5px;
  font-family: Georgia, serif;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  letter-spacing: 0.16em;
}

.nav a {
  position: relative;
  padding: 8px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.nav a:hover::after {
  width: 100%;
}

.cart-button,
.nav-toggle {
  border: 0;
  background: none;
  cursor: pointer;
}

.cart-button {
  min-width: 84px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(66, 102, 90, 0.24);
  border-radius: 999px;
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.52);
  transition: transform 0.25s ease, background 0.25s ease;
}

.cart-button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.9);
}

.cart-button__icon {
  font-family: Georgia, serif;
  font-size: 12px;
  letter-spacing: 0.14em;
}

.cart-button__count {
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-dark);
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 12px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  margin: 6px auto;
  background: var(--green-dark);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hero {
  width: min(calc(100% - 40px), var(--max));
  min-height: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 1.04fr);
  align-items: center;
  gap: 56px;
  padding: 80px 0 64px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero h1,
.section__heading h2,
.gift h2,
.newsletter h2 {
  margin: 0;
  color: var(--green-dark);
  font-weight: 500;
  line-height: 1.22;
}

.hero h1 {
  font-size: clamp(38px, 5.4vw, 66px);
  letter-spacing: 0.08em;
  line-height: 1.34;
}

.hero h1 span,
.gift__panel h2 span {
  display: block;
  white-space: nowrap;
}

.hero__lead {
  max-width: 600px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 2.05;
}

.hero__actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  box-shadow: 0 18px 36px rgba(36, 63, 56, 0.18);
}

.button--ghost {
  color: var(--green-dark);
  border-color: rgba(66, 102, 90, 0.24);
  background: rgba(255,255,255,0.44);
}

.hero__visual {
  position: relative;
  min-height: 560px;
}

.hero__visual::before {
  content: "";
  position: absolute;
  inset: 34px 20px 0 60px;
  border-radius: 44% 56% 48% 52%;
  background: linear-gradient(145deg, rgba(255,255,255,0.72), rgba(238,242,236,0.96));
  box-shadow: var(--shadow);
}

.hero__visual::after {
  content: "";
  position: absolute;
  right: 38px;
  top: 12px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(185, 155, 95, 0.36);
  border-radius: 50%;
}

.visual-card {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.72);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.66);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.visual-card span {
  margin-top: 6px;
  color: var(--green-dark);
  font-size: 14px;
}

.visual-card--large {
  left: 52px;
  top: 54px;
  width: 390px;
  min-height: 450px;
}

.visual-card--large img {
  width: 280px;
}

.visual-card--small {
  right: 0;
  bottom: 44px;
  width: 230px;
  min-height: 250px;
}

.visual-card--small img {
  width: 160px;
}

.hero__visual--photo .visual-card img {
  width: min(86%, 320px);
  max-height: 360px;
  object-fit: contain;
  filter: drop-shadow(0 22px 34px rgba(43,60,52,0.14));
}

.hero__visual--photo .visual-card--small img {
  width: min(86%, 190px);
  max-height: 220px;
}

.hero__ornament {
  position: absolute;
  left: 0;
  bottom: 80px;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(185,155,95,0.8), rgba(222,208,170,0.25));
  opacity: 0.55;
}

.features {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.features article {
  padding: 28px;
  border: 1px solid rgba(35, 48, 44, 0.09);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.54);
  box-shadow: 0 16px 48px rgba(43, 60, 52, 0.06);
}

.features span {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 13px;
}

.features h2 {
  margin: 12px 0 10px;
  font-size: 20px;
  font-weight: 500;
  color: var(--green-dark);
}

.features p,
.concept__body p,
.section__heading p,
.gift p,
.newsletter p,
.product-card p,
.journal-card p,
.footer p {
  color: var(--muted);
  line-height: 1.9;
}

.section {
  width: min(calc(100% - 40px), var(--max));
  margin: 120px auto 0;
}

.concept {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
  padding: 70px;
  border: 1px solid rgba(185, 155, 95, 0.22);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.72), rgba(244,241,232,0.58)),
    url("../images/pattern.svg");
  background-size: auto, 320px;
  box-shadow: var(--shadow);
}

.section__heading h2,
.gift h2,
.newsletter h2 {
  font-size: clamp(32px, 4.2vw, 54px);
  letter-spacing: 0.1em;
}

.concept__title {
  font-size: clamp(28px, 3.1vw, 42px) !important;
  line-height: 1.58 !important;
  letter-spacing: 0.07em !important;
}

.concept__title span {
  display: block;
  white-space: nowrap;
}

.gift__panel h2 {
  font-size: clamp(28px, 3.1vw, 40px);
  line-height: 1.46;
  letter-spacing: 0.07em;
}

.section__heading--center {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 34px 0;
}

.filter__button {
  height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(66, 102, 90, 0.2);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,0.52);
  cursor: pointer;
  transition: 0.25s ease;
}

.filter__button:hover,
.filter__button.is-active {
  color: #fff;
  background: var(--green-dark);
  border-color: var(--green-dark);
}

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

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(35, 48, 44, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.7);
  box-shadow: 0 18px 52px rgba(43, 60, 52, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease, opacity 0.28s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.product-card.is-hidden {
  display: none;
}

.product-card__favorite {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(185, 155, 95, 0.25);
  border-radius: 50%;
  color: var(--gold);
  background: rgba(255,255,255,0.82);
  cursor: pointer;
}

.product-card__image {
  min-height: 260px;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, #f9f7f1, #eef2ec);
}

.product-card__image img {
  width: min(72%, 230px);
  height: 220px;
  object-fit: contain;
  transition: transform 0.28s ease;
}

.product-card:hover .product-card__image img {
  transform: scale(1.04);
}

.product-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.product-card__tag {
  margin: 0 0 8px;
  color: var(--gold) !important;
  font-size: 12px;
}

.product-card h3 {
  min-height: 2.9em;
  margin: 0;
  color: var(--green-dark);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.45;
}

.product-card p {
  margin: 12px 0 0;
  font-size: 14px;
}

.product-card__summary {
  min-height: 7.2em;
  max-height: 7.2em;
  overflow: hidden;
  line-height: 1.8;
}

.product-card__bottom {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.price {
  color: var(--green-dark);
  font-family: Georgia, serif;
  font-size: 20px;
}

.add-cart {
  min-width: 96px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--green-dark);
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
}

.add-cart:hover {
  transform: translateY(-2px);
  background: var(--green);
}

.gift__panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  padding: 64px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--green-dark), #4b6f63);
  box-shadow: var(--shadow);
  color: #fff;
  overflow: hidden;
}

.gift__panel .eyebrow,
.gift__panel h2,
.gift__panel p {
  color: #fff;
}

.gift__panel p {
  opacity: 0.82;
}

.gift__panel .button--primary {
  margin-top: 20px;
  color: var(--green-dark);
  background: #fff;
  box-shadow: none;
}

.gift__image {
  min-height: 360px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.12);
}

.gift__image img {
  width: min(76%, 320px);
}

.journal.section {
  width: min(calc(100% - 40px), 1240px);
}

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

.journal-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 28px;
  border: 1px solid rgba(185, 155, 95, 0.22);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.62);
  transition: transform 0.25s ease, background 0.25s ease;
}

.journal-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.86);
}

.journal-card span {
  color: var(--gold);
  font-size: 12px;
}

.journal-card h3 {
  margin: 10px 0 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.04em;
  color: var(--green-dark);
}

.journal-card p {
  margin-top: 14px;
}

.newsletter {
  width: min(calc(100% - 40px), var(--max));
  margin: 120px auto;
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 34px;
  align-items: center;
  padding: 52px;
  border: 1px solid rgba(35, 48, 44, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.68);
  box-shadow: 0 18px 52px rgba(43, 60, 52, 0.08);
}

.newsletter__form {
  display: flex;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(66, 102, 90, 0.17);
  border-radius: 999px;
  background: #fff;
}

.newsletter__form input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: none;
  padding: 0 18px;
  color: var(--ink);
  background: transparent;
}

.newsletter__form button,
.checkout-button {
  min-width: 130px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--green-dark);
  cursor: pointer;
}

.footer {
  padding: 54px 0 24px;
  color: #dfe8e3;
  background: #1f302b;
}

.footer__inner {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
}

.footer .brand__mark {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.footer .brand__name {
  color: #fff;
}

.footer__brandtext {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  color: #fff;
}

.footer__brand-main {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.15;
}

.footer__brand-sub {
  color: rgba(222, 208, 170, 0.96);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  line-height: 1.2;
}

.footer p {
  color: rgba(255,255,255,0.7);
}

.footer__links {
  display: grid;
  gap: 12px;
  color: rgba(255,255,255,0.76);
  font-size: 14px;
}

.copyright {
  width: min(calc(100% - 40px), var(--max));
  margin: 36px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-family: Georgia, serif;
  font-size: 12px;
  letter-spacing: 0.18em;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.cart-drawer.is-open {
  pointer-events: auto;
  opacity: 1;
}

.cart-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 30, 27, 0.36);
}

.cart-drawer__panel {
  position: absolute;
  right: 0;
  top: 0;
  width: min(420px, 92vw);
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fffdf8;
  box-shadow: -20px 0 70px rgba(20, 30, 27, 0.2);
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.cart-drawer.is-open .cart-drawer__panel {
  transform: translateX(0);
}

.cart-drawer__header,
.cart-drawer__footer {
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.cart-drawer__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-drawer__header h2 {
  margin: 0;
  font-family: Georgia, serif;
  color: var(--green-dark);
}

.cart-drawer__header button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--bg-soft);
  cursor: pointer;
}

.cart-items {
  flex: 1;
  overflow: auto;
  padding: 20px 24px;
}

.cart-empty {
  color: var(--muted);
}

.cart-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--green-dark);
}

.cart-item span {
  color: var(--muted);
  font-family: Georgia, serif;
  font-size: 14px;
}

.cart-item button {
  border: 0;
  color: var(--muted);
  background: none;
  cursor: pointer;
}

.cart-drawer__footer {
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.cart-total strong {
  font-family: Georgia, serif;
  font-size: 24px;
  color: var(--green-dark);
}

.checkout-button {
  width: 100%;
  height: 52px;
}

@media (max-width: 980px) {
  .header__inner {
    min-height: 92px;
    gap: 14px;
  }

  .brand__logo {
    width: clamp(220px, 30vw, 280px);
    height: auto;
  }

  .brand__copy {
    line-height: 1.02;
  }

  .brand__title {
    font-size: 16px;
  }

  .brand__title-sub {
    font-size: 10px;
    letter-spacing: 0.18em;
  }

  .footer__brand-main {
    font-size: 20px;
  }

  .footer__brand-sub {
    font-size: 11px;
    letter-spacing: 0.18em;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 14px 6px;
  }

  .hero,
  .concept,
  .gift__panel,
  .newsletter {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 28px;
    padding-top: 58px;
  }

  .hero__visual {
    min-height: 490px;
  }

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

  .concept,
  .gift__panel,
  .newsletter {
    padding: 42px;
  }

  .concept__title {
    font-size: clamp(25px, 4vw, 34px) !important;
  }
}

@media (max-width: 680px) {
  .header__inner,
  .hero,
  .features,
  .section,
  .newsletter,
  .footer__inner,
  .copyright {
    width: min(calc(100% - 24px), var(--max));
  }

  .header__inner {
    min-height: 78px;
    gap: 10px;
  }

  .brand__logo {
    width: clamp(170px, 48vw, 220px);
    height: auto;
  }

  .brand {
    gap: 8px;
  }

  .brand__title {
    font-size: 14px;
    letter-spacing: 0.04em;
  }

  .brand__title-sub {
    margin-top: 4px;
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  .footer__brand-main {
    font-size: 18px;
  }

  .footer__brand-sub {
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .nav {
    left: 12px;
    right: 12px;
    top: 82px;
  }

  .cart-button {
    min-width: 54px;
    height: 38px;
    padding: 0 10px;
  }

  .cart-button__icon {
    display: none;
  }

  .hero h1 {
    font-size: 34px;
    letter-spacing: 0.06em;
  }

  .gift__panel h2 {
    font-size: 26px;
    letter-spacing: 0.04em;
    line-height: 1.5;
  }

  .hero__visual {
    min-height: 420px;
  }

  .visual-card--large {
    left: 16px;
    top: 36px;
    width: 78%;
    min-height: 350px;
  }

  .visual-card--large img {
    width: 220px;
  }

  .visual-card--small {
    width: 180px;
    min-height: 200px;
    right: 0;
    bottom: 20px;
  }

  .features,
  .product-grid,
  .journal-grid,
  .footer__inner {
    grid-template-columns: 1fr;
  }

  .section,
  .newsletter {
    margin-top: 84px;
  }

  .concept,
  .gift__panel,
  .newsletter {
    padding: 30px 22px;
    border-radius: 24px;
  }

  .newsletter__form {
    flex-direction: column;
    border-radius: 22px;
  }

  .newsletter__form input,
  .newsletter__form button {
    min-height: 48px;
  }

  .concept__title {
    font-size: clamp(20px, 5vw, 26px) !important;
    letter-spacing: 0.04em !important;
    line-height: 1.62 !important;
  }
}


@media (max-width: 430px) {
  .concept {
    padding-left: 18px;
    padding-right: 18px;
  }

  .concept__title {
    font-size: 20px !important;
    letter-spacing: 0.025em !important;
  }
}

@media (max-width: 380px) {
  .brand__logo {
    width: 160px;
    height: auto;
  }

  .brand {
    gap: 7px;
  }

  .brand__title {
    font-size: 12px;
    letter-spacing: 0.02em;
  }

  .brand__title-sub {
    margin-top: 3px;
    font-size: 8px;
    letter-spacing: 0.08em;
  }

  .footer__brand-main {
    font-size: 17px;
  }

  .footer__brand-sub {
    font-size: 9px;
    letter-spacing: 0.1em;
  }

  .hero h1 {
    font-size: 31px;
    letter-spacing: 0.045em;
  }

  .gift__panel h2 {
    font-size: 23px;
    letter-spacing: 0.025em;
  }
}


/* ===== Integrated diagnosis feature ===== */
.diagnosis-entry {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 40px;
  padding: 64px;
  border: 1px solid rgba(185, 155, 95, 0.24);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 12% 20%, rgba(185,155,95,.16), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,.8), rgba(238,242,236,.68));
  box-shadow: var(--shadow);
}

.diagnosis-entry h2,
.diagnosis-hero h1,
.result-heading h2,
.diagnosis-side h2 {
  margin: 0;
  color: var(--green-dark);
  font-weight: 500;
  letter-spacing: .08em;
}

.diagnosis-entry h2,
.diagnosis-hero h1 {
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.35;
}

.diagnosis-entry h2 span,
.diagnosis-hero h1 span { display: block; }

.diagnosis-entry p,
.diagnosis-hero p,
.diagnosis-side p,
.result-heading p,
.product-result p {
  color: var(--muted);
  line-height: 1.95;
}

.diagnosis-entry__actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.diagnosis-entry__panel {
  display: grid;
  gap: 14px;
}

.mini-step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 4px 16px;
  align-items: center;
  padding: 20px;
  border: 1px solid rgba(35,48,44,.1);
  border-radius: 22px;
  background: rgba(255,255,255,.68);
}

.mini-step span {
  grid-row: span 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green-dark);
  font-family: Georgia, serif;
  font-size: 13px;
}

.mini-step strong { color: var(--green-dark); font-size: 18px; font-weight: 500; }
.mini-step small { color: var(--muted); line-height: 1.5; }

.diagnosis-page {
  padding-top: 36px;
}

.diagnosis-hero {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .86fr);
  align-items: center;
  gap: 48px;
}

.diagnosis-hero__copy p:not(.eyebrow) {
  max-width: 680px;
  margin-top: 26px;
}

.diagnosis-hero__cards {
  position: relative;
  min-height: 390px;
  border-radius: 44px;
  background:
    radial-gradient(circle at 70% 20%, rgba(185,155,95,.22), transparent 28%),
    linear-gradient(145deg, rgba(255,255,255,.72), rgba(238,242,236,.9));
  box-shadow: var(--shadow);
}

.diagnosis-hero__cards img {
  position: absolute;
  width: 44%;
  max-height: 230px;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(43,60,52,.13));
}

.diagnosis-hero__cards img:nth-child(1) { left: 8%; top: 18%; width: 48%; }
.diagnosis-hero__cards img:nth-child(2) { right: 7%; top: 8%; }
.diagnosis-hero__cards img:nth-child(3) { right: 18%; bottom: 10%; width: 46%; }

.diagnosis-shell {
  width: min(calc(100% - 40px), var(--max));
  margin: 34px auto 120px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.diagnosis-card,
.result-card,
.diagnosis-side {
  border: 1px solid rgba(35,48,44,.1);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.76);
  box-shadow: var(--shadow);
}

.diagnosis-card,
.result-card { padding: 34px; }
.diagnosis-side { padding: 28px; position: sticky; top: 118px; }

.diagnosis-side h2 { font-size: 25px; line-height: 1.5; }
.diagnosis-side ul { margin: 22px 0 0; padding: 0; list-style: none; }
.diagnosis-side li {
  position: relative;
  padding: 12px 0 12px 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.diagnosis-side li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 20px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.diagnosis-progress {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  align-items: end;
  margin-bottom: 28px;
}

.diagnosis-progress .eyebrow { margin-bottom: 6px; }
.diagnosis-progress strong { color: var(--green-dark); font-family: Georgia, serif; font-size: 28px; font-weight: 500; }
.progress-track { height: 8px; border-radius: 999px; background: rgba(35,48,44,.1); overflow: hidden; }
.progress-track span { display: block; width: 0%; height: 100%; border-radius: inherit; background: linear-gradient(135deg, var(--gold), var(--green)); transition: width .25s ease; }

.question-kicker { margin: 0 0 10px; color: var(--gold); font-family: Georgia, serif; font-size: 12px; letter-spacing: .18em; }
.question-title { margin: 0 0 22px; color: var(--green-dark); font-size: clamp(24px, 2.8vw, 34px); font-weight: 500; line-height: 1.5; letter-spacing: .05em; }
.options-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.option {
  min-height: 108px;
  padding: 19px 20px;
  border: 1px solid rgba(35,48,44,.12);
  border-radius: 22px;
  color: var(--ink);
  background: rgba(255,255,255,.72);
  text-align: left;
  cursor: pointer;
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}
.option:hover { transform: translateY(-3px); border-color: rgba(185,155,95,.5); box-shadow: 0 16px 34px rgba(43,60,52,.08); }
.option.is-selected { border-color: var(--green-dark); background: linear-gradient(135deg, rgba(66,102,90,.11), rgba(185,155,95,.12)); box-shadow: inset 0 0 0 1px rgba(66,102,90,.2); }
.option strong { display: block; color: var(--green-dark); font-size: 17px; font-weight: 500; line-height: 1.6; }
.option small { display: block; margin-top: 8px; color: var(--muted); line-height: 1.65; }

.quiz-actions,
.result-actions {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.hidden { display: none !important; }
.result-card { grid-column: 1 / -1; }
.result-heading { max-width: 820px; margin-bottom: 26px; }
.result-heading h2 { font-size: clamp(27px, 3.6vw, 44px); line-height: 1.45; }
.result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product-result {
  overflow: hidden;
  border: 1px solid rgba(35,48,44,.1);
  border-radius: 28px;
  background: rgba(255,255,255,.68);
}
.product-result:first-child { grid-column: span 3; display: grid; grid-template-columns: 360px 1fr; }
.product-result__image { min-height: 240px; display: grid; place-items: center; background: linear-gradient(150deg, #f9f7f1, #eef2ec); }
.product-result__image img { width: min(78%, 250px); max-height: 230px; object-fit: contain; }
.product-result__body { padding: 24px; }
.product-result__rank { display: inline-flex; margin-bottom: 12px; padding: 7px 12px; border-radius: 999px; color: #fff; background: var(--green-dark); font-family: Georgia, serif; font-size: 12px; letter-spacing: .12em; }
.product-result h3 { margin: 0; color: var(--green-dark); font-size: 24px; font-weight: 500; line-height: 1.45; }
.product-result__catch { color: var(--green-dark) !important; }
.product-result__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.product-result__tags span { padding: 6px 10px; border-radius: 999px; color: var(--green-dark); background: rgba(185,155,95,.14); font-size: 12px; }
.product-result__bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.result-actions { justify-content: center; flex-wrap: wrap; }

.cart-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  padding: 14px 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--green-dark);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.cart-toast.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .diagnosis-entry,
  .diagnosis-hero,
  .diagnosis-shell,
  .product-result:first-child { grid-template-columns: 1fr; }
  .diagnosis-shell { margin-top: 24px; }
  .diagnosis-side { position: static; order: -1; }
  .result-grid { grid-template-columns: 1fr; }
  .product-result:first-child { grid-column: auto; }
}

@media (max-width: 680px) {
  .diagnosis-entry,
  .diagnosis-hero,
  .diagnosis-shell { width: min(calc(100% - 24px), var(--max)); }
  .diagnosis-entry { padding: 30px 22px; border-radius: 24px; }
  .diagnosis-page { padding-top: 12px; }
  .diagnosis-hero { min-height: auto; gap: 26px; }
  .diagnosis-hero__cards { min-height: 280px; border-radius: 28px; }
  .diagnosis-card,
  .result-card,
  .diagnosis-side { padding: 22px; border-radius: 24px; }
  .diagnosis-progress { grid-template-columns: 1fr; gap: 10px; }
  .options-grid { grid-template-columns: 1fr; }
  .quiz-actions { flex-direction: column-reverse; }
  .result-actions,
  .diagnosis-entry__actions { flex-direction: column; }
  .diagnosis-entry__actions .button,
  .result-actions .button,
  .quiz-actions .button { width: 100%; }
  .product-result__bottom { flex-direction: column; align-items: stretch; }
}

/* Recommended books ------------------------------------------------------- */
.books {
  margin-top: 96px;
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.book-card {
  min-width: 0;
}

.book-card__image {
  overflow: hidden;
  aspect-ratio: 0.95 / 1;
  border: 1px solid rgba(35, 48, 44, 0.08);
  border-radius: 18px;
  background: #f7f6f1;
  box-shadow: 0 12px 30px rgba(43, 60, 52, 0.06);
}

.book-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.book-card:hover .book-card__image img {
  transform: scale(1.025);
}

.book-card__body {
  padding: 18px 4px 0;
}

.book-card h3 {
  margin: 0;
  color: var(--green-dark);
  font-size: clamp(19px, 1.7vw, 23px);
  font-weight: 500;
  letter-spacing: 0.035em;
  line-height: 1.6;
}

.book-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

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

@media (max-width: 680px) {
  .books {
    margin-top: 76px;
  }

  .book-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .book-card__image {
    aspect-ratio: 1.08 / 1;
  }
}


/* 商品管理試作版：公開側の商品・在庫表示 */
.product-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product-card__meta .product-card__tag { margin: 0 0 8px; }
.product-card__stock { display: inline-flex; align-items: center; white-space: nowrap; margin-bottom: 8px; padding: 4px 7px; border-radius: 999px; color: #4d6a56; background: #edf5ee; font-size: 10px; font-weight: 700; }
.product-card__stock--low { color: #ad6b30; background: #fff3e3; }
.product-card__stock--out { color: #a14e47; background: #fff0ef; }
.product-card.is-soldout .product-card__image img { filter: grayscale(.2) opacity(.68); }
.add-cart:disabled { cursor: not-allowed; opacity: .56; }
.product-grid__empty { grid-column: 1 / -1; display: grid; gap: 5px; place-items: center; min-height: 190px; border: 1px dashed rgba(66,102,90,.22); border-radius: var(--radius-lg); color: var(--muted); background: rgba(255,255,255,.5); }
.product-grid__empty strong { color: var(--green-dark); }
.footer__admin-link { opacity: .68; }
.checkout-button:disabled { cursor: not-allowed; opacity: .55; }


/* Official LINE callout ----------------------------------------------------- */
.newsletter h2 > span { display: block; }
.newsletter__line { display: flex; justify-content: center; align-items: center; min-width: 0; }
.newsletter__line-card { width: min(100%, 260px); display: grid; justify-items: center; gap: 14px; padding: 18px; border: 1px solid rgba(66,102,90,.16); border-radius: 20px; background: rgba(255,255,255,.88); box-shadow: 0 11px 26px rgba(43,60,52,.07); }
.newsletter__qr { display: block; width: min(176px, 100%); height: auto; border-radius: 10px; background: #fff; }
.newsletter__line-button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 4px 10px; border-radius: 10px; background: #fff; transition: transform .18s ease, box-shadow .18s ease; }
.newsletter__line-button:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(43,60,52,.12); }
.newsletter__line-button img { display: block; width: auto; max-width: 100%; height: 36px; }

/* Managed book selection --------------------------------------------------- */
.book-card__price { margin: 10px 0 0; color: var(--green-dark); font-family: Georgia, 'Times New Roman', serif; font-size: 18px; font-weight: 500; letter-spacing: .03em; }
.book-card__price small { margin-left: 4px; color: var(--muted); font-family: inherit; font-size: 11px; font-weight: 500; letter-spacing: .02em; }
.book-card__link { display: inline-flex; align-items: center; gap: 7px; margin-top: 15px; color: var(--green-dark); font-size: 12px; font-weight: 800; text-decoration: none; }
.book-card__link::after { content: ''; width: 22px; height: 1px; background: currentColor; opacity: .65; transition: width .2s ease; }
.book-card__link:hover::after { width: 34px; }
.book-card__link span { font-size: 14px; }

@media (max-width: 680px) {
  .newsletter__line { justify-content: stretch; }
  .newsletter__line-card { width: 100%; }
  .newsletter__qr { width: 170px; }
}

/* Specified Commercial Transactions Act page ------------------------------- */
.legal-page {
  padding: 54px 0 112px;
}

.legal-breadcrumb,
.legal-hero,
.legal-notice,
.legal-content {
  width: min(calc(100% - 40px), 980px);
  margin-right: auto;
  margin-left: auto;
}

.legal-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 13px;
}

.legal-breadcrumb a {
  transition: color .2s ease;
}

.legal-breadcrumb a:hover {
  color: var(--green-dark);
}

.legal-breadcrumb span[aria-hidden="true"] {
  color: rgba(35, 48, 44, .32);
}

.legal-hero {
  padding: clamp(42px, 7vw, 78px);
  border: 1px solid rgba(185, 155, 95, .28);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 91% 9%, rgba(185, 155, 95, .20), transparent 25%),
    radial-gradient(circle at 12% 100%, rgba(66, 102, 90, .13), transparent 32%),
    rgba(255, 255, 255, .64);
  box-shadow: var(--shadow);
}

.legal-hero .eyebrow {
  margin-bottom: 14px;
}

.legal-hero h1 {
  margin: 0;
  color: var(--green-dark);
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: .1em;
}

.legal-hero p:last-child {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 2;
}

.legal-notice {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 28px;
  padding: 18px 22px;
  border: 1px solid rgba(185, 155, 95, .25);
  border-radius: 18px;
  background: rgba(255, 250, 238, .72);
}

.legal-notice__label {
  flex: 0 0 auto;
  margin-top: 2px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #765b26;
  background: rgba(185, 155, 95, .18);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}

.legal-notice p {
  margin: 0;
  color: #6f6249;
  font-size: 13px;
  line-height: 1.85;
}

.legal-content {
  margin-top: 42px;
}

.legal-list {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(35, 48, 44, .12);
  border-radius: 24px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 18px 50px rgba(43, 60, 52, .08);
}

.legal-row {
  display: grid;
  grid-template-columns: minmax(205px, .7fr) minmax(0, 1.7fr);
  border-top: 1px solid rgba(35, 48, 44, .10);
}

.legal-row:first-child {
  border-top: 0;
}

.legal-row dt,
.legal-row dd {
  margin: 0;
  padding: 24px 28px;
}

.legal-row dt {
  color: var(--green-dark);
  background: rgba(242, 239, 230, .64);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.85;
}

.legal-row dd {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.95;
}

.legal-row dd p {
  margin: 0 0 12px;
}

.legal-row dd p:last-child {
  margin-bottom: 0;
}

.legal-row dd small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.legal-placeholder {
  display: inline;
  padding: 2px 6px;
  border-radius: 5px;
  color: #765b26;
  background: rgba(185, 155, 95, .14);
  font-weight: 600;
}

.legal-list__bullets {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.35em;
}

.legal-list__bullets li::marker {
  color: var(--gold);
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(36, 63, 56, .38);
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 700;
  transition: gap .2s ease, border-color .2s ease;
}

.legal-back:hover {
  gap: 15px;
  border-color: var(--green-dark);
}

.footer__link--current {
  color: #fff;
  font-weight: 700;
}

@media (max-width: 680px) {
  .legal-page {
    padding: 28px 0 78px;
  }

  .legal-breadcrumb,
  .legal-hero,
  .legal-notice,
  .legal-content {
    width: min(calc(100% - 24px), 980px);
  }

  .legal-breadcrumb {
    margin-bottom: 18px;
    font-size: 12px;
  }

  .legal-hero {
    padding: 34px 24px;
    border-radius: 24px;
  }

  .legal-hero h1 {
    font-size: clamp(29px, 9vw, 40px);
    letter-spacing: .06em;
  }

  .legal-hero p:last-child {
    font-size: 13px;
    line-height: 1.9;
  }

  .legal-notice {
    display: grid;
    gap: 9px;
    margin-top: 18px;
    padding: 17px 18px;
    border-radius: 16px;
  }

  .legal-notice__label {
    justify-self: start;
  }

  .legal-content {
    margin-top: 28px;
  }

  .legal-list {
    border-radius: 18px;
  }

  .legal-row {
    grid-template-columns: 1fr;
  }

  .legal-row dt,
  .legal-row dd {
    padding: 18px;
  }

  .legal-row dt {
    padding-bottom: 13px;
    border-bottom: 1px solid rgba(35, 48, 44, .08);
  }

  .legal-row dd {
    padding-top: 15px;
    font-size: 13px;
    line-height: 1.9;
  }

  .legal-back {
    margin-top: 24px;
    padding: 12px 4px;
    font-size: 13px;
  }
}


/* -------------------------------------------------------------------------
   本番公開向けの追加スタイル：上記の元サンプルの世界観を維持したまま使用。
   ------------------------------------------------------------------------- */
:root {
  --status-ok:#42665a;
  --status-warn:#a87831;
  --status-out:#9a4d43;
}
body { min-width: 320px; }
.header__inner { position: relative; }
.header__utility { display:flex; align-items:center; gap:18px; margin-left:auto; }
.header__link { color: var(--muted); font-family: Georgia, "Times New Roman", serif; font-size: 12px; letter-spacing: .12em; white-space:nowrap; }
.header__link:hover { color: var(--green-dark); }
.nav { margin-left:auto; }
.cart-button { text-decoration:none; }
.cart-button[aria-label] { cursor:pointer; }
.mobile-cart-link { display:none; }

.page-main { min-height: 65vh; }
.page-hero { width:min(calc(100% - 40px), var(--max)); margin:0 auto; padding:86px 0 50px; }
.page-hero--compact { padding-bottom: 22px; }
.page-hero .eyebrow { margin-bottom: 12px; }
.page-hero h1 { max-width: 720px; color: var(--green-dark); font-size:clamp(40px,5vw,68px); font-weight:500; line-height:1.18; letter-spacing:.065em; }
.page-hero h1 span { display:block; }
.page-hero p:not(.eyebrow) { max-width:680px; color:var(--muted); font-size:15px; line-height:2; }
.breadcrumb { width:min(calc(100% - 40px), var(--max)); margin:28px auto 0; color:var(--muted); font-family:Georgia,"Times New Roman",serif; font-size:12px; letter-spacing:.08em; }
.breadcrumb a:hover { color:var(--green-dark); }

.shop-toolbar { width:min(calc(100% - 40px), var(--max)); margin:0 auto 26px; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:16px; }
.filter { margin:0; }
.filter__button { cursor:pointer; }
.filter__button[aria-pressed="true"] { background:var(--green-dark); color:#fff; border-color:var(--green-dark); }
.shop-count { color:var(--muted); font-size:13px; }
.product-grid--shop { padding-bottom:86px; }
.product-grid__empty { min-height:220px; display:grid; place-items:center; border:1px solid var(--line); background:rgba(255,255,255,.5); color:var(--muted); grid-column:1/-1; }
.product-card { overflow:hidden; }
.product-card__image { position:relative; cursor:pointer; }
.product-card__image::after { content:"詳細を見る"; position:absolute; inset:auto 16px 16px auto; padding:6px 10px; border:1px solid rgba(255,255,255,.78); background:rgba(35,63,56,.8); color:#fff; font-size:10px; opacity:0; transform:translateY(8px); transition:.25s; }
.product-card:hover .product-card__image::after { opacity:1; transform:translateY(0); }
.product-card__meta { display:flex; justify-content:space-between; align-items:center; gap:8px; }
.product-card__stock { color:var(--status-ok); font-size:10px; letter-spacing:.08em; }
.product-card__stock--low { color:var(--status-warn); }
.product-card__stock--out { color:var(--status-out); }
.product-card.is-soldout { opacity:.67; }
.product-card.is-soldout .product-card__image::before { content:"SOLD OUT"; position:absolute; z-index:2; inset:50% auto auto 50%; transform:translate(-50%,-50%); padding:9px 14px; color:#fff; background:rgba(35,48,44,.78); font:700 11px Georgia,serif; letter-spacing:.14em; }
.product-card__link { display:block; color:inherit; }
.product-card__link:focus-visible, .button:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline:3px solid #c0a567; outline-offset:3px; }

.product-detail { width:min(calc(100% - 40px), var(--max)); margin:44px auto 100px; display:grid; grid-template-columns:minmax(0,1.02fr) minmax(340px,.98fr); gap:64px; }
.product-detail__image { min-height:540px; display:grid; place-items:center; background:linear-gradient(145deg,#f8f6ef,#e5ebe3); border-radius:var(--radius-lg); overflow:hidden; }
.product-detail__image img { width:100%; height:100%; min-height:540px; object-fit:cover; }
.product-detail__category { margin:0 0 10px; color:var(--gold); font-family:Georgia,"Times New Roman",serif; font-size:11px; font-weight:700; letter-spacing:.15em; }
.product-detail h1 { margin:0; color:var(--green-dark); font-size:clamp(31px,4vw,47px); font-weight:500; line-height:1.35; }
.product-detail__price { margin:22px 0 20px; color:var(--green-dark); font-family:Georgia,"Times New Roman",serif; font-size:26px; }
.product-detail__description { color:var(--muted); font-size:15px; line-height:2; white-space:pre-line; }
.product-variant { display:grid; gap:8px; margin:22px 0 6px; }
.product-variant label { color:var(--green-dark); font-size:12px; font-weight:700; }
.product-variant select { width:100%; max-width:520px; min-height:48px; padding:0 14px; border:1px solid rgba(35,48,44,.23); background:#fff; color:var(--ink); font-family:inherit; }
.cart-line__variant { margin:4px 0 0; color:var(--green-dark) !important; font-size:12px; font-weight:700; }
.product-detail__stock { display:inline-block; margin:14px 0 22px; padding:5px 9px; border:1px solid currentColor; color:var(--status-ok); font-size:11px; letter-spacing:.08em; }
.product-detail__stock.is-low { color:var(--status-warn); }
.product-detail__stock.is-out { color:var(--status-out); }
.product-detail__actions { display:flex; flex-wrap:wrap; gap:12px; margin:25px 0 28px; }
.product-detail__actions .button { min-width:200px; }
.product-detail__note { margin:0; color:var(--muted); font-size:11px; line-height:1.8; }
.product-specs { margin-top:35px; border-top:1px solid var(--line); }
.product-specs > div { display:grid; grid-template-columns:145px 1fr; border-bottom:1px solid var(--line); }
.product-specs dt,.product-specs dd { margin:0; padding:14px 0; font-size:13px; line-height:1.85; }
.product-specs dt { color:var(--green-dark); font-weight:700; }
.product-specs dd { color:var(--muted); white-space:pre-line; }

.cart-page, .checkout-page { width:min(calc(100% - 40px), var(--max)); margin:0 auto 100px; display:grid; grid-template-columns:minmax(0,1fr) 330px; gap:42px; }
.cart-box, .checkout-form, .order-summary { padding:30px; border:1px solid var(--line); background:rgba(255,255,255,.55); box-shadow:0 15px 40px rgba(35,48,44,.05); }
.cart-box h1, .checkout-form h1, .order-summary h2 { margin:0 0 22px; color:var(--green-dark); font-size:28px; font-weight:500; }
.cart-line { display:grid; grid-template-columns:90px 1fr auto; gap:18px; align-items:center; padding:16px 0; border-top:1px solid var(--line); }
.cart-line:first-of-type { border-top:0; }
.cart-line img { width:90px; height:90px; border-radius:10px; object-fit:cover; background:var(--bg-soft); }
.cart-line h2 { margin:0 0 5px; color:var(--green-dark); font-size:17px; font-weight:600; }
.cart-line p { margin:0; color:var(--muted); font-size:12px; }
.quantity { display:flex; align-items:center; gap:7px; margin-top:10px; }
.quantity button { width:28px; height:28px; border:1px solid var(--line); background:#fff; color:var(--green-dark); }
.quantity input { width:40px; border:0; background:transparent; text-align:center; color:var(--green-dark); }
.cart-line__price { text-align:right; }
.cart-line__price strong { display:block; color:var(--green-dark); font-family:Georgia,serif; font-size:16px; }
.text-button { margin-top:7px; border:0; padding:0; color:var(--muted); background:transparent; font-size:11px; text-decoration:underline; text-underline-offset:3px; }
.order-summary { align-self:start; position:sticky; top:130px; }
.order-summary__rows { border-top:1px solid var(--line); }
.order-summary__row { display:flex; justify-content:space-between; gap:10px; padding:12px 0; border-bottom:1px solid var(--line); color:var(--muted); font-size:13px; }
.order-summary__row--total { color:var(--green-dark); font-size:15px; font-weight:700; }
.order-summary__row--total strong { font-family:Georgia,serif; font-size:22px; }
.order-summary .button { width:100%; margin-top:21px; }
.order-summary__help { margin:14px 0 0; color:var(--muted); font-size:10px; line-height:1.7; }
.cart-empty-page { padding:45px 15px; text-align:center; color:var(--muted); }
.cart-empty-page h2 { color:var(--green-dark); font-size:22px; font-weight:500; }

.form-group { display:grid; gap:7px; margin-bottom:17px; }
.form-group label { color:var(--green-dark); font-size:12px; font-weight:700; }
.required { color:#aa5f4b; font-size:10px; }
.form-group input,.form-group select,.form-group textarea { width:100%; padding:12px; border:1px solid rgba(35,48,44,.23); border-radius:0; background:#fff; color:var(--ink); font-family:inherit; }
.form-group textarea { min-height:120px; resize:vertical; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:15px; }
.form-notice { margin:20px 0; padding:15px; border-left:3px solid var(--gold); background:#f7f2e8; color:var(--muted); font-size:11px; line-height:1.8; }
.form-actions { display:flex; justify-content:flex-end; gap:12px; margin-top:25px; }
.checkout-status { margin:14px 0 0; color:var(--muted); font-size:12px; min-height:1.7em; }

.simple-page { width:min(calc(100% - 40px), 900px); margin:0 auto 100px; }
.simple-page h1 { margin:0 0 28px; color:var(--green-dark); font-size:clamp(33px,4vw,48px); font-weight:500; line-height:1.35; }
.simple-page h2 { margin:45px 0 14px; color:var(--green-dark); font-size:26px; font-weight:500; }
.simple-page h3 { margin:27px 0 9px; color:var(--green-dark); font-size:18px; }
.simple-page p,.simple-page li { color:var(--muted); font-size:14px; line-height:2; }
.simple-page ul { padding-left:1.2em; }
.legal-table { margin-top:20px; border-top:1px solid var(--line); }
.legal-table > div { display:grid; grid-template-columns:220px 1fr; border-bottom:1px solid var(--line); }
.legal-table dt,.legal-table dd { margin:0; padding:16px; font-size:13px; line-height:1.9; }
.legal-table dt { color:var(--green-dark); background:rgba(242,239,230,.72); font-weight:700; }
.legal-table dd { color:var(--muted); white-space:pre-line; }
.placeholder { display:inline-block; padding:0 5px; background:#fff0bf; color:#6b571d; font-size:.94em; }

.contact-layout { width:min(calc(100% - 40px), var(--max)); margin:0 auto 100px; display:grid; grid-template-columns:.8fr 1.2fr; gap:72px; }
.contact-layout__intro h1 { margin:0 0 20px; color:var(--green-dark); font-size:clamp(33px,4vw,48px); font-weight:500; }
.contact-layout__intro p { color:var(--muted); font-size:14px; line-height:2; }
.contact-panel { padding:34px; background:#fff; border:1px solid var(--line); }
.contact-panel h2 { margin:0 0 24px; color:var(--green-dark); font-size:24px; font-weight:500; }

.diagnosis-page { padding-bottom:80px; }
.diagnosis-hero { width:min(calc(100% - 40px), var(--max)); }
.diagnosis-hero__copy { max-width:650px; }
.diagnosis-hero__copy p { color:var(--muted); }
.diagnosis-hero__cards { pointer-events:none; }
.result-card { width:min(calc(100% - 40px), var(--max)); margin:0 auto; }
.result-card.hidden { display:none; }
.result-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.result-item { overflow:hidden; border:1px solid var(--line); background:#fff; }
.result-item img { width:100%; aspect-ratio:1/1; object-fit:cover; background:var(--bg-soft); }
.result-item__body { padding:18px; }
.result-item__body h3 { margin:0 0 7px; color:var(--green-dark); font-size:19px; font-weight:600; }
.result-item__body p { margin:0 0 12px; color:var(--muted); font-size:12px; line-height:1.8; }

.site-note { width:min(calc(100% - 40px), var(--max)); margin:22px auto 0; padding:13px 16px; background:#f7f2e8; border-left:3px solid var(--gold); color:var(--muted); font-size:11px; line-height:1.8; }
.footer__links a { position:relative; }
.footer__links a:hover { color:var(--gold-light); }

@media (max-width: 1080px) {
  .header__inner { gap:14px; }
  .nav { gap:17px; }
  .brand__logo { width:clamp(190px,23vw,280px); }
  .product-detail { gap:35px; }
}
@media (max-width: 860px) {
  .header__utility { display:none; }
  .product-detail,.cart-page,.checkout-page,.contact-layout { grid-template-columns:1fr; }
  .product-detail__image,.product-detail__image img { min-height:390px; }
  .order-summary { position:static; }
  .result-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 720px) {
  .page-hero { width:min(calc(100% - 32px),var(--max)); padding:56px 0 36px; }
  .breadcrumb { width:min(calc(100% - 32px),var(--max)); margin-top:20px; }
  .shop-toolbar,.product-detail,.cart-page,.checkout-page,.simple-page,.contact-layout,.site-note { width:min(calc(100% - 32px),var(--max)); }
  .header__inner { width:calc(100% - 28px); min-height:74px; }
  .brand__logo { width:210px; }
  .nav { z-index:30; }
  .cart-button { min-width:64px; }
  .cart-button__icon { display:none; }
  .product-detail { margin-top:26px; margin-bottom:65px; gap:27px; }
  .product-detail__image,.product-detail__image img { min-height:330px; }
  .product-specs > div,.legal-table > div { grid-template-columns:1fr; }
  .product-specs dt { padding-bottom:3px; }
  .product-specs dd { padding-top:3px; }
  .legal-table dt { padding-bottom:5px; }
  .legal-table dd { padding-top:7px; }
  .cart-box,.checkout-form,.order-summary,.contact-panel { padding:22px; }
  .cart-line { grid-template-columns:68px 1fr; gap:12px; }
  .cart-line img { width:68px; height:68px; }
  .cart-line__price { grid-column:2; text-align:left; display:flex; justify-content:space-between; align-items:center; }
  .form-grid { grid-template-columns:1fr; gap:0; }
  .form-actions { display:block; }
  .form-actions .button { width:100%; margin-top:9px; }
  .result-grid { grid-template-columns:1fr; }
}

/* ===== Diagnosis: original five-step flow restored ===== */
.diagnosis-page--restored { padding-bottom: 0; }
.diagnosis-page--restored .diagnosis-shell { display: grid; grid-template-columns: minmax(0, 1fr); }
.diagnosis-page--restored .result-card { width: auto; margin: 0; }
.diagnosis-page--restored .result-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.diagnosis-page--restored .product-result:first-child { grid-column: span 3; display: grid; grid-template-columns: 360px 1fr; }
.diagnosis-page--restored .stock-badge { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 16px; border: 1px solid rgba(35,48,44,.2); border-radius: 999px; color: var(--muted); font-size: 13px; }
@media (max-width: 980px) {
  .diagnosis-page--restored .result-grid { grid-template-columns: 1fr; }
  .diagnosis-page--restored .product-result:first-child { grid-column: auto; grid-template-columns: 1fr; }
}


/* Alcohol age confirmation ------------------------------------------------ */
.age-confirm-page {
  min-height: calc(100vh - 190px);
  display: grid;
  place-items: center;
  padding: 70px 20px 100px;
}
.age-confirm-card {
  width: min(100%, 620px);
  padding: clamp(34px, 6vw, 64px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.9);
  box-shadow: 0 24px 70px rgba(35,48,44,.1);
  text-align: center;
}
.age-confirm-card__mark {
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 24px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--green-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}
.age-confirm-card .eyebrow { margin-bottom: 12px; }
.age-confirm-card h1 {
  margin: 0;
  color: var(--green-dark);
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 500;
  line-height: 1.45;
}
.age-confirm-card__text {
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}
.age-confirm-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 34px;
}
.age-confirm-card__actions .button { width: 100%; min-height: 52px; }
.age-confirm-card__note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}
@media (max-width: 560px) {
  .age-confirm-page { padding: 45px 16px 70px; }
  .age-confirm-card { padding: 32px 22px; }
  .age-confirm-card__actions { grid-template-columns: 1fr; }
}

/* ===== Bank transfer checkout ===== */
.checkout-lead { margin:-8px 0 24px; color:var(--muted); font-size:13px; line-height:1.9; }
.payment-method-badge { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 0 18px; padding:12px 14px; border:1px solid rgba(80,200,120,.35); background:rgba(80,200,120,.08); color:var(--green-dark); font-size:12px; }
.payment-method-badge strong { font-size:11px; letter-spacing:.06em; }
.payment-method-badge span { font-weight:700; }
.shipping-fieldset { min-width:0; margin:26px 0 20px; padding:20px; border:1px solid var(--line); }
.shipping-fieldset legend { padding:0 8px; color:var(--green-dark); font-size:16px; font-weight:600; }
.same-address-check { display:flex; align-items:center; gap:10px; margin:0 0 18px; color:var(--green-dark); font-size:13px; cursor:pointer; }
.same-address-check input { width:18px; height:18px; accent-color:var(--emerald,#50c878); }
.form-group--wide { grid-column:auto; }
.form-group input.is-copied { background:rgba(242,239,230,.72); color:var(--muted); }
.form-group--honeypot { position:absolute!important; left:-9999px!important; width:1px!important; height:1px!important; overflow:hidden!important; }
.checkout-status.is-error { color:#a33d32; }
.checkout-status.is-success { color:#2f6b4f; }
.order-number { padding:12px 16px; border-left:3px solid var(--emerald,#50c878); background:rgba(80,200,120,.08); }
.bank-information { margin:30px 0; padding:24px; border:1px solid var(--line); background:#fff; }
.bank-information h2 { margin:0 0 18px; font-size:22px; }
.bank-information dl { margin:0; border-top:1px solid var(--line); }
.bank-information dl > div { display:grid; grid-template-columns:140px 1fr; border-bottom:1px solid var(--line); }
.bank-information dt,.bank-information dd { margin:0; padding:12px 8px; font-size:13px; }
.bank-information dt { color:var(--green-dark); font-weight:700; }
.bank-information dd { color:var(--muted); }
.bank-information p { margin:14px 0 0; font-size:12px; }
@media (max-width:720px){
  .shipping-fieldset { padding:16px; }
  .bank-information dl > div { grid-template-columns:1fr; }
  .bank-information dt { padding-bottom:2px; }
  .bank-information dd { padding-top:2px; }
}


/* ===== Natural Japanese typography and responsive wrapping ===== */
:where(h1, h2, h3) {
  line-break: strict;
  word-break: auto-phrase;
  text-wrap: balance;
}

:where(p, li, dd, small) {
  line-break: strict;
  word-break: normal;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

.hero h1 span,
.concept__title span,
.gift__panel h2 span,
.newsletter h2 > span,
.diagnosis-entry h2 span,
.diagnosis-hero h1 span,
.page-hero h1 span {
  display: block;
  white-space: normal;
  text-wrap: balance;
}


/* コンセプト説明文：十分な横幅がある画面では一行で表示 */
@media (min-width: 1240px) {
  .concept__single-line {
    display: inline-block;
    white-space: nowrap;
  }
}
