.home .l-header,
.home #block-13 {
  display: none !important;
}

.home .l-content__inner {
  margin-top: 0;
}

.main-visual {
  display: none !important;
}

.lp-wrap {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.lp-wrap>div {
  position: relative;
}

.trial-lesson-btn,
.free-consult-btn,
.consult-info-btn {
  max-width: 665px;
  width: 100%;
  margin: 0 auto;
}

.trial-lesson-btn a,
.free-consult-btn a,
.consult-info-btn a {
  display: block;
  cursor: pointer;
  transition: 0.7s;
}

.trial-lesson-btn a:hover,
.free-consult-btn a:hover,
.consult-info-btn a:hover {
  opacity: 0.7;
}

.lp-01 .trial-lesson-btn {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
}

.lp-01 .trial-lesson-btn {
  position: absolute;
  left: 50%;
  bottom: calc(60 / 1735 * 100%);
  transform: translateX(-50%);
  width: min(665px, 90%);
}

.lp-02 .trial-lesson-btn {
  position: absolute;
  left: 50%;
  bottom: calc(62 / 1567 * 100%);
  transform: translateX(-50%);
  width: min(665px, 90%);
}

.lp-04 .free-consult-btn {
  position: absolute;
  left: 50%;
  bottom: calc(263 / 2836 * 100%);
  transform: translateX(-50%);
  width: min(665px, 90%);
}

.lp-01 .trial-lesson-btn img {
  width: 100%;
  height: auto;
  display: block;
}

.lp-06 .trial-lesson-btn {
  position: absolute;
  left: 50%;
  bottom: calc(248 / 3293 * 100%);
  transform: translateX(-50%);
  width: min(665px, 90%);
}

.lp-06 .consult-info-btn {
  position: absolute;
  left: 50%;
  bottom: calc(112 / 3293 * 100%);
  transform: translateX(-50%);
  width: min(665px, 90%);
}

.lp-07 .trial-lesson-btn {
  position: absolute;
  left: 50%;
  bottom: calc(203 / 3293 * 100%);
  transform: translateX(-50%);
  width: min(665px, 90%);
}

.lp-07 .consult-info-btn {
  position: absolute;
  left: 50%;
  bottom: calc(68 / 3293 * 100%);
  transform: translateX(-50%);
  width: min(665px, 90%);
}

.lp-08 .free-consult-btn {
  position: absolute;
  left: 50%;
  bottom: calc(278 / 2752 * 100%);
  transform: translateX(-50%);
  width: min(665px, 90%);
}

.lp-wrap img {
  width: 100%;
  height: auto;
  display: block;
  /* ←これ超重要（inlineの隙間/ズレ防止） */
}

.lp-wrap.sp {
  display: none;
}

@media screen and (max-width: 1199px) {

  .lp-wrap .trial-lesson-btn,
  .lp-wrap .free-consult-btn,
  .lp-wrap .consult-info-btn {
    width: min(665px,
        calc(665px * (928 / 1000)));
  }
}

@media screen and (max-width: 959px) {

  .lp-wrap .trial-lesson-btn,
  .lp-wrap .free-consult-btn,
  .lp-wrap .consult-info-btn {
    width: min(665px,
        calc(665px * (736 / 1000)));
  }
}

@media screen and (max-width: 767px) {
  .lp-wrap.pc {
    display: none;
  }

  .lp-wrap.sp {
    overflow: hidden;
    display: block;
  }

  .lp-wrap.sp {
    margin-top: 0 !important;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .trial-lesson-btn,
  .free-consult-btn,
  .consult-info-btn {
    max-width: 620px;
    width: 100%;
    margin: 0 auto;
  }

  .lp-wrap.sp .trial-lesson-btn,
  .lp-wrap.sp .free-consult-btn,
  .lp-wrap.sp .consult-info-btn {
    width: min(620px, calc(620 / 750 * 100%));
  }

  .lp-01 .trial-lesson-btn {
    position: absolute;
    left: 50%;
    bottom: calc(40 / 1598 * 100%);
    transform: translateX(-50%);
  }

  .lp-02 .trial-lesson-btn {
    position: absolute;
    left: 50%;
    bottom: calc(40 / 1598 * 100%);
    transform: translateX(-50%);
  }
  .lp-04 .free-consult-btn {
    position: absolute;
    left: 50%;
    bottom: calc(275 / 2357 * 100%);
    transform: translateX(-50%);
  }
  .lp-06 .trial-lesson-btn {
    position: absolute;
    left: 50%;
    bottom: calc(214 / 2689 * 100%);
    transform: translateX(-50%);
  }
  .lp-06 .consult-info-btn {
    position: absolute;
    left: 50%;
    bottom: calc(88 / 2689 * 100%);
    transform: translateX(-50%);
  }
  .lp-07 .trial-lesson-btn {
    position: absolute;
    left: 50%;
    bottom: calc(179 / 2562 * 100%);
    transform: translateX(-50%);
  }

  .lp-07 .consult-info-btn {
    position: absolute;
    left: 50%;
    bottom: calc(48 / 2562 * 100%);
    transform: translateX(-50%);
  }
  .lp-08 .free-consult-btn {
    position: absolute;
    left: 50%;
    bottom: calc(204 / 2368 * 100%);
    transform: translateX(-50%);
  }
}


.lp-wrap h3 {
  margin-top: 50px;
}

.youtube {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto 80px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.youtube iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.floating-bnr {
  z-index: 1000;
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 50%;
  z-index: 1000;
  transform: translateX(-50%);
  background-color: rgba(216, 243, 255, 0.8);
}

.floating-bnr {
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.floating-bnr.is-hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.floating-inner {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  gap: 0 20px;
  padding: 25px 20px;
  width: 100%;
  display: flex;
}

.floating-bnr .floating-inner>div {
  width: calc(50% - 10px);
}

.floating-bnr .floating-inner>div img {
  width: 100%;
}

.floating-bnr .floating-inner .sp {
  display: none;
}

.floating-bnr .floating-inner a {
  display: block;
  cursor: pointer;
  transition: 0.7s;
}

.floating-bnr .floating-inner a:hover {
  opacity: 0.7;
}

@media screen and (max-width: 767px) {
  .floating-inner {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    gap: 0 10px;
    padding: 20px 10px;
    width: 100%;
    display: flex;
  }

  .floating-bnr .floating-inner>div {
    width: calc(50% - 5px);
  }

  .floating-bnr .floating-inner .pc {
    display: none;
  }

  .floating-bnr .floating-inner .sp {
    display: block;
  }

  .lp-wrap h3 {
    margin-top: 0;
    margin-bottom: 20px;
  }

  .youtube {
    padding: 0 20px;
    margin: 0 auto 30px;
  }
}