:root {
  --base: #f7fbfa;
  --paper: #ffffff;
  --ink: #24312e;
  --muted: #5f716d;
  --line: rgba(74, 89, 84, 0.18);
  --web-pale: #a9d4d9;
  --web-main: #038c8c;
  --web-action: #007575;
  --web-ink: #4a5954;
  --web-yellow: #f2c335;
  --web-brown: #8c4f2b;
  --nail-pale: #f8edf2;
  --nail-main: #d9bad1;
  --nail-blue: #bac2d9;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  overflow-x: clip;
  color: var(--ink);
  font-family: "Zen Kaku Gothic New", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--base);
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--web-yellow);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 4px;
  color: #fff;
  background: var(--web-action);
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(3, 140, 140, 0.18);
  background: rgba(247, 251, 250, 0.9);
  backdrop-filter: blur(14px);
}

.site-brand {
  display: grid;
  gap: 2px;
  text-decoration: none;
}

.site-brand__main {
  color: var(--web-ink);
  font-size: clamp(0.9rem, 1.3vw, 1.08rem);
  font-weight: 700;
  line-height: 1.2;
}

.site-brand__sub {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.menu-toggle {
  display: none;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: var(--web-ink);
  font-size: 0.92rem;
  font-weight: 700;
}

.global-nav > ul {
  display: contents;
  margin: 0;
  padding: 0;
  list-style: none;
}

.global-nav a {
  position: relative;
  text-decoration: none;
  transition: color 0.2s ease;
}

.global-nav a:not(.global-nav__cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--web-main);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.22s ease;
}

.global-nav a:not(.global-nav__cta):hover::after,
.global-nav a:not(.global-nav__cta):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.global-nav__cta {
  min-height: 42px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--web-main);
  border-radius: 6px;
  color: #fff;
  background: var(--web-action);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.global-nav__cta:hover {
  background: var(--web-ink);
  transform: translateY(-1px);
}

@media (max-width: 1100px) {
  body.nav-open {
    overflow: hidden;
  }

  .site-header {
    min-height: 68px;
    padding: 11px 18px;
    align-items: center;
    flex-direction: row;
    gap: 16px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(3, 140, 140, 0.28);
    border-radius: 4px;
    color: var(--web-action);
    background: rgba(255, 255, 255, 0.82);
    cursor: pointer;
  }

  .menu-toggle .material-symbols-outlined {
    font-size: 1.65rem;
  }

  .global-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    width: auto;
    max-height: 0;
    padding: 0 20px;
    display: grid;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    visibility: hidden;
    border-bottom: 1px solid var(--line);
    color: var(--web-ink);
    background: rgba(247, 251, 250, 0.98);
    box-shadow: 0 22px 44px rgba(74, 89, 84, 0.14);
    opacity: 0;
    transform: translateY(-8px);
    transition: max-height 0.32s ease, padding 0.32s ease, opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  }

  .global-nav.is-open {
    max-height: calc(100svh - 68px);
    padding-block: 8px 18px;
    overflow-y: auto;
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .global-nav a {
    min-height: 50px;
    padding: 13px 4px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(74, 89, 84, 0.12);
    white-space: normal;
  }

  .global-nav a:not(.global-nav__cta)::after {
    display: none;
  }

  .global-nav__cta {
    min-height: 48px;
    margin-top: 10px;
    padding-inline: 18px;
    justify-content: center;
    border-bottom: 1px solid var(--web-main) !important;
  }
}

.hero {
  position: relative;
  z-index: 0;
  min-height: min(700px, calc(100svh - 96px));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-bottom: 1px solid rgba(3, 140, 140, 0.18);
  background:
    radial-gradient(circle at 50% 0%, rgba(169, 212, 217, 0.54), transparent 42%),
    var(--base);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 130px;
  background: linear-gradient(180deg, rgba(247, 251, 250, 0), var(--base));
  pointer-events: none;
}

.hero__image {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.88) 0%, rgba(247, 251, 250, 0.7) 25%, rgba(247, 251, 250, 0.22) 48%, rgba(247, 251, 250, 0.02) 74%),
    linear-gradient(180deg, rgba(169, 212, 217, 0.1), rgba(247, 251, 250, 0.24));
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
  will-change: transform;
}

.hero__inner {
  position: relative;
  z-index: 3;
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(46px, 8vh, 78px) 0 34px;
  text-align: center;
}

.section-kicker {
  margin: 0 0 16px;
  color: var(--web-main);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
}

.hero h1 {
  width: min(15em, 100%);
  margin: 0 auto;
  font-size: clamp(2rem, 3.5vw, 3.35rem);
  line-height: 1.24;
  letter-spacing: 0;
  color: var(--web-ink);
}

.hero__highlight {
  padding-inline: 0.04em;
  background: linear-gradient(transparent 78%, rgba(242, 195, 53, 0.42) 78%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hero__lead {
  width: min(40em, 100%);
  margin: 18px auto 0;
  color: var(--web-ink);
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  line-height: 1.9;
  font-weight: 500;
}

.hero__actions,
.course-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero__actions {
  margin-top: 34px;
}

.button {
  min-height: 50px;
  padding: 13px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--web-main);
  border-radius: 6px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

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

.button--primary {
  color: #fff;
  background: var(--web-action);
  box-shadow: 0 12px 24px rgba(3, 140, 140, 0.18);
}

.button--outline {
  color: var(--web-action);
  background: rgba(255, 255, 255, 0.72);
}

.hero__facts {
  width: min(590px, 100%);
  margin: clamp(72px, 20vh, 170px) auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(3, 140, 140, 0.16);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.hero__facts div {
  padding: 14px 16px;
  border-right: 1px solid rgba(3, 140, 140, 0.16);
}

.hero__facts div:last-child {
  border-right: 0;
}

.hero__facts dt {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.hero__facts dd {
  margin: 4px 0 0;
  color: var(--web-action);
  font-size: 0.98rem;
  font-weight: 700;
}

.quick-links {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 40px));
  margin: -28px auto 0;
}

.quick-links__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 16px 38px rgba(74, 89, 84, 0.1);
}

.quick-links a {
  position: relative;
  min-height: 106px;
  padding: 24px 64px 22px 26px;
  display: grid;
  align-content: center;
  gap: 7px;
  border-top: 4px solid var(--web-main);
  border-right: 1px solid var(--line);
  color: var(--web-ink);
  background: rgba(255, 255, 255, 0.96);
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.quick-links a:hover {
  background: rgba(169, 212, 217, 0.12);
}

.quick-links a:last-child {
  border-right: 0;
}

.quick-links .quick-link--visit {
  border-top-color: var(--web-yellow);
}

.quick-links .quick-link--nail {
  border-top-color: var(--web-brown);
}

.quick-link__eyebrow {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.quick-links strong {
  color: var(--web-ink);
  font-size: clamp(1.05rem, 1.6vw, 1.32rem);
}

.quick-link__arrow {
  position: absolute;
  top: 50%;
  right: 22px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(3, 140, 140, 0.3);
  border-radius: 50%;
  color: var(--web-action);
  background: #fff;
  font-size: 1.2rem;
  transform: translateY(-50%);
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.quick-links a:hover .quick-link__arrow,
.quick-links a:focus-visible .quick-link__arrow {
  color: #fff;
  background: var(--web-action);
  transform: translate(3px, -50%);
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(74px, 9vw, 120px) 0;
}

.section__head {
  width: min(680px, 100%);
  margin-bottom: 42px;
}

.section-title {
  position: relative;
  margin: 0;
  padding: 42px 0 24px;
  --title-en-x: -0.28em;
  --title-en-y: 0;
  color: var(--web-ink);
  font-size: clamp(1.9rem, 3.1vw, 2.72rem);
  line-height: 1.25;
  text-align: left;
}

.section-title span {
  position: relative;
  z-index: 2;
}

.section-title::before {
  content: attr(data-en);
  position: absolute;
  top: var(--title-en-y);
  left: var(--title-en-x);
  z-index: 1;
  color: rgba(242, 195, 53, 0.24);
  font-family: "Allura", "Zen Kaku Gothic New", cursive;
  font-size: clamp(4rem, 8vw, 6.6rem);
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}

.section-title--compact {
  padding: 34px 0 10px;
  text-align: left;
}

.section-title--compact::before {
  font-size: clamp(2.8rem, 5.6vw, 4.4rem);
}

.section-title--left {
  padding: 36px 0 12px;
  text-align: left;
}

.section-title--left::before {
  font-size: clamp(2.8rem, 5.6vw, 4.4rem);
}

.reservation-band h2,
.access h2 {
  margin: 0;
  color: var(--web-ink);
  font-size: clamp(1.9rem, 3.4vw, 3.1rem);
  line-height: 1.22;
}

.section__head p,
.reservation-band p,
.access p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.9;
}

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

.course-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(3, 140, 140, 0.18);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 14px 34px rgba(74, 89, 84, 0.06);
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.course-card:hover {
  border-color: rgba(3, 140, 140, 0.3);
  box-shadow: 0 30px 64px rgba(74, 89, 84, 0.18);
  transform: translate(-7px, -10px);
}

.course-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  height: 8px;
  background: linear-gradient(90deg, var(--web-main), var(--web-yellow));
  pointer-events: none;
}

.course-card--nail::before {
  background: linear-gradient(90deg, var(--web-brown), var(--web-yellow));
}

.course-card__image {
  position: relative;
  margin: calc(clamp(24px, 3vw, 34px) * -1) calc(clamp(24px, 3vw, 34px) * -1) 24px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: rgba(169, 212, 217, 0.2);
}

.course-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-card__image figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 16px clamp(20px, 3vw, 30px) 18px;
  color: #fff;
  background: rgba(74, 89, 84, 0.78);
  backdrop-filter: blur(4px);
}

.course-card--nail .course-card__image figcaption {
  background: rgba(140, 79, 43, 0.68);
}

.course-card__label {
  color: var(--web-yellow);
  font-size: 0.78rem;
  font-weight: 700;
}

.course-card--nail .course-card__label {
  color: #f2e6a7;
}

.course-card h3 {
  margin: 6px 0 0;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.35;
  color: #fff;
}

.course-card p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.85;
}

.course-card .course-card__recruitment {
  width: fit-content;
  margin: 18px 0 0;
  padding: 5px 9px;
  border: 1px solid rgba(3, 140, 140, 0.28);
  border-radius: 4px;
  color: var(--web-action);
  background: rgba(209, 227, 230, 0.3);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.4;
}

.course-card .course-card__recruitment--upcoming { color: #715d20; border-color: rgba(113, 93, 32, 0.24); background: rgba(242, 230, 167, 0.38); }
.course-card .course-card__recruitment--closed,
.course-card .course-card__recruitment--in-progress { color: var(--muted); border-color: rgba(74, 89, 84, 0.2); background: rgba(74, 89, 84, 0.06); }

.course-card__actions .button--disabled {
  color: var(--muted);
  border-color: rgba(74, 89, 84, 0.2);
  background: rgba(74, 89, 84, 0.08);
  box-shadow: none;
  cursor: default;
}

.course-card__actions {
  width: 100%;
  margin-top: auto;
  padding-top: 8px;
  justify-content: space-between;
  gap: 28px;
}

.course-card__actions .text-link {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 2px;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 2px no-repeat;
}

.course-card__actions .text-link::after {
  content: "→";
}

.course-meta {
  margin: 26px 0;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(3, 140, 140, 0.16);
}

.course-meta div {
  padding: 13px 0;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  border-bottom: 1px solid rgba(3, 140, 140, 0.16);
}

.course-meta dt {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.course-meta dd {
  margin: 0;
  color: var(--web-ink);
  font-weight: 700;
  line-height: 1.55;
}

.text-link {
  color: var(--web-brown);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.strengths {
  position: relative;
  isolation: isolate;
  width: 100%;
  padding-inline: max(20px, calc((100% - 1120px) / 2));
  background: linear-gradient(180deg, rgba(209, 227, 230, 0.52), rgba(242, 235, 240, 0.45));
  overflow: hidden;
}

.strengths::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: min(-260px, -16vw);
  bottom: -170px;
  width: min(820px, 78vw);
  aspect-ratio: 1916 / 821;
  background: url("../img/decor/wave-pink.webp") center / contain no-repeat;
  opacity: 0.48;
  pointer-events: none;
}

.strengths > * {
  position: relative;
  z-index: 1;
}

.strength-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.strength-list {
  display: grid;
  gap: 28px;
}

.strength-item {
  position: relative;
  padding: 0 0 0 34px;
  border-left: 1px solid rgba(3, 140, 140, 0.22);
}

.strength-item::before {
  content: "";
  position: absolute;
  top: 0.4em;
  left: -5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--web-main);
  box-shadow: 0 0 0 6px rgba(169, 212, 217, 0.42);
}

.strength-item__number {
  display: inline-block;
  color: var(--web-brown);
  font-family: "Allura", "Zen Kaku Gothic New", cursive;
  font-size: 2.1rem;
  line-height: 1;
}

.strength-item h3 {
  margin: 6px 0 0;
  color: var(--web-ink);
  font-size: clamp(1.34rem, 2vw, 1.8rem);
  line-height: 1.36;
}

.strength-item mark {
  padding: 0 0.08em 0.08em;
  color: inherit;
  background:
    linear-gradient(transparent 64%, rgba(242, 195, 53, 0.5) 64%);
}

.strength-item p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.85;
}

.strength-photo {
  position: relative;
  margin: 0;
  min-height: 360px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(74, 89, 84, 0.16);
}

.strength-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(3, 140, 140, 0.06), rgba(242, 195, 53, 0.08)),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(74, 89, 84, 0.12));
  pointer-events: none;
}

.strength-photo img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.training-system {
  position: relative;
  isolation: isolate;
  width: 100%;
  padding-inline: max(20px, calc((100% - 1120px) / 2));
  overflow: hidden;
  background: var(--web-ink);
}

.training-system::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.training-system__bg {
  position: absolute;
  inset: -42px 0;
  z-index: 0;
  background: url("../img/hello-training.webp") center / cover no-repeat;
  opacity: 0.58;
  transform: scale(1.06);
  filter: saturate(0.82);
  pointer-events: none;
  will-change: transform;
}

.training-system::after {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.24)),
    rgba(0, 0, 0, 0.12);
}

.training-system__body {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(360px, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
  padding: clamp(28px, 4vw, 46px);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: 0 22px 58px rgba(74, 89, 84, 0.18);
  backdrop-filter: blur(8px);
}

.training-system__content {
  position: relative;
}

.training-system .section-title {
  color: var(--web-ink);
}

.training-system .section-title::before {
  color: rgba(242, 195, 53, 0.28);
}

.training-system__logo {
  width: 74px;
  height: 74px;
  object-fit: contain;
}

.training-system p {
  margin: 10px 0 0;
  color: var(--web-ink);
  font-size: clamp(1rem, 1.35vw, 1.08rem);
  line-height: 2;
}

.training-system mark {
  padding: 0 0.08em 0.1em;
  color: inherit;
  font-weight: 700;
  background:
    linear-gradient(transparent 62%, rgba(242, 195, 53, 0.58) 62%);
}

.training-system__link {
  margin-top: 28px;
  border-color: var(--web-action);
  color: var(--web-action);
  background: rgba(255, 255, 255, 0.72);
}

.training-system__image {
  margin: 0;
  opacity: 0.92;
  filter: drop-shadow(0 20px 36px rgba(0, 0, 0, 0.18));
}

.training-system__image img {
  display: block;
  width: 100%;
  height: auto;
}

.flow {
  position: relative;
  isolation: isolate;
  display: block;
  overflow: hidden;
}

.flow .section__head {
  width: min(920px, 100%);
}

.flow::before,
.flow::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
}

.flow::before {
  top: 18px;
  right: max(-180px, -15vw);
  width: min(640px, 58vw);
  aspect-ratio: 1916 / 821;
  background-image: url("../img/decor/wave-aqua.webp");
  opacity: 0.32;
  animation: flow-wave-aqua 18s ease-in-out infinite alternate;
}

.flow::after {
  left: max(-220px, -18vw);
  bottom: -70px;
  width: min(560px, 54vw);
  aspect-ratio: 1916 / 821;
  background-image: url("../img/decor/wave-pink.webp");
  opacity: 0.26;
  animation: flow-wave-pink 22s ease-in-out infinite alternate;
}

.flow > * {
  position: relative;
  z-index: 1;
}

.flow-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
}

.flow-step {
  position: relative;
  min-height: 176px;
  padding: 40px 12px 20px;
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
  justify-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font-weight: 700;
  text-align: center;
  box-shadow: 0 14px 32px rgba(74, 89, 84, 0.06);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.flow-step:hover {
  border-color: rgba(3, 140, 140, 0.3);
  box-shadow: 0 28px 56px rgba(74, 89, 84, 0.18);
  transform: translate(-6px, -8px);
}

.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -14px;
  width: 0;
  height: 0;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 12px solid var(--web-yellow);
  border-right: 0;
  transform: translateY(-50%);
  filter: drop-shadow(0 5px 8px rgba(74, 89, 84, 0.14));
}

.flow-step__count {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 72px;
  padding: 8px 12px;
  display: inline-grid;
  place-items: center;
  border-radius: 7px 0 7px 0;
  color: var(--web-ink);
  background: var(--web-yellow);
  font-size: 0.78rem;
  line-height: 1;
  white-space: nowrap;
  box-shadow: none;
}

.flow-step__icon {
  width: 58px;
  height: 58px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: var(--web-main);
  background: rgba(169, 212, 217, 0.34);
  font-size: 2rem;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.flow-step__text {
  min-height: 3.4em;
  display: grid;
  place-items: center;
  color: var(--web-ink);
  font-size: clamp(0.92rem, 1.05vw, 1.04rem);
  line-height: 1.55;
}

@keyframes flow-wave-aqua {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(-18px, 10px, 0) scale(1.025);
  }
}

@keyframes flow-wave-pink {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(16px, -8px, 0) scale(1.02);
  }
}

.reservation-band {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(34px, 5vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(180, 217, 213, 0.4), rgba(242, 230, 167, 0.48));
}

.reservation-band div {
  width: min(680px, 100%);
}

.access {
  position: relative;
  isolation: isolate;
  width: 100%;
  padding-inline: max(20px, calc((100% - 1120px) / 2));
  display: block;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(169, 212, 217, 0.24), rgba(255, 255, 255, 0.86)),
    var(--base);
}

.access__head {
  width: min(680px, 100%);
  margin-bottom: 26px;
}

.access__head .access__lead {
  margin-top: 12px;
}

.access__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(330px, 0.72fr);
  gap: 0;
  align-items: stretch;
}

.access__map {
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 8px 0 0 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 42px rgba(74, 89, 84, 0.09);
  padding: 0;
  overflow: hidden;
  aspect-ratio: auto;
  min-height: 100%;
}

.access__map iframe {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 100%;
  display: block;
}

.access__details {
  overflow: hidden;
  border: 1px solid var(--line);
  border-left: 0;
  border-radius: 0 8px 8px 0;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 42px rgba(74, 89, 84, 0.09);
}

.access__lead {
  margin: 0;
  color: var(--web-ink);
  font-weight: 700;
  line-height: 1.85;
}

.access__photo {
  margin: 0;
  padding: 0;
  overflow: hidden;
  position: relative;
  display: grid;
  background: rgba(255, 255, 255, 0.96);
}

.access__photo img {
  width: 100%;
  display: block;
  order: 1;
  aspect-ratio: 16 / 8;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.access-photo-info {
  position: relative;
  inset: auto;
  order: 2;
  width: auto;
  padding: 16px 18px;
  display: grid;
  align-content: center;
  gap: 10px;
  border-top: 1px solid rgba(3, 140, 140, 0.16);
  border-left: 0;
  color: var(--web-ink);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: none;
}

.access-photo-info p {
  margin: 0;
  font-size: clamp(0.78rem, 1vw, 0.92rem);
  font-weight: 700;
  line-height: 1.65;
}

.access-photo-info a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.access-photo-info__name {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(3, 140, 140, 0.16);
  font-size: clamp(0.9rem, 1.2vw, 1.05rem) !important;
  line-height: 1.45 !important;
}

.access__photo figcaption {
  position: relative;
  inset: auto;
  order: 3;
  width: auto;
  margin: 0;
  padding: 14px 18px;
  display: grid;
  gap: 6px;
  border: 0;
  border-top: 1px solid rgba(3, 140, 140, 0.16);
  border-radius: 0;
  color: var(--web-ink);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: none;
}

.access-photo-points span {
  padding-left: 12px;
  border-left: 3px solid var(--web-main);
  font-size: clamp(0.76rem, 0.95vw, 0.88rem);
  font-weight: 700;
  line-height: 1.35;
}

.site-footer {
  position: relative;
  color: rgba(255, 255, 255, 0.78);
  background: var(--web-ink);
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer__inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(38px, 4.5vw, 52px) 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: 15px;
}

.footer-brand__name {
  display: grid;
  gap: 5px;
  color: #fff !important;
  font-weight: 700;
  line-height: 1.4;
}

.footer-brand__name span {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.footer-brand__name small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 500;
}

.footer-brand__operator {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.7;
}

.footer-brand__operator a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-brand__operator .material-symbols-outlined {
  font-size: 1rem;
}

.footer__heading {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.76rem;
  font-weight: 700;
}

.footer-information__links a {
  width: fit-content;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.7;
  text-decoration-line: underline;
  text-decoration-color: transparent;
  text-underline-offset: 5px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.footer-information__links a:hover,
.footer-information__links a:focus-visible {
  color: var(--web-yellow);
  text-decoration-color: currentColor;
}

.footer-information__links {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

.footer-meta small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.76rem;
}

@media (min-width: 901px) {
  .site-footer__inner {
    padding: 28px 0;
    display: flex;
    align-items: center;
    gap: clamp(28px, 3.4vw, 48px);
  }

  .footer-brand {
    flex: 1 1 auto;
    display: block;
  }

  .footer-brand__name {
    flex: 0 1 auto;
  }

  .footer-brand__operator {
    flex: 0 0 auto;
  }

  .footer-information {
    margin-left: auto;
    flex: 0 0 auto;
    display: grid;
    justify-items: end;
    gap: 7px;
  }

  .footer-information .footer__heading {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .footer-information__links {
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: clamp(22px, 2.5vw, 34px);
  }

  .footer-information .footer-brand__operator {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.78rem;
  }

  .footer-meta {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2vw, 28px);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
}

@media (min-width: 901px) {
  .hero__inner {
    min-height: min(700px, calc(100svh - 96px));
    display: flex;
    flex-direction: column;
    padding-bottom: 84px;
  }

  .hero__facts {
    margin-top: auto;
  }
}

@media (max-width: 900px) {
  .site-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 48px;
  }

  .hero {
    min-height: auto;
  }

  .hero__inner {
    padding: 42px 0 72px;
  }

  .hero h1 {
    width: min(14em, 100%);
    font-size: clamp(1.9rem, 6.4vw, 2.8rem);
  }

  .hero__facts,
  .quick-links__inner,
  .course-grid,
  .strength-layout,
  .training-system__body {
    grid-template-columns: 1fr;
  }

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

  .access__map {
    aspect-ratio: 16 / 7;
    border-radius: 8px;
    min-width: 0;
  }

  .access__details {
    border-left: 1px solid var(--line);
    border-top: 1px solid var(--line);
    border-radius: 8px;
    min-width: 0;
  }

  .flow-list {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .flow::before {
    top: 80px;
    right: -180px;
    width: 520px;
    opacity: 0.2;
  }

  .flow::after {
    left: -190px;
    bottom: -20px;
    width: 460px;
    opacity: 0.17;
  }

  .flow-step {
    min-height: 88px;
    padding: 28px 24px 22px 94px;
    grid-template-columns: 58px minmax(0, 1fr);
    align-content: center;
    align-items: center;
    justify-items: stretch;
    text-align: left;
  }

  .flow-step__text {
    min-height: 0;
    place-items: center start;
  }

  .flow-step:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -20px;
    left: 50%;
    border-left: 11px solid transparent;
    border-right: 11px solid transparent;
    border-top: 12px solid var(--web-yellow);
    border-bottom: 0;
    transform: translateX(-50%);
  }

  .strength-photo,
  .strength-photo img {
    min-height: 300px;
  }

  .training-system__logo {
    width: 62px;
    height: 62px;
  }

  .hero__facts div {
    border-right: 0;
    border-bottom: 1px solid rgba(3, 140, 140, 0.16);
  }

  .quick-links a {
    border-top: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    border-left: 4px solid var(--web-main);
  }

  .quick-links .quick-link--visit {
    border-left-color: var(--web-yellow);
  }

  .quick-links .quick-link--nail {
    border-left-color: var(--web-brown);
  }

  .hero__facts div:last-child,
  .quick-links a:last-child {
    border-bottom: 0;
  }

  .quick-links {
    margin-top: -22px;
  }

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

@media (max-width: 640px) {
  .site-footer__inner {
    padding: 42px 0 24px;
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-meta {
    display: grid;
    gap: 5px;
  }

  .site-brand__main {
    font-size: 0.84rem;
  }

  .site-brand__sub {
    font-size: 0.72rem;
  }

  .hero__image::after {
    background:
      linear-gradient(180deg, rgba(255, 253, 248, 0.94), rgba(255, 253, 248, 0.62) 34%, rgba(255, 253, 248, 0.14) 70%, rgba(255, 253, 248, 0.04)),
      radial-gradient(circle at 50% 16%, rgba(255, 253, 248, 0.7), rgba(255, 253, 248, 0.02) 62%);
  }

  .hero__image img {
    object-fit: contain;
    object-position: center calc(12% + 38px);
    transform: none;
  }

  .hero__inner {
    padding-bottom: 34px;
  }

  .hero__facts {
    margin: 94px auto 0;
  }

  .hero__actions,
  .course-card__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .course-card__actions .text-link {
    width: 100%;
    min-height: 44px;
    margin-left: 0;
    justify-content: center;
  }

  .flow-step {
    padding: 42px 16px 20px;
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 12px 14px;
  }

  .flow-step__icon {
    width: 50px;
    height: 50px;
  }

  .button {
    width: 100%;
  }

  .access__map {
    width: 100%;
    max-width: 100%;
    aspect-ratio: auto;
    min-height: 300px;
  }

  .access__photo img {
    aspect-ratio: 16 / 8;
  }

  .course-meta div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
