/***************************************
style.css
***************************************/


section {
  margin: 2rem auto;
}

section h2 {
  color: var(--Dark_Sub_Color);
  font-weight: 900;
  font-size: 1.6rem;
  font-family: var(--Font_Weight_Bold);
}

section h3 {
  margin-top: 2rem;
  padding: 1rem;
  background: #eee;
  font-weight: 900;
  font-size: 1.2rem;
  font-family: var(--Font_Weight_Bold);
}

section h4 {
  padding: .5rem;
  border-left: 3px solid var(--Light_Sub_Color);
  font-weight: 900;
  font-family: var(--Font_Weight_Bold);
}



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

  section {
    width: 96%;
  }

}



/* ----------------------------
  col_list
---------------------------- */

.col_list {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  padding-bottom: 2rem;
}

.col_list li {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  width: 16rem;
}

.col_list li a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  height: 3.6rem;
  padding: 0rem 1rem 0 0;
  border: 2px solid var(--Main_Color);
  color: var(--Main_Color);
  font-size: 1rem;
  text-align: center;
  line-height: 1;
}

.col_list li a::after {
  position: absolute;
  top: calc(50% - 0.5rem);
  right: 1rem;
  width: auto;
  height: auto;
  border: none;
  line-height: 1;
  font-weight: 900;
  font-family: var(--Font_Awesome);
  content: var(--Arrow_Right);
}



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

  .col_list {
    flex-direction: column;
  }

  .col_list li {
    width: 20rem;
    margin: 0 auto;
  }

}



/* ----------------------------
  button
---------------------------- */

section .appli a {
  border-radius: 0;
}

section .appli.exam a,
section .appli.trial a {
  font-weight: 900;
  font-family: var(--Font_Weight_Bold);
  font-size: 1.2rem;
}

section .appli.exam a {
  color: #fff;
}

section .appli.sphere a,
section .appli.pdf a {
  border: 2px solid var(--Main_Color);
  background: #fff;
  color: var(--Main_Color);
}

section .appli.pdf a::after {
  content: "\f1c1";
}



/* ----------------------------
  flow
---------------------------- */

.flow > div {
  position: relative;
  margin: 2rem 0;
  padding: 1rem;
  border: 1px solid #ccc;
}

.flow > div:nth-of-type(4) {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.flow > div:not(:last-of-type)::before {
  position: absolute;
  width: 0;
  height: 0;
  bottom: -1rem;
  left: calc(50% - 1.5rem);
  z-index: 1;
  border-style: solid;
  border-color: var(--Light_Sub_Color) transparent transparent transparent;
  border-width: 1rem 1.2rem 0 1.2rem;
  content: "";
}

.flow > div .flow_ttl {
  margin: 0;
  font-weight: 900;
  font-size: 1.2rem;
  font-family: var(--Font_Weight_Bold);
}

.flow > div .flow_ttl::before {
  padding-right: .5rem;
  color: var(--Main_Color);
  font-size: 1.6rem;
  vertical-align: middle;
}

.flow > div:nth-of-type(1) .flow_ttl::before {
  content: "01";
}

.flow > div:nth-of-type(2) .flow_ttl::before {
  content: "02";
}

.flow > div:nth-of-type(3) .flow_ttl::before {
  content: "03";
}

.flow > div:nth-of-type(4) .flow_ttl::before {
  content: "04";
}

.flow > div:nth-of-type(5) .flow_ttl::before {
  content: "05";
}

.flow > div:nth-of-type(6) .flow_ttl::before {
  content: "06";
}

.flow > div p span {
  display: inline;
  font-weight: 900;
  font-family: var(--Font_Weight_Bold);
}

.flow > div p span:nth-of-type(2) {
  color: #a51101;
}



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

  .flow > div:nth-of-type(4) {
    display: block;
  }

}



/* ----------------------------
  about_system
---------------------------- */

.about_system .col_list li:first-of-type a::after {
  content: var(--Arrow_Down);
}

.about_system .flow {
  font-weight: 900;
  font-size: 1.4rem;
  font-family: var(--Font_Weight_Bold);
  text-align: center;
}

.about_system .flow span {
  display: none;
}

.about_system figure img {
  width: 100%;
  height: auto;
}



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

  .about_system figure {
    display: flex;
    flex-direction: column-reverse;
    width: 100%;
    overflow-x:scroll;
  }

  .about_system .flow span {
    display: block;
    padding-top: 1rem;
    font-size: 1rem;
  }

  .about_system figure img {
    width: 960px;
    border: 1px solid #ccc;
  }

}



/* ----------------------------
  selective_exam
---------------------------- */

.selective_exam .col_list {
  width: 67%;
  margin: 0 auto;
}



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

  .selective_exam .col_list {
    width: 100%;
  }

}



/* ----------------------------
  caution
---------------------------- */

.caution {
  padding: 1rem;
  border: 1px solid #a51101;
  background-color: #fff7f7;
}

.caution li {
  padding-left: 1rem;
  text-indent: -1rem;
}

.caution li::before {
  content: "※";
}



/* ----------------------------
  accordion
---------------------------- */

section .accordion {
  width: 80%;
  margin: 2rem auto;
}

section .acd_group {
  border: 1px solid #ccc;
  border-bottom: none;
}

section .acd_group:last-of-type {
  border-bottom: 1px solid #ccc;
}

section .acd_group .acd_header {
  position: relative;
  padding: 1rem;
  text-align: center;
  line-height: 1;
}

section .acd_group .acd_header::after {
  position: absolute;
  top: calc(50% - .5rem);
  right: 1rem;
  font-weight: 900;
  font-family: var(--Font_Awesome);
  content: var(--Arrow_Down);
}

section .acd_group.acd_active .acd_header::after {
  content: var(--Arrow_Up);
}

section .acd_group .acd_contents ul {
  display: flex;
}



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

  section .accordion {
    width: 96%;
  }

  section .acd_group .acd_contents ul {
    display: block;
  }

}



/* ----------------------------
  table
---------------------------- */

table {
  width: 80%;
  margin: 2rem auto;
  border: 1px solid var(--Dark_Sub_Color);
}

table th,
table td {
  padding: .5rem;
  border: 1px solid var(--Dark_Sub_Color);
}

table thead th {
  background: var(--Dark_Sub_Color);
  color: #fff;
}

table tbody th {
  background: var(--Light_Sub_Color);
  color: #fff;
  vertical-align: middle;
}

table tbody td:last-of-type {
  text-align: center;
}



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

  table {
    width: 100%;
    font-size: .9rem;
  }

}


/* campaign_upedu

============================ */

.f_bold {font-weight: bold;}
.f_ll {font-size: 150%;}
.fc_red {color: red;}

.campaign_upedu {
    background-color: #fffff0;
    box-shadow: 0 0 0 1.5rem #fffff0;
    padding: 1rem 2rem 1.5rem;
    margin: 5rem 1.5rem 5rem;
    border: 2px solid #ffd700;
    letter-spacing: .1rem;
}

.campaign_upedu h2 {
    position: relative;
    left: -50px;
    background-color: #ff8c00;
    color: #fff;
    padding: 0.5rem 2rem;
    margin: 0 0 0 0;
    width: 112%;
    font-size: 1.4rem;
    font-weight: bold;
}

.campaign_upedu .upedu_w {
    display: flex;
    column-gap: 3rem;
}

.campaign_upedu .upedu_w figure {
    padding-top: 3rem;
}

.campaign_upedu .upedu_w figure img {
    width: 300px;
}

.upedu_conte dl {
    text-align: justify;
}

.upedu_conte dl dt {
    font-weight: bold;
}

.upedu_conte dl ul {
    margin: 1rem 0;
}

.upedu_conte dl ul li:last-of-type {
    margin-top: 1rem;
}

.upedu_conte dl ul li.asta {
    font-size: .85rem;
}

.upedu_conte .form_link {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
}

.upedu_conte .form_link a {
    margin-top: 1rem;
}

.upedu_conte .form_link a::after {
    margin-left: 1rem;
    font-weight: 900;
    font-family: var(--Font_Awesome);
    content: var(--Arrow_Right);
}

@media screen and (orientation: portrait) and (max-width: 767px) {
    
    .campaign_upedu {
    padding: 1rem 1rem 1.5rem;
    margin: 4rem 1rem 5rem;
    }
    
    .campaign_upedu h2 {
    left: -25px;
    width: 115%;
    text-align: center;   
    }
    
    .campaign_upedu .upedu_w {
    display: block;
}
    .campaign_upedu .upedu_w figure {
    padding-top: 2rem;
        text-align: center;
}
    
    .campaign_upedu .upedu_w figure img {
    width: 100%;
}
    
}
