/*
* EVRIS スタイル構成
* 01. 基本設定
* 02. ヘッダー
* 03. 共通コンポーネント
* 04. モーダル・カート・アカウント
* 05. ホームページ
* 06. 商品一覧・商品詳細ページ
* 07. レスポンシブ
* 08. アニメーション・印刷
*/

/* ========================================================================== */
/* 01. 基本設定 — カラー、リセット、文字 */
/* ========================================================================== */

:root {
  --ivory: #f4f4f1;
  --paper: #fffdfa;
  --mist: #ece9e2;
  --stone: #c8c0b4;
  --silver: #9e9f9c;
  --ink: #24231f;
  --soft-ink: #67625b;
  --sage: #8d9a8b;
  --charcoal: #11110f;
  --line: rgba(36, 35, 31, 0.14);

  --sans: "Inter", "Helvetica Neue", Arial, "Hiragino Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  letter-spacing: 0;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

button {
  letter-spacing: 0;
}

h1,
h2,
h3,
.large-serif {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
}

h1 {
  max-width: 400px;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.6vw, 2.6rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.01em;
}

/* ========================================================================== */
/* 02. ヘッダー — お知らせ、ナビゲーション、言語・通貨 */
/* ========================================================================== */

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 58px;
  padding: 0 clamp(18px, 4vw, 48px);
  border-bottom: 1px solid #e8e6df;
  background: var(--paper);
  color: var(--ink);
  mix-blend-mode: normal;
}

.brand-mark,
footer p {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.75rem);
  font-weight: 500;
  line-height: 1;
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2vw, 30px);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

nav a,
.header-actions a,
.header-actions button {
  position: relative;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-transform: inherit;
  opacity: 0.84;
  transition: opacity 180ms ease;
}

nav a::after,
.header-actions a::after,
.header-actions button::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

nav a:hover,
.header-actions a:hover,
.header-actions button:hover {
  opacity: 1;
}

nav a:hover::after,
.header-actions a:hover::after,
.header-actions button:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.68rem;
  font-weight: 450;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.header-actions #cartCount {
  display: inline-grid;
  width: 18px;
  height: 18px;
  margin-left: 4px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.66rem;
}

.header-actions .cart-label {
  display: inline;
  width: auto;
  height: auto;
  margin: 0;
  border: 0;
  border-radius: 0;
  font-size: inherit;
}

.header-actions button {
  white-space: nowrap;
}

.top-message {
  display: grid;
  min-height: 28px;
  place-items: center;
  border-bottom: 1px solid #e8e6df;
  background: #fbfaf7;
  color: #77736b;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-mark {
  font-family: var(--sans);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.22em;
}

nav a {
  opacity: 1;
}

.locale-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

.locale-controls select {
  display: none !important;
  height: 28px;
  min-width: 58px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.64rem;
  font-weight: 500;
  outline-offset: 4px;
  text-transform: uppercase;
}

.dropdown-options {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 150;
  display: none;
  min-width: 86px;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 6px 20px rgba(17, 17, 15, 0.08);
}

.custom-dropdown.is-active .dropdown-options {
  display: block;
}

.dropdown-options li {
  padding: 7px 14px;
  color: var(--soft-ink);
  font-size: 0.66rem;
  font-weight: 450;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
  text-align: left;
}

.dropdown-options li:hover {
  background: var(--ivory);
  color: var(--ink);
}

.dropdown-options li.is-selected {
  color: var(--ink);
  font-weight: 600;
  background: rgba(36, 35, 31, 0.03);
}

.home-page .site-header,
.home-page .hero,
.home-page footer {
  --paper: #11110f;
  --ivory: #232421;
  --ink: #f1efe9;
  --soft-ink: #c4c7bf;
  --line: rgba(241, 239, 233, 0.28);
}

.home-page .top-message {
  display: none;
}

.home-page .site-header {
  position: fixed;
  top: 0;
  background: rgba(11, 11, 10, 0.78);
  border-bottom-color: var(--line);
  color: var(--ink);
  transition:
    background-color 240ms ease,
    border-color 240ms ease,
    color 240ms ease;
}

.home-page .site-header.is-past-hero {
  --paper: #fffdfa;
  --ivory: #f4f4f1;
  --ink: #24231f;
  --soft-ink: #67625b;
  --line: rgba(36, 35, 31, 0.14);
  border-bottom-color: #e8e6df;
  background: var(--paper);
  color: var(--ink);
}

.home-page .brand-mark {
  font-family: var(--sans);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.home-page main section[id] {
  scroll-margin-top: 100px;
}

.home-page nav a,
.home-page .header-actions a,
.home-page .header-actions button {
  color: var(--ink);
}

/* ========================================================================== */
/* 03. 共通コンポーネント — ボタン、商品カード、フッター */
/* ========================================================================== */

.kicker {
  margin: 0 0 18px;
  color: inherit;
  font-size: 0.73rem;
  font-weight: 500;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.7rem;
  font-weight: 450;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition:
    background 220ms ease,
    color 220ms ease,
    transform 220ms ease;
}

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

.button.primary {
  background: var(--ink);
  color: var(--paper);
}

.button.secondary:hover,
.button.light:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.button.dark {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.button.light {
  border-color: var(--line);
  color: var(--ink);
}

.section {
  padding: clamp(72px, 8vw, 118px) clamp(20px, 6vw, 82px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(120px, 0.22fr) 1fr;
  gap: clamp(26px, 6vw, 84px);
  align-items: start;
  margin-bottom: clamp(34px, 5vw, 64px);
}

.section-heading h2 {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.4vw, 2.3rem);
  font-weight: 400;
  line-height: 1.18;
}

.story h2 {
  font-size: clamp(2.35rem, 5vw, 5.5rem);
  line-height: 1.04;
}

.item-meta {
  margin: 0;
  color: var(--silver);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.large-serif {
  margin-bottom: 24px;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.6;
}

.buy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
  margin-top: 22px;
}

.buy-row strong {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
}

.mini-button,
.cart-button,
.filters button {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  transition:
    background 200ms ease,
    border-color 200ms ease,
    color 200ms ease,
    transform 200ms ease;
}

.mini-button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 16px;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.mini-button:hover,
.cart-button:hover,
.filters button:hover,
.filters button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.daily {
  background: var(--paper);
}

.section-heading.wide {
  grid-template-columns: minmax(160px, 0.28fr) minmax(280px, 0.9fr) minmax(250px, 0.54fr);
  align-items: end;
}

.daily-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.daily-grid article {
  min-height: 520px;
  padding: clamp(18px, 3vw, 34px);
  background: var(--paper);
}

.daily-grid img {
  aspect-ratio: 1 / 1.16;
  height: auto;
  margin-bottom: 24px;
  background: var(--ivory);
  transition:
    filter 220ms ease,
    transform 420ms ease;
}

.daily-grid article:hover img {
  filter: saturate(0.88) contrast(1.03);
  transform: translateY(-4px);
}

.daily-grid h3 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.8vw, 1.7rem);
  font-weight: 400;
}

.story {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(260px, 0.58fr);
  gap: clamp(32px, 7vw, 108px);
  align-items: end;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f3f1ec;
}

.story>p {
  max-width: 580px;
  margin: 0;
  font-size: 1.02rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
}

.filters button {
  min-height: 36px;
  padding: 0 13px;
  border-radius: 0;
  font-size: 0.76rem;
}

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

.product-card a {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--paper);
}

.product-card img {
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: contain;
  transition:
    opacity 220ms ease,
    transform 500ms ease;
}

.hover-label {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 10px 14px;
  background: rgba(255, 253, 250, 0.86);
  color: var(--ink);
  font-size: 0.72rem;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.product-card a:hover img {
  opacity: 0.86;
  transform: scale(1.035);
}

.product-card a:hover .hover-label {
  opacity: 1;
  transform: translateY(0);
}

.product-info {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 5px;
  padding-top: 14px;
  color: var(--soft-ink);
  font-size: 0.76rem;
}

.product-info p {
  margin: 0;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.product-info small {
  display: block;
  margin-top: 5px;
  color: var(--silver);
  font-size: 0.68rem;
  line-height: 1.35;
}

.cart-button {
  width: 100%;
  min-height: 36px;
  margin-top: 14px;
  font-size: 0.7rem;
  font-weight: 450;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.icon-close {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.qty-button {
  width: 32px;
}

.remove-button {
  padding: 0 10px;
  color: var(--soft-ink);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.forgot-password {
  appearance: none;
  justify-self: start;
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--soft-ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  text-decoration: none;
  text-underline-offset: 5px;
  text-transform: none;
}

.forgot-password:hover,
.forgot-password:focus-visible {
  outline: 0;
  text-decoration: underline;
}

.form-message {
  min-height: 1.4em;
  margin: 0;
  font-size: 0.82rem;
}

footer {
  display: grid;
  grid-template-columns: 150px 1fr minmax(260px, 0.7fr);
  min-height: 280px;
  align-items: start;
  justify-content: space-between;
  gap: 26px;
  padding: clamp(42px, 7vw, 72px) clamp(20px, 6vw, 82px);
  border-top: 1px solid rgba(241, 239, 233, 0.28);
  background: #11110f;
  color: #f1efe9;
}

footer span {
  max-width: none;
  color: rgba(241, 239, 233, 0.72);
  font-size: 0.74rem;
  font-weight: 400;
  line-height: 1.8;
  text-align: left;
}

.button.secondary,
.button.light {
  border-color: var(--line);
}

.kicker,
.section-label small,
.section-label a {
  font-size: 0.7rem;
  font-weight: 450;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-label {
  display: grid;
  gap: 12px;
  align-content: start;
}

.section-label small {
  color: var(--soft-ink);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0;
  text-transform: none;
}

.section-label a {
  margin-top: 14px;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.shop-tools {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, 260px) auto;
  gap: 12px;
  align-items: end;
  margin: -28px 0 34px;
}

.shop-tools input,
.shop-tools select {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.78rem;
  text-transform: none;
}

.shop-tools p {
  margin: 0;
  color: var(--soft-ink);
  font-size: 0.72rem;
  text-align: right;
  text-transform: uppercase;
}

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

.material-story {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 1fr;
  gap: clamp(28px, 6vw, 74px);
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: #f6f4ef;
}

.material-story img {
  aspect-ratio: 16 / 9.5;
  max-height: 420px;
  height: auto;
}

.material-story p:not(.kicker) {
  color: var(--soft-ink);
  line-height: 1.8;
}

footer p {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.22em;
}

footer div {
  display: grid;
  gap: 12px;
}

footer a {
  position: relative;
  width: fit-content;
  color: rgba(241, 239, 233, 0.72);
  font-size: 0.74rem;
  font-weight: 400;
  line-height: 1.8;
  text-align: left;
  transition: color 180ms ease, transform 180ms ease;
}

footer a::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

footer a:hover,
footer a:focus-visible {
  color: #f1efe9;
  transform: translateX(3px);
}

footer a:hover::after,
footer a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.custom-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 4px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 200ms ease;
  user-select: none;
}

.dropdown-trigger:hover {
  border-bottom-color: var(--ink);
}

.dropdown-trigger .chevron {
  transition: transform 200ms ease;
  opacity: 0.6;
}

.custom-dropdown.is-active .dropdown-trigger .chevron {
  transform: rotate(180deg);
}

.catalog-sort-dropdown {
  z-index: 12;
  display: block;
  width: 100%;
}

.catalog-sort-dropdown .dropdown-trigger {
  width: 100%;
  height: 38px;
  justify-content: space-between;
  padding: 0 12px;
  border: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
}

.catalog-sort-dropdown .dropdown-trigger:hover,
.catalog-sort-dropdown.is-active .dropdown-trigger {
  border-color: #667c74;
}

.catalog-sort-dropdown .dropdown-options {
  right: 0;
  left: 0;
  min-width: 100%;
}

.catalog-sort-dropdown .dropdown-options li {
  font-size: 0.75rem;
  letter-spacing: 0;
  text-transform: none;
}

/* ========================================================================== */
/* 04. モーダル・カート・アカウント */
/* ========================================================================== */

body.modal-open {
  overflow: hidden;
}

.product-modal,
.account-modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 48px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 220ms ease;
}

.product-modal.is-open,
.account-modal.is-open {
  pointer-events: auto;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(17, 17, 15, 0.58);
  cursor: pointer;
}

.modal-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(280px, 0.78fr);
  width: min(960px, 100%);
  max-height: min(720px, calc(100svh - 32px));
  overflow: auto;
  background: var(--paper);
  box-shadow: 0 28px 80px rgba(17, 17, 15, 0.26);
  transform: translateY(14px);
  transition: transform 220ms ease;
}

.product-modal.is-open .modal-panel {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(36, 35, 31, 0.22);
  background: rgba(255, 253, 250, 0.96);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.modal-image-wrap {
  min-height: 520px;
  background: var(--ivory);
}

.modal-image-wrap img {
  object-fit: contain;
}

.modal-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 58px);
}

.modal-copy h2 {
  margin: 8px 0 14px;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.15;
}

.modal-copy p {
  color: var(--soft-ink);
  line-height: 1.8;
}

.modal-price {
  margin: 0 0 18px;
  color: var(--ink) !important;
  font-family: var(--serif);
  font-size: 1.15rem;
}

.modal-details {
  display: grid;
  gap: 14px;
  margin: 24px 0 16px;
}

.modal-details div {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.modal-details dt {
  color: var(--silver);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.modal-details dd {
  margin: 0;
  color: var(--soft-ink);
  line-height: 1.6;
}

.modal-review {
  display: grid;
  gap: 12px;
  margin: 8px 0 20px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.modal-review strong {
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.6;
}

.review-list {
  display: grid;
  gap: 10px;
  max-height: 180px;
  overflow: auto;
}

.review-list>p,
.review-item p {
  margin: 0;
  color: var(--soft-ink);
  font-size: 0.78rem;
  line-height: 1.6;
}

.review-item {
  display: grid;
  gap: 4px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.review-item span {
  font-size: 0.72rem;
  letter-spacing: 0;
}

.review-item small {
  color: var(--silver);
  font-size: 0.68rem;
}

.review-form {
  display: grid;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.review-form label {
  display: grid;
  gap: 7px;
  color: var(--soft-ink);
  font-size: 0.62rem;
  font-weight: 500;
  text-transform: uppercase;
}

.review-form textarea {
  width: 100%;
  resize: vertical;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 0.82rem;
  text-transform: none;
}

.rating-control {
  display: grid;
  gap: 8px;
}

.rating-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--soft-ink);
  font-size: 0.62rem;
  font-weight: 500;
  text-transform: uppercase;
}

.rating-head strong {
  color: var(--ink);
  font-size: 0.78rem;
}

.star-slider {
  position: relative;
  width: min(240px, 100%);
  height: 42px;
  color: #c8c4ba;
  font-size: 2rem;
  letter-spacing: 0.08em;
  line-height: 42px;
}

.star-track,
.star-fill {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  white-space: nowrap;
}

.star-fill {
  width: var(--rating-percent);
  color: var(--ink);
}

.star-slider input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: ew-resize;
  opacity: 0;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cart-drawer {
  position: fixed;
  z-index: 1000;
  inset: 0;
  pointer-events: none;
  visibility: hidden;
}

.cart-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(17, 17, 15, 0);
  cursor: pointer;
  transition: background 220ms ease;
}

.cart-drawer.is-open .drawer-backdrop {
  background: rgba(17, 17, 15, 0.42);
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(480px, 100%);
  height: 100%;
  padding: 28px;
  overflow: auto;
  background: var(--paper);
  box-shadow: -22px 0 70px rgba(17, 17, 15, 0.22);
  transform: translateX(100%);
  transition: transform 240ms ease;
}

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

.drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.drawer-head h2,
.account-panel h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 400;
  line-height: 1.15;
}

.account-panel h2 {
  font-family: Georgia, "Times New Roman", serif;
}

.cart-items {
  display: grid;
  gap: 16px;
  padding: 22px 0;
}

.cart-item {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.cart-item img {
  aspect-ratio: 1 / 1;
  height: auto;
  background: var(--ivory);
  object-fit: contain;
}

.cart-item h3 {
  margin: 0 0 5px;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
}

.cart-item small,
.cart-empty,
.cart-summary small,
.form-message {
  color: var(--soft-ink);
  line-height: 1.6;
}

.cart-item-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.qty-button,
.remove-button,
.account-tabs button {
  min-height: 32px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
}

.cart-empty {
  display: none;
  padding: 28px 0;
}

.cart-empty.is-visible {
  display: grid;
  gap: 12px;
}

.cart-summary {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.cart-summary>div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 8px;
}

.cart-summary strong {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
}

.checkout-form,
.account-form {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.coupon-panel {
  display: grid;
  gap: 8px;
  margin-top: 20px;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--ivory);
}

.coupon-panel-kicker {
  margin: 0;
  color: var(--soft-ink);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.coupon-panel label {
  display: grid;
  gap: 6px;
  color: var(--soft-ink);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.coupon-panel select {
  width: 100%;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 0.78rem;
}

.coupon-panel-note,
.coupon-panel-total {
  margin: 0;
  color: var(--soft-ink);
  font-size: 0.74rem;
  line-height: 1.6;
  white-space: pre-line;
}

.coupon-panel-total {
  color: var(--ink);
  font-weight: 500;
}

.coupon-checkout-link {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 0.75rem;
  text-decoration: none;
}

.checkout-form label,
.account-form label {
  display: grid;
  gap: 7px;
  color: var(--soft-ink);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.checkout-form input,
.checkout-form textarea,
.account-form input,
.account-form select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
  text-transform: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.account-form input:focus,
.account-form select:focus,
.member-preferences select:focus,
.member-address-form textarea:focus {
  border-color: var(--ink);
  outline: 0;
  box-shadow: none;
}

.checkout-form input,
.account-form input,
.account-form select {
  min-height: 42px;
  padding: 0 12px;
}

.checkout-form textarea {
  resize: vertical;
  padding: 11px 12px;
}

.account-panel {
  position: relative;
  width: min(460px, 100%);
  min-height: 0;
  max-height: calc(100vh - 2 * clamp(16px, 4vw, 48px));
  max-height: calc(100dvh - 2 * clamp(16px, 4vw, 48px));
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: #96978d #eeeee7;
  padding: clamp(26px, 5vw, 48px);
  background: var(--paper);
  box-shadow: 0 28px 80px rgba(17, 17, 15, 0.26);
  transform: translateY(14px);
  transition: transform 220ms ease;
}

.account-panel::-webkit-scrollbar { width: 8px; }
.account-panel::-webkit-scrollbar-track { background: #eeeee7; }
.account-panel::-webkit-scrollbar-thumb {
  background: #96978d;
  border: 2px solid #eeeee7;
  border-radius: 8px;
}

.account-modal.is-open .account-panel {
  transform: translateY(0);
}

.account-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 24px;
}

.account-tabs button {
  font-size: 0.72rem;
  text-transform: uppercase;
}

.account-tabs button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.account-form:not(.is-create) .create-only {
  display: none;
}

/* ========================================================================== */
/* 05. ホームページ — ヒーローからニュースレターまで */
/* ========================================================================== */

/* ページ共通設定 */
.home-page {
  --paper: #fffdfa;
  --ivory: #f4f4f1;
  --mist: #ece9e2;
  --stone: #b9beb8;
  --silver: #71766f;
  --ink: #242622;
  --soft-ink: #62665f;
  --sage: #7e9188;
  --charcoal: #11110f;
  --line: rgba(36, 38, 34, 0.18);
  --serif: Georgia, "Times New Roman", serif;
  background: var(--paper);
  color: var(--ink);
}

/* 共通見出し・テキスト */
.section-heading .kicker,
.story .kicker,
.styling-panel .kicker,
.collection-copy p,
.daily-grid p,
.story>p {
  color: var(--soft-ink);
}

.feature-card p,
.collection-copy p,
.styling-panel p,
.daily .section-heading p,
.story>p {
  line-height: 1.8;
}

/* ヒーロー */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  min-height: calc(100svh - 20px);
  padding: 164px clamp(28px, 8vw, 128px) 48px;
  padding-left: max(22px, calc(clamp(28px, 8vw, 128px) - 20px));
  overflow: hidden;
  background: var(--charcoal);
  color: var(--ink);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center 25%;
  filter: brightness(1.1) contrast(0.97);
  opacity: 1;
  transform: none;
}

.hero-shade {
  position: absolute;
  inset: 0;
  display: block;
  background:
    linear-gradient(90deg, rgba(17, 17, 15, 0.35) 0%, rgba(17, 17, 15, 0.06) 30%, rgba(17, 17, 15, 0) 55%, rgba(17, 17, 15, 0.05) 76%, rgba(17, 17, 15, 0.14) 100%),
    linear-gradient(180deg, rgba(17, 17, 15, 0.06) 0%, rgba(17, 17, 15, 0) 48%, rgba(17, 17, 15, 0.1) 100%);
}

.hero-copy {
  position: relative;
  bottom: auto;
  left: auto;
  z-index: 4;
  display: flex;
  flex-direction: column;
  width: min(760px, 100%);
  min-height: 0;
  justify-content: flex-end;
  padding: 0;
}

.hero-copy-wordmark {
  position: relative;
  z-index: 1;
  width: fit-content;
  margin: 0 0 28px;
  color: #e5eee8;
  font-family: var(--sans);
  font-size: clamp(4.3rem, 5.5vw, 5.5rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 0.9;
  text-shadow: 0 0 26px rgba(225, 237, 230, 0.12), 5px 6px 0 rgba(158, 186, 174, 0.12);
  white-space: nowrap;
  animation: hero-wordmark-float 7s ease-in-out infinite;
}

.hero-copy-wordmark::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  color: transparent;
  content: "EVRIS";
  -webkit-text-stroke: 1px rgba(184, 206, 196, 0.5);
  text-shadow: 5px 6px 0 rgba(184, 206, 196, 0.12);
  transform: translate(7px, 7px);
  opacity: 0.72;
  pointer-events: none;
}

.hero-copy .kicker {
  color: rgba(242, 238, 230, 0.76);
  font-size: 0.68rem;
}

.hero-copy h1 {
  max-width: 760px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.9rem, 2.2vw, 2.25rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0;
}

.hero-ja {
  margin: 18px 0 0;
  color: rgba(242, 238, 230, 0.88);
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.32vw, 1.2rem);
  line-height: 1.25;
}

.hero-text {
  max-width: 470px;
  margin: 10px 0 0;
  color: #f1efe9;
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.85;
}

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

.issue-note {
  display: none;
}

/* オンラインストア特典 */
.store-strip {
  display: block;
  padding: clamp(34px, 4vw, 48px) clamp(24px, 6vw, 82px);
  border: 0;
  background: var(--paper);
}

.store-benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 76px);
  max-width: 1080px;
  margin: 0 auto;
  border: 0;
}

.store-benefit {
  display: flex;
  min-height: 0;
  align-items: center;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0;
  border: 0;
  text-align: center;
}

.store-benefit-icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  place-items: center;
  color: #c4a45f;
}

.store-benefit-icon svg {
  width: 46px;
  height: 46px;
}

.store-benefit p {
  max-width: 210px;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.75;
  text-transform: none;
}

/* カテゴリーナビゲーション */
.category-mosaic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--paper);
}

.category-mosaic a {
  position: relative;
  display: grid;
  grid-template-rows: auto 52px;
  min-height: 0;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background: var(--paper);
}

.category-mosaic a:last-child {
  border-right: 0;
}

.category-mosaic img {
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: filter 220ms ease, transform 520ms ease;
}

.category-mosaic span {
  position: static;
  z-index: 1;
  display: flex;
  align-items: center;
  padding: 0 20px;
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 0.98rem;
  letter-spacing: 0;
}

.category-mosaic span::after {
  width: 28px;
  height: 1px;
  margin-left: auto;
  background: #667c74;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 350ms ease;
}

.category-mosaic a:focus-visible span::after {
  transform: scaleX(1);
}

/* 新着コレクション */
.feature-card img {
  aspect-ratio: 4 / 5;
  background: var(--ivory);
  object-fit: contain;
}

.collection {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.collection .section-heading {
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: baseline;
  margin-bottom: clamp(42px, 6vw, 76px);
  padding-bottom: clamp(18px, 2.5vw, 28px);
  border-bottom: 1px solid var(--line);
}

.collection .section-heading .kicker {
  padding-top: 0;
  color: var(--ink);
}

.collection-heading-copy {
  position: relative;
  justify-self: end;
  min-width: 0;
  text-align: right;
}

.collection .section-heading h2 {
  max-width: none;
  font-size: clamp(1.25rem, 2.5vw, 3.5rem);
  line-height: 1.04;
}

.collection-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.72fr);
  gap: clamp(38px, 7vw, 30px);
  align-items: stretch;
}

.feature-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.86fr) minmax(220px, 0.68fr);
  gap: clamp(24px, 3.8vw, 56px);
  align-items: stretch;
  padding-right: clamp(20px, 3vw, 44px);
  border-right: 1px solid var(--line);
}

.feature-media {
  position: relative;
  display: grid;
  min-height: 430px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ivory);
}

.feature-media::after {
  position: absolute;
  inset: 12px;
  border: 1px solid var(--line);
  content: "";
  pointer-events: none;
}

.feature-media img {
  position: relative;
  z-index: 1;
  width: 88%;
  height: auto;
  aspect-ratio: 4 / 5;
  background: transparent;
  object-fit: contain;
  filter: none;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.feature-media-index,
.feature-media-caption {
  position: absolute;
  z-index: 2;
  color: var(--soft-ink);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.feature-media-index {
  top: 22px;
  left: 22px;
}

.feature-media-caption {
  right: 22px;
  bottom: 22px;
  writing-mode: vertical-rl;
}

.feature-details {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-bottom: 2px;
}

.feature-card-note {
  display: inline-block;
  margin-top: 28px;
  color: var(--soft-ink);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.feature-card h3 {
  margin: 12px 0 18px;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.6vw, 2.8rem);
  font-weight: 400;
  line-height: 1.08;
}

.feature-details>p:not(.item-meta) {
  max-width: 310px;
  margin: 0;
  color: var(--soft-ink);
  font-size: 0.92rem;
  line-height: 1.85;
}

.feature-details .buy-row {
  width: 100%;
  justify-content: space-between;
  padding-top: 18px;
}

.feature-details .buy-row strong {
  font-size: 1.35rem;
}

.collection-copy {
  align-self: center;
  padding: clamp(22px, 3vw, 38px) 0 clamp(22px, 3vw, 38px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.collection-copy-label,
.collection-copy-index {
  display: block;
  color: var(--soft-ink);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.collection-copy .large-serif {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--ink);
  font-size: clamp(1.2rem, 2.2vw, 2.2rem);
  line-height: 1.38;
}

.collection-copy-divider {
  width: 100%;
  height: 1px;
  margin: 28px 0;
  background: var(--line);
}

.collection-copy>p:last-of-type {
  max-width: 500px;
  margin: 0;
  color: var(--soft-ink);
  font-size: 0.9rem;
  line-height: 1.9;
}

.collection-copy-index {
  margin-top: 34px;
}

/* 会員案内 */
.member {
  display: grid;
  grid-template-columns: minmax(320px, 1.1fr) 1fr;
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: var(--ivory);
  color: var(--ink);
}

.member-copy h2 {
  margin-bottom: 24px;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.4vw, 2.3rem);
  font-weight: 400;
  line-height: 1.18;
}

.member-copy p:not(.kicker) {
  max-width: 560px;
  color: var(--soft-ink);
  line-height: 1.8;
}

.member-card {
  display: grid;
  border-top: 1px solid var(--line);
}

.member-card div {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.member-card span {
  color: var(--silver);
  font-family: var(--serif);
  font-size: 1.4rem;
}

.member-card h3 {
  margin-bottom: 8px;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
}

.member-card p {
  grid-column: 2;
  margin: -8px 0 0;
  color: var(--soft-ink);
  line-height: 1.7;
}

.member-summary {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  background: #f6f4ef;
}

.member-summary p,
.member-summary span {
  margin: 0;
  color: var(--soft-ink);
  font-size: 0.72rem;
  line-height: 1.6;
}

.member-summary strong {
  font-size: 0.94rem;
  word-break: break-word;
}

.member-preferences {
  display: grid;
  gap: 12px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.member-preferences div {
  display: grid;
  gap: 4px;
}

.member-preferences label {
  display: grid;
  gap: 7px;
  color: var(--soft-ink);
  font-size: 0.7rem;
  font-weight: 450;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.member-preferences select {
  min-height: 38px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.78rem;
  text-transform: none;
}

.member-address-form {
  display: grid;
  gap: 10px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.member-address-form label {
  display: grid;
  gap: 7px;
  color: var(--soft-ink);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
}

.member-address-form textarea {
  width: 100%;
  min-height: 96px;
  resize: vertical;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 0.82rem;
  line-height: 1.6;
  padding: 10px;
  text-transform: none;
}

.member-address-form small {
  color: var(--soft-ink);
  font-size: 0.68rem;
  line-height: 1.6;
}

/* スタイリング */
.styling {
  display: grid;
  grid-template-columns: minmax(320px, 1.1fr) 1fr;
  min-height: 720px;
  gap: clamp(30px, 6vw, 86px);
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.styling-photo {
  height: min(50vw, 480px);
  min-height: 380px;
  overflow: hidden;
}

.styling-photo img {
  object-position: center 22%;
  filter: none;
  transition: transform 700ms ease;
}

.styling-photo:hover img {
  transform: scale(1.025);
}

.styling-panel {
  max-width: 540px;
}

.styling-panel .kicker {
  color: var(--ink);
}

.styling-panel h2 {
  margin-bottom: 24px;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.4vw, 2.3rem);
  font-weight: 400;
  line-height: 1.18;
}

.style-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.style-notes span {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.78rem;
}

/* 特集 */
.feature-stories {
  display: none;
}

.material-story h2 {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.4vw, 2.3rem);
  font-weight: 400;
  line-height: 1.18;
}

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

.story-grid article {
  display: grid;
  gap: 14px;
}

.story-grid img {
  aspect-ratio: 4 / 5;
  height: auto;
  background: var(--ivory);
}

.story-grid p {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 450;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* 商品一覧 */
.shop-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
  margin-bottom: clamp(34px, 5vw, 64px);
}

.shop {
  padding-top: clamp(58px, 7vw, 92px);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

/* ランキング */
.ranking-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(34px, 5vw, 64px);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.ranking-head>div {
  display: grid;
  gap: 12px;
}

.ranking-head .kicker {
  margin: 0;
}

.home-page main>.section .kicker {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
}

.ranking-head h2 {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.4vw, 2.35rem);
  font-weight: 400;
  line-height: 1.15;
}

.ranking-view-all {
  flex: 0 0 auto;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-size: 0.7rem;
  font-weight: 450;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ranking-grid {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ranking-grid .product-card {
  position: relative;
  padding-top: 44px;
}

.ranking-number {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1;
}

.ranking-number::after {
  display: inline-block;
  width: 34px;
  height: 1px;
  margin: 0 0 6px 10px;
  background: var(--line);
  content: "";
}

.shop-head>div:first-child {
  display: grid;
  gap: 12px;
}

.shop-head h2 {
  position: relative;
  justify-self: start;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.2vw, 2.2rem);
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.shop-head h2::after {
  position: absolute;
  right: auto;
  bottom: -2px;
  left: 0;
  width: 54px;
  height: 3px;
  background: var(--ink);
  content: "";
}

.shop-tools label {
  display: grid;
  gap: 7px;
  color: var(--soft-ink);
  font-size: 0.7rem;
  font-weight: 450;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-page .cart-button,
.home-page .filters button {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.home-page .filters button.is-active,
.home-page .filters button:hover,
.home-page .cart-button:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

/* ストーンガイド */
.stone-guide {
  display: grid;
  grid-template-columns: minmax(120px, 0.22fr) 1fr;
  gap: clamp(26px, 6vw, 84px);
  border-bottom: 1px solid var(--line);
  background: var(--ivory);
  color: var(--ink);
}

.stone-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.stone-grid article {
  min-height: 230px;
  padding: 24px;
  background: var(--paper);
}

.stone-grid span {
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 450;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stone-grid h3 {
  margin: 42px 0 12px;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--ink);
}

.stone-grid p {
  margin: 0;
  color: var(--soft-ink);
  font-size: 0.78rem;
  line-height: 1.7;
}

.stone-guide-link {
  display: inline-flex;
  width: fit-content;
  min-height: 38px;
  align-items: center;
  margin-top: 16px !important;
  padding: 0 17px;
  border: 1px solid var(--ink);
  color: var(--ink);
  text-decoration: none !important;
  transition: background 200ms ease, color 200ms ease, transform 200ms ease;
}

.stone-guide-link:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}

/* メンバーゲーム */
.game-guide {
  display: grid;
  grid-template-columns: minmax(160px, 0.26fr) 1fr;
  gap: clamp(26px, 6vw, 84px);
  border-bottom: 1px solid var(--line);
  background: #eeece6;
  color: var(--ink);
}

.game-guide .section-label h2 {
  max-width: 240px;
  margin: 10px 0 0;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
  font-weight: 400;
  line-height: 1.25;
}

.game-guide .section-label small {
  display: block;
  max-width: 250px;
  margin-top: 18px;
  color: var(--soft-ink);
  font-size: 0.78rem;
  line-height: 1.7;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.game-grid article {
  min-height: 238px;
  padding: 24px;
  background: var(--paper);
}

.game-grid span {
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 450;
  letter-spacing: 0.04em;
}

.game-grid h3 {
  margin: 42px 0 12px;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
}

.game-grid p {
  margin: 0;
  color: var(--soft-ink);
  font-size: 0.78rem;
  line-height: 1.7;
}

/* コーディネート */
.coordinate {
  display: none;
}

.coordinate-grid {
  display: grid;
  grid-template-columns: 1fr 1.45fr 1fr;
  grid-template-rows: repeat(2, 220px);
  gap: 1px;
  background: var(--line);
}

.coordinate-grid img {
  background: var(--ivory);
  filter: none;
}

.coordinate-grid img:nth-child(2) {
  grid-row: span 2;
}

/* 店舗一覧 */
.store-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 36px);
  align-items: start;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.store-columns {
  display: contents;
}

.store-list>.section-label {
  grid-column: 1 / -1;
  margin-bottom: 8px;
}

.store-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  margin-bottom: 18px;
}

.store-list .section-label .kicker {
  margin: 0 0 10px;
}

.store-list .section-label small {
  display: block;
  margin: 0;
}

.store-columns h3 {
  margin: 0 0 10px;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.store-columns p {
  margin: 0;
  color: var(--soft-ink);
  font-size: 0.72rem;
  line-height: 1.8;
}

@media (max-width: 1000px) {
  .store-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 32px;
  }
}

@media (max-width: 480px) {
  .store-list {
    grid-template-columns: 1fr;
  }
}

/* ニュース */
.news-list {
  display: grid;
  grid-template-columns: minmax(120px, 0.22fr) 1fr;
  gap: clamp(26px, 6vw, 84px);
  align-items: start;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.news-lines {
  display: grid;
  border-top: 1px solid var(--line);
}

.news-lines p {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 22px;
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--soft-ink);
  font-size: 0.72rem;
}

.news-lines span {
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.news-lines .news-copy {
  color: var(--soft-ink);
  font-size: inherit;
  font-weight: 400;
  text-transform: none;
}

/* ニュースレター */
.newsletter {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: clamp(72px, 9vw, 120px) 20px;
  background: var(--ivory);
  color: var(--ink);
  text-align: center;
}

.newsletter p {
  max-width: 560px;
  margin: 0;
  color: var(--soft-ink);
  font-size: 0.78rem;
}

.newsletter form {
  display: grid;
  grid-template-columns: minmax(220px, 360px) 140px;
  gap: 8px;
  margin-top: 14px;
}

.newsletter input,
.newsletter button {
  min-height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.newsletter input {
  padding: 0 12px;
}

.newsletter button {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
}

/* ページ演出・状態 */
.home-page .item-meta {
  color: var(--soft-ink);
}

.home-page footer {
  border-top-color: rgba(241, 239, 233, 0.28);
  background: #11110f;
  color: #f1efe9;
}

.home-page .page-progress {
  position: fixed;
  z-index: 21;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #8da79b;
  transform: scaleX(var(--page-progress, 0));
  transform-origin: left;
  pointer-events: none;
}

.home-page .motion-reveal {
  transition: opacity 650ms ease var(--reveal-delay, 0ms),
    translate 800ms cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms);
}

.home-page main :is(.button, .mini-button, .cart-button) {
  transition: transform 220ms ease, box-shadow 220ms ease,
    background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}

.home-page .product-card>a::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.32) 50%, transparent 75%);
  content: "";
  transform: translateX(-110%);
  transition: transform 850ms ease;
  pointer-events: none;
}

.home-page main :is(a, button, input, select):focus-visible {
  outline: 2px solid #667c74;
  outline-offset: 4px;
}

.home-page .product-card>a:focus-visible .hover-label {
  opacity: 1;
  transform: none;
}

.home-page main :is(.button, .mini-button, .cart-button):active:not(:disabled) {
  transform: translateY(1px);
  box-shadow: none;
}

/* ========================================================================== */
/* 06. 商品一覧・商品詳細ページ */
/* ========================================================================== */

.modal-cart,
.favorite-button {
  width: auto;
  min-width: 180px;
  align-self: flex-start;
}

.favorite-button {
  min-height: 34px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.62rem;
  font-weight: 500;
  text-transform: uppercase;
}

.catalog-hero {
  display: block;
  min-height: auto;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.catalog-hero>div {
  display: grid;
  grid-template-columns: minmax(160px, 0.24fr) minmax(260px, 0.72fr) minmax(220px, 0.46fr);
  gap: clamp(22px, 5vw, 72px);
  align-items: end;
  padding: clamp(42px, 7vw, 84px) clamp(20px, 6vw, 82px) clamp(32px, 5vw, 58px);
}

.catalog-hero h1,
.detail-copy h1 {
  max-width: 620px;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.05;
}

.catalog-hero h1 {
  grid-column: 1 / span 2;
  font-size: clamp(2rem, 4.5vw, 4.5rem);
  line-height: 1;
  white-space: nowrap;
}

.detail-copy h1 {
  font-size: clamp(1.55rem, 2.8vw, 2.65rem);
}

.catalog-hero p:not(.kicker),
.detail-description {
  max-width: 440px;
  color: var(--soft-ink);
  font-size: 0.86rem;
  line-height: 1.9;
}

.catalog-hero p:not(.kicker) {
  grid-column: 3;
}

.catalog-section {
  background: var(--paper);
}

#catalogSearch {
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

#catalogSearch:focus,
#catalogSearch:focus-visible {
  border-color: #667c74;
  outline: 0;
  box-shadow: 0 0 0 2px rgba(102, 124, 116, 0.16);
}

.catalog-toolbar {
  display: grid;
  gap: 28px;
  margin-bottom: 32px;
}

.catalog-toolbar .shop-tools {
  margin: 0;
}

.catalog-grid {
  align-items: start;
}

.detail-page {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  min-height: calc(100svh - 82px);
  background: var(--paper);
}

.detail-gallery {
  display: grid;
  min-height: 640px;
  place-items: center;
  border-right: 1px solid var(--line);
  background: #f4f2ed;
}

.detail-gallery img {
  width: min(78%, 720px);
  height: auto;
  aspect-ratio: 1 / 1.08;
  object-fit: contain;
}

.detail-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 6vw, 82px);
  font-size: 0.9rem;
}

.detail-copy>.item-meta {
  font-size: 0.68rem;
}

.back-link {
  align-self: flex-start;
  margin-bottom: 34px;
  color: var(--soft-ink);
  font-size: 0.64rem;
  font-weight: 450;
  letter-spacing: 0.04em;
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-transform: uppercase;
  text-underline-offset: 5px;
  transition:
    color 180ms ease,
    text-decoration-color 180ms ease,
    transform 180ms ease;
}

.back-link:hover,
.back-link:focus-visible {
  color: var(--ink);
  text-decoration-color: currentColor;
  transform: translateX(-3px);
}

.detail-price {
  margin: 18px 0 0;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
}

.detail-description {
  margin: 24px 0 0;
  font-size: 0.78rem;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 10px;
}

.detail-actions .cart-button {
  display: inline-flex;
  width: auto;
  min-width: 200px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 0;
  font-size: 0.64rem;
}

.detail-actions .favorite-button {
  display: inline-flex;
  min-width: 200px;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.64rem;
  transition:
    background-color 200ms ease,
    border-color 200ms ease,
    color 200ms ease;
}

.detail-actions .favorite-button:hover,
.detail-actions .favorite-button:focus-visible {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.detail-actions .cart-button::before,
.detail-actions .favorite-button::before {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  background-color: currentColor;
  content: "";
}

.detail-actions .cart-button::before {
  width: 17px;
  height: 17px;
  flex-basis: 17px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2 11h10l2-7H6'/%3E%3Ccircle cx='9' cy='19' r='1.25'/%3E%3Ccircle cx='17' cy='19' r='1.25'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2 11h10l2-7H6'/%3E%3Ccircle cx='9' cy='19' r='1.25'/%3E%3Ccircle cx='17' cy='19' r='1.25'/%3E%3C/svg%3E") center / contain no-repeat;
}

.detail-actions .favorite-button::before {
  width: 14px;
  height: 14px;
  flex-basis: 14px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.6l-1-1a5.5 5.5 0 0 0-7.8 7.8l1 1L12 21l7.8-7.6 1-1a5.5 5.5 0 0 0 0-7.8Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.6l-1-1a5.5 5.5 0 0 0-7.8 7.8l1 1L12 21l7.8-7.6 1-1a5.5 5.5 0 0 0 0-7.8Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.detail-specs {
  margin-top: 26px;
}

.detail-specs dt {
  font-size: 0.64rem;
}

.detail-specs dd {
  font-size: 0.78rem;
}

.related-section {
  display: grid;
  grid-template-columns: minmax(120px, 0.22fr) 1fr;
  gap: clamp(26px, 6vw, 84px);
  border-top: 1px solid var(--line);
}

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

/* ========================================================================== */
/* 07. レスポンシブ — タブレット・スマートフォン */
/* ========================================================================== */

/* 大画面 */
@media (min-width: 1440px) {
  .hero-copy-wordmark {
    font-size: 6.2rem;
  }
}

/* 小型デスクトップ */
@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 120px auto;
  }

  nav {
    display: none;
  }

  .header-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

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

  .detail-page {
    grid-template-columns: 1fr;
  }

  .detail-gallery {
    min-height: 500px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

/* タブレット */
@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .collection-layout,
  .feature-card,
  .styling,
  .member,
  .section-heading,
  .section-heading.wide,
  .story,
  .shop-head {
    grid-template-columns: 1fr;
  }

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

  .modal-panel {
    grid-template-columns: 1fr;
  }

  .modal-image-wrap {
    min-height: auto;
  }

  .modal-image-wrap img {
    aspect-ratio: 16 / 9;
    height: auto;
    max-height: 42svh;
  }

  .daily-grid {
    grid-template-columns: 1fr;
  }

  .daily-grid article {
    min-height: auto;
  }

  .styling-photo {
    height: 72svh;
    min-height: 440px;
  }

  .collection .section-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    align-items: start;
  }

  .collection-heading-copy {
    justify-self: start;
    text-align: left;
  }

  .collection-layout {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding-right: 0;
    padding-bottom: clamp(30px, 5vw, 52px);
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .collection-copy {
    max-width: 680px;
    padding-left: 0;
    border-top: 0;
  }
}

/* スマートフォン */
@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .locale-controls {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .locale-controls select {
    min-width: 54px;
  }

  .category-mosaic,
  .story-grid,
  .store-columns {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-heading,
  .shop-head,
  .ranking-head,
  .feature-stories,
  .stone-guide,
  .game-guide,
  .coordinate,
  .news-list,
  .material-story,
  .related-section,
  footer {
    grid-template-columns: 1fr;
  }

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

  .shop-tools,
  .stone-grid,
  .game-grid {
    grid-template-columns: 1fr;
  }

  .shop-tools {
    margin-top: -12px;
  }

  .shop-tools p {
    text-align: left;
  }

  .coordinate-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(2, 170px);
  }

  .coordinate-grid img:nth-child(2) {
    grid-row: auto;
  }

  .news-lines p {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .newsletter form {
    grid-template-columns: 1fr;
    width: min(420px, 100%);
  }

  .catalog-hero {
    min-height: auto;
  }

  .catalog-hero>div {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .catalog-hero h1,
  .catalog-hero p:not(.kicker) {
    grid-column: auto;
  }

  .shop-head h2 {
    font-size: clamp(1.2rem, 5.8vw, 1.8rem);
  }

  .ranking-head {
    align-items: start;
    flex-direction: column;
  }

  .detail-gallery {
    min-height: 360px;
  }

  .detail-gallery img {
    width: min(86%, 420px);
  }

  .detail-actions .cart-button,
  .detail-actions .favorite-button {
    width: 100%;
  }

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

  .hero {
    padding: 152px 22px 34px 18px;
  }

  .hero-copy h1 {
    font-size: 2rem;
  }

  .hero-ja {
    font-size: 1.1rem;
  }

  .home-page .hero-actions .button {
    min-width: 0;
    flex: 1 1 0;
    padding-inline: 8px;
  }

  .hero-copy-wordmark {
    margin-bottom: 24px;
    font-size: 3.65rem;
  }

  .category-mosaic a {
    border-bottom: 1px solid var(--line);
  }

  .home-page .member,
  .home-page .styling {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-page .styling-photo {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .category-mosaic a:nth-child(2n) {
    border-right: 0;
  }

  .store-strip {
    padding: 38px 20px 42px;
  }

  .store-benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 42px;
  }

  .store-benefit {
    min-height: 0;
    padding: 0;
    border: 0;
  }

  .store-benefit-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
  }

  .store-benefit-icon svg {
    width: 40px;
    height: 40px;
  }
}

/* 中間サイズ */
@media (min-width: 600px) and (max-width: 760px) {
  .hero-copy-wordmark {
    font-size: 5rem;
  }
}

/* 小型スマートフォン */
@media (max-width: 620px) {
  .site-header {
    padding: 18px 18px;
  }

  .header-actions {
    font-size: 0.68rem;
    gap: 10px;
  }

  h1 {
    font-size: clamp(1.5rem, 8vw, 2.2rem);
  }

  .button {
    flex: 1 1 150px;
    padding-inline: 16px;
  }

  .section {
    padding: 66px 18px;
  }

  .feature-card h3,
  .daily-grid h3 {
    font-size: 1.55rem;
  }

  .styling {
    padding-top: 18px;
  }

  .styling-photo {
    min-height: 360px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 14px;
  }

  .filters {
    justify-content: flex-start;
  }

  .product-info {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    font-size: 0.82rem;
  }

  .product-info small {
    font-size: 0.68rem;
  }

  .cart-button {
    min-height: 38px;
    font-size: 0.68rem;
  }

  .product-modal {
    align-items: end;
    padding: 10px;
  }

  .modal-image-wrap img {
    aspect-ratio: 1 / 0.72;
    max-height: 36svh;
  }

  .modal-panel {
    max-height: calc(100svh - 20px);
  }

  .modal-copy {
    padding: 24px 20px;
  }

  .modal-details div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .modal-cart {
    width: 100%;
  }

  .drawer-panel {
    padding: 22px 18px;
  }

  .cart-item {
    grid-template-columns: 72px 1fr;
  }

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

  footer span {
    text-align: left;
  }

  .collection .section-heading h2 {
    font-size: clamp(1.85rem, 8vw, 2.7rem);
  }

  .feature-card {
    grid-template-columns: 1fr;
  }

  .feature-media {
    min-height: 360px;
  }

  .feature-details {
    padding-top: 4px;
  }

  .feature-card-note {
    margin-top: 22px;
  }

  .feature-details .buy-row {
    margin-top: 28px;
  }

  .collection-copy .large-serif {
    font-size: 1.45rem;
  }
}

/* 最小画面 */
@media (max-width: 380px) {
  .hero {
    padding: 144px 20px 24px 18px;
  }

  .hero-copy-wordmark {
    font-size: 3.45rem;
  }

  .hero-copy h1 {
    font-size: 1.78rem;
  }

  .hero-ja {
    font-size: 1rem;
  }

  .hero-text {
    margin-top: 16px;
    font-size: 0.8rem;
    line-height: 1.65;
  }

  .hero-actions {
    margin-top: 20px;
  }
}

/* 通常の動き */
@media (prefers-reduced-motion: no-preference) {
  .home-page .is-awaiting-reveal {
    opacity: 0;
    translate: 0 24px;
  }

  .hero-copy> :not(.hero-copy-wordmark) {
    animation: editorial-enter 850ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .hero-copy h1 {
    animation-delay: 80ms;
  }

  .hero-ja {
    animation-delay: 140ms;
  }

  .hero-text {
    animation-delay: 200ms;
  }

  .hero-copy .hero-actions {
    animation-delay: 260ms;
  }

  .hero-copy-wordmark {
    background: linear-gradient(110deg, #f1efe9 15%, #b7ccc1 35%, #ffffff 47%, #c6d6ce 58%, #f1efe9 80%);
    background-size: 250% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    animation: hero-wordmark-float 7s ease-in-out infinite, silver-sheen 10s ease-in-out infinite;
  }

  .hero.is-offscreen .hero-copy-wordmark {
    animation-play-state: paused;
  }

  .home-page .collection-copy-divider,
  .home-page .shop-head h2::after {
    transform-origin: left;
    transition: transform 1000ms cubic-bezier(0.2, 0.7, 0.2, 1) 180ms;
  }

  .home-page .collection .section-heading.is-awaiting-reveal h2::after,
  .home-page .collection-copy.is-awaiting-reveal .collection-copy-divider,
  .home-page .shop-head.is-awaiting-reveal h2::after {
    transform: scaleX(0);
  }

  .home-page .hero-actions .button {
    position: relative;
    overflow: hidden;
  }

  .home-page .hero-actions .button::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 20%, rgba(164, 194, 181, 0.45) 48%, rgba(255, 255, 255, 0.5) 52%, transparent 80%);
    content: "";
    transform: translateX(-115%);
    pointer-events: none;
  }

  .home-page .hero-actions .button:focus-visible::after {
    transform: translateX(115%);
    transition: transform 850ms ease;
  }
}

/* ポインター演出 */
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .hero-copy-wordmark::before {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent calc(var(--foil-position, 50%) - 18%), #ffffff var(--foil-position, 50%), transparent calc(var(--foil-position, 50%) + 18%));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: none;
    content: "EVRIS";
    opacity: 0;
    transition: opacity 350ms ease;
    pointer-events: none;
  }

  .hero-copy-wordmark.has-foil-light::before {
    opacity: 0.9;
  }

  .hero-copy-wordmark::after {
    transform: translate(calc(7px + var(--foil-offset-x, 0px)), calc(7px + var(--foil-offset-y, 0px)));
    transition: transform 300ms ease, opacity 300ms ease;
  }

  .hero-copy-wordmark.has-foil-light::after {
    opacity: 1;
  }

  .home-page .hero-actions .button:hover:not(:disabled)::after {
    transform: translateX(115%);
    transition: transform 850ms ease;
  }
}

/* ホバー操作 */
@media (hover: hover) and (pointer: fine) {
  .home-page main :is(.button, .mini-button, .cart-button):hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(36, 38, 34, 0.12);
  }

  .category-mosaic a:hover img {
    filter: contrast(1.03) saturate(0.9);
    transform: scale(1.035);
  }

  .category-mosaic a:hover span::after {
    transform: scaleX(1);
  }

  .home-page .product-card>a:hover::after {
    transform: translateX(110%);
  }

  .home-page .product-card>a:hover img {
    opacity: 1;
    transform: scale(1.055);
  }

  .home-page .feature-media:hover img {
    transform: scale(1.045);
  }
}

/* 動きを抑える設定 */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .hero-copy-wordmark {
    animation: none;
  }

  .home-page .motion-reveal {
    opacity: 1;
    translate: none;
    transition: none;
  }

  .hero-image,
  .store-benefit-icon,
  .home-page main :is(.button, .mini-button, .cart-button),
  .category-mosaic img,
  .home-page .product-card img,
  .home-page .feature-media img,
  .home-page .styling-photo img {
    transform: none !important;
  }

  .home-page .product-card>a::after {
    display: none;
  }
}

/* ========================================================================== */
/* 08. アニメーション・印刷 */
/* ========================================================================== */

@keyframes hero-wordmark-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

@keyframes editorial-enter {
  from {
    opacity: 0;
    translate: 0 18px;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes silver-sheen {

  0%,
  20% {
    background-position: 100% 50%;
  }

  75%,
  100% {
    background-position: 0% 50%;
  }
}

@media print {
  .home-page .motion-reveal {
    opacity: 1;
    translate: none;
  }

  .home-page .page-progress {
    display: none;
  }
}

/* Keep authentication failures readable and associated with the relevant fields. */
.account-form .form-message.is-error { color: #a12c26; border-left: 3px solid currentColor; padding-left: 12px; }
.account-form input[aria-invalid="true"] { border-color: #a12c26; }
.account-form button:disabled { opacity: .6; cursor: wait; }

.password-field { position: relative; display: block; min-width: 0; }
.account-form .password-field input { padding-right: 48px; }
.account-form .password-toggle {
  position: absolute; right: 1px; top: 1px; bottom: 1px;
  width: 44px; min-height: 40px; padding: 10px; margin: 0;
  display: grid; place-items: center; border: 0;
  color: var(--soft-ink); background: transparent; cursor: pointer;
}
.password-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.password-toggle .password-eye-slash { display: none; }
.password-toggle[aria-pressed="true"] .password-eye-slash { display: block; }
.account-form .password-toggle:hover { color: var(--ink); }
.account-form .password-toggle:focus-visible { outline: 2px solid var(--ink); outline-offset: -4px; }

.detail-stock { margin: 14px 0 20px; color: #4b6250; font-size: .88rem; }
.detail-stock.is-empty { color: #a12c26; }
#addDetailCart:disabled { opacity: .45; cursor: not-allowed; }

.member-coupons { border-top:1px solid var(--line); padding-top:20px; margin:20px 0; }
.member-coupons-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.member-coupons-heading h3 { font-size:1rem; margin:0; }
.member-coupons .member-coupons-message,.member-coupons .member-coupons-note { font-size:.78rem; line-height:1.7; margin:12px 0; color:var(--soft-ink); }
.member-coupon-list { display:grid; gap:12px; margin:14px 0; }
.member-coupon { border:1px solid var(--line); border-left:3px solid #66745f; padding:16px; background:#f8f8f3; }
.member-coupon-top { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.member-coupons .member-coupon-top strong { font-size:1.15rem; }
.member-coupons .member-coupon-top span { font-size:.7rem; color:#596c50; }
.member-coupons .member-coupon p { font-size:.82rem; margin:10px 0 6px; }
.member-coupon code { display:block; font-size:.72rem; overflow-wrap:anywhere; color:var(--soft-ink); }
.member-coupon a,.member-coupons-game { display:inline-block; margin-top:12px; font-size:.78rem; text-underline-offset:3px; }
.member-coupon--used { background:transparent; border-left-color:#aaa; opacity:.7; }
.member-coupon--pending { border-left-color:#ad8b50; background:#faf7ee; }
.member-coupons .member-coupon--pending span { color:#8a6c39; }

.member-favorites-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.member-favorite-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--paper, #fffdfa);
  color: inherit;
  text-decoration: none;
}
.member-favorite-link:hover,
.member-favorite-link:focus-visible {
  border-color: var(--ink);
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.member-favorite-link img {
  width: 64px;
  height: 76px;
  flex: 0 0 64px;
  object-fit: cover;
}
.member-favorite-link > span { display: grid; gap: 5px; min-width: 0; }
.member-favorite-link strong { font-size: 0.82rem; line-height: 1.5; }
.member-favorites-empty { font-size: 0.75rem; color: var(--soft-ink); }

.payment-status { position:fixed; z-index:110; top:var(--payment-top, 80px); right:16px; width:min(560px, calc(100% - 32px)); max-height:calc(100dvh - var(--payment-top, 80px) - 16px); overflow:auto; padding:20px; border:1px solid var(--line); background:#f6f4ef; box-shadow:0 8px 24px #0002; }
.payment-status[hidden] { display:none; }
.stock-toast { position:fixed; z-index:10000; bottom:24px; left:50%; transform:translateX(-50%); width:max-content; max-width:calc(100vw - 32px); padding:16px 24px; background:#272923; color:#fff; border-radius:4px; box-shadow:0 4px 20px #0003; line-height:1.6; pointer-events:none; }
.stock-toast[hidden] { display:none; }
.payment-status-actions { display:flex; flex-wrap:wrap; gap:10px; }
.member-orders { margin-top:28px; padding-top:24px; border-top:1px solid var(--line); }
.member-orders h3 { margin:0; font-size:18px; }
.member-order-list { display:grid; gap:14px; margin-top:14px; }
.member-order { padding:16px; border:1px solid var(--line); background:var(--paper); overflow-wrap:anywhere; }
.member-order-top { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px; font-size:13px; }
.member-order-test { color:#786544; font-size:12px; }
.member-order ul { padding-left:18px; line-height:1.8; }
.member-order a { text-decoration:underline; text-underline-offset:3px; }
.member-order summary { cursor:pointer; text-decoration:underline; }
.member-order details { font-size:13px; line-height:1.7; }
.payment-status p { margin:0 0 12px; overflow-wrap:anywhere; line-height:1.7; }
