@charset "utf-8";
/* CSS Document */
@font-face {
font-family:'fsfonts';
src: url('assets/fonts/logotypejp_mp_m_1.1.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}

@media screen and (min-width: 641px){
#gototop{scroll-behavior: smooth;}
a:hover, a:focus, a:active {
    text-decoration:none !important;
}

body{}

.site-header{
    background-image: url(../images/haikei.jpg);
    justify-content: space-between;
    width: 100%;
}

.hero {
z-index: 30;text-align:center;
}
.hero img{
  max-height:100%;object-fit: contain;
}


.menu-bar {display:none;}


.gnav {
  text-align: center;
  display:block;
  background-color: black;
  font-family:'fsfonts';

}
.gnav__menu {
    list-style:none;
    display: inline-block;
    width:1200px;
    height:auto;
    margin: 0;
}

.gnav__menu__item{
  font-size:20px;
  float:left;
  margin:0;
  box-sizing: border-box;
  border-right: 1px solid #fff;
  width:16.6666667%;
  font-family:'fsfonts';
}

.gnav__menu .gnav__menu__item li {
    height: 0;
    overflow: hidden;
    transition: .5s;
    list-style: none;
}
.gnav__menu .gnav__menu__item li a {
  padding:10px 0;
    width:100%;
}
.gnav__menu__item:nth-child(7){
  height:0;
  display:none;
}
.gnav__menu_second {
  margin:0;
}
.gnav__menu li:hover > ul > li {
    height: auto;
    font-size:20px;
    border-top: 1px solid #fff;
    overflow: visible;
    background-color: #fcc900;
    color:#fff;
}

.gnav__menu__item:first-child{
  border-left: 1px solid #fff;
}

.gnav__menu__item:hover {
  background-color: #fcc900;
  color:black;
}

.gnav__menu__item a{
  text-decoration: none;
  display: inline-block;
  padding:20px 0;
  color: white;
  width:100%;
}

.gnav__menu__item a:hover{
color:black;
}

.gnav__menu__item p{
  margin:0;
}

.gnav__menu__item .bosai-icon {
  font-size:20px;
  padding:0 5px;
}

.gnav__menu__item .bosai-icon .earthquake-icon {
  width:10%;

}

.header-change{
    background: #333;
    display: flex;
    justify-content: space-between;
    padding: 20px;
    position: fixed;
    top: -3px;
    transition: .5s;
    width: 100%;
}

.header-change.show{
    top:0;
}

.header-change .gnav__menu__item a{
    color: #fff;
    text-decoration: none;
}

.super-wrapper{background-color: #f5f5f5;max-width:1200px; min-width:640px;margin:0 auto;padding:40px 20px;display:flex;justify-content: space-between;
font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;}

.super-left-wrapper{width:70%;margin:0 auto;}
}
@media screen and (max-width:640px){
body{}

  .hero {
    width:100%;height:300px;
  }
  .hero img{
    height:100%;display:none;
  }
  .site-header{
      background-image: url(../images/sonaeari3.png);
      background-position: center;
      background-size:cover;
      background-repeat: no-repeat;
      justify-content: space-between;
      width: 100%;
  }

  /*.site-header .menu-bar {background-color: black;display:block;width:84%;margin:0 auto;}
  .site-header .menu-bar p{font-size:18px;color:white;text-align:center;margin-bottom:5px;}*/

  .gnav {
    text-align: center;
    display:block;
    padding-bottom: 20px;
  }
  .gnav__menu {
      list-style:none;
      display:flex;
      justify-content:center;
      flex-wrap: wrap;
      width:90%;
      margin: 0 auto;
  }

  .gnav__menu__item{
    background-color: black;
    display: inline-block;
    box-sizing: border-box;
    margin:5px 5px;
    font-size:14px;
    box-sizing: border-box;
    flex-basis:45%;
    font-family:'fsfonts';
  }
  .gnav__menu__item:nth-child(7) p{
  }

  .gnav__menu__item .bosai-icon {
    display:inline-block;
    font-size:30px;
    padding:5px;
    width:30%;
  }

  .gnav__menu__item a{
    vertical-align: middle;
    text-decoration: none;
    display:block;
    color: white;
    height:50px;
  }

  .gnav__menu__item a:hover{color:#fcf400;}

  .gnav__menu__item p{
    display: inline-block;
    text-align:left;
    width:100%;
    margin:5px 0 0 0;
  }

  .gnav__menu__item .bosai-icon .earthquake-icon {
    width:85%;

  }

  .header-change{
      background: #333;
      display: flex;
      justify-content: space-between;
      padding: 20px;
      position: fixed;
      top: -3px;
      transition: .5s;
      width: 100%;
  }

  .header-change.show{
      top:0;
  }

  .header-change .gnav__menu__item a{
      color: #fff;
      text-decoration: none;
  }

.super-wrapper{background-color: #f5f5f5; max-width:100%;margin:0 auto;}
}
