@charset "UTF-8";
@import "/font/";

*, *:before, *:after {
  box-sizing: border-box;
}

@font-face {
  font-family: 'navifont';
  src: url(/font/PensinkaiEGP-Medium-SJIS-02.woff) format('woff'), url(/font/PensinkaiEGP-Medium-SJIS-02.ttf) format('truetype');
}

body {
  /* background: #000;
  color: #fff; */
}

a {
  /* text-decoration: none;
  color: #fff; */
}

img {
  vertical-align: bottom;
}

address {
  font-style: normal;
}

button {
  cursor: pointer;
  border-style: none;
  outline: none;
  padding: 0;
}

/****************************************/
@media screen and (min-width: 1023px) {

  /***************共通部***************/
  #container {
    display: grid;
    grid-template-columns: auto 992px auto;
    grid-template-rows: repeat(4, auto);
  }

  /* header */
  header {
    grid-column: 1/4;
    grid-row: 1/2;
    padding-top: 20px;
    background: #002e5c;
    display: grid;
    grid-template-columns: auto 992px auto;
    grid-template-rows: repeat(2, auto);
    grid-row-gap: 20px;
  }

  .h-logo {
    grid-column: 2/3;
    grid-row: 1/2;
    text-align: center;
  }

  .h-logo img {
    width: 300px;
  }

  /* ハンバーガーボタン */
  .navi-button {
    grid-column: 3/4;
    grid-row: 1/2;
    text-align: right;
    position: fixed;
    top: 20px;
    right: 20px;
    display: none;
  }

  .h-button-click {
    width: 30px;
    height: 30px;
    background: #002e5c;
    background-image: url(/images/h_menu1.png);
    background-size: 100%;
    background-repeat: no-repeat;
  }

  .h-button-click2 {
    width: 30px;
    height: 30px;
    background: #002e5c;
    background-image: url(/images/h_menu2.png);
    background-size: 100%;
    background-repeat: no-repeat;
  }

  nav {
    grid-column: 2/3;
    grid-row: 2/3;
    background: #002e5c;
    font-family: "navifont", serif;
    font-size: 20px;
  }

  nav ul {
    display: flex;
    justify-content: space-around;
  }

  nav ul li {
    display: block;
    height: 50px;
    align-content: center;
    padding-top: 12px;
  }

  nav ul li a {
    display: inline-block;
    padding-bottom: 10px;
    color: #fff;
    text-decoration: none;
  }

  nav ul li::after {
    border-bottom: 1px solid #fff;
    bottom: 0;
    content: "";
    display: block;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    width: 0%;
  }

  nav ul li:hover::after {
    width: 100%;
  }

  /*************** side ***************/
  #karakusa-l {
    grid-column: 1/2;
    grid-row: 2/3;
    height: 450px;
    background: #002e5c;
    background-image: url(/images/kakuasa.gif);
    background-size: 45px;
    background-position: top right;
  }

  #karakusa-r {
    grid-column: 3/4;
    grid-row: 2/3;
    height: 450px;
    background: #002e5c;
    background-image: url(/images/kakuasa.gif);
    background-size: 45px;
  }

  #side-area {
    grid-column: 1/4;
    grid-row: 3/5;
    background: #021f3d;
  }

  /*************** footer ***************/
  #footer {
    grid-column: 2/3;
    grid-row: 4/5;
    background: #002e5c;
    color: #fff;
    text-align: center;
    grid-row-gap: 15px;
    /* background: red; */
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: repeat(4, auto);
  }

  .f-logo {
    grid-column: 1/2;
    grid-row: 1/2;
    /* display: inline-block; */
    margin-top: 20px;
  }

  .f-logo img {
    width: 280px;
  }

  .sns-icon {
    grid-column: 1/2;
    grid-row: 3/4;
  }

  .sns-icon img {
    width: 30px;
    margin: 0 10px;
  }

  .f-address {
    grid-column: 1/2;
    grid-row: 2/3;
    font-size: 13px;
    letter-spacing: 1px;
    line-height: 26px;
  }

  .copy {
    display: grid;
    grid-column: 1/2;
    grid-row: 4/5;
  }
}

/****************************************/
@media only screen and (min-width: 751px) and (max-width: 1024px) {

  /***************共通部***************/
  #container {
    display: grid;
    grid-template-columns: auto 992px auto;
    grid-template-rows: repeat(4, auto);
  }

  /* header */
  header {
    grid-column: 1/4;
    grid-row: 1/2;
    padding-top: 20px;
    background: #002e5c;
    display: grid;
    grid-template-columns: auto 992px auto;
    grid-template-rows: repeat(2, auto);
    grid-row-gap: 20px;
  }

  .h-logo {
    grid-column: 2/3;
    grid-row: 1/2;
    text-align: center;
  }

  .h-logo img {
    width: 300px;
  }

  /* ハンバーガーボタン */
  .navi-button {
    grid-column: 3/4;
    grid-row: 1/2;
    text-align: right;
    top: 20px;
    right: 20px;
    display: none;
  }

  .h-button-click {
    width: 30px;
    height: 30px;
    background: #002e5c;
    background-image: url(/images/h_menu1.png);
    background-size: 100%;
    background-repeat: no-repeat;
  }

  .h-button-click2 {
    width: 30px;
    height: 30px;
    background: #002e5c;
    background-image: url(/images/h_menu2.png);
    background-size: 100%;
    background-repeat: no-repeat;
  }

  nav {
    grid-column: 2/3;
    grid-row: 2/3;
    background: #002e5c;
    font-family: "navifont", serif;
    font-size: 20px;
    /* display: none; */
  }

  nav ul {
    display: flex;
    justify-content: space-around;
  }

  nav ul li {
    display: block;
    height: 50px;
    align-content: center;
    padding-top: 12px;
  }

  nav ul li a {
    display: inline-block;
    padding-bottom: 10px;
    color: #fff;
    text-decoration: none;
  }

  nav ul li::after {
    border-bottom: 1px solid #fff;
    bottom: 0;
    content: "";
    display: block;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    width: 0%;
  }

  nav ul li:hover::after {
    width: 100%;
  }

  /*************** side ***************/
  #karakusa-l {
    grid-column: 1/2;
    grid-row: 2/3;
    height: 450px;
    background: #002e5c;
    background-image: url(/images/kakuasa.gif);
    background-size: 45px;
    background-position: top right;
  }

  #karakusa-r {
    grid-column: 3/4;
    grid-row: 2/3;
    height: 450px;
    background: #002e5c;
    background-image: url(/images/kakuasa.gif);
    background-size: 45px;
  }

  #side-area {
    grid-column: 1/4;
    grid-row: 3/5;
    background: #021f3d;
  }

  /*************** footer ***************/
  #footer {
    grid-column: 2/3;
    grid-row: 4/5;
    background: #002e5c;
    color: #fff;
    text-align: center;
    grid-row-gap: 15px;
    /* background: red; */
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: repeat(4, auto);
  }

  .f-logo {
    grid-column: 1/2;
    grid-row: 1/2;
    /* display: inline-block; */
    margin-top: 20px;
  }

  .f-logo img {
    width: 280px;
  }

  .sns-icon {
    grid-column: 1/2;
    grid-row: 3/4;
  }

  .sns-icon img {
    width: 30px;
    margin: 0 10px;
  }

  .f-address {
    grid-column: 1/2;
    grid-row: 2/3;
    font-size: 13px;
    letter-spacing: 1px;
    line-height: 26px;
  }

  .copy {
    display: grid;
    grid-column: 1/2;
    grid-row: 4/5;
  }
}

/****************************************/
@media screen and (max-width: 750px) {

  /***************共通部***************/
  #container {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: repeat(4, auto);
  }

  /* header */
  header {
    grid-column: 1/2;
    grid-row: 1/2;
    background: #002e5c;
    display: grid;
    grid-template-columns: 100vw;
    grid-template-rows: repeat(2, auto);
    /* grid-row-gap: 20px; */
  }

  .h-logo {
    display: inline-block;
    grid-column: 1/2;
    grid-row: 1/2;
     background: #002e5c;
    /* position: relative; */
    text-align: center;
    width: 100%;
    margin: 0 auto;
    padding: 6px 0;
  }

  .h-logo img {
    width: 170px;
    /* padding-left: 10px; */
  }

  /* ハンバーガーボタン */
  .navi-button {
    grid-column: 1/2;
    grid-row: 1/2;
    text-align: right;
    /* position: fixed; */
    /* top: 20px;
    right: 30px; */
    /* display: none; */
    /* z-index: 10; */
    padding: 7px 5px 0 0;
  }

  .h-button-click {
    width: 30px;
    height: 30px;
    background: #002e5c;
    background-image: url(/images/h_menu1.png);
    background-size: 100%;
    background-repeat: no-repeat;
  }

  .h-button-click2 {
    width: 30px;
    height: 30px;
    background: #002e5c;
    background-image: url(/images/h_menu2.png);
    background-size: 100%;
    background-repeat: no-repeat;
  }

  nav {
    grid-column: 1/2;
    grid-row: 2/3;
    background: rgba(0, 46, 92);
    font-family: "navifont", serif;
    font-size: 20px;
    display: none;
  }

  nav ul {
    display: flex;
    flex-direction: column;
    /* justify-content: space-around; */
    text-align: center;
}

  nav ul li {
    display: block;
    height: 50px;
    align-content: center;
    padding-top: 12px;
  }

  nav ul li a {
    display: inline-block;
    padding-bottom: 10px;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid #fff;
  }

  /* nav ul li::after {
    border-bottom: 1px solid #fff;
    bottom: 0;
    content: "";
    display: block;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    width: 0%;
  } */

  /* nav ul li:hover::after {
    width: 100%;
  } */

  /*************** side ***************/
  #karakusa-l {
    grid-column: 1/2;
    grid-row: 2/3;
    height: 450px;
    background: #002e5c;
    background-image: url(/images/kakuasa.gif);
    background-size: 45px;
    background-position: top right;
    display: none;
  }

  #karakusa-r {
    grid-column: 1/2;
    grid-row: 2/3;
    height: 450px;
    background: #002e5c;
    background-image: url(/images/kakuasa.gif);
    background-size: 45px;
    display: none;
  }

  #side-area {
    grid-column: 1/2;
    grid-row: 3/5;
    background: #021f3d;
    display: none;
  }

  /*************** footer ***************/
  #footer {
    grid-column: 1/2;
    grid-row: 4/5;
    background: #002e5c;
    color: #fff;
    text-align: center;
    grid-row-gap: 15px;
    /* background: red; */
    display: grid;
    grid-template-columns: 100vw;
    grid-template-rows: repeat(4, auto);
  }

  .f-logo {
    grid-column: 1/2;
    grid-row: 1/2;
    /* display: inline-block; */
    margin-top: 20px;
  }

  .f-logo img {
    width: 170px;
  }

  .sns-icon {
    grid-column: 1/2;
    grid-row: 3/4;
  }

  .sns-icon img {
    width: 30px;
    margin: 0 10px;
  }

  .f-address {
    grid-column: 1/2;
    grid-row: 2/3;
    font-size: 12px;
    letter-spacing: 1px;
    line-height: 24px;
  }

  .copy {
    display: grid;
    grid-column: 1/2;
    grid-row: 4/5;
    padding-bottom: 10px;
  }
}
