/* 画面の下に留まる案内（白い札。FV を過ぎると出て、コースの写真の間は上に移る） */
.cvbar {
  position: fixed;
  left: 50%;
  bottom: 2rem;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 46rem;
  max-width: calc(100% - 3rem);
  height: 4.6rem;
  padding: 0 0.8rem 0 2.4rem;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: 0.4rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.14);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cvbar.is-show { opacity: 1; pointer-events: auto; }
.cvbar.is-top { top: 2rem; bottom: auto; }
.cvbar__links { display: flex; gap: 2.4rem; font-size: 1.3rem; letter-spacing: 0.12em; line-height: 1.6; }
.cvbar__links a { transition: color 0.3s; }
.cvbar__btn {
  width: 11.4rem;
  height: 3.2rem;
  border: 1px solid var(--rule);
  border-radius: 0.4rem;
  background: var(--ink);
  color: var(--white);
  font-size: 1.3rem;
  line-height: 3.1rem;
  letter-spacing: 0.16em;
  text-align: center;
  transition: opacity 0.5s;
}
@media (hover: hover) {
  .cvbar__links a:hover { color: var(--accent); }
  .cvbar__btn:hover { opacity: 0.75; }
}
@media (max-width: 1023px) {
  .cvbar { width: 40rem; height: 5rem; padding-left: 2rem; }
  .cvbar__links { gap: 1.8rem; font-size: 1.25rem; letter-spacing: 0.06em; }
  .cvbar__btn { width: 9.4rem; height: 3.6rem; line-height: 3.5rem; font-size: 1.3rem; }
}

/* 体験レッスン（黒い面）とフッター */
.footer { position: relative; z-index: 2; background: var(--dark); color: var(--white); overflow: clip; }
.trial { padding: 20rem 0 27rem; }
.trial__in { position: relative; width: min(102rem, 100% - 4rem); margin-inline: auto; padding-left: 13rem; }
.trial__head { position: relative; }
.trial__ttl { width: max-content; }
.trial__ghost { left: 0; top: 50%; transform: translateY(-50%) translateX(-15rem) translateY(-5rem); font-size: 19rem; color: rgba(255, 255, 255, 0.12); }
.trial__circle {
  position: absolute;
  z-index: 1;
  top: -9rem;
  right: 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 24rem;
  height: 24rem;
  padding-top: 1.6rem;
  border: 1px solid var(--white);
  border-radius: 50%;
  text-align: center;
  line-height: 1.5;
  transition: background 0.5s;
}
.trial__circle-sub { font-size: 1.3rem; letter-spacing: 0.14em; }
.trial__circle-main { margin-top: 0.4rem; font-size: 1.9rem; letter-spacing: 0.2em; }
.trial__circle svg { width: 1.6rem; height: 1.6rem; margin-top: 0.8rem; }
.trial__txt { margin-top: 1.4rem; font-size: 1.4rem; line-height: 1.9; }
.trial__links { display: grid; gap: 1.4rem; width: 36rem; margin-top: 4.5rem; }
.trial__tel { grid-template-columns: 1fr; padding-block: 1.2rem; }
.trial__info { display: block; margin-top: 0.4rem; font-size: 1.1rem; line-height: 1.7; color: rgba(255, 255, 255, 0.8); }
.trial__note { margin-top: 2rem; font-size: 1.1rem; line-height: 1.8; color: rgba(255, 255, 255, 0.85); }
@media (hover: hover) {
  .trial__circle:hover, .trial__links a:hover { background: rgba(255, 255, 255, 0.12); opacity: 1; }
}

.footer__bottom { position: relative; padding: 4rem 0 6.6rem; min-height: 64rem; text-align: center; }
.footer__bg { position: absolute; inset: 0; z-index: 0; background: none; }
.footer__bg img { object-position: center 70%; mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.55) 30%, #000 70%); opacity: 0.62; }
.footer__strings {
  position: absolute;
  left: 0;
  top: 18rem;
  width: 100%;
  height: 30rem;
  z-index: 1;
  fill: none;
  stroke: rgba(255, 255, 255, 0.55);
  stroke-width: 1;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 4s ease;
}
.footer__strings path { vector-effect: non-scaling-stroke; }
.footer__strings.is-drawn { clip-path: inset(0 0 0 0); }
.footer__catch {
  position: relative;
  z-index: 2;
  margin-inline: auto;
  writing-mode: vertical-rl;
  font-size: 1.5rem;
  line-height: 2.2;
  letter-spacing: 0.32em;
  text-shadow: 0 0 1rem rgba(0, 0, 0, 0.6);
}
.footer__logo { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; margin-top: 12rem; line-height: 1; }
.footer__logo .en { font-weight: 500; font-size: 1.3rem; letter-spacing: 0.5em; padding-left: 0.5em; }
.footer__logo .footer__logo-main { margin-top: 0.6rem; font-size: 3rem; letter-spacing: 0.08em; padding-left: 0; }
.footer__cr { position: relative; z-index: 2; margin-top: 1.6rem; font-size: 1.1rem; letter-spacing: 0.1em; }

@media (max-width: 1023px) {
  .trial { padding: 12.4rem 0 3.8rem; }
  .trial__in { width: auto; max-width: 40rem; padding-left: 0; }
  .trial__ttl { margin-inline: auto; font-size: 2.2rem; text-align: center; }
  .trial__ghost { left: 50%; transform: translateX(-50%) translateY(-9rem); top: 0; font-size: 10rem; }
  .trial__circle { position: relative; top: auto; right: auto; width: 14rem; height: 14rem; margin: 3rem auto 0; padding-top: 1rem; }
  .trial__circle-sub { font-size: 1.05rem; }
  .trial__circle-main { font-size: 1.3rem; letter-spacing: 0.12em; }
  .trial__circle svg { width: 1.1rem; height: 1.1rem; margin-top: 0.4rem; }
  .trial__txt { margin-top: 2.5rem; padding-inline: 3.5rem; text-align: center; font-size: 1.3rem; line-height: 2.1; }
  .trial__links { width: 30rem; margin: 2.7rem auto 0; gap: 1rem; }
  .trial__note { width: 30rem; margin-inline: auto; text-align: center; }
  .footer__bottom { min-height: 56rem; padding-bottom: 13.6rem; }
  .footer__strings { top: 22rem; height: 16rem; }
  .footer__logo { margin-top: 8rem; }
}
