:root {
  --bg: #ffffff;
  --fg: #0f172a;
  --muted: #475569;
  --border: rgba(15, 23, 42, 0.12);
  --soft: rgba(15, 23, 42, 0.06);
  --shadow: 0 8px 30px rgba(2, 6, 23, 0.12);
  --accent: #ef4444;
  --accent2: #7c3aed;
  --ok: #16a34a;
  --warn: #f59e0b;
  --radius: 14px;
  --font: Inter, "Noto Sans JP", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
    "Apple Color Emoji", "Segoe UI Emoji";
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--fg);
  background: var(--bg);
  font-family: var(--font);
  line-height: 1.5;
}

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

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  background: var(--fg);
  color: white;
  padding: 10px 12px;
  border-radius: 10px;
  z-index: 50;
}

.skip-link:focus {
  left: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.portfolioSection {
  padding: 8px 0 28px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.9), #ffffff);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.portfolioSection__header {
  max-width: 52rem;
  margin-bottom: 22px;
}

.portfolioSection__kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.55);
}

.portfolioSection__title {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.portfolioSection__titleBr {
  display: none;
}

@media (min-width: 640px) {
  .portfolioSection__titleBr {
    display: inline;
  }
}

.portfolioSection__lead {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
}

/* Image + text（Fire / COB）— ヒーロー直下 */
.imageTextSection.section--padding {
  padding: clamp(28px, 5vw, 56px) 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.imageTextSection__inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

@media (min-width: 1024px) {
  .imageTextSection__inner {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }
}

.imageTextSection__media {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  justify-content: center;
}

@media (min-width: 1024px) {
  .imageTextSection__media {
    justify-content: flex-start;
    max-width: min(480px, 46%);
  }
}

.imageTextSection__mediaStack {
  position: relative;
  width: min(100%, 420px);
  margin: 0 auto;
}

.imageTextSection__picture {
  display: block;
  margin: 0;
}

.imageTextSection__picture img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.imageTextSection__picture--main img {
  box-shadow: var(--shadow);
}

.imageTextSection__float {
  position: absolute;
  z-index: 2;
  top: -6%;
  left: -8%;
  width: min(46%, 200px);
  max-width: 200px;
  filter: drop-shadow(0 12px 24px rgba(15, 23, 42, 0.18));
}

@media (min-width: 640px) {
  .imageTextSection__float {
    width: 42%;
    left: -6%;
  }
}

.imageTextSection__copy {
  flex: 1 1 0;
  min-width: 0;
  align-self: center;
  text-align: left;
}

.imageTextSection__title {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.imageTextSection__em {
  display: inline;
  font-style: italic;
  font-weight: 700;
  color: var(--accent);
}

.imageTextSection__strong {
  font-weight: 700;
}

.imageTextSection__rte {
  margin-bottom: 1.25rem;
}

.imageTextSection__rte p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.imageTextSection__ctaWrap {
  margin: 0;
}

.imageTextSection__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  text-decoration: none;
}

.imageTextSection__btn .btn-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.imageTextSection__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ホーム UV プロモ（Shopify バナー準拠） */
.uvPromo {
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.1), rgba(59, 130, 246, 0.07));
  border-block: 1px solid var(--border);
  padding-inline: clamp(20px, 5vw, 56px);
}

.uvPromo__inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 28px);
  align-items: flex-start;
  text-align: left;
}

.uvPromo__kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: none;
  color: var(--muted);
  line-height: 1.2;
}

.uvPromo__title {
  margin: 0;
  font-size: clamp(22px, 4.2vw, 34px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fg);
}

.uvPromo__highlight {
  display: inline;
  font-style: normal;
  font-weight: 800;
  background: linear-gradient(90deg, #d97706, #2563eb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.uvPromo__rte {
  font-size: 15px;
  line-height: 1.65;
  max-width: 640px;
}

.uvPromo__rte p {
  margin: 0;
}

.uvPromo__cta {
  margin: 0;
}

.uvPromo__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.uvPromo__btn .btn-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.uvPromo__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .uvPromo__inner {
    align-items: center;
    text-align: center;
  }

  .uvPromo__rte {
    margin-inline: auto;
  }
}

/* コレクション一覧（赤・近赤外） */
.collectionPage.section--padding {
  padding: clamp(20px, 4vw, 40px) 0 48px;
  background: #ffffff;
}

.collectionToolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.collectionToolbar__count {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
}

.collectionToolbar__sort {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.collectionToolbar__sortLabel {
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}

.collectionToolbar__selectWrap {
  min-width: min(280px, 100%);
}

.collectionToolbar__select {
  min-width: 180px;
}

.collectionGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 1024px) {
  .collectionGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .collectionGrid {
    grid-template-columns: 1fr;
  }
}

.collectionCard {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.collectionCard__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(180deg, #0b1220, #111827);
  overflow: hidden;
}

.collectionCard__mediaLink {
  display: block;
  width: 100%;
  height: 100%;
}

.collectionCard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.collectionCard:hover .collectionCard__media img {
  transform: scale(1.03);
}

.collectionCard__rating {
  position: absolute;
  left: 10px;
  top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.92);
  color: var(--fg);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.12);
}

.collectionCard__star {
  color: rgba(245, 158, 11, 0.95);
  font-size: 13px;
  line-height: 1;
}

.collectionCard__badge {
  position: absolute;
  right: 10px;
  top: 10px;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.22);
  max-width: calc(100% - 24px);
  text-align: right;
}

.collectionCard__body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  text-align: center;
}

.collectionCard__kicker {
  margin: 0;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.55);
}

.collectionCard__title {
  margin: 0;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.35;
  overflow-wrap: break-word;
  word-break: break-word;
}

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

.collectionCard__title a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.collectionCard__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.collectionCard__tag {
  font-size: 12px;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: var(--muted);
}

.collectionCard__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
}

.collectionCard__price .price__now {
  font-weight: 800;
  font-size: 1.05rem;
}

.collectionCard__price .price__was {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 13px;
}

.collectionCard__price--single .price__now {
  font-size: 1.1rem;
}

/* ブログ一覧 */
.blogSection.section--padding {
  padding: clamp(20px, 4vw, 48px) 0 56px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.85), #ffffff);
  border-top: 1px solid var(--border);
}

.blogGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 28px);
}

@media (max-width: 900px) {
  .blogGrid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
}

.blogCard {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-shadow: 0 2px 16px rgba(15, 23, 42, 0.06);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.blogCard:hover {
  box-shadow: var(--shadow);
}

.blogCard__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0f172a;
}

.blogCard__mediaLink {
  display: block;
  width: 100%;
  height: 100%;
}

.blogCard__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.blogCard:hover .blogCard__image {
  transform: scale(1.04);
}

.blogCard__content {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.blogCard__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.blogCard__cal {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  stroke-width: 1.1px;
}

.blogCard__time {
  font-variant-numeric: tabular-nums;
}

.blogCard__title {
  margin: 0;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

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

.blogCard__title a:hover {
  color: var(--accent2);
}

.blogCard__excerpt {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  flex: 1;
}

.blogCard__more {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.portfolioGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.profileCard {
  position: relative;
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0b1220;
  min-height: 280px;
  box-shadow: 0 14px 32px rgba(2, 6, 23, 0.1);
}

.profileCard--selected {
  outline: 2px solid rgba(239, 68, 68, 0.55);
  outline-offset: 2px;
}

.profileCard__media {
  position: absolute;
  inset: 0;
}

.profileCard__media img,
.profileCard__media picture,
.profileCard__media picture img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.profileCard__footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px 12px;
  background: linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.82));
}

.profileCard__heading {
  margin: 0;
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.profileCard__open {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, transform 0.15s ease;
}

.profileCard__open:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.04);
}

.profileCard__open:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.profileDialog {
  padding: 0;
  border: none;
  max-width: min(520px, 100vw - 24px);
  width: 100%;
  border-radius: var(--radius);
  background: transparent;
  box-shadow: none;
}

.profileDialog::backdrop {
  background: rgba(2, 6, 23, 0.45);
}

.profileDialog__panel {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  max-height: min(85vh, 640px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.profileDialog__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 12px;
  border-bottom: 1px solid var(--border);
}

.profileDialog__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  padding-right: 8px;
}

.profileDialog__body {
  padding: 16px;
  overflow: auto;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(15, 23, 42, 0.88);
}

.profileDialog__body p {
  margin: 0 0 14px;
}

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

@media (max-width: 900px) {
  .portfolioGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profileCard {
    min-height: 240px;
  }
}

@media (max-width: 560px) {
  .portfolioGrid {
    grid-template-columns: 1fr;
  }

  .profileCard {
    min-height: 300px;
  }
}

.reviewsSection {
  padding: 32px 0 8px;
  position: relative;
  z-index: 1;
}

.reviewsSection__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

@media (min-width: 768px) {
  .reviewsSection__inner {
    gap: 28px;
  }
}

.reviewsSection__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 40rem;
}

.reviewsSection__kicker {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--muted);
}

.reviewsSection__title {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.reviewsSection__titleWord {
  display: inline-block;
  margin-right: 0.35em;
}

.reviewsSection__titleWord:last-child {
  margin-right: 0;
}

.reviewsSection__cta {
  margin: 0;
}

.reviewsSection__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.reviewsSection__linkIcon {
  flex-shrink: 0;
}

.testimonialsNarrow {
  margin-top: 8px;
  padding-bottom: 8px;
}

.testimonials {
  position: relative;
}

.testimonials__nav {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 12px;
}

.testimonials__btn {
  width: 42px;
  height: 42px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 1;
}

.testimonials__scroller {
  display: flex;
  flex-flow: row nowrap;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fafafa;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

@media (prefers-reduced-motion: reduce) {
  .testimonials__scroller {
    scroll-behavior: auto;
  }
}

.testimonials__scroller::-webkit-scrollbar {
  height: 8px;
}

.testimonial {
  flex: 0 0 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  padding: 20px 18px 24px;
  box-sizing: border-box;
}

.testimonial__quote {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  text-align: center;
}

.testimonial__stars {
  margin-bottom: 0;
}

.testimonial__quote p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 42rem;
}

.testimonial__figure {
  margin: 0;
  max-width: 220px;
  border-radius: 12px;
  overflow: hidden;
}

.testimonial__figure img {
  display: block;
  width: 100%;
  height: auto;
}

.testimonial__cite {
  font-style: normal;
  font-weight: 600;
  color: var(--muted);
  font-size: 0.95rem;
}

.testimonials__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.testimonials__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: var(--soft);
  cursor: pointer;
}

.testimonials__dot.is-selected {
  background: var(--fg);
}

.testimonials__dot:focus-visible {
  outline: 2px solid var(--accent2);
  outline-offset: 2px;
}

/* Two-column banner (Shopify section parity) — scoped to avoid clashing with .main .content */
#shopify-section-template--20158406459531__two_column_banner_9UrPJW {
  --page-padding: clamp(18px, 4vw, 40px);
}

#shopify-section-template--20158406459531__two_column_banner_9UrPJW .two-column-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: minmax(500px, auto);
  align-items: stretch;
  width: 100%;
  min-height: 500px;
  gap: 0;
  margin-bottom: 30px;
  background: var(--bg);
}

#shopify-section-template--20158406459531__two_column_banner_9UrPJW .two-column-section.page-width {
  padding-inline: var(--page-padding);
}

#shopify-section-template--20158406459531__two_column_banner_9UrPJW .column {
  min-width: 0;
  min-height: 280px;
  background-color: #1e293b;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  text-align: left;
  padding: 30px;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  box-sizing: border-box;
  border: 1px solid rgba(15, 23, 42, 0.28);
  isolation: isolate;
}

#shopify-section-template--20158406459531__two_column_banner_9UrPJW .column.left {
  border-right: none;
}

#shopify-section-template--20158406459531__two_column_banner_9UrPJW .column.right {
  border-left: 1px solid rgba(15, 23, 42, 0.28);
}

#shopify-section-template--20158406459531__two_column_banner_9UrPJW .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

#shopify-section-template--20158406459531__two_column_banner_9UrPJW .content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
  min-width: 0;
  align-self: flex-start;
}

#shopify-section-template--20158406459531__two_column_banner_9UrPJW .content.bottom-left {
  width: 100%;
}

#shopify-section-template--20158406459531__two_column_banner_9UrPJW h2 {
  margin-bottom: 10px;
  font-weight: 800;
}

#shopify-section-template--20158406459531__two_column_banner_9UrPJW h2.title-sm {
  font-size: 1.5rem;
}

#shopify-section-template--20158406459531__two_column_banner_9UrPJW h2.title-md {
  font-size: 2rem;
}

#shopify-section-template--20158406459531__two_column_banner_9UrPJW h2.title-lg {
  font-size: 2.5rem;
  line-height: 1.15;
}

#shopify-section-template--20158406459531__two_column_banner_9UrPJW h2.title-xl {
  font-size: 3rem;
}

#shopify-section-template--20158406459531__two_column_banner_9UrPJW p {
  font-size: 1rem;
  margin-bottom: 20px;
}

#shopify-section-template--20158406459531__two_column_banner_9UrPJW p:last-child {
  margin-bottom: 0;
}

#shopify-section-template--20158406459531__two_column_banner_9UrPJW .button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0;
  min-height: 44px;
  padding-inline: 18px;
  border-radius: 12px;
  font-weight: 650;
  text-decoration: none;
  border: 1px solid transparent;
  overflow: hidden;
  vertical-align: middle;
}

#shopify-section-template--20158406459531__two_column_banner_9UrPJW .button--primary {
  background: #ffffff;
  color: var(--fg);
}

#shopify-section-template--20158406459531__two_column_banner_9UrPJW .btn-fill {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--fg);
  --motion-translateY: 100%;
  transform: translateY(var(--motion-translateY));
  transition: transform 0.35s cubic-bezier(0.33, 1, 0.68, 1);
  pointer-events: none;
}

/* Shopify 参照: 右カラムのボタンは初期位置を -76% に */
#shopify-section-template--20158406459531__two_column_banner_9UrPJW .column.right .btn-fill {
  --motion-translateY: -76%;
}

#shopify-section-template--20158406459531__two_column_banner_9UrPJW .button:hover .btn-fill,
#shopify-section-template--20158406459531__two_column_banner_9UrPJW .button:focus-visible .btn-fill {
  --motion-translateY: 0%;
  transform: translateY(var(--motion-translateY));
}

#shopify-section-template--20158406459531__two_column_banner_9UrPJW .button:hover,
#shopify-section-template--20158406459531__two_column_banner_9UrPJW .button:focus-visible {
  filter: none;
}

#shopify-section-template--20158406459531__two_column_banner_9UrPJW .button:focus-visible {
  outline: 2px solid var(--accent2);
  outline-offset: 3px;
}

#shopify-section-template--20158406459531__two_column_banner_9UrPJW .btn-text {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.25s ease;
}

#shopify-section-template--20158406459531__two_column_banner_9UrPJW .button:hover .btn-text,
#shopify-section-template--20158406459531__two_column_banner_9UrPJW .button:focus-visible .btn-text {
  color: #ffffff;
}

#shopify-section-template--20158406459531__two_column_banner_9UrPJW .button:hover .btn-text .icon,
#shopify-section-template--20158406459531__two_column_banner_9UrPJW .button:focus-visible .btn-text .icon {
  stroke: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
  #shopify-section-template--20158406459531__two_column_banner_9UrPJW .btn-fill {
    transition: none;
  }
}

#shopify-section-template--20158406459531__two_column_banner_9UrPJW .icon-sm {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  #shopify-section-template--20158406459531__two_column_banner_9UrPJW .two-column-section {
    min-height: 380px;
    grid-template-rows: minmax(380px, auto);
    gap: 10px;
  }

  #shopify-section-template--20158406459531__two_column_banner_9UrPJW .column {
    padding: 16px 12px;
    min-height: 0;
  }

  #shopify-section-template--20158406459531__two_column_banner_9UrPJW h2.title-lg {
    font-size: clamp(1.1rem, 3.5vw, 1.75rem);
  }

  #shopify-section-template--20158406459531__two_column_banner_9UrPJW p {
    font-size: 0.875rem;
    margin-bottom: 12px;
  }

  #shopify-section-template--20158406459531__two_column_banner_9UrPJW .button {
    padding: 9px 12px;
    font-size: 0.875rem;
  }
}

.siteNotify {
  background: linear-gradient(90deg, #9a3412 0%, #ea580c 48%, #c2410c 100%);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.siteNotify__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  text-align: center;
}

.siteNotify__text {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.45;
}

.siteNotify--minimal {
  padding: 10px 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.siteNotify--minimal .siteNotify__text {
  margin: 0;
}

.siteAnnounce + .topbar,
.siteNotify + .topbar {
  border-top: none;
}

.siteAnnounce {
  background: linear-gradient(90deg, #7f1d1d 0%, #b91c1c 42%, #991b1b 100%);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.siteAnnounce__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 0;
  text-align: center;
}

.siteAnnounce__text {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.45;
}

.siteAnnounce__text::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: #fde68a;
  box-shadow: 0 0 0 3px rgba(253, 230, 138, 0.28);
  vertical-align: 0.05em;
}

.page-home .siteAnnounce + .topbar {
  border-top: none;
}

.homeNotify {
  background: linear-gradient(180deg, #fffbeb 0%, #fff7ed 55%, #ffedd5 100%);
  border-bottom: 1px solid rgba(234, 88, 12, 0.2);
}

.homeNotify__inner {
  padding: 14px 0 16px;
  text-align: center;
}

.homeNotify__status {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #9a3412;
}

.homeNotify__lead,
.homeNotify__contact {
  margin: 0;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(15, 23, 42, 0.9);
}

.homeNotify__lead {
  margin-top: 0;
}

.homeNotify__contact {
  margin-top: 8px;
}

.homeNotify__email {
  font-weight: 600;
  color: #c2410c;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.homeNotify__email:hover {
  color: #9a3412;
}

.page-home .hero {
  border-top: none;
}

.topbar {
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #ffffff, #fbfbfd);
}

.topbar__inner {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  color: var(--muted);
  font-size: 13px;
}

.topbar__left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
  font-weight: 600;
}

.dot {
  opacity: 0.5;
}

.pill {
  border: 1px solid var(--border);
  background: white;
  color: var(--muted);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.dropdown {
  position: relative;
}

.dropdown__summary {
  list-style: none;
  user-select: none;
  font-weight: 700;
}

.dropdown__summary::-webkit-details-marker {
  display: none;
}

.dropdown__count {
  margin-left: 2px;
  font-weight: 700;
}

.dropdown[open] .dropdown__panel {
  display: block;
}

.dropdown__panel {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(420px, calc(100vw - 40px));
  border: 1px solid var(--border);
  border-radius: 16px;
  background: white;
  box-shadow: var(--shadow);
  padding: 12px;
  z-index: 50;
}

.dropdown__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--soft);
  margin-bottom: 10px;
}

.dropdown__search {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 10px;
  font: inherit;
}

.dropdown__sectionTitle {
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(15, 23, 42, 0.65);
  margin: 12px 0 8px;
}

.dropdown__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.dropdown__item {
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.02);
  border-radius: 12px;
  padding: 10px 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}

.dropdown__item:hover {
  background: rgba(15, 23, 42, 0.04);
}

.dropdown__item.is-active {
  border-color: rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.08);
  color: #b91c1c;
}

.dropdown__footer {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--soft);
  display: flex;
  justify-content: flex-end;
}

.chev {
  opacity: 0.7;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  padding: 14px 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
}

.brand__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand__name {
  font-weight: 700;
  letter-spacing: 0.06em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
}

.nav__link {
  font-weight: 600;
  font-size: 14px;
  color: rgba(15, 23, 42, 0.8);
  padding: 10px 10px;
  border-radius: 999px;
}

.nav__link:hover {
  background: var(--soft);
}

.nav__link--active {
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
}

.header__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.navDropdown {
  display: none;
}

.navDropdown > summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 14px;
  background: #fff;
  font-weight: 650;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: rgba(15, 23, 42, 0.88);
}

.navDropdown > summary::-webkit-details-marker {
  display: none;
}

.navDropdown__caret {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid rgba(15, 23, 42, 0.72);
  transform: translateY(1px);
}

.navDropdown__panel {
  margin-top: 10px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

.navDropdown__panel .nav__link {
  display: block;
  border-radius: 0;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.navDropdown__panel .nav__link:last-child {
  border-bottom: 0;
}

.icon-btn {
  position: relative;
  border: 1px solid var(--border);
  background: white;
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
}

.icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  fill: currentColor;
  color: rgba(15, 23, 42, 0.86);
  vertical-align: -2px;
}

.cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--fg);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  padding: 0 6px;
}

.main {
  padding-bottom: 48px;
}

/* メインページ（index）: #main 直下の各セクションに上下余白 */
.page-home #main > section {
  padding-block: clamp(40px, 6vw, 88px);
}

.page-home #main > section.track {
  margin-top: 0;
}

/* 科学を学ぶページ: #main 直下の各セクションの上下余白 */
.page-science #main > section {
  padding-block: clamp(40px, 6vw, 88px);
}

.page-science #main > section.hero .hero__inner {
  padding-block: clamp(20px, 3.5vw, 36px);
}

.page-science .scienceHero__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 3vw, 1.5rem);
}

@media (min-width: 768px) {
  .page-science .scienceHero__inner {
    min-height: min(48vh, 400px);
  }

  .page-science .scienceHero__grow {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 8rem;
  }
}

.page-science .scienceHero__banner {
  width: 100%;
  max-width: 100%;
  text-align: left;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
}

.page-science .scienceHero__kicker {
  margin: 0 0 0.65rem;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--muted);
  line-height: 1.3;
}

.page-science .scienceHero__title {
  margin: 0;
  white-space: nowrap;
  font-size: clamp(12px, 3.5vw + 0.2rem, 46px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--fg);
  width: max-content;
  max-width: none;
}

.page-science .scienceHero__lead {
  margin: 0.9rem 0 0;
  line-height: 1.65;
  max-width: 36rem;
}

.page-science #main > section .panel {
  padding-block: clamp(28px, 4.5vw, 48px);
  padding-inline: clamp(18px, 3vw, 28px);
}

.anchor {
  display: block;
  position: relative;
  top: -92px;
}

.hero {
  padding: 28px 0 10px;
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.06), rgba(124, 58, 237, 0.04), transparent);
}

.breadcrumbs {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs__sep {
  opacity: 0.6;
}

.h1 {
  font-size: clamp(28px, 4vw, 38px);
  margin: 10px 0 6px;
  letter-spacing: -0.02em;
}

.h2 {
  font-size: clamp(22px, 3vw, 28px);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.h3 {
  font-size: 18px;
  margin: 0;
}

.subtle {
  color: var(--muted);
}

.micro {
  font-size: 13px;
}

.kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.kpi {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(10px);
  padding: 12px;
}

.kpi__label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.kpi__value {
  font-weight: 900;
  margin-top: 6px;
  letter-spacing: -0.01em;
}

.hero__titleRow {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 8px 0 10px;
}

.heroVideo {
  margin-top: 12px;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(15, 23, 42, 0.03);
  box-shadow: 0 18px 36px rgba(2, 6, 23, 0.12);
}

.heroVideo__video {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.favs {
  padding-top: 16px;
}

.favs__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.favs__kicker {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: rgba(15, 23, 42, 0.65);
  text-transform: uppercase;
}

.favs__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.marqueeSection.section.section--padding {
  padding: 24px 0 20px;
}

.marqueeSection__inner {
  position: relative;
  z-index: 1;
}

.marquee {
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  background: white;
  overflow: hidden;
  padding: 12px 0;
  display: flex;
  gap: 26px;
  align-items: center;
  box-shadow: 0 18px 36px rgba(2, 6, 23, 0.08);
  position: relative;
}

.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 72px;
  pointer-events: none;
  z-index: 1;
}

.marquee::before {
  left: 0;
  background: linear-gradient(90deg, white, rgba(255, 255, 255, 0));
}

.marquee::after {
  right: 0;
  background: linear-gradient(270deg, white, rgba(255, 255, 255, 0));
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 26px;
  min-width: 100%;
  padding: 0 26px;
  animation: marquee-scroll var(--marquee-duration, 23s) linear infinite;
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 80px;
}

.marquee__item--sm {
  height: 68px;
}

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

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }
}

.favcard {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: white;
  display: grid;
}

.favcard__link {
  display: grid;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.favcard__link:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.55);
  outline-offset: -2px;
}

.favcard__media {
  aspect-ratio: 16 / 11;
  background: radial-gradient(120% 120% at 20% 20%, rgba(239, 68, 68, 0.3), transparent 55%),
    radial-gradient(140% 140% at 85% 30%, rgba(124, 58, 237, 0.25), transparent 55%),
    linear-gradient(180deg, #0b1220, #111827);
  position: relative;
}

.favcard__media--video {
  background: #0b1220;
}

.favcard__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.favcard__media--mask {
  background: radial-gradient(120% 120% at 20% 20%, rgba(167, 139, 250, 0.42), transparent 55%),
    radial-gradient(140% 140% at 85% 30%, rgba(239, 68, 68, 0.18), transparent 55%),
    linear-gradient(180deg, #0b1220, #111827);
}

.favcard__media--violet {
  background: radial-gradient(120% 120% at 20% 20%, rgba(124, 58, 237, 0.4), transparent 55%),
    radial-gradient(140% 140% at 85% 30%, rgba(239, 68, 68, 0.18), transparent 55%),
    linear-gradient(180deg, #0b1220, #111827);
}

.favcard__body {
  padding: 12px 12px 14px;
  display: grid;
  gap: 10px;
}

.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  font-size: 12px;
  font-weight: 750;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--soft);
  background: rgba(15, 23, 42, 0.02);
  color: rgba(15, 23, 42, 0.78);
}

.hero__cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  border: 1px solid transparent;
  background: var(--fg);
  color: white;
  border-radius: 12px;
  padding: 11px 14px;
  font-weight: 650;
  cursor: pointer;
}

.btn:hover {
  filter: brightness(1.05);
}

.btn--ghost {
  background: white;
  color: var(--fg);
  border-color: var(--border);
}

.btn--sm {
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 13px;
}

.select {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
}

.select__label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

select {
  border: none;
  outline: none;
  font: inherit;
  background: transparent;
  cursor: pointer;
}

.link {
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  color: var(--muted);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.content {
  min-width: 0;
}

.toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 6px 0 12px;
}

.search {
  display: grid;
  gap: 6px;
}

.search__label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.search__input {
  width: min(520px, 72vw);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 12px;
  font: inherit;
}

.shopAll__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 16px;
  margin-bottom: 14px;
}

.shopAll__count {
  margin: 0;
  font-weight: 600;
}

.shopAll__sort {
  display: grid;
  gap: 6px;
  min-width: min(280px, 100%);
}

.shopAll__sortLabel {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.shopFacets {
  margin-bottom: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.65);
}

.shopFacets__summary {
  cursor: pointer;
  padding: 12px 14px;
  font-weight: 700;
  list-style: none;
}

.shopFacets__summary::-webkit-details-marker {
  display: none;
}

.shopFacets__body {
  padding: 0 14px 14px;
  display: grid;
  gap: 16px;
}

.shopFacets__fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.shopFacets__legend {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 8px;
}

.shopFacets__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.shopFacets__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  cursor: pointer;
}

.shopFacets__priceRow {
  display: grid;
  gap: 8px;
}

.shopFacets__priceInputs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.shopFacets__priceInput {
  width: min(140px, 42vw);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
  font: inherit;
}

.shopFacets__priceSep {
  color: var(--muted);
}

.shopFacets__priceActions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (min-width: 960px) {
  .shopFacets__summary {
    display: none;
  }

  .shopFacets {
    border: 0;
    background: transparent;
    margin-bottom: 18px;
  }

  .shopFacets__body {
    padding: 0;
  }
}

.productGrid--uniform {
  margin-top: 4px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.product {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: white;
  display: grid;
}

.product__media {
  aspect-ratio: 16 / 11;
  background: radial-gradient(120% 120% at 20% 20%, rgba(239, 68, 68, 0.3), transparent 55%),
    radial-gradient(140% 140% at 85% 30%, rgba(124, 58, 237, 0.25), transparent 55%),
    linear-gradient(180deg, #0b1220, #111827);
  position: relative;
}

.product__media--video {
  background: #0b1220;
  padding: 0;
}

.product__media--video::after {
  display: none;
}

.product__mediaVideo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product__media::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: calc(var(--radius) - 4px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.pilltag {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

.product__body {
  padding: 12px 12px 14px;
  display: grid;
  gap: 10px;
}

.product__collection {
  margin: 0;
}

.product__collectionLink {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
}

.product__collectionLink:hover {
  text-decoration: underline;
}

.product__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.product__tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 650;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: rgba(15, 23, 42, 0.78);
}

.price--sale {
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 10px;
}

/* 全商品・ホーム商品一覧：同一行内でサムネ高さ・ボタン高さを揃える */
.productGrid--uniform .product {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.productGrid--uniform .product__media {
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 16 / 11;
}

.productGrid--uniform .product__body {
  text-align: center;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
}

.productGrid--uniform .product__tags {
  justify-content: center;
}

.productGrid--uniform .price {
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.productGrid--uniform .price__was {
  font-size: 14px;
}

.productGrid--uniform .save {
  margin-top: 2px;
}

.productGrid--uniform .product__actions {
  margin-top: auto;
  width: 100%;
  justify-content: stretch;
  gap: 0;
}

.productGrid--uniform .product__actions .btn {
  flex: 1 1 auto;
  width: 100%;
  min-height: 46px;
  padding: 12px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.stars {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: rgba(15, 23, 42, 0.72);
  font-size: 13px;
}

.stars__dots {
  letter-spacing: 1px;
  color: rgba(245, 158, 11, 0.95);
}

.product__title {
  margin: 0;
  font-size: 15px;
  line-height: 1.3;
}

.product__titleLink {
  color: inherit;
  text-decoration: none;
}

.product__titleLink:hover {
  text-decoration: underline;
}

/* 全商品一覧：カード枠全体を公式ストアへ（コレクション行・カートのみ別操作） */
.product--shopCardHit {
  position: relative;
}

.product__cardHit {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  text-decoration: none;
}

.product__cardHit:focus-visible {
  outline: 2px solid rgba(59, 130, 246, 0.95);
  outline-offset: 2px;
}

.product--shopCardHit .product__media,
.product--shopCardHit .product__body {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.product--shopCardHit .product__collection,
.product--shopCardHit .product__collection a {
  pointer-events: auto;
}

.product--shopCardHit .product__actions {
  pointer-events: auto;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.price__now {
  font-weight: 800;
}

.price__was {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 13px;
}

.save {
  font-size: 12px;
  color: #b45309;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.22);
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 700;
}

.product__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.product__actions .btn {
  flex: 1;
}

.product__actions .btn--ghost {
  flex: 0 0 auto;
}

.cards {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.cardlink {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: white;
  display: grid;
  grid-template-columns: 120px 1fr;
  min-height: 92px;
}

.cardlink:hover {
  box-shadow: var(--shadow);
}

.cardlink__media {
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.35), rgba(124, 58, 237, 0.25)),
    radial-gradient(120% 120% at 30% 30%, rgba(15, 23, 42, 0.4), transparent 60%);
}

.cardlink__media--red {
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.38), rgba(15, 23, 42, 0.2));
}
.cardlink__media--uv {
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.38), rgba(15, 23, 42, 0.2));
}
.cardlink__media--mask {
  background: linear-gradient(180deg, rgba(167, 139, 250, 0.45), rgba(15, 23, 42, 0.2));
}
.cardlink__media--glasses {
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.35), rgba(15, 23, 42, 0.2));
}
.cardlink__media--indoor {
  background: linear-gradient(180deg, rgba(250, 204, 21, 0.35), rgba(15, 23, 42, 0.2));
}
.cardlink__media--emf {
  background: linear-gradient(180deg, rgba(52, 211, 153, 0.32), rgba(15, 23, 42, 0.22));
}

.cardlink__body {
  padding: 12px 12px;
  display: grid;
  gap: 6px;
}

.cardlink__title {
  font-weight: 800;
}

.cardlink__desc {
  color: var(--muted);
  font-size: 13px;
}

.cardlink__kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.collectionAll__below {
  margin-top: 28px;
  padding-top: 8px;
  border-top: 1px solid var(--soft);
}

.collectionAll__subhead {
  margin: 0 0 6px;
}

.collectionAll__sublead {
  margin: 0 0 14px;
  max-width: 62ch;
}

.collectionAll__promos.cards {
  margin-top: 0;
}

@media (min-width: 1100px) {
  .collectionAll__promos.cards {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .collectionAll__promos .cardlink {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .collectionAll__promos .cardlink__media {
    min-height: 88px;
  }
}

.collectionAll__trust {
  margin-top: 22px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.collectionAll__trustGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.collectionAll__trustTitle {
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 4px;
}

.collectionAll__cert {
  margin: 14px 0 0;
  text-align: center;
}

@media (max-width: 900px) {
  .collectionAll__trustGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .collectionAll__trustGrid {
    grid-template-columns: 1fr;
  }
}

.learn {
  margin-top: 26px;
  padding-top: 14px;
  border-top: 1px solid var(--soft);
}

.learn__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.learn__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.post {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  background: white;
}

.post__meta {
  font-size: 12px;
  color: var(--muted);
  font-weight: 650;
}

.post__title {
  margin: 8px 0 6px;
  font-size: 16px;
  line-height: 1.25;
}

.post__desc {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
}

.post__link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.benefitsSection {
  padding: 28px 0;
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.04), transparent 48%);
  border-top: 1px solid var(--soft);
  border-bottom: 1px solid var(--soft);
}

.benefitsSection__head {
  margin-bottom: 16px;
  max-width: 720px;
}

.benefitsSection__head .h2 {
  margin: 0 0 8px;
}

.benefitsSection__head .subtle {
  margin: 0;
  line-height: 1.55;
}

.benefitsGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.benefitCard {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 14px 16px;
  background: white;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.benefitCard__title {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--fg);
}

.benefitCard__desc {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.track {
  margin-top: 28px;
}

.panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  background: white;
}

.track__form {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  align-items: end;
}

.field {
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}

.field input {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 12px;
  font: inherit;
  color: var(--fg);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.field select,
.field textarea {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 12px;
  font: inherit;
  color: var(--fg);
  background: white;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.page {
  padding-top: 18px;
}

/* Establish pages: keep ~30px between sections */
.page-establish main > section.page {
  padding-top: 30px;
}

/* Establish pages: keep media responsive by default */
.page-establish img,
.page-establish video {
  max-width: 100%;
  height: auto;
}

.prose p {
  margin: 10px 0 0;
}

/* 商品ページ本文（長文・表）：狭い幅でもはみ出さない */
.productPage .prose {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

.productPage .prose p,
.productPage .prose li {
  line-height: 1.7;
}

.productPage .prose .h3 {
  margin-top: 1.35rem;
  line-height: 1.35;
  font-size: clamp(1rem, 2.8vw, 1.125rem);
}

.productPage .prose > :first-child {
  margin-top: 0;
}

.productPage .prose .list > li + li {
  margin-top: 0.35rem;
}

.page-science .panel.prose > p {
  margin: 0 0 1.4em;
  line-height: 1.75;
}

.page-science .panel.prose > p:last-child {
  margin-bottom: 0;
}

.page-science .panel.prose > h2:not(:first-child) {
  margin-top: 2.25rem;
}

.page-science .panel.prose > h2 {
  margin-bottom: 0.9rem;
}

.page-science .panel.prose > .callout {
  margin: 1.75rem 0;
}

.callout {
  border: 1px solid rgba(239, 68, 68, 0.22);
  background: rgba(239, 68, 68, 0.06);
  border-radius: var(--radius);
  padding: 12px;
  margin-top: 12px;
}

.callout__title {
  font-weight: 900;
  color: #b91c1c;
}

.callout__body {
  margin-top: 6px;
  color: rgba(15, 23, 42, 0.85);
}

.sectionHead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.split__item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  background: white;
}

.split__media {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(15, 23, 42, 0.03);
}

.split__media img {
  width: 100%;
  height: auto;
  display: block;
}

.media-placeholder {
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  background: radial-gradient(120% 120% at 20% 20%, rgba(239, 68, 68, 0.32), transparent 55%),
    radial-gradient(140% 140% at 85% 30%, rgba(124, 58, 237, 0.24), transparent 55%),
    linear-gradient(180deg, #0b1220, #111827);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.media-placeholder--cool {
  background: radial-gradient(120% 120% at 20% 20%, rgba(56, 189, 248, 0.34), transparent 55%),
    radial-gradient(140% 140% at 85% 30%, rgba(34, 211, 238, 0.2), transparent 55%),
    linear-gradient(180deg, #0b1220, #111827);
}

.media-placeholder--violet {
  background: radial-gradient(120% 120% at 20% 20%, rgba(167, 139, 250, 0.42), transparent 55%),
    radial-gradient(140% 140% at 85% 30%, rgba(124, 58, 237, 0.22), transparent 55%),
    linear-gradient(180deg, #0b1220, #111827);
}

.media-placeholder--amber {
  background: radial-gradient(120% 120% at 20% 20%, rgba(250, 204, 21, 0.35), transparent 55%),
    radial-gradient(140% 140% at 85% 30%, rgba(245, 158, 11, 0.22), transparent 55%),
    linear-gradient(180deg, #0b1220, #111827);
}

.list {
  margin: 10px 0 0;
  padding-left: 18px;
  color: rgba(15, 23, 42, 0.82);
}

.list li {
  margin-top: 8px;
}

.sectionCta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 14px;
}

.productPage {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 16px;
  align-items: start;
}

.productPage > .productPage__media,
.productPage > .productPage__buy {
  min-width: 0;
}

.productPage__media {
  width: 100%;
}

.productPage__video {
  width: 100%;
  display: block;
  border-radius: 14px;
  background: #0b1220;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.mediaMainSlider {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: stretch;
  gap: 10px;
  width: 100%;
}

.mediaMainSlider__stage {
  position: relative;
  min-width: 0;
  width: 100%;
}

.mediaMainSlider__btn {
  align-self: center;
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  border-radius: 999px;
}

.productThumbsCarousel {
  margin-top: 12px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
}

.productThumbsCarousel__nav {
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  border-radius: 999px;
  flex: 0 0 auto;
}

.productThumbsCarousel__nav:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.productThumbs {
  margin-top: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 98px;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  min-width: 0;
}

.productThumbs__thumb {
  position: relative;
  border: 1px solid var(--border);
  background: white;
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  height: 98px;
  scroll-snap-align: start;
}

.productThumbs__thumb[aria-current="true"] {
  border-color: rgba(239, 68, 68, 0.5);
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
}

.productThumbs__thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.productThumbs__play {
  position: absolute;
  inset: auto 8px 8px auto;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 6, 23, 0.65);
  color: white;
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.productThumbs__play svg {
  display: block;
}

.mediaMainSlider__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.productPage__buy {
  display: grid;
  gap: 12px;
}

.price--lg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: end;
}

.price--lg .price__now {
  font-size: clamp(1.2rem, 4.5vw, 1.75rem);
  line-height: 1.15;
}

.price--lg .save {
  grid-column: 1 / -1;
  justify-self: start;
}

.productPage__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.productPage__badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.badgeCard {
  border: 1px solid var(--soft);
  border-radius: 12px;
  padding: 10px;
  background: rgba(15, 23, 42, 0.02);
  font-weight: 850;
  font-size: 13px;
  color: rgba(15, 23, 42, 0.78);
}

.stock {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
}

.stock__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.14);
}

.stock--low {
  border-color: rgba(217, 119, 6, 0.35);
  background: rgba(245, 158, 11, 0.06);
}

.stock__dot--warn {
  background: #d97706;
  box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.2);
}

.productPage__detail {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: white;
  overflow: hidden;
}

.productPage__summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 14px;
  font-weight: 900;
  position: relative;
}

.productPage__summary::-webkit-details-marker {
  display: none;
}

.productPage__summary::after {
  content: "＋";
  position: absolute;
  right: 14px;
  top: 12px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--soft);
  background: rgba(15, 23, 42, 0.02);
  color: rgba(15, 23, 42, 0.85);
}

.productPage__detail[open] .productPage__summary::after {
  content: "－";
}

.productPage__detailBody {
  padding: 0 14px 14px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  align-items: start;
}

.contact__form {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.field--full {
  grid-column: 1 / -1;
}

.check--full {
  grid-column: 1 / -1;
}

/* SQL メモ（sql-editor.html） */
.sqlEditor__textarea {
  width: 100%;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 13px;
  line-height: 1.45;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--soft);
  background: var(--surface, #fafafa);
  color: var(--ink, #111);
  resize: vertical;
  tab-size: 2;
}

.sqlEditor__callout {
  margin: 18px 0 20px;
}

.sqlEditor__runTitle {
  margin: 1.35rem 0 12px;
}

.sqlEditor__split {
  margin-bottom: 4px;
}

.sqlEditor__cardTitle {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.sqlEditor__pre {
  margin: 10px 0 0;
  padding: 10px 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  line-height: 1.45;
  border-radius: 8px;
  border: 1px solid var(--soft);
  background: rgba(15, 23, 42, 0.04);
  overflow-x: auto;
  white-space: pre;
}

.sqlEditor__pre code {
  font: inherit;
}

.sqlEditor__cardActions {
  margin-top: 10px;
}

/* お問い合わせ一覧（運営・contact-inquiries-admin.html） */
.inquiriesAdmin__auth {
  margin-bottom: 6px;
}

.inquiriesAdmin__authActions {
  margin-top: 10px;
}

.inquiriesAdmin__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: flex-end;
  margin: 18px 0 10px;
}

.inquiriesAdmin__filter {
  flex: 1 1 220px;
  margin: 0;
}

.inquiriesAdmin__toolbarBtns {
  margin: 0;
}

.inquiriesAdmin__tableWrap {
  overflow-x: auto;
  border: 1px solid var(--soft);
  border-radius: 10px;
  background: var(--surface, #fafafa);
  margin-top: 8px;
}

.inquiriesAdmin__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.inquiriesAdmin__table th,
.inquiriesAdmin__table td {
  border-bottom: 1px solid var(--soft);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
  max-width: 420px;
}

.inquiriesAdmin__table th {
  font-weight: 700;
  background: rgba(15, 23, 42, 0.04);
  white-space: nowrap;
}

.inquiriesAdmin__table tr:hover td {
  background: rgba(15, 23, 42, 0.02);
}

.inquiriesAdmin__empty {
  padding: 22px 16px;
  text-align: center;
  color: rgba(15, 23, 42, 0.65);
}

.linklike {
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: var(--muted);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 購入手続き（チェックアウト） */
.cartPage {
  padding-bottom: 48px;
}

.cartPage__panel {
  max-width: 640px;
  margin: 0 auto;
}

.cartPage__actions {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--soft);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}

.checkoutSection {
  padding-bottom: 48px;
}

.checkoutGrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(380px, 100%);
  gap: 22px;
  align-items: start;
}

@media (max-width: 900px) {
  .checkoutGrid {
    grid-template-columns: 1fr;
  }

  .checkoutAside {
    order: -1;
  }

  .checkoutSummary {
    position: static;
  }
}

.checkoutForm__grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.checkoutPayMethods {
  margin: 22px 0 0;
  padding: 18px 0 0;
  border: none;
  border-top: 1px solid var(--border);
}

.checkoutPayMethods__legend {
  font-size: 1.15rem;
  font-weight: 800;
  padding: 0;
  margin: 0 0 8px;
}

.checkoutPayMethods__lead {
  margin: 0 0 14px;
  line-height: 1.55;
}

.checkoutPayList {
  display: grid;
  gap: 10px;
}

.checkoutPayOption {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.checkoutPayOption:hover {
  border-color: rgba(124, 58, 237, 0.35);
}

.checkoutPayOption:has(input:checked) {
  border-color: var(--accent2);
  background: rgba(124, 58, 237, 0.06);
  box-shadow: 0 0 0 1px rgba(124, 58, 237, 0.2);
}

.checkoutPayOption input {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--accent2);
  width: 1.05rem;
  height: 1.05rem;
}

.checkoutPayOption__body {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.checkoutPayOption__title {
  font-weight: 650;
  font-size: 14px;
  line-height: 1.35;
}

.checkoutPayOption__hint {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}

.checkoutForm__payment {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.checkoutForm__subhead {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 700;
}

.checkoutForm__actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.checkoutSummary {
  position: sticky;
  top: 88px;
}

.checkoutSummary__title {
  margin: 0 0 14px;
  font-size: 1.1rem;
  font-weight: 800;
}

.checkoutLines {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  gap: 12px;
}

.checkoutLine__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.checkoutLine__title {
  font-weight: 650;
  font-size: 14px;
  line-height: 1.35;
}

.checkoutLine__meta {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.checkoutLine__price {
  font-weight: 800;
  white-space: nowrap;
  font-size: 14px;
}

.checkoutTotals {
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 8px;
}

.checkoutTotals__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 14px;
}

.checkoutTotals__row--total {
  font-size: 1.15rem;
  font-weight: 800;
  padding-top: 8px;
  margin-top: 4px;
  border-top: 1px dashed var(--border);
}

.checkoutTotals__row dt {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.checkoutTotals__row dd {
  margin: 0;
}

.checkoutSuccess {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 32px;
}

.checkoutSuccess__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.12);
  color: #15803d;
  font-size: 28px;
  line-height: 56px;
  font-weight: 800;
}

.checkoutEmpty {
  max-width: 520px;
  margin: 0 auto 32px;
  text-align: center;
}

.checkoutCardFields {
  margin-top: 16px;
  padding: 16px 16px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(124, 58, 237, 0.04);
}

.checkoutCardFields[hidden] {
  display: none !important;
}

.checkoutCardFields__wrap {
  display: grid;
  gap: 18px;
}

.checkoutCardFields__formBlock .h2 {
  margin: 0 0 6px;
  font-size: 1.25rem;
}

.checkoutCardFields__lead {
  margin: 0 0 14px;
  line-height: 1.55;
}

.checkoutCardFields__agree {
  margin-top: 10px;
}

.checkoutForm__actions--card {
  margin-top: 16px;
}

.checkoutForm__actions[hidden] {
  display: none !important;
}

.cardPayMain {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.cardPayPreview {
  position: relative;
  border-radius: 16px;
  padding: 22px 20px;
  min-height: 168px;
  color: #f8fafc;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 45%, #312e81 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.cardPayPreview__shine {
  position: absolute;
  inset: -40% -20% auto auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.22), transparent 55%);
  pointer-events: none;
}

.cardPayPreview__brand {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  opacity: 0.9;
  margin-bottom: 18px;
}

.cardPayPreview__number {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: clamp(0.95rem, 2.8vw, 1.1rem);
  letter-spacing: 0.06em;
  margin-bottom: 22px;
  word-break: break-all;
}

.cardPayPreview__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.cardPayPreview__exp {
  font-size: 0.875rem;
  letter-spacing: 0.04em;
}

.cardPayPreview__chip {
  width: 42px;
  height: 32px;
  border-radius: 6px;
  background: linear-gradient(180deg, #fbbf24, #d97706);
  opacity: 0.95;
}

.cardPayForm__fields {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.cardPayForm__row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 520px) {
  .cardPayForm__row2 {
    grid-template-columns: 1fr;
  }
}

.cardPayError {
  color: #b91c1c;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 12px;
  padding: 10px 12px;
  margin-top: 12px;
}

.contact__actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.contact__aside {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 10px;
}

.contact__card {
  border: 1px solid var(--soft);
  border-radius: 14px;
  padding: 12px;
  background: rgba(15, 23, 42, 0.02);
}

.contact__cardTitle {
  font-weight: 900;
  margin-bottom: 6px;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 26px 0;
  background: linear-gradient(180deg, #fff, #fafafa);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 18px;
}

.footer__brand {
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.footer__title {
  font-weight: 800;
  margin-bottom: 8px;
}

.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}

.footer__bottom {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--soft);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px 18px;
  flex-wrap: wrap;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  max-width: min(100%, 42rem);
}

.footer__legalSep {
  opacity: 0.45;
  user-select: none;
}

.footer__bottomCredits {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-end;
  text-align: right;
}

@media (max-width: 640px) {
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__bottomCredits {
    align-items: flex-start;
    text-align: left;
  }
}

.legalMeta {
  color: var(--muted);
  font-size: 0.875rem;
  margin: 0 0 1rem;
}

.legalTOC {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  background: rgba(15, 23, 42, 0.02);
  margin: 0 0 1.5rem;
}

.legalTOC__title {
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.legalTOC ul {
  margin: 0;
  padding-left: 1.25rem;
}

.legalTOC li {
  margin: 4px 0;
}

.legalH3 {
  margin: 1.25rem 0 0.4rem;
  font-size: 1rem;
  font-weight: 750;
}

.legalDoc .legalH3:first-of-type {
  margin-top: 0.75rem;
}

.legalList {
  margin: 0.35rem 0 0;
  padding-left: 1.25rem;
}

.legalList li {
  margin: 0.55rem 0 0;
}

.legalDoc .h2[id] {
  scroll-margin-top: 1.25rem;
}

.legalDoc .h2 {
  margin: 1.75rem 0 0.5rem;
  font-size: 1.1rem;
}

.legalDoc .h2:first-of-type {
  margin-top: 0.5rem;
}

.legalTableWrap {
  margin-top: 1.25rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.legalTable {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.legalTable th,
.legalTable td {
  border: 1px solid var(--border);
  padding: 12px 14px;
  vertical-align: top;
  text-align: left;
}

.legalTable th {
  width: 11rem;
  background: rgba(15, 23, 42, 0.03);
  font-weight: 700;
}

@media (max-width: 640px) {
  .legalTable th {
    width: 38%;
  }
}

.newsletter__form {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.newsletter__form input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 11px 12px;
  font: inherit;
}

.faq__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.faq {
  display: grid;
  gap: 10px;
}

.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: white;
  overflow: hidden;
}

.faq__q {
  cursor: pointer;
  list-style: none;
  padding: 14px 14px;
  font-weight: 850;
  line-height: 1.3;
  position: relative;
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q::after {
  content: "＋";
  position: absolute;
  right: 14px;
  top: 12px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--soft);
  background: rgba(15, 23, 42, 0.02);
  color: rgba(15, 23, 42, 0.85);
}

.faq__item[open] .faq__q::after {
  content: "－";
}

.faq__a {
  padding: 0 14px 14px;
  color: rgba(15, 23, 42, 0.82);
}

.faq__a p {
  margin: 10px 0 0;
}

.faq__a ol,
.faq__a ul {
  margin: 10px 0 0;
  padding-left: 20px;
  color: rgba(15, 23, 42, 0.82);
}

.faq__a li {
  margin-top: 8px;
}

.modal {
  border: none;
  padding: 0;
  border-radius: 18px;
  width: min(680px, calc(100% - 24px));
  box-shadow: var(--shadow);
}

.modal::backdrop {
  background: rgba(2, 6, 23, 0.55);
}

.modal__inner {
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: white;
}

.modal__head {
  padding: 12px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--soft);
}

.modal__body {
  padding: 14px 12px 12px;
  display: grid;
  gap: 12px;
}

.modal__menu {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 0;
  margin: 0;
}

.cart__list {
  list-style: none;
  padding: 0;
  margin: 10px 0;
  display: grid;
  gap: 8px;
}

.cartitem {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  border: 1px solid var(--soft);
  border-radius: 12px;
  padding: 10px;
}

.cartitem__title {
  font-weight: 800;
  font-size: 14px;
}

.cartitem__meta {
  font-size: 12px;
  color: var(--muted);
}

.cartitem__actions {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.qty button {
  border: none;
  background: white;
  padding: 8px 10px;
  cursor: pointer;
}

.qty span {
  min-width: 28px;
  text-align: center;
  font-weight: 800;
  font-size: 13px;
}

.cart__summary {
  border-top: 1px solid var(--soft);
  padding-top: 12px;
  display: grid;
  gap: 10px;
}

.cart__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 16px;
  z-index: 40;
}

.cookie__inner {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--shadow);
}

.cookie__title {
  font-weight: 900;
  margin-bottom: 3px;
}

.cookie__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 1020px) {
  .favs__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .learn__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .benefitsGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .header__inner {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand actions"
      "menu menu";
  }
  .brand {
    grid-area: brand;
  }
  .header__actions {
    grid-area: actions;
  }
  .nav {
    display: none;
  }
  .navDropdown {
    display: block;
    grid-area: menu;
    width: 100%;
  }
  .navDropdown > summary {
    width: 100%;
    justify-content: space-between;
    box-sizing: border-box;
  }

  .dropdown__panel {
    right: auto;
    left: 0;
    width: min(420px, calc(100vw - 40px));
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }
  .contact__aside {
    position: relative;
    top: 0;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .productPage {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .topbar__left {
    display: none;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .learn__grid {
    grid-template-columns: 1fr;
  }
  .benefitsGrid {
    grid-template-columns: 1fr;
  }
  .track__form {
    grid-template-columns: 1fr;
  }
  .search__input {
    width: 100%;
  }

  .kpis {
    grid-template-columns: 1fr;
  }

  .favs__row {
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 78vw);
    grid-template-columns: none;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
  }

  .favcard {
    scroll-snap-align: start;
  }

  .mediaMainSlider {
    grid-template-columns: 1fr;
  }

  .mediaMainSlider__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.18);
  }

  .mediaMainSlider__btn--prev {
    left: 10px;
  }

  .mediaMainSlider__btn--next {
    right: 10px;
  }

  .productThumbsCarousel {
    grid-template-columns: 44px 1fr 44px;
    gap: 8px;
  }

  .productPage .panel {
    padding: 12px;
  }

  .productPage__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .productPage__actions .btn {
    width: 100%;
    text-align: center;
  }

  .price--lg {
    grid-template-columns: 1fr;
  }

  .productPage__badges {
    grid-template-columns: 1fr;
  }

  .productSpecTable {
    font-size: 0.8125rem;
    min-width: 30rem;
  }

  .productSpecTable th,
  .productSpecTable td {
    padding: 0.45rem 0.5rem;
  }

  .collectionToolbar__selectWrap {
    width: 100%;
  }

  .collectionToolbar__select {
    width: 100%;
    min-width: 0;
  }
}

/* カート追加トースト */
.cartToast {
  position: fixed;
  bottom: max(24px, env(safe-area-inset-bottom, 0px));
  left: 50%;
  z-index: 10050;
  max-width: min(92vw, 440px);
  padding: 12px 18px;
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.94);
  color: #f8fafc;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
  text-align: center;
  box-shadow: 0 12px 40px rgba(2, 6, 23, 0.35);
  transform: translateX(-50%) translateY(16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.cartToast.cartToast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .cartToast {
    transition: none;
  }
}

.productPage__titleMain {
  display: block;
  letter-spacing: 0.02em;
}

.productPage__titleLines {
  display: block;
  margin-top: 0.35rem;
  font-size: clamp(1.05rem, 2.6vw, 1.45rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.productSpecWrap {
  overflow-x: auto;
  margin: 0.75rem 0 0;
  -webkit-overflow-scrolling: touch;
}

.productSpecTable {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  font-size: 0.85rem;
  line-height: 1.4;
}

.productSpecTable th,
.productSpecTable td {
  border: 1px solid rgba(15, 23, 42, 0.12);
  padding: 0.5rem 0.6rem;
  text-align: left;
  vertical-align: top;
}

.productSpecTable thead th {
  background: rgba(15, 23, 42, 0.04);
  font-weight: 600;
  white-space: nowrap;
}

.productSpecTable tbody tr:nth-child(even) td {
  background: rgba(15, 23, 42, 0.02);
}

/* 認証（個人・法人・登録・ログイン） */
.authShell {
  max-width: 460px;
  margin: 0 auto;
}

.authCard {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 20px 20px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.06);
}

.authKicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(185, 28, 28, 0.88);
  margin: 0 0 6px;
}

.authCard__lead {
  margin: 8px 0 0;
  line-height: 1.55;
}

.authForm {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.authForm .field {
  margin: 0;
}

.authRow2 {
  display: grid;
  gap: 12px;
}

@media (min-width: 520px) {
  .authRow2 {
    grid-template-columns: 1fr 1fr;
  }
}

.authActions {
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.authActions .btn {
  width: 100%;
  justify-content: center;
}

.authDivider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0;
  color: var(--muted);
  font-size: 12px;
}

.authDivider::before,
.authDivider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.authGoogleBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  color: var(--fg);
  box-sizing: border-box;
}

.authGoogleBtn:hover {
  background: #f8fafc;
}

.authGoogleBtn:focus-visible {
  outline: 2px solid rgba(59, 130, 246, 0.5);
  outline-offset: 2px;
}

.authGoogleBtn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.authCard__foot {
  margin-top: 18px;
  text-align: center;
  font-size: 13px;
  line-height: 1.55;
}

.authCheck {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}

.authCheck input {
  margin-top: 3px;
  flex-shrink: 0;
}

.authMuted {
  margin-top: 10px;
}

.authForgot {
  font-size: 13px;
  text-align: right;
}

.authForgot a {
  font-weight: 500;
}

/* TEB ロゴ（法人認証ページのヘッダー） */
.establishBrand__link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.establishBrand__logo--header {
  display: block;
  height: 48px;
  width: auto;
  max-width: min(220px, 52vw);
  object-fit: contain;
}

.affiliateSectionCta {
  display: flex;
  justify-content: center;
  margin-top: 1.25rem;
  padding-top: 0.5rem;
}
