/* Scss Document */
@media screen and (max-width: 979px) {
  .spNone {
    display: none !important;
  }
  html {
    width: 100%;
    height: 100%;
    font-size: 12px;
  }
  body {
    width: 100%;
    height: 100%;
    font-size: 1rem;
    overflow-x: hidden;
  }
  img {
    display: block;
    max-width: 100%;
    width: auto;
  }
  .header {
    background: url(../img/_bg01.jpg) top 6rem center/100% no-repeat;
  }
  .header .h1 {
    width: 100%;
    top: .5rem;
    left: 0;
    right: 0;
  }
  .header .h1 img {
    height: 5rem;
    margin: 0 auto;
  }
  .header .headerContents {
    height: 6rem;
  }
  .header .contactBox {
    justify-content: space-around;
    width: 100%;
    padding: 1em;
    background: #FFF;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 9;
  }
  .header .menuBox {
    width: calc(100% - 4em);
    height: 4rem;
    margin: 0 auto 0;
    background: url(../img/menu.svg) center left 2rem/auto 1.25rem no-repeat #f1c800;
    border: 1px solid #FFF;
    border-radius: 0.5rem;
    position: absolute;
    top: 7.5rem;
    left: 0;
    right: 0;
    z-index: 9;
  }
  .header .menuBox.scroll {
    position: fixed;
    top: 1.25rem;
  }
  .header .menuBox.open {
    border-radius: 0.5rem 0.5rem 0 0;
  }
  .header .menu {
    width: 1.5rem;
    height: 1.5rem;
    position: absolute;
    right: 2em;
    top: 50%;
    cursor: pointer;
    z-index: 9;
    transform: translateY(-50%);
  }
  .header .menu span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    position: absolute;
    left: 0;
    background: #6f5e0c;
    -webkit-transition: 0.25s;
    transition: 0.25s;
  }
  .header .menu .span {
    top: calc(50% - 0.625rem);
  }
  .header .menu .span2 {
    top: calc(50% - 1px);
    opacity: 1;
  }
  .header .menu .span3 {
    bottom: calc(50% - 0.625rem);
  }
  .header .menu.open .span {
    top: calc(50% - 1px);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  .header .menu.open .span2 {
    opacity: 0;
  }
  .header .menu.open .span3 {
    bottom: calc(50% - 1px);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  .header nav {
    display: none;
    width: calc(100% - 4em);
    padding: 0 2em;
    margin: 0 auto 0;
    background: #f1c800;
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    border-radius: 0 0 0.5rem 0.5rem;
    transition: 0.375s;
    opacity: 0;
    visibility: hidden;
    position: fixed;
    top: calc(11.5rem - 1px);
    left: 0;
    right: 0;
    z-index: 10;
  }
  .header nav.scroll {
    top: calc(5.25rem - 1px);
  }
  .header nav.show {
    display: block;
    opacity: 1;
    visibility: visible;
  }
  .header nav .nav {
    display: block;
    position: static;
  }
  .header nav .nav li {
    border-left: none;
    border-top: 1px solid #fff;
  }
  .header nav .nav li:last-child {
    border-right: none;
  }
  .header nav .nav li a {
    color: #00033b;
    font-size: 1.25rem;
    text-align: center;
    padding: 1em 0;
  }
  .header .mainImage {
    margin: 7.5em 0 0;
  }
  .footer {
    display: block;
    padding-top: 11.83036vw;
    background-image: url(../img/_bg.svg);
  }
  .footer .logo {
    position: static;
  }
  .footer .logo img {
    height: 7.5rem;
    margin: 0 auto 1.5em;
  }
  .footer .left {
    width: 22rem;
    margin: 0 auto;
    padding: 0;
  }
  .footer .right {
    display: none;
  }
  #bannerArea01 {
    display: block;
    width: calc(100% - 4em);
  }
  #bannerArea01 li {
    margin: 1.5em 0 0;
    margin: 1.5em 0 0;
  }
  #bannerArea01 li img {
    height: auto;
  }
  #bannerArea01 li:first-child {
    margin: 0;
  }
  #bannerArea02 {
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 2em 0 0;
  }
  #bannerArea02 li {
    width: calc((100% - 1.75em) /2);
    margin: 1.75em 0 0;
  }
  #bannerArea02 li img {
    height: auto;
  }
  .infoList li .date {
    width: 6rem;
    text-align: left;
  }
  .subPage {
    padding-bottom: 4.75em;
    background-size: 1400px;
    background-position: top 6rem center;
  }
  .subPage .contents {
    margin-top: 7em;
  }
  .subPage .contents h1 {
    background-image: url(../img/_main.jpg);
  }
  .subPage .contents h1 span {
    font-size: 2rem;
  }
  .subPage #bannerArea01 {
    width: calc(100% - 8em);
  }
  .subPage #bannerArea02 {
    padding: 0 2em;
  }
  .post {
    padding: 2em;
  }
  #index {
    padding-bottom: 4.75em;
  }
  #index .contents {
    padding: calc((86 / 448) * 100vw) 2em calc((56 / 448) * 100vw);
    background-image: url(../img/_bg02.jpg);
  }
  #index .contents .body {
    display: block;
    width: 100%;
  }
  #index .contents .body .right {
    width: 100%;
  }
  #index .contents .body .left {
    width: 100%;
    padding: 2em 0 0;
    overflow: hidden;
  }
  #index #info .more {
    text-align: center;
  }
}
