@charset "utf-8";
/* common
-------------------------------------------- */
section+section {
  padding-bottom: 4rem;
}

.section__inr {
  margin-inline: auto;
}

.section__heading {
  padding-top: 8rem;
}

@media screen and (max-width:768px) {
  .section__heading {
    padding-top: 5rem;
  }
}

.is_sp{
  display: none;
}

@media screen and (max-width:768px) {
  .is_sp{
    display: block;
  }
  .is_pc{
    display: none;
  }
}

.section__heading-jp img {
  margin-inline: 1rem;
  vertical-align: middle;
}

.inner__full {
  background-color: #FCF8F7;
  width: 100%;
  margin: 0 auto;
  box-sizing: content-box;
}

.section__inr-btn {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  background-color: #fff;
}

.section__inr-btn.btn {
  padding: 10px 16px 10px;
}

@media screen and (max-width:768px) {
  .section__heading-jp img {
    margin-inline: .5rem;
    height: 2rem;
  }
}

.flexbox {
  display: flex;
}

.marker {
  background: #fff772;
  display: inline;
  font-style: normal;
}

.section__heading-secondary {
  font-weight: bold;
  font-size: 1.8rem;
  border-left: 8px solid #D61518;
  padding: 6px 0 6px 16px;
  margin-bottom: 12px;
  line-height: 1.6;
}

.has-arrow {
  position: relative;
}

.has-arrow:after {
  content: '';
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
  width: 0.5em;
  height: 0.5em;
  margin-inline: .5rem;
  border: 0.1em solid currentColor;
  box-sizing: border-box;
}

.has-arrow.arrow-down:after {
  color: #fff;
  border-left: 0;
  border-bottom: 0;
  transform: translateY(-25%) rotate(135deg);
}

.marker {
  font-weight: 600;
}

.table-style {
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 1.4rem;
  line-height: 1.5;
  width: 100%;
}

.table-style th{
  padding:clamp(1rem,3vw,2rem) 2rem;
}

.table-style td {
  padding: 2rem
}

.table-style th {
  background-color: #FCF9F8;
  border-style: solid;
  border-color: #BDBDBD;
  border-width: 1px 0px 1px 1px;
  font-weight: normal;
  width: 24rem;
}

.table-style td {
  background-color: #FFFFFF;
  border-style: solid;
  border-color: #BDBDBD;
  border-width: 1px 1px 1px 0px;
  width: calc(100% - 24rem);
}

@media screen and (max-width: 768px) {
  .table-style th,
  .table-style td{
    width: 100%;
    display: block;
  }
  .table-style th{
    border-width: 1px 1px 0px 1px;
  }
  .table-style tr:not(:first-child) th{
    border-top: none;
  }
  .table-style td{
    border-width: 0 1px 1px 1px;
  }
}

.list-wrap {
  background: #fff;
  border: solid 2px #D61518;
  border-radius: 4px;
  padding: 48px 5% 36px;
}

.list-wrap .list-ttl {
  text-align: center;
  font-size: 1.8rem;
  color: #D61518;
  font-weight: bold;
  margin-bottom: 36px;
}

.list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 2rem;
}

.list-item {
  position: relative;
  padding-left: 18px;
  width: calc(50% - 1rem);
}

.list-item:nth-child(odd) {
  padding-right: 2rem;
}

.list-item::before {
  content: "";
  position: absolute;
  top: 0.6em;
  left: 0;
  width: 10px;
  height: 10px;
  background-color: #D61518;
  border-radius: 50%;
}

.list-footer {
  margin-top: 1.2rem;
}

.list-footer .note {
  font-size: 1.2rem;
}

@media screen and (max-width: 768px) {
  .list{
    flex-direction: column;
  }
  .list-item{
    width: 100%;
  }
}

/* CTA
-------------------------------------------- */
.cta__bar {
  padding: 2rem 0 3rem;
  box-sizing: border-box;
}

.cta__bar .inner {
  display: flex;
  gap: 4rem;
}

.cta__item_wrap {
  width: 100%;
  text-align: center;
}

.cta__item_wrap .lead {
  margin-bottom: 3rem;
}

.cta__item {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 100px;
  font-size: 2.2rem;
  font-weight: 700;
  padding: 0.8rem;
  position: relative;
  height: 8rem;
  max-width: 536px;
  margin-inline: auto;
}

.cta__item .baloon {
  position: absolute;
  top: -2rem;
  border: 2px solid;
  font-size: 1.4rem;
  padding: .6rem 2rem 0.8rem;
  line-height: 1;
  background: #fff;
  color: initial;
  border-radius: 100px;
}

.cta__item .baloon:before {
  content: '';
  width: 20px;
  height: 20px;
  display: inline-block;
  background: url(/images/contact-tafe/icon-baloon.svg) no-repeat;
  position: absolute;
  bottom: -2rem;
  right: 2rem;
}

.cta__item.cta__line .baloon {
  color: #06C755;
}

.cta__item.cta__contact .baloon {
  color: #D61518;
}

.cta__item .item-icon {
  margin-right: 1rem;
}

.cta__item.cta__line .item-icon {
  height: 32px;
}

.cta__item.cta__contact .item-icon {
  height: 20px;
}

.cta__line {
  background-color: #06C755;
}

.cta__contact {
  background-color: #D61518;
}

@media screen and (max-width: 768px) {
  .cta__item {
    font-size: 1.8rem;
    font-weight: 500;
    padding: .3rem 2rem 0.5rem;
    height: 7rem;
  }
}

/* fv
-------------------------------------------- */
.mv {
  background: url('../images/contact-tafe/bg_dot.png') center / 24rem repeat #D61518;
  margin-bottom: 0;
  padding-top: 3rem;

}

.mv .mv_content {
  max-width: 870px;
  text-align: center;
  width: 100%;
}

.mv+.cta__bar {
  padding-top: 4rem;
}

@media screen and (max-width: 768px) {
  .mv {
    padding-top: 1rem;
    background-size: 10rem;
  }

  .mv+.cta__bar .inner {
    gap: 4rem;
  }
}

/* what is TAFE
-------------------------------------------- */
section.whatisTAFE {
  padding-bottom: 4rem;
}

.page-cta__bar .cta__btn_inner {
  margin-bottom: 0;
}

.page-cta__bar .page-cta__bar_heading {
  color: initial;
}

.page-cta__bar img[alt="Mirai Bridge"]{
  height: clamp(2.4rem,4vw,4rem);
  vertical-align: text-bottom;
}

/* pros & cons
-------------------------------------------- */
.table-wrap {
  margin-bottom: 5rem;
}
.table_compare {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  color: #353535;
  margin-bottom: 1rem;
  margin-bottom: 2rem;
}

.table_compare+.footer-note {
  font-size: 1.2rem;
}

.table_compare thead {
  background: #d3e1e8;
}

.table_compare th,
.table_compare td {
  border: 1px solid #AEAEAE;
  border-left: none;
  border-right: none;
  background: #fff;
  font-size: 1.4rem;
  vertical-align: middle;
}

.table_compare th {
  text-align: center;
  border-top: none;
  padding: 1.5rem;
}

.table_compare td {
  padding: 2.8rem 2rem;
}

.table_compare th span,
.table_compare td span {
  font-size: 0.8em;
  display: block;
  padding: .5rem 0;
  width: 100%;
}

.table_compare th:nth-child(1) {
  background-color: #fff;
  border: 1px solid transparent;
  border-bottom-color: #AEAEAE;
  color: #fff;
}

.table_compare th:nth-child(2) {
  background-color: #D61518;
  color: #fff;
  border: 3px solid #D61518;
}

.table_compare th:nth-child(2) img {
  width: 90%;
  max-width: 150px;
}

.table_compare th:nth-child(3) {
  background-color: #8E8E8E;
  color: #fff;
}

.table_compare th:nth-child(4) {
  background-color: #8E8E8E;
  color: #fff;
}

.table_compare td:not(:first-child) {
  text-align: center;
}

.table_compare td:nth-child(1) {
  background-color: #F4F4F4;
}

.table_compare td:nth-child(2) {
  color: #D61518;
  border-right: 3px solid;
  border-left: 3px solid;
}

.table_compare tbody tr:last-child td:nth-child(2) {
  border-bottom: 3px solid;
}

@media screen and (max-width:768px) {
  .table-wrap {
    overflow-x: auto;
    display: block;
  }

  .table_compare {
    width: 100%;
    border-collapse: collapse;
    white-space: nowrap;
    table-layout: fixed;
  }

  .table_compare th {
    width: 150px;
    white-space: normal;
    padding: 2rem 0.5rem;
  }

  .table_compare th:nth-child(1) {
    width: 110px;
  }

  .table_compare td {
    white-space: break-spaces;
    padding: 2.2rem 0.5rem;
    line-height: 1.6;
  }

  .table_compare td:nth-child(1) {
    font-size: 1.3rem;
  }
}

.proscons-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.proscons-cards.pros {
  margin-bottom: 5.2rem;
}

.proscons-card {
  background-color: pink;
  width: calc(50% - 1rem);
  padding: clamp(3rem,4vw,3.6rem) clamp(2rem,4vw,3.6rem);
}

.proscons-cards.pros .proscons-card {
  background-color: #FCF9F8;
}

.proscons-cards.pros .proscons-card dt {
  color: #D61518;
}

.proscons-cards.cons .proscons-card {
  background-color: #FAFAFA;
}

.proscons-card dt {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 2rem;
  position: relative;
  padding-left: 3.8rem;
  line-height: 1.6;
}

.proscons-card dt:before {
  content: '';
  width: 2.8rem;
  height: 2.8rem;
  display: inline-block;
  left: 0;
  background-size: contain;
  position: absolute;
  top: -0.4rem;
}

.proscons-cards.pros .proscons-card dt:before {
  background-image: url('../images/contact-tafe/icon_pros.png');
}

.proscons-cards.cons .proscons-card dt:before {
  background-image: url('../images/contact-tafe/icon_cons.png');
}

@media screen and (max-width: 768px) {
  .proscons-cards{
    flex-direction: column;
    gap: 1rem;
  }
  .proscons-card{
    width: 100%;
  }
}

/* course
-------------------------------------------- */
.course-block {
  background-color: #fff;
  padding: 4rem 5% clamp(4rem,4vw,6rem);
}

.course-block_inr {
  width: min(85rem, 100%);
  margin-inline: auto;
}

.course-block:not(:last-child) {
  margin-bottom: 2.4rem;
}

.course-block-ttl {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin-bottom: 3.6rem;
  line-height: 1.8;
}
.course-block-ttl u{
  text-underline-offset: 0.5rem;
  text-decoration-thickness: 0.2rem;
}

/* about
-------------------------------------------- */
.about .section__heading-en img{
  height: clamp(3.8rem,4vw,5rem);
  vertical-align: middle;
  margin-left: 1rem;
}

.about .about_diagram {
  text-align: center;
  display: block;
}

.about .about_diagram img {
  width: min(56.5rem, 100%);

}

/* reasons
-------------------------------------------- */
.numarea {
  flex-direction: row-reverse;
  justify-content: center;
  width: 130px;
  font-weight: bold;
  font-size: 1.4rem;
  grid-row: 1 / 2;
  grid-column: 2 / 3;
  gap: 8px;
  display: flex;
  align-items: center;
  width: 100%;
}

.numarea span {
  display: block;
}

.numarea .num_ttl {
  color: #d61518;
  text-transform: capitalize;
  line-height: 1.4;
}

.numarea .nowrap {
  white-space: nowrap;
}

.numarea .num {
  font-size: 8rem;
}

.num {
  font-weight: bold;
  line-height: 100%;
}

.num--outline {
  text-stroke: 2px #d61518;
  -webkit-text-stroke: 2px #d61518;
  color: rgba(0, 0, 0, 0);
}

.reasons .section__inr {
  padding-bottom: 48px;
  width: 90%;
  margin-bottom: 0;
}

.reasons .section__heading {
  margin-bottom: 78px;
}

.reasons__li {
  margin-block: 8rem 0;
}

.reasons__cont {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto 1fr;
  gap: 2rem 4rem;
}

.reasons__cont:not(:last-child) {
  margin-bottom: 10rem;
}

.reasons__cont:last-child {
  margin-bottom: 5rem;
}

.reasons__ttl {
  color: #d61518;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 3.4rem;
  font-weight: bold;
  line-height: 1.6;
  text-align: center;
  grid-row: 2 / 3;
  grid-column: 2 / 3;
}

.underline_dot {
  position: relative;
  text-shadow: 1px 1px #ffffff, -1px 1px 0 #fff, 1px -1px 0 #fff, -1px -1px 0 #fff;
  white-space: nowrap;
  z-index: 0;
}

.underline_dot:after {
  content: '';
  display: inline-block;
  height: 15px;
  width: 100%;
  background-image: radial-gradient(#d61518 25%, transparent 25%), radial-gradient(#d61518 25%, transparent 25%);
  background-size: 3px 3px;
  background-position: 0 0, -1.5px 1.5px;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
}

.underline_dot {
  position: relative;
  text-shadow: 1px 1px #ffffff, -1px 1px 0 #fff, 1px -1px 0 #fff, -1px -1px 0 #fff;
  white-space: nowrap;
}

.reasons__img {
  grid-row: 1 / 4;
  grid-column: 1 / 2;
}

.reasons__descarea {
  grid-row: 3 / 4;
  grid-column: 2 / 3;
}

.reasons__desc {
  margin-top: 1.4rem;
}

.reasons__point {
  background:#FCF8F7;
  padding: 1.5rem 2.5rem 2rem;
  margin-top: 3rem;
}

.reasons__point dt {
  font-weight: 600;
  text-align: center;
  margin-block: 0 1rem;
}

.reasons__point dt span {
  color: #D61518;
  font-size: 1.5rem;
  margin-block: 0.5rem 1rem;
}

.reasons__point dt:before,
.reasons__point dt:after {
  content: '/';
  padding-left: 0.5rem;
}

.reasons__point dt:before {
  transform: rotateY(180deg);
  display: inline-block;
}

.reasons__cont:nth-child(even) .numarea {
  grid-row: 1 / 2;
  grid-column: 1 / 2;
}

.reasons__cont:nth-child(even) .reasons__ttl {
  grid-row: 2 / 3;
  grid-column: 1 / 2;
}

.reasons__cont:nth-child(even) .reasons__img {
  grid-row: 1 / 4;
  grid-column: 2 / 3;
}

.reasons__cont:nth-child(even) .reasons__descarea {
  grid-row: 3 / 4;
  grid-column: 1 / 2;
}

@media screen and (max-width: 768px) {
  .reasons .section__heading {
    margin-bottom: 48px;
  }

  .reasons__li {
    margin-block: 4rem 0;
  }

  .reasons__cont {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .reasons__cont:not(:last-child) {
    margin-bottom: 6rem;
  }

  .reasons__img img {
    max-width: 524px;
    width: 80%;
    margin: 0 auto;
    display: block;
  }

  .reasons__ttl {
    margin-block: 1.5rem 3rem;
    font-size: clamp(2rem, 6vw, 3rem);
  }

  .numarea .num {
    font-size: 5rem;
  }

  .numarea .num_ttl {
    line-height: 1.2;
    font-size: 1.3rem;
  }

  .reasons__desc {
    margin-top: 2.4rem;
  }
}

@media screen and (max-width: 414px) {
  .reasons__cont:not(:last-child) {
    margin-bottom: 4rem;
  }
}

/* q&a
-------------------------------------------- */
.section__inr.qa__inr {
  padding: 0 5% 2rem;
  margin-bottom: 0;
}

@media screen and (max-width: 1024px) {
  .qa__wrap {
    margin-bottom: 24px;
  }

  .qa__box {
    border-radius: 4px;
    margin: 0 auto 24px;
  }
}

.qa__box {
  max-width: 1160px;
  background: #fff;
  border: solid 2px #D61518;
  border-radius: 8px;
  margin: 0 auto 40px;
  font-size: 1.4rem;
}

.qa__box:last-child {
  margin: 0 auto;
}

.qa__question {
  font-size: clamp(1.4rem,3vw,1.8rem);
  color: #fff;
  font-weight: bold;
  background: #D61518;
  padding: 10px clamp(5%,3vw,24px) 14px;
  position: relative;
  padding-left: 4.8rem;
  line-height: 1.6;
}

.qa__question:before {
    display: inline-block;
    content: "Q";
    font-size: clamp(2rem, 3vw, 2.4rem);
    color: #fff;
    left:2rem;
    position: absolute;
    top: 0.5rem;
}

.qa__answer {
  padding: 24px 56px 32px;
}

@media screen and (max-width: 1024px) {
  .qa__answer {
    padding: 16px 5% 24px;
  }
}

.qa__answer ol {
  list-style: decimal;
  padding: 8px 32px;
}

.qa__answer-note {
  margin-top: 16px;
}

.qa__answer-link {
  display: inline-block;
  font-weight: bold;
  text-decoration: underline;
}

.qa__answer-link:hover {
  color: #D61518;
}

.qa__answer__inr-bg {
  background: #FCF8F7;
  max-width: 1048px;
  padding: 24px 40px;
  margin: 24px 0;
}

@media screen and (max-width: 1024px) {
  .qa__answer__inr-bg {
    padding: 16px 5%;
    margin: 16px 0;
  }
}

.qa__answer__list-title {
  font-size: 1.6rem;
  color: #D61518;
  font-weight: bold;
  margin-bottom: 4px;
}

@media screen and (max-width: 1024px) {
  .qa__answer__list-title {
    font-size: 1.4rem;
  }
}

.qa__answer__list-item {
  position: relative;
  padding-left: 18px;
  margin-bottom: 4px;
}

.qa__answer__list-item:last-child {
  margin-bottom: 0;
}

@media screen and (max-width: 1024px) {
  .qa__answer__list-item {
    margin-bottom: 4px;
  }
}

.qa__answer__list-item::before {
  content: "";
  position: absolute;
  top: 0.6em;
  left: 0;
  width: 10px;
  height: 10px;
  background-color: #D61518;
  border-radius: 50%;
}

@media screen and (max-width: 1024px) {
  .qa__answer__list-item::before {
    width: 8px;
    height: 8px;
  }
}

.qa__wrap-note {
  margin-top: 16px;
}

/* contact
-------------------------------------------- */
.contact__note {
  margin: 0 auto 40px;
  max-width: 1160px;
  padding: 0 56px;
}
@media screen and (max-width: 1024px) {
  .contact__note {
    margin: 0 auto 24px;
    width: 100%;
    padding: 0 5%;
  }
}
.contact__note a {
  display: inline-block;
  color: #D61518;
  text-decoration: underline;
}
.contact__note-item {
    padding-left: 2rem;
    position: relative;
}
.contact__note-item:before {
    content: '※';
    position: absolute;
    left: 0;
}
.contact__note-item:not(:last-child) {
  margin-bottom: 16px;
}
@media screen and (max-width: 1024px) {
  .contact__note-item:not(:last-child) {
    margin-bottom: 8px;
  }
}
.contact__note-item br.sp{
  display: none;
}
.contact__note-item span{
  display: inline-block;
}
@media screen and (max-width: 414px) {
  .contact__note-item br.sp{
    display: block;
  }
}