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

/* ----------------------------
  common
---------------------------- */


/* lead_message
============================ */
.lead_message p:first-of-type {
  margin: 0;
  color: var(--Dark_Sub_Color);
}


/* main_message
============================ */
.main_message p {
  text-align: justify;
}


/* campaign
============================ */

/* ▼▼▼231220 CP修正▼▼▼ */
.campaign {
  width: 600px;
  margin: 1rem auto;
  padding: 1rem;
  border:2px solid var(--Dark_Sub_Color);
}
/* ▲▲▲231220 CP修正▲▲▲ */


.campaign_box > figure {
  margin: 2rem auto;
  text-align: center;
}

.campaign_box > figure a:hover {
  opacity: .8;
}

.campaign section {
  margin: 2rem auto 0;
}

.campaign p {
  text-align: center;
}

.campaign h2,
.campaign h3 {
  margin: 0 auto;
  color: var(--Dark_Sub_Color);
  font-weight: bold;
  font-family: var(--Font_Weight_Bold);
  text-align: center;
}

.campaign h2 {
  font-size: 2rem;
}

.campaign h3 {
  font-size: 1.6rem;
}

.campaign dl.limit {
  display: flex;
  width: 14rem;
  justify-content: space-around;
  margin: 1rem auto;
}

.campaign dl.limit dt,
.campaign dl.limit dd {
  margin: 0 auto;
  background: var(--Dark_Sub_Color);
  color: #fff;
  text-align: center;
}

.campaign dl.limit dt {
  width: 6rem;
  padding: .6rem 0 .4rem;
}

.campaign dl.limit dd {
  width: 8rem;
  color: #ff0;
  font-weight: bold;
  font-family: var(--Font_Weight_Bold);
  font-size: 1.6rem;
}

.campaign dl.limit dd span {
  color: #fff;
  font-size: .8rem;
}

.campaign figure {
  margin: .5rem auto;
  width: 45%;
}

.campaign .img_box {
  display: flex;
  justify-content: center;
}

.campaign figure img {
  width: 100%;
  margin: 1rem auto;
}

.campaign .note li {
  padding-left: 1.8rem;
  text-indent: -1.8rem;
}

.campaign .note li span {
  color: #f00;
}

.campaign .discount > ul.note {
  width: 80%;
  margin: 0 auto;
}

.campaign .exemption > ul.note {
  width: 55%;
  margin: 0 auto;
}

/* modaal customize */
.modaal-close {
  right: 0;
  top: 0;
}

.modaal-close:after,
.modaal-close:before {
  background: var(--Main_Color);
}


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

  /* ▼▼▼231220 CP修正▼▼▼ */
.campaign {
  width: 96%;
}
/* ▲▲▲231220 CP修正▲▲▲ */

  .campaign_box > figure {
    width: 96%;
  }

  .campaign_box > figure img {
    width: 100%;
  }
  
  .modaal-content-container:has(.campaign){
    padding: 2rem 1rem;
  }

  .campaign p {
    text-align: justify;
  }

  .campaign h2 {
    font-size: 1.6rem;
  }
  
  .campaign h3 {
    font-size: 1.2rem;
  }

  .campaign .img_box {
    display: block;
  }

  .campaign figure {
    width: 100%;
  }

  .campaign .discount > ul.note {
    width: 100%;
  }

  .campaign .exemption > ul.note {
    width: 100%;
  }

  /* modaal customize */
  .modaal-close {
    right: -.5rem;
    top: -.5rem;
  }

}



/* ----------------------------
  top index
---------------------------- */

/* winter_digest
============================ */
.winter_digest {
  margin: 2rem 0 0 0;
  text-align: center;
}

.winter_digest p a::after {
  padding-left: 1rem;
  font-weight: 900;
  font-family: var(--Font_Awesome);
  content: var(--Arrow_Right);
}


.main_message {
  width: 80%;
  margin: 0 auto 2rem auto;
  font-size: 1.2rem;
  text-align: justify;
}

section + section {
  margin: 4rem auto;
}


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

  .main_message {
    width: 90%;
    margin: 0 auto 2rem auto;
    font-size: 1rem;
  }

  #recommend_plan section + section {
    margin: 0 auto;
  }

  #main_content > section {
    width: 90%;
    margin-right: auto;
    margin-left: auto;
  }
}



/* top_oricon
============================ */
.top_oricon {
  margin-top: 3rem;
  padding: 0;
  background-color: #000042;
  text-align: center;
}

.top_oricon img {
  width: 80%;
  max-width: 960px;
  height: auto;
  margin: 0 auto;
}


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

  .top_oricon {
    margin: 1rem auto;
  }

  .top_oricon img {
    width: 100%;
  }

}


/* ----------------------------
  index
---------------------------- */

/* common_table
============================ */
#course h2 + ul {
  font-size: .8rem;
  color: var(--Dark_Sub_Color);
}

#course h2 + ul span {
  display: inline;
}

#course h2 + ul span.pc, #course h2 + ul span.none {
  display: none;
}

#course p {
  text-align: justify;
}

.common_table.rsp td span.inv {
  background-color: #f39700;
}

.common_table.rsp td span.foreign {
  background-color: #22aaa1;
}

.common_table.rsp td span.oneday {
  background-color: #a63957;
}

.common_table.rsp td span.new_course {
  background-color: #9175b6;
}

.common_table.rsp td span {
  color: #fff;
}

.common_table.rsp td span.inv a {
  vertical-align: super;
  color: #fff;
}


.label_selected.inv {
  width: 5rem;
  background-color: #f39700;
}

.label_selected.foreign {
  width: 6rem;
  background-color: #22aaa1;
}

.label_selected.oneday {
  width: 4.5rem;
  background-color: #a63957;
}

.label_selected.new_course {
  width: 8rem;
  background-color: #9175b6;
}


@media screen and (orientation: portrait) and (max-width: 767px){
  #course h2 + ul span.pc {
    display: inline-block;
  }

  #course h2 + ul span.sp {
    display: none;
  }

  .common_table {
    font-size: .9rem;
  }


  ul.box.col2 + ul {
    margin-top: 0;
  }

  ul.box.col2:last-of-type li {
    margin-bottom: 0
  }

}



/* invitation_course
============================ */
#invitation_course {
  padding: 1.5rem 0;
}

.invitation_course_table {
  text-align: left;
}

.invitation_course_table table {
  width: 100%;
  margin: 1rem auto;
  border: 1px solid #ccc;
  border-collapse: collapse;
  background: #fff;
  color: #666;
}

.invitation_course_table th {
  text-align: center;
}

.invitation_course_table th,
.invitation_course_table td {
  border: 1px solid #ccc;
  border-collapse: collapse;
  padding: .5rem;
}

.invitation_course_table thead th {
  background: var(--Dark_Sub_Color);
  color: #fff;
  vertical-align: middle;
}

.invitation_course_table thead th span {
  font-size: .7rem;
}

.invitation_course_table a {
  color: var(--Dark_Sub_Color);
}

.invitation_course_table .fee th {
  width: 33%;
}

.invitation_course_table .fee td {
  text-align: center;
}

.invitation_course_table .fee thead th:nth-of-type(3) {
  font-size: 1.2rem;
}

.invitation_course_table .fee tbody td span {
  font-size: 1.2rem;
  background: linear-gradient(transparent 70%, #fae606 60%);
}

.invitation_course_table .lec thead th:nth-of-type(1) {
  width: 8%;
}

.invitation_course_table .lec thead th:nth-of-type(2) {
  width: 37%;
}

.invitation_course_table .lec tbody th,
.invitation_course_table .lec tbody td:nth-of-type(1) {
  vertical-align: middle;
}

.invitation_course_table .lec tbody td:nth-of-type(2) {
  font-size: 80%;
}


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

  #invitation_course {
    padding: .8rem;
  }

  .invitation_course_table table {
    width: 100%;
    border: 1px solid #ccc;
    border-collapse: collapse;
  }
  .invitation_course_table th,
  .invitation_course_table td {
    border: 1px solid #ccc;
    border-collapse: collapse;
    padding: .6rem;
  }

  .invitation_course_table .lec thead th:nth-of-type(1) {
    width: 18%;
  }

  .invitation_course_table .lec thead th:nth-of-type(2) {
    width: 82%;
  }

  .invitation_course_table .lec thead th:nth-of-type(3),
  .invitation_course_table .lec tbody td:nth-of-type(2) {
    display: none;
  }

}



/* recommend_plan
============================ */

#recommend_plan.accordion section + section {
  margin: 2rem 0;
}

#recommend_plan h3 {
  color: var(--Dark_Sub_Color);
}

#recommend_plan h3 span {
  font-size: 1rem;
}

#recommend_plan.accordion h3 {
  position: relative;
  padding: 1rem 2rem 1rem 1rem;
  border: 2px solid var(--Main_Color);
  color: var(--Main_Color);
  font-size: 1.6rem;
}

#recommend_plan.accordion h3::after {
  position: absolute;
  top: calc(50% - .8rem);
  right: 1rem;
  font-family: var(--Font_Awesome);
  font-weight: 900;
  line-height: 1;
  content: var(--Arrow_Down);
}

#recommend_plan.accordion .acd_active h3::after {
  content: var(--Arrow_Up);
}

#recommend_plan .acd_content section {
  margin: 0 1rem 1rem 1rem;
}

#recommend_plan .acd_content section h4 {
  padding: .2rem .5rem;
  background: var(--Dark_Sub_Color);
  font-weight: bold;
  color: #fff;
  font-size: 1.2rem;
  font-family: var(--Font_Weight_Bold);
}

#recommend_plan .acd_content section dl {
  display: flex;
  align-items: center;
  margin: 1rem 2rem;
}

#recommend_plan .acd_content section dt {
  width: 10rem;
  color: var(--Dark_Sub_Color);
  font-weight: bold;
  font-size: 1.2rem;
  font-family: var(--Font_Weight_Bold);
}

#recommend_plan .acd_content section dd {
  margin: .1rem 0;
}

#recommend_plan .table_wrap {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

#recommend_plan table {
  flex: 1;
  width: 100%;
  height: auto;
  margin: .5rem;
  font-size: .9rem;
}

#recommend_plan table,
#recommend_plan table th,
#recommend_plan table td {
  border: 1px solid #ccc;
  border-collapse: collapse;
}

#recommend_plan table th {
  width: 7rem;
  padding: .5rem;
  border-bottom-color: #fff;
  background: var(--Dark_Sub_Color);
  font-weight: normal;
  color: #fff;
  vertical-align: middle;
}

#recommend_plan table tr:first-of-type th {
  background: var(--Light_Sub_Color);
}

#recommend_plan table th.th_row {
  width: 2rem;
  border-right-color: #fff;
}

#recommend_plan table td {
  background: #fafafa;
  padding: .5rem;
}

#recommend_plan table td span {
  display: inline-block;
  padding: 0 .3rem;
  font-weight: bold;
  font-family: var(--Font_Weight_Bold);
  text-decoration: underline;
}


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

  #recommend_plan h3,
  #recommend_plan.accordion h3 {
    position: relative;
    padding: .5rem 2rem .5rem .5rem;
    border: 2px solid var(--Main_Color);
    color: var(--Main_Color);
    font-size: 1rem;
  }

  #recommend_plan h3 span,
  #recommend_plan.accordion h3 span {
    font-size: .9rem;
  }

  #recommend_plan h3::after,
  #recommend_plan.accordion h3::after {
    position: absolute;
    top: calc(50% - .5rem);
    right: .5rem;
    font-family: var(--Font_Awesome);
    font-weight: 900;
    line-height: 1;
    content: var(--Arrow_Down);
  }

  #recommend_plan .acd_active h3::after {
    content: var(--Arrow_Up);
  }

  #recommend_plan .acd_content {
    margin-bottom: 2rem;
  }

  #recommend_plan .acd_content section h4 {
    margin: 1rem 0 .5rem;
  }

  #recommend_plan .acd_content section dl {
    display: block;
    margin: 1rem 0;
  }

  #recommend_plan .acd_content section dt {
    flex: 1;
    font-size: 1rem;
  }

  #recommend_plan .acd_content > section div {
    flex: 4;
    font-size: .9rem;
  }

  #recommend_plan .table_wrap {
    display: block;
    width: 96%;
    margin: 0 auto;
  }

  #recommend_plan table {
    margin: 1rem 0;
    font-size: .9rem;
  }

  #recommend_plan table th {
    width: 4rem;
  }

}


/* rcmnd_table
============================ */


#recommend_plan > section h4 {
  color: var(--Dark_Sub_Color);
  font-weight: bold;
  font-size: 1.2rem;
  font-family: var(--Font_Weight_Bold);
}

#recommend_plan > section h4::before {
  content: "▼";
}

#recommend_plan > section > section {
  margin: 2rem auto;
}

#recommend_plan > section h5 {
  display: table;
  padding: .2rem .5rem;
  background: var(--Dark_Sub_Color);
  color: #fff;
  font-size: 1.2rem;
}

#recommend_plan > section section div {
  display: flex;
  margin: .5rem 1rem .5rem 1rem;
  align-items: center;
}

#recommend_plan > section section div p {
  margin: 0 1rem;
  font-size: .9rem;
}

#recommend_plan > section div p.next::after {
  content: " ⇒";
}

#recommend_plan > section section > p {
  margin: 1rem;
  text-align: justify;
}

#recommend_plan > section div ul:not(.note) li {
  display: table;
  margin: .1rem 0;
  background: var(--Dark_Sub_Color);
  color: #fff;
}

#recommend_plan > section div ul:not(.note) li+ li {
  margin-top: .5rem;
}

#recommend_plan > section div ul.note li {
  display: block;
}

#recommend_plan > section ul.note {
  margin: 0 .3rem;
}

#recommend_plan p span.logo {
  font-family: 'Avenir-Light' !important;
  font-weight: bold;
}



/* rcmnd_table
============================ */
.rcmnd_table {
  margin: 1rem 0;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: .9rem;
}

.rcmnd_table th {
  padding: 2rem;
  border: 2px solid #fff;
  background-color:var(--Dark_Sub_Color);
  color: #fff;
}

.rcmnd_table th,
.rcmnd_table td {
  padding: 1rem;
  border:solid 1px #ddd;
}

.rcmnd_table th {
  width: 30%;
  text-align: center;
}

.rcmnd_table th:first-child {
  width: 10%;
  border: none;
  background-color:#fff;
}

.rcmnd_table td:first-child {
  background-color: var(--Light_Sub_Color);
  color: #fff;
  text-align: center;
}

.rcmnd_table td:first-child span {
  display: block;
}

.rcmnd_table td:not(:first-child) {
  padding: 1rem .5rem;
}

.rcmnd_table td dl {
  display: flex;
  padding-bottom: .5rem;
}

.rcmnd_table td dl:last-of-type {
  padding-bottom: 0;
}

.rcmnd_table td dl dt {
  width: 2.5rem;
  color: var(--Dark_Sub_Color);
  font-weight: bold;
  font-family: var(--Font_Weight_Bold);
  text-align: center;
}

.rcmnd_table td dl dt span {
  display: block;
  font-size: .7rem;
}

.rcmnd_table td dl dd {
  flex: 1;
  font-size: .8rem;
}

.rcmnd_table td dl dd span {
  display: inline-block;
  padding: 0 .3rem;
  font-size: .9rem;
  font-weight: bold;
  font-family: var(--Font_Weight_Bold);
  text-decoration: underline;
}


@media screen and (orientation: portrait) and (max-width: 767px){
  .rcmnd_table {
    width: 100%;
  }

  .rcmnd_table .thead {
    display: none;
  }

  .rcmnd_table tr:nth-child(2) {
    border-top: 2px solid #eee;
  }

  .rcmnd_table td:first-child span {
    display: inline;
  }

  .rcmnd_table td {
    display: block;
    position: relative;
    width: 100%;
    padding: .5rem;
  }

  .rcmnd_table.g2 td:nth-child(2),
  .rcmnd_table.g2 td:nth-child(3),
  .rcmnd_table.g2 td:nth-child(4) {
    padding-left: 30%;
  }

  .rcmnd_table.g2 td:nth-child(2)::before,
  .rcmnd_table.g2 td:nth-child(3)::before,
  .rcmnd_table.g2 td:nth-child(4)::before {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;
    height: 100%;
    background: var(--Dark_Sub_Color);
    color:#fff;
    font-size: .8rem;
    text-align: center;
    white-space: pre-wrap;
  }

  .rcmnd_table.g2 td:nth-child(2)::before {
    content: "東大・医学科・\A早慶等の\A最難関大志望で、\A各科目の学習が\A進んでいる方";
  }

  .rcmnd_table.g2 td:nth-child(3)::before {
    content: "国立大や\A私立難関大を\A目指して、\A各科目の学習を\A進めている方";
  }

  .rcmnd_table.g2 td:nth-child(4)::before {
    content: "難関大への\A進学を目指し、\A基礎から\A力をつけて\Aレベルアップ\Aしていきたい方";
  }

  .rcmnd_table td.merge_cell::before {
    display: none;
  }

  .rcmnd_table td.merge_cell {
    padding-left: .5rem;
  }

}


/* junior master class
============================ */

#jmc h3 {
  color: #666;
}

.jmctable_box_wrapper {
  display: flex;
  flex-direction: row;
}

.jmctable_label_box {
  font-size: 90%;
}

.jmctable_chart_box {
  width: 40%;
  position: relative;
}

.jmctable_label_box.jmcg {
  display: none;
}

.jmctable_chart_box.jmcg {
  border-left: #aaa 1px solid;
}

.jmctable_label,
.jmctable_chart {
  border-collapse: collapse;
  width:100%;
}

.jmctable_label th{
  padding: 5px;
  border: #333 1px solid;
  border-right: #fff 1px solid;
  background: #666;
  color: #fff;
  text-align: center;
  white-space: nowrap;
}

.jmctable_label td:nth-child(odd) {
  background: #efefef;
}

.jmctable_label th:last-child{
  border-right: #333 1px solid;
}

.jmctable_label tr td {
  height: 80px;
  padding: 5px;
  border: #333 1px solid;
  text-align: center;
  white-space: nowrap;
}

.jmctable_chart th {
  padding: 5px;
  font-weight: bold;
  font-family: var(--Font_Weight_Bold);
}

.jmctable_chart td {
  height: 80px;
  padding: 5px;
  border-bottom: #fff 1px solid;
  background: #e2eded;
}

.jmc_target {
  padding: 1em 3em;
}

.jmc_target p:first-of-type {
  margin-bottom: 0;
  color: #25b7aa;
  font-weight: bold;
  font-family: var(--Font_Weight_Bold);
}

.jmc_target p:last-of-type {
  margin-bottom: 0;
  padding: 5px;
  border: #25b7aa 2px solid;
}

.panel_jmc1,
.panel_jmc2,
.panel_jmc3 {
  display: table;
  position: absolute;
  width: 25%;
  padding: 20px 5px;
  background: #25b7aa;
  color: #fff;
  font-weight: bold;
  font-family: var(--Font_Weight_Bold);
  text-align: center;
  vertical-align: middle;
}

.panel_jmc1 span,
.panel_jmc2 span,
.panel_jmcg1 span,
.panel_jmcg2 span,
.panel_jmc3  span{
  font-size: 85%;
}

.panel_jmc1 {
  top: 320px; 
  left: 5%;
  height: 125px;
}

.panel_jmc2 {
  top: 230px; 
  left: 35%;
  height: 150px;
}

.panel_jmc3 {
  top: 190px; 
  left: 65%;
  height: 150px;
}

.panel_jmcg1,
.panel_jmcg2 {
  display: table;
  position: absolute;
  width: 35%;
  padding: 30px 5px;
  background: #18978c;
  color: #fff;
  font-weight: bold;
  font-family: var(--Font_Weight_Bold);
  text-align: center;
  vertical-align: middle;
}

.panel_jmcg1 {
  top: 250px;
  left:10%;
  height: 180px;
}

.panel_jmcg2 {
  top: 220px;
  left:55%;
  height: 150px;
}

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

  .jmctable_box_wrapper {
    flex-wrap: wrap;
  }

  .jmctable_label_box {
    width: 42%;
    font-size: 60%;
  }

  .jmctable_chart_box {
    width: 58%;
  }

  .jmctable_label_box.jmcg {
    display: block;
    margin-top: 50px;
  }

  .jmctable_chart_box.jmcg {
    margin-top: 50px;
    border-left: none;
  }

  .jmctable_label th{
    height: 50px;
    padding: 5px 2px;
    white-space: nowrap;
  }

  .jmctable_label th .sup {
    display: block;
  }

  .jmctable_label tr td {
    padding: 5px 2px;
  }

  .jmctable_chart th {
    height: 50px;
    padding: 2px;
    font-size: 80%;
  }

  .jmc_target {
    padding: 1em 0.5em;
  }
  
  .panel_jmc1,
  .panel_jmc2,
  .panel_jmc3 {
    padding: 15px 2px;
  }

  .panel_jmcg1,
  .panel_jmcg2 {
    padding: 25px 5px;
  }

  .panel_jmc1 span,
  .panel_jmc2 span,
  .panel_jmcg1 span,
  .panel_jmcg2 span,
  .panel_jmc3  span{
    font-size: 80%;
  }

  .panel_jmc1 {
    height: 115px;
  }

  .panel_jmcg1 {
    top: 250px; 
    left: 10%;
    height: 180px;
  }

  .panel_jmcg2 {
    top: 220px; 
    left: 55%;
    height: 140px;
  }

}






/* certificate
============================ */
#certificate h3 {
  margin: 2rem 0 .5rem 0;
  font-size: 1.4rem;
  padding-left: 1.4rem;
  text-indent: -1.4rem;
}

#certificate h3::before {
  content: "■";
}

#certificate section + section {
  margin: 3rem auto;
}

#certificate section > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#certificate section > div p {
  width: 60%;
  margin: 1rem 2rem;
}

#certificate section > div img {
  width: 30%;
  margin: 0;
}

#certificate iframe {
  display: block;
  width: 450px;
  margin: 1rem auto;
  aspect-ratio: 16 / 9;
}

#certificate section div + iframe {
  margin-top: 3rem;
}

#certificate section > div dl {
  margin: 0 0 2rem 0;
}

#certificate section > div dl dt {
  margin: .5rem 0;
  font-size: 1.2rem;
  color: var(--Dark_Sub_Color);
}

#certificate section.season_original {
  width: 80%;
  margin: .5rem auto;
  padding: 1rem;
  background-color: var(--Super_Light_Color);
}

#certificate section.season_original h3 {
  margin: 0 0 .5rem 0;
  padding-left: 0;
  text-indent: 0;
}

#certificate section.season_original h3::before {
  content: "";
}


/* 近日公開 */

#certificate .soon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 450px;
  margin: 1rem auto;
  aspect-ratio: 16 / 9;
  border: 1px solid #ccc;
 color: #ccc;
}


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

  #certificate h3 {
    font-size: 1.2rem;
    padding-left: 1.2rem;
    text-indent: -1.2rem;
  }
  
  #certificate section > div {
    display: block;
    width: 100%;
  }
  
  #certificate section > div p {
    width: 100%;
    margin: 0;
  }
  
  #certificate section > div img {
    display: block;
    width: 70%;
    margin: 0 auto 1rem auto;
  }
  
  #certificate iframe {
    margin: auto;
    width: 90%;
  }
  
  #certificate section > div dl dt {
    font-size: 1rem;
  }

  /* 近日公開 */
  
  #certificate .soon {
    margin: auto;
    width: 90%;
  }

}



/* fee
============================ */
#fee > .note {
  margin-top: -1.2rem;
}

.fee_wrap {
  margin-bottom: 1.2rem;
  padding: 0;
  border: 2px solid var(--Dark_Sub_Color);
  text-align: center;
  line-height: 1.6;
}

.fee_wrap .fee_box {
  padding: 1.6rem;
}

.fee_wrap .fee_wrap .fee_box ul.note {
  display: table;
  margin: 0 auto;
}

.fee_wrap .fee_box ul.note li {
  text-align: left;
}

.fee_wrap .fee_box ul.note li span {
  border-bottom: #fae606 2px solid;
}

.fee_wrap .fee_box .h3ttl {
  display: block;
  margin: 0 0 1em;
  padding: .5em 2em;
  border: 1px solid #fff;
  text-align: center;
}

.fee_wrap .fee_box p {
  margin: .5rem;
  font-size: 1.2rem;
}

.fee_wrap .fee_box dl {
  color: var(--Dark_Sub_Color);
  font-weight: bold;
  font-size: 2.4rem;
  font-family: var(--Font_Weight_Bold);
}

.fee_wrap .fee_box dl span {
  display: block;
  font-size: 1.6rem;
}

.fee_wrap .exception {
  display: table;
  margin: 0 auto 2rem auto;
}

.fee_wrap .exception dl {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.fee_wrap .exception dl dt {
  text-align: left;
}

.fee_wrap .exception dl dd {
  margin-left: auto;
}

.fee_wrap .exception dl dd::before {
  content: "… ";
}

.fee_wrap .fee_special {
  padding: 1rem;
  background: var(--Dark_Sub_Color);
  color: #fff;
}

.fee_wrap .fee_special .ttl {
  font-weight: bold;
  font-size: 1.4rem;
  font-family: var(--Font_Weight_Bold);
}

.fee_wrap .fee_special .campaign_item {
  display: table;
  margin: 1.5rem auto;
  padding: 0 2rem;
  font-weight: bold;
  font-size: 1.4rem;
  font-family: var(--Font_Weight_Bold);
}

.fee_wrap .fee_special .campaign_item li {
  text-align: left;
}

.fee_wrap .fee_special .campaign_item span {
  color: #fae606;
  font-weight: bold;
  font-family: var(--Font_Weight_Bold);
}

.fee_wrap .fee_special .n_acd-label2 {
  background: var(--Dark_Sub_Color);
  color: #fff;
}


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

  .fee_wrap {
    width: 96%;
    margin: 0 auto 1rem;
  }

  .fee_wrap  .fee_box {
    padding: 1rem 0;
  }

  .fee_wrap  .fee_box p {
    font-size: 1.1rem;
  }

  .fee_wrap .fee_box dl {
    font-size: 1.6rem;
  }

  .fee_wrap .fee_box dl span {
    font-size: 1.2rem;
  }

}