/*----------------------------------------------------------------------------*/
/*bubbles subset*/
/*----------------------------------------------------------------------------*/

#common_header *,
#common_footer *{
  box-sizing:border-box;  
}

#common_header,#common_footer{
  font-size:14px;  
}

#common_header nav{
  padding:10px 0;
}

#common_header nav ul{
  width:100%;
  display: table;
  table-layout:fixed;
}

#common_header nav li{
  text-align: center;
  display: table-cell;
}

#common_header nav li a,
#common_header nav li a:visited
{
  display: block;
}

#common_header .wrap,
#common_footer .wrap{
  max-width: 1000px;
  margin:0 auto;
}

.row{
  width:100%;
  display:flex;
  display:-webkit-flex;
  display:-moz-flex;
  flex-wrap:wrap;
  -webkit-flex-wrap:wrap;
  -moz-flex-wrap:wrap;
}

.column{
  display:flex;
  display:-webkit-flex;
  display:-moz-flex;
  flex-wrap:wrap;
  flex-direction:column;
  -webkit-flex-wrap:wrap;
  -webkit-flex-direction:column;
  -moz-flex-wrap:wrap;
  -moz-flex-direction:column;
}

.rtl{
  flex-direction:row-reverse;
  -webkit-flex-direction:row-reverse;
  -moz-flex-direction:row-reverse;
}

.align1{
  justify-content:flex-start;
  align-items:flex-end;
  -webkit-justify-content:flex-start;
  -webkit-align-items:flex-end;
  -moz-justify-content:flex-start;
  -moz-align-items:flex-end;
}

.align2{
  justify-content:center;
  align-items:flex-end;
  -webkit-justify-content:center;
  -webkit-align-items:flex-end;
  -moz-justify-content:center;
  -moz-align-items:flex-end;
}

.align3{
  justify-content:flex-end;
  align-items:flex-end;
  -webkit-justify-content:flex-end;
  -webkit-align-items:flex-end;
  -moz-justify-content:flex-end;
  -moz-align-items:flex-end;
}

.align4{
  justify-content:flex-start;
  align-items:center;
  -webkit-justify-content:flex-start;
  -webkit-align-items:center;
  -moz-justify-content:flex-start;
  -moz-align-items:center;
}

.align5{
  justify-content:center;
  align-items:center;
  -webkit-justify-content:center;
  -webkit-align-items:center;
  -moz-justify-content:center;
  -moz-align-items:center;
}

.align6{
  justify-content:flex-end;
  align-items:center;
  -webkit-justify-content:flex-end;
  -webkit-align-items:center;
  -moz-justify-content:flex-end;
  -moz-align-items:center;
}

.align7{
  justify-content:flex-start;
  align-items:flex-start;
  -webkit-justify-content:flex-start;
  -webkit-align-items:flex-start;
  -moz-justify-content:flex-start;
  -moz-align-items:flex-start;
}

.align8{
  justify-content:center;
  align-items:flex-start;
  -webkit-justify-content:center;
  -webkit-align-items:flex-start;
  -moz-justify-content:center;
  -moz-align-items:flex-start;
}

.align9{
  justify-content:flex-end;
  align-items:flex-start;
  -webkit-justify-content:flex-end;
  -webkit-align-items:flex-start;
  -moz-justify-content:flex-end;
  -moz-align-items:flex-start;
}

.baseline{
  align-items:baseline;
  -webkit-align-items:baseline; 
  -moz-align-items:baseline;  
}

.stretch{
  align-items:stretch;
  -webkit-align-items:stretch;
  -moz-align-items:stretch;
}

.grid1{
  width:8.333333333333%;
}
.grid2{
  width:16.66666666666%;
}
.grid3{
  width:25%;
}
.grid4{
  width:33.333333333333%;
}
.grid5{
  width:41.666666666666%;
}
.grid6{
  width:50%;
}
.grid7{
  width:58.333333333333%;
}
.grid8{
  width:66.666666666666%;
}
.grid9{
  width:75%;
}
.grid10{
  width:83.333333333333%;
}
.grid11{
  width:91.666666666666%;
}
.grid12{
  width:100%;
}

*[class^="grid"]>img{
  max-width: 100%;
}

@media screen and (max-width: 640px) {
  .dynamic>div[class^="grid"]{
    width:100%;
  }
}


.visible-phone{
  display: none !important;
}

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

  .hidden-phone{
    display: none !important;
  }

  .visible-phone{
    display: block !important;
  }

}

.fit{
  width: 100%;
  height:auto;
}

#common_footer .wrap .fit{
  width: auto;
  max-width: 100%;
}


body{
  padding-top:70px;
}

/* 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{
  position: fixed;
  top:0;
  left:0;
  width:100%;
  z-index: 99;
  height:70px;
}

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 .common_sns{
  position:absolute;
  right:20px;
  top:14px;
  width:180px;
  z-index: 101;
  height:45px;
  background-color:#033a22;
}

nav.menu_bar .common_sns a{
  font-size:28px;
  transition: all 0.1s linear;
  -webkit-transition: all 0.1s linear;
  opacity:1;
}
.common_sns ul{
  margin:0;
}
.common_sns i{
  line-height:45px;
}

nav.menu_bar .common_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:600px;
  top:-800px;
  left:0;
  background: #032718;
  z-index: 90;
  overflow: hidden;
  display: block;
  padding:105px 50px 20px 50px;
}

@keyframes show-overlay{
    0%{
        opacity: 0;
        height:0;
    }
    1%{
        height:100vh;
    }
    100%{
        opacity: 1;
        height:100vh;
    }
}
@keyframes hide-overlay{
    0%{
        opacity: 1;
        height:100vh;
    }
    99%{
        height:100vh;
    }
    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{
  width:0;
  height:100vh;  
  animation: show-overlay 1s ease-out;
  animation-fill-mode:forwards;
}

.overlay div{
  width:100%;
  height:100%;
  position: fixed;
  z-index: 89;
  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:1rem;
  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: 44.5%;
  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: 99;
}

#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;
  margin: 0;
  padding: 0;
}

#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:30px;
  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;
}

.footer--pc{
  margin-top: 40px;
}

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

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

.banners [class^="grid"]:last-child{
  /*padding:0 4px 0 20px;*/
}

#common_banners{
  padding:0 50px;
}

#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;
}

  /* 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.1rem;
  height: 1.1rem;
  text-align: center;
  line-height: 1.7;
  font-size: 0.7rem;
  font-weight: 600;
  color: white;
  background: #fc0100;
  z-index: 1000;
  border-radius: 50%;
  border: #033a22 3px solid;
  display: block;
  text-indent: -1px;
}

@media screen and (max-width: 640px) {
  #common_header nav{
    width:200%;
    transform:scale(0.5) translate3d(0, 0, 0);
    transform-origin: left top;
  }

  #common_footer>div{
    width:200%;
    /* height:0; */
    transform:scale(0.5) translate3d(0, 0, 0);
    transform-origin: left top;
  }

  [data-new]::after{
    content:url(../img/menu/icon_new-sp.png);
  }

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

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

  .dot{
    background:none;
  }

  #bar.fixed{
    height:90px;
  }
  .menu-trigger{
    top:26px;
  }

  nav.menu_bar .common_sns{
    right:15px;
    width:27%;
    top:25px;
  }

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

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

  #social_links{
    height: 175px;
  }

  #social_links ul{
    width: 321px;
  }

  #menu{
    top:-1000px;
    height:100vh;
    padding: 130px 20px 0;
    transition: top 0.2s ease-out;
    -webkit-transition: top 0.2s ease-out;
  }
  .menu_box {
    top: 480px;
  }
  #menu .backtotop {
    top: 94%;
  }
}
/*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: 10px 70px;
    background: #003f21;
    border-radius: 50px;
  }
  #menu .backtotop a{display: inline-block;}
  .backtotop > p > a:hover{
    font-size: 16px !important;
    opacity: 0.8;
  }

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