:root {
  color-scheme: light;
  --ink: #111521;
  --muted: #747a86;
  --paper: #f7f8fa;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { min-width: 320px; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

:focus-visible {
  outline: 2px solid #2e7df6;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 50%;
  padding: 10px 16px;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  font-size: 12px;
  transform: translate(-50%, -150%);
  transition: transform .2s ease;
}

.skip-link:focus { transform: translate(-50%, 0); }

.home-page {
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 10%, rgba(105, 161, 255, .18), transparent 29%),
    radial-gradient(circle at 88% 78%, rgba(197, 178, 255, .19), transparent 34%),
    linear-gradient(145deg, #fdfdfe 0%, #f2f4f8 100%);
}

.home-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .28;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.045'/%3E%3C/svg%3E");
}

.site-header {
  position: fixed;
  z-index: 10;
  inset: 0 0 auto;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 5vw, 72px);
}

.header-brand {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  transition: transform .3s var(--ease), filter .3s ease;
}

.header-brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header-brand:hover { transform: translateY(-2px); filter: drop-shadow(0 8px 12px rgba(39, 99, 190, .14)); }

.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 34px); }

.nav-link {
  position: relative;
  padding: 8px 0;
  border: 0;
  background: transparent;
  font-size: 13px;
  letter-spacing: .04em;
  cursor: pointer;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 4px;
  height: 1px;
  background: currentColor;
  transition: right .25s var(--ease);
}

.nav-link:hover::after,
.nav-link:focus-visible::after { right: 0; }

.nav-link[aria-expanded="true"] { color: #246edc; }

.language-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 4px;
  padding-left: 20px;
  border-left: 1px solid rgba(24, 33, 50, .12);
}

.language-control > span {
  color: #8a9099;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .16em;
}

.language-control select {
  min-width: 51px;
  padding: 7px 19px 7px 9px;
  border: 1px solid rgba(24, 33, 50, .09);
  border-radius: 10px;
  color: var(--ink);
  background:
    linear-gradient(45deg, transparent 50%, #6f7681 50%) calc(100% - 10px) calc(50% - 2px) / 4px 4px no-repeat,
    linear-gradient(135deg, #6f7681 50%, transparent 50%) calc(100% - 6px) calc(50% - 2px) / 4px 4px no-repeat,
    rgba(255, 255, 255, .62);
  font: inherit;
  font-size: 10px;
  font-weight: 700;
  appearance: none;
  cursor: pointer;
}

.product-stage {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 110px 24px 76px;
}

.product-showcase {
  width: min(900px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  width: min(560px, 69vw);
  margin: 0 0 clamp(44px, 7vh, 74px);
  line-height: 0;
}

.hero-logo img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 30px rgba(26, 34, 50, .05));
}

.product-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 6vw, 78px);
}

.product-link {
  position: relative;
  display: block;
  border-radius: 29%;
  outline: 0;
}

.product-icon {
  display: block;
  width: clamp(128px, 15vw, 188px);
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 24%;
  filter: drop-shadow(0 24px 28px rgba(27, 36, 51, .16));
  transform: translateY(0) scale(1);
  transition: transform .42s var(--ease), filter .42s var(--ease);
}

.product-link:hover .product-icon,
.product-link:focus-visible .product-icon {
  transform: translateY(-10px) scale(1.035);
  filter: drop-shadow(0 32px 36px rgba(27, 36, 51, .22));
}

.product-link:focus-visible {
  outline: 3px solid rgba(57, 117, 255, .4);
  outline-offset: 9px;
}

.product-tooltip {
  position: absolute;
  left: 50%;
  top: calc(100% + 18px);
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 999px;
  color: #505661;
  background: rgba(255, 255, 255, .68);
  box-shadow: 0 8px 30px rgba(33, 42, 56, .07);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, -4px);
  transition: opacity .25s ease, transform .25s var(--ease);
  pointer-events: none;
}

.product-link:hover .product-tooltip,
.product-link:focus-visible .product-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}

.site-footer {
  position: fixed;
  z-index: 2;
  left: clamp(22px, 5vw, 72px);
  right: clamp(22px, 5vw, 72px);
  bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .12em;
}

.legal-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  letter-spacing: .04em;
}

.legal-nav a {
  position: relative;
  padding: 5px 0;
  transition: color .2s ease;
}

.legal-nav a:hover { color: var(--ink); }

.info-dialog {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(480px, calc(100% - 32px));
  max-width: none;
  height: 100svh;
  max-height: none;
  margin: 0 0 0 auto;
  padding: 0;
  border: 0;
  border-left: 1px solid rgba(24, 33, 50, .08);
  border-radius: 32px 0 0 32px;
  color: var(--ink);
  background: rgba(253, 253, 254, .94);
  box-shadow: -28px 0 80px rgba(24, 31, 45, .13);
  opacity: 0;
  overflow: hidden;
  transform: translateX(34px);
  transition: opacity .22s ease, transform .38s var(--ease), overlay .38s allow-discrete, display .38s allow-discrete;
  backdrop-filter: blur(28px) saturate(1.15);
  -webkit-backdrop-filter: blur(28px) saturate(1.15);
}

.info-dialog[open] { opacity: 1; transform: translateX(0); }
.info-dialog.is-closing { opacity: 0; transform: translateX(34px); }
.info-dialog.is-closing::backdrop { opacity: 0; }
@starting-style { .info-dialog[open] { opacity: 0; transform: translateX(34px); } }

.info-dialog::backdrop {
  background: rgba(238, 241, 247, .22);
  opacity: 0;
  transition: opacity .28s ease, overlay .38s allow-discrete, display .38s allow-discrete;
}

.info-dialog[open]::backdrop { opacity: 1; }
@starting-style { .info-dialog[open]::backdrop { opacity: 0; } }

.dialog-scroll {
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(31, 39, 55, .2) transparent;
}

.dialog-topbar {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 0 34px;
  border-bottom: 1px solid rgba(24, 33, 50, .07);
  background: rgba(253, 253, 254, .84);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.dialog-content { padding: 50px 42px 64px; }

.dialog-close {
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(24, 33, 50, .07);
  border-radius: 50%;
  background: rgba(241, 243, 247, .8);
  cursor: pointer;
  transition: transform .25s var(--ease), background .2s ease;
}

.dialog-close:hover { transform: rotate(5deg); background: #eaedf2; }

.dialog-close span::before,
.dialog-close span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--ink);
}

.dialog-close span::before { transform: translate(-50%, -50%) rotate(45deg); }
.dialog-close span::after { transform: translate(-50%, -50%) rotate(-45deg); }

.panel-mark {
  display: block;
  width: 58px;
  height: 58px;
  margin-bottom: 34px;
  object-fit: contain;
}

.dialog-label {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.info-dialog h2 {
  margin: 0 0 24px;
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: -.05em;
}

.dialog-lead {
  margin: 0;
  color: #505762;
  font-size: 15px;
  line-height: 2;
}

.panel-section {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(24, 33, 50, .09);
}

.panel-section h3 {
  margin: 0 0 13px;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.panel-section > p {
  margin: 0;
  color: #626874;
  font-size: 13px;
  line-height: 1.9;
}

.value-grid {
  display: grid;
  gap: 9px;
  margin-top: 32px;
}

.value-grid > div {
  display: grid;
  grid-template-columns: 34px 78px 1fr;
  align-items: center;
  gap: 10px;
  padding: 16px 17px;
  border: 1px solid rgba(24, 33, 50, .07);
  border-radius: 17px;
  background: rgba(246, 247, 250, .74);
}

.value-grid span { color: #2e7df6; font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.value-grid strong { font-size: 12px; letter-spacing: .04em; }
.value-grid p { margin: 0; color: #777d87; font-size: 11px; }

.profile-list {
  margin: 42px 0 0;
  border-top: 1px solid rgba(24, 33, 50, .09);
}

.profile-list > div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  padding: 19px 0;
  border-bottom: 1px solid rgba(24, 33, 50, .09);
}

.profile-list dt { color: #858b95; font-size: 11px; }
.profile-list dd { margin: 0; font-size: 12px; line-height: 1.75; }

.panel-products { display: grid; gap: 10px; }

.panel-products a {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid rgba(24, 33, 50, .07);
  border-radius: 18px;
  background: rgba(247, 248, 250, .74);
  transition: transform .25s var(--ease), background .2s ease, border-color .2s ease;
}

.panel-products a:hover { transform: translateX(3px); border-color: rgba(46, 125, 246, .22); background: #fff; }
.panel-products img { border-radius: 14px; }
.panel-products span { display: grid; gap: 3px; }
.panel-products strong { font-size: 12px; }
.panel-products small { color: #858b95; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.panel-products b { padding-right: 4px; color: #858b95; font-size: 12px; font-weight: 500; }

.contact-card {
  position: relative;
  display: grid;
  gap: 7px;
  margin-top: 38px;
  padding: 25px 52px 25px 24px;
  border: 1px solid rgba(46, 125, 246, .18);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(241, 247, 255, .94), rgba(255, 255, 255, .94));
  box-shadow: 0 16px 38px rgba(35, 80, 146, .07);
  transition: transform .3s var(--ease), box-shadow .3s ease;
}

.contact-card:hover { transform: translateY(-3px); box-shadow: 0 22px 46px rgba(35, 80, 146, .11); }
.contact-card span { color: #727a86; font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.contact-card strong { font-size: 18px; letter-spacing: -.02em; }
.contact-card b { position: absolute; top: 50%; right: 22px; color: #2e7df6; font-size: 16px; font-weight: 500; transform: translateY(-50%); }

.panel-note {
  margin-top: 34px;
  padding: 22px 23px;
  border-radius: 18px;
  background: rgba(242, 244, 247, .78);
}

.panel-note strong { font-size: 11px; }
.panel-note ul { margin: 15px 0 0; padding-left: 1.2em; color: #676e79; font-size: 11px; line-height: 1.9; }
.privacy-note { margin: 28px 0 0; color: #858b95; font-size: 10px; line-height: 1.8; }
.privacy-note a { color: #47505e; text-decoration: underline; text-underline-offset: 3px; }

.product-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 90px 24px;
  background: linear-gradient(145deg, #fcfcfd, #f1f3f7);
}

.product-page--shizoka { background: radial-gradient(circle at 50% 20%, rgba(106, 189, 242, .25), transparent 36%), #f6f8fa; }
.product-page--namakemono { background: radial-gradient(circle at 50% 20%, rgba(119, 190, 159, .22), transparent 36%), #f8f6f3; }

.back-link {
  position: fixed;
  top: 30px;
  left: clamp(22px, 5vw, 72px);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #535861;
  font-size: 13px;
}

.product-language {
  position: fixed;
  top: 24px;
  right: clamp(22px, 5vw, 72px);
}

.product-placeholder { text-align: center; }
.product-page-icon { width: clamp(120px, 18vw, 180px); border-radius: 24%; filter: drop-shadow(0 22px 30px rgba(27, 36, 51, .16)); }
.product-placeholder h1 { margin: 24px 0 0; font-size: clamp(42px, 10vw, 94px); letter-spacing: -.06em; }
.product-placeholder p { margin: 14px 0 0; color: var(--muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }

.product-page-footer {
  position: fixed;
  left: clamp(22px, 5vw, 72px);
  right: clamp(22px, 5vw, 72px);
  bottom: 22px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .08em;
}

.product-page-footer nav { display: flex; gap: 20px; }
.product-page-footer a:hover { color: var(--ink); }

@media (max-width: 560px) {
  .site-header { height: 72px; }
  .header-brand { width: 38px; height: 38px; }
  .hero-logo { width: min(78vw, 420px); margin-bottom: 46px; }
  .product-list { gap: 24px; }
  .product-icon { width: min(37vw, 150px); }
  .site-footer { bottom: 17px; }
  .info-dialog { width: 100%; border-radius: 0; }
  .dialog-content { padding: 42px 26px 58px; }
  .dialog-topbar { padding: 0 24px; }
  .site-footer { align-items: flex-start; }
  .legal-nav { gap: 12px; }
}

@media (max-height: 670px) and (min-width: 561px) {
  .hero-logo { width: min(430px, 54vw); margin-bottom: 34px; }
  .product-icon { width: min(145px, 18vh); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
