@charset "UTF-8";

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

.tb,
.tbpc,
.pc {
  display: none;
}

.fadein {
  opacity: 0;
  transition:
    opacity 1s ease,
    transform 1s ease;
  transition-delay: 0s;
}

.fadein.scrollin {
  opacity: 1;
}

:root {
  /* root color */
  --cream: #fffceb;
  --red: #af1d3b;
  --black: #131313;
  --lemon: #fef72a;
  --yellow: #f4f084;
  --blue: #b4caf2;
  --pink: #ffdae3;

  /* root font-weight */
  --font_black: 700;
  --font_bold: 600;
  --font_medium: 500;
  --font_regular: 400;
}

/*  color setting */
.bg_grid {
  background-color: #fff;
  background-image:
    linear-gradient(#cce1ef 0.5px, transparent 0.5px),
    linear-gradient(90deg, #cce1ef 0.5px, transparent 0.5px);
  background-size: 17.5px 17.5px;
}

.font_white {
  color: #fff;
}

.bg_white {
  background-color: #fff;
}

.bg_black {
  background: var(--black);
}

.bg_yellow {
  background-color: var(--yellow);
}

.bg_blue {
  background-color: var(--blue);
}

.bg_pink {
  background-color: var(--pink);
}

.bg_red {
  background-color: var(--red);
}

.bg_lemon {
  background-color: var(--lemon);
}

.font_red {
  color: var(--red);
}

.bg_cream {
  background-color: var(--cream);
}

/* font setting */

.font_regular {
  font-weight: var(--font_regular);
}

.font_medium {
  font-weight: var(--font_medium);
}

.font_bold {
  font-weight: var(--font_bold);
}

.font_black {
  font-weight: var(--font_black);
}

.is_palt {
  font-feature-settings: 'palt' on;
}

.Abhaya {
  font-family: 'Abhaya Libre', serif;
  font-weight: 800;
  font-style: normal;
}

small {
  font-size: 13px;
  line-height: 2;
  letter-spacing: 0.08em;
  display: block;
  font-weight: var(--font_regular);
}

sup {
  vertical-align: super;
  font-size: 0.6em;
  position: relative;
  top: -0.9em;
  letter-spacing: -0.1em;
}

.marker {
  position: relative;
  z-index: 0;
  margin-inline: 0.04em;
}

.marker::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 0.33em;
  bottom: 2px;
  left: 0;
  background: #fef72a;
  padding-inline: 0.15em;
  z-index: -1;
}

@keyframes fadein {
  to {
    opacity: 0.7;
  }
}

/* =====html setting===== */
html,
body {
  overscroll-behavior-y: none;
}

html {
  letter-spacing: 0.08em;
  font-size: 16px;
  height: auto;
  font-weight: var(--font_medium);
  scroll-behavior: smooth;
}

body {
  font-family: YakuHanJP, 'Noto Sans JP', sans-serif;
  letter-spacing: 0.08em;
  color: var(--black);
  position: relative;
}

header {
  position: absolute;
  top: 0;
  left: 0;
  width: 70px;
  height: 70px;
  z-index: 2;
}

header a {
  position: relative;
}

/* hero */
#hero .inner {
  margin-inline: auto;
  width: 320px;
  position: relative;
}

.h1_subtitle {
  position: absolute;
  width: 224.5px;
  height: auto;
  transform: rotate(8deg);
  top: 38px;
  right: -5px;
}

h1 {
  position: relative;
  margin-inline: auto;
  padding-top: 263px;
}

h1::before {
  content: '';
  width: 177.5px;
  height: 98px;
  background: url('../img/pencil_books.svg') no-repeat center / contain;
  top: 135px;
  left: -16px;
  position: absolute;
}

.h1_img {
  width: 270px;
  margin-inline: auto;
  margin-bottom: 35px;
  transition-delay: 0.2s;
}

.best_solution {
  width: 263px;
  height: auto;
  aspect-ratio: 263.27/83.46;
  margin-inline: auto;
  position: relative;
  transition-delay: 0.2s;
}

.best_solution::after {
  content: '';
  width: 27px;
  height: auto;
  aspect-ratio: 25/13;
  transform: rotate(45deg);
  top: -15px;
  right: -21px;
  position: absolute;
  background: url('../img/best_solution_accent.svg') no-repeat center / cover;
}

.best_solution img {
  display: block;
  width: 100%;
}

.hero_copy_box p.hero_copy {
  text-align: center;
  margin-block: 37px 54px;
  line-height: 2;
  letter-spacing: 0.1em;
  transition-delay: 0.5s;
}

/* nav */
#nav {
  margin-block: 56px 35px;
}

.nav_lists {
  display: flex;
  text-align: center;
  gap: 21px;
  flex-direction: column;
  width: 320px;
  margin-inline: auto;
  padding-left: 22px;
}

a.nav_button .button_wrapper {
  margin-inline: auto;
  width: 299px;
  height: 59px;
  border-radius: 10px;
  border: 1px solid var(--black);
  background: #fff;
  position: relative;
  display: flex;
  gap: 6px;
  justify-content: center;
  padding-left: 34px;
}

a.nav_button div span.Abhaya {
  position: absolute;
  width: 63px;
  height: 63px;
  border: 1px solid var(--black);
  background: #fff;
  color: var(--red);
  font-size: 33px;
  border-radius: 50%;
  display: block;
  top: 50%;
  transform: translateY(-50%);
  left: -23px;
  padding-top: 0.45em;
}

.nav_button_text {
  width: 108px;
  height: auto;
}

a.nav_button .best_solution {
  width: 91px;
  height: auto;
  margin-inline: 0;
  padding-top: 13.5px;
}

a.nav_button .best_solution::after {
  width: 10px;
  top: 8px;
  right: -8px;
}

/*common h2*/
.inner {
  width: 320px;
  margin-inline: auto;
  text-align: center;
}

.number {
  color: var(--red);
  font-size: 57px;
  line-height: 1.08;
  letter-spacing: 0.08em;
  position: relative;
  margin-block: 21px;
  margin-inline: auto;
  text-align: center;
}

.number::before,
.number::after {
  position: absolute;
  content: '';
  width: 117px;
  height: 1px;
  top: 50%;
  transform: translateY(-50%);
  left: -130px;
  background: var(--black);
}

.number::after {
  left: auto;
  right: -130px;
}

h2 {
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  margin-block: 29px 202px;
}

.h2_text {
  width: 241px;
  margin-inline: auto;
}

h2 .best_solution {
  width: 184px;
  margin-top: 15px;
}

h2 .best_solution::after {
  width: 20px;
  top: -11px;
  right: -16px;
}

h2::before {
  content: '';
  width: 144px;
  height: 142px;
  background: url('../img/calender.svg') no-repeat center / contain;
  bottom: -177px;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
}

.lead_text {
  font-size: 19px;
  line-height: 1.95;
  letter-spacing: 0.08em;
  margin-block: 25px 41px;
  text-align: center;
}

.lead_text .font_red {
  font-size: 29px;
  line-height: 1;
  font-weight: var(--font_bold);
}

summary.acc_label {
  border-radius: 30px;
  border: 1px solid var(--black);
  width: 200px;
  height: 60px;
  display: grid;
  place-items: center;
  text-align: center;
  margin-bottom: 60px;
  margin-inline: auto;
}

.acc_title {
  line-height: 2.31;
  letter-spacing: 0.1em;
  font-weight: var(--font_regular);
}

.acc_title.close {
  display: none;
}

details[open] .acc_title.open {
  display: none;
}

details[open] .acc_title.close {
  display: inline;
}

.acc_contents {
  margin-block: 60px;
  margin-inline: auto;
}

/*date*/

ul.date_acc_list {
  width: 320px;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 50px 20px;
}

.date_acc_list li {
  width: 150px;
  height: 129px;
  display: grid;
  border-radius: 10px;
  border: 1px solid var(--black);
  place-items: center;
  background: #fff;
  font-size: 21px;
  line-height: 2.14;
  letter-spacing: 0.08em;
  font-feature-settings: 'palt' on;
  padding-left: 0.35em;
}

.date_acc_list li.bg_red {
  position: relative;
  background: var(--red);
}

.Abhaya.new,
.recommend_memo {
  position: absolute;
  font-size: 30.5px;
  line-height: 1.03;
  letter-spacing: 0.06em;
  text-align: center;
  top: -1.2em;
  left: 50%;
  transform: translateX(-50%);
}

.Abhaya.new::before,
.Abhaya.new::after,
.recommend_memo::before,
.recommend_memo::after {
  content: '';
  height: 0.67em;
  aspect-ratio: 8.965/17.93;
  bottom: 5.5px;
  position: absolute;
}

.Abhaya.new::before,
.recommend_memo::before {
  background: url('../img/slash_b.svg') no-repeat center / contain;
  left: -0.65em;
}

.Abhaya.new::after,
.recommend_memo::after {
  background: url('../img/slash.svg') no-repeat center / contain;
  right: -0.5em;
}

.feature_text {
  display: block;
  width: 320px;
  height: 159px;
  text-align: center;
  border-inline: 1px solid var(--black);
  font-size: 19px;
  line-height: 1.85;
  letter-spacing: 0.1em;
  margin-block: 45px 30px;
}

.feature_text .font_red {
  font-size: 29px;
}

.location {
  width: 320px;
  margin-inline: auto;
  position: relative;
  padding-top: 42px;
}

.location::before {
  position: absolute;
  content: '';
  width: 100%;
  height: auto;
  aspect-ratio: 320/361.5;
  background: url('../img/japan_map.svg') no-repeat center / contain;
  inset: 0;
  z-index: 0;
}

.location h3 {
  position: relative;
  font-size: 30px;
  text-align: right;
  line-height: 1;
  letter-spacing: 0.1em;
}

.location h3::before {
  position: absolute;
  content: '';
  height: 1.1em;
  background: url('../img/pin.svg') no-repeat center / contain;
  top: 1px;
  left: 0;
  aspect-ratio: 23 / 30.7;
}

.location_lead {
  margin-block: 42px 83px;
  font-size: 19px;
  line-height: 1.95;
  letter-spacing: 0.1em;
  z-index: 1;
  position: relative;
}

.location_lead .font_red {
  line-height: 1;
}

.location_lead .value {
  font-size: 29px;
}

.location_list {
  display: flex;
  flex-wrap: wrap;
  width: 320px;
  gap: 30px 20px;
  justify-content: center;
}

.location_list li {
  border-radius: 10px;
  border: 1px solid var(--black);
  width: 80px;
  height: 70px;
  background: #fff;
  font-weight: var(--font_regular);
  line-height: 2.06;
  letter-spacing: 0.1em;
  display: flex;
  justify-content: center;
  align-items: center;
}

.location_list li.bg_red {
  font-size: 19px;
  line-height: 1.74;
  position: relative;
  background-color: var(--red);
}

.location_list li.bg_red span.Abhaya.new {
  font-size: 20px;
}

.location small {
  margin-top: 42px;
  letter-spacing: 0.07em;
  text-align: justify;
}

/*method*/
#method h2 {
  margin-block: 29px 215px;
}

#method h2::before {
  content: '';
  width: 119px;
  height: 150px;
  background: url('../img/loupe.svg') no-repeat center / contain;
  bottom: -185px;
}

#method .lead_text {
  letter-spacing: 0.06em;
  line-height: 2.1;
}
#method .lead_text .font_red {
  line-height: 1.5;
}

/*method_cards*/
.cards_wrapper {
  margin-inline: auto;
  width: 280px;
  margin-bottom: 33px;
}

.acc_cards {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 66px;
}

li.card {
  width: 280px;
  height: 572px;
  border: 1px solid var(--black);
  background: #fff;
  border-radius: 10px;
  position: relative;
}

li.card.card05,
li.card.card06 {
  background: var(--red);
}

li.card .Abhaya.new {
  font-size: 37.5px;
  color: var(--red);
  top: -1.23em;
}

li.card .Abhaya.new::before,
li.card .Abhaya.new::after {
  height: 0.72em;
}

.card_inner {
  width: 230px;
  margin: 34px auto 25px;
  display: grid;
  place-items: center;
}

.card_title {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-block: 21px 19px;
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  position: relative;
  width: 230px;
  height: 141px;
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0.1em;
  font-weight: var(--font_bold);
}

.card04 .card_title {
  padding-left: 0.4em;
}

.card05 .card_title,
.card06 .card_title {
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
}

.card06 .card_title {
  flex-direction: column;
  gap: 10px;
}

.card01 .card_title::before,
.card02 .card_title::before,
.card03 .card_title::before,
.card06 .card_title::before {
  position: absolute;
  content: '★';
  right: 1px;
  top: 8px;
  color: var(--red);
  font-size: 22px;
  line-height: 1;
}

.card06 .card_title::before {
  color: #fff;
}

.card_title .card_title_method {
  text-align: left;
}

.card_title sup {
  top: 1em;
  letter-spacing: 0em;
  margin-left: -0.5em;
  font-weight: var(--font_regular);
}

.card06 .card_title sup {
  margin-left: 0.2em;
  top: 0em;
}

.card_labels {
  height: 86px;
  width: 100%;
  margin-block: 28px 12px;
}

p.card_label {
  width: 100%;
  height: 100%;
  border: 1px solid var(--black);
  text-align: center;
  font-size: 15px;
  font-weight: var(--font_regular);
  line-height: 1;
  letter-spacing: 0.1em;
  padding: 10px;
  display: grid;
  place-items: center;
}

.card02 .card_labels {
  display: grid;
  gap: 5px;
  place-items: center;
}

.card02 p.card_label {
  height: 32px;
  text-align: left;

  padding: 0 0 1px 0;
}

ul.card_content_list {
  width: 231px;
  margin-inline: auto;
  text-align: left;
}

ul.card_content_list li {
  position: relative;
  margin-left: 1.7em;
  line-height: 1.37;
  letter-spacing: 0.08em;
  font-weight: var(--font_regular);
  display: inline-block;
  padding-block: 14px;
}

ul.card_content_list li sup {
  top: 0.05em;
  letter-spacing: 0em;
  margin-left: -0.5em;
}

ul.card_content_list li span.font_bold {
  color: #fef72a;
}

ul.card_content_list li::before {
  position: absolute;
  content: '';
  width: 22px;
  height: 22px;
  background: url('../img/check_circle.svg') no-repeat center / contain;
  top: 16px;
  left: -1.85em;
}

ul.card_content_list li::after {
  position: absolute;
  content: '';
  width: 237px;
  height: 1px;
  background: url('../img/dashed.svg') no-repeat center / cover;
  bottom: 0;
  left: -1.7em;
}

.card05 ul.card_content_list li::after,
.card06 ul.card_content_list li::after {
  background: url('../img/dashed_white.svg') no-repeat center / cover;
}

ul.card_content_list li:last-child:after {
  height: 0;
}

#method small {
  text-align: justify;
  line-height: 1.69;
  letter-spacing: 0.11em;
  margin-block: 34px 18px;
}

#method .memo {
  font-size: 14px;
  font-weight: var(--font_regular);
  line-height: 1.64;
  letter-spacing: 0.1em;
  text-align: justify;
  margin-bottom: 38px;
}

#method .memo .star_memo {
  line-height: 1.57;
  margin-bottom: 7px;
  display: inline-block;
}

.second_choice {
  display: flex;
  width: 320px;
  padding: 25px 22px 26px 22px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 18px;
}

.second_choice h3 {
  border-radius: 43px;
  width: 276px;
  height: 86px;
  padding: 10px;
  text-align: center;
  display: grid;
  place-items: center;
  line-height: 1.29;
  letter-spacing: 0.1em;
  font-size: 17px;
  font-weight: var(--font_regular);
}

.second_choice_text {
  font-size: 14px;
  line-height: 1.64;
  letter-spacing: 0.07em;
  text-align: justify;
}

/* exam_fee */

#exam_fee h2::before {
  width: 128px;
  height: 126px;
  background: url('../img/piggy_bank.svg') no-repeat center / contain;
  bottom: -170px;
}

#exam_fee .lead_text {
  letter-spacing: 0.05em;
}

#exam_fee .lead_text .font_red {
  line-height: 1.25;
  margin-block: 0.2em;
  display: inline-block;
}

#exam_fee summary.acc_label {
  margin-bottom: 60px;
}

.exam_fee_content_box {
  width: 320px;
  margin-inline: auto;
  margin-block: 60px;
  display: grid;
}
.discount_system.system01 {
  margin-bottom: 80px;
}

.discount_system_title {
  display: flex;
  flex-direction: column;
  position: relative;
}

.recommend_memo {
  font-size: 19px;
  line-height: 2.05;
  letter-spacing: 0.05em;
  top: -2.4em;
}

.recommend_memo::before,
.recommend_memo::after {
  height: 1.3em;
}

.recommend_memo::before {
  left: -1.05em;
}

.recommend_memo::after {
  right: -1em;
}

.discount_system_title .bg_red {
  width: 320px;
  height: 53px;
  padding: 7px;
  display: grid;
  place-items: center;
  border-radius: 33px 33px 0 0;
  border: 1px solid var(--black);
  font-size: 19px;
  line-height: 2.1;
  letter-spacing: 0.05em;
  text-align: center;
}

.discount_system_title .bg_white {
  width: 320px;
  height: 53px;
  padding: 10px;
  font-size: 17px;
  line-height: 1.74;
  letter-spacing: 0.1em;
  border: 1px solid var(--black);
  border-top: 0px;
}

.discount_system_title .bg_white .value {
  font-size: 25.5px;
  line-height: 1;
}

.discount_system_list {
  display: flex;
  flex-direction: column;
  margin-top: 30px;
}

.discount_system_list .list_box {
  border-radius: 11.2px;
  border: 1px solid var(--black);
  background: #fff;
  width: 280px;
  height: 163.5px;
  gap: 13.5px;
  display: grid;
  place-items: center;
  font-weight: var(--font_bold);
  text-align: center;
  letter-spacing: 0.1em;
  padding: 30px 0 32px 0;
  margin-inline: auto;
}
.discount_system_list .list_box.bg_lemon {
  background-color: var(--lemon);
}

.system_name,
.total_text {
  font-size: 18px;
  line-height: 1.56;
}

.discount_system_list .list_box.bg_lemon .system_name span {
  margin-left: 0.4em;
}

.discount_system_list .list_box.bg_lemon .system_name sup {
  top: -0.15em;
  margin-left: -0.2em;
  font-size: 0.56em;
}

.total_text {
  line-height: 1.5;
}

.amount {
  font-size: 20px;
  line-height: 1.55;
}

.discount_system_list .calc img {
  width: 45px;
  height: 45px;
  margin-inline: auto;
  margin-block: -13.5px;
  z-index: 10;
  position: relative;
  transform: rotate(90deg);
}

.discount_system_list .list_box.total {
  width: 280px;
  height: 201.5px;
  padding: 28px;
  gap: 13px;
}

.total_text .font_red {
  font-size: 20px;
}

.total_amount {
  font-size: 18px;
  line-height: 1.37;
}

.arrow_amount {
  width: 12.2px;
  height: 16.4px;
  margin-inline: auto;
  margin-block: 4px -3px;
}

.total_amount .font_red {
  font-size: 24.5px;
}

.fee_note {
  text-align: center;
  font-size: 17px;
  line-height: 2.35;
  letter-spacing: 0.08em;
  margin-block: 30px 44px;
}

.dotted {
  display: inline-block;
  position: relative;
  padding-bottom: 0.18em;
}

.dotted::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 100%;
  height: 3px;
  background-image: radial-gradient(
    circle,
    currentColor 1.2px,
    transparent 1.3px
  );
  background-size: 4.5px 3px;
  background-repeat: repeat-x;
  background-position: left center;
}

.discount_system_cta,
.scholarship_cta,
.schedule_cta {
  border-radius: 10px;
  width: 250px;
  height: 91px;
  padding: 16px 23px;
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: 0.08em;
  position: relative;
  text-align: left;
  margin-inline: auto;
  display: block;
}

.discount_system_cta::after,
.scholarship_cta::after,
.schedule_cta::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 30px;
  top: 50%;
  transform: translateY(-50%);
  right: 23px;
  background: url('../img/arrow_red_circle.svg') no-repeat center / contain;
}

.after_acceptance {
  width: 320px;
  border: 1px solid var(--black);
  position: relative;
  padding-block: 40px;
}

.after_acceptance::before,
.after_acceptance::after {
  content: '';
  position: absolute;
  top: -13px;

  width: 1px;
  height: 26px;
  background: var(--black);
  box-shadow: 10px 0 0 var(--black);
}

.after_acceptance::before {
  left: 30px;
}

.after_acceptance::after {
  right: 40px;
}

.flame_inner {
  width: 250px;
  margin-inline: auto;
}

.after_acceptance h3 {
  width: 187px;
  height: 187px;
  position: relative;
  margin-inline: auto;
}

.after_acceptance h3 img {
  width: 100%;
}

.after_acceptance h3::after {
  position: absolute;
  content: '';
  width: 63px;
  height: 65px;
  bottom: -15.5px;
  right: 19.5px;
  background: url('../img/coins.svg') no-repeat center / contain;
}

.after_acceptance .lead_title {
  margin-block: 31px 8px;
  line-height: 1.38;
  letter-spacing: 0.1em;
  font-size: 16px;
  text-align: left;
}

.after_acceptance .lead_title .font_red {
  font-size: 24.5px;
  margin-bottom: 0.35em;
  display: inline-block;
}

#exam_fee .after_acceptance .lead_text {
  line-height: 1.81;
  font-size: 16px;
  text-align: justify;
}

.financial_relief.point01 {
  width: 250px;
  height: 230px;
  position: relative;
}

.financial_relief.point01::after {
  content: '';
  position: absolute;
  width: 250px;
  height: 1px;
  bottom: 0;
  inset-inline: 0;
  background: url(../img/dashed_250.svg) no-repeat center / 100% 100%;
}

.financial_relief.point02 {
  margin-block: 20px 34px;
}

.financial_relief_title {
  font-size: 19px;
  line-height: 2.11;
  letter-spacing: 0.1em;
  font-weight: var(--font_bold);
  margin-left: 1.8em;
  position: relative;
  text-align: left;
}

.financial_relief_title::before {
  content: '';
  position: absolute;
  width: 29px;
  height: 29px;
  top: 55%;
  transform: translateY(-50%);
  left: -1.95em;
  background: url('../img/check_circle.svg') no-repeat center / contain;
}

.financial_relief_text {
  margin-block: 8px 20px;
  font-size: 15px;
  font-weight: var(--font_regular);
  line-height: 1.8;
  letter-spacing: 0.07em;
  text-align: justify;
}

.financial_relief_text .font_red {
  font-weight: var(--font_bold);
}

/* find_your_type */

#find_your_type h2 {
  padding-block: 64px 50px;
  margin-block: auto;
}
#find_your_type h2::before {
  width: 0;
}

#find_your_type h2 .h2_text {
  width: 177px;
  margin-inline: auto;
}

#find_your_type h2 .best_solution {
  width: 190px;
}

#find_your_type h2 .best_solution::after {
  background: url('../img/best_solution_accent_white.svg') no-repeat center /
    contain;
  width: 21px;
  top: -12px;
  right: -17px;
}

#find_your_type .lead_text {
  margin-block: 0px 56px;
}

.types {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 280px;
  margin-inline: auto;
  padding-bottom: 70px;
}

.details_wrapper {
  position: relative;
  text-align: center;
}

.details_wrapper::before {
  content: '';
  width: 139px;
  height: 161px;
  position: absolute;
  background: url('../img/typeA_girl.svg') no-repeat center / contain;
  top: 92.5px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
}

.details_wrapper.typeB::before {
  background: url('../img/typeB_boy.svg') no-repeat center / contain;
}

.details_wrapper.typeC::before {
  background: url('../img/typeC_girl.svg') no-repeat center / contain;
}

.type_acc_title.Abhaya {
  text-align: center;
  font-size: 50px;
  line-height: 1.43;
  letter-spacing: 0.05em;
  margin-bottom: 174px;
  display: inline-block;
}

.type_acc_label .label_text {
  display: grid;
  place-items: center;
  font-size: 18px;
  text-align: center;
  color: var(--black);
  line-height: 1.83;
  letter-spacing: 0.1em;
  width: 280px;
  height: 145px;
  border-radius: 10px;
  border: 1px solid var(--black);
  background: #fcf99c;
  position: relative;
  z-index: 3;
}

.typeB .type_acc_label .label_text {
  background: #bfe5ff;
}

.typeC .type_acc_label .label_text {
  background: #ffdae3;
}

.type_acc_label .label_text::after {
  content: 'Tap!';
  font-size: 20px;
  color: var(--red);
  line-height: 1.66;
  letter-spacing: 0.1em;
  font-family: 'Abhaya Libre', serif;
  font-weight: 800;
  position: absolute;
  bottom: 0;
  right: 15px;
}

details.type_acc[open] .type_acc_label .label_text {
  background: transparent;
  border: 1px solid transparent;
}

details.type_acc[open] .type_acc_label .label_text::before {
  content: '';
  position: absolute;
  width: 280px;
  height: 188px;
  top: 0;
  inset-inline: 0;
  background: url('../img/type_acc_label_A.svg') no-repeat center / cover;
  z-index: 0;
}

.typeB details.type_acc[open] .type_acc_label .label_text::before {
  background: url('../img/type_acc_label_B.svg') no-repeat center / cover;
}

.typeC details.type_acc[open] .type_acc_label .label_text::before {
  background: url('../img/type_acc_label_C.svg') no-repeat center / cover;
}

.type_acc_label .label_text span {
  z-index: 1;
  position: relative;
}

.type_acc_contents {
  width: 280px;
  margin-inline: auto;
  color: var(--black);
}

.type_acc_contents .type_content {
  width: 100%;
  height: 194px;
  border-radius: 10px;
  border: 1px solid var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #fff;
  margin-top: 25px;
  z-index: 0;
}

.type_content.content01 {
  background-color: var(--cream);
  padding-top: 0px;
  position: relative;
  z-index: 1;
  border: none;
}

.type_acc_contents .type_content.content01::after {
  content: '';
  width: 280px;
  height: 237px;
  top: 0;
  inset-inline: 0;
  background: url('../img/type_content_01.svg') no-repeat center / cover;
  z-index: 0;
  position: absolute;
}

.type_content.content01 .type_content_title {
  display: flex;
  width: 227px;
  margin-inline: auto;
  gap: 6px;
  position: relative;
  padding-bottom: 17px;
  justify-content: center;
  z-index: 1;
}

.type_content.content01 .type_content_title::after {
  content: '';
  width: 233px;
  height: 1px;
  bottom: 0;
  inset-inline: 0;
  background: url('../img/dashed.svg') no-repeat center / cover;
  position: absolute;
}

.type_content_title img.title_text {
  width: 110px;
  margin-top: 3px;
}

.type_content_title .best_solution {
  width: 99px;
  margin-inline: 0;
}

.type_content_title .best_solution::after {
  width: 12px;
  top: -7px;
  right: -9px;
}

.type_content_text {
  text-align: center;
  font-size: 18px;
  line-height: 1.83;
  letter-spacing: 0.1em;
  margin-top: 16px;
  color: var(--black);
  z-index: 1;
}

.content02 .type_method {
  text-align: center;
  font-size: 23px;
  font-weight: var(--font_bold);
  line-height: 1.61;
  letter-spacing: 0.05em;
}

.typeB .content02 .type_method,
.typeC .content02 .type_method {
  margin-top: 50px;
}

.content02 .Abhaya.new {
  font-size: 37.5px;
  top: 0.9em;
}

/* schedule */
#schedule .inner {
  padding-block: 50px;
  width: 100%;
}

#schedule h2 {
  margin-block: 0 26px;
}

#schedule h2::before {
  width: 0;
}

#schedule h2 img {
  width: 232.5px;
  margin-inline: auto;
}

.scroll_line {
  margin-top: 24px;
  text-align: left;
  display: flex;
  position: relative;
  width: 320px;
  margin-bottom: 13px;
  margin-left: 35px;
}

.scroll-text {
  font-size: 14px;
  line-height: 1.43;
  letter-spacing: 0.08em;
}

.scroll-border {
  position: relative;
  left: 11px;
  top: 11px;
  transform: translateY(-50%);
  width: 120px;
  height: 1px;
  overflow: hidden;
}

.scroll-border::before {
  content: '';
  display: block;
  position: absolute;
  width: 40px;
  height: 1px;
  top: 0;
  left: 0;
  bottom: 0;
  background: var(--black);
  animation: scrollline 2s ease-in-out infinite;
  margin: auto;
}

@keyframes scrollline {
  0% {
    width: 0;
    left: 0;
  }
  30% {
    width: 100%;
  }
  100% {
    left: 100%;
  }
}

.schedule_box {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: calc(100vw - 35px);
  height: 1154px;
  margin-right: 0;
  margin-left: auto;
}

.schedule_box::-webkit-scrollbar {
  height: 13px;
  width: 0;
}

.schedule_box::-webkit-scrollbar-thumb {
  background: #a9a9a9;
  border-radius: 8px;
}

.schedule_box::-webkit-scrollbar-track {
  background: #ddd;
  border-radius: 8px;
}

.schedule_box img.schedule_table {
  min-width: 650px;
  padding-right: 35px;
  box-sizing: content-box;
}

.small_wrapper {
  width: 320px;
  margin-inline: auto;
}

#schedule small {
  line-height: 1.77;
  letter-spacing: 0.1em;
  margin-top: 37px;
  text-align: left;
}

.symbol_note_list {
  width: 320px;
  height: 117px;
  display: flex;
  gap: 10px 17px;
  flex-wrap: wrap;
  margin-block: 17px 31px;
  margin-inline: auto;
}

.symbol_note_list li {
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.12em;
}

.symbol_note_list li span.symbol {
  border-radius: 4.5px;
  border: 0.6px solid var(--black);
  background: #fff;
  width: 19px;
  height: 19px;
  display: inline-block;
  padding-top: 0.15em;
  padding-left: 0.12em;
  margin-right: 0.2em;
}

.precaution {
  width: 320px;
  height: auto;
  aspect-ratio: 320/104;
  padding: 13px 10px;
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: relative;
  margin-bottom: 175px;
  text-align: left;
}

.precaution::after {
  position: absolute;
  content: '';
  width: 156px;
  height: 113px;
  bottom: -139px;
  left: 50%;
  transform: translateX(-50%);
  background: url('../img/apple_on_books.svg') no-repeat center / contain;
}

.precaution img {
  width: 40px;
  height: 40px;
}

.precaution p {
  font-size: 12px;
  line-height: 1.58;
  letter-spacing: 0.1em;
}

/* footer */
footer {
  padding-block: 50px 40px;
}

footer .nav_group {
  width: 280px;
  margin-inline: auto;
}
.footer_nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer_nav a {
  border: 1px solid #fff;
  width: 280px;
  height: 69px;
  padding: 0px 30px;
  position: relative;
  display: grid;
  align-items: center;
  line-height: 1.53;
  letter-spacing: 0.1em;
}

.footer_nav a::after {
  content: '';
  width: 24px;
  height: 24px;
  background: url(../img/ex_link.svg) no-repeat center / contain;
  top: 50%;
  transform: translateY(-50%);
  right: 30px;
  position: absolute;
}

.nav_group a.footer_logo {
  width: auto;
  display: block;
  margin-block: 20px 15px;
}
.nav_group a.footer_logo img {
  width: 200px;
  height: 81.9px;
  margin-inline: auto;
}

footer small {
  text-align: center;
}

@media (min-width: 690px) {
  .sp {
    display: none;
  }

  .tb,
  .tbpc {
    display: block;
  }
  .bg_grid {
    background-size: 16px 16px;
  }

  /* hero */

  #hero .inner {
    width: 650px;
    padding-bottom: 78px;
  }

  .h1_subtitle {
    width: 216.5px;
    top: 134px;
    right: 43px;
  }

  h1 {
    padding-top: 138px;
    margin-left: 79px;
    position: relative;
  }

  h1::before {
    top: 261px;
    left: 284px;
    width: 205px;
    height: 113px;
  }

  .h1_img {
    width: 279px;
    margin-left: 0;
    padding-bottom: 0;
  }

  .best_solution {
    position: absolute;
    width: 260px;
    bottom: -19px;
    right: 73px;
  }

  .best_solution::after {
    width: 25px;
    top: -14px;
    right: -20px;
  }

  .hero_copy_box p.hero_copy {
    margin-block: 80px 0px;
    line-height: 2.12;
    font-size: 15px;
  }

  /* nav */
  #nav {
    margin-block: 0px 83px;
  }

  .nav_lists {
    width: 650px;
    gap: 21.5px;
    flex-direction: row;
    margin-inline: auto;
  }

  a.nav_button .button_wrapper {
    width: 202px;
    height: 134px;
    flex-direction: column;
    padding-left: 0px;
    align-items: center;
    padding-top: 15px;
  }

  a.nav_button div span.Abhaya {
    width: 49px;
    height: 49px;
    font-size: 26px;
    top: -24.5px;
    left: 50%;
    transform: translateX(-50%);
  }

  .nav_button_text {
    width: 114px;
  }

  a.nav_button .best_solution {
    width: 96.5px;
    padding-bottom: 0px;
    position: relative;
    inset: auto;
    padding-top: 10px;
  }

  a.nav_button .best_solution::after {
    width: 10px;
    top: 4px;
    right: -8px;
  }

  /*common h2*/
  .inner {
    width: 650px;
  }

  .number {
    font-size: 65px;
    line-height: 0.92;
    margin-block: 28px;
  }
  .number::before,
  .number::after {
    width: 269px;
    left: -282px;
  }

  .number::after {
    left: auto;
    right: -282px;
  }

  h2,
  #method h2 {
    margin-block: 0px 41px;
    flex-direction: row;
    gap: 11px;
    justify-content: center;
    margin-top: 27px;
  }

  .h2_text {
    width: 237px;
    margin-inline: 0;
  }

  h2 .best_solution {
    width: 185px;
    position: relative;
    margin-top: 0;
    margin-inline: 0;
    inset: 0;
  }

  h2::before {
    width: 88px;
    height: 88px;
    bottom: -94px;
    left: 3.5px;
    transform: translateX(0%);
  }

  .lead_text {
    line-height: 2.11;
    margin-block: 0px 62px;
  }

  details.acc {
    display: block;
  }

  .acc > summary.acc_label {
    display: none;
  }

  /*date*/
  ul.date_acc_list {
    width: 650px;
    gap: 14px;
  }

  .date_acc_list li {
    width: 152px;
    height: 93px;
    font-size: 15px;
  }

  .Abhaya.new {
    font-size: 27px;
    top: -1.3em;
  }

  .feature_text {
    width: 355px;
    height: 72px;
    border-inline: 0px;
    font-size: 16px;
    line-height: 2.1;
    margin-block: 36px 44px;
    position: relative;
    margin-inline: auto;
    letter-spacing: 0.08em;
  }

  .feature_text::before,
  .feature_text::after {
    content: '';
    position: absolute;
    top: 22%;
    transform: translateY(-50%);
    width: 133px;
    height: 36px;
    border-bottom: 1px solid var(--black);
  }
  .feature_text::before {
    left: -149px;
    border-left: 1px solid var(--black);
  }

  .feature_text::after {
    right: -149px;
    border-right: 1px solid var(--black);
  }

  .feature_text .font_red {
    font-size: 25px;
    line-height: 1;
  }

  .location {
    width: 650px;
  }

  .location::before {
    width: 467px;
    left: 50%;
    transform: translateX(-50%);
    top: -5px;
  }

  .location h3 {
    width: 318px;
    margin-inline: auto;
  }

  .location_lead {
    margin-block: 33px 35px;
    line-height: 2.1;
  }

  .location_list {
    width: 650px;
    gap: 14.5px 16px;
    z-index: 1;
    position: relative;
  }

  .location_list li {
    width: 57px;
    height: 50px;
    font-size: 11.5px;
  }


  .location_list li.bg_red {
    font-size: 14px;
  }

  .location_list li.bg_red span.Abhaya.new {
    font-size: 27px;
    top: auto;
    bottom: -1.5em;
  }

  .location_list li.bg_red span.Abhaya.new::before,
  .location_list li.bg_red span.Abhaya.new::after {
    bottom: auto;
    top: 2.5px;
  }

  .location_list li.bg_red span.Abhaya.new::before {
    background: url('../img/slash.svg') no-repeat center / cover;
  }

  .location_list li.bg_red span.Abhaya.new::after {
    background: url('../img/slash_b.svg') no-repeat center / cover;
  }

  .location small {
    font-size: 12px;
    margin-top: 66px;
    text-align: center;
    z-index: 2;
    position: relative;
    letter-spacing: 0.01em;
    padding-bottom: 60px;
  }

  /*method*/

  #method h2::before {
    width: 73px;
    height: 90px;
    bottom: -40px;
    left: auto;
    right: -3px;
  }

  /*method_cards*/
  .cards_wrapper {
    width: 650px;
    margin-bottom: 30px;
  }

  .acc_cards {
    gap: 66px 30px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  #method small {
    font-size: 12px;
    line-height: 1.66;
    margin-block: 0px 14px;
    width: 590px;
    display: inline-block;
  }

  #method .memo {
    font-size: 12px;
    line-height: 1.66;
    margin-bottom: 24px;
    width: 590px;
    margin-inline: auto;
    letter-spacing: 0.08em;
  }

  #method .memo .star_memo {
    line-height: 1.66;
    margin-bottom: 5px;
  }

  .second_choice {
    width: 590px;
    height: 249px;
    padding: 24px 22px 16px 22px;
    gap: 20px;
    margin-inline: auto;
    justify-content: flex-start;
  }

  .second_choice h3 {
    width: 546px;
    height: 73px;
  }
  .second_choice_text {
    font-size: 13px;
    line-height: 1.69;
  }

  /* exam_fee */

  #exam_fee h2::before {
    width: 75px;
    height: 76px;
    bottom: -18px;
    left: 0px;
  }

  .discount_system.system01 {
    margin-bottom: 68px;
  }

  .exam_fee_content_box {
    width: 650px;
    margin-block: 48px;
  }

  .discount_system_title {
    flex-direction: row;
  }

  .discount_system_title .bg_red {
    width: 325px;
    height: 47.5px;
    border-radius: 24px 0 0 0;
    font-size: 16.5px;
    line-height: 1.74;
  }

  .recommend_memo {
    font-size: 19px;
    top: -2.3em;
    left: 61px;
  }

  .discount_system_title .bg_white {
    width: 325px;
    height: 47.5px;
    border-radius: 0 24px 0 0;
    font-size: 16.5px;
    border-top: 1px solid var(--black);
    border-left: 0px;
    padding: 6px;
  }

  .discount_system_title .bg_white .value {
    font-size: 24.5px;
  }

  .discount_system_list {
    margin-top: 28px;
    flex-direction: row;
  }
  .discount_system_list .list_box {
    width: 118px;
    height: 144px;
    gap: 28px;
    padding-block: 29px 29px;
    margin-inline: 0;
    position: relative;
  }

  .discount_system_list li:nth-child(3) {
    margin-left: -15px;
    gap: 10px;
  }

  .discount_system_list li:nth-child(5),
  .discount_system_list li:nth-child(7),
  .discount_system_list li:nth-child(9) {
    margin-left: -15px;
  }

  .system01 .discount_system_list li:nth-child(5)::after {
    content: '・・・・・・・・・・・・・・・・・・';
    font-size: 10px;
    font-weight: 300;
    line-height: 2.3;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -124px;
    letter-spacing: 0.1em;
  }

  .system01 .discount_system_list li:nth-child(6).calc {
    margin-left: 136px;
  }

  .system01 .discount_system_list .list_box.total {
    margin-left: -15px;
  }

  .discount_system_list .calc {
    flex: 0 0 29px;
  }

  .system_name,
  .total_text {
    font-size: 12px;
    line-height: 1.4;
  }

  .amount {
    font-size: 13px;
  }

  .discount_system_list .calc img {
    width: 29px;
    height: 29px;
    transform: rotate(0deg);
    margin-top: 57px;
    margin-left: -7.5px;
  }

  .discount_system_list .list_box.total {
    width: 118px;
    height: 144px;
    padding-inline: 7px;
    padding-block: 12px 13.5px;
    gap: 6px;
  }

  .total_text .font_red {
    font-size: 14px;
    line-height: 1.3;
  }

  .total_amount {
    font-size: 13px;
    line-height: 1.46;
  }

  .arrow_amount {
    width: 8.9px;
    height: 12px;
    margin-block: 3px -1px;
  }

  .total_amount .font_red {
    font-size: 16px;
  }

  .fee_note {
    font-size: 17px;
    line-height: 2.19;
    margin-block: 23px 39px;
  }

  .discount_system_cta,
  .scholarship_cta,
  .schedule_cta {
    width: 400px;
    height: 66px;
    padding: 12px 34px;
    font-size: 16px;
    line-height: 2.5;
  }

  .discount_system_cta::after,
  .scholarship_cta::after,
  .schedule_cta::after {
    right: 34px;
  }

  .after_acceptance {
    width: 650px;
    height: 454px;
    padding-block: 28px 41px;
  }

  .after_acceptance::before,
  .after_acceptance::after {
    top: -9.5px;
    height: 19px;
    box-shadow: 7px 0 0 var(--black);
  }

  .after_acceptance::before {
    left: 36px;
  }

  .after_acceptance::after {
    right: 43px;
  }

  .flame_inner {
    width: 570px;
  }

  .h3_wrapper {
    display: flex;
  }

  .after_acceptance h3 {
    width: 135px;
    height: 135px;
    margin-inline: 0;
  }

  .after_acceptance h3::after {
    width: 60px;
    height: 58.5px;
    bottom: -7px;
    right: -418px;
  }

  .lead_wrapper {
    margin-left: 28px;
  }

  .after_acceptance .lead_title {
    margin-block: 14px 12px;
    font-size: 14px;
  }

  .after_acceptance .lead_title .font_red {
    font-size: 21.3px;
  }

  #exam_fee .after_acceptance .lead_text {
    font-size: 11.5px;
    margin-block: 0;
  }

  .financial_relief_wrapper {
    display: flex;
    justify-content: space-between;
    margin-block: 20px 30px;
  }

  .financial_relief.point01,
  .financial_relief {
    width: 260px;
    height: 132px;
  }

  .financial_relief.point01::after {
    width: 134px;
    height: 1px;
    transform: rotate(90deg);
    top: 65px;
    right: -93px;
    left: auto;
  }
  .financial_relief.point02 {
    margin-block: 0px;
  }

  .financial_relief_title {
    font-size: 14px;
    line-height: 2.1;
  }

  .financial_relief_title::before {
    width: 21px;
    height: 21px;
  }

  .financial_relief_text {
    font-size: 11px;
    margin-block: 5.5px 0;
    letter-spacing: 0.059em;
  }

  /* find_your_type */
  #find_your_type h2 {
    padding-block: 65.5px 45px;
    display: flex;
  }

  #find_your_type h2 .h2_text {
    width: 425px;
    margin-inline: 0;
  }

  #find_your_type h2 .best_solution {
    width: 185px;
  }

  #find_your_type h2 .best_solution::after {
    width: 20px;
    top: -11px;
    right: -16px;
  }

  #find_your_type .lead_text {
    margin-block: 0px 51px;
  }

  .types {
    flex-direction: row;
    gap: 21.5px;
    width: 650px;
    padding-bottom: 75px;
  }

  .details_wrapper::before {
    width: 100px;
    height: 116px;
    top: 67px;
  }

  .type_acc_title.Abhaya {
    font-size: 36px;
    margin-bottom: 126px;
  }

  .type_acc_label .label_text {
    font-size: 13px;
    width: 202px;
    height: 104px;
  }

  details.type_acc[open] .type_acc_label .label_text::before {
    width: 202px;
    height: 135px;
  }

  .type_acc_label .label_text::after {
    font-size: 0;
  }

  .type_acc_contents {
    width: 202px;
  }

  .type_acc_contents .type_content {
    height: 140px;
    margin-top: 20px;
  }

  .type_content::before {
    width: 0;
  }

  .type_acc_contents .type_content.content01::after {
    width: 202px;
    height: 171px;
  }

  .type_content.content01 .type_content_title {
    width: 162px;
    gap: 4px;
    padding-bottom: 12px;
  }

  .type_content.content01 .type_content_title::after {
    width: 169px;
    left: -1px;
  }

  .type_content_title img.title_text {
    width: 80px;
    margin-top: 1px;
  }

  .type_content_title .best_solution {
    width: 75px;
    position: relative;
    inset: 0;
  }

  .type_content_title .best_solution::after {
    width: 8px;
    top: -5px;
    right: -6.5px;
  }

  .type_content_text {
    margin-top: 11px;
    font-size: 13px;
    z-index: 1;
    position: relative;
  }

  .content02 .type_method {
    font-size: 16.5px;
  }

  .typeB .content02 .type_method,
  .typeC .content02 .type_method {
    margin-top: 26px;
  }

  .content02 .Abhaya.new {
    font-size: 27px;
  }

  /* schedule */

  #schedule .inner {
    width: 650px;
  }

  #schedule h2 {
    margin-block: 0px 27px;
  }

  #schedule h2 img {
    width: 644.5px;
  }

  .schedule_box {
    width: 650px;
    height: 1123px;
    margin-inline: auto;
    padding-right: 0px;
  }

  .schedule_box img.schedule_table {
    padding-right: 0px;
  }

  .schedule_box::-webkit-scrollbar {
    height: 0;
  }
  .small_wrapper {
    width: auto;
  }
  #schedule small {
    font-size: 12px;
    margin-top: 17px;
  }

  .symbol_note_list {
    width: 590px;
    height: 50px;
    margin-block: 17px 35px;
    margin-inline: 0;
  }
  .precaution {
    width: 650px;
    height: 100px;
    padding: 22px 11px;
    aspect-ratio: auto;
    margin-bottom: 50px;
  }

  .precaution::after {
    width: 120px;
    height: 86px;
    bottom: -48px;
    left: auto;
    transform: translateX(0%);
    right: -8px;
  }

  .precaution img {
    width: 37px;
    height: 37px;
  }

  .precaution p {
    font-size: 16px;
    line-height: 1.75;
    font-weight: var(--font_regular);
    letter-spacing: 0.05em;
    margin-left: 26px;
    text-align: justify;
  }

  /* footer */
  footer .nav_group {
    width: 500px;
  }

  .footer_nav {
    flex-direction: row;
  }

  .footer_nav a {
    font-size: 13px;
    width: 241.5px;
    height: 59.5px;
    padding: 0px 26px;
  }

  .footer_nav a::after {
    width: 20.5px;
    height: 20.5px;
    right: 25px;
  }

  .nav_group a.footer_logo {
    margin-block: 30px 15px;
  }

  footer small {
    font-size: 10px;
  }
}
@media (min-width: 768px) {
  main,
  #hero {
    width: 100%;
    position: relative;
    overflow: hidden;
  }

  main::before,
  main::after,
  #hero::before {
    content: '';
    width: 406px;
    height: auto;
    aspect-ratio: 419/72;
    top: -6px;
    right: -13px;
    position: absolute;
    background: url('../img/hero_top.svg') no-repeat center / contain;
    opacity: 0;
    animation: fadein 1s ease 1s forwards;
  }

  main::after {
    width: 81px;
    aspect-ratio: 81/304;
    top: 128px;
    right: -15px;
    background: url('../img/hero_right.svg') no-repeat center / contain;
    animation: fadein 1s ease 1s forwards;
  }

  #hero::before {
    width: 126px;
    aspect-ratio: 126/349;
    top: 311px;
    right: auto;
    left: -16px;
    background: url('../img/hero_left.svg') no-repeat center / contain;
    animation: fadein 1s ease 1s forwards;
  }
}
@media (min-width: 880px) {
  #date,
  #method,
  #exam_fee {
    width: 100%;
    position: relative;
    overflow: hidden;
  }
  #date::before {
    content: '';
    width: 100px;
    aspect-ratio: 150/661;
    top: 125px;
    right: -13px;
    position: absolute;
    background: url('../img/date_right.svg') no-repeat center / contain;
    opacity: 0.7;
  }

  #method::before {
    content: '';
    width: 100px;
    position: absolute;
    aspect-ratio: 150/680;
    top: 180px;
    left: -12px;
    background: url('../img/method_left.svg') no-repeat center / contain;
    opacity: 0.7;
  }

  #exam_fee::before {
    content: '';
    width: 100px;
    position: absolute;
    aspect-ratio: 150/752;
    top: 142px;
    right: -14px;
    background: url('../img/exam_fee_right.svg') no-repeat center / contain;
    opacity: 0.7;
  }
}
@media (min-width: 1260px) {
  .sptb,
  .tb {
    display: none;
  }

  .pc {
    display: block;
  }

  header {
    width: 100px;
    height: 100px;
  }

  /* deco */
  main::before {
    width: 782px;
    top: -12px;
    right: -21px;
  }

  main::after {
    width: 150px;
    top: 274px;
    right: -25px;
  }

  #hero::before {
    width: 234px;
    top: 430px;
    left: -26px;
  }

  #date::before {
    width: 150px;
    top: 211px;
    right: -22px;
  }

  #method::before {
    width: 150px;
    top: 231px;
    left: -20px;
  }

  #exam_fee::before {
    width: 150px;
    top: 163px;
    right: -21px;
  }

  /* hero */
  #hero .inner {
    width: 900px;
    padding-bottom: 115px;
  }

  .h1_subtitle {
    width: 367px;
    top: 204px;
    right: -52px;
  }

  h1 {
    padding-top: 208px;
    margin-left: 65px;
  }

  h1::before {
    top: 438px;
    left: 489px;
    width: 286px;
    height: 158px;
  }

  .h1_img {
    width: 438px;
  }

  .best_solution {
    width: 408px;
    bottom: -27px;
    right: 48px;
  }

  .best_solution::after {
    width: 41px;
    top: -24px;
    right: -34px;
  }

  .hero_copy_box p.hero_copy {
    margin-block: 100px 0px;
    line-height: 2.2;
    font-size: 20px;
  }

  /* nav */
  #nav {
    margin-block: 0px 116px;
  }

  .nav_lists {
    width: 900px;
    gap: 30px;
  }

  a.nav_button .button_wrapper {
    width: 280px;
    height: 185px;
    padding-top: 15px;
  }

  a.nav_button div span.Abhaya {
    width: 68px;
    height: 68px;
    font-size: 36px;
    top: -35px;
  }

  .nav_button_text {
    width: 158px;
  }

  a.nav_button .best_solution {
    width: 134px;
    padding-top: 20px;
  }

  a.nav_button .best_solution::after {
    width: 14px;
    top: 12px;
    right: -12px;
  }

  /*common h2*/
  .inner {
    width: 900px;
  }

  .number {
    font-size: 90px;
    margin-bottom: 39px;
  }

  .number::before,
  .number::after {
    width: 373px;
    left: -403px;
  }

  .number::after {
    left: auto;
    right: -403px;
  }

  h2,
  #method h2 {
    margin-block: 0px 43px;
    gap: 18px;
    margin-top: 39px;
  }

  .h2_text {
    width: 328px;
  }

  h2 .best_solution {
    width: 256px;
  }

  h2 .best_solution::after {
    width: 27px;
    top: -14px;
    right: -21px;
  }

  h2::before {
    width: 144px;
    height: 142px;
    bottom: -142px;
    left: -69px;
  }

  .lead_text {
    line-height: 2.1;
    margin-block: 0px 63px;
  }

  /*date*/

  ul.date_acc_list {
    width: 900px;
    gap: 20px;
  }

  .date_acc_list li {
    width: 210px;
    height: 129px;
    font-size: 21px;
  }

  .Abhaya.new {
    font-size: 37.5px;
    top: -1.3em;
  }

  .feature_text {
    width: 424px;
    height: 85px;
    font-size: 19px;
    margin-block: 44px 48px;
  }

  .feature_text::before,
  .feature_text::after {
    top: 22%;

    width: 211px;
    height: 39px;
  }

  .feature_text::before {
    left: -236px;
  }
  .feature_text::after {
    right: -236px;
  }

  .feature_text .font_red {
    font-size: 29px;
    line-height: 1;
  }

  .location {
    width: 900px;
    padding-bottom: 160px;
    padding-top: 109px;
  }

  .location::before {
    width: 647px;
  }

  .location h3 {
    width: 368px;
    font-size: 35px;
  }

  .location h3::before {
    width: 30px;
    height: 36px;
    aspect-ratio: auto;
  }

  .location_lead {
    margin-block: 30px 50px;
  }

  .location_list {
    width: 900px;
    gap: 20px 22px;
  }

  .location_list li {
    width: 80px;
    height: 70px;
    font-size: 16px;
  }

  .location_list li.bg_red {
    font-size: 19px;
  }

  .location_list li.bg_red span.Abhaya.new {
    font-size: 38px;
  }

  .location small {
    font-size: 13px;
    margin-top: 80px;
    letter-spacing: 0.07em;
    padding-bottom: 0;
  }

  /*method*/
  #method {
    padding-bottom: 10px;
  }

  #method h2::before {
    width: 119px;
    height: 150px;
    bottom: -190px;
    left: auto;
    right: -53px;
  }

  #method .lead_text {
    letter-spacing: 0.08em;
  }

  #method .lead_text .font_red {
    line-height: 1.5;
  }

  /*method_cards*/
  .cards_wrapper {
    width: 900px;
    margin-bottom: 36px;
  }

  .memo_wrapper {
    display: flex;
    justify-content: space-between;
    margin-block: 36px 25px;
  }

  #method small {
    font-size: 13px;
    line-height: 1.69;
    margin-block: 0px;
    width: 539px;
    letter-spacing: 0.09em;
  }

  #method .memo {
    font-size: 13px;
    line-height: 1.69;
    margin-bottom: 0px;
    width: 278px;
    margin-inline: 0;
    margin-left: 81px;
  }

  #method .memo .star_memo {
    line-height: 1.69;
    margin-bottom: 2px;
  }

  .second_choice {
    width: 900px;
    height: 120px;
    padding: 16px 22px;
    gap: 28px;
    margin-inline: auto;
    flex-direction: row;
  }

  .second_choice h3 {
    width: 216px;
    height: 86px;
    flex-shrink: 0;
  }

  .second_choice_text {
    letter-spacing: 0.065em;
  }

  /* exam_fee */
  #exam_fee {
    padding-bottom: 50px;
  }

  #exam_fee h2::before {
    width: 128px;
    height: 126px;
    bottom: -141px;
    left: -48px;
  }

  #exam_fee .lead_text {
    letter-spacing: 0.08em;
  }

  .discount_system.system01 {
    margin-bottom: 105px;
  }

  .exam_fee_content_box {
    width: 900px;
    margin-block: 66px;
  }

  .discount_system_title .bg_red {
    width: 450px;
    height: 66px;
    border-radius: 33px 0 0 0;
    font-size: 23px;
  }

  .discount_system_title .bg_white {
    width: 450px;
    height: 66px;
    border-radius: 0 33px 0 0;
    font-size: 23px;
    padding: 12px;
  }

  .discount_system_title .bg_white .value {
    font-size: 34px;
  }

  .discount_system_list {
    margin-top: 38px;
  }

  .discount_system_list .list_box {
    width: 164px;
    height: 146px;
    gap: 16px;
    padding-block: 29px 27px;
  }

  .discount_system_list li:nth-child(3) {
    gap: 16px;
    margin-left: -20px;
  }
  .discount_system_list li:nth-child(5),
  .discount_system_list li:nth-child(7),
  .discount_system_list li:nth-child(9),
  .system01 .discount_system_list .list_box.total {
    margin-left: -20px;
  }

  .system01 .discount_system_list li:nth-child(5)::after {
    font-size: 14px;
    line-height: 1.64;
    right: -166px;
  }

  .system01 .discount_system_list li:nth-child(6).calc {
    margin-left: 184px;
  }

  .discount_system_list .calc {
    flex: 0 0 40px;
  }

  .system_name,
  .total_text {
    font-size: 14px;
    line-height: 1.64;
  }

  .amount {
    font-size: 16px;
  }

  .discount_system_list .calc img {
    width: 40px;
    height: 40px;
    margin-top: 53px;
    margin-left: -10px;
  }

  .discount_system_list .list_box.total {
    width: 164px;
    height: 146px;
    padding-inline: 7px;
    padding-block: 13px 17px;
    gap: 6px;
  }

  .total_text .font_red {
    font-size: 16px;
    line-height: 1.64;
  }

  .total_amount {
    font-size: 14px;
    line-height: 1.5;
  }

  .arrow_amount {
    width: 11px;
    height: 15px;
    margin-block: 3px -3px;
  }

  .total_amount .font_red {
    font-size: 19px;
  }

  .fee_note {
    margin-block: 30px 67px;
  }

  .discount_system_cta,
  .scholarship_cta,
  .schedule_cta {
    width: 450px;
    height: 80px;
    padding: 18px 34px;
    font-size: 19px;
    line-height: 2.1;
  }

  .after_acceptance {
    width: 900px;
    height: 598px;
    padding-block: 38.5px 46px;
  }

  .after_acceptance::before,
  .after_acceptance::after {
    top: -13px;
    height: 26px;
    box-shadow: 10px 0 0 var(--black);
  }

  .after_acceptance::before {
    left: 50px;
  }

  .after_acceptance::after {
    right: 60px;
  }

  .flame_inner {
    width: 790px;
  }

  .after_acceptance h3 {
    width: 187px;
    height: 187px;
  }

  .after_acceptance h3::after {
    width: 81px;
    height: 83px;
    bottom: -8px;
    right: -583px;
  }

  .lead_wrapper {
    margin-left: 37px;
  }

  .after_acceptance .lead_title {
    margin-block: 20px 11px;
    font-size: 19px;
  }

  .after_acceptance .lead_title .font_red {
    font-size: 29.5px;
  }

  #exam_fee .after_acceptance .lead_text {
    font-size: 16px;
  }

  .financial_relief_wrapper {
    margin-block: 24px 38px;
  }

  .financial_relief.point01,
  .financial_relief {
    width: 360px;
    height: 183px;
  }

  .financial_relief.point01::after {
    width: 189px;
    top: 94px;
    right: -129px;
  }

  .financial_relief_title {
    font-size: 19px;
  }

  .financial_relief_title::before {
    width: 29px;
    height: 29px;
  }

  .financial_relief_text {
    font-size: 15px;
    margin-block: 8px 0;
    letter-spacing: 0.06em;
  }

  /* find_your_type */
  #find_your_type h2 {
    padding-block: 110px 47px;
    gap: 22px;
  }

  #find_your_type h2 .h2_text {
    width: 588px;
  }

  #find_your_type h2 .best_solution {
    width: 256px;
  }

  #find_your_type h2 .best_solution::after {
    width: 27px;
    top: -15px;
    right: -21px;
  }

  #find_your_type .lead_text {
    margin-block: 0px 45px;
  }

  .types {
    gap: 30px;
    width: 900px;
    padding-bottom: 113px;
  }

  .details_wrapper::before {
    width: 139px;
    height: 162px;
    top: 92px;
  }

  .type_acc_title.Abhaya {
    font-size: 50px;
    margin-bottom: 174px;
  }

  .type_acc_label .label_text {
    font-size: 18px;
    width: 280px;
    height: 145px;
  }

  details.type_acc[open] .type_acc_label .label_text::before {
    width: 280px;
    height: 188px;
  }

  .type_acc_contents {
    width: 280px;
  }

  .type_acc_contents .type_content {
    height: 194px;
    margin-top: 25px;
  }

  .type_acc_contents .type_content.content01::after {
    width: 280px;
    height: 237px;
  }

  .type_content.content01 .type_content_title {
    width: 219px;
    gap: 7px;
    padding-bottom: 16.5px;
  }

  .type_content.content01 .type_content_title::after {
    width: 219px;
    left: -2px;
  }

  .type_content_title img.title_text {
    width: 110px;
  }

  .type_content_title .best_solution {
    width: 101px;
  }

  .type_content_title .best_solution::after {
    width: 11px;
    top: -6px;
    right: -8px;
  }

  .type_content_text {
    margin-top: 16px;
    font-size: 18px;
  }

  .content02 .type_method {
    font-size: 23px;
  }

  .typeB .content02 .type_method,
  .typeC .content02 .type_method {
    margin-top: 36px;
  }

  .content02 .Abhaya.new {
    font-size: 37.5px;
  }

  /* schedule */
  .bg_grid {
    background-size: 22px 22px;
    background-image:
      linear-gradient(#cce1ef 0.8px, transparent 0.8px),
      linear-gradient(90deg, #cce1ef 0.8px, transparent 0.8px);
  }

  #schedule .inner {
    padding-block: 70px;
    width: 900px;
  }

  #schedule h2 {
    margin-block: 0px 50px;
  }

  #schedule h2 img {
    width: 850px;
  }

  .schedule_box {
    width: 900px;
    height: 1555px;
  }

  #schedule small {
    font-size: 13px;
    margin-top: 26px;
  }

  .symbol_note_list {
    width: 870px;
    height: 54px;
    margin-block: 22px 40px;
  }

  .precaution {
    width: 900px;
    margin-bottom: 50px;
    padding: 22px 101px;
  }

  .precaution::after {
    width: 182px;
    height: 131px;
    bottom: -82px;
    right: -93px;
  }

  .precaution p {
    font-size: 18px;
    line-height: 1.56;
    margin-left: 26px;
  }

  /* footer */
  footer {
    padding-block: 62px 54px;
  }

  footer .nav_group {
    width: 960px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
  }

  .nav_group a.footer_logo {
    margin-block: 0px;
  }

  .nav_group a.footer_logo img {
    width: 232px;
    height: 95px;
  }

  .footer_nav a {
    font-size: 15px;
    width: 280px;
    height: 69px;
    padding: 0px 30px;
  }

  .footer_nav a::after {
    width: 24px;
    height: 24px;
    right: 30px;
  }
}

@media (hover: hover) and (pointer: fine) {
  a:hover {
    opacity: 0.7;
  }

  header a:hover {
    opacity: 1;
  }

  header a img {
    content: url('../img/h_logo.svg');
  }

  header a:hover img {
    content: url('../img/h_logo_hover.svg');
    width: 100%;
    height: 100%;
    display: block;
    z-index: 2;
  }

  a.nav_button {
    display: inline-block;
    transition: transform 0.2s ease-out;
  }

  a.nav_button:hover {
    transform: translateY(-10px);
    opacity: 1;
  }

  a.discount_system_cta:hover,
  a.scholarship_cta:hover,
  a.schedule_cta:hover {
    background-color: var(--red);
    opacity: 1;
  }

  .discount_system_cta:hover::after,
  .scholarship_cta:hover::after,
  .schedule_cta:hover::after {
    background: url('../img/arrow_black_circle.svg') no-repeat center / contain;
  }
}
