/* 008 Hopsy ダンススタジオ ― 色はここだけ触れば差し替わる */
:root {
  --c-bg: #fff6e8;
  --c-ink: #1d1a2f;
  --c-pink: #ff3d7f;
  --c-yellow: #ffd23f;
  --c-blue: #3355ff;
  --c-mint: #19c39c;
  --c-text: #374151;
  --c-sub: #4b5563;
  --font: "M PLUS Rounded 1c", sans-serif;
  --font-head: "Dela Gothic One", sans-serif;
  --line: 3px solid var(--c-ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-weight: 400; font-size: 16px; line-height: 1.85; color: var(--c-text); background: var(--c-bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; font-weight: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dd, li { word-break: auto-phrase; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.tag { display: inline-block; font-family: var(--font-head); font-size: 15px; letter-spacing: .1em; background: var(--c-ink); color: #fff; padding: 2px 14px; border-radius: 999px; transform: rotate(-3deg); margin-bottom: 16px; }
.h2 { font-family: var(--font-head); font-size: clamp(28px, 4.4vw, 48px); line-height: 1.35; color: var(--c-ink); margin-bottom: 24px; }
.note { margin-top: 20px; font-size: 15px; color: var(--c-sub); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 800; text-decoration: none; white-space: nowrap; border: var(--line); transition: transform .2s, box-shadow .2s; }
.btn--pink { background: var(--c-pink); color: var(--c-ink); box-shadow: 4px 4px 0 var(--c-ink); }
.btn--pink:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--c-ink); }

/* ヘッダー */
.header { position: fixed; top: 12px; left: 12px; right: 12px; z-index: 50; }
.header__inner { display: flex; align-items: center; gap: 20px; height: 64px; padding: 0 10px 0 20px; background: #fff; border: var(--line); border-radius: 999px; box-shadow: 4px 4px 0 var(--c-ink); }
.logo { display: flex; flex-direction: column; justify-content: center; min-height: 48px; font-family: var(--font-head); font-size: 24px; line-height: 1; color: var(--c-ink); text-decoration: none; }
.logo small { font-family: var(--font); font-weight: 800; font-size: 15px; letter-spacing: .08em; color: var(--c-ink); margin-top: 2px; }
.gnav { display: none; }
.header__btn { margin-left: auto; flex: none; min-height: 44px; font-size: 15px; padding: 0 16px; box-shadow: none; }
@media (min-width: 1080px) {
  .header { top: 20px; left: 32px; right: 32px; }
  .header__inner { height: 76px; padding: 0 14px 0 32px; }
  .gnav { display: flex; gap: 28px; margin-left: auto; }
  .gnav a { display: flex; align-items: center; min-height: 44px; font-weight: 800; text-decoration: none; color: var(--c-ink); }
  .gnav a:hover { color: #c8155a; }
  .header__btn { margin-left: 0; padding: 0 24px; }
}
.spmenu { flex: none; }
.spmenu summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--c-yellow); border: var(--line); color: var(--c-ink); }
.spmenu summary::-webkit-details-marker { display: none; }
.spmenu__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.spmenu__bar, .spmenu__bar::before, .spmenu__bar::after { display: block; width: 18px; height: 3px; border-radius: 2px; background: currentColor; position: relative; }
.spmenu__bar::before, .spmenu__bar::after { content: ""; position: absolute; left: 0; }
.spmenu__bar::before { top: -6px; } .spmenu__bar::after { top: 6px; }
.spmenu[open] .spmenu__bar { background: transparent; }
.spmenu[open] .spmenu__bar::before { top: 0; transform: rotate(45deg); }
.spmenu[open] .spmenu__bar::after { top: 0; transform: rotate(-45deg); }
.spmenu__nav { position: absolute; left: 0; right: 0; top: calc(100% + 10px); background: #fff; border: var(--line); border-radius: 28px; box-shadow: 4px 4px 0 var(--c-ink); padding: 12px 24px; display: flex; flex-direction: column; }
.spmenu__nav a { display: flex; align-items: center; min-height: 52px; font-family: var(--font-head); font-size: 18px; color: var(--c-ink); text-decoration: none; border-bottom: 2px dashed rgba(29, 26, 47, .2); }
.spmenu__nav a:last-child { border-bottom: 0; }
@media (min-width: 1080px) { .spmenu { display: none; } }

/* ===== 演出①：コラージュ ===== */
.hero { position: relative; min-height: 100vh; padding: 120px 20px 64px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.hero__collage { position: absolute; inset: 0; }
.blob { position: absolute; border-radius: 50%; border: var(--line); }
.blob--yellow { width: 62vw; height: 62vw; max-width: 620px; max-height: 620px; background: var(--c-yellow); right: -14vw; top: 10%; }
.blob--blue { width: 26vw; height: 26vw; max-width: 260px; max-height: 260px; background: var(--c-blue); left: -6vw; top: 18%; border-radius: 40% 60% 55% 45%; }
.blob--mint { width: 30vw; height: 30vw; max-width: 300px; max-height: 300px; background: var(--c-mint); right: 30%; bottom: -8vw; border-radius: 30%; transform: rotate(20deg); }
.star { position: absolute; width: 16vw; max-width: 140px; }
.star--1 { left: 8%; top: 52%; }
.star--2 { right: 6%; top: 14%; width: 11vw; max-width: 96px; }
.cut { position: absolute; height: auto; filter: drop-shadow(6px 6px 0 rgba(29, 26, 47, .9)); }
.cut--1 { width: 40vw; max-width: 380px; right: 2vw; top: 16%; }
.cut--2 { width: 34vw; max-width: 320px; right: 34vw; top: 22%; }
.cut--3 { width: 38vw; max-width: 380px; left: 2vw; top: 14%; }
.cut--4 { width: 22vw; max-width: 220px; right: 14vw; bottom: 16%; transform: rotate(-12deg); }
.hero__title { position: relative; z-index: 2; color: var(--c-ink); font-family: var(--font-head); line-height: 1; }
.hero__ja { display: block; font-size: clamp(52px, 13vw, 168px); -webkit-text-stroke: 0; text-shadow: 4px 4px 0 #fff, -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff; }
.hero__en { display: block; font-size: clamp(56px, 15vw, 210px); line-height: .92; color: var(--c-pink); -webkit-text-stroke: 3px var(--c-ink); paint-order: stroke fill; text-shadow: 6px 6px 0 var(--c-ink); margin-top: 8px; }
.hero__lead { position: relative; z-index: 2; margin-top: 24px; display: inline-block; align-self: flex-start; background: #fff; border: var(--line); border-radius: 20px; padding: 12px 18px; font-weight: 800; font-size: clamp(16px, 1.8vw, 20px); color: var(--c-ink); box-shadow: 4px 4px 0 var(--c-ink); }
@media (max-width: 767px) {
  .cut--1 { width: 52vw; right: -4vw; top: 12%; }
  .cut--2 { display: none; }
  .cut--3 { width: 50vw; left: -4vw; top: 22%; }
  .cut--4 { width: 30vw; right: 4vw; bottom: 34%; }
  .star--1 { top: 46%; }
}
@media (min-width: 1080px) { .hero { padding: 140px 6vw 80px; } }

/* ===== 演出②：斜めのテープ ===== */
.tape-wrap { position: relative; z-index: 3; overflow: hidden; padding: 40px 0; margin: -60px 0 -40px; pointer-events: none; }
.tape { background: var(--c-ink); color: var(--c-yellow); transform: rotate(-3deg); margin: 0 -40px; padding: 14px 0; overflow: hidden; border-top: 3px solid var(--c-yellow); border-bottom: 3px solid var(--c-yellow); }
.tape__track { display: flex; width: max-content; animation: tape 22s linear infinite; }
.tape__track span { font-family: var(--font-head); font-size: clamp(24px, 3.4vw, 44px); padding: 0 24px; display: flex; align-items: center; gap: 48px; }
.tape__track span::after { content: "★"; color: var(--c-pink); }
@keyframes tape { to { transform: translateX(-50%); } }

/* ===== 演出③：境目をまたぐ写真 ===== */
.about { position: relative; z-index: 2; padding: 120px 20px 0; }
.about__inner { max-width: 1120px; margin: 0 auto; display: grid; gap: 40px; }
.about__text p + p { margin-top: 16px; }
.about__photo { margin: 0 0 -140px; border: var(--line); border-radius: 32px; overflow: hidden; box-shadow: 10px 10px 0 var(--c-pink); transform: rotate(2deg); }
.about__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 900px) {
  .about { padding-top: 160px; }
  .about__inner { grid-template-columns: 1fr 1.1fr; align-items: end; gap: 64px; }
  .about__photo { margin-bottom: -200px; }
}

/* ===== 演出④：クラス紹介 ===== */
.classes { padding: 200px 0 40px; background: #fff; transition: background-color .6s; }
.classes__title { font-family: var(--font-head); font-size: clamp(56px, 12vw, 160px); line-height: 1; color: var(--c-ink); padding: 0 20px; margin-bottom: 24px; }
.classes__title small { display: block; font-size: 18px; margin-top: 8px; }
.klass { position: relative; background: var(--k); border-top: var(--line); padding: 72px 20px; overflow: hidden; }
.klass__inner { position: relative; z-index: 1; max-width: 1120px; margin: 0 auto; }
.klass__no { font-family: var(--font-head); font-size: 22px; color: var(--c-ink); }
.klass__name { font-family: var(--font-head); font-size: clamp(44px, 9vw, 120px); line-height: 1.05; color: var(--c-ink); margin: 8px 0 12px; }
.klass__who { display: inline-block; background: var(--c-ink); color: #fff; font-weight: 800; padding: 2px 14px; border-radius: 999px; margin-bottom: 16px; }
.klass__inner > p:not(.klass__no):not(.klass__who) { max-width: 28em; color: var(--c-ink); font-weight: 700; }
.klass__photo { margin-top: 28px; border: var(--line); border-radius: 28px; overflow: hidden; max-width: 640px; }
.klass__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.klass__cut { position: absolute; z-index: 0; right: -6vw; bottom: 0; width: 46vw; max-width: 420px; opacity: .95; filter: drop-shadow(6px 6px 0 rgba(29, 26, 47, .9)); }
@media (max-width: 767px) { .klass__cut { width: 40vw; right: -8vw; opacity: .35; } }
@media (min-width: 1080px) { .klass { padding: 120px 6vw; min-height: 90vh; } .klass__cut { right: 6vw; } }
/* 動く版：クラスの帯は透明にして、ページ全体の色を変える */
.is-motion .classes, .is-motion .klass { background: transparent; }

/* ===== 時間割・料金 ===== */
.schedule { padding: 112px 0; background: var(--c-bg); border-top: var(--line); }
.table-scroll { overflow-x: auto; }
.timetable { width: 100%; min-width: 560px; border-collapse: separate; border-spacing: 6px; }
.timetable th { font-family: var(--font-head); font-weight: 400; color: var(--c-ink); padding: 8px; }
.timetable td { background: #fff; border-radius: 12px; height: 56px; text-align: center; }
.chip { display: inline-block; padding: 4px 10px; border-radius: 999px; border: 2px solid var(--c-ink); font-weight: 800; font-size: 15px; color: var(--c-ink); white-space: nowrap; }
.chip--y { background: var(--c-yellow); } .chip--p { background: #ff8db3; } .chip--m { background: #8fe3cf; } .chip--b { background: #9fb0ff; }
.prices { display: grid; gap: 16px; margin-top: 48px; }
.price { position: relative; background: #fff; border: var(--line); border-radius: 24px; padding: 24px; box-shadow: 6px 6px 0 var(--c-ink); }
.price--pick { background: var(--c-yellow); }
.price__name { font-weight: 800; color: var(--c-ink); }
.price__value { font-family: var(--font-head); font-size: 36px; color: var(--c-ink); }
.price__value small { font-family: var(--font); font-weight: 800; font-size: 16px; margin-left: 4px; }
.price__badge { position: absolute; top: -18px; right: 20px; background: var(--c-pink); color: var(--c-ink); border: var(--line); border-radius: 999px; padding: 0 14px; font-weight: 800; transform: rotate(6deg); }
@media (min-width: 900px) { .prices { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

/* ===== 体験レッスン ===== */
.trial { background: var(--c-pink); border-top: var(--line); border-bottom: var(--line); padding: 112px 20px; text-align: center; }
.trial__title { font-family: var(--font-head); font-size: clamp(32px, 6vw, 72px); line-height: 1.3; color: var(--c-ink); margin-bottom: 16px; }
.trial p { color: var(--c-ink); font-weight: 700; }
.trial__btn { position: relative; display: inline-flex; align-items: center; justify-content: center; margin-top: 40px; min-height: 76px; padding: 0 48px; background: #fff; color: var(--c-ink); border: var(--line); border-radius: 999px; font-family: var(--font-head); font-size: clamp(18px, 2.4vw, 26px); text-decoration: none; box-shadow: 6px 6px 0 var(--c-ink); transition: transform .2s, box-shadow .2s; }
.trial__btn:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--c-ink); }
.sticker { position: absolute; right: -72px; top: -72px; width: 104px; height: 104px; animation: spin 12s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 480px) { .trial__btn { padding: 0 28px; } .sticker { right: -18px; top: -70px; width: 88px; height: 88px; } }

/* ===== アクセス ===== */
.access { padding: 112px 0; }
.access__inner { display: grid; gap: 40px; }
.info { margin: 0; }
.info div { display: grid; gap: 2px; padding: 14px 0; border-bottom: 2px dashed rgba(29, 26, 47, .25); }
.info dt { font-weight: 800; color: var(--c-ink); }
.info dd { margin: 0; }
.map svg { width: 100%; height: auto; }
.map p { font-size: 15px; color: var(--c-sub); text-align: center; margin-top: 8px; }
@media (min-width: 900px) { .access__inner { grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; } .info div { grid-template-columns: 5em 1fr; gap: 16px; } }

/* ===== フッター ===== */
.footer { background: var(--c-ink); color: #f3f0ff; padding: 64px 20px 32px; text-align: center; font-size: 15px; }
.footer__logo { font-family: var(--font-head); font-size: 48px; color: var(--c-yellow); }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 24px; margin: 16px 0; }
.footer__nav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 800; }
.footer__fiction { margin-top: 24px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .tape__track, .sticker { animation: none; }
}
