@charset "utf-8";

/*----- students -----*/
#students {
  position: relative;
}
#students::after {
  content: "";
  display: block;
  width: 100%;
  background: #d5e5ea;
  height: calc(tan(60deg) * 9rem / 2);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  position: absolute;
  left: 0;
  bottom: -7.8rem;
}
.slide_ttl h3 {
  border-bottom: 1px dashed #fff;
  padding-bottom: 0.6rem;
  margin-bottom: 0.6rem;
}


/*----- issue -----*/
#issue_box li {
  border-bottom: 1px dashed #ccc;
  padding: 0.9rem 0;
}
#issue_box p {
  margin-left: 1.2rem;
}

/*----- goals -----*/
#goals_box01 li {
  width: 25%;
  margin-bottom: 0.3rem;
}
#goals_box01 li.last {
  width: 50%;
}
#goals_box02 h3 {
  border-bottom: 1px solid;
}
#goals_box03 h3 {
  border-radius: 1.2rem 1.2rem 0 0;
}
#goals_box03 p {
  border: 1px solid #006080;
  border-radius: 0 0 1.2rem 1.2rem;
}

/*----- reason -----*/
#reason {
  background: url(../img/reason/bg.webp) no-repeat center top;
  background-size: cover;
}
#reason_ttl_flare {
  top: 2rem;
  left: 2rem;
}
.reason_box {
  border: 1px solid #f8b11d;
  text-decoration: none;
  color: #1f1411;
}
.reason_box_last {
  margin-right: 2rem;
}

/*----- reason01 -----*/
#reason01 {
  background: url(../img/reason01/ttl_bg.webp) no-repeat center top;
  background-size: contain;
}
#reason01_ttl {
  height: 20.5rem;
}
.reason01_box {
  width: 54rem;
  margin-top: -4.5rem;
  position: relative;
}
.reason01_box h3 {
  border-radius: 1.2rem 1.2rem 0 0;
  padding: 1rem 2rem;
}
.reason01_box p {
  border-radius: 0 0 1.2rem 1.2rem;
  border: 1px solid #f8b11d;
}

.reason01_list01 li h3, .reason01_list02 li h3 {
  height: 9rem;
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.reason01_list01 li p, .reason01_list02 li p {
  padding: 0 2rem;
}

/*----- reason02 -----*/
#reason02_ttl {
  height: 13.9rem;
}
#reason02_box h3 {
  border-radius: 1.2rem 1.2rem 0 0;
}
#reason02_box p {
  padding: 1.5rem 3rem;
}
#reason02_box ul {
  margin: 0 3rem;
}

/*----- reason03 -----*/
#reason03_ttl {
  height: 19.7rem;
}
#reason03_box {
  width: 63rem;
}
#reason03_box h3 {
  padding: 1.5rem 3rem;
}

#reason03_list li h3 {
  height: 10.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}


/*----- reason04 -----*/
#reason04_ttl {
  height: 13.5rem;
}
#reason04_box {
  margin-top: -4.5rem;
  width: 63rem;
}
#reason04_box h4 {
  padding: 1.5rem 3rem;
}

/*----- reason05 -----*/
#reason05_ttl {
  height: 14.3rem;
}
.reason05_box h3 {
  border-radius: 1.2rem 1.2rem 0 0;
}
.reason05_box span {
  display: block;
    width: 45.8rem;
}
.reason05_box p {
  border-radius: 0 0 1.2rem 1.2rem;
}
.reason05_box img {
  margin: -1rem 0rem -1rem 1rem;
}

/*----- credit -----*/
#credit_ttl01 {
  top: -2.7rem;
}
#credit_box_ttl {
  top: -3rem;
  padding: 0 3rem;
}
#credit_bln {
  top: -8rem;
}

#credit_ttl02 {
  background: url(../img/credit/ttl_l.webp) no-repeat left top, url(../img/credit/ttl_r.webp) no-repeat right top;
  background-size: contain;
  height: 21rem;
}
#credit_box02 {
  border: 1px solid #006080;
}
#credit_box02_ttl {
  padding: 0 3rem;
  border-radius: 3rem;
  top: -2.0rem;
}
#credit_box02 li {
  width: 50%;
}

/*----- course -----*/
#course_ttl {
  padding: 0 4.5rem;
  border-radius: 4rem;
  top: -3.0rem;
}
#course_list a {
  text-decoration: none;
}


.course_box h3 {
  top: -3rem;
}
.course_ttl {
  padding: 0 4.5rem;
  margin-bottom: -3rem;
}
#course01 ,#course02 {
  height: 6rem;
}

/*----- choose -----*/
#choose_bln {
  top: -8rem;
}

#choose_list h3 {
  border: 1px solid #d1597b;
  border-radius: 3rem;
  margin: -3rem auto 3rem auto;
}

/*----- flow -----*/
.flow_box {
  padding: 1rem 3rem 3rem 3rem;
}
.flow_box img {
  margin-right: 1.5rem;
}

/*----- faq -----*/
.faq_ttl {
  padding: 2rem 7.5rem;
  cursor: pointer;
  position: relative;
}
.faq_ttl::before {
  content: "";
  display: block;
  width: 2.8rem;
  height: 4rem;
  background: url(../img/faq/q.webp) no-repeat center top;
  background-size: contain;
  position: absolute;
  left: 3rem;
  top: 2.1rem;
}
.faq_ttl::after {
  content: "";
  display: block;
  width: 2rem;
  height: 2rem;
  background: url(../img/common/plus.webp) no-repeat center center,  url(../img/common/minus.webp) no-repeat center center;
  background-size: contain;
  position: absolute;
  right: 3rem;
  top: calc(50% - 1rem);
}
.faq_ttl.active::after {
  background: url(../img/common/minus.webp) no-repeat center center;
}
.faq_area {
  padding: 2rem 3rem 2rem 7.5rem;
  border-top: 1px solid #e6e6e6;
  position: relative;
  display: none;
}
.faq_area::before {
  content: "";
  display: block;
  width: 2.8rem;
  height: 4rem;
  background: url(../img/faq/a.webp) no-repeat center top;
  background-size: contain;
  position: absolute;
  left: 3rem;
  top: 1.1rem;
}


/*----- school -----*/
.school_wrap {
  padding: 2rem 3rem;
}

.school_inner {
  margin: 1.5rem 2rem 0 2rem;
}



/*----- form -----*/
#mail_form dt {
  margin-bottom: 0.9rem;
  width: fit-content;
  padding-right: 6.6rem;
  position: relative;
}
.fotm_ttl_notes {
  margin: -1rem 0 1rem;
}
#mail_form dt i {
  transform: rotate(0);
  font-size: 100%;
  display: block;
	position: absolute;
  right: 0;
  left: inherit;
	top: 0.5rem;
}
#mail_form dd {
  margin-bottom: 1.5rem;
}
button, input, select, textarea {
  font-family: ryo-gothic-plusn, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size:100%;
}
button, input[type="submit"], input[type="button"] {-webkit-appearance:none; border: none; cursor: pointer;}
textarea {
  width:100%;
  height: 20rem;
}
select::-ms-expand {display:none;}
input[type="text"], textarea, select, submit {-webkit-user-select:auto;}
input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  border: 1px solid #c8c8c8;
  background: #fff;
  color: #1f1411;
  border-radius: 0.6rem;
  padding: 0.6rem 1.5rem;
  font-size: 2.4rem;
  box-sizing: border-box;
}
input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width:100%;
}
select {
  text-overflow: ellipsis;
  outline: 0;
  cursor: pointer;
  appearance: none;
  padding: 0rem 4.5rem 0rem 1.5rem;
}
.select {
  position: relative;
  display: block;
}
.select::after {
  content: "";
  position: absolute;
  top: calc(50% - 1rem);
  right: 1.5rem;
  background: url(../img/common/select_arw.svg) no-repeat center top;
  width: 0.9rem;
  height: 2rem;
  pointer-events: none;
}
::selection {
  background-color: #b3d4fc;
  color: #000;
  text-shadow: none;
}
input:-internal-autofill-selected {
  appearance: menulist-button;
  background-color: rgb(232, 240, 254) !important;
  background-image: none !important;
  color: -internal-light-dark(black, white) !important;
}
.year_list p, .year_list input {
  margin-right: 1.5rem;
}
#year01, #year02, #year03 {
  cursor: pointer;
  width: 25.5rem;
}
select[name="month01"], select[name="month02"], select[name="month03"] {
  width: 18.5rem;
}

label {cursor: pointer;}
/* ラジオボタン */
/* 元のラジオボタンを非表示にする */
dd.required input[type="radio"] {
  display: none;
}

/* ラベルをボタン風にスタイリング（非選択時のスタイル） */
dd.required label.radio {
  display: block;
  width: 31rem;
  padding: 12px 10px;
  border-radius: 0.6rem;
  background: linear-gradient(75deg, #bbb 0%, #aaa 100%);
  color: #fff;
  text-align: center;
  cursor: pointer;
}
dd.required label.radio:hover {
  background: linear-gradient(75deg, #999 0%, #aaa 100%);
}

/* 「神戸キャンパス」が選択されたら青色にする */
dd.required input#campus01:checked + label[for="campus01"], dd.required input#mode01:checked + label[for="mode01"] {
  background: linear-gradient(75deg, #0079a7 0%, #006080 100%);
}
/* 「大阪キャンパス」が選択されたらピンク色にする */
dd.required input#campus02:checked + label[for="campus02"], dd.required input#mode02:checked + label[for="mode02"] {
  background: linear-gradient(75deg, #d76e96 0%, #d1597b 100%);
}
/* チェックボックス */
.check {
  box-sizing: border-box;
  display: inline-block;
  line-height: 30px;
  height: 30px;
}
input[type="checkbox"] {
  position: relative;
  width: 30px;
  height: 30px;
  box-shadow: 0 0 0 1px #c8c8c8 inset;
  vertical-align: -10px;
  border-radius: 6px;
  appearance: none;
}
input[type="checkbox"]:checked:before {
  content: '';
  width: 9px;
  height: 18px;
  border-right: 4px solid #006080;
  border-bottom: 4px solid #006080;
  transform: rotate(50deg);
  position: absolute;
  top: 0px;
  left: 8px;
}
#mail_form input[type=image] {
  padding: 0;
  height: auto;
  border: none;
  margin: 0 auto;
  display: block;
  border-radius: 60px;
  box-shadow: 1px 1px 3px #0000004d;
}

#back_btn {
  background: #006080;
  color: #fff;
  text-decoration: none;
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 12px 30px;
  border-radius: 50px;
}


@media screen and (min-width: 481px) {
    
  #students_slide, #parents_slide {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 1rem;
  }
  .slide_wrap {
    width: 31rem;
  }
  .slide_ttl {
    border-radius: 0.9rem 0.9rem 0 0;
    padding: 1rem 0 1rem 1rem;
    justify-content: space-between;
  }
  .slide_ttl li:nth-child(2) {
    width: 22rem;
  }
  .slide_ttl img {
    width: 7rem;
  }
  .slide_ttl h3 {
    display: flex;
    align-items: center;
    height: 8.1rem;
    padding-right: 1rem;
    font-size: 1.65rem;
  }
  .slide_ttl p {
    font-size: 1.35rem;
  }
  .slide_txt {
    font-size: 1.5rem;
    padding: 1.5rem;
  }

  #issue_box, #goals_box01, #goals_box02, #goals_box03, .reason_box, .reason01_box_wrap, .reason01_list01, .reason01_list02, #reason02_box, #reason03_box, #reason03_list, .reason05_box, #credit_box, #credit_ttl02, #credit_box02, .flow_box, .faq_wrap, .school_wrap, #credo .white_bg {
    width: 66rem;
    margin-left: auto;
    margin-right: auto;
  }
  #reason04_txt {
    width: 70rem;
    margin-left: auto;
    margin-right: auto;
  }
  .reason01_box_wrap .ml30 {
    margin: 0;
  }
  .reason01_box {
    width: 54rem;
  }
  
  .reason01_box h3 {
    font-size: 3rem;
  }
  .reason01_list01 li, .reason01_list02 li, #reason03_list li {
    width: 32.5rem;
  }
  .reason01_list01 li h3, .reason01_list02 li h3, #reason03_list li h3 {
    font-size: 2.1rem;
    line-height: 1.5;
  }
  .reason01_list01 li img, .reason01_list02 li img {
    width: 75%;
  }
  #reason03_list li img {
    width: 46%;
    margin-bottom: 1.5rem;
  }
  .reason01_list01 li p, .reason01_list02 li p, .reason01_box p, #reason03_list p {
    font-size: 1.8rem;
  }
  #issue {background: url(../img/issue/bg_pc.webp) no-repeat center top;}
  #compare {background: url(../img/compare/bg_pc.webp) no-repeat center top;}
  #reason {background: url(../img/reason/bg_pc.webp) no-repeat center top;}
  #reason01 {background: url(../img/reason01/ttl_bg_pc.webp) no-repeat center top;}
  .reason01_list01 li {
    height: 42.6rem;
    background: url(../img/reason01/list_bg01_pc.webp) no-repeat center top;
    background-size: contain;
  }
  .reason01_list02 li {
    height: 39.3rem;
    background: url(../img/reason01/list_bg02_pc.webp) no-repeat center top;
    background-size: contain;
  }
  #reason02 {background: #fff3e3 url(../img/reason02/ttl_bg_pc.webp) no-repeat center top;}
  #reason02 .dotted_bg {
    width: 90rem;
    margin-left: auto;
    margin-right: auto;
  }
  #reason03 {background: url(../img/reason03/ttl_bg_pc.webp) no-repeat center top;}
  #reason03_list li {
    height: 38.9rem;
    background: url(../img/reason03/list_bg_pc.webp) no-repeat center top;
    background-size: contain;
  }
  #reason03_list li p {
    padding: 2.1rem 2rem 0;
  }
  #reason04 {background: #fff3e3 url(../img/reason04/ttl_bg_pc.webp) no-repeat center top;}
  #reason04_img {
    margin: 0;
  }
  #reason04_box h4 {
    font-size: 3.3rem;
  }
  #reason04_wrap {
    width: 78rem;
    margin-left: auto;
    margin-right: auto;
  }
  #reason04_box {
    margin-right: 0;
  }
  #reason05 {background: url(../img/reason05/ttl_bg_pc.webp) no-repeat center top;}
  #goals_box02 li:last-child {
    width: 35rem;
  }
  #goals_box02 h3, #goals_box03 h3 {
    font-size: 3rem;
  }
  #goals_box02 p, #goals_box03 p, #reason04_box p {
    font-size: 2.1rem;
  }
  #course_list, .course_box, #choose_list, #form_wrap {
    width: 84rem;
    margin-left: auto;
    margin-right: auto;
  }
  #course_list li {
    width: 41.5rem;
    height: 48.3rem;
    background: url(../img/course/list_bg01_pc.webp) no-repeat center top;
    background-size: contain;
    padding-top: 2.7rem;
  }
  #course_list li:last-child {
    background: url(../img/course/list_bg02_pc.webp) no-repeat center top;
    background-size: contain;
  }
  #course_list h3 {
    font-size: 3.3rem;
    margin-bottom: 2.1rem;
  }
  #course_list img.mb15 {
    margin-bottom: 1.8rem;
  }
  .course_box {
    padding: 6rem 9rem;
  }
  .course_list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: stretch;
    margin-bottom: 4.5rem;
  }
  .course_list02 {
    flex-direction: row-reverse;
  }
  .course_list li:last-child {
    width: 35rem;
    background: #e5eff2;
    border-radius: 1.2rem;
  }
  #course_txt {
    margin: 0 3rem 3rem;
  }

  #choose_list {
    padding: 4.5rem 4.5rem 1.5rem 4.5rem;
  }
  #choose_list li {
    width: calc(25% - 1rem);
  }
  #choose_list h3 {
    padding: 0 1.8rem;
    font-size: 2.4rem;
  }

  #credo {
    background: url(../img/credo/bg_pc.webp) no-repeat center top;
  }
  .school_inner {
    margin: 1.5rem 0 0 0;
    display: flex;
    flex-wrap: wrap;
  }
  .school_inner li:last-child {
    margin: 0 0 0 2rem;
  }
  .school_inner h4 {
    font-size: 1.5rem;
    margin-bottom: 0.6rem;
    padding: 0 1.5rem;
  }
  .school_inner p {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  .map {
    width: 30rem;
    height: 30rem;
  }

  #form_wrap {
    padding: 6rem 9rem;
  }
  dd.required label.radio {
    width: 32rem;
  }
  input[type="text"], input[type="tel"], input[type="email"], select {
    height: 6.3rem;
    line-height: 6.3rem;
  }
}

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

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

@media screen and (max-width:480px) {
  
  .slide_wrap {
    width: 68rem;
  }
  .slide_ttl {
    margin-top: 2.1rem;
  }
  .slide_ttl li:nth-child(2) {
    width: 50rem;
  }
  .slide_ttl img {
    width: 17rem !important;
    margin: -1rem 1rem -1rem 1rem;
  }
  .slide_ttl h3 {
    border-bottom: 1px dashed #fff;
    padding-bottom: 0.6rem;
    margin-bottom: 0.6rem;
  }
  .slide_notes {
    position: absolute;
    right: 3rem;
    bottom: 7.5rem;
  }

  /*----- parents -----*/
  #parents .slide_notes {
    bottom: 9rem;
  }

  
  #goals_box02 li:last-child {
    width: 37rem;
  }

  #issue {
    background: url(../img/issue/bg_sp.webp) no-repeat center top;
    background-size: cover;
  }
  #compare {
    background: url(../img/compare/bg_sp.webp) no-repeat center top;
    background-size: cover;
  }
  #reason {
    background: url(../img/reason/bg_sp.webp) no-repeat center top;
    background-size: cover;
  }
  #reason01 {
    background: url(../img/reason01/ttl_bg_sp.webp) no-repeat center top;
    background-size: contain;
  }
  .reason01_list01 li {
    width: 34rem;
    height: 46.6rem;
    background: url(../img/reason01/list_bg01_sp.webp) no-repeat center top;
    background-size: contain;
  }
  .reason01_list02 li {
    width: 34rem;
    height: 43.1rem;
    background: url(../img/reason01/list_bg02_sp.webp) no-repeat center top;
    background-size: contain;
  }
  #reason02 {
    background: #fff3e3 url(../img/reason02/ttl_bg_sp.webp) no-repeat center top;
    background-size: contain;
  }
  #reason03 {
    background: url(../img/reason03/ttl_bg_sp.webp) no-repeat center top;
    background-size: contain;
  }
  #reason03_list li {
    width: 34rem;
    height: 44.1rem;
    background: url(../img/reason03/list_bg_sp.webp) no-repeat center top;
    background-size: contain;
  }
  #reason03_list li p {
    padding: 2.7rem 2rem 0;
  }
  #reason04 {
    background: #fff3e3 url(../img/reason04/ttl_bg_sp.webp) no-repeat center top;
    background-size: contain;
  }
  #reason05 {
    background: url(../img/reason05/ttl_bg_sp.webp) no-repeat center top;
    background-size: contain;
  }
  #course_list li {
    width: 34rem;
    height: 39.7rem;
    background: url(../img/course/list_bg01_sp.webp) no-repeat center top;
    background-size: contain;
    padding-top: 2.7rem;
  }
  #course_list li:last-child {
    background: url(../img/course/list_bg02_sp.webp) no-repeat center top;
    background-size: contain;
  }
  #course_img01, #course_img02 {
    width: 27.6rem !important;
  }
    
  .course_img {
    margin-bottom: -2.1rem;
  }
  
  #choose_list h3 {
    padding: 0 4.5rem;
  }

  #credo {
    background: url(../img/credo/bg_sp.webp) no-repeat center top;
    background-size: cover;
  }

  .map {
    width: 59rem;
    height: 46rem;
  }
  .school_inner h4 {
    padding: 0 3rem;
  }

  #mail_form dt {
    padding-right: 8.4rem;
  }
  #mail_form dd {
    margin-bottom: 3rem;
  }
  input[type="text"], input[type="tel"], input[type="email"], select, textarea {
    font-size: 3rem;
  }
  input[type="text"], input[type="tel"], input[type="email"], select {
    height: 9rem;
    line-height: 9rem;
    padding: 0rem 1.5rem;
  }
  select {
    padding: 0rem 3rem 0rem 1.5rem;
  }
  textarea {
    height: 36rem;
  }
  #year01, #year02, #year03 {
    width: 27.5rem;
  }
  select[name="month01"], select[name="month02"], select[name="month03"] {
    width: 23.5rem;
  }
}