/* ═══════════════════════════════════════
   WEBO ONLINE STORE — Base + Header + Footer
   ═══════════════════════════════════════ */
/* ─── CSS Variables ─── */ :root {
  --color-bg: #F2F0EB; /* #FAF9F7 */
  --color-white: #FFFFFF;
  --color-text: #2C2C2C;
  --color-text-light: #6B6B6B;
  --color-accent: #8B7355;
  --color-accent-light: #B8A88A;
  --color-divider: #E8E4DF;
  --color-dark: #2C2C2C;
  --font-en: 'Cormorant Garamond', serif;
  --font-jp: 'Noto Serif JP', serif;
  --font-sans: 'Inter', sans-serif;
}
/* ─── Base Reset ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: var(--font-jp);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  padding-top: 70px;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
/* ═══════════════════════════════════════
   NAV
   ═══════════════════════════════════════ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--color-bg);
  backdrop-filter: none;
  border-bottom: 1px solid var(--color-divider);
}
.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 38px;
  width: auto;
  display: block;
}
/* ─── Nav Links ─── */
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}
.nav-links > li {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-links > li > a, .nav-dropdown a {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-light);
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
}
.nav-links > li > a:hover {
  color: var(--color-text);
}
.nav-links > li > a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s;
}
.nav-links > li > a:hover::after {
  width: 100%;
}
/* ─── Dropdown Trigger ─── */
.nav-dropdown {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.nav-dropdown-arrow {
  width: 0;
  height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4px solid var(--color-text-light);
  transition: transform 0.3s;
}
.nav-links > li:hover .nav-dropdown-arrow {
  transform: rotate(180deg);
}
/* ─── Mega Dropdown ─── */
.mega-dropdown {
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--color-white);
  border: 1px solid var(--color-divider);
  border-radius: 8px;
  padding: 28px 0;
  width: 860px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 200;
}
.nav-links > li:hover .mega-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.mega-dropdown-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.mega-col-feature a {
  color: var(--color-accent) !important;
  font-weight: 400;
}
.mega-col-feature a:hover {
  color: var(--color-text) !important;
}
.mega-col {
  padding: 0 28px;
}
.mega-col:not(:last-child) {
  border-right: 1px solid var(--color-divider);
}
.mega-col-title {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 14px;
  font-weight: 500;
}
.mega-col .mega-col-title ~ .mega-col-title {
  margin-top: 18px;
}
.mega-col a {
  display: block;
  padding: 5px 0;
  font-family: var(--font-jp);
  font-size: 0.8rem;
  color: var(--color-text-light);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.04em;
  font-weight: 300;
  text-transform: none;
}
.mega-col a:hover {
  color: var(--color-text);
}
.mega-col a::after {
  display: none;
}
/* ─── Nav Right (Cart + Toggle) ─── */
.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-cart {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-light);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}
.nav-cart:hover {
  color: var(--color-text);
}
/* ─── Mobile Toggle ─── */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  color: var(--color-text);
  z-index: 200;
  margin-left: 12px;
}
.mobile-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s, opacity 0.3s;
}
/* ─── Mobile Nav Panel ─── */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100vh;
  background: var(--color-white);
  z-index: 150;
  padding: 80px 28px 40px;
  overflow-y: auto;
  transform: translateX(105%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
}
.mobile-nav.is-open {
  transform: translateX(0);
}
.mobile-nav-section {
  font-family: var(--font-sans);
  font-size: 0.58rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 22px 0 6px;
}
.mobile-nav a {
  display: block;
  padding: 11px 0;
  font-family: var(--font-jp);
  font-size: 0.88rem;
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid var(--color-divider);
  letter-spacing: 0.06em;
  font-weight: 300;
}
.mobile-nav a:first-of-type {
  border-top: 1px solid var(--color-divider);
}
/* ─── Mobile Overlay ─── */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  z-index: 140;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.mobile-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
/* ═══════════════════════════════════════
   Transparent Nav Variant
   — add class="nav-transparent" to <nav>
   ═══════════════════════════════════════ */
nav.nav-transparent {
  background: transparent;
  border-bottom: none;
  backdrop-filter: none;
  padding: 20px 60px;
  transition: all 0.4s ease;
}
nav.nav-transparent .nav-logo {
  color: var(--color-white);
}
nav.nav-transparent .nav-links > li > a, nav.nav-transparent .nav-dropdown a {
  color: rgba(255, 255, 255, 0.85);
}
nav.nav-transparent .nav-links > li > a:hover {
  color: #fff;
}
nav.nav-transparent .nav-dropdown-arrow {
  border-top-color: rgba(255, 255, 255, 0.7);
}
nav.nav-transparent .nav-cart {
  color: rgba(255, 255, 255, 0.85);
}
nav.nav-transparent .nav-cart:hover {
  color: #fff;
}
nav.nav-transparent .mobile-toggle {
  color: rgba(255, 255, 255, 0.9);
}
nav.nav-transparent.scrolled {
  background: var(--color-bg);
  backdrop-filter: none;
  border-bottom: 1px solid var(--color-divider);
  padding: 14px 60px;
}
nav.nav-transparent.scrolled .nav-logo {
  color: var(--color-text);
}
nav.nav-transparent.scrolled .nav-links > li > a, nav.nav-transparent.scrolled .nav-dropdown a {
  color: var(--color-text-light);
}
nav.nav-transparent.scrolled .nav-links > li > a:hover {
  color: var(--color-text);
}
nav.nav-transparent.scrolled .nav-dropdown-arrow {
  border-top-color: var(--color-text-light);
}
nav.nav-transparent.scrolled .nav-cart {
  color: var(--color-text-light);
}
nav.nav-transparent.scrolled .nav-cart:hover {
  color: var(--color-text);
}
nav.nav-transparent.scrolled .mobile-toggle {
  color: var(--color-text);
}
/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
footer {
  background: #111;
  color: rgba(255, 255, 255, 0.5);
  padding: 0;
  margin-top: 0;
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 64px 60px 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-brand {
  display: flex;
  flex-direction: column;
}
.footer-brand-name {
  font-family: var(--font-en);
  font-size: 1.3rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.12em;
  line-height: 1.2;
  margin-bottom: 6px;
}
.footer-tagline {
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.28);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}
.footer-contact {
  font-family: var(--font-jp);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1.7;
}
.footer-address {
  font-family: var(--font-jp);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1.7;
}
/* ─── Footer Nav Grid ─── */
.footer-nav {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
}
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.58rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
/* ─── Shop Column: Category Labels ─── */
.footer-cat-label {
  font-family: var(--font-sans);
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin: 14px 0 5px;
  display: block;
}
.footer-cat-label:first-of-type {
  margin-top: 0;
}
/* ─── Shop Column: Inline Links ─── */
.footer-shop-links {
  display: flex;
  flex-wrap: wrap;
  column-gap: 4px;
  row-gap: 1px;
}
.footer-col .footer-shop-links:first-of-type {
  margin-bottom: 10px;
}
.footer-shop-links a {
  display: inline;
  font-family: var(--font-jp);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.38);
  text-decoration: none;
  transition: color 0.3s;
  letter-spacing: 0.02em;
  white-space: nowrap;
  padding: 0;
}
.footer-shop-links a:hover {
  color: rgba(255, 255, 255, 0.85);
}
.footer-shop-links a::after {
  content: ' / ';
  color: rgba(255, 255, 255, 0.13);
  font-size: 0.65rem;
}
.footer-shop-links a:last-child::after {
  content: '';
}
/* ─── Guide & About Columns ─── */
.footer-col-sub a {
  display: block;
  font-family: var(--font-jp);
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.38);
  text-decoration: none;
  padding: 3.5px 0;
  transition: color 0.3s;
  letter-spacing: 0.03em;
}
.footer-col-sub a:hover {
  color: rgba(255, 255, 255, 0.85);
}
/* ─── Footer Inquiry Button ─── */
.footer-inquiry-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 10px 24px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: all 0.3s ease;
}
.footer-inquiry-btn:hover {
  border-color: var(--color-accent-light);
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.04);
}
.footer-inquiry-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
}
/* ─── Footer Bottom ─── */
.footer-bottom {
  padding: 28px 0 0;
  text-align: center;
}
.footer-bottom p {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.18);
}
a.underline:link {
  color: #535A73;
  border-bottom: 1px solid #535A73;
  display: inline
}
a.underline:hover {
  background-color: #CACDD7
}
/*  P_btn — action button (inquiry, simulator, etc.)  */
.P_btn {
  display: block;
  padding: 10px 24px;
  border: 1px solid var(--color-accent);
  border-radius: 4px;
  color: var(--color-accent);
  font-family: var(--font-jp);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: all 0.3s;
  margin-top: 0.5em;
  max-width: 300px;
}
.P_btn:hover {
  background: var(--color-accent);
  color: var(--color-white);
}
/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
/* ─── Tablet (900px) ─── */
@media (max-width: 900px) {
  nav {
    padding: 14px 20px;
  }
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .mega-dropdown {
    position: static;
    display: none;
    grid-template-columns: 1fr;
    padding: 15px 0 15px 20px;
    background: #FAFAF8;
    border-top: none;
    border-left: 3px solid var(--color-accent);
    box-shadow: none;
    min-width: auto;
    margin-top: 10px;
    gap: 15px;
  }
  nav.nav-transparent {
    padding: 14px 20px;
  }
  nav.nav-transparent.scrolled {
    padding: 14px 20px;
  }
  /* ─── Footer Responsive ─── */
  footer {
    margin-top: 40px;
  }
  .footer-inner {
    padding: 52px 28px 28px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 40px;
  }
  .footer-nav {
    grid-template-columns: 1fr 1fr;
    gap: 36px 28px;
  }
  /* Shop（商品メニュー）は全幅、Guide と About は下に 2 列 */
  .footer-nav .footer-col:not(.footer-col-sub) {
    grid-column: 1 / -1;
  }
  /* Guide / About の上に細い区切り線を入れて視覚的にセクションを分ける */
  .footer-nav .footer-col-sub {
    padding-top: 4px;
  }
  .footer-col h4 {
    margin-bottom: 14px;
  }
  .footer-inquiry-btn {
    margin-top: 20px;
  }
  .footer-bottom {
    padding-top: 24px;
  }
}
/* ─── Mobile (480px) ─── */
@media (max-width: 480px) {
  .footer-inner {
    padding: 36px 20px 20px;
  }
  .footer-brand-name {
    font-size: 1.1rem;
  }
  .footer-inquiry-btn {
    padding: 9px 20px;
    font-size: 0.68rem;
  }
  .footer-bottom p {
    font-size: 0.56rem;
  }
}
/* ═══════════════════════════════════════
   MOBILE NAV — Top Row + H型ナビ Layout
   ═══════════════════════════════════════ */
/* Top row: display:contents on PC so it doesn't wrap; flex on mobile */
.nav-top-row {
  display: contents;
}
@media (max-width: 900px) {
  nav {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 0 !important;
  }
  .nav-top-row {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: rgba(248, 246, 243, 0.97);
    position: relative;
    z-index: 2;
  }
  .nav-logo-img {
    height: 32px;
  }
  .mobile-toggle {
    display: none !important;
  }
  .mobile-nav {
    display: none !important;
  }
  .mobile-overlay {
    display: none !important;
  }
  .nav-links {
    display: none !important;
  }
  .nav-cart span {
    display: none;
  }
  .nav-cart svg {
    width: 22px;
    height: 22px;
  }
  .nav-cart {
    gap: 0;
  }
  body {
    padding-top: 95px !important;
  }
}
.h-cat-strip {
  display: none;
}
@media (max-width: 900px) {
  .h-cat-strip {
    display: flex;
    justify-content: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 6px;
    border-top: 1px solid var(--color-divider, #E8E4DF);
    background: rgba(248, 246, 243, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    max-height: 48px;
    transition: max-height 0.25s ease, border-top-color 0.25s ease;
  }
  .h-cat-strip.h-strip-hidden {
    max-height: 0;
    overflow: hidden;
    border-top-color: transparent;
  }
}
.h-cat-strip::-webkit-scrollbar {
  display: none;
}
.h-cat-btn {
  flex: 1 1 0;
  padding: 12px 6px;
  border: none;
  background: none;
  font: 400 0.64rem var(--font-sans, 'Inter', sans-serif);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-light, #6B6B6B);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  transition: color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.h-cat-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1.5px;
  background: var(--color-accent, #8B7355);
  transition: width 0.25s ease;
}
.h-cat-btn.active {
  color: var(--color-accent, #8B7355);
}
.h-cat-btn.active::after {
  width: 60%;
}
a.h-cat-btn {
  text-decoration: none;
}
.h-menu-toggle {
  display: none;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--color-text, #2C2C2C);
  padding: 6px 2px;
  align-items: center;
  gap: 3px;
  font: 400 0.58rem var(--font-sans, 'Inter', sans-serif);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  -webkit-tap-highlight-color: transparent;
}
.h-menu-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.h-menu-toggle.open svg {
  transform: rotate(180deg);
}
@media (max-width: 900px) {
  .h-menu-toggle {
    display: flex;
  }
}
.h-exp-panel {
  display: none;
}
@media (max-width: 900px) {
  .h-exp-panel {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--color-white, #fff);
    border-top: 1px solid var(--color-divider, #E8E4DF);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  }
}
.h-exp-panel.open {
  max-height: 70vh;
  overflow-y: auto;
}
.h-exp-inner {
  padding: 14px 20px 18px;
}
.h-ep-search {
  margin-bottom: 12px;
}
.h-ep-search form {
  display: flex;
  align-items: center;
  background: var(--color-bg, #F2F0EB);
  border-radius: 6px;
  padding: 9px 14px;
  transition: box-shadow 0.2s;
}
.h-ep-search form:focus-within {
  box-shadow: 0 0 0 1.5px var(--color-accent-light, #B8A88A);
}
.h-ep-search input {
  border: none;
  background: transparent;
  font: 300 0.78rem var(--font-sans, 'Inter', sans-serif);
  color: var(--color-text, #2C2C2C);
  outline: none;
  flex: 1;
  margin-left: 8px;
}
.h-ep-search input::placeholder {
  color: var(--color-accent-light, #B8A88A);
  font-weight: 300;
}
.h-ep-search svg {
  color: var(--color-accent-light, #B8A88A);
  flex-shrink: 0;
}
.h-ep-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
.h-ep-grid > a {
  display: block;
  padding: 8px 0;
  font: 300 0.82rem var(--font-jp, 'Noto Serif JP', serif);
  color: var(--color-text, #2C2C2C);
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 228, 223, 0.6);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.h-ep-grid > a:active {
  color: var(--color-accent, #8B7355);
}
.h-ep-featured {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--color-divider, #E8E4DF);
}
.h-ep-featured a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px 0;
  font: 400 0.62rem var(--font-sans, 'Inter', sans-serif);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent, #8B7355);
  text-decoration: none;
  background: rgba(242, 240, 235, 0.6);
  border: 1px solid rgba(232, 228, 223, 0.7);
  border-radius: 5px;
  transition: background 0.2s, border-color 0.2s;
}
.h-ep-featured a:active {
  background: rgba(232, 228, 223, 0.8);
  border-color: var(--color-accent-light, #B8A88A);
}
/* last row items in grid: no bottom border */
.h-ep-grid > a:nth-last-of-type(-n+2) {
  border-bottom: none;
}
/* ─── Category Strip ─── */
.cat-strip {
  display: none;
}
@media (max-width: 900px) {
  .cat-strip {
    display: flex;
    justify-content: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 6px;
    border-top: 1px solid var(--color-divider, #E8E4DF);
    background: var(--color-bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    max-height: 48px;
    transition: max-height 0.25s ease, border-top-color 0.25s ease;
  }
  .cat-strip.strip-hidden {
    max-height: 0;
    overflow: hidden;
    border-top-color: transparent;
  }
}
.cat-strip::-webkit-scrollbar {
  display: none;
}
/* ─── Category Buttons ─── */
.cat-btn {
  flex: 1 1 0;
  padding: 12px 6px;
  border: none;
  background: none;
  font: 400 0.64rem var(--font-sans, 'Inter', sans-serif);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-light, #6B6B6B);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  transition: color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.cat-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1.5px;
  background: var(--color-accent, #8B7355);
  transition: width 0.25s ease;
}
.cat-btn.active {
  color: var(--color-accent, #8B7355);
}
.cat-btn.active::after {
  width: 60%;
}
a.cat-btn {
  text-decoration: none;
}
/* ─── Menu Toggle (Mobile) ─── */
.menu-toggle {
  display: none;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--color-text, #2C2C2C);
  padding: 6px 2px;
  align-items: center;
  gap: 3px;
  font: 400 0.58rem var(--font-sans, 'Inter', sans-serif);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  -webkit-tap-highlight-color: transparent;
}
.menu-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.menu-toggle.open svg {
  transform: rotate(180deg);
}
@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }
}
@media (max-width: 480px) {
  .only481over {
    display: none
  }
}
/* ─── Expandable Panel ─── */
.exp-panel {
  display: none;
}
@media (max-width: 900px) {
  .exp-panel {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--color-white, #fff);
    border-top: 1px solid var(--color-divider, #E8E4DF);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  }
}
.exp-panel.open {
  max-height: 70vh;
  overflow-y: auto;
}
.exp-inner {
  padding: 14px 20px 18px;
}
/* ─── Google CSE Shared Overrides (mobile panel + PC nav) ─── */
.panel-search .gsc-control-cse, .nav-search .gsc-control-cse {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  font-family: inherit !important;
}
.panel-search table.gsc-search-box {
  background: var(--color-bg, #F2F0EB) !important;
  border-radius: 6px !important;
  margin: 0 !important;
  width: 100% !important;
}
.nav-search table.gsc-search-box {
  /* 全ページ共通：nav bg (#F2F0EB) と十分な差を確保するため純白。
     枠線は付けない（以前「枠が目立ちすぎ」のフィードバック）。 */
  background: #FFFFFF !important;
  border: none !important;
  border-radius: 6px !important;
  margin: 0 !important;
  width: 100% !important;
}
.panel-search .gsc-search-box td, .nav-search .gsc-search-box td {
  border: none !important;
  padding: 0 !important;
}
.panel-search .gsc-input-box, .nav-search .gsc-input-box {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 6px 0 0 6px !important;
  padding: 4px 4px 4px 10px !important;
}
/* Fix: kill Google's inline background-image magnifying glass on input */
.panel-search input.gsc-input, .nav-search input.gsc-input {
  background-color: transparent !important;
  background-image: none !important;
  text-indent: 0 !important;
  font: 300 0.78rem var(--font-sans, 'Inter', sans-serif) !important;
  color: var(--color-text, #2C2C2C) !important;
  outline: none !important;
  padding: 5px 0 !important;
  margin: 0 !important;
}
.panel-search input.gsc-input::placeholder, .nav-search input.gsc-input::placeholder {
  color: var(--color-accent-light, #B8A88A) !important;
}
.panel-search .gsib_a, .nav-search .gsib_a {
  padding: 4px 6px !important;
  background-image: none !important;
  background: transparent !important;
}
.panel-search .gsib_b, .nav-search .gsib_b {
  display: none !important;
}
/* Search button (right side magnifying glass SVG) —
   Google CSE hides td.gsc-search-button by default; force it visible */
.panel-search td.gsc-search-button {
  display: table-cell !important;
  background: var(--color-bg, #F2F0EB) !important;
  border: none !important;
  border-radius: 0 6px 6px 0 !important;
  padding: 0 !important;
  cursor: pointer !important;
  vertical-align: middle !important;
}
.nav-search td.gsc-search-button {
  /* 検索ボタン側もtable.gsc-search-boxと同じ純白に揃える。 */
  display: table-cell !important;
  background: #FFFFFF !important;
  border: none !important;
  border-radius: 0 6px 6px 0 !important;
  padding: 0 !important;
  cursor: pointer !important;
  vertical-align: middle !important;
}
.panel-search .gsc-search-button-v2, .nav-search .gsc-search-button-v2 {
  background: transparent !important;
  border: none !important;
  padding: 8px 12px !important;
  margin: 0 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0 !important;
  min-height: 0 !important;
  border-radius: 0 6px 6px 0 !important;
}
.panel-search .gsc-search-button-v2 svg, .nav-search .gsc-search-button-v2 svg {
  width: 15px !important;
  height: 15px !important;
  fill: var(--color-accent-light, #B8A88A) !important;
}
.gsc-completion-container {
  display: none !important;
}
.gcsc-find-more-on-google, .gcsc-find-more-on-google-magnifier {
  display: none !important;
}
/* ─── Mobile Panel Search ─── */
.panel-search {
  margin-top: 16px;
}
.panel-search.search-bottom {
  margin-bottom: 0;
  margin-top: 14px;
}
/* iPhone: prevent auto-zoom on input focus (requires font-size >= 16px) */
@media (max-width: 900px) {
  .panel-search input.gsc-input {
    font-size: 16px !important;
  }
}
/* ─── PC Nav Search ─── */
.nav-search {
  display: flex;
  align-items: center;
  width: 240px;
}
.nav-search .gsc-search-button-v2 {
  padding: 6px 10px !important;
}
.nav-search input.gsc-input {
  font-size: 0.72rem !important;
  padding: 4px 0 !important;
}
@media (max-width: 1100px) {
  .nav-links .nav-new {
    display: none;
  }
  .nav-search {
    width: 200px;
  }
}
@media (max-width: 900px) {
  .nav-search {
    display: none !important;
  }
}
/* ─── Panel Grid ─── */
.panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
.panel-grid > a {
  display: block;
  position: relative;
  padding: 12px 4px 12px 16px;
  font: 300 0.82rem var(--font-jp, 'Noto Serif JP', serif);
  color: var(--color-text, #2C2C2C);
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 228, 223, 0.6);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.panel-grid > a::before {
  content: "\25B8"; /* ▸ 小さな三角 */
  position: absolute;
  left: 3px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-accent-light, #B8A88A);
  opacity: 0.55;
  font-size: 0.7em;
  transition: transform 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.panel-grid > a:hover,
.panel-grid > a:active {
  color: var(--color-accent, #8B7355);
}
.panel-grid > a:hover::before,
.panel-grid > a:active::before {
  color: var(--color-accent, #8B7355);
  opacity: 0.9;
  transform: translateY(-50%) translateX(2px);
}
.panel-grid > a:nth-last-of-type(-n+2) {
  border-bottom: none;
}
/* ─── Panel Featured Links ─── */
.panel-featured {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  margin-top: 8px;
  padding-top: 14px;
}
.panel-featured a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px 0;
  font: 400 0.62rem var(--font-sans, 'Inter', sans-serif);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent, #8B7355);
  text-decoration: none;
  background: rgba(242, 240, 235, 0.6);
  border: 1px solid rgba(232, 228, 223, 0.7);
  border-radius: 5px;
  transition: background 0.2s, border-color 0.2s;
}
.panel-featured a:active {
  background: rgba(232, 228, 223, 0.8);
  border-color: var(--color-accent-light, #B8A88A);
}
/* ═══════════════════════════════════════
   BREADCRUMB (unified)
   — Always left-aligned to the WEBO logo.
   — Nav is `padding: 18px 60px` on PC and `padding: 12px 20px` on mobile,
     so we match those horizontal insets exactly.
   ═══════════════════════════════════════ */
.breadcrumb {
  display: block;
  position: static;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-divider);
  padding: 14px 60px;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  line-height: 1.6;
}
.breadcrumb a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.3s;
}
.breadcrumb a:hover {
  color: var(--color-text);
}
.breadcrumb > span {
  opacity: 1;
}
.breadcrumb > span + span:not([itemprop]) {
  margin: 0 8px;
  opacity: 0.4;
}
/* Guide-style breadcrumb (uses separators that are not <span>) */
.breadcrumb .sep {
  margin: 0 8px;
  opacity: 0.4;
}
@media (max-width: 900px) {
  .breadcrumb {
    padding: 12px 20px;
    font-size: 0.62rem;
  }
  .breadcrumb > span + span:not([itemprop]), .breadcrumb .sep {
    margin: 0 6px;
  }
}