
html,body{
  height:100%;
  font-size:12px;
  font-family: 'Hiragino Kaku Gothic ProN', "メイリオ" , Meiryo, 'ＭＳ Ｐゴシック', sans-serif;
  font-weight: 500;
  -webkit-overflow-scrolling: touch;
}

body{
  min-width: 751px;
  /*overflow-x:scroll;*/
  transform-origin: top left;
}

.loading{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:white;
  z-index:10000;
}

section{
  margin:0;
}

.wrap{
  max-width: 1320px;
}
/* back */

#background{
  width:100%;
  height:100%;
  position: fixed;
  top:0;
  left:0;
  z-index: -1;
}

#background img{
  object-fit: cover;
  display: block;
  position: absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
}

video{
  object-fit: cover;
  object-position:center center;
  display: block;
  margin:0 auto;
  width:100%;
  height:100%;
}

.dot{
  background-image: -webkit-repeating-radial-gradient(center center, rgba(0,0,0,.2), rgba(0,0,0,.2) 1px, transparent 1px, transparent 100%);
  background-image: -moz-repeating-radial-gradient(center center, rgba(0,0,0,.2), rgba(0,0,0,.2) 1px, transparent 1px, transparent 100%);
  background-image: -ms-repeating-radial-gradient(center center, rgba(0,0,0,.2), rgba(0,0,0,.2) 1px, transparent 1px, transparent 100%);
  background-image: repeating-radial-gradient(center center, rgba(0,0,0,.2), rgba(0,0,0,.2) 1px, transparent 1px, transparent 100%);
  -webkit-background-size: 3px 3px;
  -moz-background-size: 3px 3px;
  background-size: 3px 3px;

  position: absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
}

/* header */

#logo{
  width:245px;
  height:148px;
  background:url("../img/logo_apear.png") 0 0 no-repeat;
  position: absolute;
  left:50%;
  -webkit-transform: translateX(-50%) scale(0.7);
  transform: translateX(-50%) scale(0.7);
  top:-20px;
  display: block;
  z-index: 99;
  transition: transform 0.2s linear;
  -webkit-transition: transform 0.2s linear;
  transform-origin: center center;
  background-position:0 -5967px;
}
#logo.first{
  animation: sprite_logo 1s steps(39, start);
  animation-fill-mode:forwards;
}

#logo::after{
  content:url("../img/logo_hover.png");
  display: none;
}

.scrolled #logo,#logo.kasou{
  transform: translateX(-50%) scale(0.55);
  -webkit-transform: translateX(-50%) scale(0.55);
  top:-25px;
}

@keyframes sprite_logo{
  0%  {background-position:0 0; }
  100%  {background-position:0 -5967px; }
}

#small_logo{
  position: fixed;
  top:10px;
  left:50%;
  transform: translateX(-50%) scale(0.38);
  -webkit-transform: translateX(-50%) scale(0.38);
  transform-origin:50% 0;
  -webkit-transform-origin:50% 0;
  -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
}
#logo:hover{
  background:url("../img/logo_hover.png") 0 0 no-repeat;
  animation: sprite_logo_2 1s steps(37, start);
  animation-fill-mode:forwards;
  width: 245px;
  height: 148px;
}
@keyframes sprite_logo_2{
  0%  {background-position:0 0; }
  100%  {background-position:0 -5661px; }
}
nav.menu_bar{
  font-size: 12px !important;  
  position: fixed;
  top:0;
  left:0;
  width:100%;
  z-index: 100;
}

nav.menu_bar a,
nav.menu_bar a:hover,
nav.menu_bar a:active,
nav.menu_bar a:visited{
  color:white;
  text-decoration: none;
  font-size:2rem;
  cursor:pointer;
}

nav.menu_bar #menu_button>img{
  position:absolute;
  z-index: 110;
  transition: top 0.2s linear;
  -webkit-transition: top 0.2s linear;
  top:18px;
  left:20px;
}


nav.menu_bar #menu_button>img:last-child{
  display: none;
}

nav.menu_bar .sns{
  position:absolute;
  right:20px;
  top:15px;
  width:180px;
  z-index: 101;
  height:45px;
}

nav.menu_bar .sns a{
  font-size:2.5rem;
  transition: all 0.1s linear;
  -webkit-transition: all 0.1s linear;
  opacity:1;
}

.sns i{
  line-height:45px;
}

nav.menu_bar .sns a:hover{
  opacity:0.8;
}

#menu{
  transition: top 0.5s ease-out;
  -webkit-transition: top 0.5s ease-out;
  position:fixed;
  width:100%;
  height: 730px;
  top: -730px;
  left:0;
  background: #032718;
  z-index: 90;
  overflow: hidden;
  display: block;
  padding: 130px 50px 20px 50px;
}

@keyframes show-overlay{
    0%{
        opacity: 0;
        height:0;
    }
    1%{
        height:100%;
    }
    100%{
        opacity: 1;
        height:100%;
    }
}
@keyframes hide-overlay{
    0%{
        opacity: 1;
        height:100%;
    }
    99%{
        height:100%;
    }
    100%{
        opacity: 0;
        height:0;
    }
}

.overlay div{
  animation: hide-overlay 0.5s ease-out;
  animation-fill-mode:forwards;
}

.overlay.open div{
  display: block;
  animation: show-overlay 0.5s ease-out;
  animation-fill-mode:forwards;
}

.overlay div{
  height:100%;
  position: fixed;
  z-index: 89;
  width:100%;
  background:rgba(0,0,0,0.6);
  top:0;
  left:0;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  -webkit-transition: opacity 0.5s ease-in-out;
}

#menu .row{
  max-width:1000px;
  margin:0 auto;
}
#menu .menu_box > .row > .grid6{
  padding:0 !important;
}

#menu .grid6{
  padding:0 10px 0;
}

#menu a{
  display: block;
  position:relative;
}
#menu .grid6 .grid6 a img{
  display: block;
}

#menu .grid6 .grid6 a::after{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(255,255,255,0);
  transition: all 0.1s linear;
  -webkit-transition: all 0.1s linear;
}

#menu .grid6 .grid6 a:hover::after{
  background:rgba(255,255,255,0.2);
}

#menu .grid6 p{
  text-align:center;
  color:white;
  font-size:1.3rem;
  line-height: 1.7;
  margin:7px auto 20px;
  white-space: nowrap;
}
#menu .grid6 p br.sp-only{
  display: none;
}

#menu.open{
  top:0 !important;
}

#menu ul{
  width: 32rem;
  position:absolute;
  top:0;
  left:50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  margin:40px auto;
}

#menu li{
  display: block;
  padding:15px;
  text-align: left;
  white-space: nowrap;
}
.menu_box{
  transform: translateX(-50%) translateY(-50%);
  top: 46%;
  left: 50%;
  position: relative;
  width: 90%;
  max-width: 1000px;
}

header{
  width:100%;
}

#bar{
  position: absolute;
  left:0;
  bottom:-80px;
  width:100%;
  height:80px;
  background: #033a22;
  z-index: 91;
}
#bar.fixed{
  position: fixed;
  top:0;
  left:0;
  height:70px;
  background: #033a22;
  z-index: 100;
}

#content{
  width:100%;
  min-height:50px;
  overflow:hidden;
}
.grayback{
  /*background:rgba(0,0,0,0.4);*/
}

/* social links */
#social_links{
  height:156px;
  position: relative;
  margin-bottom: 0;
  overflow:hidden;
  /* background: #eeeeee; */
}
.social_links_top{
  height: 20vw !important;
  position: relative;
  margin-bottom: 0;
  overflow:hidden;
}
#social_links.wh{
  background: #eeeeee;
}

.social_back{
  position: absolute;
  left:50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  bottom:0;
  width:100%;
}

#social_links ul{
  position:absolute;
  top:50%;
  left:50%;
  -webkit-transform: translate(-50%,-66%);
  transform: translate(-50%,-66%);
  list-style: none;
  overflow:visible;
}

#social_links li{
  float: left;
  margin:0 10px;
  transition: all 0.1s linear;
  -webkit-transition: all 0.1s linear;
  transform:scale(1);
}

#social_links li:hover{
  /*transform:scale(1.2);*/
}

#social_links .links a{
  background: url("../img/sns-back.png");
  background-repeat: no-repeat;
  color:#033a22;
  display: block;
  width:87px;
  height:50px;
  text-align: center;
  line-height: 63px;
  font-size:2.4rem;
  cursor:pointer;
  background-size:contain;
}

#social_links.wh .links a{
  background: url("../img/sns-back-green.png");
  background-repeat: no-repeat;
  color:#ffffff;
  background-size: contain;
}

.gotop{
  background:#033a22;
  width:100%;
  height:20px;
  position:absolute;
  bottom:0;
  left:0;
}

.gotop a{
  background:#033a22;
  width:50px;
  height:45px;
  position:absolute;
  bottom:20px;
  right:20px;
  display: block;
  cursor: pointer;
  z-index: 97;
  transform: translateX(-50%);
  transition: all 0.2s linear;
}

.gotop a:hover{
  height:55px;
}

.gotop a::after{
  content:"";
  display: block;
  background:url("../img/gotop.png");
  background-size:100% 100%;
  background-repeat: no-repeat;
  position:absolute;
  width:17px;
  height:19px;
  left:50%;
  top:13px;
  -webkit-transform: translateX(-50%);
  -webkit-transition: all 0.2s linear;

}

.banners,.banners.wrap{
  border-top: #ffffff 1px solid;
  max-width:1000px;
  padding: 95px 0;
}

.banners [class^="grid"]:first-child{
  padding: 0;
}

.banners [class^="grid"]:last-child{
  padding: 0;
}

#common_banners{
  padding:0 50px;
}
#common_banners .row {
  -webkit-align-items: flex-end;
  align-items:         flex-end;
  -webkit-justify-content: center;
  justify-content:         center;
}

#common_banners img{
  opacity:1;
  transition: all 0.2s linear;
  -webkit-transition: all 0.2s linear;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

#common_banners img:hover{
  opacity:0.8;
}
[data-new]{
  position:relative;
}
[data-new]::after{
  content:url(../img/menu/icon_new.png);
  position:absolute;
  top:-17px;
  left:-5px;
  width:1.5rem;
  height:1.5rem;
  text-align: center;
  line-height: 1.5rem;
  z-index:1000;
  border-radius:50%;
  display: block;
}
[data-new-kf]{
  position:relative;
}
[data-new-kf]::after{
  content:url(../img/menu/icon_new-kf.png);
  position:absolute;
  top:-17px;
  left:-5px;
  width:1.5rem;
  height:1.5rem;
  text-align: center;
  line-height: 1.5rem;
  z-index:1000;
  border-radius:50%;
  display: block;
}

@media screen and (max-width: 750px) {
  .mobile [data-new]::after{
    content:url(../img/menu/icon_new-sp.png);
  }
  .mobile [data-new-kf]::after{
    content:url(../img/menu/icon_new-kf-sp.png);
  }

  .mobile #small_logo{
    top:15px;
    transform: translateX(-50%) scale(0.41);
    -webkit-transform: translateX(-50%) scale(0.41);
  }
  .mobile #logo{
    top:-10px;
  }

  .mobile #logo.kasou{
    top:-15px;
    -webkit-transform: translateX(-50%) scale(0.6);
    transform: translateX(-50%) scale(0.6);
  }
  .mobile .scrolled #logo{
    transform: translateX(-50%) scale(0.6);
    -webkit-transform: translateX(-50%) scale(0.6);
    top:-15px;
  }


  body.mobile{
    min-width: 0;
    max-width: 640px;
  }

  .mobile .dot{
    background:none;
  }

  .mobile #bar.fixed{
    height: 80px;
  }

  .mobile .banners [class^="grid"]:first-child,
  .mobile .banners [class^="grid"]:last-child{
    padding:0;
  }

  .mobile #common_banners{
    padding:0 35px;
    background:white;
    position:relative;
  }

  .mobile #social_links{
    height: 175px;
  }

  .mobile #social_links ul{
    width:321px;
  }

  .mobile #menu{
    top: -100vh;
    min-height: 100vh;
    height:100vh;
    padding: 60px 20px 0;
    transition: top 0.2s ease-out;
    -webkit-transition: top 0.2s ease-out;
    overflow: scroll;
        margin-top: 0px;
  }
  .menu_box {
    top: 530px;
    padding-top:120px;
  }
}

  /* MENUアニメ */
.menu-trigger,
.menu-trigger span {
  display: inline-block;
  transition: all .4s;
  box-sizing: border-box;
  z-index: 999;
}
.menu-trigger {
  position: relative;
  width: 30px;
  height: 26px;
    left: 22px;
    top: 12px;
}
.menu-trigger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #fff;
}
.menu-trigger span:nth-of-type(1) {
  top: 0;
}
.menu-trigger span:nth-of-type(2) {
  top: 11px;
}
.menu-trigger span:nth-of-type(3) {
  bottom: 0;
}
.menu-trigger.open span:nth-of-type(1) {
  -webkit-transform: translateY(11px) rotate(-45deg);
  transform: translateY(11px) rotate(-45deg);
}
.menu-trigger.open span:nth-of-type(2) {
  opacity: 0;
}
.menu-trigger.open span:nth-of-type(3) {
  -webkit-transform: translateY(-11px) rotate(45deg);
  transform: translateY(-11px) rotate(45deg);
}

.menu-trigger[data-notice]:not(.open)::after{
  content:attr(data-notice);
  position:absolute;
  top:-10px;
  right:-16px;
  width:1.5rem;
  height:1.5rem;
  text-align: center;
  line-height: 1.8;
  font-size:0.9rem;
  font-weight:600;
  color:white;
  background:#fc0100;
  z-index:1000;
  border-radius:50%;
  border:#033a22 3px solid;
  display: block;
  text-indent: -1px;
  letter-spacing: 0;
}

/*backtotop*/
.backtotop{
    text-align: center;
    position: absolute;
    top:85%;
    left: 50%;
    margin-left: -125px;
  }
  .backtotop > p{
    margin: 0 auto;
  }
  .backtotop > p > a{
    font-size: 16px;
    padding: 12px 70px;
    background: #003f21;
    border-radius: 50px;
  }
  #menu .backtotop a{display: inline-block;}
  .backtotop > p > a:hover{
    font-size: 16px !important;
    opacity: 0.8;
  }

@media screen and (max-width: 750px) {
  #menu .grid6 p{
    margin-top: 13px;
    font-size: 1.4rem;
    line-height: 1.5;
  }
  #menu .grid6 p br.sp-only{
    display: block;
  }
.pc-only{
    display: none;
  }

  /*backtotop*/
  .backtotop{
    position: relative;
    top: 110px;
    top:0;
    text-align: center;
    left: auto;
        padding-bottom: 180px;
    margin-left: 25%;
    width: 50%;
  }
  .backtotop > p > a{
    padding: 14px 60px;
    background: #003f21;
    border-radius: 50px;
  }
  #menu .backtotop a{display:block;font-size: 1.7rem;}

  .menu-trigger {
    width: 30px;
    height: 27px;
    left: 22px;
    top: 18px;
  }
  .menu-trigger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #fff;
  }
  .menu-trigger span:nth-of-type(1) {
    top: 0;
  }
  .menu-trigger span:nth-of-type(2) {
    top: 11px;
  }
  .menu-trigger span:nth-of-type(3) {
    bottom: 0;
  }
  .menu-trigger.open span:nth-of-type(1) {
    -webkit-transform: translateY(11px) rotate(-45deg);
    transform: translateY(11px) rotate(-45deg);
  }
  .menu-trigger.open span:nth-of-type(2) {
    opacity: 0;
  }
  .menu-trigger.open span:nth-of-type(3) {
    -webkit-transform: translateY(-11px) rotate(45deg);
    transform: translateY(-11px) rotate(45deg);
  }
  nav.menu_bar .sns{
    right: 15px;
    width: 27%;
    top: 13px;
  }
  nav.menu_bar .sns i{
    line-height: 60px;
  }

}

.footer--pc {
  padding-top: 40px;
  background-color: #FFF;
}

#nssFooterBox *{
    letter-spacing: 0 !important;
    box-sizing: content-box !important;
}

#nssFooterBox{
  -ms-transform: scale(0.9);
  -webkit-transform: scale(0.9);
  transform: scale(0.9);
  -webkit-transform-origin: top center;
  -ms-transform-origin: top center;
  transform-origin: top center;
  margin-bottom: -90px !important;
}

#nssFooterBox div{
    box-sizing: content-box !important;
    overflow: visible !important;
}

#nssFooterBox ul{
    overflow: visible !important;
}

#nssAddressBox div{
    box-sizing: content-box !important;
}
