/* ==================================================
   html / body
================================================== */

html {
  font-size: 62.5%;
  scroll-padding-top: 70px;
  scroll-behavior: smooth;
}

body {
  font-family:
    'Noto Sans JP', "Jost", "Roboto",
    Arial,
    sans-serif;
  font-style: normal;
  font-size: 1.6rem;
  line-height: 1.6;
  font-weight: 400;
  color: #333a3a;
  background-color: #fff;
  align-items: center;
  text-align: justify;
  font-feature-settings: 'palt' on;
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
}


/* ==================================================
   改行
================================================== */

/* ---------- SP ---------- */

.spBr {
  display: block;
}


/* ---------- PC ---------- */

@media screen and (min-width: 769px) {
  .spBr {
    display: none;
  }

  .pcBr {
    display: block;
  }
}

/* ---------- SP ---------- */
.pcBr {
  display: none;
}


/* ==============================
   header
================================= */

.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  padding: 0 20px;
  background-color: #fff;
  box-shadow: 2px 2px 20px 0 rgba(0, 0, 0, 0.3);
  z-index: 2000;
}

.header__inner {
  position: relative;
  margin: 0 auto;
}

.header__logo {
  position: absolute;
  top: 10px;
  left: 0;
  width: 290px;
  padding: 0;
}

.header__logo img {
  display: block;
  width: 100%;
  height: auto;
}

.header__subTitle {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  font-feature-settings: "palt";
}


/* ==============================
   SP / Tablet
================================= */

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

  .header {
    padding: 0 10px;
  }

}


/* ==============================
   PC
================================= */

@media screen and (min-width: 1100px) {

  .header {
    height: 110px;
  }

  .header__inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    padding: 30px 0 20px;
  }

  .header__logo {
    position: static;
    width: 450px;
  }

}

/* -------------------------------------------------------------------------- */
/* レイアウト */
/* -------------------------------------------------------------------------- */

.wrap {
  margin: 0 auto;
  padding: 50px 0px;
}

h1 {
  color: #0D4FAA;
  text-align: center;
  font-feature-settings: 'palt' on;
  font-family: "Noto Sans JP";
  font-size: 3rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1.3;
}

h1 span {
  font-size: 2rem;

}


.lead {
  display: block;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 30px 20px 0;
  font-family: Roboto;
  font-style: normal;
  font-weight: 500;
  text-align: left;
  color: #222;
  font-size: 1.6rem;
  line-height: 1.5;
  box-sizing: border-box;
}

.selection-input {
  max-width: 1160px;
  padding: 20px 20px 50px;
  margin: 0 auto;
}

@media screen and (min-width: 769px) {
  .wrap {
    margin: 0 auto;
    padding: 80px 0px 120px;
  }

  h1 {
    font-size: 4.5rem;
  }

  h1 span {
    font-size: 3rem;
  }

  .lead {
    padding: 20px 50px;
    font-size: 1.8rem;
  }
}

/* -------------------------------------------------------------------------- */
/* フロー */
/* -------------------------------------------------------------------------- */

/* ==================================================
   お申し込みステップ
================================================== */

.application-steps {
  width: 100%;
  padding: 30px 20px;
  background: #e7f3ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.application-step {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 250px;
  flex-shrink: 0;
}

.application-step__number {
  width: 42px;
  height: 42px;
  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 2px solid #afc4d9;
  border-radius: 50%;
  background: #fff;

  color: #657083;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.application-step.is-current .application-step__number {
  border-color: #0d4faa;
  background: #0d4faa;
  color: #fff;
}

.application-step__content {
  width: 150px;
  flex-shrink: 0;

  display: flex;
  flex-direction: column;
  gap: 3px;
}

.application-step__label {
  color: #657083;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.application-step.is-current .application-step__label {
  color: #f83d7b;
}

.application-step__title {
  color: #657083;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.application-step.is-current .application-step__title {
  color: #0d4faa;
}

.application-step__line {
  width: 56px;
  height: 2px;
  flex-shrink: 0;
  background: #afc4d9;
}


/* ==================================================
   タブレット
================================================== */

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

  .application-steps {
    padding: 25px 20px;
  }

  .application-step {
    width: 230px;
    gap: 10px;
  }

  .application-step__number {
    width: 40px;
    height: 40px;
    font-size: 15px;
  }

  .application-step__content {
    width: 130px;
  }

  .application-step__label {
    font-size: 10px;
  }

  .application-step__title {
    font-size: 15px;
  }

  .application-step__line {
    width: 40px;
  }

}


/* ==================================================
   SP
================================================== */

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

  .application-steps {
    padding: 20px 10px;
  }

  .application-step {
    width: auto;
    flex: 1;
    min-width: 0;
    gap: 7px;
  }

  .application-step__number {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .application-step__content {
    width: auto;
    flex: 1;
    min-width: 0;
    gap: 3px;
  }

  .application-step__label {
    font-size: 9px;
    white-space: nowrap;
  }

  .application-step__title {
    font-size: 13px;
    line-height: 1.3;
    white-space: nowrap;
  }

  .application-step__line {
    width: 20px;
    height: 2px;
  }

}

/* -------------------------------------------------------------------------- */
/* 校舎ボタン */
/* -------------------------------------------------------------------------- */

.school-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.school-btn {
  padding: 11px 18px;

  border: 1px solid #9ec2ff;
  border-radius: 10px;

  background: #fff;
  color: #333;

  font-size: 14px;
  font-weight: 600;

  cursor: pointer;
  transition: .2s;
}

.school-btn:hover {
  border-color: #b8c0cc;
  background: #fafbfc;
}

.school-btn.active {
  background: #2f6fec;
  border-color: #2f6fec;
  color: #fff;
}

/* -------------------------------------------------------------------------- */
/* プルダウン */
/* -------------------------------------------------------------------------- */

.filter {
  margin: 24px 0 32px;
  display: flex;
  justify-content: flex-start;
}

#gradeFilter {
  appearance: none;
  -webkit-appearance: none;

  width: 240px;
  height: 48px;

  padding: 0 42px 0 16px;

  border: 1px solid #d7dbe2;
  border-radius: 10px;

  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 14px center;

  background-color: #fff;

  font-size: 15px;
  font-weight: 500;
  color: #333;

  cursor: pointer;
  transition: .2s;
}

#gradeFilter:hover {
  border-color: #b8c0cc;
}

#gradeFilter:focus {
  outline: none;
  border-color: #2f6fec;
  box-shadow: 0 0 0 3px rgba(47, 111, 236, .08);
}

/* -------------------------------------------------------------------------- */
/* 講座カード */
/* -------------------------------------------------------------------------- */

.course-area {
  margin-bottom: 30px;
}

.card {
  background: #fff;

  border: 1px solid #d7dbe2;
  border-radius: 12px;

  padding: 18px;
  margin-bottom: 16px;

  transition: .25s;
}

.card:hover {
  border-color: #b8c0cc;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .04);
}

.card.active {
  border-color: #16a34a;
  background: #f0fff4;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .12);
}

/* -------------------------------------------------------------------------- */
/* チェックエリア */
/* -------------------------------------------------------------------------- */

.course-label {
  display: flex;
  align-items: flex-start;
  gap: 14px;

  cursor: pointer;
}

.course-check {
  width: 22px;
  height: 22px;
  margin-top: 2px;

  flex-shrink: 0;
  cursor: pointer;
}

.course-main {
  flex: 1;
}

/* -------------------------------------------------------------------------- */
/* タイトル・メタ */
/* -------------------------------------------------------------------------- */

.title {
  margin-bottom: 8px;

  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.meta {
  font-size: 16px;
  color: #666;
}

/* -------------------------------------------------------------------------- */
/* アイコン */
/* -------------------------------------------------------------------------- */

.type-icon,
.level-icon {
  display: inline-block;

  padding: 3px 8px;
  margin-right: 6px;

  border-radius: 999px;

  font-size: 11px;
  font-weight: 700;
  color: #fff;

  vertical-align: middle;
}

/* 授業形式 */

.type-icon.face {
  background: #ff6b6b;
}

.type-icon.online {
  background: #4dabf7;
}

/* レベル */

.level-icon.basic {
  background: #51cf66;
}

.level-icon.standard {
  background: #f59f00;
}

.level-icon.advanced {
  background: #e03131;
}

/* -------------------------------------------------------------------------- */
/* 詳細 */
/* -------------------------------------------------------------------------- */

.detail-btn {
  margin-top: 12px;
  padding: 0;

  border: none;
  background: none;

  color: #2f6fec;
  font-size: 14px;
  font-weight: 600;

  cursor: pointer;
}

.detail-btn:hover {
  opacity: .7;
}

.detail {
  display: none;

  margin-top: 12px;
  padding-top: 12px;

  border-top: 1px solid #e5e7eb;

  font-size: 14px;
  color: #555;
  line-height: 1.8;
}

.detail.open {
  display: block;
}

/* -------------------------------------------------------------------------- */
/* 選択中 */
/* -------------------------------------------------------------------------- */

.selected {
  margin-top: 40px;

  padding: 24px;

  background: #fff;

  border: 1px solid #d7dbe2;
  border-radius: 12px;
}

.selected h3 {
  margin-top: 0;
  margin-bottom: 14px;

  font-size: 20px;
}

#selectedList {
  margin: 0;
  padding-left: 20px;
}

#selectedList li {
  margin-bottom: 8px;
  font-size: 14px;
}

/* -------------------------------------------------------------------------- */
/* 固定CTA */
/* -------------------------------------------------------------------------- */

.fixed-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;

  padding: 16px 20px;

  background: #fff;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, .08);

  z-index: 999;

  box-sizing: border-box;
}

#count {
  font-size: 14px;
  font-weight: 700;
  color: #555;
}

.btn {
  width: 100%;
  max-width: 360px;

  height: 58px;

  border: none;
  border-radius: 999px;

  background: #16a34a;
  color: #fff;

  font-size: 18px;
  font-weight: 700;

  cursor: pointer;
}

.btn:hover {
  opacity: .92;
  transform: translateY(-1px);
}

/* -------------------------------------------------------------------------- */
/* SP */
/* -------------------------------------------------------------------------- */

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

  .title {
    font-size: 16px;
  }

  .fixed-bar {
    padding: 12px 16px;
    gap: 12px;
  }

  .btn {
    max-width: none;
    min-width: 0;
    width: 70%;
  }

  #count {
    font-size: 13px;
  }

}

/* =========================================================
   1ページ型申し込みフロー
========================================================= */

.application-panel {
  display: none;
}

.application-panel.is-active {
  display: block;
}


/* STEP */

.application-step.is-complete
  .application-step__number {
  opacity: 0.65;
}

.application-step.is-complete
  .application-step__label {
  opacity: 0.65;
}


/* =========================================================
   STEP2 戻るボタン
========================================================= */

/* .application-form-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2.5rem;
} */

.back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid #174f86;
  border-radius: 999px;
  background: #fff;
  color: #174f86;
  font-size: 1.6rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

.back-button:hover {
  background: #174f86;
  color: #fff;
}


/* =========================================================
   STEP3 完了
========================================================= */

.application-complete {
  padding: 2rem 0 5rem;
}

.complete-box {
  max-width: 760px;
  margin: 0 auto;
  padding: 3.5rem 2rem;
  text-align: center;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.06);
}

.complete-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: #174f86;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
}

.complete-box h2 {
  margin-bottom: 2rem;
  color: #174f86;
  font-size: 1.7rem;
  font-weight: 700;
}

.complete-box p {
  margin: 0 0 1rem;
  line-height: 1.9;
}


/* =========================================================
   SP
========================================================= */

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

  .application-form-buttons {
    gap: 1rem;
    margin-top: 2rem;
  }

  .back-button {
    width: 100%;
    max-width: 360px;
  }

  .complete-box {
    padding: 2.5rem 1.25rem;
  }

  .complete-box h2 {
    font-size: 1.35rem;
  }

}

