:root {
  --deep: #062a4d;
  --abyss: #03172c;
  --ocean: #0f5fa8;
  --foam: #eef7fb;
  --white: #ffffff;
  --ink: #0b2440;
  --ink-soft: #4a5f75;
  --line: #dde6ee;
  --leaf: #5c9a3c;
  --leaf-dark: #4b8530;
  --leaf-pale: #edf6e5;

  --font-display: "Shippori Mincho B1", "Hiragino Mincho ProN", serif;
  --font-body: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;

  --gutter: clamp(16px, 5vw, 72px);
  --measure: 34em;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.9;
  letter-spacing: 0.04em;
  overflow-x: hidden;
  /* Break Japanese at phrase boundaries instead of mid-word (Chrome/Edge). */
  word-break: auto-phrase;
}

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--ocean);
  outline-offset: 4px;
  border-radius: 4px;
}

.pc { display: none; }
@media (min-width: 760px) { .pc { display: inline; } }

/* ---------- header (sits on the hero photo) ---------- */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px var(--gutter);
  color: var(--white);
  z-index: 10;
}

.wordmark { display: block; line-height: 0; }
.wordmark img { width: clamp(120px, 12vw, 160px); height: auto; }

.site-header nav { display: flex; gap: clamp(14px, 3vw, 36px); }
.site-header nav a {
  text-decoration: none;
  font-size: 0.875rem;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.site-header nav a:hover { opacity: 1; }

@media (max-width: 560px) {
  .site-header nav a:not(:last-child) { display: none; }
}

/* ---------- shared ---------- */
main > section:not(.hero) {
  padding: clamp(80px, 12vh, 140px) var(--gutter);
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  line-height: 1.5;
  letter-spacing: 0.06em;
  margin: 0 0 1.2em;
}

.button {
  display: inline-block;
  padding: 0.9em 1.8em;
  border-radius: 999px;
  background: var(--deep);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.2s;
}
.button:hover { background: var(--ocean); transform: translateY(-1px); }
.button--leaf { background: var(--leaf); }
.button--leaf:hover { background: var(--leaf-dark); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: center;
  padding: 140px var(--gutter) 180px;
  color: var(--white);
  overflow: hidden;
  /* Left-side shade keeps the slogan legible over the bright surface light. */
  background:
    linear-gradient(90deg, rgba(3, 23, 44, 0.45) 0%, rgba(3, 23, 44, 0) 60%),
    url("assets/ocean-hero.jpg") center 40% / cover no-repeat,
    var(--deep);
}
@media (max-width: 760px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(3, 23, 44, 0.3) 0%, rgba(3, 23, 44, 0.2) 100%),
      url("assets/ocean-hero.jpg") 60% 40% / cover no-repeat,
      var(--deep);
  }
}
.hero__inner { position: relative; max-width: 1200px; margin: 0 auto; width: 100%; }

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5.6vw, 5rem);
  line-height: 1.3;
  letter-spacing: 0.04em;
  margin: 0;
  text-shadow: 0 2px 30px rgba(3, 23, 44, 0.5);
}
.hero__title span { display: block; }
.hero__title span:last-child { padding-left: 1.2em; }
@media (max-width: 560px) {
  .hero__title { font-size: 1.875rem; }
  .hero__title span:last-child { padding-left: 0; }
}

.hero__lead {
  max-width: var(--measure);
  margin: 2.2em 0 2.8em;
  font-size: clamp(0.95rem, 1.4vw, 1.125rem);
  opacity: 0.92;
}
/* Keeps small text readable over the sparkles on the water surface. */
.hero__lead, .hero__cue { text-shadow: 0 1px 12px rgba(3, 23, 44, 0.9), 0 0 2px rgba(3, 23, 44, 0.8); }

.hero__cue {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  text-decoration: none;
  font-size: 0.875rem;
  opacity: 0.85;
}
.hero__cue::after {
  content: "";
  width: 1px;
  height: 48px;
  margin-left: 1.4em;
  background: linear-gradient(var(--white), transparent);
  animation: sink 2.4s ease-in-out infinite;
  transform-origin: top;
}
@keyframes sink {
  0%   { transform: scaleY(0); opacity: 1; }
  70%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

.hero__wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%;
  height: clamp(48px, 8vw, 120px);
  color: var(--white);
}

/* A few bubbles rising past the slogan. */
.hero__bubbles span {
  position: absolute;
  bottom: -20px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  animation: rise 12s linear infinite;
  opacity: 0;
}
.hero__bubbles span:nth-child(1) { left: 12%; animation-delay: 0s; }
.hero__bubbles span:nth-child(2) { left: 28%; width: 5px; height: 5px; animation-delay: 3s; }
.hero__bubbles span:nth-child(3) { left: 46%; width: 11px; height: 11px; animation-delay: 6s; }
.hero__bubbles span:nth-child(4) { left: 63%; width: 6px; height: 6px; animation-delay: 1.5s; }
.hero__bubbles span:nth-child(5) { left: 78%; animation-delay: 8s; }
.hero__bubbles span:nth-child(6) { left: 90%; width: 4px; height: 4px; animation-delay: 4.5s; }
@keyframes rise {
  0%   { transform: translateY(0); opacity: 0; }
  10%  { opacity: 1; }
  100% { transform: translateY(-95vh) translateX(20px); opacity: 0; }
}

/* ---------- products ---------- */
.product {
  display: grid;
  gap: 32px 64px;
  align-items: center;
  padding: clamp(32px, 5vw, 56px) 0;
}
@media (min-width: 860px) {
  .product { grid-template-columns: minmax(260px, 5fr) 7fr; }
}
.product + .product { border-top: 1px solid var(--line); }

.product__visual {
  aspect-ratio: 1;
  max-width: 360px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--leaf-pale);
}
.product__visual img {
  width: 62%;
  height: auto;
  animation: bob 5s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(-8px); } }

.product__kind { margin: 0; font-size: 0.875rem; color: var(--leaf); font-weight: 500; }
.product__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  letter-spacing: 0.08em;
  line-height: 1.3;
  margin: 0.1em 0 0.4em;
}
.product__summary { margin: 0 0 1.4em; font-size: 1.0625rem; max-width: var(--measure); }

.product__points {
  margin: 0 0 2.2em;
  padding: 0;
  list-style: none;
  max-width: var(--measure);
}
.product__points li {
  position: relative;
  padding-left: 1.4em;
  margin-bottom: 0.6em;
  color: var(--ink-soft);
  font-size: 0.9375rem;
}
.product__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--leaf);
}

/* ---------- about ---------- */
main > .about { border-top: 1px solid var(--line); }
.about__grid { display: grid; gap: 32px 72px; }
@media (min-width: 900px) {
  .about__grid { grid-template-columns: 7fr 5fr; align-items: start; }
}
.about__body { max-width: var(--measure); }
.about__body p { margin: 0 0 1.4em; color: var(--ink-soft); }

.values {
  list-style: none;
  padding: 0;
  margin: clamp(48px, 8vh, 96px) 0 0;
  display: grid;
  gap: 40px;
}
@media (min-width: 760px) { .values { grid-template-columns: repeat(3, 1fr); } }
.values li { border-top: 2px solid var(--ocean); padding-top: 22px; }
.values h3 { font-family: var(--font-display); font-size: 1.25rem; margin: 0 0 0.5em; }
.values p { margin: 0; font-size: 0.9375rem; color: var(--ink-soft); }

/* ---------- contact & footer ---------- */
main > section.contact { text-align: center; max-width: none; background: var(--foam); }
.contact p { color: var(--ink-soft); margin: 0 0 2.4em; }

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px var(--gutter);
  background: var(--abyss);
  color: rgba(255, 255, 255, 0.75);
}
.footer-logo { width: 112px; height: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
