* {
  box-sizing: border-box;
}

:root {
  --green-yellow: #b9de5e;
  --green-main: #00b484;
  --green-deep: #009b76;
  --green-dark: #0a7c62;
  --green-soft: #f8fce8;
  --green-soft-2: #eff8d7;
  --text: #333333;
  --gray: #666666;
  --white: #ffffff;
  --gradient: linear-gradient(180deg, #b9de5e 0%, #00b484 100%);
  --gradient-side: linear-gradient(90deg, #b9de5e 0%, #00b484 100%);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.8;
  background: #ffffff;
}

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

a {
  color: inherit;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid #eeeeee;
}

.header-inner {
  width: min(1380px, 96%);
  height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 390px;
  text-decoration: none;
}

.brand img {
  height: 72px;
  width: auto;
  object-fit: contain;
}

.brand-name {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.16;
}

.brand-main {
  color: var(--green-dark);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.brand-sub {
  color: #555555;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.brand-copy {
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-top: 3px;
  white-space: nowrap;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.global-nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
  color: #666666;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.global-nav a:hover {
  color: var(--green-deep);
}

.global-nav .nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 68px;
  min-width: 104px;
  padding: 0 26px;
  color: #ffffff !important;
  background: var(--gradient);
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}

.global-nav .nav-reserve {
  min-width: 270px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 30px;
  height: 2px;
  margin: 7px auto;
  background: var(--green-dark);
}

/* Main Visual */
.main-visual {
  width: 100%;
  background: var(--green-soft);
  overflow: hidden;
}

.mv-slider {
  position: relative;
  width: 100%;
  height: clamp(360px, 32vw, 520px);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(185, 222, 94, 0.18) 25%, transparent 25%) -18px 0/36px 36px,
    linear-gradient(225deg, rgba(0, 180, 132, 0.12) 25%, transparent 25%) -18px 0/36px 36px,
    var(--green-soft);
}

.mv-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1600ms ease, transform 4200ms ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.mv-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(248, 252, 232, 0.88), rgba(248, 252, 232, 0.34)),
    rgba(255, 255, 255, 0.08);
}

.mv-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.mv-content {
  position: relative;
  z-index: 2;
  width: min(1120px, 92%);
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.mv-small {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.mv-content h1 {
  margin: 0 0 20px;
  color: var(--green-main);
  font-size: clamp(58px, 10vw, 150px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.05em;
  text-shadow: 0 3px 0 rgba(255, 255, 255, 0.9);
}

.mv-copy {
  margin: 0;
  color: #333333;
  font-size: clamp(24px, 3.2vw, 46px);
  font-weight: 900;
  line-height: 1.5;
}

.mv-dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 4;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.mv-dots button {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
}

.mv-dots button.is-active {
  background: var(--green-main);
}

/* Common */
.section-heading {
  text-align: center;
  margin-bottom: 44px;
}

.section-heading.align-left {
  text-align: left;
  margin-bottom: 26px;
}

.section-heading p {
  margin: 0 0 6px;
  color: var(--green-deep);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.04em;
}

.section-heading h2 {
  margin: 0;
  color: #4c564f;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.split-section,
.menu-section,
.scene-section,
.voice-section,
.contact-section {
  position: relative;
  padding: 90px 0;
  background:
    linear-gradient(135deg, rgba(185, 222, 94, 0.12) 25%, transparent 25%) -16px 0/32px 32px,
    linear-gradient(225deg, rgba(0, 180, 132, 0.08) 25%, transparent 25%) -16px 0/32px 32px,
    var(--green-soft);
}

.about-section,
.service-section,
.flow-section,
.gallery-section,
.video-section {
  padding: 100px 0;
  background: #ffffff;
}

/* Split */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}

.split-card {
  background: #ffffff;
  padding: 42px 46px;
  box-shadow: 0 14px 30px rgba(0, 157, 120, 0.08);
}

.vertical-heading {
  margin-bottom: 28px;
}

.language-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 24px;
  margin-bottom: 28px;
}

.language-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.language-item img {
  width: 58px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.payment-icons img {
  width: 82px;
  height: 42px;
  object-fit: contain;
  padding: 6px;
  background: #ffffff;
  border: 1px solid #dfeec6;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

/* Buttons */
.button-stack {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.gradient-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 28px;
  color: #ffffff;
  background: var(--gradient);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 18px rgba(0, 157, 120, 0.18);
}

.contact-section .gradient-button {
  color: #ffffff !important;
  text-decoration: none;
}

.contact-section .gradient-button:link,
.contact-section .gradient-button:visited,
.contact-section .gradient-button:hover,
.contact-section .gradient-button:active {
  color: #ffffff !important;
}

.gradient-button:hover {
  opacity: 0.88;
}

/* Menu */
.menu-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-bottom: 48px;
  align-items: start;
}

.menu-image-grid img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(0, 157, 120, 0.08);
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.course-card {
  position: relative;
  background: #ffffff;
  border: 2px solid rgba(0, 180, 132, 0.16);
  padding: 30px 24px;
  min-height: 210px;
  box-shadow: 0 14px 30px rgba(0, 157, 120, 0.08);
}

.course-card h3 {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: 21px;
  line-height: 1.4;
}

.course-card p {
  margin: 0 0 18px;
}

.course-card strong {
  color: var(--green-deep);
  font-size: 26px;
  font-weight: 900;
}

.course-card.popular {
  border-color: var(--green-main);
}

.badge {
  position: absolute;
  top: -14px;
  right: 18px;
  background: var(--gradient-side);
  color: #ffffff;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 900;
}

.menu-buttons {
  width: min(620px, 100%);
  margin: 44px auto 0;
}

/* About */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.about-text h3 {
  margin: 0 0 22px;
  color: var(--green-dark);
  font-size: 30px;
  line-height: 1.45;
}

.about-text p {
  margin: 0 0 16px;
  font-size: 16px;
}

.about-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.about-photo-grid img {
  width: 100%;
  aspect-ratio: 520 / 696;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
}

/* Scene */
.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.scene-card {
  background: #ffffff;
  text-align: center;
  box-shadow: 0 14px 30px rgba(0, 157, 120, 0.08);
}

.scene-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center;
}


.scene-card p {
  margin: 0;
  padding: 24px 16px 28px;
  color: var(--green-dark);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.6;
}

/* Service */
.service-list {
  display: grid;
  gap: 38px;
}

.service-item {
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: 38px;
  align-items: center;
  background: var(--green-soft);
  padding: 28px;
}

.service-item.reverse {
  grid-template-columns: 1fr 42%;
}

.service-item.reverse img {
  order: 2;
}

.service-item.reverse .service-text {
  order: 1;
}

.service-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
}

.service-text h3 {
  margin: 0 0 16px;
  color: var(--green-dark);
  font-size: 27px;
  line-height: 1.45;
}

.service-text p {
  margin: 0;
  font-size: 16px;
}

/* Gallery */
.gallery-section {
  overflow: hidden;
}

.gallery-marquee {
  width: 100%;
  overflow: hidden;
}

.gallery-track {
  display: flex;
  width: max-content;
  animation: galleryScroll 48s linear infinite;
}

.gallery-track:hover {
  animation-play-state: paused;
}

.gallery-track img {
  width: 220px;
  aspect-ratio: 520 / 696;
  height: auto;
  object-fit: cover;
  object-position: center;
  margin-right: 18px;
  flex-shrink: 0;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

@keyframes galleryScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Voice */
.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.voice-card {
  background: #ffffff;
  padding: 30px 26px;
  border-left: 6px solid var(--green-main);
  box-shadow: 0 14px 30px rgba(0, 157, 120, 0.08);
}

.voice-card p {
  margin: 0;
}

/* Flow */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.flow-card {
  background: var(--green-soft);
  padding: 34px 28px;
  text-align: center;
  border: 1px solid rgba(0, 180, 132, 0.14);
}

.flow-card span {
  display: block;
  color: var(--green-deep);
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 12px;
}

.flow-card h3 {
  color: var(--green-dark);
  font-size: 22px;
  margin: 0 0 12px;
}

.flow-card p {
  margin: 0;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 34px;
  align-items: stretch;
}

.contact-info {
  background: #ffffff;
  padding: 34px;
  box-shadow: 0 14px 30px rgba(0, 157, 120, 0.08);
}

.contact-info table {
  width: 100%;
  border-collapse: collapse;
}

.contact-info th,
.contact-info td {
  border-bottom: 1px solid #e2efd0;
  padding: 18px 12px;
  text-align: left;
}

.contact-info th {
  width: 32%;
  color: var(--green-dark);
  font-weight: 900;
}

.contact-info a {
  color: var(--green-deep);
  font-weight: 800;
}

.contact-media {
  display: grid;
  gap: 18px;
  align-content: start;
}

.contact-shop-photo {
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(0, 157, 120, 0.08);
  overflow: hidden;
}

.contact-shop-photo img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center;
}

.map-frame {
  width: 100%;
  height: 420px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(0, 157, 120, 0.08);
  overflow: hidden;
}

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

/* Footer */
.site-footer {
  background: var(--green-dark);
  color: #ffffff;
  padding: 50px 20px 42px;
  text-align: center;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  margin-bottom: 24px;
  text-decoration: none;
}

.footer-logo img {
  height: 72px;
  width: auto;
  object-fit: contain;
}

.footer-inner nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.footer-inner nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
}

.footer-inner p {
  margin: 0;
  opacity: 0.88;
}

/* Bottom buttons */
.bottom-buttons {
  display: none;
}

/* Page top */
.page-top {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 1600;
  width: 48px;
  height: 48px;
  border: 1px solid #ffffff;
  background: rgba(20, 40, 34, 0.78);
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.page-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* Language switcher */
.lang-switcher {
  position: fixed;
  left: 22px;
  bottom: 24px;
  z-index: 1600;
}

.lang-switcher button {
  min-width: 118px;
  height: 48px;
  border: 0;
  background: #ffffff;
  color: #222222;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
  cursor: pointer;
}

.lang-options {
  position: absolute;
  left: 0;
  bottom: 56px;
  width: 190px;
  display: none;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}

.lang-options.is-open {
  display: block;
}

.lang-options a {
  display: block;
  padding: 11px 14px;
  text-decoration: none;
  color: #333333;
  border-bottom: 1px solid #eeeeee;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Smartphone */
@media screen and (max-width: 900px) {
  body {
    padding-bottom: 58px;
  }

  .header-inner {
    height: 76px;
  }

  .brand {
    min-width: auto;
    gap: 8px;
  }

  .brand img {
    height: 50px;
  }

  .brand-main {
    font-size: 20px;
  }

  .brand-sub {
    font-size: 11px;
  }

  .brand-copy {
    font-size: 10px;
    letter-spacing: 0.02em;
  }

  .menu-toggle {
    display: block;
  }

  .global-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    background: #ffffff;
    border-top: 1px solid #eeeeee;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.12);
  }

  .global-nav.is-open {
    display: flex;
  }

  .global-nav a {
    padding: 16px 24px;
    border-bottom: 1px solid #edf4df;
    text-align: center;
  }

  .global-nav .nav-button {
    width: 100%;
    min-width: 0;
    height: 56px;
  }

  .mv-slider {
    height: 340px;
  }

  .mv-slide {
    background-position: center;
  }

  .mv-content {
    align-items: center;
    text-align: center;
  }

  .mv-small {
    font-size: 18px;
  }

  .mv-content h1 {
    font-size: 64px;
  }

  .mv-copy {
    font-size: 24px;
  }

  .split-section,
  .menu-section,
  .scene-section,
  .voice-section,
  .about-section,
  .service-section,
  .flow-section,
  .contact-section,
  .gallery-section,
  .video-section {
    padding: 68px 0;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-heading.align-left {
    text-align: center;
  }

  .section-heading p {
    font-size: 18px;
  }

  .section-heading h2 {
    font-size: 32px;
  }

  .split-layout,
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .split-card {
    padding: 30px 22px;
  }

  .language-list,
  .course-grid,
  .scene-grid,
  .voice-grid,
  .flow-grid {
    grid-template-columns: 1fr;
  }

  .menu-image-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .about-photo-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-photo-grid img:first-child {
    grid-column: 1 / -1;
  }

.scene-card img {
    height: 300px;
    object-fit: cover;
    object-position: center;
  }

  .service-item,
  .service-item.reverse {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-item img {
  height: 260px;
}

  .service-item.reverse img,
  .service-item.reverse .service-text {
    order: unset;
  }

  .gallery-track img {
    width: 170px;
    margin-right: 14px;
  }

  .contact-info {
    padding: 22px 16px;
  }

  .contact-info th,
  .contact-info td {
    display: block;
    width: 100%;
    padding: 10px 4px;
  }

  .contact-info th {
    border-bottom: none;
    padding-bottom: 0;
  }

  .contact-media {
    gap: 16px;
  }

  .contact-shop-photo img {
    height: 220px;
  }

  .map-frame {
    height: 320px;
  }

  .button-stack {
    width: 100%;
  }

  .bottom-buttons {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
  }

  .bottom-buttons a {
    display: grid;
    place-items: center;
    height: 58px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 900;
    background: var(--gradient);
    border-right: 1px solid rgba(255, 255, 255, 0.32);
  }

  .page-top {
    right: 14px;
    bottom: 76px;
  }

  .lang-switcher {
    left: 12px;
    bottom: 72px;
  }
}

/* ==============================
   Video Section
   轮播下面的视频区域
   ============================== */

.video-section {
  padding: 90px 0;
  background: #ffffff;
}

.video-box {
  width: min(960px, 100%);
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  background: #000000;
  box-shadow: 0 16px 34px rgba(0, 157, 120, 0.16);
  overflow: hidden;
}

.video-box video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.video-note {
  width: min(960px, 100%);
  margin: 14px auto 0;
  color: #777777;
  font-size: 14px;
  text-align: center;
}

/* 手机端 */
@media screen and (max-width: 900px) {
  .video-section {
    padding: 68px 0;
  }

  .video-box {
    width: 100%;
  }

  .video-note {
    font-size: 13px;
    text-align: left;
  }
}

/* ==============================
   Custom Language Switcher
   ============================== */
.lang-options a {
  cursor: pointer;
}

.lang-options a:hover {
  background: var(--green-soft);
  color: var(--green-deep);
}
