/* ===== Design Tokens =====
   共通トークンは tokens.css に集約済み。ここはフロント固有のもののみ。 */
:root {
  --gl:    rgba(232,135,30,.1);
  --nh:    68px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--t);
  background: var(--bg);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--sans); color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 400; line-height: 1.25; color: var(--t); }

/* ===== Layout ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
}

/* ===== Header / Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--nh);
  display: flex;
  align-items: center;
  backdrop-filter: blur(20px);
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid var(--bdr);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.site-header .logo {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--t);
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}
.logo-hex {
  width: 24px;
  height: 24px;
  background: var(--a);
  clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);
  flex-shrink: 0;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-header nav a.nav-link,
.site-header nav button {
  font-size: .9rem;
  font-weight: 600;
  color: var(--t);
  letter-spacing: .04em;
  padding: 8px 16px;
  border-radius: var(--r-full);
  transition: background .2s, color .2s;
  text-decoration: none;
}
.site-header nav a.nav-link:hover,
.site-header nav button:hover {
  background: var(--surf2);
  color: var(--a);
}
.site-header nav a.nav-link.is-active {
  background: var(--al);
  color: var(--a);
  font-weight: 700;
}
.site-header nav a.btn-primary { color: #fff; }
.site-header nav a.btn-primary:hover { color: #fff; }

/* ===== Hamburger toggle ===== */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 6px 8px;
  border-radius: var(--r-md);
  background: none;
  border: none;
  cursor: pointer;
  transition: background .2s;
}
.nav-toggle:hover { background: var(--surf2); }
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--t);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
  transform-origin: center;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .site-header #site-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nh);
    left: 0;
    right: 0;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--bdr);
    padding: 16px 20px 24px;
    gap: 0;
    z-index: 800;
    box-shadow: var(--sh);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .site-header #site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-header #site-nav a,
  .site-header #site-nav button {
    display: block;
    width: 100%;
    padding: 13px 4px;
    border-bottom: 1px solid var(--bdr);
    border-radius: 0;
    background: none;
    font-size: .95rem;
    font-weight: 500;
    text-align: left;
    color: var(--t);
  }
  .site-header #site-nav a.nav-link.is-active {
    color: var(--a);
    font-weight: 700;
    border-left: 3px solid var(--orange);
    padding-left: 10px;
    background: none;
  }
  .site-header #site-nav a:last-child,
  .site-header #site-nav button:last-child { border-bottom: none; }
  .site-header #site-nav form { display: block !important; }
  .site-header #site-nav a.btn-primary {
    margin-top: 12px;
    padding: 12px 0;
    text-align: center;
    border-radius: var(--r);
    border-bottom: none;
    background: var(--a);
    color: #fff;
  }
}

/* ===== Main ===== */
main.container {
  min-height: calc(100vh - var(--nh) - 200px);
  padding-top: 48px;
  padding-bottom: 48px;
}
main.container > h2,
main.container h3 { margin-bottom: 1rem; }

/* ===== Footer ===== */
.site-footer {
  background: var(--surf);
  border-top: 1px solid var(--bdr);
  color: var(--tm);
  text-align: center;
  padding: 32px 0;
  font-size: 13px;
  margin-top: 96px;
}
.site-footer p { margin: 0; color: var(--tm); }
.footer-company { margin-bottom: 18px; }
.footer-company__link { display: inline-block; }
.footer-company__logo {
  display: block;
  width: 200px;
  max-width: 70vw;
  height: auto;
  background: #fff;
  border-radius: var(--r-sm);
  padding: 10px 16px;
  box-sizing: content-box;
}
.footer-company__text { margin-top: 8px; font-size: 12px; color: var(--tm); }
.footer-tagline {
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--a);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.footer-nav { margin-bottom: 10px; }
.footer-nav a {
  color: var(--tm);
  margin: 0 12px;
  font-size: 13px;
  transition: color .2s;
}
.footer-nav a:hover { color: var(--t); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--r-full);
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .02em;
  transition: all .2s;
  border: 1px solid transparent;
  white-space: nowrap;
  font-family: var(--sans);
  cursor: pointer;
}
.btn-primary {
  background: var(--a);
  color: #fff;
  border-color: var(--a);
  box-shadow: 0 4px 14px rgba(18,58,107,.3);
}
.btn-primary:hover {
  background: var(--ah);
  border-color: var(--ah);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(18,58,107,.4);
  color: #fff;
}
.btn-primary:active {
  transform: translateY(0);
  background: #0e2f57;
}
.btn-secondary {
  color: var(--t);
  border-color: var(--bdr);
  background: transparent;
}
.btn-secondary:hover {
  border-color: var(--a);
  background: var(--al);
  color: var(--t);
}
.btn-back {
  border: 1.5px solid var(--a);
  color: var(--a);
  background: var(--surf);
  font-weight: 600;
}
.btn-back:hover {
  background: var(--a);
  border-color: var(--a);
  color: #fff;
}
.btn-danger {
  background: var(--c-danger);
  color: #fff;
  border-color: var(--c-danger);
}
.btn-warning {
  background: var(--g);
  color: #fff;
  border-color: var(--g);
  box-shadow: 0 4px 14px rgba(232,135,30,.25);
}
.btn-warning:hover {
  opacity: .9;
  transform: translateY(-1px);
}
.btn-deferred {
  background: var(--c-warning);
  color: #fff;
  border-color: var(--c-warning);
  box-shadow: 0 4px 14px rgba(217,119,6,.3);
}
.btn-deferred:hover {
  background: #b45309;
  border-color: #b45309;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(217,119,6,.4);
  color: #fff;
}
.btn-deferred:active { transform: translateY(0); background: #92400e; }
.btn-sm { padding: 8px 18px; font-size: .8rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }

/* ===== Alerts ===== */
.alert {
  padding: 12px 16px;
  border-radius: var(--r);
  margin-bottom: 16px;
  font-size: 14px;
}
.alert-success {
  background: rgba(18,58,107,.08);
  color: #123a6b;
  border: 1px solid rgba(18,58,107,.25);
}
.alert-danger {
  background: rgba(192,57,43,.08);
  color: var(--c-danger-dk);
  border: 1px solid rgba(192,57,43,.25);
}

/* ===== Forms ===== */
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 400;
  font-size: .8rem;
  letter-spacing: .05em;
  color: var(--tm);
  text-transform: uppercase;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 16px;
  border: 1px solid var(--surf3);
  border-radius: var(--r-md);
  font-family: var(--sans);
  font-size: 14px;
  color: var(--t);
  background: var(--surf);
  height: 44px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-group textarea { height: auto; min-height: 140px; resize: vertical; }
.form-group select { appearance: none; }
.form-group input[type="checkbox"] {
  width: auto;
  height: auto;
  padding: 0;
  background: none;
  border: none;
  accent-color: var(--a);
  vertical-align: middle;
  margin-right: 6px;
}
.form-group label:has(input[type="checkbox"]) {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: normal;
  text-transform: none;
  cursor: pointer;
  font-size: 14px;
  letter-spacing: 0;
  color: var(--tm);
}
.form-row .form-group { flex: 1; min-width: 160px; }
.errors { color: var(--c-danger); padding: 0 0 0 16px; margin-bottom: 16px; font-size: 13px; }
.required { color: var(--c-danger); margin-left: 2px; }
.form-hint {
  margin: 6px 0 0;
  font-size: .78rem;
  line-height: 1.6;
  color: var(--tm);
}
.form-hint strong { color: var(--t); font-weight: 700; }

/* ===== Auth Form ===== */
.auth-form {
  max-width: 420px;
  margin: 0 auto;
  background: var(--surf);
  padding: 48px;
  border-radius: var(--r);
  border: 1px solid var(--bdr);
}
.auth-form h2 {
  margin-top: 0;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--t);
  margin-bottom: 28px;
  letter-spacing: .03em;
}
.auth-form form + p { margin-top: 1rem; }

/* ===== reCAPTCHA（partials/recaptcha） ===== */
/* ウィジェットは 304×78px 固定。狭い画面では transform で縮小（iframe なので scale が効く） */
.recaptcha-field { margin-bottom: 20px; }
@media (max-width: 480px) {
  .auth-form { padding: 32px 20px; }              /* 360px 端末で内側 278px */
  .auth-form .g-recaptcha { transform: scale(.9); transform-origin: 0 0; }
}
@media (max-width: 360px) {
  .g-recaptcha { transform: scale(.78); transform-origin: 0 0; }   /* 320px 端末: auth 238px / contact 280px */
}
.auth-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--bdr);
}
/* 長いラベル（「すでにアカウントをお持ちの方はこちら」等）が狭い画面で溢れないよう折り返しを許可 */
.auth-links .btn { white-space: normal; text-align: center; }
/* ===== Eyebrow / Section Label ===== */
.eyebrow,
.section-label {
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--a);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before,
.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--a);
}

/* ===== Product Grid ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}
@media (max-width: 768px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
}
.product-card {
  background: var(--surf);
  border-radius: var(--r);
  border: 1px solid var(--bdr);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh);
  border-color: rgba(18,58,107,.35);
}
.product-card > a:first-child { display: block; color: inherit; }
.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.product-card .no-image {
  aspect-ratio: 1 / 1;
  background: var(--surf2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tf);
  font-size: 13px;
}
.product-card h3,
.product-card h4 {
  margin: 14px 18px 4px;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
  color: var(--t);
  line-height: 1.4;
}
.product-card h3 a,
.product-card h4 a { color: var(--t); }
.product-card .price {
  margin: 2px 18px 4px;
  font-family: var(--mono);
  font-size: 1.65rem;
  font-weight: 500;
  color: var(--t);
  line-height: 1.25;
}
.product-card .first-time-price {
  margin-top: 0;
}
.card-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 18px 2px;
}
.card-name-row h3,
.card-name-row h4 {
  margin: 0;
  font-size: inherit;
  line-height: 1.3;
}
.card-name-row h3 a,
.card-name-row h4 a {
  color: inherit;
  text-decoration: none;
}
.product-card .btn,
.product-card a.btn {
  margin: auto 18px 12px;
  display: block;
  text-align: center;
}

/* ===== Product Detail ===== */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 768px) {
  .product-detail { grid-template-columns: 1fr; }
}
/* グリッド子要素は min-width:auto で内容幅より縮まず、スマホ幅で
   画面外にはみ出す（html/body の overflow-x:clip で端が切れて見える）
   ため、縮小と折り返しを許可する */
.product-detail > * { min-width: 0; }
.product-info { overflow-wrap: break-word; }
.product-info .btn { white-space: normal; }
.product-images { align-self: start; max-width: 420px; width: 100%; }
.product-swiper {
  aspect-ratio: 1 / 1;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--bdr);
  background: var(--surf);
}
.product-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* next/prev ボタン — Swiper 標準の swiper-icons フォント（data: URI）は
   CSP font-src で許可していないため、フォントに依存しない
   border 描画のシェブロンアイコンに置き換える */
.product-swiper .swiper-button-prev,
.product-swiper .swiper-button-next,
.research-swiper .swiper-button-prev,
.research-swiper .swiper-button-next {
  width: 36px;
  height: 36px;
  margin-top: -18px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--bdr);
  box-shadow: var(--sh-sm);
  color: var(--navy-2);
}
.product-swiper .swiper-button-prev:hover,
.product-swiper .swiper-button-next:hover,
.research-swiper .swiper-button-prev:hover,
.research-swiper .swiper-button-next:hover {
  background: #fff;
  border-color: var(--bdr-strong);
}
.product-swiper .swiper-button-prev::after,
.product-swiper .swiper-button-next::after,
.research-swiper .swiper-button-prev::after,
.research-swiper .swiper-button-next::after {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  position: relative;
}
.product-swiper .swiper-button-next::after,
.research-swiper .swiper-button-next::after {
  transform: rotate(45deg);
  left: -2px;
}
.product-swiper .swiper-button-prev::after,
.research-swiper .swiper-button-prev::after {
  transform: rotate(-135deg);
  left: 2px;
}
.product-info h2 {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--t);
  line-height: 1.25;
  margin-bottom: 10px;
  letter-spacing: .02em;
}
.product-info .price {
  font-family: var(--mono);
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--t);
  margin-bottom: 8px;
}
.product-info .description {
  font-size: 14px;
  color: var(--t);
  line-height: 1.9;
  margin-bottom: 24px;
  font-weight: 400;
}
.product-info .login-notice {
  font-size: 14px;
  color: var(--t);
  margin-bottom: 12px;
}
.purchase-type-select {
  margin-bottom: 16px;
}
.purchase-type-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 2px solid var(--bdr);
  border-radius: var(--r);
  padding: 14px 16px;
  margin-bottom: 8px;
  cursor: pointer;
  font-size: 16px;
  color: var(--tm);
  background: var(--surf2);
  transition: border-color .2s, background .2s;
}
.purchase-type-option input[type="radio"] {
  width: 22px;
  height: 22px;
  accent-color: var(--a);
  flex-shrink: 0;
  margin-top: 1px;
  cursor: pointer;
}
.purchase-type-option:hover { border-color: var(--a); background: var(--al); }
.purchase-type-option:has(input:checked) {
  border-color: var(--a);
  background: var(--al);
}
.purchase-type-option:has(input:checked) > span {
  font-weight: 700;
  color: var(--t);
}
.qty-input {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.qty-input label { font-size: .78rem; color: var(--tm); }
.qty-input input,
input.qty-input {
  width: 80px;
  padding: 6px 10px;
  border: 1px solid var(--surf3);
  border-radius: var(--r-md);
  font-size: 14px;
  text-align: center;
  height: 44px;
  font-family: var(--mono);
  background: var(--surf);
  color: var(--t);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.qty-input input:focus,
input.qty-input:focus {
  border-color: var(--a);
  box-shadow: 0 0 0 3px var(--al);
}
.product-info .payment-methods-note {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--bdr);
  font-size: .8rem;
  color: var(--tm);
  line-height: 1.7;
}
.product-info .payment-methods-note h3 {
  font-size: .85rem;
  color: var(--t);
  margin-bottom: 8px;
}
.product-info .payment-methods-group { margin-bottom: 12px; }
.product-info .payment-methods-group:last-child { margin-bottom: 0; }
.product-info .payment-methods-note h4 {
  font-size: .8rem;
  font-weight: 700;
  color: var(--t);
  margin-bottom: 4px;
}
.product-info .payment-methods-note p { margin: 0; }
.product-info .payment-methods-note ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.product-info .payment-methods-note li { margin-bottom: 6px; }
.product-info .payment-methods-note li:last-child { margin-bottom: 0; }
@media (max-width: 480px) {
  .product-info .price { font-size: 2rem; }
  .purchase-type-option { padding: 12px; gap: 10px; font-size: 15px; }
}

/* ===== Cart ===== */
.cart-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.cart-table th {
  padding: 10px 16px;
  background: var(--surf2);
  color: var(--tm);
  font-weight: 400;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: left;
  border-bottom: 1px solid var(--bdr);
}
.cart-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--bdr);
  color: var(--tm);
  vertical-align: middle;
}
.cart-summary {
  text-align: right;
  font-size: 14px;
  padding: 16px 0;
  color: var(--tm);
}
.cart-summary .total {
  font-family: var(--mono);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--t);
}
@media (max-width: 640px) {
  .cart-table thead { display: none; }
  .cart-table tr {
    display: block;
    border: 1px solid var(--bdr);
    border-radius: 10px;
    margin-bottom: 12px;
    padding: 8px 0;
    background: var(--surf);
  }
  .cart-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px;
    border-bottom: 1px solid var(--bdr);
    font-size: 13px;
  }
  .cart-table td:last-child { border-bottom: none; }
  .cart-table td::before {
    content: attr(data-label);
    font-size: .72rem;
    letter-spacing: .06em;
    color: var(--tm);
    font-weight: 500;
    flex-shrink: 0;
    margin-right: 8px;
  }
  .cart-table td[data-label=""] { justify-content: flex-end; }
  .cart-table .qty-input { width: 72px; text-align: center; }
  .cart-summary { text-align: left; }
}

/* ===== Empty Cart State ===== */
.cart-empty {
  padding: 56px 0;
  text-align: center;
}
.cart-empty__msg {
  color: var(--tm);
  font-size: .95rem;
  margin-bottom: 28px;
}

/* ===== Page Header Row ===== */
.page-header-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.page-header-row h2 { margin: 0; }

/* ===== Checkout ===== */
.checkout-layout { display: flex; flex-direction: column; gap: 32px; }
.address-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 2px solid var(--bdr);
  border-radius: var(--r);
  padding: 14px 16px;
  margin-bottom: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--tm);
  background: var(--surf2);
  transition: border-color .2s, background .2s;
}
.address-option input[type="radio"] {
  width: 22px;
  height: 22px;
  accent-color: var(--a);
  flex-shrink: 0;
  margin-top: 1px;
  cursor: pointer;
}
.address-option:hover { border-color: var(--a); background: var(--al); }
.address-option:has(input:checked) {
  border-color: var(--a);
  background: var(--al);
}
.address-option:has(input:checked) > span {
  font-weight: 700;
  color: var(--t);
}
.address-empty {
  text-align: center;
  border: 2px dashed var(--bdr);
  border-radius: var(--r);
  padding: 28px 20px;
}
.address-empty p { margin: 0 0 16px; color: var(--tm); }
.checkout-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; }
@media (max-width: 768px) { .checkout-actions { flex-direction: column; } }
.deferred-payment-note { margin-top: 1rem; font-size: .8rem; line-height: 1.7; color: var(--tm); }
.deferred-payment-note--subscription { font-size: .9rem; }

/* ===== Mypage Tabs (segmented control) ===== */
.mypage-nav {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 24px;
  background: var(--surf2);
  border: 1px solid var(--bdr);
  border-radius: var(--r-full);
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.mypage-nav::-webkit-scrollbar { display: none; }
.mypage-nav a {
  display: inline-block;
  padding: 8px 20px;
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--tf);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .2s, color .2s, box-shadow .2s;
}
.mypage-nav a:hover { color: var(--t); background: rgba(255,255,255,.6); }
.mypage-nav a.active {
  background: var(--surf);
  color: var(--a);
  font-weight: 700;
  box-shadow: var(--sh-sm);
}
.mypage-nav a.active:hover { background: var(--surf); }
.mypage-nav a:focus-visible { outline: 2px solid var(--a); outline-offset: 2px; }

/* Account Settings */
.account-section {
  margin-top: 2rem;
  padding: 20px 24px;
  border: 1px solid var(--bdr);
  border-radius: var(--r-md);
  background: var(--surf);
  overflow: hidden;  /* 負マージンで全幅化した h3 の角を border-radius に沿ってクリップ */
}
main .account-section h3 {  /* main.container h3 の margin-bottom:1rem と同詳細度にして後勝ちさせる */
  margin: -20px -24px 16px;  /* カードの padding を打ち消して全幅バンド化（.order-detail h3 と同デザイン） */
  padding: 8px 24px;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
}
/* Danger Zone */
.danger-zone .alert {
  margin-top: 1.5rem;
}
.danger-zone {
  margin-top: 2rem;
  padding: 20px 24px;
  border: 1px solid rgba(192,57,43,.35);
  border-radius: var(--r-md);
  background: rgba(192,57,43,.04);
  overflow: hidden;
}
main .danger-zone h3 {  /* バンド形状は .account-section h3 と共通、配色のみ警告色 */
  margin: -20px -24px 16px;
  padding: 8px 24px;
  background: var(--c-danger-dk);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
}
.danger-zone p {
  color: var(--tm);
  font-size: 13px;
  margin: 0 0 16px;
}

.order-table,
.order-items {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--surf);
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--bdr);
  box-shadow: var(--sh-sm);
}
.order-table th,
.order-items th {
  padding: 10px 16px;
  background: var(--surf2);
  color: var(--tm);
  font-weight: 500;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: left;
  border-bottom: 1px solid var(--bdr);
}
.order-table td,
.order-items td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--bdr);
  color: var(--t);
  font-weight: 500;
  vertical-align: middle;
}
.order-table tbody tr:last-child td,
.order-items tbody tr:last-child td { border-bottom: none; }
.order-table tbody tr:hover td,
.order-items tbody tr:hover td { background: rgba(18,58,107,.04); }
.order-table,
.order-items { margin-bottom: 1rem; }
.clickable-row { cursor: pointer; }
@media (max-width: 640px) {
  .order-table { border: none; box-shadow: none; background: transparent; }
  .order-table thead { display: none; }
  .order-table tbody tr {
    display: block;
    border: 1px solid var(--bdr);
    border-radius: var(--r);
    margin-bottom: 12px;
    background: var(--surf);
    overflow: hidden;
  }
  .order-table tbody tr:last-child td { border-bottom: 1px solid var(--bdr); }
  .order-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 14px;
    border-bottom: 1px solid var(--bdr);
    font-size: 13px;
  }
  .order-table td:last-child { border-bottom: none; }
  .order-table td::before {
    content: attr(data-label);
    font-size: .7rem;
    letter-spacing: .06em;
    color: var(--tf);
    text-transform: uppercase;
    flex-shrink: 0;
    margin-right: 8px;
  }
  .order-table td[data-label=""] { justify-content: flex-end; }
  .order-table td[data-label=""]::before { display: none; }

  .order-items { border: none; box-shadow: none; background: transparent; }
  .order-items thead { display: none; }
  .order-items tbody tr {
    display: block;
    border: 1px solid var(--bdr);
    border-radius: var(--r);
    margin-bottom: 12px;
    background: var(--surf);
    overflow: hidden;
  }
  .order-items tbody tr:last-child td { border-bottom: 1px solid var(--bdr); }
  .order-items td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 14px;
    border-bottom: 1px solid var(--bdr);
    font-size: 13px;
  }
  .order-items td:last-child { border-bottom: none; }
  .order-items td::before {
    content: attr(data-label);
    font-size: .7rem;
    letter-spacing: .06em;
    color: var(--tf);
    text-transform: uppercase;
    flex-shrink: 0;
    margin-right: 8px;
  }

  .order-totals { text-align: left; }
}
.summary { font-size: 1rem; }
.summary p { margin-bottom: .25rem; }
.summary p:last-child { font-size: 1.1rem; margin-bottom: 0; }

/* ===== Cart / Checkout 商品テーブル強調（.cart-table / .order-items 共通値） ===== */
.cart-table,
.order-items {
  font-size: 15px;
  background: var(--surf);
  border: 1px solid var(--bdr-strong);
  border-radius: var(--r);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  box-shadow: var(--sh-sm);
}
.cart-table th,
.order-items th {
  background: var(--navy);
  color: #fff;
  font-weight: 500;
  border-bottom: none;
}
.cart-table td,
.order-items td {
  border-bottom: 1px solid var(--bdr-strong);
}
.cart-table td,
.checkout-items .order-items td {
  font-weight: 600;
  color: var(--t);
}
.cart-table tbody tr:nth-child(even) td,
.order-items tbody tr:nth-child(even) td {
  background: var(--sky);
}
.cart-table tbody tr:hover td,
.order-items tbody tr:hover td {
  background: rgba(18,58,107,.06);
}
.cart-table tbody tr:last-child td,
.order-items tbody tr:last-child td {
  border-bottom: none;
}
.cart-table td.item-name,
.order-items td.item-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--t);
  line-height: 1.45;
}
/* カート/チェックアウト商品テーブルのコンパクト化（.order-table・注文詳細には波及させない） */
.cart-table th,
.cart-table td,
.checkout-items .order-items th,
.checkout-items .order-items td { padding: 8px 16px; }
.cart-table input.qty-input { height: 36px; padding: 4px 10px; margin-bottom: 0; }
.cart-table .btn-sm { padding: 6px 14px; }
@media (max-width: 640px) {
  .cart-table,
  .order-items {
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    overflow: visible;
  }
  .cart-table tr,
  .order-items tbody tr {
    border: 1px solid var(--bdr-strong);
    box-shadow: var(--sh-sm);
    background: var(--surf);
  }
  .cart-table tbody tr:nth-child(even) td,
  .order-items tbody tr:nth-child(even) td {
    background: transparent;
  }
  .cart-table td,
  .order-items td {
    font-size: 14px;
  }
  .cart-table td.item-name,
  .order-items td.item-name {
    font-size: 15px;
  }
  .checkout-items .order-items td::before {
    font-weight: 400;
  }
}
.order-row {
  display: flex;
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid var(--bdr);
  padding: 10px 0;
  font-size: 14px;
}
.order-detail,
.order-address {
  background: var(--surf);
  padding: 16px 20px;
  border-radius: var(--r);
  border: 1px solid var(--bdr);
  margin-bottom: 16px;
  overflow: hidden;  /* 負マージンで全幅化した h3 の角を border-radius に沿ってクリップ */
}
main .order-detail h3,
main .order-address h3 {  /* main.container h3 の margin-bottom:1rem と同詳細度にして後勝ちさせる */
  margin: -16px -20px 12px;  /* カードの padding を打ち消して全幅バンド化（.order-items th と同配色） */
  padding: 8px 20px;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
}
.order-meta { margin: 0 0 6px; }
.order-meta__label {
  font-size: 13px;
  color: var(--tf);
  margin-right: .75em;
}
.order-meta__value {
  font-size: 15px;
  font-weight: 600;
  color: var(--t);
}
.order-totals { text-align: right; font-size: 14px; }
.address-card {
  background: var(--surf);
  border: 1px solid var(--bdr);
  border-radius: var(--r);
  padding: 16px 20px;
  margin-bottom: 10px;
  overflow: hidden;  /* 負マージンで全幅化した .badge-default の角を border-radius に沿ってクリップ */
}
.address-card.default { border-color: var(--a); }
.addr-info__name {
  margin: 0 0 4px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--t);
}
.addr-info__kana {
  font-size: .8rem;
  font-weight: normal;
  color: var(--tf);
}
.addr-info__addr {
  margin: 0 0 4px;
  font-size: 15px;
  color: var(--t);
}
.addr-info__zip { margin-right: .4em; }
.addr-info__tel {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--tf);
}
.badge-default {
  display: block;
  margin: -16px -20px 12px;  /* カードの padding を打ち消して全幅バンド化（.order-detail h3 と同デザイン） */
  padding: 8px 20px;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
}
.address-add-toggle { margin-top: 3rem; }
.address-add-note { margin-top: .75rem; font-size: .8rem; line-height: 1.7; color: var(--tm); }
.address-form { margin-top: 1rem; }
.purchase-badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  padding: 2px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.purchase-badge--sub { background: var(--a); color: #fff; }
.purchase-badge--one { background: var(--al); color: var(--a); border: 1px solid var(--bdr); }
.subscription-row {
  background: var(--surf);
  border: 1px solid var(--bdr);
  border-radius: var(--r);
  padding: 16px;
  margin-bottom: 16px;
  font-size: 14px;
}

/* ===== Cart Auth Pulse ===== */
.cart-auth__actions .btn-secondary {
  border-color: var(--a);
  color: var(--a);
  background: var(--al);
  font-weight: 600;
  animation: auth-btn-pulse 2.4s ease-in-out infinite;
}
.cart-auth__actions .btn-secondary:hover {
  background: var(--a);
  color: #fff;
  animation: none;
}
@keyframes auth-btn-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(18,58,107,.35); }
  50%       { box-shadow: 0 0 0 7px rgba(18,58,107,0); }
}

/* ===== Contact ===== */
.contact-wrap { max-width: 640px; }
.contact-wrap h2 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--t);
  margin-bottom: 28px;
  letter-spacing: .02em;
}

/* ===== Badge (cart count) ===== */
.badge {
  background: var(--g);
  color: #fff;
  font-size: .6rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 4px;
  vertical-align: middle;
}

/* ===== Text utilities ===== */
.text-center { text-align: center; }
.mt-3 { margin-top: 1rem; }

.withdraw-actions { display: flex; gap: 12px; align-items: center; margin-top: 24px; }

/* ===== Price Interval Label ===== */
.price-interval {
  font-size: .75em;
  font-weight: 400;
  color: var(--tm);
  margin-left: 3px;
}

/* ===== First-time Price Label ===== */
.price-strikethrough {
  text-decoration: line-through;
  color: var(--muted-2);
}
.first-time-price {
  display: block;
  font-size: .64em;
  font-weight: 600;
  color: #c43c3c;
  margin-top: 2px;
}
.product-info .first-time-price {
  font-size: .5em;
}
.cart-table .first-time-price,
.order-items .first-time-price {
  font-size: 1em;
}
.purchase-type-option .first-time-price {
  display: inline;
  font-size: 1em;
  margin-top: 0;
  margin-left: 4px;
}

/* ===== Static Pages (terms / privacy) ===== */
.static-page {
  max-width: 800px;
  margin: 0 auto;
  background: var(--surf);
  padding: 48px;
  border-radius: var(--r);
  border: 1px solid var(--bdr);
}
.static-page h1 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--bdr);
  color: var(--t);
  letter-spacing: .02em;
}
.static-page h2 {
  font-size: 1rem;
  font-weight: 500;
  margin-top: 28px;
  color: var(--t);
  letter-spacing: .03em;
}
.static-page p, .static-page li { line-height: 1.9; color: var(--tm); }
.static-page ul { padding-left: 1.5em; }
.static-page section { margin-bottom: 8px; }
.static-page-updated { margin-top: 28px; font-size: 13px; color: var(--tf); text-align: right; }
.tokushoho-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.tokushoho-table th,
.tokushoho-table td { padding: 14px 16px; border: 1px solid var(--bdr); line-height: 1.8; vertical-align: top; color: var(--tm); font-size: .9rem; }
.tokushoho-table th { width: 30%; background: var(--bg); color: var(--t); font-weight: 500; white-space: nowrap; }
@media (max-width: 768px) {
  .static-page { padding: 24px 20px; }
  .tokushoho-table th { width: auto; white-space: normal; }
  .tokushoho-table th,
  .tokushoho-table td { display: block; width: 100%; border-bottom: none; }
  .tokushoho-table tr { border-bottom: 1px solid var(--bdr); display: block; }
}

/* ===== FAQ ===== */
.faq-page { max-width: 860px; }
.faq-categories { margin-top: 8px; }
.faq-category { margin-bottom: 40px; }
.faq-category-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--a);
  border-bottom: 2px solid var(--a);
  padding-bottom: 8px;
  margin-bottom: 12px;
  letter-spacing: .04em;
}
.faq-item {
  border-bottom: 1px solid var(--bdr);
}
.faq-item:first-of-type { border-top: 1px solid var(--bdr); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 4px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--t);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '+';
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--a);
  transition: transform .2s;
  line-height: 1;
}
.faq-item[open] > .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  padding: 0 4px 20px;
  color: var(--tm);
  font-size: .9rem;
  line-height: 1.9;
}
.faq-contact-cta {
  margin-top: 40px;
  padding: 32px 24px;
  background: var(--bg);
  border-radius: var(--r);
  border: 1px solid var(--bdr);
  text-align: center;
}
.faq-contact-cta p {
  color: var(--tm);
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .faq-category-title { font-size: .9rem; }
  .faq-question { font-size: .88rem; padding: 16px 2px; }
}

/* ===== Cart Auth Prompt ===== */
.cart-auth {
  margin-top: 24px;
  padding: 24px 28px;
  background: var(--surf);
  border: 1px solid var(--bdr);
  border-radius: var(--r);
  text-align: center;
}
.cart-auth__message {
  color: var(--tm);
  margin-bottom: 20px;
  font-size: .95rem;
}
.cart-auth__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Order Complete ===== */
.order-complete {
  max-width: 480px;
  margin: 64px auto;
  padding: 48px 40px;
  background: var(--surf);
  border: 1px solid var(--bdr);
  border-radius: var(--r);
  text-align: center;
}
.order-complete__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--a);
  color: #fff;
  font-size: 1.75rem;
  margin: 0 auto 24px;
}
.order-complete__title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--t);
  margin-bottom: 12px;
}
.order-complete__message {
  color: var(--tm);
  margin-bottom: 32px;
  line-height: 1.7;
}
.order-complete__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (max-width: 480px) {
  .order-complete { margin: 32px 16px; padding: 32px 24px; }
}

.cart-table .tax-label,
.order-table .tax-label,
.order-items .tax-label,
.order-totals .tax-label {
  font-size: 0.7em;
  color: var(--t);
  opacity: 1;
}
.first-time-price .tax-label {
  font-size: 0.7em;
}
.purchase-type-option > span > .tax-label {
  font-size: 0.65em;
  color: var(--t);
  opacity: 1;
}

.form-error {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 10px 14px;
  background: #fff5f5;
  border: 1.5px solid #f87171;
  border-radius: var(--r-md);
  color: var(--c-danger);
  font-size: .875rem;
  font-weight: 600;
}
.form-error::before {
  content: '⚠';
  flex-shrink: 0;
  font-size: 1rem;
}

/* ===== LP セクション（ホームページ用 — LP案 1a/2a「王道・信頼ブルー」より移植） =====
   モバイル（1a: 390px カンプ）基準で記述し、min-width:900px で PC（2a: 1200px カンプ）
   のレイアウトに切り替える。配色は tokens.css の一次トークンを参照。 */

.full-bleed { width: 100vw; margin-left: calc(50% - 50vw); }
/* 100vw はスクロールバー幅を含むため、クラシックスクロールバー環境では
   full-bleed が横あふれする — clip で吸収する（スクロールコンテナ化しない） */
html, body { overflow-x: clip; }

.accent-orange { color: var(--orange); }
.accent-purple { color: var(--purple); }
.hl { color: var(--navy-hl); }
.tel-strong { font-weight: 700; color: var(--ink); text-decoration: none; }

html { scroll-behavior: smooth; }
#purchase { scroll-margin-top: 72px; }

.lp-h2 {
  margin: 0;
  text-align: center;
  font-size: 24px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.4;
}

/* プレースホルダー（実素材支給後に差し替え） */
.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font: 11px/1.5 var(--sans);
  color: var(--body-soft);
  background: repeating-linear-gradient(45deg, #dbe7f4, #dbe7f4 10px, #e9f1fa 10px, #e9f1fa 20px);
}
.ph--gray   { background: repeating-linear-gradient(45deg, #eef2f7, #eef2f7 10px, #f7fafc 10px, #f7fafc 20px); }
.ph--warm   { color: #8a5e12; background: repeating-linear-gradient(45deg, #fdeeda, #fdeeda 10px, #fef6ea 10px, #fef6ea 20px); }
.ph--purple { color: var(--purple); background: repeating-linear-gradient(45deg, #efe4f7, #efe4f7 10px, #f7f0fc 10px, #f7f0fc 20px); }
.ph--navy   { color: var(--on-navy-dim); background: repeating-linear-gradient(45deg, #1b4374, #1b4374 12px, #245084 12px, #245084 24px); }

/* ---- CTA ボタン ---- */
.btn-cta {
  display: block;
  background: var(--orange);
  color: #fff;
  border-radius: var(--r-md);
  padding: 18px 12px;
  text-align: center;
  font-size: 21px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 4px 0 var(--orange-sh);
}
.btn-cta:hover { filter: brightness(1.06); }
.btn-cta:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--orange-sh); }

/* ---- 告知バー ---- */
.notice-bar { background: var(--navy); color: #fff; }
.notice-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
}
.notice-bar__brand { font-size: 13px; font-weight: 700; letter-spacing: .05em; white-space: nowrap; }
.notice-bar__badges { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.pill { border-radius: 3px; padding: 2px 8px; font-size: 11px; white-space: nowrap; }
.pill--fill { background: #fff; color: var(--navy); font-weight: 700; }
.pill--outline { border: 1px solid rgba(255,255,255,.6); color: #fff; }
.notice-bar__order {
  background: var(--orange);
  color: #fff;
  border-radius: 6px;
  padding: 8px 20px;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
}

/* ---- ① ファーストビュー ---- */
.hero { background: linear-gradient(175deg, var(--sky-3) 0%, var(--sky-2) 55%, #fff 100%); }
.hero__inner { padding: 28px 20px 24px; text-align: center; }
.hero__eyebrow { margin: 0; font-size: 15px; font-weight: 700; color: var(--navy); letter-spacing: .04em; }
.hero__title {
  margin: 12px 0 0;
  font-size: 29px;
  line-height: 1.35;
  font-weight: 900;
  color: var(--navy);
  text-wrap: pretty;
}
.hero__pills { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.ing-pill {
  color: #fff;
  border-radius: var(--r-full);
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.ing-pill--navy { background: var(--navy-2); }
.ing-pill--purple { background: var(--purple); }
.hero__visual { margin-top: 20px; display: flex; justify-content: center; }
.hero__product { width: 230px; height: 230px; border-radius: var(--r); object-fit: cover; }

/* ---- 販売開始テキスト（正式公開前のみ。1 行 1 ブロック。日付のみオレンジ、背景なし） ---- */
.release-badge {
  display: block;
  margin: 0 0 10px;
  white-space: nowrap;
  line-height: 1.3;
  letter-spacing: .02em;
  color: var(--navy);
  font-size: 24px;
  font-weight: 900;
}
.release-badge__date { color: var(--orange); }
.release-badge__num { font-size: 1.4em; line-height: 1; }

/* FV 直下の注文ブロック（SPのみ） */
.hero-order { padding: 18px 20px 26px; background: #fff; text-align: center; }
.hero-order__note { margin: 0 0 10px; font-size: 15px; font-weight: 700; color: var(--navy); }
.hero-order__tel { margin: 8px 0 0; font-size: 13px; color: var(--body-soft); }
.hero-order__tel .tel-strong { font-size: 16px; }

/* ---- ② お悩み ---- */
.worries { background: var(--sky); }
.worries__inner { padding: 30px 20px; }
.worries__list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.worry {
  background: #fff;
  border-radius: var(--r-md);
  padding: 14px 16px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  text-align: left;
}
.worry__check {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.worry__check--navy { background: var(--navy-2); }
.worry__check--purple { background: var(--purple); }
.worries__lead {
  margin: 18px auto 0;
  background: var(--navy);
  color: #fff;
  border-radius: var(--r-md);
  padding: 16px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
}

/* ---- ③ 選ばれる3つの特長 ---- */
.features { background: #fff; }
.features__inner { padding: 30px 20px; }
.features__label {
  margin: 0;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: .15em;
}
.features__inner .lp-h2 { margin-top: 4px; }
.features__grid { display: flex; flex-direction: column; gap: 22px; margin-top: 20px; }
.fcard { border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.fcard--blue { border: 2px solid var(--sky-line); }
.fcard--orange { border: 2px solid var(--orange-line2); }
.fcard__head {
  color: #fff;
  padding: 12px 16px;
  font-size: 18px;
  font-weight: 900;
  display: flex;
  gap: 10px;
  align-items: center;
}
.fcard__head--navy { background: var(--navy-2); }
.fcard__head--orange { background: var(--orange); }
.fcard__no {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.fcard__no--orange { background: var(--orange); }
.fcard__no--navy { background: var(--navy-2); }
.fcard__body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.fcard__lead { margin: 0; font-size: 17px; font-weight: 700; color: var(--navy); line-height: 1.5; }
.fcard__benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.benefit {
  margin: 0;
  border-radius: var(--r-sm);
  padding: 12px 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}
.benefit--blue { background: var(--sky); color: var(--navy-2); }
.benefit--purple { background: var(--tint-purple); color: var(--purple); }
.fcard__text { margin: 0; font-size: 15px; line-height: 1.7; }
.fcard__ph { height: 100px; border-radius: var(--r-sm); }
img.fcard__ph { width: 100%; object-fit: contain; background: #fff; }
.fcard__pair { display: flex; gap: 8px; }
.fcard__pair .ph { flex: 1; height: 80px; border-radius: var(--r-sm); }
.fcard__pair .fcard__pair-img { flex: 1; min-width: 0; width: 50%; height: 80px; object-fit: contain; border-radius: var(--r-sm); background: #fff; }
/* 研究報告グラフのカルーセル（Swiper）。高さは見出しの min-height ＋ 画像の aspect-ratio で確定させる */
.research-swiper { width: 100%; min-width: 0; --swiper-theme-color: var(--orange); }
/* PC ではカード本体（flex 列）内で高さが確定するため、wrapper/slide の height:100% が
   ページネーション込みの高さに解決されて溢れる。内容高さ（見出し＋画像）に固定する */
.research-swiper .swiper-wrapper,
.research-swiper .swiper-slide { height: auto; }
.research-swiper .swiper-pagination { position: static; margin-top: 6px; }
.research-swiper .swiper-button-prev,
.research-swiper .swiper-button-next { width: 28px; height: 28px; margin-top: -14px; }
.chart { margin: 0; }
.chart__title {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-height: 67px; /* SP は最大 3 行（約 20.5px × 3）＋ 上 1px ＋ 下 4px */
  padding-bottom: 4px;
  border-bottom: 2px solid var(--orange);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy);
}
.chart__tag {
  flex: none;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}
/* 1 行目の中心をラベル（12px・上下 3px パディング）の中心に揃える */
.chart__text { min-width: 0; padding-top: 1px; }
.fcard__chart { display: block; width: 100%; height: auto; aspect-ratio: 472 / 268; margin-top: 6px; border-radius: var(--r-sm); background: #fff; }
/* 研究報告の試験条件（3枚共通・スライドしない） */
.study {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 4px;
  row-gap: 2px;
  margin: 0;
  font-size: 11px;
  line-height: 1.6;
  color: var(--body-soft);
}
.study dt { margin: 0; font-weight: 700; white-space: nowrap; }
.study dd { margin: 0; min-width: 0; }
.study__note { margin: 0; font-size: 10px; line-height: 1.6; color: var(--body-soft); }
/* 1000px 以上ではグラフ見出しが 3 枚とも 2 行以内に収まるので、帯の最小高さを 2 行分に詰める
   （900〜999px は 3 枚目が 3 行になるため 3 行分のまま） */
@media (min-width: 1000px) {
  .chart__title { min-height: 47px; }
}

/* ---- ④ 新聞社の安心感 ---- */
.trust { background: var(--navy); color: #fff; }
.trust__inner { padding: 32px 20px; text-align: center; }
.trust__tag {
  font-size: 13px;
  letter-spacing: .2em;
  color: var(--on-navy-dim);
  font-weight: 700;
}
.trust__title { margin: 8px 0 0; font-size: 23px; font-weight: 900; line-height: 1.5; color: #fff; }
.trust__text { margin: 14px 0 0; font-size: 16px; line-height: 1.8; color: var(--on-navy); text-align: left; }
.trust__text b { color: #fff; }
.trust__notes { margin: 14px 0 0; padding: 0; list-style: none; text-align: left; }
.trust__notes li {
  position: relative;
  padding-left: 1.2em;
  font-size: 13px;
  line-height: 1.8;
  color: var(--on-navy-dim);
}
.trust__notes li::before { content: "・"; position: absolute; left: 0; }

/* ---- ⑤ ご購入・お申し込み ---- */
.purchase { background: var(--cream); }
.purchase__inner { padding: 30px 20px; }
.purchase__grid { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.purchase__left { display: flex; flex-direction: column; gap: 16px; }
.product-box {
  background: #fff;
  border-radius: var(--r);
  border: 2px solid var(--orange-line);
  padding: 16px;
}
.product-box__head { display: flex; gap: 14px; align-items: center; }
.product-box__photo {
  flex: none;
  width: 84px;
  height: 84px;
  border-radius: var(--r-sm);
  object-fit: cover;
  font-size: 10px;
}
.product-box__name { margin: 0; font-size: 17px; font-weight: 900; color: var(--navy); }
.product-box__spec { margin: 4px 0 0; font-size: 14px; color: #6b5a3e; }
.plans { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.plan {
  border: 2px solid var(--sky-line);
  border-radius: var(--r-md);
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.plan--featured { border: 3px solid var(--orange); position: relative; }
.plan__ribbon {
  position: absolute;
  top: -12px;
  left: 12px;
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--r-full);
  padding: 2px 10px;
}
.plan__name { margin: 0; font-size: 16px; font-weight: 700; }
.plan__note { margin: 0; font-size: 13px; color: var(--muted-2); }
.plan__prices { display: flex; flex-direction: column; gap: 4px; text-align: right; }
.plan__price { margin: 0; font-size: 20px; font-weight: 900; color: var(--navy); text-align: right; }
.plan__price--orange { color: var(--orange-dk); }
.plan__price-label { font-size: 13px; font-weight: 700; margin-right: 4px; }
.phone-box {
  background: #fff;
  border-radius: var(--r);
  border: 2px solid var(--sky-line);
  padding: 16px;
  text-align: center;
}
.phone-box__label { margin: 0; font-size: 15px; font-weight: 700; color: var(--navy); }
.phone-box__tel {
  margin: 6px 0 0;
  font-size: 31px;
  font-weight: 900;
  color: var(--navy-2);
  letter-spacing: .02em;
}
.phone-box__tel a { color: inherit; text-decoration: none; }
.phone-box__hours { margin: 4px 0 0; font-size: 13px; color: var(--muted-2); }
.phone-box__note { margin: 10px 0 0; font-size: 13px; color: var(--navy-2); text-align: left; }
.phone-box__note p { margin: 0 0 4px; }
.phone-box__note-caution { color: var(--muted-2); }
.phone-box__fax { margin: 10px 0 0; font-size: 14px; color: var(--navy-2); font-weight: 700; }
.phone-box__fax a { color: inherit; text-decoration: underline; }
.phone-box__fax a:hover { opacity: .7; }
.payment-box {
  background: #fff;
  border-radius: var(--r);
  border: 2px solid var(--sky-line);
  padding: 16px;
  font-size: 14px;
  line-height: 1.8;
}
.payment-box__title { margin: 0; font-size: 16px; font-weight: 900; color: var(--navy); }
.payment-box__head { margin: 12px 0 0; font-size: 14px; font-weight: 700; color: var(--navy-2); }
.payment-box__list { margin: 4px 0 0; padding: 0; list-style: none; }
.payment-box__list li { padding-left: 1em; text-indent: -1em; }
.payment-box__list li::before { content: "・"; }
.payment-box__banner { margin-top: 12px; max-width: 100%; height: auto; }
.payment-box__em { color: #c43c3c; font-weight: 900; }
.payment-box__list a { color: inherit; text-decoration: underline; }
.payment-box__list a:hover { opacity: .7; }
.payment-box__list a:has(.payment-box__banner) { text-decoration: none; }
.payment-box__link { color: inherit; text-decoration: underline; }
.payment-box__link:hover { opacity: .7; }
.purchase__cta { width: 100%; }

/* ---- ⑥ 栄養成分・免責 ---- */
.legal { background: var(--gray-bg); color: var(--legal-c); }
.legal__inner { padding: 24px 20px; font-size: 13px; line-height: 1.8; }
.legal__col + .legal__col { margin-top: 14px; }
.legal__head { margin: 14px 0 0; font-size: 15px; font-weight: 900; color: var(--navy); }
.legal__col .legal__head:first-child { margin-top: 0; }
.legal__panel { margin-top: 8px; background: #fff; border-radius: var(--r-sm); padding: 12px 14px; }
.legal__nutrition { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 16px; }
.legal__row { display: flex; justify-content: space-between; }
.legal__row:last-child { grid-column: 1 / -1; }
.legal__strong { font-size: 14px; font-weight: 700; color: var(--navy-2); }
.legal__caution { margin: 14px 0 0; }
.legal__caution + .legal__caution { margin-top: 8px; }

/* ---- ⑦ お問い合わせ ---- */
.contact-banner { background: #fff; border-top: 1px solid var(--sky-line); }
.contact-banner__inner { padding: 30px 20px; text-align: center; }
.contact-banner__text { margin: 12px 0 0; font-size: 15px; line-height: 1.8; color: var(--body-soft); }
.contact-banner__cta {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 32px;
  border: 2px solid var(--navy);
  border-radius: var(--r-md);
  color: var(--navy);
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
  background: #fff;
}
.contact-banner__cta:hover { background: var(--sky); }

/* ---- スマホ固定CTA ---- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.95);
  border-top: 1px solid #dbe3ec;
}
body:has(.sticky-cta) { padding-bottom: 76px; }
/* LP（=.hero を持つホーム）ではセクションを密着させる（.sticky-cta は公開前は無いので .hero で判定） */
body:has(.hero) main.container { padding-top: 0; padding-bottom: 0; }
body:has(.hero) .site-footer { margin-top: 0; }
.sticky-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  padding: 12px 6px;
  font-weight: 900;
  text-decoration: none;
  text-align: center;
  line-height: 1.3;
}
.sticky-cta__btn--tel {
  flex: 1;
  background: #fff;
  border: 2px solid var(--navy-2);
  color: var(--navy-2);
  font-size: 14px;
}
.sticky-cta__btn--web {
  flex: 1.4;
  background: var(--orange);
  color: #fff;
  font-size: 15px;
  box-shadow: 0 3px 0 var(--orange-sh);
}

/* ===== LP レスポンシブ ===== */
@media (max-width: 899px) {
  .pc-only { display: none !important; }
}
@media (min-width: 900px) {
  .sp-only { display: none !important; }

  .lp-h2 { font-size: 32px; }

  /* 告知バー */
  .notice-bar__inner { padding: 14px 48px; max-width: 1200px; margin: 0 auto; }
  .notice-bar__brand { font-size: 16px; }
  .pill { font-size: 13px; padding: 4px 12px; }

  /* FV */
  .hero { background: linear-gradient(105deg, var(--sky-3) 0%, var(--sky-2) 60%, var(--sky-4) 100%); }
  .hero__inner {
    display: grid;
    grid-template-columns: 1fr min(420px, 36vw);
    gap: 40px;
    align-items: center;
    padding: 56px 48px;
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
  }
  .hero__eyebrow { font-size: 19px; }
  .hero__title { margin-top: 16px; font-size: 46px; }
  .hero__pills { justify-content: flex-start; gap: 12px; margin-top: 22px; }
  .ing-pill { padding: 8px 22px; font-size: 16px; }
  .hero__cta-row { margin-top: 28px; display: flex; gap: 16px; align-items: center; }
  .hero__cta-row .btn-cta { display: inline-block; padding: 20px 38px; font-size: 22px; }
  .hero__tel { margin: 0; font-size: 14px; color: var(--legal-c); line-height: 1.5; }
  .hero__tel .tel-strong { font-size: 20px; color: var(--navy); }
  .hero__note { margin: 14px 0 0; font-size: 15px; font-weight: 700; color: var(--navy); }
  .release-badge { margin: 28px 0 0; font-size: 32px; }
  .hero__visual { margin-top: 0; }
  .hero__product { width: min(420px, 36vw); height: auto; aspect-ratio: 1 / 1; border-radius: 16px; font-size: 13px; }

  /* お悩み */
  .worries__inner { padding: 56px 48px; max-width: 1200px; margin: 0 auto; }
  .worries__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 28px auto 0;
    max-width: 900px;
  }
  .worry { border-radius: var(--r); padding: 20px 22px; gap: 12px; font-size: 18px; line-height: 1.6; }
  .worry__check { width: 30px; height: 30px; font-size: 16px; }
  .worries__lead { margin-top: 28px; max-width: 640px; border-radius: var(--r); padding: 22px; font-size: 22px; }

  /* 特長 */
  .features__inner { padding: 56px 48px; max-width: 1200px; margin: 0 auto; }
  .features__label { font-size: 15px; letter-spacing: .2em; }
  .features__inner .lp-h2 { margin-top: 6px; }
  .features__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto;
    gap: 24px;
    margin-top: 32px;
  }
  /* 特長1 は左カラムで 2 行分。特長2・3 は自動配置で右カラムに上下に並ぶ */
  .features__grid > .fcard:first-child { grid-row: 1 / span 2; }
  .fcard { border-radius: 14px; }
  .fcard__head { padding: 16px 20px; font-size: 19px; gap: 12px; }
  .fcard__no { width: 36px; height: 36px; font-size: 18px; }
  .fcard__body { padding: 20px; }
  .benefit { padding: 12px 8px; font-size: 13px; }
  .fcard__text { font-size: 14px; line-height: 1.75; }
  .fcard__ph, .fcard__pair, .fcard__charts { margin-top: auto; }
  /* 右列（特長2・3）はカード幅が広がるぶん画像も大きくして余白を埋める */
  .fcard__pair .fcard__pair-img { height: 120px; }
  .fcard__ph { height: 140px; }

  /* 安心感 */
  .trust__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 56px 48px;
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
  }
  .trust__tag { font-size: 14px; letter-spacing: .25em; }
  .trust__title { margin-top: 10px; font-size: 32px; }
  .trust__text { margin-top: 0; font-size: 17px; line-height: 1.9; }
  .trust__notes { margin-top: 16px; }
  .trust__notes li { font-size: 14px; }

  /* ご購入 */
  .purchase__inner { padding: 40px 48px; max-width: 1200px; margin: 0 auto; }
  .purchase__grid { gap: 24px; margin-top: 24px; max-width: 960px; margin-left: auto; margin-right: auto; }
  .purchase__left {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    grid-template-rows: auto 1fr;
    gap: 20px 28px;
  }
  .product-box { grid-row: 1 / 3; border-radius: 14px; padding: 20px; }
  .product-box__head { gap: 16px; }
  .product-box__photo { width: 96px; height: 96px; border-radius: var(--r-md); }
  .product-box__name { font-size: 19px; }
  .plans { margin-top: 18px; }
  .plan { padding: 14px 16px; }
  .plan__name { font-size: 17px; }
  .plan__price { font-size: 22px; }
  .plan__ribbon { left: 14px; padding: 2px 12px; }
  .phone-box {
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .phone-box__label { font-size: 16px; }
  .phone-box__tel { font-size: 36px; }
  .payment-box { grid-column: 1 / -1; border-radius: 14px; padding: 20px; }
  .purchase__cta { padding: 20px; font-size: 22px; }

  /* 免責 */
  .legal__inner {
    display: grid;
    grid-template-columns: 0.85fr 1.45fr 1fr;
    grid-template-areas:
      "facts claim materials"
      "caution caution caution";
    gap: 20px 36px;
    padding: 36px 48px;
    max-width: 1200px;
    margin: 0 auto;
  }
  .legal__col + .legal__col { margin-top: 0; }
  .legal__col--facts { grid-area: facts; }
  .legal__col--claim { grid-area: claim; }
  .legal__col--materials { grid-area: materials; }
  .legal__cautions { grid-area: caution; }
  .legal__cautions .legal__caution:first-child { margin-top: 0; }
  .legal__nutrition { grid-template-columns: 1fr; gap: 3px; }
  .legal__row:last-child { grid-column: auto; }

  /* お問い合わせ */
  .contact-banner__inner { padding: 48px 20px; max-width: 640px; margin: 0 auto; }
  .contact-banner__text { font-size: 16px; }

  /* 固定CTA */
  .sticky-cta { display: none; }
  body:has(.sticky-cta) { padding-bottom: 0; }
}

/* ===== メンテナンスモード（管理者プレビュー） ===== */
.maintenance-preview-banner {
  background: var(--c-warning);
  color: #fff;
  text-align: center;
  padding: 6px 12px;
  font-size: 0.85rem;
}
.maintenance-preview-banner a { color: inherit; text-decoration: underline; }

/* ===== サイトお知らせバナー ===== */
.site-notice-banner {
  background: var(--gray-bg);
  color: var(--ink);
  text-align: center;
  padding: 6px 12px;
  font-size: 0.85rem;
}
.site-notice-label {
  display: inline-block;
  background: var(--a);
  color: #fff;
  border-radius: var(--r-full);
  padding: 2px 14px;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .02em;
  margin-right: 10px;
}
