@import url("https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;500;600;700&family=Great+Vibes&family=Noto+Sans+JP:wght@400;500;600;700&family=Shippori+Mincho:wght@500;600;700&display=swap");

:root {
  /* サイト全体の配色は、基本的にここだけで変更できます */
  --color-background: #f7fafc;
  --color-surface: #edf4f8;
  --color-surface-warm: #f8f5ef;
  --color-card: #ffffff;
  --color-heading: #174a63;
  --color-text: #496572;
  --color-muted: #6f8792;
  --color-primary: #b1ceeb;
  --color-accent: #b1ceeb;
  --color-accent-soft: #dceafa;
  --color-sand: #f6efe3;
  --color-brown: #724627;
  --color-border: rgba(177, 206, 235, 0.58);
  --color-shadow: rgba(104, 143, 181, 0.16);
  --color-photo-caption: #ffffff;

  /* 文字色は要素ごとに個別変更できます */
  --color-brand-name: #b1ceeb;
  --color-hero-script: #b1ceeb;
  --color-hero-emphasis: #b1ceeb;
  --color-floating-live: #b1ceeb;
  --color-section-kicker: #b1ceeb;
  --color-heading-script: #b1ceeb;
  --color-product-link: #b1ceeb;
  --color-access-label: #b1ceeb;
  --color-menu-english: #b1ceeb;
  --color-menu-hover: #b1ceeb;
  --color-raw-menu-button: #b1ceeb;
  --color-gallery-label: #b1ceeb;
  --color-language-button: #b1ceeb;
  --color-modal-kicker: #b1ceeb;
  --color-frame-note: #b1ceeb;
  --color-footer-script: #b1ceeb;
  --color-memory-script: #b1ceeb;

  /* モバイル版：文字色・影色・影の透明度 */

  /* Freshly shaved, just for you. */
  --color-mobile-freshly: #b1ceeb;
  --color-mobile-freshly-shadow-rgb: 17, 17, 17;
  --color-mobile-freshly-shadow-opacity: 0.4;

  /* あなたへ。 */
  --color-mobile-for-you: #b1ceeb;
  --color-mobile-for-you-shadow-rgb: 17, 17, 17;
  --color-mobile-for-you-shadow-opacity: 0.4;

  /* SIGNATURE EXPERIENCE */
  --color-mobile-signature: #b1ceeb;
  --color-mobile-signature-shadow-rgb: 17, 17, 17;
  --color-mobile-signature-shadow-opacity: 0.4;

  /* BLUE SHELL MENU */
  --color-mobile-menu-kicker: #b1ceeb;
  --color-mobile-menu-kicker-shadow-rgb: 17, 17, 17;
  --color-mobile-menu-kicker-shadow-opacity: 0.4;

  /* Choose your Okinawa color. */
  --color-mobile-menu-script: #b1ceeb;
  --color-mobile-menu-script-shadow-rgb: 17, 17, 17;
  --color-mobile-menu-script-shadow-opacity: 0.4;

  /* NEW & SEASONAL */
  --color-mobile-flyer-kicker: #b1ceeb;
  --color-mobile-flyer-kicker-shadow-rgb: 17, 17, 17;
  --color-mobile-flyer-kicker-shadow-opacity: 0.4;

  /* Discover something new. */
  --color-mobile-flyer-script: #b1ceeb;
  --color-mobile-flyer-script-shadow-rgb: 17, 17, 17;
  --color-mobile-flyer-script-shadow-opacity: 0.4;

  /* OUR SPACE */
  --color-mobile-space-kicker: #b1ceeb;
  --color-mobile-space-kicker-shadow-rgb: 17, 17, 17;
  --color-mobile-space-kicker-shadow-opacity: 0.4;

  /* Breathe in the blue. */
  --color-mobile-space-script: #b1ceeb;
  --color-mobile-space-script-shadow-rgb: 17, 17, 17;
  --color-mobile-space-script-shadow-opacity: 0.4;

  /* A sweet memory of Okinawa. */
  --color-mobile-memory-script: #b1ceeb;
  --color-mobile-memory-script-shadow-rgb: 17, 17, 17;
  --color-mobile-memory-script-shadow-opacity: 0.4;

  /* SHOP INFORMATION */
  --color-mobile-access-kicker: #b1ceeb;
  --color-mobile-access-kicker-shadow-rgb: 17, 17, 17;
  --color-mobile-access-kicker-shadow-opacity: 0.4;

  /* Meet us in Kokusai Street. */
  --color-mobile-access-script: #b1ceeb;
  --color-mobile-access-script-shadow-rgb: 17, 17, 17;
  --color-mobile-access-script-shadow-opacity: 0.4;

  /* 既存コンポーネントとの互換用 */
  --blue: var(--color-accent-soft);
  --blue-bright: var(--color-accent);
  --blue-deep: var(--color-primary);
  --navy: var(--color-heading);
  --ink: var(--color-text);
  --white: var(--color-background);
  --sand: var(--color-sand);
  --cream: var(--color-surface-warm);
  --brown: var(--color-brown);
  --line: var(--color-border);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Noto Sans JP", sans-serif;
  overflow-x: hidden;
}

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

button {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

::selection {
  background: var(--blue);
  color: var(--navy);
}

.site-header {
  position: absolute;
  z-index: 40;
  top: 0;
  left: 0;
  width: 100%;
  height: 92px;
  padding: 0 clamp(20px, 4vw, 64px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.91);
  box-shadow: 0 12px 36px rgba(17, 55, 75, 0.14);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 10px;
  flex-direction: row;
}

.brand-mark {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 0.82;
}

/* BLUESHELL */
.brand-script,
.footer-script {
  font-family:
    "Dancing Script",
    "Segoe Script",
    "Brush Script MT",
    cursive;
}

/* それ以外の筆記体 */
.hero-script,
.heading-script {
  font-family:
    "Great Vibes",
    "Snell Roundhand",
    "Brush Script MT",
    cursive;
}

.brand-script {
  color: var(--blue-deep);
  font-size: 38px;
}

.brand-sub {
  margin-top: 7px;
  padding-left: 4px;
  color: var(--navy);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.36em;
}

.desktop-nav {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: clamp(28px, 2.8vw, 46px);
  margin-right: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.instagram-nav-link {
  display: inline-flex;
  align-items: center;
}

.instagram-nav-link img {
  width: 21px;
  height: 21px;
  filter: brightness(0) saturate(100%) invert(19%) sepia(24%) saturate(1504%) hue-rotate(153deg) brightness(92%) contrast(91%);
}

.header-menu-button {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  place-content: center;
  gap: 5px;
  border: 0;
  color: var(--navy);
  background: transparent;
  cursor: pointer;
}

.header-menu-button span {
  display: block;
  width: 27px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.desktop-nav a {
  position: relative;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--blue-deep);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.floating-menu-button {
  position: fixed;
  z-index: 120;
  top: 20px;
  right: 20px;
  display: grid;
  width: 68px;
  height: 68px;
  padding: 0;
  place-content: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  color: white;
  background: var(--navy);
  box-shadow: 0 16px 38px rgba(12, 45, 62, 0.28);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-14px) scale(0.9);
  transition: opacity 0.28s ease, transform 0.28s ease, background 0.28s ease;
}

.floating-menu-button.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.floating-menu-button span {
  display: block;
  width: 25px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.28s ease, opacity 0.2s ease;
}

.fullscreen-menu {
  position: fixed;
  z-index: 110;
  inset: 0;
  display: grid;
  padding: 36px;
  place-items: center;
  color: white;
  background: linear-gradient(145deg, #153b51 0%, #145b78 100%);
  animation: fade-in 0.28s ease both;
}

.fullscreen-menu-brand {
  position: absolute;
  top: 28px;
  left: clamp(24px, 5vw, 72px);
  margin: 0;
  color: var(--blue);
  font-family: "Dancing Script", "Segoe Script", cursive;
  font-size: clamp(36px, 4vw, 54px);
}

.fullscreen-menu-close {
  position: absolute;
  z-index: 2;
  top: 20px;
  right: 20px;
  display: grid;
  width: 54px;
  height: 54px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  color: white;
  background: transparent;
  cursor: pointer;
  font-size: 30px;
  font-weight: 300;
}

.fullscreen-menu nav {
  display: flex;
  width: min(92vw, 560px);
  align-items: center;
  flex-direction: column;
  gap: 18px;
  text-align: center;
}

.fullscreen-menu nav a {
  position: relative;
  color: white;
  font-family: "Shippori Mincho", serif;
  font-size: clamp(22px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.35;
  width: 100%;
  text-align: center;
  transition: color 0.22s ease, transform 0.22s ease;
}

.fullscreen-menu nav a small,
.fullscreen-menu nav a span {
  display: block;
}

.fullscreen-menu nav a small {
  margin-bottom: 3px;
  color: var(--blue);
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(7px, 0.7vw, 10px);
  font-weight: 700;
  letter-spacing: 0.2em;
  white-space: nowrap;
}

.fullscreen-menu nav a:hover,
.fullscreen-menu nav a:focus-visible {
  color: var(--blue);
  transform: translateX(6px);
}

.fullscreen-menu-note {
  position: absolute;
  right: clamp(24px, 5vw, 72px);
  bottom: 34px;
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--navy);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  height: 100%;
}

.hero-image {
  inset: auto 0 0 auto;
  width: min(68vw, 980px);
  object-fit: cover;
  object-position: center 48%;
  animation: hero-in 1.6s cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

.hero-shade {
  width: 100%;
  background:
    linear-gradient(90deg, #0f3347 0%, rgba(15, 51, 71, 0.96) 32%, rgba(15, 51, 71, 0.46) 62%, rgba(15, 51, 71, 0.18) 100%),
    linear-gradient(0deg, rgba(10, 35, 48, 0.34), transparent 42%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(92vw, 1320px);
  margin: 0 auto;
  padding-top: clamp(132px, 17vh, 200px);
  padding-bottom: 104px;
  color: white;
}

.hero-eyebrow,
.section-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.hero-eyebrow::before {
  width: 42px;
  height: 1px;
  content: "";
  background: var(--blue);
}

.hero-script {
  margin: 18px 0 -26px;
  color: var(--blue);
  font-size: clamp(46px, 5.5vw, 78px);
  line-height: 1;
  transform: rotate(-4deg);
  transform-origin: left;
  white-space: nowrap;
}

.hero h1 {
  max-width: 880px;
  margin: 0;
  font-family: "Shippori Mincho", serif;
  font-size: clamp(54px, 6.6vw, 94px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.12;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.26);
}

.hero h1 em {
  color: var(--blue);
  font-style: normal;
}

.hero-lead {
  margin: 28px 0 0;
  font-family: "Shippori Mincho", serif;
  font-size: clamp(15px, 1.4vw, 19px);
  letter-spacing: 0.05em;
  line-height: 2;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.32);
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0 26px;
  border: 0;
  border-radius: 100px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--navy);
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(26, 95, 126, 0.22);
}

.button-primary:hover {
  background: white;
  box-shadow: 0 16px 34px rgba(26, 95, 126, 0.28);
}

.button-ghost {
  border: 1px solid rgba(255, 255, 255, 0.65);
  color: white;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.hero-badge {
  position: absolute;
  z-index: 3;
  right: 5vw;
  bottom: 72px;
  display: flex;
  width: 128px;
  height: 128px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  color: white;
  background: rgba(21, 59, 81, 0.58);
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  transform: rotate(8deg);
}

.hero-badge span,
.hero-badge small {
  font-size: 10px;
  letter-spacing: 0.14em;
}

.hero-badge strong {
  margin: 2px 0;
  color: var(--blue);
  font-family: "Shippori Mincho", serif;
  font-size: 20px;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  bottom: 24px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  font-size: 9px;
  letter-spacing: 0.25em;
  transform: translateX(-50%) rotate(90deg);
}

.scroll-cue i {
  display: block;
  width: 52px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.4);
}

.scroll-cue i::after {
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  background: white;
  animation: scroll-line 1.8s ease-in-out infinite;
}

.feature-band {
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(21, 59, 81, 0.1);
  color: var(--navy);
  background: linear-gradient(100deg, #dcebf6, var(--blue) 52%, #c5e0ec);
}

.feature-band-inner {
  display: grid;
  width: min(94vw, 1320px);
  min-height: 112px;
  margin: 0 auto;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
}

.feature-point {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px clamp(18px, 3vw, 42px);
  border-right: 1px solid rgba(21, 59, 81, 0.14);
  text-align: center;
}

.feature-point:first-child {
  border-left: 1px solid rgba(21, 59, 81, 0.14);
}

.feature-point p {
  margin: 0;
}

.feature-point strong,
.feature-point small {
  display: block;
}

.feature-point strong {
  font-family: "Shippori Mincho", serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.feature-point small {
  margin-top: 5px;
  color: rgba(21, 59, 81, 0.58);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.17em;
}

.section {
  position: relative;
  padding: clamp(90px, 11vw, 160px) 0;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-inner {
  width: min(90vw, 1220px);
  margin: 0 auto;
}

.experience {
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 250, 242, 0.75), rgba(255, 250, 242, 0.9)),
    url("../assets/ocean-sand-bg.webp") center / cover fixed;
}

.experience::before {
  position: absolute;
  top: -110px;
  right: -90px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(28, 102, 133, 0.13);
  border-radius: 50%;
  content: "";
}

.experience-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(56px, 8vw, 110px);
}

.experience-visual {
  position: relative;
}

.image-frame {
  position: relative;
  padding: 14px;
  border: 1px solid rgba(28, 102, 133, 0.22);
  border-radius: 240px 240px 28px 28px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 32px 70px rgba(37, 85, 109, 0.16);
}

.image-frame > img {
  width: 100%;
  aspect-ratio: 0.78;
  border-radius: 225px 225px 20px 20px;
  object-fit: cover;
}

.frame-note {
  position: absolute;
  right: -34px;
  bottom: 48px;
  display: flex;
  min-width: 178px;
  align-items: center;
  justify-content: center;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  color: white;
  background: rgba(21, 59, 81, 0.88);
  box-shadow: 0 18px 35px rgba(21, 59, 81, 0.2);
  backdrop-filter: blur(10px);
}

.frame-note p {
  margin: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.6;
}

.floating-word {
  position: absolute;
  top: 14%;
  left: -72px;
  color: var(--blue-deep);
  font-family: "Dancing Script", "Segoe Script", cursive;
  font-size: 88px;
  opacity: 0.22;
  transform: rotate(-12deg);
}

.section-kicker {
  margin: 0 0 20px;
  color: var(--blue-deep);
  white-space: nowrap;
}

.experience-copy h2,
.section-heading h2,
.space-intro h2,
.memory-copy h2,
.access-copy h2 {
  margin: 0;
  color: var(--navy);
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.5;
}

.experience-copy h2 {
  font-size: clamp(36px, 4vw, 58px);
}

.experience-copy h2 span {
  box-shadow: inset 0 -0.42em var(--blue);
}

.experience-copy > p:not(.section-kicker) {
  margin: 24px 0 0;
  color: #426171;
  font-size: 15px;
  line-height: 2.1;
}

.experience-copy .lead-copy {
  margin-top: 34px !important;
  color: var(--ink) !important;
  font-family: "Shippori Mincho", serif;
  font-size: 17px !important;
}

.lead-copy strong {
  color: var(--brown);
  font-weight: 700;
}

.raw-menu-note {
  margin-top: 34px;
  padding: 22px;
  border-left: 3px solid var(--blue-deep);
  background: rgba(255, 255, 255, 0.72);
}

.raw-menu-note p {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
}

.raw-menu-note div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.raw-menu-note button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  justify-content: space-between;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid rgba(28, 102, 133, 0.2);
  border-radius: 100px;
  color: var(--blue-deep);
  background: white;
  cursor: pointer;
  font-size: 10px;
  white-space: nowrap;
  transition: color 0.22s ease, background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.raw-menu-note button:hover,
.raw-menu-note button:focus-visible {
  border-color: var(--blue-deep);
  color: white;
  background: var(--blue-deep);
  transform: translateY(-1px);
}

.raw-menu-note button span {
  font-size: 9px;
}

.menu-section {
  overflow: hidden;
  padding-bottom: 100px;
  background: #eff7fb;
}

.menu-section::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.42;
  background-image: radial-gradient(rgba(28, 102, 133, 0.11) 0.6px, transparent 0.6px);
  background-size: 10px 10px;
}

.menu-section > * {
  position: relative;
}

.centered {
  text-align: center;
}

.heading-script {
  margin: 0 0 -12px;
  color: var(--blue-deep);
  font-size: clamp(48px, 6vw, 78px);
  line-height: 1;
  opacity: 0.78;
  white-space: nowrap;
}

.section-heading h2 {
  font-size: clamp(32px, 4vw, 50px);
}

.section-heading > p:last-child {
  margin: 18px 0 0;
  color: #607b88;
  font-size: 13px;
}

.category-tabs {
  display: flex;
  width: max-content;
  margin: 48px auto 46px;
  padding: 5px;
  border: 1px solid rgba(28, 102, 133, 0.2);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.8);
}

.category-tabs button {
  min-width: 180px;
  padding: 14px 24px;
  border: 0;
  border-radius: 100px;
  color: #597381;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.category-tabs button span {
  display: block;
  margin-bottom: 3px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.category-tabs button.active {
  color: white;
  background: var(--navy);
  box-shadow: 0 8px 18px rgba(21, 59, 81, 0.2);
}

.product-marquee {
  width: 100%;
  padding: 0 max(10px, calc((100vw - 1220px) / 2));
  overflow-x: hidden;
  overflow-y: hidden;
  cursor: grab;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  touch-action: pan-y;
  user-select: none;
}

/* JavaScriptで閉じたメニューとモーダルを確実に非表示にする */
.fullscreen-menu[hidden],
.modal-backdrop[hidden] {
  display: none !important;
}

.product-marquee::-webkit-scrollbar {
  display: none;
}

.product-marquee:focus-visible {
  outline: 2px solid var(--blue-deep);
  outline-offset: -4px;
}

.product-marquee.is-dragging {
  cursor: grabbing;
  overscroll-behavior: contain;
  touch-action: none;
}

.product-track {
  display: flex;
  width: max-content;
  gap: 20px;
  padding: 10px 0 24px;
  flex: 0 0 auto;
  will-change: transform;
}

.product-set {
  display: flex;
  width: max-content;
  flex: 0 0 auto;
  gap: 20px;
}

.product-card {
  position: relative;
  flex: 0 0 300px;
  width: 300px;
  padding: 16px 16px 22px;
  overflow: hidden;
  border: 1px solid rgba(28, 102, 133, 0.13);
  border-radius: 28px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 38px rgba(43, 91, 115, 0.08);
  cursor: pointer;
  scroll-snap-align: start;
  text-align: left;
  transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.product-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 48px rgba(43, 91, 115, 0.16);
}

.product-image-wrap {
  display: grid;
  width: 100%;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(145deg, #e7f4fa, #fffaf2);
}

.product-image-wrap img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  pointer-events: none;
  transition: transform 0.35s ease;
}

.product-card[data-category="ice"] .product-image-wrap,
.product-card[data-category="crepe"] .product-image-wrap,
.product-modal[data-category="ice"] .modal-image,
.product-modal[data-category="crepe"] .modal-image {
  background: #f6faff;
}

.product-card[data-category="ice"] .product-image-wrap img,
.product-card[data-category="crepe"] .product-image-wrap img {
  width: 100%;
  height: 100%;
}

.product-marquee.is-dragging .product-card {
  pointer-events: none;
}

.product-card:hover img {
  transform: scale(1.05) rotate(-1deg);
}

.live-label {
  position: absolute;
  z-index: 2;
  top: 28px;
  left: 28px;
  padding: 8px 11px;
  border-radius: 100px;
  color: white;
  background: var(--brown);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.product-kicker {
  display: block;
  margin-top: 17px;
  color: #6f8792;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.product-card strong {
  display: block;
  min-height: 52px;
  margin-top: 5px;
  color: var(--navy);
  font-family: "Shippori Mincho", serif;
  font-size: 18px;
  line-height: 1.5;
}

.product-more {
  display: block;
  margin-top: 15px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--blue-deep);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.marquee-hint {
  margin: 18px 0 0;
  color: #718995;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-align: center;
}

.space-section {
  overflow: hidden;
  background: var(--cream);
}

.space-intro {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: 70px;
  margin-bottom: 68px;
}

.space-intro h2 {
  font-size: clamp(34px, 4.3vw, 56px);
}

.space-intro > p {
  margin: 0 0 8px;
  color: #587380;
  font-size: 14px;
  line-height: 2;
}

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

.space-gallery figure {
  position: relative;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  background: #e8f1f4;
}

.space-gallery figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.space-gallery figure:hover img {
  transform: scale(1.025);
}

.space-gallery figure:nth-child(1) img {
  object-position: center 45%;
}

.space-gallery figure:nth-child(2) img {
  object-position: center 58%;
}

.space-gallery figure:nth-child(3) img {
  object-position: center;
}

.space-gallery figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 66px;
  padding: 13px 16px;
  border-radius: 14px;
  color: white;
  background: rgba(21, 59, 81, 0.72);
  backdrop-filter: blur(10px);
}

.space-gallery figcaption span {
  color: var(--blue);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.space-gallery figcaption strong {
  font-family: "Shippori Mincho", serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.space-note {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 780px);
  margin: 34px auto 0;
  padding: 24px 30px;
  border-radius: 28px;
  color: var(--navy);
  background: var(--blue);
}

.space-note p {
  margin: 0;
  font-family: "Shippori Mincho", serif;
  font-size: 15px;
  line-height: 1.9;
}

.memory-strip {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  min-height: 650px;
  color: white;
  background: var(--navy);
}

.memory-copy {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: clamp(60px, 8vw, 120px);
  background:
    linear-gradient(rgba(21, 59, 81, 0.87), rgba(21, 59, 81, 0.94)),
    url("../assets/ocean-sand-bg.webp") center / cover;
}

.memory-copy .heading-script {
  color: var(--blue);
}

.memory-copy h2 {
  color: white;
  font-size: clamp(34px, 4vw, 52px);
}

.memory-copy > p:last-child {
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  line-height: 2;
}

.memory-image {
  position: relative;
  padding: 8px;
  background: var(--blue);
}

.memory-image img {
  width: 100%;
  height: 100%;
  min-height: 650px;
  object-fit: cover;
  object-position: center;
}

.memory-image p {
  position: absolute;
  right: 32px;
  bottom: 30px;
  left: 32px;
  margin: 0;
  padding: 16px 20px;
  border-radius: 16px;
  color: white;
  background: rgba(21, 59, 81, 0.78);
  font-family: "Shippori Mincho", serif;
  font-size: 14px;
  letter-spacing: 0.04em;
  backdrop-filter: blur(10px);
}

.access-section {
  background: #f5f1e9;
}

.access-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: clamp(52px, 7vw, 100px);
}

.access-copy .heading-script {
  margin-bottom: -8px;
  font-size: clamp(42px, 5vw, 66px);
}

.access-copy h2 {
  font-size: clamp(32px, 3.5vw, 46px);
}

.access-copy dl {
  margin: 42px 0 0;
  border-top: 1px solid var(--line);
}

.access-copy dl > div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}

.access-copy dt {
  color: var(--blue-deep);
  font-size: 11px;
  font-weight: 700;
}

.access-copy dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
}

.map-card {
  display: block;
  padding: 12px;
  border: 1px solid rgba(28, 102, 133, 0.18);
  border-radius: 30px;
  color: inherit;
  background: white;
  box-shadow: 0 28px 60px rgba(47, 83, 99, 0.12);
  transform: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-card:hover,
.map-card:focus-visible {
  box-shadow: 0 34px 72px rgba(47, 83, 99, 0.2);
  transform: translateY(-5px);
}

.map-card > img {
  width: 100%;
  aspect-ratio: 1.26;
  border-radius: 22px;
  object-fit: cover;
}

.map-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 14px 8px;
}

.map-caption div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.map-caption strong {
  color: var(--navy);
  font-family: "Shippori Mincho", serif;
  font-size: 16px;
}

.map-caption span {
  color: #768b95;
  font-size: 10px;
}

.map-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 0 15px;
  border-radius: 100px;
  color: white !important;
  background: var(--navy);
  font-size: 9px !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
  transition: background 0.22s ease, transform 0.22s ease;
}

.map-link:hover,
.map-link:focus-visible {
  background: var(--blue-deep);
  transform: translateX(2px);
}

footer {
  position: relative;
  padding-top: 70px;
  color: white;
  background: var(--navy);
}

.footer-wave {
  position: absolute;
  top: -44px;
  left: -2%;
  width: 104%;
  height: 88px;
  border-radius: 50% 50% 0 0;
  background: var(--navy);
}

.footer-inner {
  position: relative;
  width: min(90vw, 1220px);
  margin: 0 auto;
  padding: 24px 0 42px;
}

.footer-script {
  margin: 0;
  color: var(--blue);
  font-size: 76px;
  line-height: 1;
}

.footer-inner > div > p:last-child {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-family: "Shippori Mincho", serif;
  font-size: 13px;
}

.footer-inner nav {
  display: flex;
  gap: 30px;
  justify-content: flex-end;
  margin-top: -35px;
  font-size: 12px;
}

.copyright {
  margin: 70px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.42);
  font-size: 9px;
  letter-spacing: 0.18em;
}

.modal-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  padding: 24px;
  place-items: center;
  background: rgba(9, 34, 46, 0.78);
  backdrop-filter: blur(12px);
  animation: fade-in 0.25s ease both;
}

.product-modal {
  position: relative;
  display: grid;
  width: min(1080px, 94vw);
  max-height: 90vh;
  grid-template-columns: 1.12fr 0.88fr;
  overflow: auto;
  border-radius: 34px;
  background: white;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.32);
  animation: modal-in 0.35s cubic-bezier(0.18, 0.78, 0.26, 1) both;
}

.modal-close {
  position: absolute;
  z-index: 4;
  top: 18px;
  right: 18px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: white;
  background: var(--navy);
  cursor: pointer;
  font-size: 26px;
  font-weight: 300;
}

.language-switcher {
  position: absolute;
  z-index: 5;
  top: 18px;
  right: 76px;
  display: flex;
  gap: 7px;
}

.language-switcher button {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(28, 102, 133, 0.24);
  border-radius: 50%;
  color: var(--blue-deep);
  background: white;
  cursor: pointer;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.language-switcher button.active {
  color: var(--navy);
  background: var(--blue);
  box-shadow: 0 5px 14px rgba(28, 102, 133, 0.2);
}

.modal-image {
  position: relative;
  display: grid;
  min-height: 620px;
  place-items: center;
  background:
    linear-gradient(rgba(224, 242, 248, 0.78), rgba(255, 250, 242, 0.88)),
    url("../assets/ocean-sand-bg.webp") center / cover;
}

.modal-image img {
  width: 96%;
  height: 96%;
  object-fit: contain;
}

.modal-copy {
  position: relative;
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 96px 52px 66px;
}

.modal-copy > p:first-of-type {
  margin: 0;
  color: var(--blue-deep);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.modal-copy h2 {
  margin: 12px 0 0;
  color: var(--navy);
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  line-height: 1.45;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: auto-phrase;
}

.modal-copy h2.title-short { font-size: 35px; }
.modal-copy h2.title-medium { font-size: 30px; }
.modal-copy h2.title-compact { font-size: 25px; }

.modal-rule {
  width: 48px;
  height: 2px;
  margin: 25px 0;
  background: var(--blue-deep);
}

.modal-copy > p:nth-of-type(2) {
  margin: 0;
  color: #59737f;
  font-size: 14px;
  line-height: 2;
}

.modal-experience {
  margin: 25px 0;
  padding: 16px;
  border-radius: 14px;
  color: var(--brown);
  background: #f8f0e5;
  font-family: "Shippori Mincho", serif;
  font-size: 13px;
  line-height: 1.8;
}

.modal-experience span {
  display: block;
  color: #9b765b;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.modal-copy .button {
  align-self: flex-start;
  margin-top: 4px;
}

@keyframes hero-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scroll-line {
  0% { transform: translateX(-100%); }
  50%, 100% { transform: translateX(100%); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .header-menu-button {
    display: grid;
  }

  .floating-menu-button {
    top: 10px;
    right: 12px;
    width: 62px;
    height: 62px;
  }

  .feature-point {
    padding-right: 18px;
    padding-left: 18px;
  }

  .feature-point strong {
    font-size: 13px;
  }

  .hero-image {
    width: 78vw;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(10, 35, 48, 0.96), rgba(10, 35, 48, 0.3) 72%),
      linear-gradient(0deg, rgba(10, 35, 48, 0.48), transparent 55%);
  }

  .experience-grid,
  .access-grid {
    grid-template-columns: 1fr;
  }

  .experience-visual {
    width: min(76vw, 560px);
    margin: 0 auto;
  }

  .space-intro {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .memory-strip {
    grid-template-columns: 1fr;
  }

  .memory-image,
  .memory-image img {
    min-height: 500px;
  }

  .access-copy {
    max-width: 680px;
  }

}

@media (max-width: 700px) {
  html {
    scroll-padding-top: 28px;
  }

  .site-header {
    top: 0;
    width: 100%;
    height: 76px;
    padding: 0 10px 0 18px;
    border-radius: 0;
  }

  .floating-menu-button {
    top: 12px;
    right: 12px;
    width: 60px;
    height: 60px;
  }

  .fullscreen-menu {
    padding: 24px;
  }

  .fullscreen-menu-brand {
    top: 22px;
    left: 24px;
    font-size: 36px;
  }

  .fullscreen-menu nav {
    width: min(100%, 360px);
    gap: 20px;
  }

  .fullscreen-menu nav a {
    font-size: clamp(19px, 5.8vw, 23px);
  }

  .fullscreen-menu-note {
    right: 24px;
    bottom: 24px;
    left: 24px;
    font-size: 7px;
    line-height: 1.8;
    text-align: center;
  }

  .brand-script {
    font-size: 31px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand-sub {
    margin-top: 5px;
    font-size: 7px;
  }

  .hero {
    min-height: 840px;
  }

  .hero-image {
    inset: 0 auto auto 0;
    width: 100%;
    height: 72%;
    object-position: center 42%;
  }

  .feature-band-inner {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .feature-point {
    min-height: 76px;
    padding: 12px 24px;
    border-right: 0;
    border-bottom: 1px solid rgba(21, 59, 81, 0.12);
    border-left: 0 !important;
  }

  .feature-point:last-child {
    border-bottom: 0;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(10, 35, 48, 0.96) 0%, rgba(10, 35, 48, 0.6) 50%, rgba(10, 35, 48, 0.12) 100%);
  }

  .hero-copy {
    display: flex;
    min-height: 840px;
    justify-content: flex-end;
    flex-direction: column;
    padding: 0 0 106px;
  }

  .hero-eyebrow {
    font-size: 8px;
  }

  .hero-script {
    margin: 12px 0 -12px;
    font-size: clamp(31px, 9.6vw, 42px);
  }

  .hero h1 {
    font-size: clamp(34px, 9.5vw, 46px);
    white-space: nowrap;
  }

  .hero-lead {
    margin-top: 18px;
    font-size: 13px;
    line-height: 1.8;
  }

  .hero-lead br {
    display: none;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .button {
    min-height: 50px;
    padding: 0 19px;
    font-size: 11px;
  }

  .button-ghost {
    display: none;
  }

  .hero-badge {
    top: 100px;
    right: 18px;
    bottom: auto;
    width: 98px;
    height: 98px;
  }

  .hero-badge strong {
    font-size: 15px;
  }

  .hero-badge span,
  .hero-badge small {
    font-size: 7px;
  }

  .scroll-cue {
    display: none;
  }

  .section {
    padding: 90px 0;
  }

  .section-inner {
    width: calc(100% - 36px);
  }

  .experience {
    background-attachment: scroll;
  }

  .experience-grid {
    gap: 58px;
  }

  .experience-visual {
    width: calc(100% - 14px);
  }

  .frame-note {
    right: -8px;
    bottom: 25px;
    min-width: 170px;
    padding: 13px 15px;
  }

  .floating-word {
    top: 7%;
    left: -12px;
    font-size: 62px;
  }

  .experience-copy h2 {
    font-size: clamp(24px, 7.4vw, 34px);
    white-space: nowrap;
  }

  .experience-copy > p:not(.section-kicker) {
    font-size: 13px;
  }

  .raw-menu-note {
    padding: 17px;
  }

  .raw-menu-note div {
    grid-template-columns: 1fr;
  }

  .raw-menu-note button {
    width: 100%;
    padding: 11px 13px;
    font-size: 11px;
  }

  .menu-section {
    padding-bottom: 80px;
  }

  .heading-script {
    margin-bottom: -5px;
    font-size: clamp(30px, 9vw, 44px);
  }

  .section-heading h2 {
    font-size: clamp(25px, 7.4vw, 30px);
    white-space: nowrap;
  }

  .category-tabs {
    width: 100%;
    margin: 36px auto;
    border-radius: 22px;
  }

  .category-tabs button {
    min-width: 0;
    flex: 1;
    padding: 11px 6px;
    border-radius: 17px;
    font-size: 9px;
  }

  .category-tabs button span {
    font-size: 7px;
    letter-spacing: 0.08em;
  }

  .product-card {
    flex-basis: 252px;
    width: 252px;
  }

  .space-intro {
    margin-bottom: 40px;
  }

  .space-intro h2 {
    font-size: clamp(24px, 7.2vw, 31px);
    white-space: nowrap;
  }

  .space-gallery {
    grid-template-columns: 1fr;
  }

  .space-gallery figure {
    aspect-ratio: 4 / 4.6;
  }

  .space-note {
    align-items: flex-start;
    padding: 22px;
  }

  .memory-copy {
    padding: 90px 24px;
  }

  .memory-copy h2 {
    font-size: clamp(24px, 7.2vw, 31px);
    white-space: nowrap;
  }

  .memory-image {
    min-height: 420px;
  }

  .memory-image img {
    min-height: 420px;
  }

  .memory-image p {
    right: 20px;
    bottom: 20px;
    left: 20px;
    font-size: 12px;
  }

  .access-copy .heading-script {
    font-size: clamp(27px, 8.2vw, 40px);
  }

  .access-copy h2 {
    font-size: clamp(24px, 7.2vw, 30px);
    white-space: nowrap;
  }

  .access-copy dl > div {
    grid-template-columns: 72px 1fr;
  }

  .map-card {
    border-radius: 22px;
    transform: none;
  }

  .map-card > img {
    border-radius: 16px;
  }

  footer {
    padding-bottom: 30px;
  }

  .footer-script {
    font-size: 62px;
  }

  .footer-inner nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    margin: 38px 0 0;
    gap: 14px 24px;
  }

  .copyright {
    margin-top: 50px;
  }

  .modal-backdrop {
    padding: 12px;
  }

  .product-modal {
    display: block;
    max-height: 92vh;
    border-radius: 26px;
  }

  .modal-image {
    min-height: 360px;
  }

  .modal-copy {
    padding: 78px 26px 38px;
  }

  .modal-copy h2 {
    padding-right: 0;
  }

  .modal-copy h2.title-short { font-size: clamp(27px, 8vw, 32px); }
  .modal-copy h2.title-medium { font-size: clamp(23px, 6.8vw, 28px); }
  .modal-copy h2.title-compact { font-size: clamp(20px, 5.9vw, 24px); }

  .modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
  }

  .language-switcher {
    position: absolute;
    z-index: 5;
    top: 20px;
    right: 20px;
    left: auto;
    width: max-content;
    margin: 0;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
  }

  .language-switcher button {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 380px) {
  .language-switcher {
    gap: 4px;
  }

  .language-switcher button {
    width: 35px;
    height: 35px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .scroll-reveal {
    opacity: 1;
    transform: none;
  }
}

/* 09-A. Approved light-theme compatibility */
.floating-menu-button,
.fullscreen-menu,
.hero,
.frame-note,
.category-tabs button.active,
.space-gallery figcaption,
.memory-strip,
.map-link,
footer,
.footer-wave,
.modal-close {
  color: var(--navy);
  background: white;
}

.floating-menu-button,
.frame-note,
.category-tabs button.active,
.space-gallery figcaption,
.map-link,
.modal-close {
  border: 1px solid rgba(28, 102, 133, 0.24);
}

.fullscreen-menu-brand,
.fullscreen-menu nav a,
.fullscreen-menu nav a small,
.fullscreen-menu-note,
.fullscreen-menu-close,
.footer-inner > div > p:last-child,
.copyright {
  color: var(--navy);
}

.fullscreen-menu-close {
  border-color: rgba(28, 102, 133, 0.28);
}

.hero-shade {
  background:
    linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.97) 32%, rgba(255, 255, 255, 0.58) 62%, rgba(255, 255, 255, 0.1) 100%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.3), transparent 42%);
}

.hero-copy,
.hero h1,
.hero-lead,
.button-ghost,
.hero-badge,
.scroll-cue {
  color: var(--navy);
  text-shadow: none;
}

.button-ghost,
.hero-badge {
  border-color: rgba(28, 102, 133, 0.3);
  background: rgba(255, 255, 255, 0.88);
}

.scroll-cue i {
  background: rgba(21, 59, 81, 0.25);
}

.scroll-cue i::after {
  background: var(--navy);
}

.memory-copy {
  background:
    linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.94)),
    url("../assets/ocean-sand-bg.webp") center / cover;
}

.memory-copy h2,
.memory-copy > p:last-child,
.memory-image p {
  color: var(--navy);
}

.memory-image p {
  background: rgba(255, 255, 255, 0.84);
}

.modal-backdrop {
  background: rgba(255, 255, 255, 0.82);
}

footer {
  border-top: 1px solid rgba(28, 102, 133, 0.15);
}

.copyright {
  border-top-color: rgba(28, 102, 133, 0.15);
}

/* 09-B. Store gallery aspect-ratio compatibility */
.space-gallery {
  height: min(60vw, 720px);
  grid-template-columns: 1fr 1.5fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.space-gallery figure {
  aspect-ratio: auto;
}

.space-gallery figure:first-child {
  grid-row: 1 / 3;
}

.space-gallery figure:nth-child(1) img {
  object-position: center;
}

.space-gallery figure:nth-child(2) img,
.space-gallery figure:nth-child(3) img {
  object-position: center;
}

@media (max-width: 760px) {
  .space-gallery {
    height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .space-gallery figure,
  .space-gallery figure:first-child {
    aspect-ratio: 4 / 5;
    grid-row: auto;
  }

  .space-gallery figure:nth-child(2),
  .space-gallery figure:nth-child(3) {
    aspect-ratio: 3 / 2;
  }

  .language-switcher {
    right: 68px;
  }
}

/* 09-C. Readability and surface compatibility */
body {
  color: var(--color-text);
  background: var(--color-background);
}

.site-header {
  border-bottom-color: var(--color-border);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 36px var(--color-shadow);
}

.hero-shade {
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(255, 255, 255, 0.86) 32%,
      rgba(255, 255, 255, 0.34) 56%,
      rgba(255, 255, 255, 0.04) 78%,
      rgba(255, 255, 255, 0) 100%
    ),
    linear-gradient(0deg, rgba(255, 255, 255, 0.12), transparent 38%);
}

.hero-copy,
.hero h1,
.hero-lead {
  color: var(--color-heading);
}

.hero-script,
.heading-script,
.footer-script {
  color: var(--color-primary);
}

.feature-band {
  color: var(--color-heading);
  background: linear-gradient(
    100deg,
    var(--color-surface) 0%,
    var(--color-accent-soft) 52%,
    #dbeef6 100%
  );
}

.space-section {
  background: var(--color-surface-warm);
}

.menu-section {
  background: var(--color-surface);
}

.access-section {
  background: #faf8f3;
}

.experience-copy h2,
.section-heading h2,
.space-intro h2,
.memory-copy h2,
.access-copy h2,
.product-card strong,
.map-caption strong {
  color: var(--color-heading);
}

.experience-copy > p:not(.section-kicker),
.section-heading > p:last-child,
.space-intro > p,
.product-kicker,
.modal-copy > p:nth-of-type(2) {
  color: var(--color-text);
}

.product-card,
.map-card,
.product-modal {
  background: var(--color-card);
}

.category-tabs button.active {
  color: var(--color-heading);
  background: var(--color-card);
  box-shadow: 0 7px 18px var(--color-shadow);
}

.space-gallery {
  height: min(64vw, 780px);
  grid-template-columns: 1fr 1.3fr;
}

.space-gallery figure {
  background: var(--color-surface);
}

.space-gallery figcaption {
  right: 12px;
  bottom: 12px;
  left: 12px;
  min-height: 52px;
  padding: 9px 13px;
  color: var(--color-heading);
  background: var(--color-photo-caption);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 7px 22px rgba(23, 74, 99, 0.1);
  backdrop-filter: blur(3px);
}

.space-gallery figcaption span {
  color: var(--color-primary);
}

.space-gallery figcaption strong {
  color: var(--color-heading);
  font-size: 12px;
}

.memory-copy {
  background:
    linear-gradient(rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.84)),
    url("../assets/ocean-sand-bg.webp") center / cover;
}

.memory-copy > p:last-child,
.memory-image p {
  color: var(--color-text);
}

.memory-image p {
  right: 20px;
  bottom: 20px;
  left: 20px;
  padding: 12px 16px;
  background: var(--color-photo-caption);
  box-shadow: 0 7px 22px rgba(23, 74, 99, 0.1);
  backdrop-filter: blur(3px);
}

.map-link,
.floating-menu-button,
.modal-close {
  color: var(--color-heading) !important;
  background: var(--color-card);
  border-color: var(--color-border);
}

.fullscreen-menu,
footer,
.footer-wave {
  color: var(--color-heading);
  background: var(--color-background);
}

.modal-backdrop {
  background: rgba(243, 249, 252, 0.8);
}

@media (max-width: 760px) {
  .hero-shade {
    background:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.18) 0%,
        rgba(255, 255, 255, 0.52) 42%,
        rgba(255, 255, 255, 0.94) 76%,
        #ffffff 100%
      );
  }

  .space-gallery {
    height: auto;
    grid-template-columns: 1fr;
  }

  .space-gallery figure:first-child {
    aspect-ratio: 2 / 3;
  }

  .space-gallery figure:nth-child(2),
  .space-gallery figure:nth-child(3) {
    aspect-ratio: 3 / 2;
  }
}

/* 09-D. Approved text-shadow compatibility */
.hero h1 em,
.hero-badge strong,
.floating-word,
.product-card[data-product-name="生黒糖ラテ"] strong,
.product-card[data-product-name="生黒糖ミルク"] strong,
.product-card[data-product-name="生黒糖きな粉ミルク"] strong,
.product-card[data-product-name="生黒糖ミルクティー"] strong {
  text-shadow:
    0 1px 1px rgba(23, 74, 99, 0.38),
    0 3px 12px rgba(255, 255, 255, 0.72);
}

.memory-copy .heading-script {
  color: #88a6c2;
  text-shadow:
    0 1px 1px rgba(23, 74, 99, 0.24),
    0 3px 10px rgba(255, 255, 255, 0.58);
}

/* 09-E. Flyer viewport and mobile hero compatibility */
.flyer-viewer {
  width: min(calc(100% - 40px), 1080px);
}

.flyer-viewer .flyer-card {
  display: grid;
  width: 100%;
  height: auto;
  min-height: 0;
  padding: 0;
  place-items: center;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.flyer-viewer .flyer-card:hover {
  box-shadow: none;
}

.flyer-viewer .flyer-card img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(78vh, 760px);
  object-fit: contain;
}

.hero-badge strong {
  color: #ffffff;
}

@media (max-width: 760px) {
  .flyer-viewer {
    width: calc(100% - 24px);
  }

  .flyer-viewer .flyer-card {
    height: auto;
    border-radius: 0;
    background: transparent;
  }

  .flyer-viewer .flyer-card img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 72svh;
    object-fit: contain;
  }

  /* 文字周辺だけを薄く支え、写真の存在感を残す */
  .hero-copy::before {
    right: -8px;
    bottom: 88px;
    left: -8px;
    height: 330px;
    border: 0;
    background: linear-gradient(
      180deg,
      rgba(247, 250, 252, 0.04),
      rgba(247, 250, 252, 0.5)
    );
    box-shadow: none;
    backdrop-filter: none;
  }

  /* 思い出セクションは文字・写真を上下に分け、全体を画面内へ収める */
  .memory-strip {
    display: block;
    width: 100%;
    min-height: 0;
    overflow: hidden;
  }

  .memory-copy {
    width: 100%;
    min-width: 0;
    padding: 58px 20px;
  }

  .memory-copy .heading-script {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .memory-copy h2 {
    width: 100%;
    max-width: 100%;
    white-space: normal;
  }

  .memory-copy > p:last-child {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .memory-image {
    width: 100%;
    min-height: 0;
    aspect-ratio: auto;
    overflow: hidden;
    background: transparent;
  }

  .memory-image img {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    object-fit: contain;
  }
}

/* =========================================================
   Flyer viewport presentation
   ========================================================= */

.flyer-section {
  position: relative;
  overflow: hidden;
}

.flyer-section.section {
  padding-top: clamp(54px, 6vw, 82px);
  padding-bottom: clamp(54px, 6vw, 82px);
}

.flyer-viewer {
  position: relative;
  width: min(96vw, 1440px);
  margin: clamp(30px, 4vw, 48px) auto 0;
}

.flyer-viewer .flyer-card,
.flyer-viewer .flyer-card:hover,
.flyer-viewer .flyer-card:focus-visible {
  display: grid;
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  place-items: center;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  opacity: 1;
  transform: none;
  transition: opacity 0.225s ease;
}

.flyer-viewer .flyer-card:focus-visible {
  outline: 2px solid var(--color-heading);
  outline-offset: 5px;
}

.flyer-viewer .flyer-card.is-fading {
  opacity: 0;
}

.flyer-viewer .flyer-card img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 85svh;
  margin: auto;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.flyer-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 16px;
}

.flyer-dots span {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(136, 166, 194, 0.34);
  transition:
    width 0.25s ease,
    border-radius 0.25s ease,
    background-color 0.25s ease;
}

.flyer-dots span.active {
  width: 24px;
  border-radius: 999px;
  background: #88a6c2;
}

.flyer-expand,
.flyer-lightbox {
  display: none !important;
}

@media (max-width: 760px) {
  .flyer-section.section {
    padding-top: 44px;
    padding-bottom: 46px;
  }

  .flyer-viewer {
    width: calc(100vw - 12px);
    margin-top: 22px;
  }

  .flyer-viewer .flyer-card,
  .flyer-viewer .flyer-card:hover,
  .flyer-viewer .flyer-card:focus-visible {
    width: 100%;
    height: auto;
    min-height: 0;
  }

  .flyer-viewer .flyer-card img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 82svh;
  }

  .flyer-dots {
    padding-top: 12px;
  }
}

/* 商品カルーセル：端切れを防ぎ、マウスと指の横操作を安定させる */
.product-marquee {
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.product-marquee.is-dragging {
  cursor: grabbing;
}

.product-track {
  will-change: transform;
}

/* 切り抜いた商品画像の画角と背景をカテゴリー間で統一 */
.product-image-wrap {
  display: grid;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  place-items: center;
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* フライヤーはPC・スマートフォンとも全体を必ず表示 */
.flyer-viewer .flyer-card img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}

/* 09-F. Exterior photograph caption layout */
.memory-image {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #ffffff;
}

.memory-image img {
  min-height: 0;
}

.memory-image figcaption {
  position: static;
  display: flex;
  align-items: center;
  min-height: 58px;
  margin: 0;
  padding: 11px 15px;
  border-top: 1px solid var(--color-border);
  color: var(--color-heading);
  background: #ffffff;
}

.memory-image figcaption strong {
  font-family: "Shippori Mincho", serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

/* 09-G. Mobile hero contrast fallback */
@media (max-width: 760px) {
  .hero-eyebrow,
  .hero-script,
  .hero h1,
  .hero h1 em {
    color: #111111;
  }

  .hero-script,
  .hero h1 em {
    position: relative;
  }

  .hero-script::before,
  .hero h1 em::before {
    position: absolute;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.12em;
    white-space: nowrap;
    content: attr(data-shadow-text);
    text-shadow:
      0 1px 8px rgba(177, 206, 235, 0.72),
      0 3px 16px rgba(255, 255, 255, 0.9);
    pointer-events: none;
  }

  .hero-script::before {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -47%);
  }

  .hero h1 em {
    display: inline-block;
  }

  .hero h1 em::before {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -47%);
  }

  .memory-image figcaption {
    min-height: 54px;
    padding: 10px 13px;
  }
}

/* 09-H. Mobile hero readability layout */
@media (max-width: 760px) {
  .hero-copy::before {
    right: -6px;
    bottom: 74px;
    left: -6px;
    height: 320px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 24px;
    background: linear-gradient(
      180deg,
      rgba(247, 250, 252, 0.06),
      rgba(247, 250, 252, 0.58)
    );
    box-shadow: none;
    backdrop-filter: none;
  }

  .hero-eyebrow {
    color: #174a63;
    font-size: 9px;
    font-weight: 700;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.96);
  }

  .hero-script {
    color: #6f97b8;
    font-size: clamp(30px, 9vw, 38px);
    text-shadow:
      0 1px 0 #ffffff,
      0 2px 10px rgba(23, 74, 99, 0.14);
  }

  .hero h1 {
    color: #174a63;
    font-size: clamp(32px, 9vw, 42px);
    line-height: 1.15;
    text-shadow:
      0 1px 0 #ffffff,
      0 3px 14px rgba(255, 255, 255, 0.78);
  }

  .hero h1 em {
    color: #6f97b8;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    width: 100%;
  }

  .hero-actions .button,
  .hero-actions .button-ghost {
    display: inline-flex;
    min-width: 0;
    padding-right: 10px;
    padding-left: 10px;
    gap: 7px;
    white-space: nowrap;
    font-size: 10px;
  }

  .hero-actions .button-ghost {
    color: #174a63;
    border-color: rgba(23, 74, 99, 0.24);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: none;
  }
}

@media (max-width: 380px) {
  .hero-actions .button,
  .hero-actions .button-ghost {
    padding-right: 7px;
    padding-left: 7px;
    gap: 4px;
    font-size: 9px;
  }
}

/* 09-I. Mobile hero foreground contrast */
@media (max-width: 760px) {
  .hero-eyebrow,
  .hero-script,
  .hero h1,
  .hero h1 em {
    color: #111111;
  }
}

/* 09-J. Tap-to-fade flyer viewer */
.flyer-section.section {
  padding-top: clamp(54px, 6vw, 82px);
  padding-bottom: clamp(54px, 6vw, 82px);
}

.menu-section {
  padding-bottom: clamp(40px, 5vw, 68px);
}

.flyer-section + .space-section {
  padding-top: clamp(58px, 6vw, 86px);
}

.flyer-viewer {
  position: relative;
  width: min(calc(100% - 40px), 1080px);
  margin: clamp(30px, 4vw, 48px) auto 0;
}

.flyer-viewer .flyer-card {
  display: grid;
  width: 100%;
  height: min(62vw, 680px);
  margin: 0;
  padding: 0;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 46px var(--color-shadow);
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.225s ease, box-shadow 0.3s ease;
}

.flyer-viewer .flyer-card:hover {
  transform: none;
  box-shadow: 0 24px 54px rgba(104, 143, 181, 0.24);
}

.flyer-viewer .flyer-card.is-fading {
  opacity: 0;
}

.flyer-viewer .flyer-card img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.flyer-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 16px;
}

.flyer-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(136, 166, 194, 0.34);
  transition: width 0.25s ease, border-radius 0.25s ease, background 0.25s ease;
}

.flyer-dots span.active {
  width: 24px;
  border-radius: 999px;
  background: #88a6c2;
}

/* 店舗名は2行を1セットのまま、サイズを変えずに順番だけ入れ替え */
.brand-sub {
  margin: 0 0 7px;
}

/* 生黒糖バッジは初期の濃色デザインへ戻す */
.hero-badge {
  border-color: rgba(255, 255, 255, 0.72);
  color: #ffffff;
  background: rgba(21, 59, 81, 0.72);
  box-shadow:
    inset 0 0 0 6px rgba(255, 255, 255, 0.1),
    0 12px 30px rgba(15, 51, 71, 0.2);
  text-shadow: none;
}

.hero-badge span,
.hero-badge small {
  color: #ffffff;
}

.hero-badge strong {
  color: #b1ceeb;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.34);
}

@media (max-width: 760px) {
  .flyer-section.section {
    padding-top: 44px;
    padding-bottom: 46px;
  }

  .menu-section {
    padding-bottom: 30px;
  }

  .flyer-section + .space-section {
    padding-top: 46px;
  }

  .flyer-viewer {
    width: calc(100% - 28px);
    margin-top: 26px;
  }

  .flyer-viewer .flyer-card {
    height: min(118vw, 560px);
    border-radius: 20px;
  }

  /* 写真全体を曇らせず、コピー周辺だけ読みやすくする */
  .hero-copy::before {
    position: absolute;
    z-index: 0;
    right: -14px;
    bottom: 82px;
    left: -14px;
    height: 400px;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 28px;
    content: "";
    background: linear-gradient(
      180deg,
      rgba(247, 250, 252, 0.42),
      rgba(247, 250, 252, 0.88)
    );
    box-shadow: 0 18px 50px rgba(23, 74, 99, 0.1);
    backdrop-filter: blur(7px);
  }

  .hero-copy > * {
    position: relative;
    z-index: 1;
  }

  /* 店舗写真は縦横比を維持し、画角内へ全体表示 */
  .memory-image {
    min-height: 0;
    aspect-ratio: auto;
  }

  .memory-image img {
    width: 100%;
    height: auto;
    min-height: 0;
    object-fit: contain;
  }
}

.flyer-section {
  overflow: hidden;
  background: var(--color-surface-warm);
}

.flyer-card {
  flex: 0 0 auto;
  height: min(54vw, 620px);
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 46px var(--color-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flyer-card:hover {
  transform: scale(1.015);
  box-shadow: 0 24px 54px rgba(104, 143, 181, 0.24);
}

.flyer-card img {
  width: auto;
  max-width: none;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

@media (max-width: 760px) {
  .flyer-card {
    height: min(112vw, 470px);
    border-radius: 20px;
  }
}

.product-marquee {
  padding-right: max(42px, calc((100vw - 1220px) / 2));
  padding-left: max(42px, calc((100vw - 1220px) / 2));
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 34px,
    #000 calc(100% - 34px),
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 34px,
    #000 calc(100% - 34px),
    transparent 100%
  );
}

/* 写真を優先し、問題になっていた2枚では文字とハイライトを重ねない */
.space-gallery figure:nth-child(2) figcaption,
.space-gallery figure:nth-child(3) figcaption {
  display: none;
}

@media (max-width: 760px) {
  .product-marquee {
    padding-right: 28px;
    padding-left: 28px;
    -webkit-mask-image: linear-gradient(
      90deg,
      transparent 0,
      #000 20px,
      #000 calc(100% - 20px),
      transparent 100%
    );
    mask-image: linear-gradient(
      90deg,
      transparent 0,
      #000 20px,
      #000 calc(100% - 20px),
      transparent 100%
    );
  }
}

/* 09-K. Photograph clarity and text readability */
body {
  background: var(--color-background);
}

.hero-shade {
  background:
    linear-gradient(
      90deg,
      rgba(247, 250, 252, 0.9) 0%,
      rgba(247, 250, 252, 0.7) 31%,
      rgba(247, 250, 252, 0.2) 56%,
      rgba(247, 250, 252, 0.02) 78%,
      transparent 100%
    ),
    linear-gradient(0deg, rgba(23, 74, 99, 0.08), transparent 42%);
}

.hero-copy h1,
.hero-lead {
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95),
    0 3px 18px rgba(255, 255, 255, 0.7);
}

.brand-script,
.hero-script,
.heading-script,
.footer-script,
.section-kicker,
.product-more,
.access-copy dt,
.fullscreen-menu nav a small,
.frame-note,
.floating-word {
  text-shadow:
    0 1px 1px rgba(23, 74, 99, 0.38),
    0 3px 12px rgba(255, 255, 255, 0.72);
}

/* ドリンクだけ商品画像の青い面を外す */
.product-card[data-category="drink"] .product-image-wrap,
.product-modal[data-category="drink"] .modal-image {
  background: #ffffff;
}

/* 商品操作は傾けず、ごく小さなズームに統一 */
.product-card:hover img {
  transform: scale(1.025);
}

/* 写真を隠さない、3枚共通のキャプションフッター */
.space-gallery figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

.space-gallery figure img {
  min-height: 0;
}

.space-gallery figcaption,
.space-gallery figure:nth-child(2) figcaption,
.space-gallery figure:nth-child(3) figcaption {
  position: static;
  display: flex;
  right: auto;
  bottom: auto;
  left: auto;
  min-height: 58px;
  padding: 11px 15px;
  border: 0;
  border-top: 1px solid var(--color-border);
  border-radius: 0;
  color: var(--color-heading);
  background: #ffffff;
  box-shadow: none;
  backdrop-filter: none;
}

@media (max-width: 760px) {
  .hero-image {
    width: 100%;
    object-position: 58% center;
  }

  .hero-shade {
    background:
      linear-gradient(
        180deg,
        rgba(23, 74, 99, 0.04) 0%,
        transparent 36%,
        rgba(247, 250, 252, 0.12) 53%,
        rgba(247, 250, 252, 0.78) 78%,
        #f7fafc 100%
      );
  }

  .hero-copy h1,
  .hero-lead {
    text-shadow:
      0 1px 0 rgba(255, 255, 255, 1),
      0 4px 16px rgba(255, 255, 255, 0.9);
  }

  .space-gallery figcaption,
  .space-gallery figure:nth-child(2) figcaption,
  .space-gallery figure:nth-child(3) figcaption {
    min-height: 54px;
    padding: 10px 13px;
  }
}

/* A sweet memory は周囲になじむ少し落ち着いた青 */
.memory-copy .heading-script {
  color: var(--color-memory-script);
  text-shadow:
    0 1px 1px rgba(23, 74, 99, 0.24),
    0 3px 10px rgba(255, 255, 255, 0.58);
}

/* 要素別の色設定：他の文字へ連動しません */
.brand-script {
  color: var(--color-brand-name);
}

.hero-script {
  color: var(--color-hero-script);
}

.hero h1 em {
  color: var(--color-hero-emphasis);
}

.floating-word {
  color: var(--color-floating-live);
}

.section-kicker {
  color: var(--color-section-kicker);
}

.heading-script {
  color: var(--color-heading-script);
}

.product-more {
  color: var(--color-product-link);
}

.access-copy dt {
  color: var(--color-access-label);
}

.fullscreen-menu nav a small {
  color: var(--color-menu-english);
}

.fullscreen-menu nav a:hover,
.fullscreen-menu nav a:focus-visible {
  color: var(--color-menu-hover);
}

.raw-menu-note button {
  color: var(--color-raw-menu-button);
}

.space-gallery figcaption span {
  color: var(--color-gallery-label);
}

.language-switcher button {
  color: var(--color-language-button);
}

.modal-copy > p:first-of-type {
  color: var(--color-modal-kicker);
}

.frame-note {
  color: var(--color-frame-note);
}

.footer-script {
  color: var(--color-footer-script);
}

/* ==========================================================
   モバイル版：文字ごとの色・影
   ========================================================== */

@media (max-width: 760px) {
  /* Freshly shaved, just for you. */
  html body .hero-script {
    color: var(--color-mobile-freshly);
    font-weight: 700;
    text-shadow: 0 1px 0 rgba(
      var(--color-mobile-freshly-shadow-rgb),
      var(--color-mobile-freshly-shadow-opacity)
    );
  }

  /* あなたへ。 */
  html body .hero h1 em {
    color: var(--color-mobile-for-you);
    font-weight: 700;
    text-shadow: 0 1px 0 rgba(
      var(--color-mobile-for-you-shadow-rgb),
      var(--color-mobile-for-you-shadow-opacity)
    );
  }

  /* SIGNATURE EXPERIENCE */
  html body #experience .section-kicker {
    color: var(--color-mobile-signature);
    font-weight: 700;
    text-shadow: 0 1px 0 rgba(
      var(--color-mobile-signature-shadow-rgb),
      var(--color-mobile-signature-shadow-opacity)
    );
  }

  /* BLUE SHELL MENU */
  html body .menu-section .section-kicker {
    color: var(--color-mobile-menu-kicker);
    font-weight: 700;
    text-shadow: 0 1px 0 rgba(
      var(--color-mobile-menu-kicker-shadow-rgb),
      var(--color-mobile-menu-kicker-shadow-opacity)
    );
  }

  /* Choose your Okinawa color. */
  html body .menu-section .heading-script {
    color: var(--color-mobile-menu-script);
    font-weight: 700;
    text-shadow: 0 1px 0 rgba(
      var(--color-mobile-menu-script-shadow-rgb),
      var(--color-mobile-menu-script-shadow-opacity)
    );
  }

  /* NEW & SEASONAL */
  html body .flyer-section .section-kicker {
    color: var(--color-mobile-flyer-kicker);
    font-weight: 700;
    text-shadow: 0 1px 0 rgba(
      var(--color-mobile-flyer-kicker-shadow-rgb),
      var(--color-mobile-flyer-kicker-shadow-opacity)
    );
  }

  /* Discover something new. */
  html body .flyer-section .heading-script {
    color: var(--color-mobile-flyer-script);
    font-weight: 700;
    text-shadow: 0 1px 0 rgba(
      var(--color-mobile-flyer-script-shadow-rgb),
      var(--color-mobile-flyer-script-shadow-opacity)
    );
  }

  /* OUR SPACE */
  html body .space-section .section-kicker {
    color: var(--color-mobile-space-kicker);
    font-weight: 700;
    text-shadow: 0 1px 0 rgba(
      var(--color-mobile-space-kicker-shadow-rgb),
      var(--color-mobile-space-kicker-shadow-opacity)
    );
  }

  /* Breathe in the blue. */
  html body .space-section .heading-script {
    color: var(--color-mobile-space-script);
    font-weight: 700;
    text-shadow: 0 1px 0 rgba(
      var(--color-mobile-space-script-shadow-rgb),
      var(--color-mobile-space-script-shadow-opacity)
    );
  }

  /* A sweet memory of Okinawa. */
  html body .memory-copy .heading-script {
    color: var(--color-mobile-memory-script);
    font-weight: 700;
    text-shadow: 0 1px 0 rgba(
      var(--color-mobile-memory-script-shadow-rgb),
      var(--color-mobile-memory-script-shadow-opacity)
    );
  }

  /* SHOP INFORMATION */
  html body .access-section .section-kicker {
    color: var(--color-mobile-access-kicker);
    font-weight: 700;
    text-shadow: 0 1px 0 rgba(
      var(--color-mobile-access-kicker-shadow-rgb),
      var(--color-mobile-access-kicker-shadow-opacity)
    );
  }

  /* Meet us in Kokusai Street. */
  html body .access-section .heading-script {
    color: var(--color-mobile-access-script);
    font-weight: 700;
    text-shadow: 0 1px 0 rgba(
      var(--color-mobile-access-script-shadow-rgb),
      var(--color-mobile-access-script-shadow-opacity)
    );
  }
}

/* 09-L. Approved final layout compatibility */
.flyer-viewer {
  width: min(calc(100% - 40px), 1080px);
}

.flyer-viewer .flyer-card,
.flyer-viewer .flyer-card:hover {
  display: grid;
  width: 100%;
  height: auto;
  min-height: 0;
  padding: 0;
  place-items: center;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.flyer-viewer .flyer-card img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(78vh, 760px);
  object-fit: contain;
}

.hero-badge strong {
  color: #ffffff;
}

@media (max-width: 760px) {
  .flyer-viewer {
    width: calc(100% - 24px);
  }

  .flyer-viewer .flyer-card,
  .flyer-viewer .flyer-card:hover {
    height: auto;
    background: transparent;
  }

  .flyer-viewer .flyer-card img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 72svh;
    object-fit: contain;
  }

  .hero-copy::before {
    right: -8px;
    bottom: 88px;
    left: -8px;
    height: 330px;
    border: 0;
    background: linear-gradient(
      180deg,
      rgba(247, 250, 252, 0.04),
      rgba(247, 250, 252, 0.5)
    );
    box-shadow: none;
    backdrop-filter: none;
  }

  .hero-script {
    width: 100%;
    max-width: 100%;
    font-size: clamp(25px, 7.7vw, 32px);
    white-space: nowrap;
  }

  .hero-script::before,
  .hero h1 em::before {
    display: none;
    content: none;
  }

  .memory-strip {
    display: block;
    width: 100%;
    min-height: 0;
    overflow: hidden;
  }

  .memory-copy {
    width: 100%;
    min-width: 0;
    padding: 58px 20px;
  }

  .memory-copy .heading-script,
  .memory-copy h2,
  .memory-copy > p:last-child {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .memory-image {
    width: 100%;
    min-height: 0;
    aspect-ratio: auto;
    overflow: hidden;
    background: transparent;
  }

  .memory-image img {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    object-fit: contain;
  }
}

/* Final flyer sizing: uncropped and as large as the viewport allows. */
.flyer-viewer {
  width: min(96vw, 1440px);
}

.flyer-viewer .flyer-card,
.flyer-viewer .flyer-card:hover,
.flyer-viewer .flyer-card:focus-visible {
  width: 100%;
  height: auto;
  min-height: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.flyer-viewer .flyer-card img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 85svh;
  margin: auto;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 760px) {
  .flyer-viewer {
    width: calc(100vw - 12px);
  }

  .flyer-viewer .flyer-card img {
    max-height: 82svh;
  }
}
