:root {
  color-scheme: light;
  --ink: #1f2933;
  --muted: #5f6b76;
  --line: #d8dee4;
  --paper: #ffffff;
  --soft: #f4f7f5;
  --green: #1d6f4f;
  --red: #b94035;
  --gold: #b4872f;
  --shadow: 0 16px 40px rgba(31, 41, 51, 0.08);
}

.category-landing-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 1180px;
  margin: 0 auto 28px;
}

.category-landing-links a {
  display: inline-block;
  border: 1px solid var(--green);
  border-radius: 8px;
  padding: 10px 16px;
  color: var(--green);
  background: #fff;
  font-weight: 700;
  text-decoration: none;
}

.category-landing-links a:hover { background: var(--soft); }

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Meiryo", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
}

.topbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(400px, 1fr);
  align-items: center;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  font-size: 14px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--green);
}

.header-qr-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.header-qr-menu,
.header-qr-panel {
  display: contents;
}

.mobile-collapse-toggle,
.category-menu-toggle {
  display: none;
}

.header-qr-link {
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.15;
  cursor: pointer;
  text-decoration: none;
}

.header-qr-link:hover {
  color: var(--green);
}

.header-qr-link:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.header-qr-code {
  position: relative;
  display: block;
  width: 54px;
  height: 54px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}

.header-qr-code img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-qr-code--wechat img {
  position: absolute;
  top: -28px;
  left: -13px;
  width: 80px;
  max-width: none;
  height: auto;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 6px;
  white-space: nowrap;
}

.language-switcher button {
  min-width: 32px;
  padding: 5px 7px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.language-switcher button:hover {
  background: var(--soft);
  color: var(--green);
}

.language-switcher button.active {
  background: var(--green);
  color: #fff;
}

.shop-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 36px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 24px 42px;
}

.intro-copy h1 {
  max-width: 760px;
  margin: 8px 0 16px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.12;
  letter-spacing: 0;
}

.intro-copy p {
  max-width: 700px;
  color: var(--muted);
  font-size: 17px;
}

.eyebrow {
  margin: 0;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button,
.filter-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 16px;
  text-decoration: none;
}

.button.primary,
.filter-button.active {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.shop-panel,
.info-block {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  padding: 24px;
}

.intro-side {
  display: grid;
  gap: 14px;
  align-content: start;
}

.shop-gallery-link {
  position: relative;
  display: block;
  min-height: 180px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft);
  color: #fff;
  text-decoration: none;
}

.shop-gallery-link img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 180ms ease;
}

.shop-gallery-link:hover img,
.shop-gallery-link:focus-visible img {
  transform: scale(1.03);
}

.shop-gallery-link:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.shop-gallery-link-copy {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  background: rgba(20, 32, 43, 0.82);
}

.shop-gallery-link-copy strong {
  font-size: 16px;
}

.shop-gallery-link-copy small {
  color: rgba(255, 255, 255, 0.86);
}

.shop-panel h2,
.info-block h2,
.section-heading h2 {
  margin: 6px 0 12px;
  font-size: 26px;
  line-height: 1.25;
}

.shop-panel p,
.info-block p {
  color: var(--muted);
}

.shop-panel ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.shop-panel li {
  border-left: 4px solid var(--gold);
  padding-left: 12px;
}

.store-gallery-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 24px 50px;
}

.section-note {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.store-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.store-gallery-preview {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 14px;
}

.store-gallery-preview .gallery-item,
.store-gallery-preview .gallery-item img {
  min-height: 220px;
}

.gallery-item {
  position: relative;
  min-height: 190px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eef2ef;
}

.gallery-item-large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item-wide {
  grid-column: span 2;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
}

.gallery-item figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  padding: 5px 9px;
}

.gallery-more {
  margin: 0;
}

.gallery-more summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--green);
  cursor: pointer;
  font-weight: 800;
  padding: 0 18px;
  user-select: none;
}

.gallery-more summary::-webkit-details-marker {
  display: none;
}

.gallery-more summary::after {
  content: "+";
  margin-left: 10px;
  font-size: 18px;
  line-height: 1;
}

.gallery-more[open] summary::after {
  content: "−";
}

.gallery-more-grid {
  margin-top: 14px;
}

.section-band {
  background: #f7f4ee;
  padding: 42px 24px 54px;
}

.section-heading,
.product-grid,
.info-grid {
  max-width: 1180px;
  margin: 0 auto;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#products .section-heading {
  align-items: flex-start;
  flex-wrap: wrap;
}

#products .filters {
  flex: 1 1 680px;
  justify-content: flex-end;
  max-width: 100%;
}

.product-search {
  max-width: 1180px;
  margin: 0 auto 22px;
}

.product-search label {
  display: block;
  margin-bottom: 7px;
  font-weight: 700;
}

.product-search-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-search input {
  flex: 1 1 280px;
  min-width: 0;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.product-search input:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.product-search button[hidden] {
  display: none;
}

.product-search-status {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.product-search-status:empty {
  display: none;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.product-card[hidden] {
  display: none;
}

.product-link {
  display: grid;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}

.product-image,
.detail-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #e7ece8;
}

.placeholder {
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
}

.product-copy {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.product-copy h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.35;
}

.product-copy p,
.product-copy small {
  margin: 0;
  color: var(--muted);
}

.product-copy strong,
.price {
  color: var(--red);
  font-size: 22px;
}

.badge {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: rgba(29, 111, 79, 0.12);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 48px 24px;
}

dl {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 10px 14px;
  margin: 0;
}

dt {
  color: var(--muted);
  font-weight: 700;
}

dd {
  margin: 0;
}

.contact-list {
  display: grid;
  gap: 10px;
}

.contact-list a,
.contact-list span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  text-decoration: none;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 34px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 46px 24px;
}

.product-category-nav {
  max-width: 1180px;
  margin: 0 auto 40px;
  padding: 0 24px;
}

.detail-media {
  min-width: 0;
}

.detail-gallery {
  display: grid;
  gap: 12px;
}

.detail-image {
  border: 1px solid var(--line);
  border-radius: 8px;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 10px;
}

.gallery-thumbs img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  background: #eef2ef;
}

.detail-gallery img,
.store-gallery img {
  cursor: zoom-in;
}

.lightbox-trigger:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.lightbox-open {
  overflow: hidden;
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  place-items: center;
  padding: calc(76px + env(safe-area-inset-top, 0px)) max(14px, env(safe-area-inset-right, 0px)) max(18px, env(safe-area-inset-bottom, 0px)) max(14px, env(safe-area-inset-left, 0px));
  overflow: hidden;
  overscroll-behavior: contain;
  background: rgba(15, 23, 31, 0.86);
  backdrop-filter: blur(8px);
}

.lightbox-frame {
  display: grid;
  place-items: center;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  width: min(1100px, 100%);
  height: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0;
}

.lightbox-image {
  display: block;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  object-fit: contain;
}

.lightbox-image[hidden],
.lightbox-status[hidden] {
  display: none;
}

.lightbox-status {
  color: #fff;
  font-size: 16px;
  text-align: center;
}

.lightbox-caption {
  color: #fff;
  font-size: 14px;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: max(12px, env(safe-area-inset-top, 0px));
  right: max(14px, env(safe-area-inset-right, 0px));
  z-index: 1;
  display: grid;
  min-width: 88px;
  min-height: 48px;
  padding: 10px 16px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  line-height: 1;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: #fff;
}

.modal-open {
  overflow: hidden;
}

.contact-modal[hidden] {
  display: none;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 23, 31, 0.54);
  backdrop-filter: blur(6px);
}

.contact-modal-backdrop {
  position: absolute;
  inset: 0;
}

.contact-modal-panel {
  position: relative;
  width: min(760px, 100%);
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 24px 80px rgba(31, 41, 51, 0.22);
  padding: 28px;
}

.contact-modal-panel h2 {
  margin: 4px 48px 8px 0;
  font-size: 28px;
  line-height: 1.25;
}

.contact-modal-lead {
  color: var(--muted);
}

.contact-modal-list {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
}

.contact-modal-list a {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--ink);
  padding: 12px;
  text-decoration: none;
}

.contact-modal-list a:hover,
.contact-modal-list a:focus-visible {
  border-color: var(--green);
}

.contact-modal-details {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 8px 14px;
  margin: 0 0 18px;
}

.contact-modal-details dt {
  color: var(--muted);
  font-weight: 700;
}

.contact-modal-details dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.contact-modal-note {
  margin: 0 0 18px;
  color: var(--muted);
}

.contact-product-context {
  margin: 0 0 16px;
  border-left: 4px solid var(--gold);
  background: #fff8e8;
  color: var(--ink);
  font-weight: 700;
  padding: 10px 12px;
}

.contact-modal-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
}

.contact-modal-block {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  padding: 16px;
}

.contact-modal-block h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.contact-call-list {
  display: grid;
  gap: 10px;
}

.contact-call-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 12px;
  text-decoration: none;
}

.contact-call-link span {
  color: var(--muted);
  font-size: 13px;
}

.contact-call-link strong {
  color: var(--green);
  white-space: nowrap;
}

.contact-modal-block dl {
  grid-template-columns: 84px minmax(0, 1fr);
  margin-bottom: 14px;
}

.contact-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 26px;
  line-height: 1;
}

.contact-modal-close:hover,
.contact-modal-close:focus-visible {
  border-color: var(--green);
  color: var(--green);
}

.detail-copy h1 {
  margin: 10px 0 12px;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.18;
  letter-spacing: 0;
}

.lead {
  color: var(--muted);
}

.consultation-note {
  margin: 12px 0 4px;
  border-left: 3px solid var(--green);
  background: var(--soft);
  color: var(--muted);
  font-size: 0.94rem;
  padding: 10px 12px;
}

.spec-list {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 20px 24px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 860px) {
  .topbar,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar {
    display: flex;
    gap: 12px;
    padding: 12px 18px;
  }

  .brand {
    width: 100%;
  }

  .header-qr-menu,
  .header-qr-panel {
    display: block;
    width: 100%;
  }

  .mobile-collapse-toggle,
  .category-menu-toggle {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
  }

  .collapse-toggle-hint {
    margin-left: auto;
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
  }

  .collapse-toggle-icon {
    margin-left: 10px;
    color: var(--green);
    font-size: 22px;
    line-height: 1;
    transition: transform 160ms ease;
  }

  [aria-expanded="true"] .collapse-toggle-icon {
    transform: rotate(180deg);
  }

  .header-qr-panel {
    display: none;
    padding-top: 10px;
  }

  .header-qr-panel.is-open {
    display: block;
  }

  .header-qr-group {
    width: 100%;
    padding: 4px 0 2px;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  #products .filters {
    display: none;
    width: 100%;
    justify-content: flex-start;
    padding-top: 4px;
  }

  #products .filters.is-open {
    display: flex;
  }

  .category-menu-toggle {
    gap: 10px;
  }

  .category-menu-toggle strong {
    margin-left: auto;
    color: var(--green);
    font-size: 14px;
  }

  .shop-intro,
  .info-grid,
  .product-detail {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .store-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-item-large,
  .gallery-item-wide {
    grid-column: span 1;
    grid-row: span 1;
  }
}

@media (max-width: 560px) {
  .site-header {
    position: static;
  }

  .brand small {
    font-size: 11px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 10px 14px;
    font-size: 13px;
  }

  .section-band {
    padding: 30px 16px 44px;
  }

  .shop-intro {
    padding-top: 34px;
  }

  .shop-gallery-link,
  .shop-gallery-link img {
    min-height: 160px;
    height: 160px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .store-gallery {
    grid-template-columns: 1fr;
  }

  dl {
    grid-template-columns: 1fr;
  }

  .contact-modal {
    padding: 14px;
  }

  .contact-modal-panel {
    max-height: calc(100vh - 28px);
    max-height: calc(100dvh - 28px);
    padding: 22px 16px;
  }

  .contact-modal-details {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .contact-modal-details dd {
    margin-bottom: 10px;
  }

  .contact-modal-grid {
    grid-template-columns: 1fr;
  }

  .contact-call-link {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

@media (max-height: 420px) and (orientation: landscape) {
  .site-header { position: static; }
}
