:root {
  --paper: #ffffff;
  --zinc: #eef2f0;
  --zinc-2: #f7f9f8;
  --rule: #d6dfdb;
  --steel: #202b30;
  --steel-2: #334249;
  --muted: #607078;
  --green: #187c59;
  --green-deep: #0e5b42;
  --green-pale: #e8f3ee;
  --brass: #a97d2c;
  --brass-pale: #f6f0e4;
  --danger: #a33a32;
  --container: 1536px;
  --header-space: 101px;
  --radius: 6px;
  --shadow: 0 14px 34px rgba(32, 43, 48, 0.08);
}

* {
  box-sizing: border-box;
  letter-spacing: 0 !important;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--steel);
  background: var(--paper);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}

body.has-mobile-actions {
  padding-bottom: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  font-size: max(14px, 1rem);
}

button,
a,
input,
select,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}

i[data-lucide] {
  min-width: 1.1em;
  min-height: 1.1em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  line-height: 1;
}

i[data-lucide]:empty::before {
  content: "•";
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.25em;
  line-height: 1;
}

i[data-lucide="search"]:empty::before { content: "⌕"; }
i[data-lucide="shopping-cart"]:empty::before { content: "□"; }
i[data-lucide="menu"]:empty::before { content: "☰"; }
i[data-lucide="arrow-right"]:empty::before { content: "→"; }
i[data-lucide="arrow-up-right"]:empty::before { content: "↗"; }
i[data-lucide="plus"]:empty::before { content: "+"; }
i[data-lucide="minus"]:empty::before { content: "−"; }
i[data-lucide="x"]:empty::before { content: "×"; }
i[data-lucide="check"]:empty::before { content: "✓"; }
i[data-lucide="info"]:empty::before { content: "i"; }
i[data-lucide="phone"]:empty::before { content: "TEL"; font-size: 14px; }
i[data-lucide="message-circle"]:empty::before { content: "LINE"; font-size: 14px; }
i[data-lucide="file-pen-line"]:empty::before { content: "見"; font-size: 14px; }

.header-icon-label {
  font-size: 14px;
  font-weight: 800;
}

:focus-visible {
  outline: 3px solid rgba(24, 124, 89, 0.3);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.site-container {
  width: min(var(--container), calc(100% - 64px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  color: #fff;
  background: var(--steel);
  border-radius: 4px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid rgba(214, 223, 219, 0.9);
  background: rgba(255, 255, 255, 0.96);
  transition: box-shadow 220ms ease, background-color 220ms ease, color 220ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(32, 43, 48, 0.08);
  background: rgba(255, 255, 255, 0.99);
}

.header-row {
  min-height: 100px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
  font-weight: 800;
  line-height: 1.1;
}

.brand-mark {
  position: relative;
  width: 28px;
  height: 28px;
  color: var(--green);
  transform: rotate(45deg);
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span::before,
.brand-mark span::after {
  content: "";
  position: absolute;
  width: 11px;
  height: 11px;
  background: currentColor;
  border-radius: 50% 50% 45% 50%;
}

.brand-mark::before { top: 2px; left: 2px; }
.brand-mark::after { top: 2px; right: 2px; }
.brand-mark span::before { bottom: 2px; left: 2px; }
.brand-mark span::after { right: 2px; bottom: 2px; }

.brand-copy small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 14px;
  font-weight: 600;
}

/* 全局设置中上传的站点 Logo（页头 / 页脚可分别配置） */
.brand-logo {
  position: relative;
  display: block;
}

.brand .brand-logo-img {
  width: auto;
  height: 60px;
  max-width: 320px;
  object-fit: contain;
  display: block;
  transition: opacity 180ms ease;
}

.brand-logo:has(.brand-logo-img--header) .brand-logo-img--overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}

.site-footer .brand .brand-logo-img {
  height: 72px;
  max-width: 360px;
}

@media (max-width: 767px) {
  .brand .brand-logo-img { height: 44px; max-width: 220px; }
  .site-footer .brand .brand-logo-img { height: 56px; max-width: 280px; }
}

.desktop-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(14px, 1.7vw, 30px);
}

.desktop-nav a {
  position: relative;
  padding-block: 28px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-dropdown > a [data-lucide] {
  width: 14px;
  height: 14px;
  transition: transform 180ms ease;
}

.nav-dropdown:hover > a [data-lucide],
.nav-dropdown:focus-within > a [data-lucide] {
  transform: rotate(180deg);
}

.nav-submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 20;
  min-width: 200px;
  display: grid;
  gap: 2px;
  padding: 8px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-submenu a {
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-submenu a::after {
  content: none;
}

.nav-submenu a:hover {
  color: var(--green-deep);
  background: var(--green-pale);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-link,
.menu-toggle {
  min-width: 42px;
  height: 42px;
  padding-inline: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: #fff;
  color: var(--steel);
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.icon-link:hover,
.menu-toggle:hover {
  color: var(--green);
  border-color: var(--green);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--rule);
  background: #fff;
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding-block: 18px 24px;
  background: var(--rule);
}

.mobile-menu a {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 8px 18px rgba(24, 124, 89, 0.18);
}

.button-primary:hover {
  background: var(--green-deep);
  box-shadow: 0 10px 22px rgba(14, 91, 66, 0.24);
}

.button-secondary {
  color: var(--green-deep);
  background: #fff;
  border-color: var(--green);
}

.button-secondary:hover {
  color: #fff;
  background: var(--green-deep);
}

.button-dark {
  color: #fff;
  background: var(--steel);
}

.button-quiet {
  color: var(--steel);
  background: var(--zinc);
  border-color: var(--rule);
}

.button-paypal {
  min-height: 52px;
  color: #102a56;
  background: #ffc439;
  border-color: #e9ad1c;
  box-shadow: 0 8px 18px rgba(24, 59, 105, 0.12);
}

.button-paypal:hover {
  background: #ffb91f;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green-deep);
  font-size: 14px;
  font-weight: 800;
}

.text-link:hover {
  color: var(--green);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-space));
  min-height: calc(100svh - var(--header-space));
  overflow: hidden;
  color: #fff;
  background: var(--steel);
}

.hero-media,
.hero-media::after {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  filter: saturate(0.7) contrast(1.05);
}

.hero-media::after {
  content: "";
  background: linear-gradient(90deg, rgba(20, 29, 33, 0.94) 0%, rgba(20, 29, 33, 0.72) 43%, rgba(20, 29, 33, 0.18) 78%, rgba(20, 29, 33, 0.08) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-block: clamp(64px, 10vh, 108px) 34px;
}

.hero-copy {
  max-width: 810px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: #d9eee6;
  font-size: 14px;
  font-weight: 800;
}

.hero-kicker::before {
  content: "";
  width: 42px;
  height: 2px;
  background: #58b793;
}

.hero h1 {
  max-width: 12em;
  margin: 0;
  font-size: clamp(42px, 5.2vw, 78px);
  font-weight: 900;
  line-height: 1.16;
}

.hero-lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: #edf5f2;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.9;
}

.hero-paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  overflow: hidden;
  background: rgba(19, 29, 33, 0.82);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.18);
}

.hero-path {
  min-height: 116px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 22px clamp(18px, 2.2vw, 34px);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  transition: background-color 180ms ease;
}

.hero-path:last-child {
  border-right: 0;
}

.hero-path:hover {
  background: rgba(24, 124, 89, 0.92);
}

.hero-path strong,
.hero-path small {
  display: block;
}

.hero-path strong {
  font-size: clamp(16px, 1.25vw, 20px);
}

.hero-path small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.page-head {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
  background: var(--zinc-2);
}

.page-head::after {
  content: "";
  position: absolute;
  top: 0;
  right: max(32px, calc((100vw - min(1536px, calc(100vw - 64px))) / 2));
  width: min(28vw, 430px);
  height: 100%;
  opacity: 0.2;
  background-image: var(--page-head-image, url("/uploads/images/site/technical-info.png"));
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.page-head-inner {
  position: relative;
  z-index: 1;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 42px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb span::before {
  content: "/";
  margin-right: 8px;
  color: #9aa7a2;
}

.page-head h1 {
  max-width: 16em;
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 900;
  line-height: 1.25;
}

.page-head p {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--steel-2);
  font-size: 17px;
}

.section {
  padding-block: clamp(72px, 9vw, 128px);
}

.section-compact {
  padding-block: clamp(48px, 6vw, 80px);
}

.section-zinc {
  background: var(--zinc-2);
}

.section-steel {
  color: #fff;
  background: var(--steel);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.65fr);
  align-items: end;
  gap: 40px;
  margin-bottom: 42px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 900;
  line-height: 1.3;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.section-steel .section-heading p {
  color: #c8d4d0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--green);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.section-label::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.lede {
  max-width: 72ch;
  color: var(--steel-2);
  font-size: 17px;
  line-height: 2;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.rule-list {
  border-top: 1px solid var(--rule);
}

.rule-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.36fr) minmax(0, 1fr);
  gap: 30px;
  padding-block: 22px;
  border-bottom: 1px solid var(--rule);
}

.rule-row dt {
  font-weight: 800;
}

.rule-row dd {
  margin: 0;
  color: var(--steel-2);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: #aebdb7;
  box-shadow: var(--shadow);
}

.product-media {
  position: relative;
  aspect-ratio: 1 / 0.8;
  overflow: hidden;
  background: linear-gradient(145deg, #f8faf9, #e5ebe8);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 9%;
  transition: transform 260ms ease;
}

.product-card:hover .product-media img {
  transform: scale(1.04);
}

.product-chip {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
}

/* 整卡可点：标题链接拉伸覆盖整张卡片，卡内表单/按钮以更高层级浮在其上 */
.product-card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.product-body form,
.product-body .button {
  position: relative;
  z-index: 2;
}

.fav-form {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  margin: 0;
}

.fav-btn {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--steel-2);
  box-shadow: 0 6px 16px rgba(32, 43, 48, 0.08);
  cursor: pointer;
}

.fav-btn i[data-lucide],
.fav-btn svg {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
}

.fav-btn:hover {
  color: var(--green);
  border-color: var(--green);
}

.fav-btn.is-active {
  color: var(--brass);
  border-color: var(--brass);
  background: var(--brass-pale);
}

.fav-btn.is-active svg {
  fill: currentColor;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
  color: var(--muted);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.product-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.55;
}

.product-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.product-price {
  margin-top: auto;
  padding-top: 18px;
  font-family: "Barlow Condensed", "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.product-price small {
  color: var(--muted);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 500;
}

/* 卡片操作区：默认单列整行；有购买按钮时一行两列 */
.product-actions {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.product-actions form {
  margin: 0;
}

.product-actions .button {
  width: 100%;
}

.product-actions-duo {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* 两列时按钮变窄，收紧左右内边距，避免「見積に追加」等文案折行 */
.product-actions-duo .button {
  padding-inline: 6px;
}

.chip {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--green-deep);
  background: var(--green-pale);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.chip-brass {
  color: #6d511e;
  background: var(--brass-pale);
}

.chip-steel {
  color: #fff;
  background: var(--steel-2);
}

/* 缺货：与在庫商品 的绿色 chip 明显区分，改用灰底深字 */
.chip-soldout {
  color: #fff;
  background: var(--muted);
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

.business-item {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--steel);
}

.business-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1), opacity 300ms ease;
}

.business-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 24%, rgba(24, 34, 39, 0.9) 100%);
}

.business-item:hover img {
  transform: scale(1.035);
  opacity: 0.92;
}

.business-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(24px, 4vw, 46px);
  color: #fff;
}

.business-copy strong {
  display: block;
  max-width: 18em;
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.4;
}

.business-copy p {
  max-width: 55ch;
  margin: 12px 0 0;
  color: #e3ece8;
}

.number-list {
  counter-reset: reason;
  border-top: 1px solid var(--rule);
}

.number-item {
  counter-increment: reason;
  display: grid;
  grid-template-columns: 100px minmax(220px, 0.52fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding-block: 30px;
  border-bottom: 1px solid var(--rule);
}

.number-item::before {
  content: counter(reason, decimal-leading-zero);
  color: var(--green);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 34px;
  font-weight: 700;
}

.number-item h3,
.number-item p {
  margin: 0;
}

.number-item h3 {
  font-size: 21px;
  line-height: 1.5;
}

.number-item p {
  color: var(--steel-2);
}

.why-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: clamp(36px, 4.5vw, 72px);
  align-items: center;
}

.why-media {
  margin: 0;
}

.why-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: grayscale(1);
}

.why-list {
  display: grid;
  gap: 34px;
}

.why-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  column-gap: 22px;
  align-items: start;
}

.why-num {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 46px;
  font-weight: 700;
  line-height: 0.9;
  background: linear-gradient(180deg, var(--green-deep) 0%, var(--green) 42%, rgba(24, 124, 89, 0.12) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.why-num::after {
  content: "";
  display: block;
  width: 42px;
  margin-top: 10px;
  border-top: 2px dashed rgba(24, 124, 89, 0.35);
}

.why-item-body h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
}

.why-item-body p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.registration-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.registration-panel {
  padding: clamp(28px, 4vw, 54px);
}

.registration-panel + .registration-panel {
  border-left: 1px solid var(--rule);
  background: var(--steel);
  color: #fff;
}

.registration-panel h3 {
  margin: 12px 0;
  font-size: clamp(24px, 2.3vw, 34px);
  line-height: 1.4;
}

.registration-panel p {
  margin: 0 0 24px;
  color: var(--muted);
}

.registration-panel + .registration-panel p {
  color: #c9d5d1;
}

.member-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 26px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.member-features li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
}

.member-features i {
  color: var(--green);
  margin-top: 3px;
}

.member-features strong {
  display: block;
  font-size: 15px;
}

.member-features small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 14px;
}

.registration-footnote {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.trade-note {
  margin: 0;
  font-size: 14px;
}

.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.registration-panel + .registration-panel .process-rail li {
  color: #c9d5d1;
}

.process-rail {
  display: grid;
  grid-template-columns: repeat(var(--steps, 5), minmax(0, 1fr));
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
}

.process-rail li {
  position: relative;
  min-width: 0;
  padding-top: 38px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.process-rail li::before {
  content: attr(data-step);
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: #fff;
  transform: translateX(-50%);
  font-family: "Barlow Condensed", sans-serif;
}

.process-rail li::after {
  content: "";
  position: absolute;
  top: 13px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--rule);
}

.process-rail li:last-child::after {
  display: none;
}

.process-rail li.is-complete,
.process-rail li.is-active {
  color: var(--green-deep);
}

.process-rail li.is-complete::before,
.process-rail li.is-active::before {
  color: #fff;
  border-color: var(--green);
  background: var(--green);
}

.process-rail li.is-complete::after {
  background: var(--green);
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.34fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.content-layout-wide {
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 0.38fr);
}

.sticky-panel {
  position: sticky;
  top: 106px;
  padding: 26px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 28px rgba(32, 43, 48, 0.06);
}

.sticky-panel h2,
.sticky-panel h3 {
  margin: 0 0 18px;
  font-size: 21px;
}

.summary-lines {
  margin: 0;
}

.summary-lines div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding-block: 12px;
  border-bottom: 1px solid var(--rule);
}

.summary-lines dt,
.summary-lines dd {
  margin: 0;
}

.summary-lines dt {
  color: var(--muted);
}

.summary-lines dd {
  font-weight: 700;
  text-align: right;
}

.summary-lines .total {
  color: var(--green-deep);
  font-size: 22px;
  font-weight: 900;
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  color: var(--steel-2);
  background: var(--zinc-2);
}

.notice > svg,
.notice > i {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--green);
}

.notice.warning {
  border-color: #dfcfad;
  background: var(--brass-pale);
}

.notice.warning > svg,
.notice.warning > i {
  color: var(--brass);
}

.form-section {
  margin-bottom: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--rule);
}

.form-section:last-child {
  margin-bottom: 0;
}

.form-section h2,
.form-section h3 {
  margin: 0 0 22px;
  font-size: 22px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
}

.field {
  min-width: 0;
}

.field-full {
  grid-column: 1 / -1;
}

.field label,
.field legend {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 800;
}

.required {
  color: var(--danger);
  font-size: 14px;
}

.optional {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #b8c5c0;
  border-radius: 4px;
  color: var(--steel);
  background: #fff;
  box-shadow: none;
}

/* チェックボックス・ラジオはフィールド幅に引き伸ばさない */
.field .choice input[type='checkbox'],
.field .choice input[type='radio'] {
  width: 16px;
  min-height: 0;
  flex: 0 0 auto;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--green);
  outline: 3px solid rgba(24, 124, 89, 0.13);
}

.field-help {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.choice {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}

.choice:has(input:checked) {
  color: var(--green-deep);
  border-color: var(--green);
  background: var(--green-pale);
}

.upload-box {
  min-height: 138px;
  display: grid;
  place-items: center;
  padding: 24px;
  border: 1px dashed #92aaa0;
  border-radius: 4px;
  color: var(--steel);
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease;
}

label.upload-box:hover {
  border-color: var(--green);
  background: rgba(24, 124, 89, 0.04);
}

.file-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.file-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: #fff;
  color: var(--steel-2);
  font-size: 13px;
  word-break: break-all;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 30px;
}

.filter-panel {
  margin-bottom: 34px;
  padding: 26px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--zinc-2);
}

.filter-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(160px, 0.7fr)) auto;
  gap: 14px;
  align-items: end;
}

.filter-grid .field label {
  margin-bottom: 6px;
}

.list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.list-toolbar p {
  margin: 0;
  font-weight: 800;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--rule);
  background: #fff;
}

.data-table th,
.data-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: middle;
}

.data-table th {
  color: var(--steel);
  background: var(--zinc);
  font-size: 14px;
  font-weight: 800;
}

.data-table td {
  color: var(--steel-2);
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.data-table .numeric {
  font-family: "Barlow Condensed", "Noto Sans JP", sans-serif;
  font-size: 17px;
  font-weight: 600;
  text-align: right;
}

.mini-product {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.mini-product img {
  width: 76px;
  height: 64px;
  object-fit: contain;
  padding: 7px;
  background: var(--zinc-2);
}

.mini-product strong,
.mini-product small {
  display: block;
}

.mini-product small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 14px;
}

.quantity-control {
  width: 148px;
  min-width: 148px;
  display: grid;
  grid-template-columns: 44px minmax(60px, 1fr) 44px;
  border: 1px solid #b8c5c0;
  border-radius: 4px;
  overflow: hidden;
}

.quantity-control button {
  border: 0;
  background: var(--zinc);
  cursor: pointer;
}

.quantity-control input {
  width: 100%;
  min-width: 60px;
  border: 0;
  border-right: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
  text-align: center;
}

.document-list {
  border-top: 1px solid var(--rule);
}

.document-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding-block: 18px;
  border-bottom: 1px solid var(--rule);
}

.document-row svg,
.document-row i {
  color: var(--danger);
}

.document-row strong,
.document-row small {
  display: block;
}

.document-row small {
  color: var(--muted);
  font-size: 14px;
}

/* カテゴリ絞り込み＋質問リストの2段組み */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(216px, 0.23fr) minmax(0, 1fr);
  gap: clamp(26px, 3.5vw, 52px);
  align-items: start;
}

.faq-cats {
  position: sticky;
  top: 106px;
  display: grid;
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
}

.faq-cats button {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  padding: 14px 18px;
  border: 0;
  border-bottom: 1px solid var(--rule);
  color: var(--steel);
  background: #fff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  text-align: left;
  transition: color 180ms ease, background-color 180ms ease;
}

.faq-cats button:last-child {
  border-bottom: 0;
}

.faq-cats button small {
  color: var(--muted);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.faq-cats button [data-faq-cat-arrow] {
  margin-left: auto;
  opacity: 0;
  transition: opacity 180ms ease;
}

.faq-cats button:hover {
  color: var(--green-deep);
  background: var(--green-pale);
}

.faq-cats button.is-active {
  color: #fff;
  background: var(--green-deep);
  border-color: var(--green-deep);
}

.faq-cats button.is-active small {
  color: rgba(255, 255, 255, 0.78);
}

.faq-cats button.is-active [data-faq-cat-arrow] {
  opacity: 1;
}

.faq-item {
  border-bottom: 1px solid var(--rule);
  background: #fff;
}

.faq-item.is-open {
  background: var(--green-pale);
}

.faq-question {
  width: 100%;
  min-height: 76px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px 24px;
  border: 0;
  color: var(--steel);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
  text-align: left;
  transition: color 180ms ease;
}

.faq-question:hover {
  color: var(--green-deep);
}

.faq-question [data-faq-icon] {
  color: var(--green);
}

.faq-answer {
  padding: 0 24px 26px;
  color: var(--steel-2);
}

.faq-answer p {
  max-width: 62ch;
  margin: 0;
  font-size: 15px;
  line-height: 2;
}

/* 下部の問い合わせ導線バナー */
.faq-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(20px, 3vw, 28px) clamp(22px, 3vw, 34px);
  border-radius: var(--radius);
  background: var(--green-pale);
}

.faq-cta p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--green-deep);
  font-size: 17px;
  font-weight: 800;
}

.faq-cta p [data-lucide] {
  color: var(--green);
}

.account-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 42px;
}

.account-nav {
  position: sticky;
  top: 106px;
  align-self: start;
  border-top: 1px solid var(--rule);
}

.account-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 12px;
  border-bottom: 1px solid var(--rule);
}

.account-nav-logout {
  margin: 0;
  border-bottom: 1px solid var(--rule);
}

.account-nav-logout button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 12px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.account-nav-logout button:hover,
.account-nav-logout button:focus-visible {
  color: var(--steel);
  background: var(--zinc-2);
}  font-size: 14px;
  font-weight: 700;
}

.account-nav a.is-active,
.account-nav a:hover {
  color: var(--green-deep);
  background: var(--green-pale);
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 38px;
  border: 1px solid var(--rule);
  background: #fff;
}

.stat-strip div {
  padding: 20px;
  border-right: 1px solid var(--rule);
}

.stat-strip div:last-child {
  border-right: 0;
}

.stat-strip span,
.stat-strip strong {
  display: block;
}

.stat-strip span {
  color: var(--muted);
  font-size: 14px;
}

.stat-strip strong {
  margin-top: 5px;
  font-size: 21px;
}

.dashboard-section {
  margin-bottom: 46px;
}

.dashboard-section-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 16px;
}

.dashboard-section-head h2 {
  margin: 0;
  font-size: 24px;
}

.status-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
  padding: 20px 24px;
  border-radius: var(--radius);
  color: var(--green-deep);
  background: var(--green-pale);
}

.status-band strong {
  font-size: 20px;
}

.status-band-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.account-logout-form {
  margin: 0;
}

.quote-document {
  border: 1px solid var(--rule);
  background: #fff;
}

.quote-document-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 26px;
  border-bottom: 1px solid var(--rule);
  background: var(--zinc-2);
}

.quote-document-header h2 {
  margin: 0;
  font-size: 24px;
}

.quote-document-header dl {
  margin: 0;
}

.quote-document-header dl div {
  display: grid;
  grid-template-columns: 90px auto;
  gap: 16px;
}

.quote-document-header dt,
.quote-document-header dd {
  margin: 0;
  font-size: 14px;
}

.quote-document-header dt {
  color: var(--muted);
}

.quote-document-body {
  padding: 26px;
}

.confirm-section {
  padding-block: 24px;
  border-bottom: 1px solid var(--rule);
}

.confirm-section:first-child {
  padding-top: 0;
}

.confirm-section:last-child {
  border-bottom: 0;
}

.confirm-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.confirm-section h2,
.confirm-section h3 {
  margin: 0;
  font-size: 19px;
}

.paypal-mark {
  display: inline-flex;
  align-items: baseline;
  color: #003087;
  font-family: "Noto Sans JP", "Yu Gothic", sans-serif;
  font-size: 32px;
  font-weight: 800;
  font-style: italic;
}

.success-mark {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
}

.success-head {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.success-head h1 {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.35;
}

.success-head p {
  margin: 18px 0 0;
  color: var(--muted);
}

.cta-band {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--steel);
}

.cta-band-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
  padding-block: clamp(62px, 8vw, 96px);
}

.cta-band h2 {
  max-width: 18em;
  margin: 0;
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1.35;
}

.cta-band p {
  max-width: 62ch;
  margin: 18px 0 0;
  color: #cbd6d2;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.utility-rail {
  position: fixed;
  right: 0;
  bottom: 88px;
  z-index: 60;
  display: grid;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 25px rgba(32, 43, 48, 0.18);
}

.utility-rail-item {
  position: relative;
}

.utility-rail a,
.utility-rail-btn {
  width: 62px;
  height: 62px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #fff;
  background: var(--green);
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.1;
}

.utility-rail-item:last-child a,
.utility-rail-item:last-child .utility-rail-btn {
  border-bottom: 0;
}

.utility-rail a:hover,
.utility-rail-btn:hover,
.utility-rail-item.is-qr:hover .utility-rail-btn,
.utility-rail-item.is-qr:focus-within .utility-rail-btn {
  background: var(--green-deep);
}

.utility-rail-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.utility-rail-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.mobile-actions {
  display: none;
}

.qr-bubble {
  position: absolute;
  z-index: 2;
  right: calc(100% + 12px);
  top: 50%;
  width: 196px;
  padding: 14px 14px 12px;
  background: #fff;
  color: var(--steel);
  box-shadow: 0 14px 34px rgba(32, 43, 48, 0.18);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-50%) translateX(8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.qr-bubble::before {
  content: "";
  position: absolute;
  left: 100%;
  top: 0;
  bottom: 0;
  width: 14px;
}

.qr-bubble::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  border: 8px solid transparent;
  border-left-color: #fff;
  transform: translateY(-50%);
}

.utility-rail-item.is-qr:hover .qr-bubble,
.utility-rail-item.is-qr:focus-within .qr-bubble {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

.qr-bubble-title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}

.qr-bubble-image {
  width: 148px;
  height: 148px;
  display: block;
  margin: 0 auto;
  object-fit: contain;
  background: #fff;
}

.qr-bubble-hint {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

@media (prefers-reduced-motion: reduce) {
  .qr-bubble {
    transition: none;
  }
}

.site-footer {
  color: #e5ece9;
  background: #172228;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.4fr);
  gap: 72px;
  padding-block: 64px;
}

.footer-brand p {
  max-width: 44ch;
  margin: 18px 0 0;
  color: #aebdb7;
  font-size: 14px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.footer-nav strong,
.footer-nav a {
  display: block;
}

.footer-nav strong {
  margin-bottom: 12px;
  color: #fff;
  font-size: 14px;
}

.footer-nav a {
  padding-block: 5px;
  color: #b8c6c1;
  font-size: 14px;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #93a39d;
  font-size: 14px;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 120;
  max-width: min(420px, calc(100vw - 48px));
  padding: 15px 18px;
  border-radius: 4px;
  color: #fff;
  background: var(--steel);
  box-shadow: var(--shadow);
  transform: translateY(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

html:not(.aos-ready) [data-aos] {
  opacity: 1 !important;
  transform: none !important;
}

@media (max-width: 1220px) {
  .desktop-nav {
    gap: 12px;
  }

  .desktop-nav .nav-optional {
    display: none;
  }

  .header-actions .button {
    padding-inline: 14px;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-grid .button {
    width: 100%;
  }

  .why-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .why-media img {
    aspect-ratio: 16 / 9;
  }

  .why-list {
    gap: 26px;
  }
}

@media (max-width: 1023px) {
  :root {
    --header-space: 73px;
  }

  .header-row {
    grid-template-columns: 1fr auto;
    min-height: 72px;
  }

  .desktop-nav,
  .header-actions .icon-link,
  .header-actions .button-secondary {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    min-height: calc(100svh - var(--header-space));
    height: auto;
  }

  .hero-inner {
    min-height: inherit;
  }

  .hero-paths {
    grid-template-columns: 1fr;
  }

  .hero-path {
    min-height: 84px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .hero-path:last-child {
    border-bottom: 0;
  }

  .grid-4,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-layout,
  .content-layout-wide,
  .account-layout {
    grid-template-columns: 1fr;
  }

  .sticky-panel,
  .account-nav {
    position: static;
  }

  .account-nav {
    display: flex;
    overflow-x: auto;
    border-top: 0;
    border-bottom: 1px solid var(--rule);
  }

  .account-nav a {
    flex: 0 0 auto;
    border-bottom: 0;
  }

  .account-nav-logout {
    flex: 0 0 auto;
    border-bottom: 0;
    border-left: 1px solid var(--rule);
  }

  .account-nav-logout button {
    width: auto;
    height: 100%;
    white-space: nowrap;
  }

  .status-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .status-band-actions {
    justify-content: flex-start;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .faq-cats {
    position: static;
    display: flex;
    gap: 8px;
    border: 0;
    border-radius: 0;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .faq-cats button {
    flex: 0 0 auto;
    min-height: 48px;
    padding: 11px 16px;
    border: 1px solid var(--rule);
    border-radius: 4px;
  }

  .faq-cats button:last-child {
    border-bottom: 1px solid var(--rule);
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

@media (max-width: 767px) {
  body.has-mobile-actions {
    padding-bottom: 66px;
  }

  .site-container {
    width: min(var(--container), calc(100% - 32px));
  }

  .brand-copy {
    font-size: 14px;
  }

  .header-actions {
    display: flex;
    margin-left: auto;
  }

  .menu-toggle {
    display: inline-flex !important;
    position: relative;
    z-index: 2;
  }

  .brand-copy small,
  .header-actions .button-primary {
    display: none;
  }

  .hero {
    min-height: calc(100svh - var(--header-space));
    height: auto;
  }

  .hero-media img {
    object-position: 62% center;
  }

  .hero-media::after {
    background: linear-gradient(180deg, rgba(20, 29, 33, 0.86) 0%, rgba(20, 29, 33, 0.62) 42%, rgba(20, 29, 33, 0.94) 100%);
  }

  .hero-inner {
    min-height: inherit;
    padding-block: 58px 88px;
  }

  .hero h1 {
    font-size: clamp(36px, 11vw, 52px);
  }

  .hero-lead {
    font-size: 16px;
    line-height: 1.8;
  }

  .hero-path {
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 15px 16px;
  }

  .page-head::after {
    right: 0;
    width: 48%;
    opacity: 0.11;
  }

  .page-head-inner {
    min-height: 300px;
  }

  .page-head h1 {
    font-size: 34px;
  }

  .page-head p {
    font-size: 15px;
  }

  .faq-question {
    min-height: 64px;
    padding: 16px;
    gap: 12px;
  }

  .faq-answer {
    padding: 0 16px 22px;
  }

  .faq-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .faq-cta .button {
    width: 100%;
  }

  .section {
    padding-block: 70px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 30px;
  }

  .section-heading h2 {
    font-size: 30px;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .product-grid,
  .business-grid,
  .registration-band,
  .form-grid,
  .filter-grid {
    grid-template-columns: 1fr;
  }

  .business-item {
    min-height: 360px;
  }

  .registration-panel + .registration-panel {
    border-top: 1px solid var(--rule);
    border-left: 0;
  }

  .member-features {
    grid-template-columns: 1fr;
  }

  .number-item {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 8px 14px;
  }

  .number-item p {
    grid-column: 2;
  }

  .why-item {
    grid-template-columns: 52px minmax(0, 1fr);
    column-gap: 14px;
  }

  .why-num {
    font-size: 36px;
  }

  .why-num::after {
    width: 34px;
    margin-top: 6px;
  }

  .rule-row {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .process-rail {
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .process-rail li {
    min-width: 110px;
  }

  .stat-strip {
    grid-template-columns: 1fr;
  }

  .stat-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .stat-strip div:last-child {
    border-bottom: 0;
  }

  .responsive-table,
  .responsive-table tbody,
  .responsive-table tr,
  .responsive-table td {
    display: block;
    width: 100%;
  }

  .responsive-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .responsive-table tr {
    padding: 10px 16px;
    border-bottom: 1px solid var(--rule);
  }

  .responsive-table tr:last-child {
    border-bottom: 0;
  }

  .responsive-table td {
    display: grid;
    grid-template-columns: minmax(106px, 0.42fr) minmax(0, 1fr);
    gap: 14px;
    padding: 9px 0;
    border: 0;
    text-align: left !important;
  }

  .responsive-table td[data-label="数量"] .quantity-control {
    width: 148px;
    min-width: 148px;
    grid-template-columns: 44px 60px 44px;
  }

  .responsive-table td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
  }

  .responsive-table .mini-product {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .responsive-table .mini-product img {
    width: 62px;
    height: 56px;
  }

  .quote-document-header {
    grid-template-columns: 1fr;
  }

  .quote-document-body,
  .quote-document-header {
    padding: 20px;
  }

  .cta-band-inner {
    grid-template-columns: 1fr;
  }

  .cta-actions,
  .form-actions {
    justify-content: stretch;
  }

  .cta-actions .button,
  .form-actions .button {
    width: 100%;
  }

  .utility-rail {
    display: none;
  }

  .mobile-actions {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--green);
    box-shadow: 0 -8px 22px rgba(32, 43, 48, 0.16);
  }

  .mobile-actions-item {
    position: static;
    min-width: 0;
  }

  .mobile-actions a,
  .mobile-actions-btn {
    width: 100%;
    min-height: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: #fff;
    background: transparent;
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.24);
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
  }

  .mobile-actions-item:last-child a,
  .mobile-actions-item:last-child .mobile-actions-btn {
    border-right: 0;
  }

  .mobile-actions-item.is-open .mobile-actions-btn {
    background: var(--green-deep);
  }

  .mobile-actions .qr-bubble {
    right: 0;
    left: 0;
    top: auto;
    bottom: calc(100% + 10px);
    width: auto;
    padding: 16px 16px 14px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
  }

  .mobile-actions .qr-bubble::before {
    display: none;
  }

  .mobile-actions .qr-bubble::after {
    left: 16.666%;
    right: auto;
    top: 100%;
    border: 8px solid transparent;
    border-top-color: #fff;
    transform: translateX(-50%);
  }

  .mobile-actions-item:nth-child(2) .qr-bubble::after {
    left: 50%;
  }

  .mobile-actions-item.is-open .qr-bubble {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .mobile-actions .qr-bubble-image {
    width: min(200px, 58vw);
    height: min(200px, 58vw);
  }

  .mobile-actions .qr-bubble-title {
    font-size: 15px;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-bottom {
    flex-direction: column;
  }

  .toast {
    right: 16px;
    bottom: 82px;
  }
}

@media (max-width: 480px) {
  .mobile-menu-inner,
  .product-grid,
  .footer-nav {
    grid-template-columns: 1fr;
  }

  .product-grid {
    gap: 16px;
  }

  .choice-group {
    flex-direction: column;
  }

  .choice {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==== 商品調達ページ：調達シーン・ご相談情報・調達の流れ ==== */
.source-cases {
  position: relative;
  overflow: hidden;
  padding-block: clamp(72px, 9vw, 120px);
  background: var(--paper);
}

.source-cases::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--block-bg-image, url("/uploads/images/site/why-hardware.png"));
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  filter: grayscale(1);
}

.source-cases > .site-container {
  position: relative;
  z-index: 1;
}

.case-rows {
  margin-top: 6px;
}

.case-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(30px, 4vw, 68px);
  align-items: center;
  padding-block: clamp(38px, 4.5vw, 58px);
}

.case-rows .case-row + .case-row {
  border-top: 1px solid var(--rule);
}

.case-row--flip .case-media {
  order: -1;
}

.case-media {
  margin: 0;
}

.case-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.case-copy h3 {
  margin: 14px 0 0;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 900;
  line-height: 1.4;
}

.case-copy p {
  margin: 16px 0 0;
  color: var(--steel-2);
  line-height: 2;
}

.case-copy .chip {
  margin-top: 18px;
}

.source-flow {
  position: relative;
  overflow: hidden;
  padding-block: clamp(72px, 9vw, 120px);
  background: var(--steel);
  color: #fff;
}

.source-flow::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--block-bg-image, url("/uploads/images/site/custom-production.png"));
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  filter: saturate(0.55) contrast(1.02);
}

.source-flow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(20, 29, 33, 0.92) 0%, rgba(20, 29, 33, 0.76) 48%, rgba(20, 29, 33, 0.52) 100%);
}

.source-flow > .site-container {
  position: relative;
  z-index: 1;
}

.source-flow .section-heading p {
  color: #c8d4d0;
}

.flow-steps {
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.flow-step {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding: 22px clamp(8px, 1.5vw, 20px);
  transition: background-color 200ms ease;
}

.flow-step:hover,
.flow-step:focus-within {
  background: rgba(255, 255, 255, 0.06);
}

.flow-step-head {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
}

.flow-step-head strong {
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 800;
}

.flow-step-head [data-lucide] {
  width: 20px;
  height: 20px;
  color: #70c9a7;
  opacity: 0;
  transition: opacity 200ms ease;
}

.flow-step:hover .flow-step-head [data-lucide],
.flow-step:focus-within .flow-step-head [data-lucide] {
  opacity: 1;
}

.flow-step-detail {
  max-height: 0;
  margin: 0 0 0 80px;
  overflow: hidden;
  opacity: 0;
  color: #dbe7e2;
  transition: max-height 320ms ease, opacity 320ms ease, margin 320ms ease;
}

.flow-step:hover .flow-step-detail,
.flow-step:focus-within .flow-step-detail {
  max-height: 160px;
  margin-top: 12px;
  opacity: 1;
}

.flow-num {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: #70c9a7;
}

@media (hover: none) {
  .flow-step-detail {
    max-height: none;
    margin-top: 12px;
    opacity: 1;
  }
}

@media (max-width: 767px) {
  .case-row {
    grid-template-columns: 1fr;
    row-gap: 20px;
  }

  .case-row--flip .case-media {
    order: -1;
  }

  .case-media img {
    aspect-ratio: 16 / 9;
  }

  .flow-step-detail {
    max-height: none;
    margin-top: 12px;
    margin-left: 0;
    opacity: 1;
  }

  .flow-step-head {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .flow-step-head [data-lucide] {
    display: none;
  }
}

/* 商品詳細ページ：写真＋寸法図＋仕様アクションの3段組み、タブ切り替え */
.detail-title {
  border-left: 3px solid var(--green);
  padding-left: clamp(18px, 2vw, 28px);
}

.detail-title h1 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 900;
  line-height: 1.3;
}

.detail-title p {
  max-width: 62em;
  margin: 10px 0 0;
  color: var(--steel-2);
  font-size: 15px;
}

.detail-top {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 3vw, 44px);
  align-items: start;
  margin-top: 26px;
}

.detail-gallery {
  display: grid;
  gap: 12px;
}

.detail-media {
  /* 高度固定：横图竖图都在同一尺寸的框内 contain 显示，竖图不把区域撑长 */
  position: relative;
  height: clamp(320px, 38vw, 560px);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--zinc-2);
  padding: clamp(20px, 3vw, 40px);
}

.detail-media > img {
  position: absolute;
  inset: 0;
  margin: auto;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.detail-media > svg,
.detail-thumb svg {
  color: var(--steel);
}

.detail-media > svg {
  width: 100%;
  max-width: 360px;
  height: auto;
}

.detail-thumbs {
  display: flex;
  gap: 10px;
}

.detail-thumb {
  width: 78px;
  height: 66px;
  display: grid;
  place-items: center;
  padding: 8px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}

.detail-thumb img,
.detail-thumb svg {
  max-width: 100%;
  max-height: 100%;
}

.detail-thumb svg {
  width: 100%;
  height: auto;
}

.detail-thumb.is-active {
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green);
}

.detail-drawing {
  margin: 0;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--zinc-2);
  padding: clamp(20px, 2.4vw, 30px);
}

.detail-drawing svg {
  width: 100%;
  height: auto;
  color: var(--steel);
}

.detail-drawing figcaption,
.detail-drawing small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.detail-spec {
  border-top: 1px solid var(--rule);
}

.detail-spec > div {
  display: grid;
  grid-template-columns: 8.5em minmax(0, 1fr);
  gap: 14px;
  padding-block: 10px;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
}

.detail-spec dt {
  color: var(--muted);
}

.detail-spec dd {
  margin: 0;
  font-weight: 700;
}

.detail-spec .detail-price dd {
  color: var(--green-deep);
  font-size: 17px;
  font-weight: 900;
}

.stock-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--green);
}

.detail-locknote {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 4px;
  color: var(--green-deep);
  background: var(--green-pale);
  font-size: 14px;
  font-weight: 700;
}

.detail-locknote [data-lucide] {
  flex: 0 0 auto;
  margin-top: 2px;
}

/* 缺货提示：与上面的企业价说明区分，用中性灰 */
.detail-soldout-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 14px 16px;
  border-radius: 4px;
  color: var(--steel-2);
  background: var(--zinc);
  font-size: 14px;
  font-weight: 700;
}

.detail-soldout-note [data-lucide] {
  flex: 0 0 auto;
  margin-top: 2px;
}

/* 缺货时「今すぐ購入」置灰且不可点击 */
.button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  box-shadow: none;
}

.button:disabled:hover {
  transform: none;
}

.detail-buy {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.detail-buy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* 次级操作：购物车与购买并排等宽。宽度不够时自动堆叠为上下两行，
   避免「見積依頼カートに追加」这类长文案在窄屏折行；只有一个按钮时占满整行。 */
.detail-buy-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.detail-buy-actions form {
  display: flex;
  margin: 0;
}

.detail-buy-actions .button {
  flex: 1;
  min-width: 0;
  padding-inline: 12px;
}

.detail-buy-row label {
  font-size: 14px;
  font-weight: 800;
}

.detail-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 14px;
  font-size: 14px;
}

.detail-tabs {
  display: flex;
  gap: 4px;
  margin-top: clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--rule);
  overflow-x: auto;
}

.detail-tab {
  flex: 0 0 auto;
  padding: 14px 18px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
}

.detail-tab:hover {
  color: var(--green-deep);
}

.detail-tab.is-active {
  color: var(--green-deep);
  border-bottom-color: var(--green);
}

.detail-panel {
  padding-top: clamp(24px, 3vw, 36px);
}

.mass-order {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: clamp(36px, 4vw, 56px);
  padding: clamp(20px, 3vw, 28px) clamp(22px, 3vw, 32px);
  border-radius: var(--radius);
  color: var(--green-deep);
  background: var(--green-pale);
}

.mass-order [data-lucide] {
  flex: 0 0 auto;
  margin-top: 2px;
}

.mass-order strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
}

.mass-order p {
  margin: 0;
  color: var(--steel-2);
  font-size: 15px;
}

@media (max-width: 1023px) {
  .detail-top {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

@media (max-width: 767px) {
  .detail-spec > div {
    grid-template-columns: 6.8em minmax(0, 1fr);
    gap: 10px;
  }

  .detail-buy-row {
    flex-wrap: wrap;
  }
}

/* 特注・OEMページの流れセクションは背景画像をoem.pngに差し替え */
.source-flow--oem::before {
  background-image: var(--block-bg-image, url("/uploads/images/site/oem.png"));
}

/* ==== お問い合わせページ：相談導線カード＋フォームパネル ==== */
.contact-channels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px clamp(16px, 2.2vw, 30px);
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(32, 43, 48, 0.08);
  color: inherit;
  text-decoration: none;
  scroll-margin-top: calc(var(--header-space) + 16px);
  transition: box-shadow 180ms ease;
}

a.contact-channel:hover {
  box-shadow: 0 12px 30px rgba(32, 43, 48, 0.14);
}

.contact-channel-icon {
  flex: none;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(24, 124, 89, 0.09);
  color: var(--green);
}

.contact-channel-icon [data-lucide] {
  width: 22px;
  height: 22px;
}

.contact-channel-icon--line {
  background: #06c755;
  color: #fff;
}

.contact-channel-icon--wechat {
  background: #07c160;
  color: #fff;
}

.contact-channel-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.contact-channel--qr {
  align-items: center;
}

.contact-channel-qr {
  flex: none;
  margin-left: auto;
  width: 112px;
  height: 112px;
  padding: 6px;
  background: #fff;
  border: 1px solid rgba(32, 43, 48, 0.08);
}

.contact-channel-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.contact-channel-copy strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
}

.contact-channel-copy small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.contact-channel-arrow {
  flex: none;
  margin-left: auto;
  color: #9aa7a2;
  width: 18px;
  height: 18px;
}

.form-panel {
  margin-top: 26px;
  padding: clamp(26px, 4vw, 54px);
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(32, 43, 48, 0.08);
}

.form-panel-title {
  position: relative;
  margin: 0;
  padding-left: 17px;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 900;
}

.form-panel-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  bottom: 7px;
  width: 5px;
  background: var(--green);
}

.form-panel-sub {
  margin: 12px 0 0;
  color: var(--muted);
}

.form-rows {
  margin-top: 26px;
  border-top: 1px solid var(--rule);
}

.form-row {
  display: grid;
  grid-template-columns: minmax(190px, 230px) minmax(0, 1fr);
  gap: 14px 30px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}

.form-row-label {
  padding-top: 13px;
  font-size: 15px;
  font-weight: 800;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.upload-btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: 1px solid var(--green);
  border-radius: 4px;
  color: var(--green);
  font-weight: 800;
  cursor: pointer;
  transition: background-color 180ms ease;
}

.upload-btn:hover {
  background: rgba(24, 124, 89, 0.07);
}

.upload-btn [data-lucide] {
  width: 17px;
  height: 17px;
}

.form-actions-center {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.form-actions-center .button {
  min-width: min(420px, 100%);
  justify-content: center;
}

@media (max-width: 767px) {
  .contact-channels {
    grid-template-columns: 1fr;
  }

  .contact-channel--qr {
    flex-wrap: wrap;
    align-items: center;
  }

  .contact-channel-qr {
    flex-basis: 100%;
    width: 168px;
    height: 168px;
    margin: 12px auto 0;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .form-row-label {
    padding-top: 0;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
  }

  .form-actions-center .button {
    width: 100%;
    min-width: 0;
  }
}

/* ==== FAQ右側の質問リスト：独立カード化 ==== */
.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border-bottom: 0;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(32, 43, 48, 0.08);
}

.faq-item.is-open {
  box-shadow: 0 12px 30px rgba(32, 43, 48, 0.13);
}

.faq-item[hidden] {
  display: none;
}

/* ==== OEM PROCESS：順序を保った2列タイムライン ==== */
.source-flow--oem {
  padding-block: clamp(88px, 10vw, 136px);
}

.source-flow--oem > .site-container {
  max-width: 1240px;
}

.source-flow--oem .section-heading {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: end;
  gap: clamp(32px, 6vw, 88px);
  margin-bottom: 0;
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.source-flow--oem .section-heading h2 {
  max-width: 11ch;
  margin-top: 15px;
  font-size: clamp(36px, 4.8vw, 62px);
  line-height: 1.12;
  text-wrap: balance;
}

.source-flow--oem .section-heading p {
  max-width: 42em;
  margin: 0;
  padding: 16px 0 16px 24px;
  border-left: 1px solid rgba(112, 201, 167, 0.65);
  color: #dbe7e2;
  line-height: 1.9;
}

.source-flow--oem .flow-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
  padding-left: 0;
  border: 0;
  list-style: none;
}

.source-flow--oem .flow-step {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 20px;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "number title icon"
    "number detail detail";
  column-gap: 18px;
  row-gap: 18px;
  min-height: 214px;
  padding: 26px 24px 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.055);
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.source-flow--oem .flow-step:hover,
.source-flow--oem .flow-step:focus-within {
  border-color: rgba(112, 201, 167, 0.78);
  background: rgba(24, 124, 89, 0.25);
  box-shadow: 0 18px 34px rgba(8, 24, 26, 0.26);
  transform: translateY(-3px);
}

.source-flow--oem .flow-step-head {
  display: contents;
}

.source-flow--oem .flow-num {
  grid-area: number;
  align-self: start;
  padding-top: 1px;
  color: #70c9a7;
  font-size: clamp(52px, 4.5vw, 70px);
  line-height: 0.9;
}

.source-flow--oem .flow-step-head strong {
  grid-area: title;
  align-self: center;
  font-size: clamp(18px, 1.65vw, 23px);
  line-height: 1.35;
}

.source-flow--oem .flow-step-head [data-lucide] {
  grid-area: icon;
  align-self: center;
  width: 19px;
  height: 19px;
  opacity: 0.72;
  color: #70c9a7;
}

.source-flow--oem .flow-step-detail {
  grid-area: detail;
  align-self: start;
  max-height: none;
  margin: 0;
  overflow: visible;
  opacity: 1;
  color: #dbe7e2;
  font-size: 15px;
  line-height: 1.9;
}

@media (max-width: 767px) {
  .source-flow--oem {
    padding-block: 76px 88px;
  }

  .source-flow--oem .section-heading {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-bottom: 30px;
  }

  .source-flow--oem .section-heading h2 {
    max-width: 14ch;
    font-size: clamp(34px, 10vw, 48px);
  }

  .source-flow--oem .section-heading p {
    padding: 0 0 0 16px;
  }

  .source-flow--oem .flow-steps {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 24px;
  }

  .source-flow--oem .flow-step {
    grid-template-columns: 58px minmax(0, 1fr) 18px;
    min-height: 0;
    padding: 22px 18px 24px;
    column-gap: 14px;
    row-gap: 14px;
  }

  .source-flow--oem .flow-num {
    font-size: 48px;
  }

  .source-flow--oem .flow-step-head strong {
    font-size: 18px;
  }

  .source-flow--oem .flow-step-detail {
    font-size: 14px;
    line-height: 1.8;
  }
}

/* ==== 商品リスト：左側絞り込みサイドバー ==== */
.products-layout {
  display: grid;
  grid-template-columns: minmax(230px, 270px) minmax(0, 1fr);
  gap: clamp(28px, 3.5vw, 48px);
  align-items: start;
}

.products-side {
  position: sticky;
  top: 96px;
}

.filter-side {
  display: grid;
  gap: 18px;
}

.filter-side-title {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
}

.filter-group {
  border-top: 1px solid var(--rule);
  padding-top: 14px;
}

.filter-group-title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 800;
}

.filter-checks {
  display: grid;
  gap: 9px;
}

.filter-check {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--steel-2);
  font-size: 14px;
  cursor: pointer;
}

.filter-check input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--green);
}

.filter-check-sub {
  padding-left: 20px;
  font-size: 13px;
}

.filter-input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #b8c5c0;
  border-radius: 4px;
  font-size: 14px;
  background: #fff;
}

.filter-input:focus {
  border-color: var(--green);
  outline: 3px solid rgba(24, 124, 89, 0.13);
}

.filter-reset {
  width: 100%;
}

.filter-reset + .filter-reset {
  margin-top: 8px;
}

@media (max-width: 1023px) {
  .products-layout {
    grid-template-columns: 1fr;
  }

  .products-side {
    position: static;
  }
}

/* ==== 商品リスト：検索バンド＋サイドバー調整 ==== */
.search-band {
  padding-block: 30px 2px;
  background: var(--paper);
}

/* 検索バンドと絞り込み/一覧の間は狭く取る */
.search-band + .section {
  padding-top: clamp(24px, 3vw, 40px);
}

.search-band-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-field {
  position: relative;
  flex: 1;
}

.search-field [data-lucide] {
  position: absolute;
  left: 15px;
  top: 50%;
  width: 18px;
  height: 18px;
  color: #9aa7a2;
  transform: translateY(-50%);
  pointer-events: none;
}

.search-field input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px 0 44px;
  border: 1px solid #b8c5c0;
  border-radius: 4px;
  color: var(--steel);
  font-size: 15px;
  background: #fff;
}

.search-field input:focus {
  border-color: var(--green);
  outline: 3px solid rgba(24, 124, 89, 0.13);
}

.search-band-inner .button {
  min-width: 150px;
  min-height: 52px;
  justify-content: center;
}

.filter-side {
  padding: 22px 20px;
  border-radius: 4px;
  background: var(--zinc-2);
}

.list-toolbar select {
  min-width: 180px;
  background-color: #fff;
}

@media (max-width: 767px) {
  .search-band-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .search-band-inner .button {
    width: 100%;
  }
}

/* ==== 商品グリッド：ブレークポイントで明示的な列数指定 ==== */
@media (min-width: 769px) and (max-width: 1535.98px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 769px) and (max-width: 1279.98px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ==== 商品リスト：ページネーション ==== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
}

.page-btn {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  color: var(--steel);
  background: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.page-btn [data-lucide] {
  width: 18px;
  height: 18px;
}

.page-btn:hover:not(:disabled):not(.is-current) {
  border-color: var(--green);
  color: var(--green-deep);
}

.page-btn.is-current {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.page-btn:disabled,
.page-btn[aria-disabled="true"] {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.page-nums {
  display: flex;
  gap: 8px;
}

@media (max-width: 767px) {
  .pagination {
    margin-top: 26px;
  }
}

/* ==== 商品資料ページ：検索バー・形式タブ・資料テーブル ==== */
.doc-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: #fff;
}

.doc-search {
  flex: 1 1 300px;
  min-width: 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid #b8c5c0;
  border-radius: 4px;
  background: #fff;
}

.doc-search:focus-within {
  border-color: var(--green);
}

.doc-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font-size: max(14px, 1rem);
}

.doc-search input:focus {
  outline: none;
}

.doc-selects {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.doc-selects select {
  min-height: 48px;
  min-width: 200px;
  padding: 11px 13px;
  border: 1px solid #b8c5c0;
  border-radius: 4px;
  background: #fff;
}

.doc-format-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  margin-bottom: 20px;
}

.doc-format-tabs > span {
  margin-right: 8px;
  font-size: 15px;
  font-weight: 800;
}

.doc-tab {
  min-height: 40px;
  padding: 8px 18px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  color: var(--steel);
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.doc-tab:hover {
  color: var(--green-deep);
  border-color: var(--green);
}

.doc-tab.is-active {
  color: #fff;
  background: var(--steel);
  border-color: var(--steel);
}

.doc-table {
  width: 100%;
  margin-top: 20px;
  border-collapse: collapse;
  background: #fff;
}

.doc-table th {
  padding: 14px 16px;
  border-bottom: 1px solid var(--rule);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}

.doc-table td {
  padding: 16px;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
  vertical-align: middle;
}

.doc-title-cell {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.doc-thumb {
  flex: 0 0 auto;
  width: 64px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid var(--rule);
  border-radius: 4px;
  color: var(--steel-2);
  background: var(--zinc-2);
}

.doc-title-cell strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
}

.doc-title-cell small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.doc-format {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  white-space: nowrap;
}

.doc-format [data-lucide] {
  color: var(--brass);
}

.doc-size {
  font-family: "Barlow Condensed", "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.doc-dl {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rule);
  border-radius: 4px;
  color: var(--green-deep);
  background: #fff;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease;
}

.doc-dl:hover {
  border-color: var(--green);
  color: var(--green);
}

.doc-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 24px;
  padding: 15px 20px;
  border-radius: var(--radius);
  color: var(--green-deep);
  background: var(--green-pale);
  font-size: 14px;
  font-weight: 700;
}

.doc-notice [data-lucide] {
  color: var(--green);
}

.doc-notice .text-link {
  margin-left: auto;
}

.doc-empty {
  margin-top: 24px;
  padding: clamp(36px, 5vw, 56px) 24px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
}

.doc-empty-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  color: var(--green);
  background: var(--zinc-2);
}

.doc-empty h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 900;
}

.doc-empty p {
  max-width: 34em;
  margin: 10px auto 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}

.doc-empty-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* お届け先住所の管理 */
.address-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.address-card {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.address-card:hover {
  border-color: var(--green);
}

.address-card:has(input:checked) {
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green);
  background: var(--green-pale);
}

.address-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.address-card-head strong {
  font-size: 15px;
}

.address-card p {
  margin: 0;
  color: var(--steel-2);
  font-size: 14px;
  line-height: 1.9;
}

.address-card-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 2px;
}

.address-card.is-static {
  cursor: default;
  max-width: 28rem;
}

.address-card.is-static:hover {
  border-color: var(--rule);
}

.address-add {
  min-height: 130px;
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 18px;
  border: 1px dashed #92aaa0;
  border-radius: var(--radius);
  background: var(--zinc-2);
  color: var(--steel-2);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: color 160ms ease, border-color 160ms ease;
}

.address-add [data-lucide] {
  color: var(--green);
}

.address-add:hover {
  color: var(--green-deep);
  border-color: var(--green);
}

.address-form {
  margin-top: 16px;
  padding: 20px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--zinc-2);
}

.address-form h3 {
  margin: 0 0 18px;
  font-size: 16px;
  font-weight: 800;
}

@media (max-width: 767px) {
  .doc-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  /* 縦並びではflex-basis 300pxが高さとして効くためリセット */
  .doc-search {
    flex: 1 1 auto;
  }

  .doc-selects {
    flex-direction: column;
  }

  .doc-selects select {
    min-width: 0;
    width: 100%;
  }

  .doc-table,
  .doc-table tbody {
    display: block;
  }

  .doc-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  /* モバイルはラベル列を付けないコンパクトカード型 */
  .doc-table tr {
    position: relative;
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid var(--rule);
  }

  .doc-table td {
    display: inline-block;
    padding: 0 14px 0 0;
    border: 0;
    color: var(--steel-2);
    font-size: 14px;
    text-align: left;
    vertical-align: middle;
  }

  .doc-table td::before {
    content: none;
  }

  .doc-table td:first-child {
    display: flex;
    width: 100%;
    margin-bottom: 10px;
    padding-right: 60px;
  }

  .doc-table td[data-label="カテゴリ"]::after {
    content: "・";
    margin-right: 6px;
    color: #9aa7a2;
  }

  .doc-table td[data-label="対象"] {
    margin-right: 16px;
  }

  .doc-table td[data-label="サイズ"] {
    color: var(--muted);
  }

  .doc-table td[data-label="操作"] {
    position: absolute;
    top: 16px;
    right: 0;
    padding: 0;
  }

  .doc-notice .text-link {
    margin-left: 0;
  }
}

/* ==== 会社案内：ABOUT・会社概要・代表あいさつ ==== */
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(32px, 4.5vw, 72px);
  align-items: center;
}

.about-copy h2 {
  margin: 10px 0 0;
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 900;
  line-height: 1.35;
}

.about-lede {
  margin: 20px 0 0;
  color: var(--steel-2);
  font-size: 16px;
  line-height: 2;
}

.about-points {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.about-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--steel);
}

.about-points [data-lucide] {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--green);
}

.about-media {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.outline-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 320px);
  gap: clamp(28px, 3.5vw, 52px);
  align-items: start;
}

.outline-layout:not(:has(.outline-note)) {
  grid-template-columns: 1fr;
}

.outline-table {
  background: #fff;
  padding: 18px 36px;
  border-radius: 4px;
  box-shadow: 0 12px 30px rgba(32, 43, 48, 0.12);
}

.outline-note .notice {
  border: 0;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(32, 43, 48, 0.08);
}

.outline-note {
  display: grid;
  gap: 14px;
}

.message-layout {
  display: grid;
  grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: start;
}

.message-photo {
  align-self: start;
  margin: 0;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(32, 43, 48, 0.08);
}

.message-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: grayscale(1);
}

.message-photo figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.message-lead {
  margin: 0 0 18px;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 900;
  line-height: 1.6;
}

.message-body p:not(.message-lead) {
  margin: 14px 0 0;
  color: var(--steel-2);
  line-height: 2.05;
}

@media (max-width: 1023px) {
  .about-layout,
  .outline-layout {
    grid-template-columns: 1fr;
  }

  .about-media {
    order: -1;
  }
}

@media (max-width: 767px) {
  .message-layout {
    grid-template-columns: 1fr;
  }

  .message-photo {
    max-width: 220px;
  }

  .outline-table {
    padding: 6px 18px;
  }
}

/* ==== 会社案内：営業拠点カード ==== */
.location-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(32, 43, 48, 0.08);
}

.location-media {
  position: relative;
  margin: 0;
}

.location-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.location-media figcaption {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 2px 8px;
  border-radius: 2px;
  background: rgba(32, 43, 48, 0.55);
  color: #fff;
  font-size: 11px;
}

.location-body {
  padding: 20px 22px 22px;
}

.location-body strong {
  font-size: 16px;
}

.location-body p {
  margin: 10px 0 0;
  color: var(--steel-2);
  font-size: 14px;
  line-height: 1.9;
}

/* ==== モバイルメニュー: 全幅表示（左右マージン・上下パディングなし） ==== */
.mobile-menu .mobile-menu-inner {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-block: 0;
}

.mobile-menu .mobile-menu-inner a {
  padding: 15px 20px;
}

/* ==== ナビゲーション: 現在ページの選択状態 ==== */
.desktop-nav a[aria-current="page"] {
  color: var(--green-deep);
}

.mobile-menu a[aria-current="page"] {
  color: var(--green-deep);
  background: rgba(24, 124, 89, 0.08);
  box-shadow: inset 3px 0 0 var(--green);
}

/* ==== モバイルメニュー: 右側ドロワー ==== */
.mobile-menu {
  display: block;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  width: min(85%, 360px);
  height: 100dvh;
  background: var(--steel);
  border-top: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 260ms ease, visibility 260ms ease;
}

.mobile-menu.is-open {
  display: block;
  transform: translateX(0);
  visibility: visible;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(20, 29, 33, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 260ms ease, visibility 260ms ease;
}

.mobile-menu.is-open + .drawer-backdrop {
  opacity: 1;
  visibility: visible;
}

body:has(.mobile-menu.is-open) {
  overflow: hidden;
}

.drawer-head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: var(--steel);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.drawer-brand {
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.drawer-brand small {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.drawer-close {
  flex: none;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.drawer-close [data-lucide] {
  width: 20px;
  height: 20px;
}

.mobile-menu .mobile-menu-inner {
  display: block;
  background: transparent;
  padding: 0 0 28px;
}

.mobile-menu .mobile-menu-inner a {
  min-height: 0;
  display: block;
  padding: 16px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  transition: color 160ms ease, background-color 160ms ease;
}

.mobile-menu .mobile-menu-inner a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.mobile-menu .mobile-menu-inner a[aria-current="page"] {
  color: #7cc7a6;
  background: rgba(24, 124, 89, 0.18);
  box-shadow: inset 3px 0 0 var(--green);
}

@media (min-width: 1024px) {
  .mobile-menu,
  .drawer-backdrop {
    display: none !important;
  }
}

/* ==== トップヒーロー: フルスクリーンカルーセル ==== */
.hero {
  height: 100svh;
  min-height: 640px;
  max-height: 960px;
  padding: 0;
  overflow: hidden;
  position: relative;
  background: var(--steel);
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 900ms ease, visibility 900ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.05);
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(96deg, rgba(20, 29, 33, 0.9) 0%, rgba(20, 29, 33, 0.66) 44%, rgba(20, 29, 33, 0.16) 82%, rgba(20, 29, 33, 0.05) 100%);
}

.hero-slide-copy {
  position: relative;
  z-index: 1;
  width: min(640px, calc(100% - 64px));
  margin-left: max(32px, calc((100% - min(var(--container), calc(100% - 64px))) / 2));
  padding-inline: 0;
  color: #fff;
}

.hero-slide-copy h1 {
  margin: 18px 0 0;
  font-size: clamp(38px, 4.8vw, 68px);
  font-weight: 900;
  line-height: 1.22;
}

.hero-slide-copy p {
  margin: 22px 0 0;
  max-width: 540px;
  color: #e7efec;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 2;
}

@media (max-width: 1023px) {
  .hero-slide-copy {
    width: min(640px, calc(100% - 32px));
    margin-left: max(16px, calc((100% - min(var(--container), calc(100% - 32px))) / 2));
  }
}

@media (max-width: 767px) {
  .hero-slide-copy {
    width: calc(100% - 32px);
    margin-left: 16px;
  }

  .hero-slide-copy h1 {
    font-size: clamp(28px, 8vw, 40px);
  }
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 30px;
  z-index: 2;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition: background-color 200ms ease, transform 200ms ease;
}

.hero-dot.is-active {
  background: #fff;
  transform: scale(1.25);
}

.hero-scroll {
  position: absolute;
  left: clamp(20px, 4vw, 56px);
  bottom: 26px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.68);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  letter-spacing: 0.22em;
}

.hero-scroll::before {
  content: "";
  display: block;
  width: 1px;
  height: 34px;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.5);
}

/* ==== トップページのヘッダー: 透明→スクロールで白背景 ==== */
body[data-page="index.html"] .site-header {
  position: fixed;
  width: 100%;
  border-bottom-color: transparent;
  background: transparent;
}

body[data-page="index.html"] .site-header .desktop-nav > a,
body[data-page="index.html"] .site-header .nav-dropdown > a,
body[data-page="index.html"] .site-header .icon-link,
body[data-page="index.html"] .site-header .brand-copy,
body[data-page="index.html"] .site-header .brand-copy small {
  color: #fff;
}

body[data-page="index.html"] .site-header .nav-submenu a {
  color: var(--steel);
}

body[data-page="index.html"] .site-header .icon-link,
body[data-page="index.html"] .site-header .menu-toggle {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
}

body[data-page="index.html"] .site-header.is-scrolled {
  border-bottom-color: rgba(214, 223, 219, 0.9);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 24px rgba(32, 43, 48, 0.08);
}

body[data-page="index.html"] .site-header.is-scrolled .desktop-nav > a,
body[data-page="index.html"] .site-header.is-scrolled .nav-dropdown > a,
body[data-page="index.html"] .site-header.is-scrolled .icon-link,
body[data-page="index.html"] .site-header.is-scrolled .brand-copy,
body[data-page="index.html"] .site-header.is-scrolled .brand-copy small,
body[data-page="index.html"] .site-header.is-scrolled .menu-toggle {
  color: var(--steel);
}

body[data-page="index.html"] .site-header.is-scrolled .icon-link,
body[data-page="index.html"] .site-header.is-scrolled .menu-toggle {
  background: #fff;
  border-color: var(--rule);
}

body[data-page="index.html"] .site-header .desktop-nav a[aria-current="page"] {
  color: #7cc7a6;
}

body[data-page="index.html"] .site-header.is-scrolled .desktop-nav a[aria-current="page"] {
  color: var(--green-deep);
}

body[data-page="index.html"] .site-header:not(.is-scrolled) .brand-logo:has(.brand-logo-img--header) .brand-logo-img--overlay {
  opacity: 1;
}

body[data-page="index.html"] .site-header:not(.is-scrolled) .brand-logo:has(.brand-logo-img--overlay) .brand-logo-img--header {
  opacity: 0;
}

@media (max-width: 767px) {
  .hero {
    min-height: 560px;
  }

  .hero-slide-copy h1 {
    font-size: clamp(32px, 9.5vw, 44px);
  }

  .hero-scroll {
    display: none;
  }
}

/* ==== ヒーロー文字の入場アニメーション ====
   aos-ready でゲートし、JS無し・AOS無効時は静的表示のまま。
   is-active なスライド内だけ実行し、JSが .hero-anim-in を付け直すたびに再生される。 */
@keyframes hero-copy-in {
  from {
    opacity: 0;
    transform: translateY(32px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

html.aos-ready .hero-slide.hero-anim-in [data-hero-aos] {
  animation: hero-copy-in 720ms cubic-bezier(0.22, 0.61, 0.21, 1) both;
}

html.aos-ready .hero-slide.hero-anim-in .hero-kicker[data-hero-aos] { animation-delay: 0ms; }
html.aos-ready .hero-slide.hero-anim-in h1[data-hero-aos] { animation-delay: 110ms; }
html.aos-ready .hero-slide.hero-anim-in p[data-hero-aos] { animation-delay: 220ms; }
html.aos-ready .hero-slide.hero-anim-in .button[data-hero-aos] { animation-delay: 330ms; }

/* ==== 四つの事業：横向手风琴 ====
   flex-grow 過渡で展開 / 折りたたみ。
   is-active（または :focus-within）パネルが flex:4、他は flex:1。
   モバイルは縦スタックに降格。 */

.biz-accordion-section {
  background: var(--steel);
}

.biz-accordion {
  display: flex;
  height: 520px;
  min-height: 420px;
}

.biz-panel {
  position: relative;
  flex: 1 1 0%;
  min-width: 0;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  transition: flex-grow 640ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.biz-panel:last-child {
  border-right: 0;
}

.biz-panel.is-active {
  flex-grow: 4;
}

/* ---- リンク（パネル全体がクリッカブル） ---- */
.biz-panel-link {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: #fff;
}

/* ---- 背景画像 ---- */
.biz-panel-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.biz-panel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.05);
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1), filter 400ms ease;
}

.biz-panel.is-active .biz-panel-media img {
  transform: scale(1.04);
}

.biz-panel:hover .biz-panel-media img {
  transform: scale(1.06);
  filter: saturate(0.9) contrast(1.08);
}

/* ---- グラデーションオーバーレイ ---- */
.biz-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(20, 29, 33, 0.18) 0%, rgba(20, 29, 33, 0.88) 100%);
  pointer-events: none;
  transition: opacity 400ms ease;
}

.biz-panel.is-active::after {
  background: linear-gradient(96deg, rgba(20, 29, 33, 0.88) 0%, rgba(20, 29, 33, 0.55) 50%, rgba(20, 29, 33, 0.12) 100%);
}

/* ---- 折りたたみヘッド（番号 + タイトル + アイコン） ---- */
.biz-panel-head {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(20px, 3vw, 36px);
  gap: 6px;
  transition: opacity 300ms ease;
}

.biz-panel.is-active .biz-panel-head {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.biz-panel-num {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--green);
}

.biz-panel-title {
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 800;
  line-height: 1.35;
  white-space: nowrap;
}

.biz-panel-icon {
  position: absolute;
  bottom: clamp(20px, 3vw, 36px);
  left: clamp(20px, 3vw, 36px);
  width: 20px;
  height: 20px;
  color: var(--green);
  transition: transform 300ms ease;
}

.biz-panel.is-active .biz-panel-icon {
  transform: rotate(45deg);
}

/* ---- 展開ボディ（kicker + タイトル + 説明 + CTA） ---- */
.biz-panel-body {
  position: relative;
  z-index: 2;
  padding: clamp(20px, 3vw, 36px);
  padding-bottom: clamp(28px, 4vw, 48px);
  max-width: 520px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease 120ms, transform 500ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 120ms;
  pointer-events: none;
}

.biz-panel.is-active .biz-panel-body {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.biz-panel-kicker {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--green);
  margin-bottom: 8px;
}

.biz-panel-body strong {
  display: block;
  font-size: clamp(24px, 2.4vw, 36px);
  font-weight: 900;
  line-height: 1.28;
}

.biz-panel-body p {
  margin: 14px 0 0;
  color: #d5e0db;
  font-size: clamp(14px, 1.1vw, 15px);
  line-height: 2;
}

.biz-panel-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.04em;
  transition: gap 200ms ease;
}

.biz-panel-cta:hover,
.biz-panel-cta:focus-visible {
  gap: 10px;
}

/* ---- モバイル：縦スタック ---- */
@media (max-width: 767px) {
  .biz-accordion {
    flex-direction: column;
    height: auto;
  }

  .biz-panel {
    flex: 0 0 auto;
    height: 280px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: none;
  }

  .biz-panel:last-child {
    border-bottom: 0;
  }

  .biz-panel.is-active {
    flex-grow: 0;
  }

  .biz-panel-head {
    opacity: 0;
    pointer-events: none;
    position: absolute;
  }

  .biz-panel-body {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .biz-panel-body strong {
    font-size: clamp(20px, 6vw, 28px);
  }
}

/* ---- タブレット中間 ---- */
@media (min-width: 768px) and (max-width: 1023px) {
  .biz-accordion {
    height: 440px;
  }
}

/* ==== ホーム四大事業：左コピー＋斜めカット手風琴 ==== */
.biz-accordion-section {
  background: #eef3f0;
}

.biz-value {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  min-height: 540px;
}

.biz-value-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: clamp(40px, 5vw, 72px) clamp(28px, 3.6vw, 56px);
  color: var(--steel);
  background:
    radial-gradient(circle at 88% 12%, rgba(24, 124, 89, 0.16), transparent 34%),
    linear-gradient(160deg, #f7faf8 0%, #e7eee9 100%);
}

.biz-value-copy::before,
.biz-value-copy::after {
  content: "";
  position: absolute;
  pointer-events: none;
  background: rgba(24, 124, 89, 0.09);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.biz-value-copy::before {
  width: 240px;
  height: 240px;
  top: -70px;
  right: -40px;
}

.biz-value-copy::after {
  width: 160px;
  height: 160px;
  right: 18%;
  bottom: 8%;
  opacity: 0.7;
}

.biz-value-kicker {
  display: block;
  margin-bottom: 16px;
  color: var(--green);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.biz-value-copy h2 {
  margin: 0;
  max-width: 8.4em;
  font-size: clamp(32px, 3.4vw, 46px);
  font-weight: 900;
  line-height: 1.28;
}

.biz-value-copy p {
  max-width: 36em;
  margin: 22px 0 0;
  color: var(--steel-2);
  font-size: 15px;
  line-height: 1.95;
}

.biz-value-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 28px;
  color: var(--green-deep);
  font-size: 14px;
  font-weight: 800;
}

.biz-value-link [data-lucide] {
  width: 16px;
  height: 16px;
}

.biz-value .biz-accordion {
  height: auto;
  min-height: 540px;
  overflow: hidden;
}

.biz-value .biz-panel {
  flex: 1 1 0%;
  border-right: 0;
  clip-path: polygon(36px 0, 100% 0, calc(100% - 36px) 100%, 0 100%);
  margin-left: -28px;
  transition: flex-grow 560ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.biz-value .biz-panel:first-child {
  margin-left: 0;
  clip-path: polygon(0 0, 100% 0, calc(100% - 36px) 100%, 0 100%);
}

.biz-value .biz-panel:last-child {
  clip-path: polygon(36px 0, 100% 0, 100% 100%, 0 100%);
}

.biz-value .biz-panel.is-active,
.biz-value .biz-panel:hover,
.biz-value .biz-panel:focus-within {
  flex-grow: 3.15;
  z-index: 2;
}

.biz-value .biz-accordion:hover .biz-panel.is-active:not(:hover):not(:focus-within),
.biz-value .biz-accordion:focus-within .biz-panel.is-active:not(:hover):not(:focus-within) {
  flex-grow: 1;
  z-index: 1;
}

.biz-value .biz-panel-link {
  justify-content: flex-start;
}

.biz-value .biz-panel-media img {
  filter: saturate(0.78) contrast(1.08);
  transform: scale(1.08);
}

.biz-value .biz-panel.is-active .biz-panel-media img,
.biz-value .biz-panel:hover .biz-panel-media img,
.biz-value .biz-panel:focus-within .biz-panel-media img {
  transform: scale(1.12);
  filter: saturate(0.92) contrast(1.1);
}

.biz-value .biz-panel::after {
  background: linear-gradient(180deg, rgba(14, 22, 26, 0.62) 0%, rgba(14, 22, 26, 0.12) 46%, rgba(14, 22, 26, 0.58) 100%);
}

.biz-value .biz-panel-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 28px 32px 28px 48px;
  color: #fff;
}

.biz-value .biz-panel:first-child .biz-panel-copy {
  padding-left: 32px;
}

.biz-value .biz-panel-num,
.biz-value .biz-panel-en {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  line-height: 1;
}

.biz-value .biz-panel-num {
  font-size: 15px;
  color: #fff;
}

.biz-value .biz-panel-en {
  display: block;
  margin-top: 10px;
  font-size: clamp(18px, 1.6vw, 24px);
}

.biz-value .biz-panel-title {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: #dbe7e2;
  white-space: normal;
}

.biz-value .biz-panel-body {
  max-width: 28em;
  margin-top: 18px;
  padding: 0;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: none;
  pointer-events: none;
  transition: opacity 280ms ease, max-height 280ms ease;
}

.biz-value .biz-panel-body p {
  margin: 0;
  color: #e7eeea;
  font-size: 14px;
  line-height: 1.8;
}

.biz-value .biz-panel.is-active .biz-panel-body,
.biz-value .biz-panel:hover .biz-panel-body,
.biz-value .biz-panel:focus-within .biz-panel-body {
  opacity: 1;
  max-height: 12em;
  pointer-events: auto;
}

.biz-value .biz-accordion:hover .biz-panel.is-active:not(:hover):not(:focus-within) .biz-panel-body,
.biz-value .biz-accordion:focus-within .biz-panel.is-active:not(:hover):not(:focus-within) .biz-panel-body {
  opacity: 0;
  max-height: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .biz-value .biz-panel,
  .biz-value .biz-panel-media img,
  .biz-value .biz-panel-body {
    transition: none;
  }
}

@media (max-width: 1023px) {
  .biz-value {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .biz-value-copy {
    min-height: 0;
    padding: 48px 32px 36px;
  }

  .biz-value .biz-accordion {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 0;
    height: auto;
    overflow: visible;
  }

  .biz-value .biz-panel,
  .biz-value .biz-panel:first-child,
  .biz-value .biz-panel:last-child {
    margin-left: 0;
    clip-path: none;
    flex: none;
    min-height: 280px;
    height: 280px;
  }

  .biz-value .biz-panel-copy,
  .biz-value .biz-panel:first-child .biz-panel-copy {
    padding: 24px 20px 28px;
    justify-content: flex-end;
  }

  .biz-value .biz-panel-body,
  .biz-value .biz-panel.is-active .biz-panel-body,
  .biz-value .biz-panel:hover .biz-panel-body,
  .biz-value .biz-accordion:hover .biz-panel.is-active:not(:hover):not(:focus-within) .biz-panel-body {
    opacity: 1;
    max-height: none;
    overflow: visible;
    pointer-events: auto;
  }
}

@media (max-width: 767px) {
  .biz-value .biz-accordion {
    grid-template-columns: 1fr;
  }

  .biz-value .biz-panel,
  .biz-value .biz-panel:first-child,
  .biz-value .biz-panel:last-child {
    min-height: 240px;
    height: 240px;
  }

  .biz-value-copy {
    padding: 36px 16px 28px;
  }

  .biz-value-copy h2 {
    font-size: clamp(26px, 7vw, 34px);
  }
}

/* ==== ホーム四大事業：初期は全閉、展開時は中央、左余白とAOS ==== */
.biz-value-copy {
  overflow: visible;
  padding-left: clamp(72px, 10vw, 140px);
  padding-right: clamp(32px, 4vw, 56px);
}

.biz-value .biz-accordion {
  overflow: hidden;
}

.biz-value .biz-panel.is-active,
.biz-value .biz-panel:hover,
.biz-value .biz-panel:focus-within {
  flex-grow: 3.15;
}

.biz-value .biz-panel-copy {
  justify-content: flex-start;
  transition: justify-content 280ms ease;
}

.biz-value .biz-panel.is-active .biz-panel-copy,
.biz-value .biz-panel:hover .biz-panel-copy,
.biz-value .biz-panel:focus-within .biz-panel-copy {
  justify-content: center;
}

@media (max-width: 1023px) {
  .biz-value-copy {
    padding: 48px 32px 36px;
  }
}

@media (max-width: 767px) {
  .biz-value .biz-panel-copy,
  .biz-value .biz-panel.is-active .biz-panel-copy,
  .biz-value .biz-panel:hover .biz-panel-copy {
    justify-content: flex-end;
  }
}

@media (min-width: 1024px) {
  .biz-value {
    grid-template-columns: minmax(360px, 0.46fr) minmax(0, 1fr);
  }

  .biz-value-copy {
    padding-left: clamp(56px, 7vw, 96px);
  }
}

.biz-value-copy h2 {
  max-width: none;
  font-size: clamp(30px, 3.2vw, 42px);
}

.biz-value-copy h2 {
  text-wrap: balance;
  font-size: clamp(28px, 2.9vw, 40px);
}

/* ==== home hot products: product image as section backdrop ==== */
.product-feature-section {
  position: relative;
  isolation: isolate;
  min-height: 640px;
  padding-block: clamp(72px, 8vw, 108px);
  overflow: hidden;
  background: #eef2f0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.product-feature-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.product-feature-backdrop img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(92vw, 980px);
  height: min(88%, 680px);
  object-fit: contain;
  opacity: 0.98;
  filter: saturate(0.94) contrast(1.06);
  transform: translate(-28%, -52%) scale(1.08);
  transition: opacity 420ms ease, transform 700ms ease;
}

.product-feature-backdrop img.is-switching {
  opacity: 0;
}

.product-feature-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(238, 242, 240, 0.96) 0%, rgba(238, 242, 240, 0.78) 18%, rgba(238, 242, 240, 0.18) 42%, rgba(238, 242, 240, 0.04) 58%, rgba(238, 242, 240, 0.72) 100%),
    linear-gradient(180deg, rgba(238, 242, 240, 0.08) 0%, rgba(238, 242, 240, 0) 34%, rgba(238, 242, 240, 0.22) 100%);
}

.product-feature-grid,
.product-feature-rail {
  position: relative;
  z-index: 2;
}

.product-feature-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.34fr) minmax(0, 1fr);
  gap: 36px 48px;
  align-items: center;
  min-height: 430px;
}

.product-feature-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--green);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.product-feature-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--green);
}

.product-feature-lead h2 {
  margin: 0;
  font-size: clamp(32px, 3.4vw, 46px);
  font-weight: 900;
  line-height: 1.28;
}

.product-feature-lead p {
  max-width: 34em;
  margin: 18px 0 0;
  color: var(--steel-2);
  font-size: 15px;
  line-height: 1.95;
}

.product-feature-lead .text-link {
  margin-top: 28px;
}

.product-feature-stage {
  display: flex;
  justify-content: flex-end;
  min-height: 360px;
}

.product-feature-item {
  display: none;
  width: min(100%, 384px);
}

.product-feature-item.is-active {
  display: block;
}

.product-feature-detail {
  padding: 28px 28px 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(214, 223, 219, 0.95);
  box-shadow: 0 18px 46px rgba(32, 43, 48, 0.08);
}

.product-feature-number {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.product-feature-code {
  display: block;
  margin-bottom: 10px;
  color: var(--green);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.product-feature-detail h3 {
  margin: 0;
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 900;
  line-height: 1.35;
}

.product-feature-detail dl {
  margin: 18px 0 0;
}

.product-feature-detail dl div {
  display: grid;
  grid-template-columns: 4.5em minmax(0, 1fr);
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
}

.product-feature-detail dt {
  color: var(--muted);
  font-weight: 700;
}

.product-feature-detail dd {
  margin: 0;
  font-weight: 600;
}

.product-feature-price {
  display: block;
  margin: 18px 0 20px;
  color: var(--brass);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 32px;
  font-weight: 700;
}

.product-feature-price small {
  color: var(--muted);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.product-feature-rail {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 16px;
  align-items: stretch;
  margin-top: 36px;
}

.product-feature-arrow {
  width: 44px;
  height: 44px;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--steel);
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 4px;
}

.product-feature-arrow:hover,
.product-feature-arrow:focus-visible {
  color: #fff;
  background: var(--green-deep);
  border-color: var(--green-deep);
}

.product-feature-pickers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.product-feature-picker {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: 88px auto;
  gap: 8px 10px;
  padding: 12px;
  text-align: left;
  color: var(--steel);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--rule);
  border-radius: 4px;
}

.product-feature-picker span {
  grid-row: 1;
  align-self: start;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.product-feature-picker img {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: 88px;
  object-fit: contain;
  background: var(--zinc-2);
}

.product-feature-picker strong {
  grid-column: 1 / -1;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
}

.product-feature-picker.is-active,
.product-feature-picker:hover,
.product-feature-picker:focus-visible {
  border-color: var(--green);
  box-shadow: inset 0 0 0 1px var(--green);
}

.product-feature-picker.is-active span {
  color: var(--green);
}

@media (max-width: 1023px) {
  .product-feature-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .product-feature-stage {
    justify-content: flex-start;
    min-height: 0;
  }

  .product-feature-item,
  .product-feature-item.is-active {
    width: 100%;
  }

  .product-feature-backdrop img {
    width: min(140vw, 860px);
    height: min(78vw, 520px);
    left: 58%;
    transform: translate(-50%, -42%) scale(1.04);
    opacity: 0.72;
  }
}

@media (max-width: 767px) {
  .product-feature-section {
    min-height: 0;
    padding-block: 56px 48px;
  }

  .product-feature-backdrop img {
    width: 160vw;
    height: 96vw;
    opacity: 0.5;
    transform: translate(-42%, -18%) scale(1.08);
  }

  .product-feature-rail {
    grid-template-columns: 1fr;
  }

  .product-feature-arrow {
    display: none;
  }

  .product-feature-pickers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-feature-backdrop img,
  .product-feature-picker,
  .product-feature-arrow {
    transition: none;
  }
}

/* ==== ホーム四大事業：入场・展開中央・左余白 ==== */
.biz-value-copy {
  padding-left: clamp(80px, 9vw, 128px);
  padding-right: clamp(28px, 3vw, 48px);
}

.biz-value {
  overflow-x: hidden;
}

.biz-value .biz-accordion {
  overflow: visible;
}

.biz-value .biz-panel-copy {
  position: absolute;
  inset: 0;
  justify-content: flex-start;
  padding: 32px 28px 32px 56px;
}

.biz-value .biz-panel:first-child .biz-panel-copy {
  padding-left: 40px;
}

.biz-value .biz-panel.is-active .biz-panel-copy,
.biz-value .biz-panel:hover .biz-panel-copy,
.biz-value .biz-panel:focus-within .biz-panel-copy {
  justify-content: center;
}

@media (max-width: 1023px) {
  .biz-value-copy {
    padding-left: clamp(32px, 6vw, 56px);
  }
}

@media (max-width: 767px) {
  .biz-value .biz-panel-copy,
  .biz-value .biz-panel.is-active .biz-panel-copy,
  .biz-value .biz-panel:hover .biz-panel-copy {
    position: relative;
    justify-content: flex-end;
    padding: 24px 20px 28px;
  }
}

/* ==== home featured catalog: left specimen + right document rows ==== */
.catalog-feature-section {
  padding-block: clamp(56px, 7vw, 96px);
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.catalog-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.catalog-feature-hero,
.catalog-feature-list {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.catalog-feature-kicker {
  display: inline-block;
  align-self: flex-start;
  width: max-content;
  margin-bottom: 12px;
  padding: 4px 10px;
  color: #fff;
  background: var(--green);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.catalog-feature-hero h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
  line-height: 1.25;
}

.catalog-feature-hero > p {
  margin: 10px 0 28px;
  max-width: 28em;
  color: var(--muted);
  font-size: 15px;
}

.catalog-hero-figure {
  position: relative;
  margin: 0 0 22px;
}

.catalog-hero-media {
  display: block;
  background: var(--zinc-2);
}

.catalog-hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center;
  transition: opacity 180ms ease;
}

.catalog-hero-media img.is-switching {
  opacity: 0;
}

.catalog-dim[hidden] {
  display: none;
}

.catalog-dim {
  position: absolute;
  color: var(--steel);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  pointer-events: none;
}

.catalog-dim-y {
  top: 18%;
  right: 8px;
  padding-right: 10px;
  border-right: 1px solid var(--steel);
}

.catalog-dim-x {
  left: 12%;
  bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--steel);
}

.catalog-hero-caption {
  flex-shrink: 0;
}

.catalog-hero-caption h3,
.catalog-feature-hero h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.4;
}

.catalog-sku {
  margin: 4px 0 0;
  color: var(--muted);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 16px;
  font-weight: 600;
}

.catalog-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 18px 12px;
  margin-inline: -12px;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
}

.catalog-row.is-active {
  background: var(--zinc-2);
  box-shadow: inset 3px 0 0 var(--green);
}

.catalog-row:first-child {
  border-top: 1px solid var(--rule);
}

.catalog-row-thumb {
  display: block;
  width: 92px;
  height: 92px;
  background: var(--zinc-2);
}

.catalog-row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.catalog-row-copy {
  min-width: 0;
}

.catalog-row-copy h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;
}

.catalog-size {
  margin: 2px 0 0;
  color: var(--steel-2);
  font-size: 14px;
}

.catalog-price {
  margin: 8px 0 0;
  color: var(--brass);
  font-family: "Barlow Condensed", "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-weight: 600;
}

.catalog-note {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.catalog-row-action {
  min-height: 40px;
  padding: 8px 18px;
  flex-shrink: 0;
}

.catalog-feature-more {
  align-self: flex-end;
  margin-top: 22px;
}

@media (max-width: 1023px) {
  .catalog-feature {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .catalog-hero-media img {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 767px) {
  .catalog-row {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px 16px;
    padding: 18px 0;
  }

  .catalog-row-thumb {
    width: 72px;
    height: 72px;
  }

  .catalog-row-action {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .catalog-feature-more {
    align-self: flex-start;
  }

  .catalog-note {
    font-size: 14px;
  }
}

/* ==== home two registrations: photo + copy + two cards ==== */
.duo-reg-section {
  padding-block: clamp(40px, 5vw, 72px);
  background: var(--paper);
}

.duo-reg {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.6fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: stretch;
  width: 100%;
  min-height: 300px;
}

.duo-reg--no-media {
  grid-template-columns: 1fr;
}

.duo-reg--no-media .duo-reg-main {
  padding-left: 0;
}

.duo-reg-media {
  margin: 0;
  min-width: 0;
  overflow: hidden;
}

.duo-reg-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  object-position: left center;
}

.duo-reg-main {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(0, 1.15fr);
  gap: clamp(24px, 3vw, 40px);
  align-items: center;
  min-width: 0;
  padding: 8px 20px 8px 0;
}

.duo-reg-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  max-width: 34em;
}

.duo-reg-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--green);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.duo-reg-kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--green);
}

.duo-reg-copy h2 {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 900;
  line-height: 1.35;
}

.duo-reg-copy p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.duo-reg-note {
  color: var(--steel-2) !important;
  font-size: 14px !important;
}

.duo-reg-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-self: center;
  min-width: 0;
}

.duo-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 20px 24px 18px;
  border-radius: 4px;
}

.duo-card-light {
  color: var(--steel);
  background: #fff;
  border: 1px solid var(--rule);
  box-shadow: 0 10px 28px rgba(32, 43, 48, 0.06);
}

.duo-card-dark {
  color: #fff;
  background: var(--steel);
}

.duo-card-audience {
  margin: 0;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}

.duo-card-dark .duo-card-audience {
  color: #9fd6c0;
}

.duo-card h3 {
  margin: 6px 0 0;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
}

.duo-card ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 14px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.duo-card li {
  position: relative;
  padding-left: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.duo-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.duo-card-dark li {
  color: #c9d5d1;
}

.duo-card .button {
  width: fit-content;
  min-height: 38px;
  margin-top: 16px;
  padding: 6px 16px;
}

.duo-card-dark .button {
  color: var(--steel);
  background: #fff;
  border-color: #fff;
}

.duo-card-dark .button:hover,
.duo-card-dark .button:focus-visible {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.duo-card-light .button {
  margin-top: 16px;
}

@media (max-width: 1023px) {
  .duo-reg {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .duo-reg-media img {
    min-height: 200px;
    max-height: 240px;
  }

  .duo-reg-main {
    grid-template-columns: 1fr;
    padding: 0 32px 8px;
  }
}

@media (max-width: 767px) {
  .duo-reg-main {
    padding-inline: 16px;
  }

  .duo-reg-cards {
    grid-template-columns: 1fr;
  }

  .duo-card ul {
    grid-template-columns: 1fr;
  }
}

/* ==== home why: left copy, center photo, right detail ==== */
.why-stage-section {
  padding-block: clamp(48px, 6vw, 80px);
  background: var(--paper);
}

.why-stage {
  display: grid;
  grid-template-columns: minmax(220px, 0.78fr) minmax(0, 1.45fr) minmax(210px, 0.72fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: stretch;
  min-height: 430px;
}

.why-stage-intro,
.why-stage-detail {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.why-stage-kicker {
  display: block;
  margin-bottom: 16px;
  color: var(--green);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.why-stage-intro h2 {
  margin: 0;
  max-width: 9em;
  font-size: clamp(28px, 3.25vw, 46px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.24;
}

.why-stage-intro p {
  max-width: 26em;
  margin: 18px 0 0;
  color: var(--steel-2);
  font-size: 14px;
  line-height: 1.9;
}

.why-stage-intro .text-link {
  width: fit-content;
  margin-top: 22px;
  color: var(--green-deep);
  font-weight: 800;
}

.why-stage-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-top: auto;
  padding-top: 28px;
}

.why-stage-tab {
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
}

.why-stage-tab small {
  display: block;
  margin-bottom: 2px;
  color: var(--green);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.why-stage-tab.is-active,
.why-stage-tab:hover,
.why-stage-tab:focus-visible {
  color: var(--steel);
  background: none;
}

.why-stage-media {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  background: #eef3f1;
}

.why-stage-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: right center;
  transition: opacity 0.18s ease;
}

.why-stage-media img.is-switching {
  opacity: 0;
}

.why-stage-detail {
  justify-content: flex-start;
  padding-top: 12px;
}

.why-stage-en {
  display: block;
  color: var(--green);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.why-stage-item h3 {
  margin: 12px 0 0;
  font-size: clamp(24px, 2.3vw, 34px);
  font-weight: 800;
  line-height: 1.28;
}

.why-stage-item p {
  max-width: 20em;
  margin: 18px 0 0;
  color: var(--steel-2);
  font-size: 14px;
  line-height: 1.9;
}

.why-stage-more {
  width: fit-content;
  margin-top: 22px;
  color: var(--green-deep);
  font-weight: 800;
}

@media (max-width: 1023px) {
  .why-stage {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    min-height: 0;
  }

  .why-stage-intro {
    grid-column: 1 / -1;
  }

  .why-stage-media img {
    min-height: 300px;
  }
}

@media (max-width: 767px) {
  .why-stage {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: 0;
  }

  .why-stage-tabs {
    margin-top: 24px;
    padding-top: 0;
  }

  .why-stage-media img {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
}

/* ==== home CTA: left photo diagonal + right copy ==== */
.cta-split {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  align-items: stretch;
  min-height: 148px;
  background: var(--paper);
  border-top: 1px solid var(--rule);
}

.cta-split-media {
  position: relative;
  margin: 0;
  min-width: 0;
  overflow: hidden;
  clip-path: polygon(0 0, 86% 0, 100% 100%, 0 100%);
}

.cta-split-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 148px;
  object-fit: cover;
  object-position: left center;
}

.cta-split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(24px, 3vw, 42px) clamp(32px, 5vw, 80px) clamp(24px, 3vw, 42px) clamp(8px, 2vw, 24px);
}

.cta-split-copy h2 {
  margin: 0;
  max-width: 16em;
  font-size: clamp(20px, 2.1vw, 28px);
  font-weight: 900;
  line-height: 1.4;
}

.cta-split-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 18px;
}

@media (max-width: 1023px) {
  .cta-split {
    grid-template-columns: 1fr;
  }

  .cta-split-media {
    clip-path: none;
    max-height: 132px;
  }

  .cta-split-media img {
    min-height: 120px;
    max-height: 132px;
  }

  .cta-split-copy {
    padding: 22px 32px;
  }
}

@media (max-width: 767px) {
  .cta-split-copy {
    padding: 20px 16px 24px;
  }

  .cta-split-actions .button {
    width: 100%;
  }
}
/* ---------------------------------------------------------------
   富文本正文（后台 TinyMCE 输出）：Tailwind preflight 会清掉列表/标题样式，
   这里按编辑器所见效果恢复。
   --------------------------------------------------------------- */
.rich-content { line-height: 1.9; color: var(--steel); }
/* 法定页面（特定商取引法／利用規約／プライバシーポリシー）：正文上方的制定日，以及正文栏宽。
   正文列在容器内居中，避免宽屏下整列贴在左侧、右侧留下大片空白。 */
.legal-updated { max-width: 860px; margin: 0 auto 28px; color: var(--muted); font-size: 14px; }
.legal-body { max-width: 860px; margin-inline: auto; }
.rich-content p { margin: 0 0 1em; }
.rich-content h2, .rich-content h3, .rich-content h4 {
  margin: 1.4em 0 0.6em; font-weight: 700; line-height: 1.4;
}
.rich-content h2 { font-size: 1.35em; }
.rich-content h3 { font-size: 1.18em; }
.rich-content h4 { font-size: 1.05em; }
.rich-content ul, .rich-content ol {
  margin: 0 0 1em; padding-left: 1.6em;
}
.rich-content ul { list-style: disc outside; }
.rich-content ol { list-style: decimal outside; }
.rich-content li { margin: 0.25em 0; list-style: inherit; }
.rich-content a { color: var(--green); text-decoration: underline; }
.rich-content img { max-width: 100%; height: auto; border-radius: 6px; margin: 0.5em 0; }
.rich-content table { width: 100%; border-collapse: collapse; margin: 0 0 1em; }
.rich-content th, .rich-content td { border: 1px solid var(--rule); padding: 8px 12px; text-align: left; }
.rich-content th { background: var(--zinc-2); font-weight: 700; }
.rich-content blockquote {
  margin: 0 0 1em; padding: 8px 16px; border-left: 3px solid var(--rule); color: var(--muted);
}
/* figure：同一行插入的多张图并排、放不下自动换行。默认尊重编辑器里的
   图片宽度（拖拽/原始大小，不拉伸）；编辑器「图片宽度」菜单可按图加
   cms-img-full（独占整行铺满）或 cms-img-half（锁定半宽、两张正好铺满一行）。
   height !important 用于压过编辑器拖拽产生的内联 height，保持图片不变形 */
.rich-content figure { margin: 0 0 1em; display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; }
.rich-content figure img {
  margin: 0; max-width: 100%; height: auto !important; object-fit: contain;
  flex: 0 1 auto; min-width: 0;
}
.rich-content figure img.cms-img-full { flex: 1 1 100% !important; }
.rich-content figure img.cms-img-half { flex: 0 1 calc(50% - 6px) !important; }
/* figure 外的图片也支持这两个类 */
.rich-content img.cms-img-full { display: block; width: 100% !important; max-width: 100%; height: auto !important; }
.rich-content img.cms-img-half { width: 50% !important; max-width: 100%; height: auto !important; }
/* 窄屏下两张一行太挤，改为逐张铺满 */
@media (max-width: 640px) {
  .rich-content figure img.cms-img-half { flex-basis: 100% !important; }
  .rich-content img.cms-img-half { width: 100% !important; }
}

/* ---------------------------------------------------------------
   图片预览大图（lightbox）：视口内限制尺寸，不超出显示区域
   --------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(15, 23, 20, 0.86);
  cursor: zoom-out;
}

.lightbox img {
  /* 关键：大图按视口等比缩小，宽高都不超出显示区域 */
  max-width: min(1100px, 92vw);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.28);
}

/* お問い合わせフォーム：ご希望の商品（検索式ピッカー） */
.product-picker {
  position: relative;
}

/* 検索アイコンと入力欄を一体化（.search-field と同じ見た目に揃える） */
.product-picker-field {
  position: relative;
  display: flex;
  align-items: center;
}

.product-picker-field [data-lucide] {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
}

.product-picker-field input {
  padding-left: 40px;
  padding-right: 40px;
}

.product-picker-clear {
  position: absolute;
  right: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.product-picker-clear:hover {
  background: rgba(24, 124, 89, 0.1);
  color: var(--green);
}

.product-picker-clear [data-lucide] {
  position: static;
  width: 16px;
  height: 16px;
}

/* 候補リスト：入力欄の直下に重ねて表示 */
.product-picker-list {
  position: absolute;
  z-index: 30;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  max-height: 260px;
  margin: 0;
  padding: 4px;
  overflow-y: auto;
  list-style: none;
  background: #fff;
  border: 1px solid #b8c5c0;
  border-radius: 4px;
  box-shadow: 0 12px 28px rgba(16, 38, 32, 0.14);
}

.product-picker-list[hidden] {
  display: none;
}

.product-picker-list li[role="option"] {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 3px;
  cursor: pointer;
}

.product-picker-list li[role="option"]:hover,
.product-picker-list li[role="option"].is-active {
  background: rgba(24, 124, 89, 0.08);
}

.product-picker-list li[hidden] {
  display: none;
}

.product-picker-name {
  color: var(--steel);
  font-weight: 700;
}

.product-picker-code {
  flex: 0 0 auto;
  color: var(--muted);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.product-picker-empty {
  padding: 12px;
  color: var(--muted);
  font-size: 14px;
}

/* 件数／絞り込み案内：候補の下に続く行なので区切り線で分ける */
.product-picker-list li[data-product-status]:not(:first-child) {
  margin-top: 4px;
  border-top: 1px solid #e2e8e5;
}

/* 掲載のない商品／特注・OEM のショートカット */
.product-picker-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.product-picker-quick button {
  padding: 6px 12px;
  border: 1px solid #b8c5c0;
  border-radius: 999px;
  background: #fff;
  color: var(--steel);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.product-picker-quick button:hover {
  border-color: var(--green);
  color: var(--green);
}
