/* kamomemon.com — brand cyan #0CC0DF + white */

:root {
  --cyan: #0cc0df;
  --cyan-deep: #0796b0;
  --cyan-ink: #00728a;
  --cyan-soft: #e9f8fb;
  --ink: #0f2a32;
  --ink-soft: #4b6168;
  --line: #d9eef2;
  --white: #ffffff;
  --footer: #0a2c35;

  --f-sans: "Outfit", "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", system-ui, sans-serif;
  --f-en: "Outfit", system-ui, sans-serif;

  --container: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 20px;
  --header-h: 76px;
  --section-y: clamp(84px, 11vw, 148px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.lang-en {
  line-height: 1.7;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--cyan);
  color: var(--white);
}

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

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

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  border-radius: 8px;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.narrow {
  max-width: calc(800px + var(--gutter) * 2);
}

/* ---------- logo ---------- */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  line-height: 1;
}

.logo-mark {
  width: 34px;
  height: 21px;
  overflow: visible;
}

.logo-mark path,
.cta-gull path,
.nf-gull path {
  fill: none;
  stroke: currentColor;
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logo-mark path {
  stroke: var(--cyan);
}

.logo-word {
  font-family: var(--f-en);
  font-weight: 500;
  font-size: 23px;
  letter-spacing: 0.01em;
}

.logo-light {
  color: var(--white);
}

.logo-light .logo-mark path {
  stroke: var(--white);
}

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), color 0.35s var(--ease);
}

.site-header.is-overlay:not([data-scrolled]) {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  color: var(--white);
}

.site-header.is-overlay:not([data-scrolled]) .logo {
  color: var(--white);
}

.site-header.is-overlay:not([data-scrolled]) .logo-mark path {
  stroke: var(--white);
}

body:not(:has(.is-overlay)) main {
  padding-top: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-inner .logo {
  margin-right: auto;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  position: relative;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.06em;
  padding: 6px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-header:is([data-scrolled], :not(.is-overlay)) .nav a::after {
  background: var(--cyan);
}

.lang {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-en);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.lang a {
  text-decoration: none;
  opacity: 0.55;
  padding: 4px 2px;
}

.lang a[aria-current="true"] {
  opacity: 1;
}

.lang a:hover {
  opacity: 1;
}

.lang span {
  opacity: 0.4;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

.menu-btn-lines,
.menu-btn-lines::before {
  display: block;
  width: 24px;
  height: 2px;
  margin-inline: auto;
  border-radius: 2px;
  background: currentColor;
}

.menu-btn-lines {
  position: relative;
  top: -4px;
}

.menu-btn-lines::before {
  content: "";
  position: relative;
  top: 8px;
}

/* drawer (mobile) */

.drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--cyan);
  color: var(--white);
  overflow-y: auto;
}

.drawer[hidden] {
  display: none;
}

.drawer-inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0 var(--gutter) 40px;
}

.drawer-top {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-close {
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: none;
  color: inherit;
  font: inherit;
  font-size: 14px;
  padding: 6px 16px;
  border-radius: 999px;
  cursor: pointer;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  margin: 32px 0 40px;
}

.drawer-nav a {
  font-size: 24px;
  font-weight: 500;
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.drawer .lang {
  font-size: 16px;
}

body.is-locked {
  overflow: hidden;
}

/* ---------- common type ---------- */

.label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-family: var(--f-en);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan-ink);
}

.label::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
}

.label-light {
  color: var(--white);
}

.label-light::before {
  background: var(--white);
}

.section {
  padding-block: var(--section-y);
}

.section-head {
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section-title {
  font-size: clamp(1.65rem, 3.3vw, 2.55rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.04em;
}

.lang-en .section-title {
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--cyan-ink);
  text-decoration: none;
}

.link-arrow span {
  transition: transform 0.35s var(--ease);
}

a:hover .link-arrow span,
.link-arrow:hover span {
  transform: translateX(5px);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 15px 30px;
  border-radius: 999px;
  background: var(--cyan);
  color: var(--white);
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}

.btn:hover {
  background: var(--cyan-deep);
}

.btn-light {
  background: var(--white);
  color: var(--cyan-ink);
}

.btn-light:hover {
  background: var(--ink);
  color: var(--white);
}

.btn-arrow {
  transition: transform 0.35s var(--ease);
}

.btn:hover .btn-arrow {
  transform: translateX(5px);
}

/* ---------- waves ---------- */

.waves {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: clamp(36px, 6vw, 80px);
  z-index: 2;
}

.wave-back {
  fill: rgba(255, 255, 255, 0.45);
}

.wave-front {
  fill: var(--white);
}

/* ---------- home hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.page-hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-media img,
.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media img {
  object-position: 70% 50%;
  transform: scale(1.06);
  transform-origin: left center;
  animation: hero-drift 18s var(--ease) forwards;
}

@media (min-width: 861px) {
  /* widen the photo so the gull sits to the right of the headline */
  .hero-media img {
    width: 122%;
    max-width: none;
    object-position: 50% 50%;
  }
}

@media (min-width: 861px) and (max-width: 1199px) {
  .hero-media img {
    object-position: 74% 50%;
  }
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 112, 136, 0.42), transparent 24%),
    linear-gradient(100deg, rgba(5, 132, 158, 0.82) 0%, rgba(12, 192, 223, 0.55) 42%, rgba(12, 192, 223, 0.05) 78%),
    linear-gradient(0deg, rgba(5, 110, 132, 0.35), transparent 40%);
}

@keyframes hero-drift {
  to {
    transform: scale(1);
  }
}

.hero-inner {
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 120px;
}

.hero-eyebrow {
  font-family: var(--f-en);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 26px;
}

.hero-title {
  font-size: clamp(2.1rem, 5vw, 4.1rem);
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: 0.04em;
  margin-bottom: 30px;
}

.lang-en .hero-title {
  font-family: var(--f-en);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-size: clamp(2.4rem, 6.4vw, 5.4rem);
}

.hero-title span {
  display: block;
  animation: rise 1.1s var(--ease) both;
}

.hero-title span:nth-child(2) {
  animation-delay: 0.12s;
}

.hero-title span:nth-child(3) {
  animation-delay: 0.24s;
}

.hero-lead {
  max-width: 36em;
  font-size: clamp(15px, 1.4vw, 17px);
  font-weight: 500;
  margin-bottom: 40px;
  animation: rise 1.1s 0.36s var(--ease) both;
}

.hero .btn {
  animation: rise 1.1s 0.48s var(--ease) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
}

.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(70px, 9vw, 120px);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--f-en);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  writing-mode: vertical-rl;
}

.scroll-cue::after {
  content: "";
  width: 1px;
  height: 64px;
  background: linear-gradient(var(--white) 50%, rgba(255, 255, 255, 0.3) 50%);
  background-size: 1px 200%;
  animation: cue 2.2s linear infinite;
}

@keyframes cue {
  from {
    background-position: 0 100%;
  }
  to {
    background-position: 0 -100%;
  }
}

/* ---------- page hero (subpages) ---------- */

.page-hero {
  position: relative;
  min-height: clamp(420px, 62vh, 600px);
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.page-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(5, 140, 166, 0.88), rgba(12, 192, 223, 0.66) 55%, rgba(12, 192, 223, 0.35));
}

.page-hero-inner {
  padding-top: calc(var(--header-h) + 36px);
  padding-bottom: 96px;
}

.page-title {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.06em;
  margin-bottom: 22px;
  animation: rise 1s var(--ease) both;
}

.lang-en .page-title {
  letter-spacing: -0.01em;
}

.page-lead {
  max-width: 40em;
  font-size: clamp(15px, 1.4vw, 17px);
  font-weight: 500;
  animation: rise 1s 0.12s var(--ease) both;
}

/* ---------- business cards ---------- */

.business-preview {
  background: var(--cyan-soft);
}

/* the hero now flows straight into the business cards, so blend the wave into their background */
.page-home .hero .wave-front {
  fill: var(--cyan-soft);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 36px);
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 1px 0 var(--line), 0 20px 40px -28px rgba(15, 42, 50, 0.35);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 1px 0 var(--line), 0 30px 50px -28px rgba(15, 42, 50, 0.45);
}

.card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.card:hover .card-media img {
  transform: scale(1.05);
}

.card-body {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 30px 28px 32px;
}

.card-no {
  position: absolute;
  top: -34px;
  right: 22px;
  font-family: var(--f-en);
  font-size: 56px;
  font-weight: 300;
  line-height: 1;
  color: var(--white);
  text-shadow: 0 2px 18px rgba(5, 110, 132, 0.4);
}

.card-en {
  font-family: var(--f-en);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan-ink);
  margin-bottom: 6px;
}

.card-title {
  font-size: 21px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 14px;
}

.card-text {
  color: var(--ink-soft);
  font-size: 15px;
  margin-bottom: 22px;
}

.card .link-arrow {
  margin-top: auto;
  font-size: 15px;
}

/* ---------- values (cyan band) ---------- */

.values-band {
  position: relative;
  background: var(--cyan);
  color: var(--white);
  overflow: hidden;
}

.values-band::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -60px;
  width: 520px;
  height: 312px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 24'%3E%3Cpath d='M3 17C8.5 7.5 15 6.5 20 14.5C25 6.5 31.5 7.5 37 17' fill='none' stroke='white' stroke-opacity='0.14' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
  pointer-events: none;
}

.values {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
}

.value {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.55);
}

.value-en {
  display: block;
  font-family: var(--f-en);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.value-title {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  font-weight: 500;
  margin-bottom: 12px;
}

.value p {
  font-weight: 500;
  font-size: 15.5px;
}

/* ---------- scene / mosaic ---------- */

.scene-grid {
  display: grid;
  grid-template-columns: 4fr 7fr;
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}

.scene-copy p:last-child {
  margin-top: 24px;
  color: var(--ink-soft);
}

.mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 2vw, 22px);
}

.mosaic-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
}

.mosaic-2,
.mosaic-4 {
  transform: translateY(clamp(24px, 4vw, 56px));
}

.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.mosaic-item:hover img {
  transform: scale(1.05);
}

.mosaic-item figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.6;
}

/* ---------- CTA ---------- */

.cta {
  padding-block: clamp(90px, 11vw, 140px);
  background:
    radial-gradient(1200px 400px at 85% 0%, rgba(255, 255, 255, 0.22), transparent 60%),
    linear-gradient(135deg, var(--cyan) 0%, #09a9c6 100%);
  color: var(--white);
  text-align: center;
}

.cta-gull {
  width: 64px;
  height: 38px;
  margin: 0 auto 26px;
  overflow: visible;
}

.cta-title {
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  font-weight: 500;
  line-height: 1.45;
  margin-bottom: 16px;
}

.cta-body {
  max-width: 34em;
  margin: 0 auto 38px;
  font-weight: 500;
}

/* ---------- business page ---------- */

.subnav {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: -28px;
}

.subnav a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 12px 30px -16px rgba(15, 42, 50, 0.35);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.subnav a span {
  font-family: var(--f-en);
  color: var(--cyan-ink);
}

.subnav a:hover {
  background: var(--cyan);
  color: var(--white);
}

.subnav a:hover span {
  color: var(--white);
}

.biz-alt {
  background: var(--cyan-soft);
}

.biz-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
}

.biz-alt .biz-media {
  order: 2;
}

.biz-media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.biz-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.biz-no {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--f-en);
  font-size: 54px;
  font-weight: 300;
  line-height: 1;
  color: var(--cyan);
  margin-bottom: 18px;
}

.biz-no span {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan-ink);
}

.biz-copy .section-title {
  margin-bottom: 20px;
}

.biz-summary {
  font-size: clamp(16px, 1.5vw, 18px);
  font-weight: 500;
  margin-bottom: 14px;
}

.biz-copy > p:not(.biz-no):not(.biz-summary) {
  color: var(--ink-soft);
  margin-bottom: 26px;
}

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

.checklist li {
  position: relative;
  padding: 12px 16px 12px 46px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.6;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  border-radius: 50%;
  background: var(--cyan)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.4L13 6.4' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 18px no-repeat;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 30px 26px 32px;
  border-radius: var(--radius);
  background: var(--cyan-soft);
}

.step-en {
  display: block;
  font-family: var(--f-en);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan-ink);
  margin-bottom: 10px;
}

.step h3 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 10px;
}

.step p {
  font-size: 15px;
  color: var(--ink-soft);
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -16px;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--cyan);
  border-right: 2px solid var(--cyan);
  transform: translateY(-50%) rotate(45deg);
}

/* ---------- about page ---------- */

.statement-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 110px);
}

.statement-title {
  font-size: clamp(1.45rem, 2.7vw, 2.1rem);
  font-weight: 500;
  line-height: 1.55;
  margin-bottom: 20px;
}

.lang-en .statement-title {
  line-height: 1.3;
}

.statement-item p:last-child {
  color: var(--ink-soft);
}

.wide-photo {
  height: clamp(260px, 46vw, 560px);
  overflow: hidden;
}

.wide-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-grid {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: clamp(32px, 6vw, 90px);
}

.profile {
  border-top: 2px solid var(--cyan);
}

.profile-row {
  display: grid;
  grid-template-columns: 9em 1fr;
  gap: 24px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
}

.lang-en .profile-row {
  grid-template-columns: 11em 1fr;
}

.profile dt {
  font-weight: 500;
  color: var(--cyan-ink);
}

.profile dd ul {
  display: grid;
  gap: 4px;
}

.profile dd li {
  position: relative;
  padding-left: 1.1em;
}

.profile dd li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

.profile a,
.doc a {
  color: var(--cyan-ink);
}

/* ---------- contact page ---------- */

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 32px);
  margin-bottom: clamp(20px, 3vw, 32px);
}

.contact-card {
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius);
  background: var(--cyan-soft);
}

.contact-en {
  font-family: var(--f-en);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan-ink);
  margin-bottom: 8px;
}

.contact-title {
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  font-weight: 500;
  margin-bottom: 12px;
}

.contact-card > p:not(.contact-en) {
  color: var(--ink-soft);
  margin-bottom: 26px;
}

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

.mail {
  font-family: var(--f-en);
  font-size: clamp(18px, 2.1vw, 23px);
  font-weight: 500;
  color: var(--cyan-ink);
  text-decoration: none;
  border-bottom: 2px solid var(--cyan);
  word-break: break-all;
}

.mail:hover {
  color: var(--ink);
}

.copy-btn {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
  font: inherit;
  font-size: 13px;
  padding: 5px 14px;
  border-radius: 999px;
  cursor: pointer;
}

.copy-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan-ink);
}

.office {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 24px;
  align-items: center;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.office .label {
  margin-bottom: 8px;
}

.office .contact-title {
  margin-bottom: 0;
}

.office-address {
  font-size: 17px;
}

.contact-note {
  margin-top: 28px;
  font-size: 14px;
  color: var(--ink-soft);
}

/* ---------- document (privacy) ---------- */

.doc-hero {
  padding: clamp(64px, 9vw, 110px) 0 clamp(28px, 4vw, 40px);
  background: var(--cyan-soft);
}

.doc-hero .page-title {
  margin-bottom: 0;
}

.doc {
  padding-top: clamp(48px, 6vw, 72px);
}

.doc-lead {
  font-size: 17px;
  margin-bottom: 40px;
}

.doc-section {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.doc-section h2 {
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 12px;
}

.doc-section p + ul,
.doc-section ul + p {
  margin-top: 10px;
}

.doc-section li {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 4px;
}

.doc-section li::before {
  content: "";
  position: absolute;
  left: 0.15em;
  top: 0.8em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

.doc-updated {
  margin-top: 32px;
  color: var(--ink-soft);
  font-size: 14px;
}

/* ---------- 404 ---------- */

.not-found {
  min-height: 70vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding-block: 80px;
}

.not-found .label {
  justify-content: center;
}

.not-found p:not(.label) {
  color: var(--ink-soft);
  margin-bottom: 36px;
}

.nf-gull {
  width: 72px;
  height: 44px;
  margin: 0 auto 24px;
  color: var(--cyan);
  overflow: visible;
  animation: glide 5s ease-in-out infinite;
}

@keyframes glide {
  50% {
    transform: translate(10px, -8px) rotate(-3deg);
  }
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--footer);
  color: rgba(255, 255, 255, 0.86);
  padding: clamp(64px, 8vw, 96px) 0 32px;
  font-size: 14.5px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 5fr 3fr 4fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-brand .logo-mark path {
  stroke: var(--cyan);
}

.footer-tagline {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-nav {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer-nav a,
.footer-info a {
  text-decoration: none;
}

.footer-nav a:hover,
.footer-info a:hover {
  color: var(--cyan);
}

.footer-info {
  display: grid;
  gap: 6px;
  align-content: start;
  color: rgba(255, 255, 255, 0.7);
}

.footer-info p:first-child {
  color: var(--white);
  font-weight: 500;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 26px;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--f-en);
}

/* ---------- reveal on scroll ---------- */

@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 1s var(--ease), transform 1s var(--ease);
    transition-delay: var(--d, 0ms);
  }

  [data-d="1"] {
    --d: 110ms;
  }

  [data-d="2"] {
    --d: 220ms;
  }

  [data-d="3"] {
    --d: 330ms;
  }

  .mosaic-2.reveal,
  .mosaic-4.reveal {
    transform: translateY(calc(clamp(24px, 4vw, 56px) + 28px));
  }

  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }

  .mosaic-2.reveal.is-visible,
  .mosaic-4.reveal.is-visible {
    transform: translateY(clamp(24px, 4vw, 56px));
  }
}

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

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
  .nav {
    gap: 22px;
  }

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

  .step:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: 64px;
  }

  .nav,
  .header-inner > .lang {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .logo-word {
    font-size: 21px;
  }

  .scene-grid,
  .biz-grid,
  .statement-grid,
  .company-grid,
  .contact-cards,
  .office {
    grid-template-columns: 1fr;
  }

  .cards,
  .values {
    grid-template-columns: 1fr;
  }

  .card-media {
    aspect-ratio: 16 / 10;
  }

  .biz-alt .biz-media {
    order: 0;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .scroll-cue {
    display: none;
  }

  /* photo on top, copy on a cyan field below so the gull never sits behind the text */
  .hero {
    align-items: flex-end;
    background: linear-gradient(180deg, var(--cyan) 62%, #0898b3 100%);
  }

  .hero-media {
    bottom: auto;
    height: 62%;
  }

  .hero-media img {
    object-position: 70% 50%;
  }

  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(5, 112, 136, 0.4), transparent 24%),
      linear-gradient(0deg, var(--cyan) 0%, rgba(12, 192, 223, 0) 45%);
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .hero-inner {
    padding-bottom: 96px;
  }

  .lang-ja .hero-title {
    font-size: 6.6vw;
  }

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

  .step::after {
    display: none;
  }

  .profile-row,
  .lang-en .profile-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

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

  .footer-bottom {
    flex-direction: column-reverse;
    align-items: flex-start;
  }

  .subnav {
    justify-content: flex-start;
  }

  .mosaic-item figcaption {
    font-size: 11.5px;
    left: 10px;
    bottom: 10px;
  }
}
