:root {
  --blue-950: #05243f;
  --blue-800: #07517b;
  --blue-600: #087f9f;
  --aqua: #48d3ca;
  --sand: #fff6df;
  --coral: #ff7a59;
  --sun: #ffd166;
  --ink: #0e2633;
  --muted: #6c7a80;
  --paper: #fffdf7;
  --line: rgba(14, 38, 51, 0.12);
  --shadow: 0 28px 70px rgba(5, 36, 63, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.8;
}

img {
  display: block;
  width: 100%;
  image-orientation: from-image;
}

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

.splash {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 30%, #0d6f99 0%, var(--blue-950) 58%);
  color: white;
  animation: splashOut 1.45s cubic-bezier(0.78, 0, 0.18, 1) 1.35s forwards;
}

.splash__mark {
  display: grid;
  gap: 0.3rem;
  text-align: center;
  letter-spacing: 0.08em;
  animation: markFloat 1.6s ease both;
}

.splash__mark span,
.eyebrow,
.kicker,
.section-label,
.tour-card p,
.scroll-cue,
.site-footer {
  font-family: "Outfit", "Noto Sans JP", sans-serif;
}

.splash__mark strong {
  font-size: clamp(2.2rem, 7vw, 5.8rem);
  line-height: 0.95;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(18px, 4vw, 58px);
  color: white;
  transition: background 0.5s ease, color 0.5s ease, box-shadow 0.5s ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 253, 247, 0.88);
  box-shadow: 0 16px 40px rgba(5, 36, 63, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.brand__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--aqua), var(--sun) 58%, var(--coral));
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.14);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 32px);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: white;
}

.hero__bg,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__bg {
  background-image: url("./assets-web/beach-blue.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.05);
  animation: heroZoom 10s ease forwards;
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(5, 36, 63, 0.78) 0%, rgba(5, 36, 63, 0.34) 48%, rgba(5, 36, 63, 0.08) 100%),
    linear-gradient(0deg, rgba(5, 36, 63, 0.34), transparent 42%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(920px, calc(100% - 36px));
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 110px 0 90px;
  margin-left: clamp(18px, 8vw, 120px);
}

.eyebrow,
.kicker {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 7.8rem);
  line-height: 1.04;
  font-weight: 900;
}

.hero__lead {
  max-width: 650px;
  margin: 28px 0 0;
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

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

.button--primary {
  color: var(--blue-950);
  background: var(--sun);
  box-shadow: 0 18px 42px rgba(255, 209, 102, 0.32);
}

.button--ghost {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.1);
}

.scroll-cue {
  position: absolute;
  right: clamp(18px, 4vw, 58px);
  bottom: 34px;
  z-index: 2;
  display: grid;
  gap: 10px;
  justify-items: center;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.scroll-cue i {
  width: 1px;
  height: 72px;
  background: linear-gradient(white, transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}

.section {
  position: relative;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(78px, 12vw, 150px) 0;
}

.section-label {
  position: absolute;
  top: clamp(68px, 11vw, 130px);
  left: -4px;
  margin: 0;
  color: rgba(8, 127, 159, 0.28);
  font-size: clamp(3rem, 10vw, 9rem);
  font-weight: 900;
  line-height: 0.8;
  writing-mode: vertical-rl;
  pointer-events: none;
}

.section-heading {
  margin-left: clamp(0px, 10vw, 130px);
  margin-bottom: 42px;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.7vw, 4.7rem);
  line-height: 1.12;
  font-weight: 900;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: clamp(34px, 6vw, 86px);
}

.intro__text {
  margin-left: clamp(0px, 10vw, 130px);
}

.intro__body {
  align-self: end;
}

.intro__body p {
  margin: 0;
  color: var(--muted);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 34px 0 0;
}

.stats div {
  padding: 18px 12px;
  border-top: 3px solid var(--aqua);
  background: white;
  box-shadow: 0 16px 50px rgba(5, 36, 63, 0.08);
}

.stats dt {
  font-family: "Outfit", sans-serif;
  font-size: 1.55rem;
  font-weight: 900;
}

.stats dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.tour-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.tour-card {
  min-height: 470px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow);
}

.tour-card img {
  height: 270px;
  object-fit: cover;
}

.tour-card div {
  padding: 24px;
}

.tour-card p {
  margin: 0 0 8px;
  color: var(--blue-600);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.tour-card h3 {
  margin: 0 0 10px;
  font-size: 1.32rem;
  line-height: 1.35;
}

.tour-card span {
  color: var(--muted);
  font-size: 0.94rem;
}

.course {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  min-height: 760px;
  background: var(--blue-950);
  color: white;
}

.course__image {
  min-height: 580px;
}

.course__image img,
.experience img {
  height: 100%;
  object-fit: cover;
}

.course__panel {
  position: relative;
  padding: clamp(54px, 7vw, 96px);
  align-self: center;
}

.course .section-label,
.experience .section-label,
.contact .section-label {
  position: static;
  margin-bottom: 22px;
  color: rgba(72, 211, 202, 0.24);
  writing-mode: horizontal-tb;
  font-size: clamp(3rem, 6vw, 6rem);
}

.timeline {
  display: grid;
  gap: 22px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 4px 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.timeline time {
  grid-row: span 2;
  color: var(--sun);
  font-family: "Outfit", sans-serif;
  font-weight: 900;
}

.timeline strong {
  font-size: 1.08rem;
}

.timeline span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px;
  gap: 16px;
}

.gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--blue-950);
}

.gallery-item--large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s ease;
}

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

.gallery-item figcaption {
  position: absolute;
  left: 18px;
  bottom: 14px;
  color: white;
  font-family: "Outfit", sans-serif;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.45);
}

.experience {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  background: var(--sand);
}

.experience img {
  min-height: 620px;
}

.experience__copy {
  padding: clamp(54px, 7vw, 96px);
  align-self: center;
}

.experience__copy p:last-child {
  color: var(--muted);
}

.contact {
  width: min(1180px, calc(100% - 36px));
  margin: clamp(76px, 10vw, 130px) auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: clamp(44px, 7vw, 78px);
  color: white;
  background:
    linear-gradient(90deg, rgba(5, 36, 63, 0.88), rgba(8, 127, 159, 0.72)),
    url("./assets-web/reef.jpg") center/cover;
  box-shadow: var(--shadow);
}

.contact h2 {
  max-width: 760px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(18px, 4vw, 58px);
  color: white;
  background: var(--blue-950);
}

.site-footer p {
  margin: 0;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.site-footer small {
  color: rgba(255, 255, 255, 0.68);
}

.page-hero {
  position: relative;
  min-height: 72svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: white;
  background-position: center;
  background-size: cover;
}

.page-hero--tours {
  background-image: url("./assets-web/beach-wide.jpg");
}

.page-hero--contact {
  background-image: url("./assets-web/bridge-ocean.jpg");
}

.page-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 36, 63, 0.82), rgba(5, 36, 63, 0.2)),
    linear-gradient(0deg, rgba(5, 36, 63, 0.65), transparent 58%);
}

.page-hero__content {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  padding: 150px 0 84px;
}

.page-hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 7rem);
  line-height: 1.05;
  font-weight: 900;
}

.page-hero p:last-child {
  max-width: 720px;
  margin: 24px 0 0;
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.plan-list {
  display: grid;
  gap: 28px;
  margin-left: clamp(0px, 10vw, 130px);
}

.plan-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow);
}

.plan-card img {
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.plan-card__body {
  padding: clamp(28px, 5vw, 58px);
}

.plan-card__tag {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 5px 12px;
  color: var(--blue-950);
  background: var(--sun);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.plan-card h3 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 3vw, 2.55rem);
  line-height: 1.2;
}

.plan-card p:not(.plan-card__tag) {
  margin: 0;
  color: var(--muted);
}

.plan-card ul {
  display: grid;
  gap: 8px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.plan-card li {
  padding-left: 18px;
  border-left: 3px solid var(--aqua);
  font-weight: 700;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-600);
  font-weight: 900;
}

.text-link::after {
  content: "";
  width: 36px;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}

.text-link:hover::after {
  width: 54px;
}

.contact-page {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 1.15fr);
  gap: clamp(34px, 6vw, 74px);
}

.contact-info {
  margin-left: clamp(0px, 10vw, 130px);
}

.contact-info p {
  color: var(--muted);
}

.contact-note {
  display: grid;
  gap: 6px;
  margin-top: 28px;
  padding: 22px;
  border-left: 5px solid var(--coral);
  background: var(--sand);
}

.contact-note span {
  color: var(--muted);
}

.inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: clamp(24px, 4vw, 44px);
  background: white;
  box-shadow: var(--shadow);
}

.inquiry-form label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.inquiry-form textarea {
  resize: vertical;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  outline: 3px solid rgba(72, 211, 202, 0.25);
  border-color: var(--blue-600);
}

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

.inquiry-form button {
  border: 0;
  cursor: pointer;
}

.reveal-section,
.reveal-item {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 1.25s cubic-bezier(0.16, 1, 0.3, 1), transform 1.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-item {
  transition-delay: var(--delay, 0s);
}

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

@keyframes splashOut {
  to {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.04);
  }
}

@keyframes markFloat {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}

@keyframes scrollLine {
  0%,
  100% {
    transform: scaleY(0.35);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
  }
}

@media (max-width: 980px) {
  .site-nav {
    display: none;
  }

  .hero__content {
    margin: 0 auto;
  }

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

  .tour-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .course__image {
    min-height: 430px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .plan-card,
  .contact-page {
    grid-template-columns: 1fr;
  }

  .plan-list,
  .contact-info {
    margin-left: 0;
  }

  .contact {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 16px 18px;
  }

  .brand {
    font-size: 0.92rem;
  }

  .hero__bg {
    background-position: center;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 15vw, 4.7rem);
  }

  .button {
    width: 100%;
  }

  .scroll-cue {
    display: none;
  }

  .section-label {
    position: static;
    margin-bottom: 22px;
    writing-mode: horizontal-tb;
    font-size: 3rem;
  }

  .section-heading,
  .intro__text {
    margin-left: 0;
  }

  .stats,
  .tour-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .tour-card {
    min-height: auto;
  }

  .gallery-item,
  .gallery-item--large {
    grid-column: auto;
    grid-row: auto;
    min-height: 300px;
  }

  .course__panel,
  .experience__copy {
    padding: 38px 22px;
  }

  .timeline li {
    grid-template-columns: 1fr;
  }

  .timeline time {
    grid-row: auto;
  }

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

  .page-hero {
    min-height: 64svh;
  }

  .page-hero__content {
    padding: 120px 0 56px;
  }

  .plan-card img {
    min-height: 260px;
  }

  .inquiry-form {
    grid-template-columns: 1fr;
  }
}

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

  .reveal-section,
  .reveal-item {
    opacity: 1;
    transform: none;
  }
}
