@charset "UTF-8";

@import url("./lp/lp-base.css");
@import url("./lp/lp-header.css");
@import url("./lp/lp-banner-area.css");
@import url("./lp/lp-area-cta.css");
@import url("./lp/lp-anchor.css");
@import url("./lp/lp-course.css");
@import url("./lp/lp-schedule.css");
@import url("./lp/lp-curriculum.css");
@import url("./lp/lp-review.css");
@import url("./lp/lp-area-faq.css");
@import url("./lp/lp-achivements.css");
@import url("./lp/lp-area-problem.css");
@import url("./lp/lp-area-reason.css");
@import url("./lp/lp-area-present.css");
@import url("./lp/lp-area-results.css");
@import url("./lp/lp-area-flow.css");
@import url("./lp/lp-area-review.css");
@import url("./lp/lp-elementary.css");
@import url("./lp/lp-grade.css");

.l-header {
  width: 100%;
  position: fixed;
  top: 0;
  padding: 8px 16px;
  color: #005bab;
  z-index: 300;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.l-header__brand {
  display: flex;
  flex-direction: column;
}

.l-header__title {
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 4px;
}

.l-header__logo {
  display: block;
  width: 160px;
  height: auto;
}

.l-header__logo--img {
  width: 100%;
  height: auto;
}

.l-header__catch {
  font-size: 11px;
  margin: 2px 0 0;
}

/* Header right */
.l-header__right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.l-header__nav {
  display: flex;
  gap: 4px;
}

.l-header__nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 44px;
  border-radius: 4px;
  text-decoration: none;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  gap: 3px;
  line-height: 1;
  transition: opacity 0.2s ease;
}

.l-header__nav-btn:hover {
  opacity: 0.85;
  color: #fff;
}

.l-header__nav-btn--contact {
  background-color: #eb0407;
}

.l-header__nav-btn--school {
  background-color: #1a41ad;
}

.l-header__nav-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Hamburger button */
.l-header__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  box-sizing: border-box;
}

.l-header__hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background-color: #1a41ad;
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
  transform-origin: center;
}

.l-header__hamburger.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.l-header__hamburger.is-open span:nth-child(2) {
  transform: scaleX(0);
  opacity: 0;
}

.l-header__hamburger.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Drawer overlay */
.l-drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.l-drawer-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* Drawer */
.l-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(300px, 80vw);
  height: 100%;
  background-color: #fff;
  z-index: 250;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding: 80px 24px 40px;
  box-sizing: border-box;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
  clip-path: inset(0 -30px 0 0);
}

.l-drawer.is-open {
  transform: translateX(0);
}

.l-drawer__list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
}

.l-drawer__list li {
  margin: 0;
  padding: 0;
  text-indent: 0;
}

.l-drawer__list li::before,
.l-drawer__list li::after {
  display: none;
  content: none;
}

.l-drawer__link {
  display: block;
  padding: 16px 0;
  color: #1a41ad;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid #e8eef8;
  transition: color 0.2s ease;
}

.l-drawer__link:hover {
  color: #001f9e;
}

.l-drawer__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  background: radial-gradient(91.14% 95.42% at 50% 4.58%, #ff2c2f 70%, #eb0407 71%);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 100px;
  box-shadow: 0 4px 13px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
  text-align: center;
}

.l-drawer__cta:hover {
  transform: translateY(-4px);
}

/* Float banner — lp-area overrides */
#lp__float-cta .p-cta__btn {
  flex: 1;
  width: auto;
  justify-content: center;
  font-size: 15px;
  padding: 14px 10px;
  border-radius: 8px;
  gap: 6px;
}

/* SP: 左アイコン非表示でスペース確保 */
#lp__float-cta .p-cta__btn--trial::before,
#lp__float-cta .p-cta__btn--request::before {
  display: none;
}

#lp__float-cta .p-cta__btn--trial::after,
#lp__float-cta .p-cta__btn--request::after {
  width: 7px;
  height: 11px;
}

@media (min-width: 768px) {
  #lp__float-cta .p-cta__btn {
    font-size: 20px;
    padding: 14px 32px;
    border-radius: 100px;
    gap: 16px;
  }

  #lp__float-cta .p-cta__btn--trial::before,
  #lp__float-cta .p-cta__btn--request::before {
    display: block;
  }

  #lp__float-cta .p-cta__btn--trial::before {
    width: 28px;
    height: 20px;
  }

  #lp__float-cta .p-cta__btn--request::before {
    width: 20px;
    height: 24px;
  }

  #lp__float-cta .p-cta__btn--trial::after,
  #lp__float-cta .p-cta__btn--request::after {
    width: 8px;
    height: 13px;
  }
}

@media (min-width: 768px) {
  .l-header {
    padding: 16px max(24px, calc(50% - 480px));
  }

  .l-header__title {
    font-size: 16px;
    margin: 0 0 6px;
  }

  .l-header__logo {
    width: 240px;
  }

  .l-header__catch {
    font-size: 12px;
  }

  .l-header__right {
    gap: 12px;
  }

  .l-header__nav {
    gap: 8px;
  }

  .l-header__nav-btn {
    width: 72px;
    height: 56px;
    font-size: 12px;
    border-radius: 6px;
    gap: 4px;
  }

  .l-header__nav-btn svg {
    width: 22px;
    height: 22px;
  }
}
.l-main {
  padding-top: 48px;
}

.p-kv {
  width: 100%;
  min-height: 500px;
  background-image: url("../../img/lp/saitama/kv-saitama_sp-1.webp");
  background-size: cover;
  background-position: center;
  position: relative;
}
.p-kv__text {
  position: absolute;
  white-space: nowrap;
  top: 64px;
  left: 8px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  filter: drop-shadow(0px 4px 4px #00000030);
}
.p-kv__subtitle--highlight {
  font-size: clamp(36px, 5vw, 54px);
}

@media (min-width: 768px) {
  .p-kv {
    width: 100%;
    min-height: unset;
    aspect-ratio: 2720 / 720;
    background-image: url("../../img/lp/saitama/kv-saitama_pc-1.webp");
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
  }

  .p-kv__text {
    font-size: 24px;
    top: 30%;
    left: max(24px, calc(50% - 400px));
  }
}

/* p-anchor */
.p-anchor {
  --fill-0: #1a41ad;
}

.p-anchor__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 8px;
}

.p-anchor__item {
  flex: 1 1 calc(50% - 4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 16px 4px 8px;
  background-color: #fff;
  border-radius: 8px;
  border: 2px solid #1a41ad;
  text-decoration: none;
  min-width: 0;
}

.p-anchor__item.js-fadein {
  transition:
    opacity 0.6s ease,
    transform 0.6s ease,
    background-color 0.2s ease;
}

.p-anchor__item:hover {
  background-color: rgba(26, 65, 173, 0.08);
}

.p-anchor__label {
  margin: 0;
  font-weight: 600;
  text-align: center;
  color: #1a41ad;
}

.p-anchor__label span {
  display: block;
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: -0.08em;
}

.p-anchor__label strong {
  display: block;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 600;
  color: #1a41ad;
}

.p-anchor__label--equal span,
.p-anchor__label--equal strong {
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: normal;
}

.p-anchor__icon {
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .l-main {
    padding-top: 16px;
  }

  .p-anchor__inner {
    flex-wrap: nowrap;
    gap: 16px;
    max-width: 960px;
    margin: 0 auto;
    padding: 32px 0;
  }

  .p-anchor__item {
    flex: 1;
    padding: 16px 0 8px;
  }
}

/* p-achievements */
.p-achievements {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px;
}

.p-achivement__balloon {
  background-color: #1a41ad;
  width: 90%;
  max-width: 342px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 4px;
}

.p-achivement__balloon p {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}
.p-achivement__balloon p span {
  font-size: 24px;
  font-weight: 700;
  margin-right: 2px;
}

.p-achivement__balloon::after {
  content: "";
  display: block;
  width: 26px;
  height: 14px;
  background-color: #1a41ad;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.p-achivement__highlight {
  background: linear-gradient(0deg, rgba(231, 200, 0, 0.059) 0%, rgba(231, 200, 0, 0.2) 100%), linear-gradient(94deg, #b50003 13.14%, #e40d10 26.64%, #f3161a 45.51%, #dd0408 58.58%, #dd0408 74.66%, #9d0003 91.73%);
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
  margin-top: 16px;
  width: 100%;
}

.p-achivement__highlight--text {
  display: flex;
  align-items: baseline;
  text-shadow: 0px 4px 4px #00000060;
}

.p-achivement__inner {
  width: 100%;
  background: linear-gradient(180deg, #fffeec 0%, #fff6d5 100%);
  overflow: hidden;
  padding: 8px 16px 16px;
  border-left: 4px solid #e1be56;
  border-bottom: 4px solid #e1be56;
  border-right: 4px solid #e1be56;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.p-achivement__small {
  color: #fff;
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
}

.p-achivement__number {
  font-family: "jost", sans-serif;
  color: #fff;
  font-size: 48px;
  font-weight: 500;
  line-height: 1;
}

.p-achivement__exclamation {
  color: #fff;
  font-size: 27px;
  font-weight: 700;
  line-height: 1;
}

.p-achivement__content {
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.p-achivement__item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.p-achivement__title {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin: 0;
  line-height: 1;
}

.p-achivement__row {
  display: flex;
  align-items: center;
}

.p-achivement__badge {
  width: 56px;
  height: 56px;
  background: radial-gradient(50% 50% at 50% 50%, #f00 0%, #900 100%);
  border: 2px solid #e1be55;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.p-achivement__badge span {
  font-family: serif;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
}

.p-achivement__count {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.p-achivement__num {
  font-family: "jost", sans-serif;
  color: #df0003;
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.p-achivement__unit {
  color: #333;
  font-size: 16px;
  font-weight: 700;
}

.p-achivement__result {
  color: #333;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  margin: 0;
}

.p-achivement__notice {
  color: #333;
  font-size: 12px;
  font-weight: 700;
  margin: 0;
  text-align: center;
}

/* p-present__box */
.p-present__box {
  width: auto;
  max-width: 960px;
  margin: 0 auto;
  background-color: #1a41ad;
  padding: 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 4px;
}

.p-present__box .p-present__bg--tl {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 32px;
  background: linear-gradient(0deg, rgba(231, 200, 0, 0.109) 0%, rgba(231, 200, 0, 0.2) 100%), linear-gradient(226deg, #7f0c0d 12.83%, #e51517 47.13%, #7f0c0d 88.59%);
  transform: rotate(-45deg) translateY(32px) translateX(-72px);
  transform-origin: top left;
}

.p-present__box .p-present__bg--br {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  height: 32px;
  background: linear-gradient(0deg, rgba(231, 200, 0, 0.109) 0%, rgba(231, 200, 0, 0.2) 100%), linear-gradient(226deg, #7f0c0d 12.83%, #e51517 47.13%, #7f0c0d 88.59%);
  transform: rotate(-45deg) translateY(-32px) translateX(72px);
  transform-origin: bottom right;
}

.p-present__box__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 0 12px;
  position: relative;
  z-index: 1;
}

.p-present__box__subtitle {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  margin: 8px 0 0;
}

.p-present__box__title {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.p-present__box__title--text {
  display: flex;
  align-items: baseline;
  line-height: 1;
}

.p-present__box__title--text span {
  color: #fff200;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.p-large__number {
  font-family: "jost", sans-serif;
  color: #fff200 !important;
  font-size: 62px !important;
  font-weight: 500 !important;
  line-height: 1;
}

.p-present__box__title--sub {
  color: #fff200;
  font-size: 38px;
  font-weight: 700;
  margin: 0;
  line-height: 1.1;
}

.p-present__box__image {
  display: flex;
  gap: 16px;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.p-present__box__image picture img {
  width: 96px;
  height: auto;
  object-fit: contain;
}

/* ============================
   PC: Achievements section
   ============================ */
@media (min-width: 768px) {
  .p-achievements {
    max-width: 960px;
    margin: 0 auto;
    padding: 32px 24px;
    width: 100%;
  }

  .p-achivement__balloon {
    max-width: 480px;
  }

  /* 実績アイテム横並び */
  .p-achivement__content {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 8px 24px;
  }

  .p-achivement__item {
    flex: 0 0 auto;
  }

  /* notice を独立行に */
  .p-achivement__notice {
    flex-basis: 100%;
    margin-top: 0;
  }

  .p-achivement__title {
    font-size: 32px;
  }

  /* プレゼントブロック: テキスト左・画像右 */
  .p-achivement__inner .p-present__box {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 16px 24px;
    max-width: none;
  }

  .p-achivement__inner .p-present__box__header {
    align-items: flex-start;
    text-align: left;
    margin: 0;
  }

  .p-achivement__inner .p-present__box__subtitle {
    text-align: left;
  }

  .p-achivement__inner .p-present__box__title {
    align-items: flex-start;
  }

  .p-achivement__inner .p-present__box__image {
    flex-shrink: 0;
  }

  .p-achivement__inner .p-present__box__image picture img {
    width: 100px;
    height: 140px;
  }
  .p-achivement__num {
    font-size: 112px;
  }
  .p-achivement__inner {
    width: 100%;
    padding: 16px 64px 24px;
  }
  .p-achivement__badge {
    width: 80px;
    height: 80px;
  }
  .p-achivement__badge span {
    font-size: 18px;
  }
  .p-achivement__small {
    font-size: 32px;
  }

  .p-achivement__number {
    font-size: 72px;
  }
  .p-achivement__balloon {
    width: 100%;
    max-width: 480px;
    height: 64px;
  }
  .p-achivement__balloon p {
    font-size: 24px;
  }
  .p-achivement__balloon p span {
    font-size: 32px;
  }
  .p-achivement__exclamation {
    font-size: 40px;
  }
}
