@charset "UTF-8";
/* CSS Document */
@media screen and (min-width: 601px) {
  .two_column {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    width: 1000px;
    margin: 50px auto 0;
  }
  .two_column .logo_img {
    margin-right: 20px;
  }
  .two_column .logo_img img {
    width: 150px;
  }
}
@media screen and (max-width: 600px) {
  .two_column {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    width: 100%;
    margin: 0px auto 0;
  }
  .two_column .logo_img {
    margin: 7px 0px 0 auto;
  }
  .two_column .logo_img img {
    width: 100px;
  }
}

@media screen and (min-width: 601px) {
  .sp {
    display: none !important;
  }
}
@media screen and (max-width: 600px) {
  .sp {
    display: inherit;
  }
}

@media screen and (max-width: 600px) {
  .pc {
    display: none !important;
  }
}
@media screen and (min-width: 601px) {
  .pc {
    display: inherit;
  }
}

#header {
  padding: 10px 0 10px;
  box-sizing: border-box;
  margin: 0 auto;
  position: relative;
}
#header h1 {
  margin: 0 auto;
  width: 1000px;
  font-size: 2.5rem;
  font-weight: bold;
}
@media screen and (min-width: 601px) {
  #header {
    width: 100%;
  }
  #header .logo_header {
    width: 1000px;
    margin: 0 auto;
  }
  #header .logo_header img {
    width: 100px;
  }
  #header .bar {
    display: none;
  }
  #header #headerNav {
    display: inherit !important;
    background-color: #1475d7;
  }
  #header #headerNav .top_menu {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    width: 1000px;
    margin: 0 auto;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 2px;
    color: #fff;
    padding: 5px 0;
  }
  #header #headerNav .top_menu .first_menu_btn {
    line-height: 41px;
    padding: 0 10px;
    position: relative;
  }
  #header #headerNav .top_menu .first_menu_btn a {
    text-decoration: none !important;
    transition: 0.6s;
    display: block;
  }
  #header #headerNav .top_menu .first_menu_btn a:hover {
    opacity: 0.8;
    text-decoration: none;
  }
  #header #headerNav .top_menu .first_menu_btn + li {
    margin-left: 0px;
    border-left: 1px solid #fff;
  }
  #header #headerNav .top_menu .first_menu_btn ul {
    display: block;
    /*絶対配置で位置を指定*/
    position: absolute;
    left: 0;
    top: 44px;
    z-index: 4;
    /*形状を指定*/
    width: 250px;
    /*はじめは非表示*/
    visibility: hidden;
    opacity: 0;
    /*アニメーション設定*/
    transition: all 0.3s;
  }
  #header #headerNav .top_menu .first_menu_btn ul li {
    border-top: 2px solid #fff;
    background: #1475d7;
  }
  #header #headerNav .top_menu .first_menu_btn ul li a {
    padding: 10px;
    display: block;
    color: #fff;
    transition: 0.6s;
  }
  #header #headerNav .top_menu .first_menu_btn ul + li {
    margin-left: 0px;
    border-left: 1px solid #fff;
  }
  #header #headerNav .top_menu .bl {
    margin-left: 0px;
    border-left: 1px solid #fff;
  }
  #header #headerNav .top_menu .has-child:hover > ul, #header #headerNav .top_menu .has-child ul li:hover > ul, #header #headerNav .top_menu .has-child:active > ul, #header #headerNav .top_menu .has-child ul li:active > ul {
    visibility: visible;
    opacity: 1;
  }
  #header #headerNav .top_menu .li_start {
    border-left: 1px solid #fff;
  }
  #header #headerNav .top_menu .li_s1 {
    font-size: 1.4rem;
    line-height: 20px;
  }
  #header #headerNav .top_menu .li_hidden {
    display: none;
  }
  #header #headerNav .top_menu .li_end {
    border-right: 1px solid #fff;
  }
  #header #headerNav .top_menu #topic_sp, #header #headerNav .top_menu #shigaku_sp, #header #headerNav .top_menu #topic_ul_sp, #header #headerNav .top_menu #shigaku_ul_sp {
    display: none !important;
  }
  #header h1 br {
    display: none;
  }
}
@media screen and (max-width: 600px) {
  #header {
    width: 100%;
    height: 95px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: #fff;
  }
  #header .logo_header {
    padding-left: 10px;
  }
  #header .logo_header img {
    width: 50px;
  }
  #header h1 {
    display: block;
    font-size: 3.4vw;
    padding-left: 10px;
    padding-top: -2px;
  }
  #header .bar {
    height: 20px;
    background-color: #1475d7;
  }
  #header #headerNav {
    display: none;
    position: absolute;
    min-height: 100vh;
    top: 0px;
    padding: 30px 0 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #393939;
  }
  #header #headerNav .top_menu {
    margin-top: 10px;
  }
  #header #headerNav .top_menu .first_menu_btn {
    position: relative;
    border-top: solid 1px #ccc;
  }
  #header #headerNav .top_menu .first_menu_btn + li {
    border-top: solid 1px #ccc;
  }
  #header #headerNav .top_menu .first_menu_btn a {
    display: block;
    color: #fff;
    padding: 15px 10px;
  }
  #header #headerNav .top_menu .first_menu_btn a:hover {
    text-decoration: none;
  }
  #header #headerNav .top_menu .li_s1 br {
    display: none;
  }
  #header #headerNav .top_menu #topic_pc, #header #headerNav .top_menu #shigaku_pc {
    display: none;
  }
  #header #headerNav .top_menu #topic_sp, #header #headerNav .top_menu #shigaku_sp {
    color: #fff;
    padding: 15px 10px;
    border-bottom: solid 1px #ccc;
  }
  #header #headerNav .top_menu ul {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    display: none; /*JSのslidetoggleで表示させるため非表示に*/
  }
  #header #headerNav .top_menu ul li {
    background-color: #fff;
    position: relative;
    border-top: 1px solid #393939;
  }
  #header #headerNav .top_menu ul li a {
    padding: 15px;
    display: block;
    color: #000;
    transition: 0.6s;
  }
}
#header #trigger {
  position: absolute;
  right: 10px;
  top: 17.5px;
  height: 50px;
  width: 50px;
  border-radius: 5px;
  border: solid 1px #ccc;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#header #trigger span {
  transition: all 0.4s;
  display: block;
  width: 30px;
  height: 4px;
  background: #ccc;
  border-radius: 2px;
}
#header #trigger span + span {
  margin-top: 5px;
}
#header #trigger.open span {
  transition: all 0.4s;
}
#header #trigger.open span:nth-child(2) {
  display: none;
}
#header #trigger.open span:nth-child(1) {
  transform: rotate(-45deg);
  margin: 0 0 -2px 0;
}
#header #trigger.open span:nth-child(3) {
  transform: rotate(45deg);
  margin: -2px 0 0 0;
}

@media screen and (min-width: 601px) {
  #contents {
    min-width: 1000px;
  }
}
@media screen and (max-width: 600px) {
  #contents {
    padding: 105px 0 0;
  }
}
@media screen and (min-width: 601px) {
  #contents #main {
    width: 1000px;
    margin: 0 auto;
  }
}
@media screen and (max-width: 600px) {
  #contents #main {
    padding: 0 5vw;
  }
}
#contents #main section .text_img {
  margin-top: 30px;
  border-bottom: #1475d7 solid 2px;
  font-weight: bold;
  padding-bottom: 5px;
}
#contents #main section .text_img + * {
  margin-top: 20px;
}
@media screen and (min-width: 601px) {
  #contents #main section .text_img {
    font-size: 2rem;
  }
}
@media screen and (max-width: 600px) {
  #contents #main section .text_img {
    font-size: 1.8rem;
  }
}
#contents #main section .text_img_dot {
  margin-top: 50px;
  border-top: #1475d7 dotted 2px;
  padding-top: 15px;
  text-decoration: underline;
}
#contents #main section .text_img_dot + * {
  margin-top: 10px;
}
@media screen and (min-width: 601px) {
  #contents #main section .text_img_dot {
    font-size: 0.9em;
  }
}
@media screen and (max-width: 600px) {
  #contents #main section .text_img_dot {
    font-size: 0.9em;
  }
}

#footer {
  margin-top: 50px;
  padding: 0px 0px 10px 0px;
  color: #fff;
  background: #677889;
}
@media screen and (min-width: 601px) {
  #footer {
    min-width: 1000px;
  }
}
@media screen and (max-width: 600px) {
  #footer {
    min-width: 100%;
  }
}
@media screen and (min-width: 601px) {
  #footer #footerNav ul {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 1000px;
    margin: 0 auto;
    padding-bottom: 5px;
    font-size: 1.3rem;
    gap: 10px 10px;
  }
  #footer #footerNav ul li {
    margin-left: 0px;
  }
  #footer #footerNav ul li a {
    display: block;
  }
}
@media screen and (max-width: 600px) {
  #footer #footerNav {
    display: none;
  }
}
#footer #logo {
  color: #f5f8ff;
  text-align: left;
}
@media screen and (min-width: 601px) {
  #footer #logo .doom {
    font-size: 1.4rem;
    font-weight: bold;
  }
  #footer #logo .soom {
    font-size: 1.6rem;
    font-weight: bold;
  }
  #footer #logo .loom {
    font-size: 2.2rem;
    font-weight: bold;
  }
}
@media screen and (max-width: 600px) {
  #footer #logo {
    padding: 0px 0 0px 0;
    margin: 0px 20px 0 auto;
  }
  #footer #logo .doom {
    font-size: 0.8rem;
    font-weight: bold;
  }
  #footer #logo .soom {
    font-size: 1rem;
    font-weight: bold;
  }
  #footer #logo .loom {
    font-size: 1.6rem;
    font-weight: bold;
  }
}
@media screen and (min-width: 601px) {
  #footer #logo address {
    font-size: 15px;
  }
}
@media screen and (max-width: 600px) {
  #footer #logo address {
    font-size: 12px;
  }
}

body {
  position: relative;
}
body #hometop a {
  position: fixed;
  width: 60px;
  height: 60px;
  background: rgba(16, 69, 158, 0.8);
  color: #fff;
  cursor: pointer;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  z-index: 9999;
  border-radius: 50%;
  text-decoration: none;
}
@media screen and (min-width: 601px) {
  body #hometop a {
    bottom: 250px;
    right: 20%;
  }
}
@media screen and (max-width: 600px) {
  body #hometop a {
    bottom: 100px;
    right: 20%;
  }
}
body #pagetop {
  position: fixed;
  width: 60px;
  height: 60px;
  background: rgba(16, 69, 158, 0.8);
  color: #fff;
  cursor: pointer;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  z-index: 9999;
  border-radius: 50%;
}
@media screen and (min-width: 601px) {
  body #pagetop {
    bottom: 180px;
    right: 20%;
  }
}
@media screen and (max-width: 600px) {
  body #pagetop {
    bottom: 100px;
    right: 6%;
  }
}
body #pagetop .dli-chevron-up {
  display: inline-block;
  vertical-align: middle;
  color: #fff;
  line-height: 1;
  width: 0.8em;
  height: 0.8em;
  border: 0.1em solid currentColor;
  border-left: 0;
  border-bottom: 0;
  box-sizing: border-box;
  transform: translateY(25%) rotate(-45deg);
}

.decoi {
  color: #fff;
}
@media screen and (min-width: 601px) {
  .decoi {
    display: none;
  }
}
@media screen and (max-width: 600px) {
  .decoi {
    margin-bottom: 20px;
  }
}

/*========= ナビゲーションドロップダウンのためのCSS ===============*/
/*==ナビゲーション全体の設定*/
/*== 2・3階層目の共通設定 */
/*hoverしたら表示*/
/*ナビゲーションaタグの形状*/
nav li.has-child ul li a {
  color: #fff;
  border-bottom: solid 1px rgba(255, 255, 255, 0.6);
}

nav li.has-child ul li:last-child a {
  border-bottom: none;
}