@charset "UTF-8";
/* CSS Document */
@media screen and (min-width: 770px) {
  body {
    font-family: YuGothic, 'Yu Gothic medium', 'Hiragino Sans', Meiryo,
      'sans-serif';
  }

  /* ヘッダー　*/
  header #sp_menu {
    display: none;
  }

  header {
    background-color: #fff;
    width: 100%;
    height: 80px;
  }
  .header_container {
    width: 90%;
    height: 80px;
    margin: auto;
    display: flex;
  }
  .header_container h1 {
    margin: auto 0;
  }
  .header_child {
    text-align: right;
    height: 80px;
    margin: 0 0 auto auto;
    line-height: 35px;
  }
  .header_child a {
    color: #333;
    font-size: 12px;
  }
  .header_child a:first-child {
    margin-right: 10px;
  }
  .header_child a:last-child {
    font-size: 30px;
    font-weight: 900;
  }
  .header_child a:hover {
    color: #1f5c7b;
  }
  .header_child i {
    margin-right: 5px;
  }

  /* フェードイン　*/
  .fadein {
    opacity: 0;
    transform: translate(0, 50px);
    transition: all 1500ms;
  }

  .fadein.scrollin {
    opacity: 1;
    transform: translate(0, 0);
  }

  /* トップへ戻るボタン　*/
  .to-top {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    right: 10px;
    bottom: 10px;
    font-size: 40px;
    color: #fff;
    background: #1f5c7b;
    border: 2px #fff solid;
    cursor: pointer;
    z-index: 800;
  }
  .to-top:hover {
    opacity: 0.7;
    transition: 0.5s;
  }

  /* フッターメニュー　*/
  #menu_footer {
    background-color: #f2f2f2;
    margin: 50px auto;
    width: 70%;
    text-align: center;
    padding-bottom: 50px;
    border-radius: 20px;
  }
  #menu_footer h3 {
    padding: 50px 0;
  }
  #menu_footer .menu_child2 {
    width: 90%;
    display: flex;
    margin: auto;
  }
  #menu_footer .menu_child2 div {
    width: 30%;
    line-height: 40px;
    text-align: left;
  }
  #menu_footer .menu_child2 div a {
    color: #000;
    font-size: 20px;
    letter-spacing: 1px;
  }
  #menu_footer .menu_child2 div a span {
    font-size: 10px;
  }
  #menu_footer .menu_child2 div a:hover {
    color: #1f5c7b;
  }

  /* フッター　*/
  footer {
    background-color: #1f5c7b;
    color: #fff;
    text-align: center;
    padding-bottom: 30px;
  }
  footer h4 {
    padding: 30px 0;
    font-size: 20px;
    font-weight: 900;
  }
  footer p {
    line-height: 30px;
    letter-spacing: 0.2px;
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 769px) {
  body {
    font-family: YuGothic, 'Yu Gothic medium', 'Hiragino Sans', Meiryo,
      'sans-serif';
  }

  .sp-none {
    display: none;
  }

  /* ヘッダー　*/
  header {
    background-color: #fff;
    width: 100%;
    height: 70px;
  }
  .header_container {
    width: 95%;
    height: 70px;
    margin: auto;
    display: flex;
  }
  .header_container h1 {
    margin: auto 0;
  }
  .header_child {
    display: none;
  }

  /* ハンバーガーメニュー 　*/
  #sp_menu {
    margin: auto 0 auto auto;
  }
  #nav-open {
    display: inline-block;
    width: 30px;
    height: 22px;
    vertical-align: middle;
  }
  /*ハンバーガーアイコンをCSSだけで表現*/
  #nav-open span,
  #nav-open span:before,
  #nav-open span:after {
    position: absolute;
    transition: all 0.4s;
    height: 3px; /*線の太さ*/
    width: 25px; /*長さ*/
    border-radius: 3px;
    background: #399f4a;
    display: block;
    content: '';
    cursor: pointer;
    z-index: 9999; /*最前面*/
  }
  #nav-open span:before {
    bottom: -8px;
  }

  #nav-open span:after {
    bottom: -16px;
  }
  /*中身*/
  #nav-content {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transition: 0.2s ease-in-out;
  }
  #nav-content.open {
    display: block;
    opacity: 1;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9998;
    width: 100%;
    height: 100%;
    background: rgba(31, 92, 123, 0.9); /*背景色*/
    overflow: hidden; /*ブラー効果でボヤけた部分を非表示*/
  }
  /*:beforeにぼかし効果を設定する*/
  #nav-content.open:before {
    content: '';
    overflow: hidden;
    -webkit-filter: blur(10px);
    -moz-filter: blur(10px);
    -o-filter: blur(10px);
    -ms-filter: blur(10px);
    filter: blur(10px);
    z-index: -1; /*重なり順序を一番下にしておく*/
  }
  /*チェックが入ったら表示する内容*/

  .hamburger-top {
    height: 40px; /*×ボタンと被らないように*/
  }
  .category {
    text-align: left;
    margin-top: 4rem;
    margin-left: 2em;
  }
  .category-title {
    padding: 0.5rem;
  }
  .category-title a {
    color: #333;
    text-decoration: none;
  }
  /*三本線を動かす*/
  #nav-open.active span {
    -webkit-transform: translateY(8px) rotate(-45deg);
    transform: translateY(8px) rotate(-45deg);
  }

  #nav-open.active span:before {
    -webkit-transform: translateY(-8px) rotate(45deg); /*打ち消す*/
    transform: translateY(-8px) rotate(45deg); /*打ち消す*/
    opacity: 0;
  }

  #nav-open.active span:after {
    -webkit-transform: translateY(-16px) rotate(45deg);
    transform: translateY(-16px) rotate(90deg);
  }

  /* フッターメニュー　*/
  #menu_footer {
    background-color: #f2f2f2;
    margin: 50px auto;
    width: 95%;
    text-align: center;
    padding-bottom: 10px;
  }
  #menu_footer h3 {
    padding: 30px 0;
  }
  #menu_footer .menu_child2 {
    width: 90%;
    margin: auto;
  }
  #menu_footer .menu_child2 div {
    width: 90%;
    line-height: 40px;
    text-align: left;
  }
  #menu_footer .menu_child2 div a {
    color: #000;
    font-size: 1.2em;
    font-weight: 900;
  }
  #menu_footer .menu_child2 div a span {
    font-size: 0.6em;
  }

  /* フッター　*/
  footer {
    background-color: #1f5c7b;
    color: #fff;
    text-align: center;
		padding-bottom: 30px;
  }
  footer h4 {
    padding: 30px 0;
    font-size: 20px;
    font-weight: 900;
  }
  footer p {
    line-height: 30px;
    letter-spacing: 0.2px;
    margin-bottom: 20px;
  }

  /* フェードイン　*/
  .fadein {
    opacity: 0;
    transform: translate(0, 50px);
    transition: all 1500ms;
  }

  .fadein.scrollin {
    opacity: 1;
    transform: translate(0, 0);
  }

  /* トップへ戻るボタン　*/
  .to-top {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    right: 10px;
    bottom: 10px;
    font-size: 40px;
    color: #fff;
    border: 2px #fff solid;
    background: #1f5c7b;
    cursor: pointer;
    z-index: 800;
  }
}

.banner_area{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 50px;
}
.banner_area li{
  max-width: 50%;
}

.bnr {
  margin-top: 50px;
}

.bnr .bnr-img {
  text-align: center;
  padding: 0 20px;
}

.bnr .bnr-img img {
  max-width: 100%;
  width: 388px;
}

.bnr .bnr-text {
  margin-top: 20px;
  text-align: center;
  padding: 0 20px;
  font-size: 20px;
  line-height: 1.8;
}

@media screen and (max-width: 769px) {

  .banner_area li{
    max-width: none;
  }

  .bnr .bnr-text {
    font-size: 14px;
  }
  
}