﻿:root {
  --ink: #27313a;
  --muted: #66717b;
  --paper: #fffdf8;
  --line: #eadfce;
  --coral: #f36f63;
  --blue: #3d8fcf;
  --yellow: #f7c74f;
  --mint: #62bca7;
  --rose: #f8c8d5;
  --shadow: 0 18px 50px rgba(70, 54, 35, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  line-height: 1.75;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(255, 253, 248, 0.9);
  border-bottom: 1px solid rgba(234, 223, 206, 0.72);
  backdrop-filter: blur(14px);
}

.brand,
.nav,
.login-links,
.hero-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-with-logo img {
  width: 76px;
  height: auto;
  display: block;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: var(--coral);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(243, 111, 99, 0.28);
}

.nav {
  gap: 10px;
  font-size: 14px;
  font-weight: 900;
  flex-wrap: wrap;
}

.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  color: #fff;
  background: linear-gradient(135deg, #075f93, #0ba8cf);
  border: 1px solid rgba(5, 77, 122, 0.2);
  border-radius: 999px;
  box-shadow: 0 10px 20px rgba(6, 85, 132, 0.16);
  line-height: 1.15;
  white-space: nowrap;
}

.nav a:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.login-links {
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.login-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 2px 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.login-links a:hover {
  color: #075f93;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.home-news {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  padding-top: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(234, 223, 206, 0.9);
}

.home-news-heading {
  min-width: 150px;
}

.home-news-heading .section-kicker {
  margin-bottom: 2px;
  font-size: 11px;
}

.home-news-heading h2 {
  margin: 0;
  color: #074155;
  font-size: clamp(22px, 3vw, 28px);
}

.home-news-item {
  display: grid;
  gap: 2px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid #eadfce;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(70, 54, 35, 0.08);
}

.home-news-list {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.home-news-item p {
  margin: 4px 0 0;
  color: #273849;
  line-height: 1.75;
}

.home-news-member-numbers {
  overflow-wrap: anywhere;
  font-weight: 800;
}

.home-news-date {
  color: #66717b;
  font-size: 13px;
  font-weight: 800;
}

.home-news-item strong {
  color: #10233f;
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.55;
}

.news-page {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 72px;
}

.news-title-band {
  margin-bottom: 48px;
  padding: 0;
}

.news-title-band div {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 106px;
  padding: 24px 34px;
  color: #fff;
  background: #074155;
  border-top: 3px solid #074155;
  border-bottom: 3px solid #074155;
  box-shadow:
    inset 0 3px 0 rgba(255, 255, 255, 0.9),
    inset 0 -3px 0 rgba(255, 255, 255, 0.9);
}

.news-title-band img {
  width: 92px;
  height: auto;
  padding: 8px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 4px;
}

.news-title-band h1 {
  margin: 0;
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1.2;
}

.news-list {
  width: min(100%, 1020px);
  margin: 0 auto;
}

.news-item {
  padding: 28px 6px 26px;
  border-top: 1px solid #d9d9d9;
}

.news-item:last-child {
  border-bottom: 1px solid #d9d9d9;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 10px;
  color: #777;
  font-size: 15px;
  font-weight: 700;
}

.news-meta span:first-child::before {
  content: "◷ ";
}

.news-meta span:last-child::before {
  content: "■ ";
}

.news-item h2 {
  margin: 0;
  color: #10233f;
  font-size: clamp(20px, 3vw, 25px);
  line-height: 1.5;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100svh - 72px));
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(4, 35, 55, 0.9) 0%, rgba(4, 35, 55, 0.58) 40%, rgba(4, 35, 55, 0.1) 74%),
    linear-gradient(0deg, rgba(4, 35, 55, 0.28), rgba(4, 35, 55, 0.04));
}

.hero-content {
  position: relative;
  max-width: 680px;
  padding: clamp(48px, 8vw, 104px) clamp(22px, 6vw, 72px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  max-width: 11em;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.25;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 24px;
  line-height: 1.25;
}

.lead {
  max-width: 560px;
  margin-bottom: 28px;
  color: #47525c;
  font-size: clamp(16px, 2vw, 19px);
}

.hero .eyebrow,
.hero h1,
.hero .lead {
  color: #fff;
}

.hero .lead {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.26);
}

.hero .button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.46);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
}

.button.primary {
  color: #fff;
  background: var(--coral);
  box-shadow: 0 12px 24px rgba(243, 111, 99, 0.28);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(39, 49, 58, 0.14);
}

.target-inquiry-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0878b8, #18b7d0);
  color: #fff;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(8, 120, 184, 0.22);
}

.target-inquiry-link:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(8, 120, 184, 0.28);
}

.section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 92px) 0;
}

.intro {
  display: block;
}

.intro-visual {
  position: relative;
  min-height: 440px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.intro-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(246, 248, 246, 0.28) 0%, rgba(246, 248, 246, 0.1) 30%, rgba(7, 65, 85, 0.03) 62%, rgba(7, 65, 85, 0.1) 100%),
    radial-gradient(circle at 16% 24%, rgba(255, 255, 255, 0.16), transparent 30%);
  pointer-events: none;
}

.intro-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.intro-message {
  position: absolute;
  z-index: 1;
  left: clamp(20px, 4vw, 42px);
  bottom: clamp(20px, 4vw, 42px);
  width: min(470px, 40%);
  margin: 0;
  padding: clamp(16px, 2.4vw, 24px);
  border-left: 6px solid var(--accent);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.54);
  color: var(--ink);
  font-size: clamp(14px, 1.22vw, 16px);
  font-weight: 700;
  line-height: 1.82;
  box-shadow: 0 18px 42px rgba(7, 65, 85, 0.16);
  backdrop-filter: blur(3px);
}

.intro > p {
  margin: 0;
}

.intro p:last-child,
.trial p,
.contact-panel p,
.section-heading p {
  color: var(--muted);
  font-size: 17px;
}

.section-heading {
  margin-bottom: 28px;
}

.class-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.class-card {
  display: block;
  min-height: 360px;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.class-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(70, 54, 35, 0.2);
}

.class-card p {
  color: var(--muted);
  padding: 0 20px 24px;
}

.course-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #e8f5fb;
}

.class-card .class-icon {
  margin: 18px 20px 12px;
}

.class-card h3 {
  padding: 0 20px;
}

.studios {
  width: min(1180px, calc(100% - 36px));
}

.studio-group {
  margin-top: 34px;
}

.studio-group h3 {
  margin-bottom: 26px;
  padding: 22px 26px;
  color: #fff;
  background: #074155;
  border-top: 3px solid #074155;
  border-bottom: 3px solid #074155;
  box-shadow:
    inset 0 3px 0 rgba(255, 255, 255, 0.9),
    inset 0 -3px 0 rgba(255, 255, 255, 0.9);
}

.studio-note {
  margin: -12px 0 20px;
  color: var(--blue-ink);
  font-weight: 800;
}

.studio-title-link {
  color: inherit;
  text-decoration: none;
}

.nav .social-link {
  width: 38px;
  padding: 8px;
  color: #fff;
  background: linear-gradient(135deg, #f58529, #dd2a7b 48%, #8134af);
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(221, 42, 123, 0.22);
}

.nav .social-link svg {
  width: 18px;
  height: 18px;
}

.instagram-hero {
  padding: clamp(54px, 8vw, 92px) clamp(20px, 6vw, 72px);
  color: #fff;
  background:
    linear-gradient(120deg, rgba(7, 65, 85, 0.92), rgba(221, 42, 123, 0.68)),
    url("./assets/homepage-photo-hero.png") center / cover;
}

.instagram-hero .lead {
  max-width: 760px;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.24);
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.instagram-card {
  display: grid;
  gap: 12px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.instagram-card h3 {
  margin: 0;
  color: var(--blue-ink);
}

.instagram-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

.instagram-handle {
  color: #dd2a7b;
  font-weight: 950;
  word-break: break-word;
}

.studio-title-link:hover {
  text-decoration: underline;
}

.studio-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 24px;
}

.studio-buttons a,
.trial-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 800;
  text-align: center;
  line-height: 1.35;
  position: relative;
  overflow: hidden;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.studio-buttons a::before,
.trial-link::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.studio-buttons a {
  width: min(100%, 285px);
  justify-self: center;
  color: #fff;
  background:
    linear-gradient(135deg, #0a4a7a 0%, #0877b5 48%, #0ab0d1 100%);
  box-shadow:
    0 14px 28px rgba(6, 61, 111, 0.24),
    inset 0 -2px 0 rgba(0, 0, 0, 0.18);
}

.studio-buttons a:hover,
.trial-link:hover {
  transform: translateY(-3px);
  filter: saturate(1.08);
}

.studio-buttons a:hover {
  box-shadow:
    0 20px 38px rgba(6, 61, 111, 0.3),
    inset 0 -2px 0 rgba(0, 0, 0, 0.2);
}

.trial-link {
  width: min(100%, 285px);
  min-width: 0;
  max-width: none;
  margin: 24px auto 0;
  color: #04304a;
  background:
    linear-gradient(135deg, #c9f7ff 0%, #51d7ef 48%, #10a6d5 100%);
  box-shadow:
    0 16px 34px rgba(16, 166, 213, 0.28),
    inset 0 -2px 0 rgba(4, 48, 74, 0.16);
  white-space: normal;
  overflow-wrap: anywhere;
}

.trial-link:hover {
  box-shadow:
    0 22px 44px rgba(16, 166, 213, 0.36),
    inset 0 -2px 0 rgba(4, 48, 74, 0.18);
}

.videos {
  width: min(1120px, calc(100% - 36px));
}

.video-archive-grid {
  display: grid;
  gap: 24px;
}

.video-archive-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.video-archive-visual {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 260px;
  padding: 32px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(4, 35, 55, 0.78), rgba(4, 35, 55, 0.24)),
    var(--video-bg) center / cover;
}

.video-archive-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 4px 4px;
  opacity: 0.28;
}

.video-archive-visual span {
  position: relative;
  z-index: 1;
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 900;
  line-height: 1.25;
}

.video-archive-body {
  display: grid;
  align-content: center;
  gap: 22px;
  padding: clamp(24px, 4vw, 42px);
}

.video-archive-body h3 {
  margin: 0;
}

.year-buttons {
  display: grid;
  gap: 14px;
}

.year-buttons a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 12px 18px;
  color: #07344f;
  background: linear-gradient(135deg, #dff7ff, #8ed6ec);
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(42, 122, 155, 0.18);
  font-size: 18px;
  font-weight: 900;
  text-align: center;
  line-height: 1.35;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.year-buttons a:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(42, 122, 155, 0.25);
}

.video-choice {
  display: grid;
  gap: 8px;
}

.video-choice > button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  width: 100%;
  padding: 12px 18px;
  color: #07344f;
  background: linear-gradient(135deg, #dff7ff, #8ed6ec);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(42, 122, 155, 0.18);
  font-family: inherit;
  font-size: 18px;
  font-weight: 900;
  text-align: center;
  line-height: 1.35;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.video-choice > button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(42, 122, 155, 0.25);
}

.video-choice-menu {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.video-choice.is-open .video-choice-menu {
  display: grid;
}

.video-choice-menu a {
  min-height: 42px;
  padding: 8px 12px;
  color: #0b5070;
  background: #fff;
  border: 1px solid rgba(84, 177, 204, 0.45);
  box-shadow: none;
  font-size: 15px;
}

.video-choice-menu a:hover {
  box-shadow: 0 8px 18px rgba(42, 122, 155, 0.14);
}

.jazz-video {
  --video-bg: url("./assets/jazz-dance-photo-hero.png");
}

.ballet-video {
  --video-bg: url("./assets/ballet-photo-hero.png");
}

.rhythmic-video {
  --video-bg: url("./assets/rhythmic-gymnastics-photo-hero.png");
}

.studio-hero {
  display: grid;
  align-items: center;
  min-height: 460px;
  padding: clamp(48px, 8vw, 96px) clamp(22px, 6vw, 72px);
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.96), rgba(255, 253, 248, 0.72)),
    url("./assets/children-studio.png") center / cover;
}

.junior-gymnastics-hero {
  background:
    linear-gradient(90deg, rgba(4, 35, 55, 0.86), rgba(4, 35, 55, 0.52) 40%, rgba(4, 35, 55, 0.12)),
    url("./assets/junior-gymnastics-photo-hero.png") center / cover;
}

.rhythmic-photo-hero {
  background:
    linear-gradient(90deg, rgba(4, 35, 55, 0.86), rgba(4, 35, 55, 0.5) 40%, rgba(4, 35, 55, 0.12)),
    url("./assets/rhythmic-gymnastics-photo-hero.png") center / cover;
}

.ballet-photo-hero {
  background:
    linear-gradient(90deg, rgba(4, 35, 55, 0.86), rgba(4, 35, 55, 0.5) 40%, rgba(4, 35, 55, 0.1)),
    url("./assets/ballet-photo-hero.png") center / cover;
}

.jazz-photo-hero {
  background:
    linear-gradient(90deg, rgba(4, 35, 55, 0.88), rgba(4, 35, 55, 0.52) 40%, rgba(4, 35, 55, 0.1)),
    url("./assets/jazz-dance-photo-hero.png") center / cover;
}

.mama-senior-photo-hero {
  background:
    linear-gradient(90deg, rgba(4, 35, 55, 0.88), rgba(4, 35, 55, 0.5) 42%, rgba(4, 35, 55, 0.12)),
    url("./assets/mama-rhythm-course.png") center / cover;
}

.junior-gymnastics-hero .eyebrow,
.junior-gymnastics-hero h1,
.junior-gymnastics-hero .lead,
.rhythmic-photo-hero .eyebrow,
.rhythmic-photo-hero h1,
.rhythmic-photo-hero .lead,
.ballet-photo-hero .eyebrow,
.ballet-photo-hero h1,
.ballet-photo-hero .lead,
.jazz-photo-hero .eyebrow,
.jazz-photo-hero h1,
.jazz-photo-hero .lead,
.mama-senior-photo-hero .eyebrow,
.mama-senior-photo-hero h1,
.mama-senior-photo-hero .lead {
  color: #fff;
}

.junior-gymnastics-hero .lead,
.rhythmic-photo-hero .lead,
.ballet-photo-hero .lead,
.jazz-photo-hero .lead,
.mama-senior-photo-hero .lead {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}

.junior-gymnastics-hero .button.secondary,
.rhythmic-photo-hero .button.secondary,
.ballet-photo-hero .button.secondary,
.jazz-photo-hero .button.secondary,
.mama-senior-photo-hero .button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.46);
}

.studio-hero-copy {
  max-width: 720px;
}

.studio-detail,
.studio-info,
.map-section {
  width: min(1120px, calc(100% - 36px));
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.detail-card,
.info-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.detail-card {
  padding: 28px;
}

.detail-card p {
  color: var(--muted);
}

.course-photo-gallery {
  width: min(1120px, calc(100% - 36px));
}

.jazz-photo-grid {
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  grid-template-rows: repeat(3, 170px);
  gap: 14px;
}

.jazz-photo-grid figure {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #0b2038;
  box-shadow: var(--shadow);
}

.jazz-photo-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.jazz-photo-grid figure:hover img {
  transform: scale(1.035);
}

.jazz-photo-main {
  grid-row: span 3;
}

.course-single-photo {
  position: relative;
  width: min(560px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
  background: #0b2038;
  box-shadow: var(--shadow);
}

.course-single-photo img {
  display: block;
  width: 100%;
  height: min(340px, 52vw);
  min-height: 230px;
  object-fit: cover;
}

.rhythmic-single-photo img {
  object-position: center 45%;
}

.junior-single-photo img {
  object-position: center 52%;
}

.info-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  padding: clamp(24px, 4vw, 38px);
}

.info-list {
  display: grid;
  gap: 1px;
  margin: 0;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.info-list div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  padding: 16px;
  background: #fff;
}

.info-list dt {
  color: var(--coral);
  font-weight: 900;
}

.info-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.map-frame {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.lesson-schedule {
  width: min(1120px, calc(100% - 36px));
}

.schedule-note {
  display: grid;
  gap: 4px;
  margin-bottom: 18px;
  padding: 18px 20px;
  color: #07344f;
  background: #e8f8fc;
  border: 1px solid #b9e2ec;
  border-radius: 8px;
}

.schedule-note strong {
  font-size: 16px;
}

.schedule-note span {
  color: var(--muted);
}

.public-calendar {
  overflow: hidden;
  margin-bottom: 22px;
  background: #fff;
  border: 1px solid #cfe0ff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.calendar-title {
  padding: 18px 22px;
  color: #fff;
  background: #526cb5;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 900;
  text-align: center;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.calendar-weekdays span {
  padding: 10px 6px;
  color: #fff;
  background: #526cb5;
  font-weight: 900;
  text-align: center;
}

.calendar-day {
  min-height: 112px;
  padding: 10px;
  border-right: 1px solid #d7e4ff;
  border-bottom: 1px solid #d7e4ff;
  background: #fff;
}

.calendar-day:nth-child(7n) {
  border-right: 0;
}

.calendar-day.is-empty {
  background: #f8fbff;
}

.day-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  color: #233044;
  font-weight: 800;
}

.day-number.is-today {
  color: #9a1745;
  background: #ffc7d6;
  border-radius: 50%;
}

.lesson-chip {
  display: block;
  margin-top: 6px;
  padding: 8px 9px;
  color: #18324b;
  background: #dcecff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.schedule-table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.schedule-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.schedule-table th,
.schedule-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.schedule-table th {
  color: #fff;
  background: #074155;
  font-size: 14px;
}

.schedule-table tr:last-child td {
  border-bottom: 0;
}

.schedule-table td:first-child {
  color: var(--coral);
  font-weight: 900;
}

.class-icon {
  display: inline-flex;
  margin-bottom: 34px;
  padding: 7px 11px;
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.rhythmic .class-icon {
  background: var(--coral);
}

.gymnastics .class-icon {
  background: var(--blue);
}

.jazz .class-icon {
  background: var(--mint);
}

.ballet .class-icon {
  background: #d982a6;
}

.schedule {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(1120px, calc(100% - 36px));
  padding: 0;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature {
  display: grid;
  gap: 6px;
  min-height: 132px;
  padding: 26px;
  background: #fff;
}

.feature strong {
  color: var(--coral);
  font-size: 14px;
}

.feature span {
  font-size: 18px;
  font-weight: 800;
}

.trial {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.trial > div {
  max-width: 680px;
}

.contact {
  padding-top: 42px;
}

.guide-page {
  min-height: calc(100vh - 180px);
  padding-top: 34px;
}

.guide-page-hero {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(32px, 6vw, 68px);
  color: var(--blue-ink);
  background: linear-gradient(135deg, #eef9ff, #fff7fb);
  border: 2px solid #b9d9eb;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.guide-page-hero h1 {
  margin: 6px 0 18px;
  color: var(--blue-ink);
  font-size: clamp(34px, 6vw, 58px);
}

.guide-page-hero > p:last-of-type {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 750;
  line-height: 1.8;
}

.guide-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.guide-topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.guide-topic-grid a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  color: var(--blue-ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  box-shadow: var(--shadow);
  font-weight: 850;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.guide-topic-grid a:hover,
.guide-topic-grid a:focus-visible {
  border-color: #0a78b5;
  box-shadow: 0 14px 30px rgba(6, 61, 111, 0.18);
  transform: translateY(-2px);
}

.guide-topic-grid strong {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: var(--blue-ink);
  border-radius: 999px;
}

.guide-topic-grid span {
  flex: 1;
}

.guide-topic-grid em {
  color: #0877b5;
  font-size: 13px;
  font-style: normal;
  white-space: nowrap;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  padding: clamp(24px, 4vw, 38px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-list {
  display: grid;
  gap: 10px;
  align-content: start;
}

.contact-list span {
  padding: 12px 14px;
  background: #fff8ed;
  border: 1px solid #f1dcc1;
  border-radius: 8px;
  font-weight: 700;
}

.footer {
  padding: 28px 20px 40px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .login-links {
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    min-height: 720px;
  }

  .hero-image {
    object-position: 60% center;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(4, 35, 55, 0.92) 0%, rgba(4, 35, 55, 0.62) 46%, rgba(4, 35, 55, 0.12) 100%),
      linear-gradient(90deg, rgba(4, 35, 55, 0.52), rgba(4, 35, 55, 0.08));
  }

  .intro,
  .home-news,
  .contact-panel,
  .info-panel {
    grid-template-columns: 1fr;
  }

  .class-grid,
  .detail-grid,
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .video-archive-card {
    grid-template-columns: 1fr;
  }

  .jazz-photo-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .jazz-photo-grid figure,
  .jazz-photo-main {
    min-height: 260px;
    grid-row: auto;
  }

  .studio-buttons {
    grid-template-columns: repeat(2, 1fr);
  }

  .schedule,
  .trial {
    grid-template-columns: 1fr;
  }

  .trial {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .nav {
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
  }

  .login-links {
    display: flex;
    width: 100%;
    gap: 8px;
    justify-content: flex-start;
  }

  .login-links a {
    width: auto;
    font-size: 13px;
  }

  .brand {
    font-size: 15px;
  }

  .brand-with-logo img {
    width: 64px;
  }

  .home-news {
    gap: 10px;
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .intro-visual,
  .intro-visual img {
    min-height: 520px;
  }

  .intro-message {
    left: 18px;
    right: 18px;
    top: auto;
    bottom: 18px;
    width: auto;
    padding: 18px;
    font-size: 15px;
    line-height: 1.75;
    transform: none;
  }

  .hero {
    min-height: 680px;
  }

  h1 {
    font-size: 38px;
  }

  .hero-content {
    padding-top: 38px;
  }

  .button {
    width: 100%;
  }

  .class-grid,
  .schedule,
  .studio-buttons,
  .detail-grid,
  .instagram-grid,
  .guide-topic-grid {
    grid-template-columns: 1fr;
  }

  .video-archive-visual {
    min-height: 190px;
  }

  .course-single-photo img {
    height: 280px;
    min-height: 0;
  }

  .year-buttons a {
    min-height: 50px;
    font-size: 15px;
  }

  .studio-hero {
    min-height: 520px;
    background-position: 60% center;
  }

  .info-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .map-frame {
    aspect-ratio: 4 / 3;
  }

  .public-calendar {
    overflow-x: auto;
  }

  .calendar-weekdays,
  .calendar-grid {
    min-width: 720px;
  }

  .studio-group h3 {
    padding: 18px;
    font-size: 22px;
  }

  .studio-buttons a,
  .trial-link {
    min-height: 50px;
    font-size: 15px;
  }

  .class-card {
    min-height: 220px;
  }
}

.studio-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.button.small {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 0.9rem;
}
.video-password-dialog {
  width: min(520px, calc(100% - 28px));
  border: 0;
  border-radius: 14px;
  padding: 0;
  color: #10233f;
  box-shadow: 0 24px 70px rgba(5, 33, 58, .35);
}
.video-password-dialog::backdrop { background: rgba(4, 22, 42, .72); }
.video-password-panel { position: relative; display: grid; gap: 14px; padding: 28px; background: #fff; }
.video-password-panel h2, .video-password-panel p { margin: 0; }
.video-password-panel label { display: grid; gap: 7px; font-weight: 900; }
.video-password-panel input { width: 100%; border: 2px solid #b9d9eb; border-radius: 7px; padding: 12px; font: inherit; }
.video-password-input-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.video-password-input-row input { border-radius: 7px 0 0 7px; }
.video-password-input-row button { border: 2px solid #b9d9eb; border-left: 0; border-radius: 0 7px 7px 0; padding: 0 14px; background: #eef9ff; color: #063f66; font-weight: 900; cursor: pointer; }
.video-password-close { position: absolute; top: 10px; right: 12px; border: 0; background: transparent; color: #315a74; font-size: 30px; cursor: pointer; }
.video-password-error { min-height: 24px; color: #a12828; font-weight: 900; }
.homepage-video-player-dialog { width: min(1000px, calc(100% - 20px)); border: 0; border-radius: 12px; padding: 0; overflow: hidden; background: #07182a; }
.homepage-video-player-dialog::backdrop { background: rgba(4, 22, 42, .82); }
.homepage-video-player-panel { position: relative; padding-top: 48px; background: #07182a; }
.homepage-video-player-panel .video-password-close { color: #fff; z-index: 2; }
.homepage-video-player-panel iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; }
