@charset "utf-8";

/* =====================================
  /common/css/common.css
===================================== */
.bg-wave{
  --bg-color-01:var(--color-mono50);
  --bg-color-02:var(--color-mono50);
  margin-top: -120px;
}

.bg-wave .max-container{
  padding-top: 93px;
  padding-bottom: 0;
  /* padding-inline: 0; */
}

.max-container{
  padding-inline: 0;
}

@media screen and (max-width: 767px) {
  .bg-wave .max-container{
        padding-inline: 20px;
  }
  .max-container{
    padding-inline: 20px;
  }
}
.contents-title{
  margin-bottom: 16px;
}

.contents-title::before{
  background-color: var(--color-green700);
}

.max-container + .max-container{
  padding-top: 0;
}

#before-applying,
#after-applying,
#about-join {
  scroll-margin-top: 15px;
}

@media screen and (max-width: 767px) {
  .bg-wave .max-container{
    padding-top: 40px;
  }

  .contents-title{
    margin-bottom: 12px;
  }
}


/* =====================================
  hero
===================================== */
.hero {
  background: linear-gradient(var(--color-mono100) 0 425px, var(--color-mono100) 425px);
  overflow: hidden;
  position: relative;
  min-height: 371px;
}

.hero::before, .hero::after {
  content: "";
  width: 474px;
  height: 363px;
  background: no-repeat center / contain;
  position: absolute;
  z-index: 0;
}

.hero::before {
  background-image: url(/gakko/faq/img/bg_program_hero_loop_01.svg);
  top: -214px;
  left: calc(50% - 720px - 120px);
}

.hero::after{
  background-image: url(/gakko/faq/img/bg_program_hero_loop_02.svg);
  top: -225px;
  right: calc(50% - 720px - 142px);
}

.hero__inner {
  max-width: 1440px;
  min-height: 371px;
  margin: 0 auto;
  padding: 80px 20px 0;
  position: relative;
  z-index: 2;
}

.hero__title {
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero__title-small {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
}

.hero__title-main {
  display: block;
  width: 835.47px;
  margin: 24px auto 0px;
}

@media screen and (max-width: 767px) {
  .hero::before {
    width: 103.765px;
    height: 82.172px;
    top: -54px;
    left: -23px;
    background-image: url(/gakko/faq/img/bg_program_hero_loop_01_sp.svg);
  }
  .hero::after {
    width: 101px;
    height: 80px;
    top: -39px;
    right: -31px;
    background-image: url(/gakko/faq/img/bg_program_hero_loop_02_sp.svg);
  }
  .hero__inner{
    min-height: 345px;
    padding-top: 32px;
  }

  .hero__title-small{
    width: 180px;
    margin: auto;
  }

  .hero__title-main {
    display: block;
    width: min(265px, 100%);
    margin: 12px auto 16px;
  }

  .hero__title-school{
    font-size: 1.25rem;
    display: block;
  }
}

@media screen and (max-width: 767px) {
    .hero, .hero__inner {
        min-height: 345px;
    }
    .hero__title img {
    display: block;
    max-width: 100%;
}
}

@media screen and (max-width: 767px) {
    .hero__title {
        height: 106px;
    }
}

@media screen and (max-width: 767px) {
    .bg-wave {
      margin-top: -179px;
      position: relative;
      z-index: 3;
    }
}


/* =====================================
  notice common
===================================== */
[hidden] {
  display: none;
}

.px-20{
  padding-left: 20px;
  padding-right: 20px;
}

@media screen and (min-width: 768px) {
  .bg-wave .max-container.px-20,
  .before-applying.px-20 {
    padding-left: 0;
    padding-right: 0;
  }
}

.inquiry-tabs{
  margin-top: 50px;
}

.inquiry-tabs__list{
  display: flex;
  align-items: flex-end;
  gap: 4px;
  position: relative;
}

.max-container.pb-70{
  padding-top: 70px;
}

@media screen and (max-width: 767px) {
  .max-container.pb-70{
    padding-top: 32px;
  }
}

/* =====================================
  about-join
===================================== */
.about-join{
  border: 3px solid var(--color-mono200);
  padding: 64px 77px;
  border-radius: 20px;
}

@media screen and (min-width: 768px) {
  .about-join > h2,
  .about-join > dl {
    width: 1004px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

.about-join h2{
  margin-bottom: 32px;
  font-size: 1.5rem;
}

.about-join dl:not(:last-of-type){
  margin-bottom: 48px;
}

.about-join dt{
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
  font-size: 1.25rem;
  color: var(--color-green700);
}

.about-join a{
  color: var(--color-blue700);
  text-decoration: underline;
}

.about-join dt span{
  font-weight: bold;
  white-space: nowrap;
}

.about-join dt::after{
  content: "";
  flex: 1;
  height: 2px;
  background-color: var(--color-mono200);
}

.about-join ul{
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-join li{
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
}

.about-join li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-green700);
}

.text-link__blank{
  position: relative;
  padding-right: 2px;
}

.text-link__blank::after{
  content: "";
  width: 24px;
  height: 24px;
  display: inline-block;
  position: relative;
  top: 6px;
  background: url(/gakko/notice/img/icon_link-blank.svg) no-repeat center / 22px auto;
}

@media screen and (max-width: 767px) {
  .about-join{
    border: 2px solid var(--color-mono200);
    padding: 32px 20px 24px;
  }

  .about-join h2{
    margin-bottom: 20px;
  }

  .about-join dt{
    font-size: 1.125rem;
    gap: 10px;
  }
  .about-join dl:not(:last-of-type){
    margin-bottom: 20px;
  }

  .about-join li{
    padding-left: 12px;
  }

  .about-join li::before{
    width: 8px;
    height: 8px;
    top: 0.7em;
  }
}


/* =====================================
  inquiry__inks
===================================== */
.inquiry__links{
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.inquiry__item{
  width: calc(100% / 3);
}

.inquiry__link{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  min-height: 96px;
  padding: 6px 44px 6px 12px;
  font-size: 1.25rem;
  font-weight: bold;
  border-radius: 12px 12px 8px 8px;
  border-bottom: 4px solid var(--color-mono200);
  background: var(--color-mono50);
  box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.12);
  position: relative;
  transition: 0.2s;
}

.inquiry__link:hover{
  border-color: var(--color-green700);
  background-color: var(--color-hover-bg);
}

.inquiry__link::after{
  content: "";
  width: 24px;
  height: 24px;
  background: var(--color-green700) url(/common/img/icon_arrow_right_01.svg) no-repeat top 50% left calc(50% + 1px) / 7.268px auto;
  border-radius: 9999px;
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%) rotate(90deg);
  transition: 0.2s;
}

.inquiry__link:hover::after{
  transform: translateY(-50%) rotate(90deg) scale(1.273);
}

@media screen and (max-width: 767px) {
  .inquiry__links{
    flex-direction: column;
    gap: 4px;
    margin-top: 16px;
  }

  .inquiry__item{
    width: 100%;
  }

  .inquiry__link{
    min-height: 72px;
    padding: 6px 44px 6px 20px;
    font-size: 1.125rem;
  }

  .inquiry__link::after{
    width: 20px;
    height: 20px;
    background-size: 6.057px auto;
    right: 20px;
  }
}

/* =====================================
  applying_common
===================================== */

.applying__box{
  position: relative;
  border-radius: 20px;
  background-color: var(--color-mono100);
  border: 1px solid var(--color-mono200);
  padding: 24px 40px;
  margin: 40px 0;
  text-align: center;
  height: 100%;
}

.column-2 .applying__box{
  margin: 0;
}

.applying__box::after{
  content: "";
  position: absolute;
  bottom: -41px;
  left: 50%;
  width: 12px;
  height: 40px;
  background: #6b7f86;
  transform: translateX(-50%)
}

.applying__box a{
  color: var(--color-blue700);
  text-decoration: underline;
}

.applying__box dt{
  font-size: 1.75rem;
  font-weight: bold;
}

.applying__box dd{
  margin-top: 8px;
}

.column-2{
  margin: 40px 0 0;
}

.column-2__item{
  padding: 0;
  gap: 0;
  position: relative;
}


.applying__box--longline::after{
  height: 172px;
  bottom: -173px;
}


.applying__box--green{
  background: var(--color-green700);
  color: var(--color-mono0);
  margin-bottom: 0;
}

.applying__box--green::after{
  content: none;
}


@media screen and (max-width: 767px) {
  .inquiry-tabs__button{
    box-sizing: border-box;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    height: 88px;
    min-width: 0;
    padding: 12px 4px;
    border: 2px solid var(--color-mono200);
    border-bottom: none;
    border-radius: 16px 16px 0 0;
    background-color: var(--color-mono50);
    color: #57727F;
    text-align: center;
    position: relative;
    z-index: 1;
    font-size: 1.5rem;
    font-weight: bold;
  }

  .inquiry-tabs__button.is-active{
    background-color: var(--color-green700);
    color: var(--color-mono0);
    height: 72px;
    border: 2px solid var(--color-green700);
  }

  .inquiry-tabs__button{
    font-size: 1rem;
    height: 72px;
    border-radius:12px 12px 0 0;
    z-index: 0;
  }

  .inquiry-tabs__text{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 12px;
    gap: 12px;
  }
  .inquiry-tabs__text::before{
    content: url(../img/icon_tap.svg);
    width: 28px;
    height: 28px;
  }
  .column-2{
    margin: 32px 0;
  }
  .column-2__item{
    border-radius: 0 0 16px 16px;
  }

  .column-2__item::after{
    content: none;
  }

  .applying__box{
    text-align: left;
    border-radius: 16px;
    padding: 16px 20px;
    margin: 32px 0;
  }
  .applying__box--green{
    margin-bottom: 0;
  }
  .applying__box::after{
    width: 8px;
    height: 32px;
    bottom: -33px;
  }
  .applying__box--longline::after{
    height: 172px;
    bottom: -173px;
  }
  .applying__box dt{
    font-size: 1.125rem;
  }
  .applying__box dd{
    margin-top: 4px;
  }
}


/* =====================================
  before-applying
===================================== */
.before-applying > .contents-text{
  margin-bottom: 32px;
}

@media screen and (max-width: 767px) {
  .before-applying .column-2{
    flex-direction: row;
    gap: 8px;
  }

  .applying__box{
    padding: 16px;
  }
}


/* =====================================
  after-applying
===================================== */
.after-applying .contents-title{
  margin-bottom: 48px;
}
.after-applying .applying__box.sp_none{
  display: flex;
  justify-content: center;
  align-items: center;
}
.applying__box:has(.applying__box--when){
  padding-top: 64px;
}

.applying__box--when{
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  background: var(--color-green200);
  border-radius: 20px 20px 0 0;
  text-align: left;
  padding: 4px 40px;
}
@media screen and (max-width: 1090px) {
  .applying__box:has(.applying__box--when--2line){
    padding-top: 96px;
  }
}
@media screen and (max-width: 767px) {
  .after-applying .contents-title{
    margin-bottom: 32px;
  }
  .inquiry-tabs.pc_none{
    margin-top: 12px;
    margin-bottom: -44px;
    border-bottom: 2px var(--color-green700) solid;
  }

  .applying__box:has(.applying__box--when){
    padding-top: 49px;
  }

  .applying__box:has(.applying__box--when--2line){
    padding-top: 78px;
  }

  .applying__box--when{
    padding: 2px 20px;
    border-radius: 16px 16px 0 0;
  }
}