@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);

/****** 共通 ******/
a {
  text-decoration: none;
  box-shadow: none;
  color: #DC4B8A;
}

#allpage {
    font-family: "Noto Sans JP", sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    color: #29262b;
    margin: 0;
    padding: 0;

}

@media screen and (min-width:320px) { 
    /*　画面サイズが480pxからはここを読み込む　*/
    .webp #allpage {
        background-image: url("../img/bg_sp.webp") ;
    }
    .no-webp#allpage  {
        background-image: url("../img/bg_sp.jpg") ;
    }

}
@media screen and (min-width:768px) {
    /*　画面サイズが768pxはここを読み込む　*/
    .webp #allpage {
        background-image: url("../img/bg.webp") ;
    }
    .no-webp #allpage  {
        background-image: url("../img/bg.jpg") ;
    }

}

.header-logo, h2, h3, h4, h5 {
  font-family: "Noto Sans JP", sans-serif;
 }

 html { scroll-behavior: smooth;}

/****** header ******/

header {
    margin: 0;
    background: #383D53;
    padding: 10px;
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    z-index: 100;
    overflow:hidden;
}
header .header-logo{
    margin: 0; 
    padding: 0;
    flex-flow: row wrap;
    width: 380px;
}

@media screen and (min-width:320px) { 
    /*　画面サイズが480pxからはここを読み込む　*/
    .webp #allpage {
        background-image: url("../img/bg_sp.webp") ;
    }
    .no-webp #allpage  {
        background-image: url("../img/bg_sp.jpg") ;
    }
}

@media screen and (min-width:768px) {
    /*　画面サイズが768pxはここを読み込む　*/
    .webp #allpage {
        background-image: url("../img/bg.webp") ;
    }
    .no-webp #allpage  {
        background-image: url("../img/bg.jpg") ;
    }
}

header nav{
    margin: 0 0 0 auto;
}

.nav-pc {
    display: flex;
    flex-flow: row wrap;
}

.nav-pc li {
    list-style: none;
    padding: 10px 8px;
    font-size: 0.9em;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 800;
}

.nav-pc li a,
#nav-mobile li a{
    text-decoration: none;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all  0.3s ease;
}

.nav-pc li a{
    color: #F2F2F2;
}

#nav-mobile li a{
    color: #383D53;
    font-weight: 800;
}

.nav-pc li a:hover,
#nav-mobile li a:hover{
    text-decoration: none;
    color: #DC4B8A;
}
footer ul {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;

}

footer ul li {
    list-style: none;
    padding: 10px 8px;
    font-size: 0.8em;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 800;
    color: #29262B;
}

footer ul li a {
    text-decoration: none;
    color: #F2F2F2;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all  0.3s ease;
}

footer ul li a:hover{
    text-decoration: none;
    color: #DC4B8A;
}

footer ul li a:before{
    padding: 6px 2px 0px 4px;
}

/****** ハンバーガーメニュー *********/

.nav-pc{
     display:none;    
}

footer{
    display: none;
}


@media screen and (min-width:767px) {
   #nav-drawer {
     display:none;
   }

.nav-pc {
    display: flex;
    flex-flow: row wrap;
}



header .header-logo{
    margin: 0; 
    padding: 0;
    flex-flow: row wrap;
    width: 380px;
}



footer {
    bottom: 0;
    background: #383D53;
    width: 100%;
    display: block;
    position: sticky;
}


}


header .header-logo{
    margin: 0; 
    padding: 0;
    flex-flow: row wrap;
    width: 380px;
}


 }

#nav-drawer {
  position: relative;
}

/*チェックボックス等は非表示に*/
.nav-unshown {
  display:none;
}

/*アイコンのスペース*/
#nav-open {
  display: inline-block;
  width: 30px;
  height: 22px;
  vertical-align: middle;
}

/*ハンバーガーの形をCSSで表現*/
#nav-open span, #nav-open span:before, #nav-open span:after {
  position: absolute;
  height: 3px;/*線の太さ*/
  width: 25px;/*長さ*/
  border-radius: 3px;
  background: #fff;
  display: block;
  content: '';
  cursor: pointer;
}
#nav-open span:before {
  bottom: -8px;
}
#nav-open span:after {
  bottom: -16px;
}

/*閉じる用の薄黒箇所*/
#nav-close {
  display: none;
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0;
  transition: .3s ease-in-out;
}

/*メニューの中身*/
#nav-mobile {
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 90%;
  max-width: 250px;/*最大幅（お好みで調整を）*/
  height: 100%;
  background: #F2F2F2;
  transition: .3s ease-in-out;
  -webkit-transform: translateX(-105%);
  transform: translateX(-105%);
}

#nav-mobile li{
    list-style: none;
    padding: 10px 8px;
}

#nav-mobile .caption{
    color: #383D53;
    padding-right: 30px;
}

/*チェックがついたら表示させる*/
#nav-input:checked ~ #nav-close {
  display: block;
  opacity: .5;
}

#nav-input:checked ~ #nav-mobile {
  -webkit-transform: translateX(0%);
  transform: translateX(0%);
  box-shadow: 6px 0 25px rgba(0,0,0,.15);
}

.header-logo-menu{
 display: flex;
 display: -moz-flex;
 display: -o-flex;
 display: -webkit-flex;
 display: -ms-flex;
 flex-direction: row;
 -moz-flex-direction: row;
 -o-flex-direction: row;
 -webkit-flex-direction: row;
 -ms-flex-direction: row;
}

/*ロゴやサイトタイトルをセンタリング*/
.logo-area{text-align:center;margin:auto;}



.caption {
    font-size: 8px;
    font-weight: normal;
    color: #F2F2F2;

}

/*lazyloadのフェードイン*/
.lazyload, .lazyloading {
    opacity: 0;
}
.lazyloaded {
    opacity: 1;
    transition: opacity 1000ms;
}
 