@charset "utf-8";
/*--------------------------------------------------------

    global
    
    01. forPC Layout
    
    02. forSP Layout

--------------------------------------------------------*/




/********************************************************************************

    01. forPC Layout

********************************************************************************/

body {
/*    min-width: 1280px;*/
    color: #333;
    font-family: "游ゴシック", "YuGothic", "YuGothic","ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
}
table {
    border-spacing: 0;
}
a {
    color: #333;
}
a:link {
    color: #333;
    text-decoration: none;
}
a:visited {
    color: #333;
    text-decoration: none;
}
a:hover, a:active {
    color: #333;
}
a img, a:link img, a:visited img, a:hover img, a:active img {
    border: medium none;
    text-decoration: none;
}

/* ------------------ #wrapper ------------------ */

#wrapper{
  position: relative;
}

/* ------------------ #header ------------------ */

#header{
  position: relative;
  height: 80px;
}

#header_in{
  height: 80px;
  width: 100%;
  background-color: #fff;
  transition: background-color 0.4s ease 0s;
  z-index: 20000;
}
#header_in:after{
  position: absolute;
  z-index: 5;
  bottom: 0;
  content: "";
  height: 6px;
  width: 100%;
  box-shadow: 0 3px 4px rgba(128, 128, 128, .2);
}

.header_active #header_in{
  /*background-color: rgba(255,255,255,0.8);*/
}

#header_content{
  position: relative;
  height: 100%;
  max-width: 1280px;
}

#header_logo01{
  position: absolute;
  left: 0;
  top: 0;
  z-index: 5;
  background: #fff;
/*  box-shadow: 0 2px 6px rgba(0, 0, 0, .1);*/
}

#header_logo01 a{
  display: flex;
  background: #fff;
}

#header_logo01 a img{
  width: 46px;
}

.grade2nd3rd_wrap{
  position: absolute;
  z-index: 5;
  top: 0;
  right: 50%;
  transform: translate(640px, 0);
  height: 80px;
}

#header_contact{
  position: absolute;
  z-index: 5;
  top: 0;
  right: 50%;
  transform: translate(640px, 0);
  height: 80px;
  display: flex;
  align-items: center;
}
#header_contact a{
  margin: 3px 0 0;
  padding: 1px 12px;
  background: #e6e6e6;
  border-radius: 6px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 16px;
}
#header_contact span{
  display: block;
  padding: 0 0 2px;
}

#header_logo02{
  position: absolute;
  right: 0;
  height: 80px;
  width: 180px;
  padding: 10px;
  background: #a0d3e9; /* Old browsers */
  background: linear-gradient(135deg,  #a0d3e9 0%,#00adff 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}

#header_logo02 img{
  margin: 0 2px 2px 0;
}
@media all and (-ms-high-contrast:none){
  *::-ms-backdrop, 
#header_logo02 img{
  margin: 0 2px 5px 0;
} /* IE11 */
}

#header_logo02 a{
  display: none;
  flex-wrap: wrap;
  /*flex-flow: column;*/
  align-items: center;
  height: 60px;
  position: relative;
  padding: 3px 5px;
  background: #fff;
  color: #555;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.05;
}
@media all and (-ms-high-contrast:none){
  *::-ms-backdrop, 
#header_logo02 a{
  padding: 3px 5px 0;
}  /* IE11 */
}

#header_logo02 a:after{
  content: "";
  height: 20px;
  width: 20px;
  background: url(../img/common/nav_arrow_disc01.svg);
  background-size: 20px 20px;
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translate(0, -50%);
}

#kokugo #header_logo02 a.upper_grade_kokugo,
#shakai #header_logo02 a.upper_grade_shakai,
#sugaku #header_logo02 a.upper_grade_sugaku,
#rika #header_logo02 a.upper_grade_rika,
#shodo #header_logo02 a.upper_grade_shodo,
#eigo #header_logo02 a.upper_grade_eigo,
#katei #header_logo02 a.upper_grade_katei,
#joho #header_logo02 a.upper_grade_joho,
#tankyu #header_logo02 a.upper_grade_top,
#libry #header_logo02 a.upper_grade_top,
#sitemap #header_logo02 a.upper_grade_top,
#home #header_logo02 a.upper_grade_top,
#inquiry #header_logo02 a.upper_grade_top {
  display: flex;
}

/*
#home .grade2nd3rd_wrap{
  transform: translate(632px, 0);
}
#home #header_logo02 {
    height: 180px;
    width: 180px;
    padding: 16px;
    border-radius: 90px;
    background: linear-gradient(90deg, #a0d3e9 0%,#00adff 100%);
}
#home #header_logo02 a {
    justify-content: center;
    height: 148px;
    border-radius: 90px;
    font-size: 17px;
    line-height: 1.3;
    text-align: center;
}
#home #header_logo02 a:after {
    right: 32px;
    top: 50%;
    transform: translate(0, 85%);
}

#home #header_logo02 .nav_text:after {
    display: inline-block;
    content: "";
    height: 16px;
    width: 20px;
}

#home #header_logo02 img {
    margin: 0 auto 5px;
    width: 106px;
}

#header_logo02_in{
  display: block;
  background: #fff;
}
#home #header_logo02_in{
  border-radius: 90px;
}
*/

/* ============================================================ wide_btn02 */
#home .wide_btn02_wrap{
  position: absolute;
  z-index: 5;
  /*top: 100px;*/
  top: 158px;
  right: 50%;
  transform: translate(640px, 0);
}
#home #wide_btn02 {
    height: 180px;
    width: 180px;
    padding: 16px;
    border-radius: 90px;
  background: linear-gradient(90deg, rgb(103 231 85) 0%, rgb(68 200 48) 100%)
}
#home #wide_btn02 a {
    display: flex;
    justify-content: center;
    flex-flow: column;
    position: relative;
    padding: 6px 10px 0;
    background: url(../../assets/img/common/bg_wide_btn02.svg) center center #fff;
    background-size: 12px 12px;
    color: #555;
    height: 148px;
    border-radius: 90px;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.3;
    text-align: center;
}
#home #wide_btn02 a:after {
    right: 32px;
    top: 50%;
    transform: translate(0, 85%);
}

#home #wide_btn02 .underline-orange {
    background: linear-gradient(transparent 60%, #ffcc00 0%);
    line-height: 1.4;
}

#home #wide_btn02 img {
    margin: 0 auto 5px;
    width: 106px;
}

#wide_btn02{
  display: block;
  background: #fff;
}
#home #wide_btn02_in{
  border-radius: 90px;
}

/* ============================================================ wide_btn03 */
#home .wide_btn03_wrap{
  position: absolute;
  z-index: 5;
  top: 90px;
  right: 50%;
  transform: translate(640px, 0);
  height: 80px;
}
#home #wide_btn03{
  position: absolute;
  right: 0;
  height: 59px;
  width: 180px;
  padding: 10px;
  background: linear-gradient(90deg, rgb(103 231 85) 0%, rgb(68 200 48) 100%)
}

#home #wide_btn03 img{
  margin: 0 0 2px 0;
}
@media all and (-ms-high-contrast:none){
  *::-ms-backdrop, 
#home #wide_btn03 img{
  margin: 0 0 5px 0;
} /* IE11 */
}

#home #wide_btn03 a{
  flex-wrap: wrap;
  flex-flow: column;
  position: relative;
  padding: 3px 10px;
  background: #fff;
  color: #555;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.05;
  letter-spacing: -.03em;
}
@media all and (-ms-high-contrast:none){
  *::-ms-backdrop, 
#home #wide_btn03 a{
  padding: 3px 10px 0;
}  /* IE11 */
}

/*#home #wide_btn03 a:after{
  content: "";
  height: 20px;
  width: 20px;
  background: url(../img/common/nav_arrow_disc01.svg);
  background-size: 20px 20px;
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translate(0, -50%);
}*/


#header_logo_sp {
  display: none;
}

@media screen and (max-width: 1026px) {
  #header{
    height: auto;
  }
  #header_in{
    position: absolute;
    height: auto;
    /*min-width: 960px;*/
    min-width: 768px;
    background-color: transparent;
  }
  #header_logo01{
    width: 84px;
/*    box-shadow: 0 2px 6px rgb(0 0 0 / 10%);*/
  }

  .home #header_logo01{
    display: none;
  }

  #header_logo01 a {
    padding: 13px 20px 10px;
  }

  #header_logo01 a img{
    height: auto;
    width: 100%;
  }

  .grade2nd3rd_wrap{
    position: relative;
    top: 0;
    height: 70px;
    width: 100%;
    transform: translate(50%, 0);
    margin: 0;
    padding: 9px 0px;
    background: #f4f4f4;
  }
  .subject_page .grade2nd3rd_wrap,
  .material_page .grade2nd3rd_wrap,
  .inquisition_page .grade2nd3rd_wrap {
    top: 55px;
  }

/*
  #home .grade2nd3rd_wrap{
    position: absolute;
    right: 2%;
    top: 312px;
    width: 99px;
    transform: translate(0, 0);
    padding: 0;
    background: transparent;
  }
*/

  #home .grade2nd3rd_wrap{ /*211020 update*/
    height: 52px;
    padding: 0;
  }

  .nav_active .grade2nd3rd_wrap{ /*220325 update*/
    display: none;
  }

  #header_contact{
    display: none;
  }

  .nav_active .firstview_wrap { /*240227 update*/
    display: none;
  }

  #header_logo02{
    position: relative;
    height: 52px;
    width: 215px;
    margin: 0 auto;
    padding: 7px;
  }

/*
  #home #header_logo02 {
    transform: scale(.55);
    transform-origin:left top;
  }
*/

/* ============================================================ wide_btn02 */
  #home .wide_btn02_wrap{ /*211020 update*/
    position: absolute;
    right: calc(2% + 4px);
    top: 332px;
    height: 99px;
    width: 99px;
    transform: translate(0, 0);
    padding: 0;
    background: transparent;
  }

  .nav_active .wide_btn02_wrap{ /*211020 update*/
    display: none;
  }

  #home #wide_btn02 { /*211020 update*/
    transform: scale(.55);
    transform-origin:left top;
  }

/* ============================================================ wide_btn03 */
  #home .wide_btn03_wrap{
    position: absolute;
    right: 2%;
    top: 292px;
    height: 36px;
    width: 108px;
    transform: translate(0, 0);
    padding: 0;
    background: transparent;
  }

  .nav_active .wide_btn03_wrap{
    display: none;
  }

  #home #wide_btn03 {
    transform: scale(.6);
    transform-origin:right top;
  }


  #header_logo02 img {
    margin: 0 4px 2px 12px;
    width: 61px;
  }
  #header_logo02 a {
    height: 38px;
    padding: 4px 6px 2px;
    font-size: 11px;
  }
  #header_logo02 a:after {
    height: 15px;
    width: 15px;
    right: 3px;
    background-size: 15px 15px;
  }
  #header_logo02 a:after {
    height: 20px;
    width: 20px;
    background-size: 20px 20px;
  }

  #header_logo_sp {
  display: block;
  }
  #header_logo_sp a{
    display: flex;
    flex-flow: column;
    align-items: center;
    /*width: calc(100% - 160px);*/
    height: 80px;
    margin: 0 auto;
    padding: 9px 0;
    background: #fff;
    color: #000;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 15px;
  }
  #header_logo_sp img{
    margin: 5px 0 2px;
  }
}

@media screen and (max-width: 321px) {
  #header_logo_sp a{
    font-size: 14px;
  }
}

@media screen and (min-width: 0px ) and (max-width: 668px) {
#header_in {
    min-width: 320px;
}
}

/* #header_sub_nav */

#header_sub_nav{
  display: none;
}

@media screen and (min-width: 1025px) {
  #header_sub_nav{
    display: none !important;
  }
}

@media screen and (max-width: 1026px) {
  #header_sub_nav{
    position: relative;
    top: 0;
    left: 0;
    z-index: 5;
    width: 100%;
    /*height: 100%;*/
    /*background-color: #ffffff;*/
    min-width: 320px;
  }
  #header_sub_nav_in{
    height: 100%;
    overflow-x: hidden;
/*    overflow-y: scroll;*/
  }
  
  #header_sub_nav_content{
  }
  
  #header_sub_nav_main{
    margin: 0 auto;
    /*max-width: 325px;*/
  }

  #header_sub_nav_title,
  #header_sub_nav_info{
    position: relative;
    padding: 18px 0 18px 60px;
    background: #fff;
    color: #fff;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 16px;
    border-top: 1px solid #efefef;
  }

  #header_sub_nav_title:before,
  #header_sub_nav_info:before {
    content: "";
    display: block;
    width: 30px;
    height: 1px;
    background-color: #000;
    position: absolute;
    top: 50%;
    left: 20px;
    transition-property: all;
    transition-duration: 0.5s;
    transition-delay: 0s;
    transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
  }

  #header_sub_nav_title a:link, #header_sub_nav_title a:visited,
  #header_sub_nav_info a:link, #header_sub_nav_info a:visited {
    color: #000;
  }

  #header_sub_nav_list{
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 -5px -5px 0;
    padding: 15px 0;
    background: #fff;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
  }
  
  #header_sub_nav_list .header_sub_nav_list_block:nth-child(2n+1){
    width: 40%;
  }
  
  #header_sub_nav_list .header_sub_nav_list_block:nth-child(2n){
    width: 60%;
  }

  #header_sub_nav_list .header_sub_nav_list_link{
    text-decoration: none !important;
    display: block;
    background-image: -moz-linear-gradient(left, rgba(0,150,223,1), rgba(0,150,223,1)); 
    background-image: -webkit-linear-gradient(left, rgba(0,150,223,1), rgba(0,150,223,1)); 
    background-image: linear-gradient(to right, rgba(0,150,223,1), rgba(0,150,223,1));
    background-position: bottom left;
    background-repeat: no-repeat;
    background-size: 0% 100%;
    -moz-transition: background-size 0.4s ease 0s,color 0.4s ease 0s;
    -webkit-transition: background-size 0.4s ease 0s,color 0.4s ease 0s;
    -o-transition: background-size 0.4s ease 0s,color 0.4s ease 0s;
    -ms-transition: background-size 0.4s ease 0s,color 0.4s ease 0s;
    transition: background-size 0.4s ease 0s,color 0.4s ease 0s;
  }
  
  #header_sub_nav_list .header_sub_nav_list_link:link, #header_sub_nav_list .header_sub_nav_list_link:visited {
    color: #000;
  }

  #header_sub_nav_list .header_sub_nav_list_link:hover{
    color: #ffffff;
    background-size: 100% 100%;
  }
  
  #header_sub_nav_list .header_sub_nav_list_in{
    position: relative;
    padding-bottom: 36px;
  }

  #header_sub_nav_list .header_sub_nav_list_content{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0 0 0 60px;
    white-space: nowrap;
  }
  
  #header_sub_nav_list .header_sub_nav_list_content:after{
    content: "";
    display: inline-block;
    vertical-align:  middle;
    height: 100%;
  }
  
  #header_sub_nav_list .header_sub_nav_list_link p{
    display: inline-block;
    vertical-align:  middle;
  }

  #header_sub_nav_list .header_sub_nav_list_link p:before {
    content: "- ";
  }

  #header_sub_nav_list_bottom {
    background: #efefef;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
  }

  #header_sub_nav_list_bottom .header_sub_nav_list_block {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 55px;
    padding: 5px 15px 5px 35px;
    transition: opacity .5s;
    border-bottom: 1px solid #fff;
    font-size: 16px;
  }

  #header_sub_nav_list_bottom .header_sub_nav_list_block:before {
    content: "";
    display: block;
    width: 22px;
    height: 1px;
    border-bottom: 1px solid #333;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(-.1%, -50%);
    opacity: 1;
    pointer-events: none;
    transition-property: transform, opacity;
    transition-duration: 1s;
    transition-delay: 0s;
    transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
  }

  .subject_page #header_sub_nav_list_bottom #link_to_subject,
  .material_page #header_sub_nav_list_bottom #link_to_subject,
  .inquisition_page #header_sub_nav_list_bottom #link_to_subject,
  .inquiry_page #header_sub_nav_list_bottom #link_to_subject {
    display: none;
  }

  #header_sub_nav_list_bottom .list_content_to_subject {
    display: none;
  }
  #kokugo #header_sub_nav_list_bottom .to_subject_kokugo,
  #shakai #header_sub_nav_list_bottom .to_subject_shakai,
  #sugaku #header_sub_nav_list_bottom .to_subject_sugaku,
  #rika #header_sub_nav_list_bottom .to_subject_rika,
  #shodo #header_sub_nav_list_bottom .to_subject_shodo,
  #eigo #header_sub_nav_list_bottom .to_subject_eigo,
  #katei #header_sub_nav_list_bottom .to_subject_katei,
  #joho #header_sub_nav_list_bottom .to_subject_joho,
  #home #header_sub_nav_list_bottom .to_subject_top,
  #inquiry #header_sub_nav_list_bottom .to_subject_top {
    display: flex;
  }

  #shodo #header_sub_nav_list_bottom .list_block_to_subject { /*220325改修*/
    display: none;
  }

  #header_sub_nav_list_bottom .list_block_upper_grade {
    display: none;
  }
  #kokugo #header_sub_nav_list_bottom .upper_grade_kokugo,
  #shakai #header_sub_nav_list_bottom .upper_grade_shakai,
  #sugaku #header_sub_nav_list_bottom .upper_grade_sugaku,
  #rika #header_sub_nav_list_bottom .upper_grade_rika,
  #shodo #header_sub_nav_list_bottom .upper_grade_shodo,
  #eigo #header_sub_nav_list_bottom .upper_grade_eigo,
  #katei #header_sub_nav_list_bottom .upper_grade_katei,
  #joho #header_sub_nav_list_bottom .upper_grade_joho,
  #tankyu #header_sub_nav_list_bottom .upper_grade_top,
  #libry #header_sub_nav_list_bottom .upper_grade_top,
  #sitemap #header_sub_nav_list_bottom .upper_grade_top,
  #home #header_sub_nav_list_bottom .upper_grade_top,
  #inquiry #header_sub_nav_list_bottom .upper_grade_top {
    display: flex;
  }



}


/* ------------------ #header_nav ------------------ */

#header_nav br{
  display: none;
}

@media all and (min-width: 669px) {
#header_nav{
  height: 100%;
  padding: 0 0 0 5.8%;
  line-height: 1;
}

#header_nav .common_nav_child{
  display: none;
}

#header_nav .common_nav_list{
  display: flex;
  height: 100%;
  align-items: flex-end;
  border: none;
}

#header_nav .common_nav_list .common_nav_block{
  height: 48px;
}

#header_nav .common_nav_list .common_nav_block.home{
  height: 73px;
}

#header_nav .common_nav_list .common_nav_block:last-child{
  margin-right: 0;
}

#header_nav .common_nav_main_home{
  position: relative;
  height: 100%;
  white-space: nowrap;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.5;
}

#header_nav .common_nav_main_home a{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 245px;
  margin: 5px 20px 0 20px;
  color: #000;
}

#header_nav .common_nav_main_title{
  position: relative;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 18px;
  height: 100%;
  white-space: nowrap;
  /*letter-spacing: .1em;*/
}

#header_nav .common_nav_main_title a{
  position: relative;
  display: block;
  height: 100%;
  padding: 0 17px;
  color: #333;
  transition: 0.4s;
}

#header_nav .common_nav_main_title a:after{
  content: "";
  height: 6px;
  width: 0;
  position: absolute;
  bottom: 0;
  left: 50%;
  background-color: #0096df;
  transition: width 0.4s ease 0s,left 0.4s ease 0s;
}

#header_nav .common_nav_main_title a:hover{
  color: #0096df;
}

#header_nav .common_nav_main_title a:hover:after{
  width: 80%;
  left: 10%;
}

#kokugo #header_nav .common_nav_block:nth-child(2) .common_nav_main_title a,
#shakai #header_nav .common_nav_block:nth-child(3) .common_nav_main_title a,
#sugaku #header_nav .common_nav_block:nth-child(4) .common_nav_main_title a,
#rika #header_nav .common_nav_block:nth-child(5) .common_nav_main_title a,
#shodo #header_nav .common_nav_block:nth-child(6) .common_nav_main_title a,
#eigo #header_nav .common_nav_block:nth-child(7) .common_nav_main_title a,
#katei #header_nav .common_nav_block:nth-child(8) .common_nav_main_title a,
#joho #header_nav .common_nav_block:nth-child(9) .common_nav_main_title a,
#tankyu #header_nav .common_nav_block:nth-child(10) .common_nav_main_title a{
  color: #0096df;
}

#kokugo #header_nav .common_nav_block:nth-child(2) .common_nav_main_title a:after{
  width: 80%;
  left: 10%;
}
#shakai #header_nav .common_nav_block:nth-child(3) .common_nav_main_title a:after{
  width: 80%;
  left: 10%;
}
#sugaku #header_nav .common_nav_block:nth-child(4) .common_nav_main_title a:after{
  width: 80%;
  left: 10%;
}
#rika #header_nav .common_nav_block:nth-child(5) .common_nav_main_title a:after{
  width: 80%;
  left: 10%;
}
#shodo #header_nav .common_nav_block:nth-child(6) .common_nav_main_title a:after{
  width: 80%;
  left: 10%;
}
#eigo #header_nav .common_nav_block:nth-child(7) .common_nav_main_title a:after{
  width: 80%;
  left: 10%;
}
#katei #header_nav .common_nav_block:nth-child(8) .common_nav_main_title a:after{
  width: 80%;
  left: 10%;
}
#joho #header_nav .common_nav_block:nth-child(9) .common_nav_main_title a:after{
  width: 80%;
  left: 10%;
}
#tankyu #header_nav .common_nav_block:nth-child(10) .common_nav_main_title a:after{
  width: 80%;
  left: 10%;
}

#header_nav .common_nav_list .common_nav_block.active .common_nav_main_title{
  color: #e67878;
}

#header_nav .common_nav_list .common_nav_block.active .common_nav_main_title a:after{
  width: 100%;
  left: 0;
}

.kokugo #header_nav .common_nav_list .common_nav_block.kokugo .common_nav_main_title,
.shosha #header_nav .common_nav_list .common_nav_block.shosha .common_nav_main_title,
.shakai #header_nav .common_nav_list .common_nav_block.shakai .common_nav_main_title,
.chizu #header_nav .common_nav_list .common_nav_block.chizu .common_nav_main_title,
.sansu #header_nav .common_nav_list .common_nav_block.sansu .common_nav_main_title,
.rika #header_nav .common_nav_list .common_nav_block.rika .common_nav_main_title,
.seikatsu #header_nav .common_nav_list .common_nav_block.seikatsu .common_nav_main_title,
.katei #header_nav .common_nav_list .common_nav_block.katei .common_nav_main_title,
.hoken #header_nav .common_nav_list .common_nav_block.hoken .common_nav_main_title,
.doutoku #header_nav .common_nav_list .common_nav_block.doutoku .common_nav_main_title,
.eigo #header_nav .common_nav_list .common_nav_block.eigo .common_nav_main_title{
  color: #e67878;
}

.kokugo #header_nav .common_nav_list .common_nav_block.kokugo .common_nav_main_title a:after,
.shosha #header_nav .common_nav_list .common_nav_block.shosha .common_nav_main_title a:after,
.shakai #header_nav .common_nav_list .common_nav_block.shakai .common_nav_main_title a:after,
.chizu #header_nav .common_nav_list .common_nav_block.chizu .common_nav_main_title a:after,
.sansu #header_nav .common_nav_list .common_nav_block.sansu .common_nav_main_title a:after,
.rika #header_nav .common_nav_list .common_nav_block.rika .common_nav_main_title a:after,
.seikatsu #header_nav .common_nav_list .common_nav_block.seikatsu .common_nav_main_title a:after,
.katei #header_nav .common_nav_list .common_nav_block.katei .common_nav_main_title a:after,
.hoken #header_nav .common_nav_list .common_nav_block.hoken .common_nav_main_title a:after,
.doutoku #header_nav .common_nav_list .common_nav_block.doutoku .common_nav_main_title a:after,
.eigo #header_nav .common_nav_list .common_nav_block.eigo .common_nav_main_title a:after{
  width: 100%;
  left: 0;
}

}

@media screen and (max-width: 1080px) {
  #header_nav .common_nav_main_title a{
    /*padding: 0 13px;*/
  }
}

@media all and (min-width: 1025px) {
  #header_nav .common_nav_main_title{
    border: none;
  }
  
  #header_nav{
    /*display: block !important;*/
    display: block;
  }
}

@media screen and (max-width: 1026px) {
  #header_nav{
    font-size: 16px;
    display: none;
  }
  
  #header_nav{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    min-width: 320px;
  }
  
  #header_nav .common_nav_list{
    height: 100%;
    overflow-x: hidden;
    overflow-y: scroll;
  }
  
   #header_nav .common_nav_list .common_nav_block{
     padding-top: 130px;
     display: none;
  }
  
  #header_nav .common_nav_list .common_nav_block.block_active{
    display: block;
  }
  
  #header_nav{
    border-top: 1px solid #b4b4b4;
    line-height: 1.29;
  }

  #header_nav .common_nav_block{
    display: none;
  }

  #header_nav a{
    text-decoration: none !important;
  }

  #header_nav .common_nav_child_title,
  #header_nav .common_nav_child_list_title{
    border-bottom: 1px solid #e1e1e1;
  }

  #header_nav .common_nav_main_title a,
  #header_nav .common_nav_child_title a,
  #header_nav .common_nav_child_list_title a{
    padding: 14px 0;
    display: block;
  }
  
  #header_nav .common_nav_main_title{
    font-size: 20px;
    font-weight: bold;
  }
  
  #header_nav .common_nav_main_title a{
    padding-left: 20px;
    padding-right: 20px;
  }
  
  #header_nav .common_nav_child_title a{
    position: relative;
    padding-left: 20px;
    padding-right: 20px;
  }
  /*
  #header_nav .common_nav_child_title a:before,
  #header_nav .common_nav_child_title a:after{
    content: "";
    display: block;
    position: absolute;
    background-color: #e67878;
  }
  
  #header_nav .common_nav_child_title a:before{
    width: 20px;
    height: 1px;
    top: 23px;
    right: 20px;
  }
  
  #header_nav .common_nav_child_title a:after{
    width: 1px;
    height: 20px;
    top: 14px;
    right: 29px;
  }
  
  #header_nav .common_nav_child_title a.active:after{
    display: none;
  }*/

  #header_nav .common_nav_child_list_title a{
    position: relative;
    padding-left: 26px;
    padding-right: 15px;
    background-image: -moz-linear-gradient(left, rgba(226,226,224,1), rgba(226,226,224,1)); 
    background-image: -webkit-linear-gradient(left, rgba(226,226,224,1), rgba(226,226,224,1)); 
    background-image: linear-gradient(to right, rgba(226,226,224,1), rgba(226,226,224,1));
    background-position: bottom left;
    background-repeat: no-repeat;
    background-size: 0% 100%;
    -moz-transition: background-size 0.4s ease 0s;
    -webkit-transition: background-size 0.4s ease 0s;
    -o-transition: background-size 0.4s ease 0s;
    -ms-transition: background-size 0.4s ease 0s;
    transition: background-size 0.4s ease 0s;
  }

  #header_nav .common_nav_child_list_title a:hover{
    background-size: 100% 100%;
  }
  
  /*#header_nav .common_nav_child_title + .common_nav_child_list{
    display: none;
  }*/
  
  #header_nav .common_nav_list .common_nav_block.block_active{
    border-bottom: 1px solid #b4b4b4;
    overflow:  hidden;
  }
  
}

.main_content_wrap{
/*  padding: 0 .5%;*/
  margin: 80px 0;
}

.main_content_wrap:first-child{
  margin-top: 0;
}

.main_content_wrap:last-child{
  margin-bottom: 0;
}

.main_content{
  padding: 40px 0 0 0;
  margin: 40px auto 0 auto;
  /*max-width: 1280px;*/
}

/*@media screen and (max-width: 960px) {*/
@media screen and (max-width: 668px) {
  .main_content{
    width: auto;
  }
}

.main_content:first-child{
  padding-top: 0;
  margin-top: 0;
}

@media screen and (max-width: 668px) {
  .main_content_wrap{
    padding: 0 0;
  }
  .main_content{
    padding: 20px 0 0 0;
    margin: 20px auto 0 auto;
  }
  #header_content.main_content{
    height: 80px;
  }
}

/*
------------------------------ #nav_switch ------------------------------
*/

#header_nav_switch{
  cursor: pointer;
  display: none;
  /*position: fixed;*/
  position: absolute;
  z-index: 20000;
  top: 0px;
  right: 0px;
  z-index: 20;
  width: 80px;
  height: 80px;
  background-color: #ffffff;
}

#header_nav_switch #header_nav_switch_in{
  position: relative;
  background-color: #0096df;
  width: 100%;
  height: 100%;
  -moz-transition: opacity 0.4s ease 0s;
  -webkit-transition: opacity 0.4s ease 0s;
  -o-transition: opacity 0.4s ease 0s;
  -ms-transition: opacity 0.4s ease 0s;
  transition: opacity 0.4s ease 0s;
}

#header_nav_switch #header_nav_switch_content {
  position: absolute;
  width: 36px;
  height: 28px;
  left: 50%;
  top: 50%;
  margin: -14px 0 0 -18px;
}

#header_nav_switch #header_nav_switch_content .bar {
    background: #ffffff;
    height: 2px;
    left: 0;
    position: absolute;
    transition: all 0.5s ease 0s;
    width: 36px;
}
#header_nav_switch #header_nav_switch_content .bar.bar01 {
    top: 0;
    transform-origin: 1px 50% 0;
}
#header_nav_switch #header_nav_switch_content .bar.bar02 {
    top: 13px;
}
#header_nav_switch #header_nav_switch_content .bar.bar03 {
    top: 26px;
    transform-origin: 1px 50% 0;
}

.nav_active #header_nav_switch {
     /*position: fixed; */
}
.nav_active #header_nav_switch  #header_nav_switch_content .bar.bar01 {
  left: 6px;
  top: 1px;
  transform: rotate(45deg);
}
.nav_active #header_nav_switch  #header_nav_switch_content .bar.bar02 {
    display: none;
}
.nav_active #header_nav_switch  #header_nav_switch_content .bar.bar03 {
  left: 6px;
  top: 25px;
  transform: rotate(-45deg);
}

/* sp */
@media screen and (max-width: 1026px) {
  /* #common_nav_zone */
  #header_nav_switch{ display: block;}
}





/* shortcut
   ========================================================================== */
#shortcut_wrap {
}
#shortcut_wrap nav {
  position: fixed;
  right: 0;
  top: 50%;
  z-index: 1000;
  margin: -76px 0 0;
}
#shortcut_wrap nav ul {
    width: 200px;
    margin: 0 auto;
}
#shortcut_wrap nav ul li { position: relative; float: left; box-sizing: border-box; padding: 0 0 10px; background: #f9f9f9;}
#shortcut_wrap nav ul li span { position: relative; z-index: 5;}

#shortcut_wrap nav ul li a:link,
#shortcut_wrap nav ul li a:visited {
  padding: 2px 0 0;
  height: 50px;
  width: 200px;
  display: table-cell;
  vertical-align: middle;
  font-size: 15px;
  font-weight: bold;
  letter-spacing: .05em;
  line-height: 1.1;
  text-align: center;
}
#shortcut_wrap nav ul li a:after {
  position: absolute;
  left: 50%;
  top: 73.5%;
  content: "";
  width: 10px;
  height: 10px;
  /* 角度をつける（135度） */
  transform: rotate(135deg) skew(10deg, 10deg);
  background-color: #f9f9f9; /* 色をなくせばくの字になる */
  margin: 0 0 0 -6px;
}
#shortcut_wrap nav ul li.sc01 {
  /*background: #d6e5d1;*/
  background: rgba(214, 229, 209, 0.8);
}
#shortcut_wrap nav ul li.sc01 a {
  border-bottom: 2px solid #4d983c;
  color: #4d983c;
}
#shortcut_wrap nav ul li.sc01 a:after {
  border-top: solid 2px #4d983c;
  border-right: solid 2px #4d983c;
  background-color: #d6e5d1; /* 色をなくせばくの字になる */
}
#shortcut_wrap nav ul li.sc02 {
  /*background: #ffe6e6;*/
  background: rgba(255, 230, 230, 0.8);
}
#shortcut_wrap nav ul li.sc02 a {
  border-bottom: 2px solid #fd5554;
  color: #fd5554;
}
#shortcut_wrap nav ul li.sc02 a:after {
  border-top: solid 2px #fd5554;
  border-right: solid 2px #fd5554;
  background-color: #ffe6e6; /* 色をなくせばくの字になる */
}
#shortcut_wrap nav ul li.sc03 {
  /*background: #ffdcbd;*/
  background: rgba(255, 220, 189, 0.8);
}
#shortcut_wrap nav ul li.sc03 a {
  border-bottom: 2px solid #f08c1e;
  color: #f08c1e;
}
#shortcut_wrap nav ul li.sc03 a:after {
  border-top: solid 2px #f08c1e;
  border-right: solid 2px #f08c1e;
  background-color: #ffdcbd; /* 色をなくせばくの字になる */
}
#shortcut_wrap nav ul li.sc03 a:link, #shortcut_wrap nav ul li.sc03 a:visited {
}

/* footer
   ========================================================================== */
#footer {
    position: relative;
    margin: 0 auto;
    padding: 35px 0;
    background: #A4B5DF;
}

#footer #copyright {
  font-size: 14px;
  text-align: center;
}

.footer_title {
  background:#E6EDFF;
}

.footer_title_inner {
    color: #333;
    margin: 0 auto;
    padding: 24px .5% 20px;
    max-width: 1280px;
}

.common_footer {
  background:#E6EDFF;
}

#footer_nav {
    display: flex;
    color: #000;
    margin: 0 auto;
    padding: 10px .5% 10px;
    max-width: 1280px;
}

#footer_nav dl {
    letter-spacing: 0.025em;
    margin-right: 17px;
    width: 25.92%;
}

#footer_nav dl.footNews,
#footer_nav dl.footer_textbook {
    width: 68%;
}

#footer_nav dl.footer_textbook .footer_textbook_inner{
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 0 42px;
}

#footer_nav dl dt {
    position: relative;
    font-size: 18px;
    margin-bottom: 20px;
    padding: 0 0 0 40px;
}

#footer_nav dl dt:before {
    content: "";
    display: block;
    width: 30px;
    height: 1px;
    background-color: #333;
    position: absolute;
    top: 50%;
    left: 0;
    transition-property: all;
    transition-duration: 0.5s;
    transition-delay: 0s;
    transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
}

#footer_nav a {
    color: #333;
    text-decoration: none;
}

#footer_nav dl dd {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
    padding-left: 0.75em;
    text-indent: -0.75em;
}

#footer_nav dl dd::before {
    content: "- ";
}

#footer_nav dl.footer_textbook .footer_textbook_inner dd{
  flex-basis: 20%;
}

/* ページの 先頭へ */
.page_top {
    display:none;
    position:relative;
    width:100%;
/*    min-width:960px;*/
    margin:0 auto;
}
.page_top a {
    position:fixed;
    bottom:5px;
    right:0;
    display:block;
    width:70px;
    height:70px;
    text-align:left;
    z-index:99;
}

.page_top2 {
    /*display:none; 修正161227 */
    position:relative;
    width:100%;
    min-width:960px;
    margin:0 auto;
}
.page_top2 a {
    position:fixed;
    bottom: 100px !important;
    right:5px;
    display:block;
    width:80px;
    height:80px;
    text-align:left;
    z-index:99;
}

.breadcrumbs {
    display: flex;
    flex-direction: row-reverse;
    margin: 15px auto 10px;
    padding: 0 .5%;
    max-width: 1280px;
}
.breadcrumbs ul {
    display: flex;
    width: 990px;
    list-style: none;
    flex-wrap: wrap;
}
.breadcrumbs ul li {
    font-size: 14px;
}
.breadcrumbs ul li:after {
    content: ">";
    position: relative;
    bottom: 1px;
    margin: 0 0.5em;
    font-size: 12px;
}
.breadcrumbs ul li:last-child:after{
  content:none;
  display:none
}

.subject_page .breadcrumbs,
.inquiry_page .breadcrumbs {
    margin: 65px auto 10px;
    padding: 0;
    max-width: 1250px;
}
.subject_page .breadcrumbs ul,
.inquiry_page .breadcrumbs ul {
    width: 1280px;
}

#contents {
    color: #333333;
}
#contents_inner {
    height: auto !important;
    min-height: 500px;
}
#sub_contents {
    float: left;
    width: 194px;
}

.first_text {
    margin-top: 0 !important;
}
.annotation {
    font-size: 86%;
    margin-top: 14px;
}
.hd_first {
    margin-top: 0 !important;
}
.align_l {
    text-align: left;
}
.align_r {
    text-align: right;
}
.align_c {
    text-align: center;
}
.caution_list {
    margin-top: 21px;
}
.caution_list li {
    font-size: 86%;
}
.note {
    font-size: 86%;
}
.font_b {
    font-weight: bold;
}
.img_left {
    float: left;
    margin-bottom: 10px;
    margin-right: 20px;
}
.img_right {
    float: right;
    margin-bottom: 10px;
    margin-left: 20px;
}
.sec_nav_content {
    padding-bottom: 10px;
}

.sec_internal_link {
    margin-top: 21px;
}

.sec_pagetop {
    margin-top: 21px;
}
.sec_pagetop p.pagetop {
    float: right;
    font-size: 86%;
}
#contents p.pagetop {
    margin-top: 0;
}
.box_radius_8rad {
    border-radius: 8px;
}
.box_radius_5rad {
    border-radius: 5px;
}
.box_radius_gry01 {
    background-color: #f7f7f7;
    border: 1px solid #cccccc;
    border-radius: 5px;
    padding: 12px;
}
.box_solid_gry01 {
    border: 1px solid #cccccc;
    padding: 12px;
}






/********************************************************************************

    02. forSP Layout (SP)
    *横幅が1025px以下の場合
    

********************************************************************************/

@media screen and (min-width: 0px) and (max-width: 1026px) {



/* ============================================================ setting */
html { height: 100%; }
body { min-width: 320px; line-height: 1.5; height: 100%; -webkit-text-size-adjust: none; color: #333; background: #ffffff; font-size: 14px; font-family: sans-serif; }

a { color: #333; }
a:link,
a:visited { color: #333; text-decoration: none; }
a:hover,
a:active { color: #333; text-decoration: none; }

a img, a:link img, a:visited img, a:hover img, a:active img { border: none; text-decoration: none; }

ul { list-style: none; }

/* ============================== clearfix */
/* For modern browsers */
.clr:before,
.mc:before,
.ms:before,
.clr:after,
.mc:after,
.ms:after { content: ""; display: table; }

.clr:after,
.mc:after,
.ms:after { clear:both; }

.clr,
.mc,
.ms { zoom:1; }

/* hide text */
.hidetxt, .hd { text-indent: -9999px; overflow: hidden; }
.hidetxt a, .hd a { overflow: hidden; }

/* ============================== multi column */
.ms {  }
.ls { float: left; }
.rs { float: right; }

.mc {  }
.lc { float: left; }
.rc { float: right;}

.align_l { text-align: left !important; }
.align_r { text-align: right !important; }
.align_c { text-align: center !important; }

.ofz { overflow: hidden; zoom: 1; }

.indent { padding-left: 1em; text-indent: -1em; }

/* ============================================================ wrapper */

#wrapper {
    overflow: hidden;
}
.nav_active #wrapper {
    overflow: visible;
}

/* ============================================================ header */


/* header 201909
   ========================================================================== */
#header_wrap.header_wrap_201909 {
    display: block;
    height: auto;
    min-width: auto;
    background-size: auto 17px;
}
.header_wrap_201909 #header {
    width: 100%; 
    position: relative;
    margin: 0;
    top: 0;
    left: 0;
    margin: 0 0 5px;
}
.header_wrap_201909 #header .lc {
    margin: 30px 0 0 3%;
    width: 83%;
}
.header_wrap_201909 #header #hd_logo {
    width: 100%;
    font-size: 18px;
}
.header_wrap_201909 #header #hd_logo span{
    display: none;
}
.header_wrap_201909 header {
    top: 56px;
    width: 100%;
}

.header_wrap_201909 nav {
    height: 60px;
}
.header_wrap_201909 nav ul {
    width: 100%;
}
.header_wrap_201909 nav ul li {
    display: table;
    width: 50%;
    border-bottom: 1px solid #eee;
}
.header_wrap_201909 nav ul li a:link, .header_wrap_201909 nav ul li a:visited {
    padding: 0 0 0;
    width: 100%;
    height: 30px;
    font-size: 12px;
}
.header_wrap_201909 nav ul li:nth-child(2) a:link, .header_wrap_201909 nav ul li:nth-child(2) a:visited {
  letter-spacing: -0.06em;
}
.header_wrap_201909 nav ul li:nth-child(2n+1) {
    border-left: none;
}
.header_wrap_201909 nav ul li:last-child {
    border-right: none;
}

#gnav {
    height: 30px;
    width: 100%;
    margin: 0 auto;
    padding: 0 0;
}
#gnav li a {
    height: 30px;
}
#gnav li#gnav_menu a {
    background-size: auto 20px;
}
#gnav li#gnav_menu_ten a {
    background-size: auto 18px;
}

/* shortcut
   ========================================================================== */
#shortcut_wrap nav ul {
    width: 80px;
}
#shortcut_wrap nav ul li a:link, #shortcut_wrap nav ul li a:visited {
    padding: 2px 0 0;
    height: 50px;
    width: 80px;
    font-size: 11px;
    letter-spacing: -0.03em;
}
#shortcut_wrap nav ul li.sc03 a:link, #shortcut_wrap nav ul li.sc03 a:visited {
    letter-spacing: -0.105em;
}

/* ============================================================ contents */
#contents .brown{ color:#902000; font-size:129%; font-weight:bold;}
#contents .font-b{ font-weight:bold;}

/* ============================================================ main_contents */
#main_contents > h1 { padding-top: 6px; padding-bottom: 6px; background-color: #dc884c; color: #ffffff; text-align: center; border-bottom: #a42607 1px solid; }
#main_contents h2 ,
#main_contents #sec_campaign h2 { background-color: #efe0cb; padding: 7px 10px; font-weight: bold; color: #993300;
-webkit-border-radius: 5px;
border-radius: 5px;
}

/* ============================================================ footer */
#footer {}

#contents_inner {
    margin-top: 0;
    width: 100%;
}

#footer {
    padding: 0;
    width: 100%;
    line-height: 1;
}

/* copyright */
#footer #copyright {
  padding: 17px 0; 
  text-align: center; 
  font-size: 10px;
}

.footer_title_inner {
  padding: 16px 5%;
  font-size: 13px;
}

#footer_nav {
  flex-flow: column;
  padding: 10px 5% 10px;
}

#footer_nav dl {
    margin-right: 0;
    width: 100%;
}

#footer_nav dl.footNews, #footer_nav dl.footer_textbook {
    width: 100%;
}

#footer_nav dl dt {
  font-size: 13px;
}

#footer_nav dl dd {
  font-size: 12px;
  margin: 0 10% 20px 0;
}

#footer_nav dl.footer_textbook .footer_textbook_inner dd {
  flex-basis: 30%;
}

.nav_active .footer_title,
.nav_active .common_footer,
.nav_active #footer {
  display: none;
}

/* ページの 先頭へ */
.page_top,
.page_top2 {
    min-width:0;
}
.page_top a,#header_logo02
.page_top2 a {
    right: 0;
    width:40px;
    height:40px;
}
.page_top2 a {
    bottom: 65px !important;
}
.page_top a img,
.page_top2 a img{
    right: 0;
    width:40px;
    height:40px;
}

.breadcrumbs {
    overflow: hidden;
    margin: 10px 3%;
}
.breadcrumbs ul {
    width: 100%;
}
.breadcrumbs ul li,
.breadcrumbs ul li {
    font-size: 12px;
}
.subject_page .breadcrumbs,
.material_page .breadcrumbs,
.inquiry_page .breadcrumbs {
    margin: 65px 3% 10px;
}

/* ============================================================ heading */


/* ============================================================ module */

/* copyright */
#main_contents .copyright { font-size: 12px; }

#hd_nav { z-index:100; }
#lower a:link, #lower a:visited{ text-decoration:underline; }

#g_nav{ width:100%; }
#g_nav ul { display: table; width: 100%; overflow:hidden;}
#g_nav ul li { display: table-cell; vertical-align: middle; overflow:hidden; width:33%;}
#g_nav ul li a { display: block; width: 100%;}
#g_nav ul li img{ width: 100%; }


}
