:root {
  --ink: #23312b;
  --muted: #65746d;
  --line: #dce8df;
  --bg: #f6faf4;
  --white: #fff;
  --green: #0f6d57;
  --green-dark: #064839;
  --mint: #dff4e8;
  --yellow: #f3c84b;
  --coral: #e9785f;
  --shadow: 0 22px 60px rgba(15, 67, 53, .14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

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

.banner {
  grid-column: 1 / -1;
  width: 100%;
}

.banner img {
  width: 100%;
  height: auto;
}

.site-header {
  position: sticky;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, .88);
  border-bottom: 1px solid rgba(15, 109, 87, .1);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: auto;
  height: 42px;
}

.site-nav {
  display: flex;
  gap: clamp(14px, 2vw, 28px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.site-nav a {
  text-decoration: none;
}

.hero {
  padding: 0;
  background: var(--white);
}

.hero-link,
.hero picture,
.hero-image {
  width: 100%;
}

.hero-link {
  display: block;
}

.hero-image {
  height: auto;
}

.hero-copy h1,
.section-head h2,
.center h2,
.message h2,
.entry-head h2,
.confirm-box h1 {
  margin: 0;
  color: var(--green-dark);
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 19px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
}

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

.btn,
.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.btn.primary,
.submit-btn {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 14px 30px rgba(15, 109, 87, .22);
}

.btn.ghost {
  color: var(--green-dark);
  background: var(--white);
  border-color: var(--line);
}

.hero-panel {
  display: grid;
  gap: 16px;
}

.job-card,
.hero-note,
.point-card,
.company-card,
.entry-form,
.confirm-box,
.message-box {
  background: var(--white);
  box-shadow: var(--shadow);
}

.job-card {
  padding: clamp(28px, 4vw, 46px);
  border-radius: 8px;
}

.job-label {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 4px 12px;
  color: var(--green-dark);
  background: var(--yellow);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.job-card h2 {
  margin: 0 0 22px;
  color: var(--green-dark);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.1;
}

.job-card dl,
.company-card dl,
.info-table dl {
  margin: 0;
}

.job-card dl div,
.company-card dl,
.info-table dl {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
}

dt {
  color: var(--green);
  font-weight: 900;
}

dd {
  margin: 0;
}

.hero-note {
  display: grid;
  gap: 6px;
  padding: 24px;
  border-left: 7px solid var(--green);
  border-radius: 8px;
}

.hero-note strong {
  color: var(--green-dark);
  font-size: 20px;
}

.hero-note span,
.lead {
  color: var(--muted);
}

.inner {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

section {
  padding: clamp(72px, 10vw, 128px) 0;
}

.split {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(30px, 6vw, 80px);
}

.section-head h2,
.center h2,
.message h2,
.entry-head h2 {
  font-size: clamp(30px, 4.4vw, 52px);
}

.text-flow p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 17px;
}

.points {
  background: var(--white);
}

.center {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

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

.point-card {
  overflow: hidden;
  padding: 0 30px 30px;
  border-radius: 8px;
  border-top: 6px solid var(--green);
}

.point-image {
  aspect-ratio: 4 / 3;
  margin: 0 -30px 26px;
  overflow: hidden;
  background: var(--mint);
}

.point-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.point-card span {
  color: var(--yellow);
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.point-card h3 {
  margin: 18px 0 12px;
  color: var(--green-dark);
  font-size: 22px;
  line-height: 1.45;
}

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

.movie-section {
  position: relative;
  width: 100%;
  padding: 0;
  color: var(--white);
  background:
    linear-gradient(rgba(6, 72, 57, .3), rgba(6, 72, 57, .92)),
    url("../img/6.webp") center / cover;
}

.movie-sticky {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.movie-sticky video {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

.movie-sticky::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(6, 72, 57, .82), rgba(6, 72, 57, .18) 68%);
}

.movie-overlay {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: min(820px, calc(100% - 36px));
  max-width: 820px;
  text-align: center;
  transform: translate(-50%, -50%);
}

.movie-overlay h2 {
  margin: 0;
  font-size: clamp(34px, 6vw, 72px);
  line-height: 1.13;
  letter-spacing: 0;
}

.movie-overlay .eyebrow,
.entry .eyebrow {
  color: var(--yellow);
}

.youtube-wrap {
  width: min(420px, calc(100% - 36px));
  margin: -160px auto 0;
  padding-bottom: 88px;
  position: relative;
  z-index: 2;
}

.youtube-wrap iframe {
  width: 100%;
  aspect-ratio: 9 / 16;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .35);
  background: #000;
}

.schedule {
  background: linear-gradient(180deg, var(--white), var(--bg));
}

.timeline {
  display: grid;
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.timeline time {
  color: var(--green);
  font-size: 28px;
  font-weight: 900;
}

.timeline p {
  margin: 0;
}

.message {
  background: var(--green-dark);
}

.message-box {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: clamp(26px, 5vw, 70px);
  padding: clamp(28px, 6vw, 70px);
  border-radius: 8px;
}

.message h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.25;
}

.message-content {
  min-width: 0;
}

.message-photo {
  aspect-ratio: 16 / 9;
  margin: 26px 0 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--mint);
}

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

.message-body p {
  margin: 0 0 18px;
  color: var(--muted);
}

.message-body .signature {
  margin: 28px 0 0;
  color: var(--green-dark);
  font-weight: 900;
  text-align: right;
}

.gallery {
  background: var(--white);
}

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

.gallery-item,
.gallery-placeholder {
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--mint);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-placeholder {
  display: grid;
  place-items: center;
  color: var(--green);
  border: 1px dashed rgba(15, 109, 87, .35);
  font-weight: 900;
}

.info-table,
.company-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.info-table dl,
.company-card dl {
  padding: 20px 26px;
}

.info-table a,
.company-card a {
  color: var(--green);
  font-weight: 900;
}

.map-section {
  padding-bottom: 0;
  background: var(--white);
}

.map-frame {
  width: 100%;
  height: clamp(360px, 52vw, 560px);
  margin-top: 14px;
  overflow: hidden;
  background: var(--mint);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.entry {
  color: var(--white);
  background: var(--green-dark);
}

.entry-head {
  max-width: 760px;
  margin-bottom: 32px;
}

.entry-head h2 {
  color: var(--white);
}

.entry-head p {
  color: rgba(255, 255, 255, .82);
}

.entry-tel-cta {
  display: grid;
  gap: 8px;
  width: min(520px, 100%);
  margin-top: 22px;
  padding: 22px 24px;
  color: var(--green-dark);
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, .18);
  scroll-margin-top: 96px;
}

.entry-tel-cta span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.entry-tel-cta a {
  color: var(--green);
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.entry-tel-cta small {
  color: var(--muted);
  font-weight: 700;
}

.entry-form {
  padding: clamp(24px, 5vw, 54px);
  color: var(--ink);
  border-radius: 8px;
}

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

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

label span {
  justify-self: start;
  margin-left: 6px;
  padding: 1px 7px;
  color: var(--white);
  background: var(--coral);
  border-radius: 999px;
  font-size: 12px;
}

.wide {
  grid-column: 1 / -1;
}

input,
textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfdfb;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-weight: 500;
}

textarea {
  resize: vertical;
}

em {
  color: #d23b28;
  font-size: 13px;
  font-style: normal;
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.submit-btn {
  width: min(420px, 100%);
  margin: 30px auto 0;
  border: 0;
}

.site-footer {
  padding: 36px 18px;
  color: rgba(255, 255, 255, .82);
  background: #043329;
  text-align: center;
}

.site-footer p {
  margin: 0 0 6px;
  font-weight: 900;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}

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

.subpage {
  background: var(--green-dark);
}

.confirm-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 40px 18px;
}

.confirm-box {
  width: min(840px, 100%);
  padding: clamp(26px, 5vw, 54px);
  border-radius: 8px;
}

.confirm-box h1 {
  font-size: clamp(30px, 5vw, 48px);
}

.confirm-box p {
  color: var(--muted);
}

.confirm-list {
  display: grid;
  grid-template-columns: 180px 1fr;
  margin: 28px 0 0;
  border-top: 1px solid var(--line);
}

.confirm-list dt,
.confirm-list dd {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.thanks-box {
  text-align: center;
}

.thanks-box .btn {
  margin-top: 22px;
}

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

  .hero,
  .split,
  .point-grid,
  .message-box {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  body {
    line-height: 1.75;
  }

  .brand span:last-child {
    font-size: 14px;
  }

  .hero-actions,
  .confirm-actions {
    flex-direction: column;
  }

  .btn,
  .submit-btn {
    width: 100%;
  }

  .job-card dl div,
  .info-table dl,
  .company-card dl,
  .timeline li,
  .confirm-list {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .timeline {
    gap: 10px;
  }

  .timeline time {
    font-size: 24px;
  }

  .movie-sticky,
  .movie-sticky video {
    min-height: 78vh;
    height: 78vh;
  }

  .movie-sticky::after {
    background: linear-gradient(0deg, rgba(6, 72, 57, .82), rgba(6, 72, 57, .2));
  }

  .youtube-wrap {
    margin-top: -80px;
  }

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

  .entry-form {
    padding: 22px 16px;
  }

  .confirm-list dt {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .confirm-list dd {
    padding-top: 0;
  }
}
