/*
*/

/* =============================================
   DESIGN TOKENS
   ============================================= */
:root {
  /* Natural palette — linen, bark, stone */
  --c-bg: #FFFFFF;
  /* linen white */
  --c-surface: #F0EDE6;
  /* warm off-white */
  --c-surface-2: #E8E4DC;
  /* light bark */
  --c-text: #2B2925;
  /* deep bark */
  --c-text-2: #6B6560;
  /* mid stone */
  --c-text-3: #9C9690;
  /* light stone */
  --c-accent: #7C6D5A;
  /* warm brown */
  --c-accent-2: #5C4F3E;
  /* dark brown */
  --c-border: #DDD9D1;
  /* subtle border */
  --c-white: #FFFFFF;

  /* Typography */
  /* --f-sans: 'Noto Sans JP', 'Helvetica Neue', sans-serif; */
   --f-sans: 'Kosugi Maru', "Hiragino Maru Gothic ProN", "BIZ UGPothic", sans-serif;
  /* --f-serif: 'Noto Serif JP', 'Georgia', serif; */
  --f-serif: 'Kosugi Maru', "Hiragino Maru Gothic ProN", sans-serif;

  /* Spacing scale */
  --s-1: 0.5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2rem;
  --s-6: 3rem;
  --s-8: 4rem;
  --s-12: 6rem;
  --s-16: 8rem;
  --s-24: 12rem;

  /* Layout */
  --max-w: 1160px;
  --max-w-narrow: 760px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 280ms;
}

/* =============================================
   RESET
   ============================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
}

header {
  margin-top: 0px;
}

header > div {
  padding: 0 !important;
}


/* OSがダークモードを要求してきても、強制的にライトモードの色を維持する */
@media (prefers-color-scheme: dark) {

  :root,
  [data-bs-theme="dark"] {
    --bs-body-color: #212529 !important;
    /* 文字色を黒系に固定 */
    --bs-body-bg: #ffffff !important;
    /* 背景色を白に固定 */
    /* 必要に応じて、テーマで変わってしまう他のパーツの色も指定します */
  }
}

/* bodyにダークテーマが適用されていても、中身を強制的にライトモード（白基調）にする */
body,
body[data-bs-theme="dark"],
[data-bs-theme="dark"] {
  /* 背景色を白（またはテーマの薄い色）に固定 */
  --bs-body-bg: #ffffff !important;
  --bs-body-bg-rgb: 255, 255, 255 !important;

  /* 文字色を黒（またはテーマの濃い色）に固定 */
  --bs-body-color: #212529 !important;
  --bs-body-color-rgb: 33, 37, 41 !important;

  /* リンクの色なども必要に応じて固定 */
  --bs-link-color: #0d6efd !important;
}

/* フッターや特定のエリアも背景が暗くなってしまう場合の対策 */
body[data-bs-theme="dark"] footer,
body[data-bs-theme="dark"] .wp-block-group {
  background-color: transparent !important;
  /* または明示的に白を指定 */
  color: #212529 !important;
}

/* =============================================
   BASE
   ============================================= */
body {
  font-family: var(--f-sans);
  font-weight: 300;
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--c-text);
  background: var(--c-bg);
  letter-spacing: 0.04em;
}

h1,
h2,
h3,
h4 {
  font-family: var(--f-serif);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.06em;
  padding-top: var(--s-1);
}

h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
}

h3 {
  font-size: 1.2rem;
}

h4 {
  font-size: 1rem;
  font-family: var(--f-sans);
  letter-spacing: 0.08em;
}

p {
  color: var(--c-text-2);
  margin-bottom: var(--s-3);
  font-size: 0.88rem;
  line-height: 2;
}

p:last-child {
  margin-bottom: 0;
}

/* =============================================
   LAYOUT
   ============================================= */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--s-4);
}

.wrap--narrow {
  max-width: var(--max-w-narrow);
  margin: 0 auto;
  padding: 0 var(--s-4);
}

.section {
  padding: var(--s-16) 0;
}

.section--sm {
  padding: var(--s-8) 0;
}

.section--gray {
  background: var(--c-surface);
}

.section--dark {
  background: var(--c-text);
}

.section--bark {
  background: var(--c-surface-2);
}

/* =============================================
   LABEL / EYEBROW
   ============================================= */
.label {
  display: inline-block;
  font-family: var(--f-sans);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-text-3);
  margin-bottom: var(--s-3);
}

.label--accent {
  color: var(--c-accent);
}

/* =============================================
   DIVIDER
   ============================================= */
.rule {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--c-border);
  margin: var(--s-3) 0;
}

.rule--center {
  margin: var(--s-3) auto;
}

/* =============================================
   HEADER
   ============================================= */

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--s-4);
  height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.site-logo {
  font-family: var(--f-serif);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--c-text);
  white-space: nowrap;
}

.header-nav {
  display: flex;
  gap: var(--s-6);
}

.header-nav a {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--c-text-2);
  transition: color var(--dur) var(--ease);
  white-space: nowrap;
}

.header-nav a:hover {
  color: var(--c-text);
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: var(--s-3);
}

.header-icon {
  background: none;
  border: none;
  color: var(--c-text-2);
  display: flex;
  align-items: center;
  transition: color var(--dur) var(--ease);
  position: relative;
}

.header-icon:hover {
  color: var(--c-text);
}

.header-icon svg {
  width: 18px;
  height: 18px;
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -6px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--c-accent);
  color: var(--c-white);
  font-size: 0.55rem;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1px;
  background: var(--c-text);
  transition: var(--dur) var(--ease);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.hero-visual {
  position: relative;
  background: var(--c-surface-2);
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 1.2s var(--ease);
}

.hero-visual:hover img {
  transform: scale(1.02);
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(64px + var(--s-12)) var(--s-12) var(--s-12);
  background: var(--c-bg);
}

.hero-text .label {
  margin-bottom: var(--s-4);
}

.hero-text h1 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  color: var(--c-text);
  margin-bottom: var(--s-4);
  line-height: 1.35;
}

.hero-text p {
  max-width: 380px;
  margin-bottom: var(--s-6);
}

/* Decorative line */
.hero-text::before {
  content: '';
  display: block;
  width: 1px;
  height: 60px;
  background: var(--c-border);
  margin-bottom: var(--s-6);
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--f-sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  padding: 0.875rem 2rem;
  border: 1px solid transparent;
  transition: all var(--dur) var(--ease);
}

.btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform var(--dur) var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--c-text);
  color: var(--c-bg);
  border-color: var(--c-text);
}

.btn--primary:hover {
  background: var(--c-accent-2);
  border-color: var(--c-accent-2);
}

.btn--outline {
  background: transparent;
  color: var(--c-text);
  border-color: var(--c-border);
}

.btn--outline:hover {
  border-color: var(--c-text);
}

.btn--ghost {
  background: transparent;
  color: var(--c-text-2);
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
  letter-spacing: 0.12em;
}

.btn--ghost:hover {
  color: var(--c-text);
}

.btn--white {
  background: var(--c-white);
  color: var(--c-text);
  border-color: var(--c-white);
}

.btn--white:hover {
  background: var(--c-bg);
  border-color: var(--c-bg);
}

/* =============================================
   CATEGORY GRID
   ============================================= */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--c-border);
}

.category-card {
  background: var(--c-bg);
  padding: var(--s-8) var(--s-4);
  text-align: center;
  transition: background var(--dur) var(--ease);
  display: block;
}

.category-card:hover {
  background: var(--c-surface);
}

.category-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--s-3);
  opacity: 0.45;
}

.category-card__icon img,
.category-card__icon svg {
  width: 100%;
  height: 100%;
}

.category-card h3 {
  font-family: var(--f-sans);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  color: var(--c-text);
  font-weight: 300;
  margin-bottom: var(--s-1);
}

.category-card p {
  font-size: 0.72rem;
  color: var(--c-text-3);
  margin: 0;
  line-height: 1.6;
}

/* =============================================
   PRODUCT GRID
   ============================================= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-2);
}

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

.product-card {
  display: block;
  background: transparent;
  transition: opacity var(--dur) var(--ease);
}

.product-card:hover {
  opacity: 0.85;
}

.product-card__image {
  aspect-ratio: 3/4;
  background: var(--c-surface);
  overflow: hidden;
  position: relative;
  margin-bottom: var(--s-2);
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

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

.product-card__badge {
  position: absolute;
  top: var(--s-2);
  left: var(--s-2);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  background: var(--c-text);
  color: var(--c-bg);
  padding: 0.25rem 0.6rem;
}

.product-card__meta {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  color: var(--c-text-3);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
}

.product-card h3 {
  font-family: var(--f-sans);
  font-weight: 300;
  font-size: 0.85rem;
  color: var(--c-text);
  margin-bottom: 0.4rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.product-card__price {
  font-family: var(--f-serif);
  font-size: 0.9rem;
  color: var(--c-text);
}

.product-card__price--old {
  font-size: 0.75rem;
  color: var(--c-text-3);
  text-decoration: line-through;
  margin-right: 0.4rem;
  font-family: var(--f-sans);
}

/* =============================================
   FEATURE BANNER (横長キービジュアル)
   ============================================= */
.feature-banner {
  position: relative;
  height: 520px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.feature-banner__bg {
  position: absolute;
  inset: 0;
}

.feature-banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(43, 41, 37, 0.72) 0%,
      rgba(43, 41, 37, 0.15) 60%,
      transparent 100%);
}

.feature-banner__content {
  position: relative;
  z-index: 1;
  padding: 0 var(--s-12);
  max-width: 520px;
  color: var(--c-bg);
}

.feature-banner__content .label {
  color: rgba(247, 245, 240, 0.55);
}

.feature-banner__content h2 {
  color: var(--c-bg);
  margin-bottom: var(--s-3);
}

.feature-banner__content p {
  color: rgba(247, 245, 240, 0.7);
  margin-bottom: var(--s-6);
}

/* =============================================
   CONCEPT (テキスト中心)
   ============================================= */
.concept {
  padding: var(--s-24) 0;
  text-align: center;
}

.concept h2 {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  color: var(--c-text);
  margin-bottom: var(--s-6);
  line-height: 1.6;
}

.concept p {
  max-width: 560px;
  margin: 0 auto var(--s-4);
  font-size: 0.88rem;
  line-height: 2.2;
}

.concept-numbers {
  display: flex;
  justify-content: center;
  gap: var(--s-12);
  margin-top: var(--s-12);
  padding-top: var(--s-8);
  border-top: 1px solid var(--c-border);
}

.concept-number {
  text-align: center;
}

.concept-number__val {
  font-family: var(--f-serif);
  font-size: 2.2rem;
  color: var(--c-text);
  display: block;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.concept-number__label {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--c-text-3);
}

/* =============================================
   SPLIT SECTION (画像 + テキスト)
   ============================================= */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 540px;
}

.split--reverse {
  direction: rtl;
}

.split--reverse>* {
  direction: ltr;
}

.split__visual {
  background: var(--c-surface-2);
  overflow: hidden;
}

.split__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.split:hover .split__visual img {
  transform: scale(1.03);
}

.split__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--s-12);
  background: var(--c-bg);
}

.split__text h2 {
  margin-bottom: var(--s-4);
}

.split__text p {
  margin-bottom: var(--s-4);
}

/* =============================================
   MARQUEE TICKER
   ============================================= */
.ticker {
  background: var(--c-text);
  padding: 0.6rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker__track {
  display: inline-flex;
  animation: ticker-scroll 28s linear infinite;
}

.ticker__track span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: rgba(247, 245, 240, 0.5);
  padding: 0 var(--s-4);
}

.ticker__track span.sep {
  color: var(--c-accent);
  padding: 0;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--c-border);
}

.testimonial-item {
  background: var(--c-bg);
  padding: var(--s-6) var(--s-4);
}

.testimonial-item__stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--s-3);
}

.testimonial-item__stars span {
  width: 8px;
  height: 8px;
  background: var(--c-accent);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.testimonial-item blockquote {
  font-family: var(--f-serif);
  font-size: 0.95rem;
  color: var(--c-text);
  line-height: 1.8;
  font-weight: 400;
  margin-bottom: var(--s-3);
}

.testimonial-item__author {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--c-text-3);
}

/* =============================================
   NEWSLETTER
   ============================================= */
.newsletter {
  text-align: center;
  padding: var(--s-16) 0;
}

.newsletter h2 {
  margin-bottom: var(--s-2);
}

.newsletter p {
  max-width: 400px;
  margin: 0 auto var(--s-6);
}

.newsletter-form {
  display: flex;
  max-width: 420px;
  margin: 0 auto;
  border: 1px solid var(--c-border);
  background: var(--c-white);
}

.newsletter-form input {
  flex: 1;
  padding: 0.875rem var(--s-3);
  border: none;
  background: transparent;
  font-family: var(--f-sans);
  font-size: 0.85rem;
  color: var(--c-text);
  outline: none;
}

.newsletter-form input::placeholder {
  color: var(--c-text-3);
}

.newsletter-form button {
  padding: 0.875rem var(--s-4);
  background: var(--c-text);
  color: var(--c-bg);
  border: none;
  font-family: var(--f-sans);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  transition: background var(--dur) var(--ease);
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: var(--c-accent-2);
}

/* =============================================
   BLOG POSTS
   ============================================= */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
}

.post-card {
  display: block;
}

.post-card__image {
  aspect-ratio: 16/10;
  background: var(--c-surface);
  overflow: hidden;
  margin-bottom: var(--s-3);
}

.post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

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

.post-card__meta {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  color: var(--c-text-3);
  margin-bottom: 0.4rem;
}

.post-card h3 {
  font-family: var(--f-sans);
  font-weight: 300;
  font-size: 0.9rem;
  color: var(--c-text);
  line-height: 1.6;
  transition: color var(--dur) var(--ease);
}

.post-card:hover h3 {
  color: var(--c-accent);
}

/* =============================================
   SECTION HEADER
   ============================================= */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--s-6);
  border-bottom: 1px solid var(--c-border);
  padding-bottom: var(--s-3);
}

.section-head h2 {
  margin: 0;
  font-size: 1rem;
  font-family: var(--f-sans);
  font-weight: 300;
  letter-spacing: 0.12em;
}

.section-head--center {
  justify-content: center;
  text-align: center;
  flex-direction: column;
  gap: var(--s-1);
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--c-text);
  color: rgba(247, 245, 240, 0.45);
  padding: var(--s-12) 0 var(--s-6);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s-8);
  padding-bottom: var(--s-8);
  border-bottom: 1px solid rgba(247, 245, 240, 0.08);
  margin-bottom: var(--s-6);
}

.footer-brand .site-logo {
  color: rgba(247, 245, 240, 0.85);
  font-size: 0.95rem;
  display: block;
  margin-bottom: var(--s-3);
}

.footer-brand p {
  color: rgba(247, 245, 240, 0.35);
  font-size: 0.78rem;
  max-width: 240px;
  line-height: 1.8;
}

.footer-col h4 {
  font-family: var(--f-sans);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(247, 245, 240, 0.7);
  font-weight: 400;
  margin-bottom: var(--s-3);
}

.footer-col li {
  margin-bottom: 0.7rem;
}

.footer-col a {
  font-size: 0.78rem;
  color: rgba(247, 245, 240, 0.35);
  transition: color var(--dur) var(--ease);
}

.footer-col a:hover {
  color: rgba(247, 245, 240, 0.85);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: rgba(247, 245, 240, 0.2);
}

/* =============================================
   WooCommerce compatible overrides
   ============================================= */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: var(--s-2) !important;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce ul.products li.product {
  float: none !important;
  width: auto !important;
}

.woocommerce .woocommerce-ordering select,
.woocommerce .woocommerce-result-count {
  font-family: var(--f-sans);
  font-size: 0.78rem;
  color: var(--c-text-2);
}

/* =============================================
   PAGE INTERIORS
   ============================================= */
.page-banner {
  padding-top: calc(64px + var(--s-12));
  padding-bottom: var(--s-8);
  background: var(--c-surface);
  text-align: center;
}

.breadcrumb {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--c-text-3);
  margin-bottom: var(--s-2);
}

.breadcrumb a {
  color: var(--c-accent);
}

.breadcrumb span {
  margin: 0 0.4rem;
}

.post-body {
  font-size: 0.92rem;
  line-height: 2.1;
  color: var(--c-text-2);
}

.post-body h2,
.post-body h3 {
  color: var(--c-text);
  margin: var(--s-6) 0 var(--s-2);
}

.post-body a {
  color: var(--c-accent);
  border-bottom: 1px solid currentColor;
}

/* =============================================
   FORMS
   ============================================= */
.field-group {
  margin-bottom: var(--s-3);
}

label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--c-text-3);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"],
select,
textarea {
  width: 100%;
  padding: 0.75rem var(--s-2);
  background: var(--c-white);
  border: 1px solid var(--c-border);
  font-family: var(--f-sans);
  font-size: 0.85rem;
  color: var(--c-text);
  outline: none;
  transition: border-color var(--dur) var(--ease);
  -webkit-appearance: none;
  border-radius: 0;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--c-accent);
}

/* =============================================
   UTILITY
   ============================================= */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.text-center {
  text-align: center;
}

/* Animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

.reveal:nth-child(2) {
  transition-delay: 80ms;
}

.reveal:nth-child(3) {
  transition-delay: 160ms;
}

.reveal:nth-child(4) {
  transition-delay: 240ms;
}

html,
body {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

:root {

  /* カラー */
  --color-white: #ffffff;
  --color-brand: #3d7cf5;
  /* ブランドカラー（例） */
  --color-brand-outline: rgba(61, 124, 245, .4);
  --color-assertive: #e5454b;
  /* バッジ・通知 */
  --color-border-default: #e0e0e0;
  --color-surface-1: #f5f5f5;
  --color-surface-1-hover: #ebebeb;
  --color-surface-3: #ededed;
  --color-bg-1: #ffffff;
  --color-bg-1-hover: #f5f5f5;
  --color-text-1: #222222;
  --color-text-2: #555555;

  /* スペーシング（8px グリッド） */
  --sp-2: 2px;
  --sp-4: 4px;
  --sp-5: 5px;
  --sp-8: 8px;
  --sp-12: 12px;
  --sp-16: 16px;
  --sp-24: 24px;

  /* タイポグラフィ */
  --font-10: 10px;
  --font-12: 12px;
  --font-14: 14px;
  --font-16: 16px;
  --lh-16: 16px;

  /* 丸み */
  --radius-4: 4px;
  --radius-8: 8px;
  --radius-oval: 9999px;

  /* 幅 */
  --max-col-12: 1224px;

  /* アニメーション */
  --anim-dur: 300ms;
}

/* ============================================================
   ユーティリティ
   ============================================================ */

/* display */
.u-block {
  display: block;
}

.u-flex {
  display: flex;
}

.u-inline-block {
  display: inline-block;
}

.u-hidden {
  display: none;
}

.u-flow-root {
  display: flow-root;
}

/* flexbox helpers */
.u-flex-center {
  display: flex;
  align-items: center;
}

.u-items-center {
  align-items: center;
}

.u-justify-between {
  justify-content: space-between;
}

.u-gap-8 {
  gap: var(--sp-8);
}

.u-gap-16 {
  gap: var(--sp-16);
}

/* sizing */
.u-h-full {
  height: 100%;
}

.u-w-full {
  width: 100%;
}

.u-box-border {
  box-sizing: border-box;
}

.u-shrink-0 {
  flex-shrink: 0;
}

.u-aspect-square {
  aspect-ratio: 1 / 1;
}

.u-overflow-hidden {
  overflow: hidden;
}

.u-overflow-y-auto {
  overflow-y: auto;
}

.u-object-cover {
  object-fit: cover;
}

/* position */
.u-relative {
  position: relative;
}

.u-absolute {
  position: absolute;
}

.u-fixed {
  position: fixed;
}

/* color helpers */
.u-bg-white {
  background-color: var(--color-white);
}

.u-bg-transparent {
  background-color: transparent;
}

/* text */
.u-text-white {
  color: var(--color-white);
}

.u-font-bold {
  font-weight: 700;
}

.u-whitespace-nowrap {
  white-space: nowrap;
}

.u-text-ellipsis {
  text-overflow: ellipsis;
  overflow: hidden;
}

.u-break-all {
  word-break: break-all;
}

.u-select-none {
  user-select: none;
}

.u-cursor-pointer {
  cursor: pointer;
}

/* misc */
.u-outline-none {
  outline: none;
}

.u-border-none {
  border: none;
}

.u-transition {
  transition: all var(--anim-dur);
}

/* ============================================================
   レイアウト・ブレークポイント
   ============================================================ */

/* SP表示用ラッパー（screen3未満で表示） */
.layout-sp {
  display: block;
}

/* PC表示用ラッパー（screen3以上で表示） */
.layout-pc {
  display: none;
}

/* screen3 相当 = 1024px */
@media (min-width: 1024px) {
  .layout-sp {
    display: none;
  }

  .layout-pc {
    display: block;
  }
}

/* ============================================================
   ヘッダー共通
   ============================================================ */

.site-header {
  border-bottom: 3px solid var(--color-border-default);
  border-bottom-color: #de8e3f;
  margin-top: 0px;
}

/* ── SP ヘッダーバー ── */
.site-header__bar--sp {
  height: 48px;
  background-color: var(--color-white);
  display: flex;
  justify-content: space-between;
}

/* ── PC ヘッダーバー ── */
.site-header__bar--pc {
  box-sizing: border-box;
  /* max-width: var(--max-col-12); */
  height: 64px;
  background-color: var(--color-white);
  display: flex;
  justify-content: space-between;
  padding-left: var(--sp-16);
  padding-right: var(--sp-16);
  margin-left: auto;
  margin-right: auto;
}

/* ── ロゴ ── */
.site-header__logo-link {
  display: flex;
  align-items: center;
  height: 100%;
}

.site-header__logo-link a {
  display: block;
  transition: all var(--anim-dur);
}

.site-header__logo-link a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--color-brand-outline);
}

.site-header__logo--sp {
  display: block;
  width: 102px;
  height: 23px;
  margin-left: var(--sp-16);
  margin-right: var(--sp-16);
}

.site-header__logo--pc {
  display: block;
  width: 132px;
  height: 34px;
}

/* ── アクションエリア（アイコン群） ── */
.site-header__actions {
  display: flex;
  align-items: center;
}

.site-header__actions--pc {
  display: flex;
  align-items: center;
  gap: var(--sp-16);
}

/* ============================================================
   アイコンボタン（通知・カート共通）
   ============================================================ */

.icon-btn {
  height: 40px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-oval);
  position: relative;
  transition: background-color var(--anim-dur);
}

.icon-btn:hover {
  background-color: var(--color-surface-3);
}

.icon-btn__link {
  display: flex;
  align-items: center;
  justify-content: center;
  /* display: block; */
  height: 100%;
  width: 100%;
  border-radius: var(--radius-oval);
  transition: all var(--anim-dur);
}

.icon-btn__link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--color-brand-outline);
}

/* バッジ */
.icon-btn__badge {
  position: absolute;
  top: 0;
  left: 20px;
  padding-left: var(--sp-5);
  padding-right: var(--sp-5);
  background-color: var(--color-assertive);
  border-radius: var(--radius-oval);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-white);
}

.icon-btn__badge-text {
  font-size: var(--font-10);
  line-height: var(--lh-16);
  color: var(--color-white);
  font-weight: 700;
}

/* ============================================================
   SP：ハンバーガーボタン
   ============================================================ */

.sp-menu-btn {
  background-color: transparent;
  border: none;
  cursor: pointer;
  height: 40px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-oval);
  padding: 0;
  transition: all var(--anim-dur);
}

.sp-menu-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--color-brand-outline);
}

/* ============================================================
   SP：サイドバー（ダイアログ）
   ============================================================ */

.sp-sidebar-dialog {
  width: 100%;
  height: 100%;
  border: none;
  background-color: transparent;
}

.sp-sidebar-dialog::backdrop {
  background-color: rgba(0, 0, 0, 0);
  transition: background-color var(--anim-dur);
}

.sp-sidebar-dialog[open]::backdrop {
  background-color: rgba(0, 0, 0, .4);
}

.sp-sidebar__panel {
  outline: none;
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 303px;
  max-width: calc(100vw - 30px);
  background-color: var(--color-bg-1);
  border-left: 1px solid var(--color-border-default);
  transition: transform var(--anim-dur);
  overflow-y: auto;
  transform: translateX(100%);
}

.sp-sidebar-dialog[open] .sp-sidebar__panel {
  transform: translateX(0);
}

/* ── ユーザー情報（サイドバー上部） ── */
.sp-sidebar__user {
  padding-left: var(--sp-16);
  padding-right: var(--sp-16);
  margin-top: var(--sp-24);
  margin-bottom: var(--sp-16);
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}

.sp-sidebar__avatar {
  width: 40px;
  height: 40px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-oval);
  flex-shrink: 0;
  box-sizing: border-box;
  border: 1px solid var(--color-border-default);
  overflow: hidden;
}

.sp-sidebar__avatar i {
  width: 100%;
  height: 100%;
  text-align: center;
  align-content: center;
}

.sp-sidebar__username {
  font-size: var(--font-16);
  font-weight: 700;
  color: var(--color-text-2);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-all;
}

/* ── メニューリスト（サイドバー） ── */
.sp-sidebar__nav {
  border-top: 1px solid var(--color-border-default);
}

.sp-sidebar__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  /* divider */
  divide-y: 1px solid var(--color-border-default);
}

.sp-sidebar__menu>li {
  padding-top: var(--sp-8);
  padding-bottom: var(--sp-8);
  border-top: 1px solid var(--color-border-default);
}

.sp-sidebar__menu>li:first-child {
  border-top: none;
}

.sp-sidebar__menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sp-sidebar__menu-link {
  display: flow-root;
  box-sizing: border-box;
  padding: var(--sp-8) var(--sp-16);
  font-size: var(--font-14);
  color: var(--color-text-2);
  text-decoration: none;
  width: 100%;
  outline: none;
  transition: background-color var(--anim-dur);
}

.sp-sidebar__menu-link:hover,
.sp-sidebar__menu-link:focus-visible {
  background-color: var(--color-surface-1-hover);
  color: var(--color-text-2);
  text-decoration: none;
}

/* ============================================================
   PC：ユーザーメニュー
   ============================================================ */

.user-menu {
  position: relative;
}

.user-menu__trigger {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all var(--anim-dur);
}

.user-menu__trigger:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--color-brand-outline);
}

.user-menu__avatar {
  width: 30px;
  height: 30px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-oval);
  box-sizing: border-box;
  border: 1px solid var(--color-border-default);
  flex-shrink: 0;
}

.user-menu__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-menu__name {
  font-size: var(--font-14);
  font-weight: 700;
  color: var(--color-text-2);
  max-width: 84px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.user-menu__arrow {
  width: 16px;
  height: 16px;
  transition: transform var(--anim-dur);
}

.user-menu__trigger[aria-expanded="true"] .user-menu__arrow {
  transform: rotate(180deg);
}

/* ── ドロップダウン ── */
.user-menu__dropdown {
  display: none;
  position: absolute;
  overflow-y: auto;
  width: 288px;
  z-index: 3;
}

.user-menu__dropdown.is-open {
  display: block;
}

.user-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-radius: var(--radius-8);
  background-color: var(--color-white);
  border: 1px solid var(--color-border-default);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
  overflow: hidden;
}

.user-menu__list>li {
  padding-top: var(--sp-8);
  padding-bottom: var(--sp-8);
  border-top: 1px solid var(--color-border-default);
}

.user-menu__list>li:first-child {
  border-top: none;
}

.user-menu__list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.user-menu__item-block {
  font-size: var(--font-16);
  color: var(--color-text-2);
}

.user-menu__link {
  display: block;
  padding: var(--sp-8) var(--sp-16);
  color: var(--color-text-2);
  text-decoration: none;
  outline: none;
  transition: background-color var(--anim-dur);
}

.user-menu__link:hover,
.user-menu__link:focus-visible {
  background-color: var(--color-surface-1-hover);
  color: var(--color-text-2);
  text-decoration: none;
}


/* ============================================================
   ナビゲーション（商品カテゴリ）
   ============================================================ */

.site-nav {
  border-bottom: 1px solid var(--color-border-default);
}

.site-nav__inner {
  max-width: var(--max-col-12);
  width: 100%;
  margin: 0 auto;
  padding-left: var(--sp-8);
  padding-right: var(--sp-8);
  box-sizing: border-box;
  overflow: visible;
  white-space: nowrap;
}

/* ── カテゴリアイテム（ホバードロップダウン付き） ── */
.nav-category {
  display: inline-block;
  padding: var(--sp-12) var(--sp-16);
  font-size: var(--font-14);
  vertical-align: middle;
  text-align: center;
  cursor: pointer;
  user-select: none;
  position: relative;
  list-style: none;
  color: var(--color-text-1);
  transition: color var(--anim-dur);
}

.nav-category:hover {
  color: var(--color-brand);
}

/* カテゴリラベル */
.nav-category__label {
  /* ラベル自体はliの直接テキストコンテンツとして表現 */
}

/* ── ドロップダウンパネル ── */
.nav-category__dropdown {
  display: none;
  position: absolute;
  z-index: 50;
  top: 100%;
  left: 0;
  background-color: var(--color-white);
  border: 1px solid var(--color-border-default);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
  border-radius: var(--radius-4);
  min-width: 200px;
}

.nav-category:hover .nav-category__dropdown {
  display: block;
}

.nav-category__dropdown-list {
  list-style: none;
  margin: 0;
  padding: var(--sp-8) 0;
  text-align: left;
}

/* ── ドロップダウン内リンク ── */
.nav-category__link {
  display: block;
  padding: var(--sp-8) var(--sp-16);
  font-size: var(--font-12);
  line-height: 1.5;
  color: var(--color-text-1);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--anim-dur);
}

.nav-category__link:hover {
  background-color: var(--color-bg-1-hover);
  text-decoration: underline;
  color: var(--color-text-1);
}

/* ============================================================
   タイポグラフィヘルパー
   ============================================================ */

.typography-10 {
  font-size: var(--font-10);
}

.typography-12 {
  font-size: var(--font-12);
}

.typography-14 {
  font-size: var(--font-14);
}

.typography-16 {
  font-size: var(--font-16);
}

/* 日本語の行高均等化（preserve-half-leading 相当） */
.preserve-half-leading {
  line-height: 1.6;
  /* 上下マージン均等化のためpadding補正 */
}

/* ============================================================
   行の切り捨て
   ============================================================ */

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   アクセシビリティ・フォーカスリング（共通）
   ============================================================ */

.focus-ring:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--color-brand-outline);
}

/* ============================================================
   リセット補足
   ============================================================ */

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

/* ============================================================
   レスポンシブ補助
   ============================================================ */

/* SP幅での最大幅制限なし、PC幅でmax-width適用 */
@media (min-width: 1024px) {
  .site-header__bar--pc {
    padding-left: var(--sp-16);
    padding-right: var(--sp-16);
  }
}

/* ============================================================
   フッター
   ============================================================ */

.responsive-iframe {
  width: 100%;
  /* 横幅を親要素いっぱいに広げる */
  height: auto;
  /* 高さは自動計算（※これだけだと崩れる原因になります） */
  aspect-ratio: 16 / 9;
  /* ★ここで縦横比を16:9に固定する */
  max-width: 100%;
  /* 親要素からはみ出るのを防ぐ */
}

@media (max-width: 767px) {
  .fotter-grid {
    grid-template-columns: 1fr !important;
  }
}