/* ヘッダーのナビ部分 */
.header__nav {
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 50px;
  transform: translateX(100%);
  background-color: #333;
  transition: ease .4s;
  justify-content:space-between;
  padding: 5px 0;
}
/* ハンバーガーメニュークリック後のスタイル */
.header__nav.active {
  transform: translateX(0);
}

/*==================================================
　5-2-8 3本線が横方向に回転して×に
===================================*/

/*ボタン外側※レイアウトによってpositionや形状は適宜変更してください*/
.openbtn8{
  margin-top: 8px;
  position: relative;/*ボタン内側の基点となるためrelativeを指定*/
  /*background:#EC6015;*/
  cursor: pointer;
    width: 50px;
    height:50px;
  border-radius: 5px;
  display: none;
  transform: scale(0.8);
}

/*ボタン内側*/
.openbtn8 .openbtn-area{
  transition: all .6s;/*アニメーションの設定*/
  width:50px;
  height:50px;
}

.openbtn8 span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
  background: #fff;
    width: 45%;
  }

.openbtn8 span:nth-of-type(1) {
  top:15px; 
}

.openbtn8 span:nth-of-type(2) {
  top:23px;
}

.openbtn8 span:nth-of-type(3) {
  top:31px;
}

/*activeクラスが付与されると .openbtn-areaが360度回転し、その中の線が回転して×に*/
.openbtn8.active .openbtn-area{
  transform: rotate(360deg);
}

.openbtn8.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn8.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn8.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}

/* 全体 */
*:before, *:after {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
  }
  
  body {
    font-family: sans-serif;
    /*font-size: 85%;*/
    /*line-height: 2em;*/
    background-color: #eee;
    color: #333;
    text-align: center;
    overflow: scroll;
    margin: 0;
  }
  body a, body a:visited {
    color: #999;
    text-decoration: none;
  }
  body a:hover {
    color: #777;
  }
  .contents_area{
    min-width: 300px;
    width: 30%;
    margin: auto;
    font-family: "Rounded Mplus 1c";
    text-align: left;
  }

  footer {
    font-size: 65%;
    font-weight: bold;
  }

  
  h1 {
    font-size: 28px;
    /*margin: 20px 40px;*/
  }

  .header_logo {
    /*margin: auto 0 auto 5.2%;*/
    margin: 16px 0 auto 5.2%; 
  }
  .header_logo img {
    height: 1.9em;
  }
  
  .control_all{
    width: 50%;
  }

  .filter-controls {
    text-align: center;
    margin-bottom: 30px;
    /*background-color: #666;*/
  }
  .filter-controls .control {
    display: inline-block;
    /*width: 180px;
    margin: 0 10px;*/
    max-width: 220px;
    width: 28%;
    margin: 0 0.3%;
  }
  .filter-controls .control * {
    box-sizing: border-box;
  }
  .filter-controls .control .form-control {
    width: 100%;
    height: 30px;
    padding: 0 20px;
    border: 2px solid #333;
    border-radius: 20px;
    background-color: #fff;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
  }
  .filter-controls .control .form-control:focus {
    outline: 0;
    border-color: #0099ff;
  }

  .control_title {
    font-size: 0.75em;
  }
  
  .grid {
    position: relative;
    max-width: 90%;
    margin: 0 auto;
  }
  
  .item {
    display: block;
    position: absolute;
    /*width: 33%;/*横並びで3つ表示*/
    /*width: 24.3%;/*横並びで4つ表示*/
    width: 19.3%;/*横並びで5つ表示*/
    padding:0 5px 10px 5px;/*画像に余白をつける*/
    z-index: 1;
    /*
    position: absolute;

    width: 200px;
    height: 200px;
    
    margin: 5px;
    z-index: 1;
    transition: transform 0.6s ease;
    cursor: move;
    */
  }
  .item.blue .custom-content {
    border-color: #0CAAF5;
    color: #0CAAF5;
  }
  .item.red .custom-content {
    border-color: #F54487;
    color: #F54487;
  }
  .item.green .custom-content {
    border-color: #00DE73;
    color: #00DE73;
  }
  .item.w2 {
    width: 410px;
  }
  .item.h2 {
    height: 410px;
  }
  
  .item-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: table;
  }

  /*画像の横幅を100%にしてレスポンシブ化*/
.grid img{
    width:100%;
    height:auto;
    vertical-align: bottom;/*画像の下にできる余白を削除*/
    border-radius: 10px;
  }
  
  .custom-content {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    background: #fff;
    color: #666;
    border: 2px solid;
    border-radius: 3px;
  }
  
  .item.muuri-item-dragging {
    z-index: 3;
    transition: none;
  }
  
  .item.muuri-item-releasing {
    z-index: 2;
  }
  

/*横幅が1500px以下になった際の指定*/
@media only screen and (max-width: 1500px) {
    .item {
      /*横並びで4つ表示*/
      width: 24%;
      padding: 0 5px 10px 5px;
    }

    #top_logo {
      display: none;
    }
    #g-navi {
      display: none;
    }
    .control_all{
      width: 100%;
    }
    .openbtn8{
      display: inline;
    }

    .header_logo {
      margin: 20px 0 auto 5.2%; 
    }
    .header_logo img {
      height: 1.4em;
    }

    }

/*横幅が1000px以下になった際の指定*/
@media only screen and (max-width: 1000px) {
  .item {
    /*横並びで3つ表示*/
    width: 31.8%;
    padding: 0 5px 10px 5px;
  }
/*
  #top_logo {
    display: none;
  }
  #g-navi {
    display: none;    
  }
  .control_all{
    width: 100%;
  }
  .openbtn8{
    display: inline;
  }
  */
  }

/*横幅が800px以下になった際の指定*/
@media only screen and (max-width: 800px) {
  .item {
    /*横並びで3つ表示*/
    width: 31.3%;
    padding: 0 5px 10px 5px;
  }
}

/*横幅が400px以下になった際の指定*/
@media only screen and (max-width: 400px) {
  .item {
    width: 47%;/*横並びで2つ表示*/
    padding: 0 5px 10px 5px;
  }
}
    
/*
  @media (max-width: 877px) {
    .item {
      width: calc(33.33% - 11px);
      height: calc(33.33vw - 11px);
    }
    .item.w2 {
      width: calc(33.33% - 11px);
    }
    .item.h2 {
      height: calc(33.33vw - 11px);
    }
  }
  @media (max-width: 640px) {
    .item {
      width: calc(50% - 10px);
      height: calc(50vw - 10px);
    }
    .item.w2 {
      width: calc(50% - 10px);
    }
    .item.h2 {
      height: calc(50vw - 10px);
    }
  }
*/

/*＝＝＝fancyboxサムネイル背景と画像選択時の枠線の指定*/
.fancybox-thumbs {
    background: transparent!important;
}

.fancybox-thumbs__list a:before {
    border: 6px solid #FA999B;
}

/*
.fancybox-navigation {
  display: none;
}
*/


/*==ヘッダーのテキストナビゲーションの形状*/
header {
  /*position: fixed;*/
  width: 100%;
  height: 50px;
  top: 0;
  z-index: 10000;
  display:flex;
  background: #333;
  color: #eee;
  /*padding: 0 20%;*/
  justify-content:space-between;
  /*padding: 5px 40px;*/
  padding: 5px 0;
}

#ham-g-navi ul{
  /*margin-left: auto;
  margin-right: auto;*/
  /*margin-left: 0;*/
  padding-left: 0px;
  padding-right: 10px;
  justify-content: center;
}

.edge-g-navi{
  margin-right: 5%;
  /*margin: auto 5% auto 0;*/
}

.cls-g-navi{
margin-top: 2px;
font-size: 0.8em;
}

.cls-g-navi ul{
  list-style: none;
  display: flex;
  /*justify-content: center;*/
}

.cls-g-navi ul li a{
  display: block;
  text-decoration: none;
  color: #eee;
  padding: 10px;
}

.cls-g-navi ul li.current a,
.cls-g-navi ul li a:hover{
  color:#fff; 
}

/* loading spinner */
@keyframes fadeOut {
  from {
      opacity: 1;
  }
  to {
      display: none;
      opacity: 0;
      z-index: -1;
  }
}

#loader {
  width: 100%;
  /*height: 100vh;
  background-color: #00c2bc;
   環境によって「z-index」追加 */
}
/* 読み込み完了後に「loaded」を付与する */
#loader.loaded {
  /*animation: fadeOut 1s forwards;*/
  display: none;
}

.sk-circle {
  margin: 100px auto;
  width: 40px;
  height: 40px;
  position: relative;
}
.sk-circle .sk-child {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}
.sk-circle .sk-child:before {
  content: '';
  display: block;
  margin: 0 auto;
  width: 15%;
  height: 15%;
  background-color: #333;
  border-radius: 100%;
  -webkit-animation: sk-circleBounceDelay 1.2s infinite ease-in-out both;
          animation: sk-circleBounceDelay 1.2s infinite ease-in-out both;
}
.sk-circle .sk-circle2 {
  -webkit-transform: rotate(30deg);
      -ms-transform: rotate(30deg);
          transform: rotate(30deg); }
.sk-circle .sk-circle3 {
  -webkit-transform: rotate(60deg);
      -ms-transform: rotate(60deg);
          transform: rotate(60deg); }
.sk-circle .sk-circle4 {
  -webkit-transform: rotate(90deg);
      -ms-transform: rotate(90deg);
          transform: rotate(90deg); }
.sk-circle .sk-circle5 {
  -webkit-transform: rotate(120deg);
      -ms-transform: rotate(120deg);
          transform: rotate(120deg); }
.sk-circle .sk-circle6 {
  -webkit-transform: rotate(150deg);
      -ms-transform: rotate(150deg);
          transform: rotate(150deg); }
.sk-circle .sk-circle7 {
  -webkit-transform: rotate(180deg);
      -ms-transform: rotate(180deg);
          transform: rotate(180deg); }
.sk-circle .sk-circle8 {
  -webkit-transform: rotate(210deg);
      -ms-transform: rotate(210deg);
          transform: rotate(210deg); }
.sk-circle .sk-circle9 {
  -webkit-transform: rotate(240deg);
      -ms-transform: rotate(240deg);
          transform: rotate(240deg); }
.sk-circle .sk-circle10 {
  -webkit-transform: rotate(270deg);
      -ms-transform: rotate(270deg);
          transform: rotate(270deg); }
.sk-circle .sk-circle11 {
  -webkit-transform: rotate(300deg);
      -ms-transform: rotate(300deg);
          transform: rotate(300deg); }
.sk-circle .sk-circle12 {
  -webkit-transform: rotate(330deg);
      -ms-transform: rotate(330deg);
          transform: rotate(330deg); }
.sk-circle .sk-circle2:before {
  -webkit-animation-delay: -1.1s;
          animation-delay: -1.1s; }
.sk-circle .sk-circle3:before {
  -webkit-animation-delay: -1s;
          animation-delay: -1s; }
.sk-circle .sk-circle4:before {
  -webkit-animation-delay: -0.9s;
          animation-delay: -0.9s; }
.sk-circle .sk-circle5:before {
  -webkit-animation-delay: -0.8s;
          animation-delay: -0.8s; }
.sk-circle .sk-circle6:before {
  -webkit-animation-delay: -0.7s;
          animation-delay: -0.7s; }
.sk-circle .sk-circle7:before {
  -webkit-animation-delay: -0.6s;
          animation-delay: -0.6s; }
.sk-circle .sk-circle8:before {
  -webkit-animation-delay: -0.5s;
          animation-delay: -0.5s; }
.sk-circle .sk-circle9:before {
  -webkit-animation-delay: -0.4s;
          animation-delay: -0.4s; }
.sk-circle .sk-circle10:before {
  -webkit-animation-delay: -0.3s;
          animation-delay: -0.3s; }
.sk-circle .sk-circle11:before {
  -webkit-animation-delay: -0.2s;
          animation-delay: -0.2s; }
.sk-circle .sk-circle12:before {
  -webkit-animation-delay: -0.1s;
          animation-delay: -0.1s; }

@-webkit-keyframes sk-circleBounceDelay {
  0%, 80%, 100% {
    -webkit-transform: scale(0);
            transform: scale(0);
  } 40% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}

@keyframes sk-circleBounceDelay {
  0%, 80%, 100% {
    -webkit-transform: scale(0);
            transform: scale(0);
  } 40% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}

