﻿@charset "utf-8";

/*----------------------------------------------------------------
* Layout
----------------------------------------------------------------*/
#index .wrapper{
  max-width: 1260px;
}

#index .sec-title{
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  margin: 75px 0 17px;
}
#index .sec-title.top{
  margin-top: 59px;
}
#index .sec-title.cat{
  margin: 68px 0 36px;
}

#index .tag-title{
  font-size: 21px;
  text-align: center;
  margin: 18px 0 40px;
}

a{
  color: #000;
  text-decoration: none;
}

@media screen and (max-width: 740px){
  #index .sec-title{
    margin: 59px 0 6px;
  }
  #index .sec-title.top{
    margin-top: 38px;
  }
  #index .sec-title.cat{
    margin: 40px 0 25px;
  }

  #index .tag-title{
    margin: 17px 0 31px;
    font-size: 16px;
    line-height: 1.5;
  }
}


/*----------------------------------------------------------------
* Main Box
----------------------------------------------------------------*/
#index .main-box .main-view{
  max-width: none;
  background: url(../img/index/main-ph.jpg) no-repeat center top;
  background-size: cover;
}
#index .main-box .main-view::after{
  content: "";
  display: block;
  padding-top: 40.263543%;
}

#index .main-box p{
  position: relative;
  display: block;
  max-width: 1100px;
  height: 0;
  margin: 0 auto;
}
#index .main-box p img{
  position: absolute;
  top: -91px;
  left: 0;
}

@media screen and (max-width: 740px){
  #index .main-box .main-view{
    background: url(../img/index/main-ph-sp.jpg) no-repeat center top;
    background-size: cover;
  }
  #index .main-box .main-view::after{
    padding-top: 60%;
  }

  #index .main-box p img{
    top: -43px;
    left: 12px;
  }
}


/*----------------------------------------------------------------
* Tag Item
----------------------------------------------------------------*/
.tag-item-wrap{
  position: relative;
  max-width: 800px;
  /* height: 60px; */
  text-align: center;
  margin: 0 auto;
  overflow: hidden;
  -webkit-transition: height .8s;
  transition: height .8s;
}
.tag-item-open{
  height: auto;
}

.tag-item{
}

.tag-item li{
  display: inline-block;
}
.tag-item li a{
  display: block;
  text-align: left;
  background: #d9d9d9;
  margin: 10px;
  padding: 10px 13px;
}

.tag-more{
  text-align: center;
  padding-top: 14px;
}

@media screen and (max-width: 740px){
  .tag-item-wrap{
    /* height: 146px; */
  }

  .tag-item li a{
    font-size: 10px;
    margin: 5px 5px;
    padding: 8px 8px 7px;
  }
}


/*----------------------------------------------------------------
* Category Item
----------------------------------------------------------------*/
.category-item{
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  align-items: center;
  max-width: 500px;
  margin: 80px auto 62px;
}

.category-item a{
  display: block;
  font-weight: bold;
  padding: 9px 11px 9px 12px;
  transition: all .3s;
}
.category-item a:not(.current):hover{
  background: #d9d9d9;
  opacity: 1;
}
.category-item a img{
  -webkit-animation: none !important;
  animation: none !important;
}
.category-item a .bl{
  display: inherit;
}
.category-item a .wh{
  display: none;
}

.category-item a.current{
  background: #cc2c76;
}
.category-item a.current .bl{
  display: none;
}
.category-item a.current .wh{
  display: inherit;
}

@media screen and (max-width: 740px){
  .category-item{
    max-width: none;
    margin: 70px 17px 40px;
  }
}


/*----------------------------------------------------------------
* Thumb Box
----------------------------------------------------------------*/
.thumb-box{
}

.thumb-box li{
  float: left;
  display: block;
  width: 23.80952%;
  max-width: 300px;
  padding-left: 1.5873%;
  visibility: hidden;
}
.thumb-box.on li{
  -webkit-animation-fill-mode: both;
  -ms-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-duration: 1s;
  -ms-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-name: fade-in-thumb;
  animation-name: fade-in-thumb;
  visibility: visible !important;
}
@-webkit-keyframes fade-in-thumb{
  0%{ opacity: 0; }
  100%{ opacity: 1; }
}
@keyframes fade-in-thumb{
  0%{ opacity: 0; }
  100%{ opacity: 1; }
}

.thumb-box li:nth-of-type(1),
.thumb-box li:nth-of-type(4n+1){
  clear: both;
  margin-left: -1.5873%;
}
.thumb-box li:nth-of-type(n+5){
  margin-top: 38px;
}

.thumb-box li a{
  display: block;
  color: #000;
  text-align: center;
  text-decoration: none;
}

.thumb-box li strong{
  /* display: block; */
  display: none;
  text-align: center;
  margin: 7px 0 4px;
}

.thumb-box li p{
  height: 4.5em;
  padding-top: 16px;
}

@media screen and (max-width: 990px){
  .thumb-box li{
    width: 32.27513%;
    max-width: 406px;
  }

  .thumb-box li:nth-of-type(4n+1){
    clear: none;
    margin-left: inherit;
  }

  .thumb-box li:nth-of-type(1),
  .thumb-box li:nth-of-type(3n+1){
    clear: both;
    margin-left: -1.5873%;
  }
  .thumb-box li:nth-of-type(n+4){
    margin-top: 38px;
  }
}

@media screen and (max-width: 740px){
  .thumb-box li{
    float: none;
    width: 100%;
    max-width: none;
    padding-left: 0;
  }
  .thumb-box li:nth-of-type(1),
  .thumb-box li:nth-of-type(4n+1){
    margin-left: 0;
  }
  .thumb-box li:nth-of-type(n+2){
    margin-top: 15px;
  }

  .thumb-box li strong{
    margin: 12px 0 4px;
    display: none;
  }

  .thumb-box li p{
    height: auto;
    min-height: 4.5em;
  }
}
