/*$hoverEasing: cubic-bezier(0.23, 1, 0.32, 1);
$returnEasing: cubic-bezier(0.445, 0.05, 0.55, 0.95);*/
html {
  font-size: 62.5%;
}
body {
  margin: 0;
  font-family: YuGothic, sans-serif;
  font-size: 14px;
  font-weight: 500;
  background-color: #060606;
  -webkit-font-smoothing: antialiased;

  color: #fefefe;

  top: 0;
  right: 0;
  left: 0;
  margin: 0 auto;
}

body::before {
  content: "";
  display: block;
  position: fixed;
  top: 0;
  z-index: -1;
  width: 100%;
  height: 100vh;
  background-image: url(../images/bg.jpg);
  background-repeat: no-repeat;
  background-position: center top 15%;
  background-size: cover;
}

body.loading {
  position:fixed;
}

button:focus{ 
  outline: none; 
}

.main {
  /*カードの動きの仕様的に親要素をposition relative
  にできない*/
  min-height: 100%;
}

img {
  width: 100%;
}


/*
.title {
  font-family: "Raleway";
  font-size: 24px;
  font-weight: 700;
  color: #5D4037;
  text-align: center;
	opacity:0;
	
	position:absolute;
	top:calc(50% - 1em);
	
	width:100%;
	z-index:1;
}*/
p {
  line-height: 1.5em;
}

.catch_area {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100vh;
  z-index: 2;
}

.catch {
  max-width: 1000px;
  margin: 0 auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  left: 0;
  z-index: 1;
  opacity: 0;
  /**/
  pointer-events: none;
}

.card h1,
.card p {
  margin: 0;
}

.card_container {
  padding: 40px 40px 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  opacity:0;
  /**/
}

.card-wrap {
  margin: 10px;
  transform: perspective(800px);
  transform-style: preserve-3d;
  cursor: pointer;
  /* background-color: #fff;*/
}

.card-wrap:hover .card-info {
  transform: translateY(0);
  bottom: 0;
}

.card-wrap:hover .card-info p {
  opacity: 1;
}

.card-wrap:hover .card-info,
.card-wrap:hover .card-info p {
  transition: 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.card-wrap:hover .card-info:after {
  transition: 5s cubic-bezier(0.23, 1, 0.32, 1);
  opacity: 1;
  transform: translateY(0);
}

.card-wrap:hover .card-bg {
  transition: 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  opacity: 5s cubic-bezier(0.23, 1, 0.32, 1);
  opacity: 0.8;
}

.card-wrap:hover .card {
  transition: 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 2s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: rgba(255, 255, 255, 0.2) 0 0 40px 5px, white 0 0 0 1px, rgba(0, 0, 0, 0.66) 0 30px 60px 0, inset #333 0 0 0 5px, inset white 0 0 0 6px;
}

.card {
  position: relative;
  flex: 0 0 240px;
  width: 240px;
  height: 320px;
  background-color: #333;
  overflow: hidden;
  border-radius: 10px;
  box-shadow:
    rgba(black, 0.66) 0 30px 60px 0, inset #333 0 0 0 5px, inset rgba(white, 0.5) 0 0 0 6px;
  transition: 1s cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

.card-bg {
  opacity: 0.5;
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  padding: 20px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  transition: 1s cubic-bezier(0.445, 0.05, 0.55, 0.95);
  opacity: 5s 1s cubic-bezier(0.445, 0.05, 0.55, 0.95);
  pointer-events: none;
}

.card-info {
  padding: 20px;
  position: absolute;
  /*bottom: 0;
  bottom: -40px;*/
  bottom: -25px;
  color: #fff;
  /*transform: translateY(40%);
  transform: translateY(0%);*/
  transform: translateY(12%);
  transition: 0.6s 1.6s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.card-info h1 {
  font-family: "Playfair Display";
  font-size: 34px;
  font-weight: 700;
  text-shadow: rgba(black, 0.5) 0 10px 10px;
  line-height: 1.3;
}

.splide__slide:first-child .card h1,
.splide__slide:nth-child(5) .card h1,
.splide__slide:nth-child(7) .card h1 {
  margin-top: 8em;
}

.splide__slide:nth-child(2) .card h1,
.splide__slide:nth-child(6) .card h1 {
  margin-top: 2em;
}

.splide__slide:nth-child(8) .card h1,
.splide__slide:nth-child(9) .card h1,
.splide__slide:nth-child(10) .card h1,
.splide__slide:nth-child(11) .card h1 {
  margin-top: 3em;
}

.about .card h1 {
  margin-top: 37em;
}

.about:hover .card-bg {
  filter: brightness(50%);
}

.card-info p {
  opacity: 0;
  text-shadow: rgba(black, 1) 0 2px 3px;
  transition: 0.6s 1.6s cubic-bezier(0.215, 0.61, 0.355, 1);
  position: relative;
  z-index: 1;
  margin-top: 10px;
}

.card-info:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to bottom, transparent 0%, rgba(#000, 0.6) 100%);
  background-blend-mode: overlay;
  opacity: 0;
  transform: translateY(100%);
  transition: 5s 1s cubic-bezier(0.445, 0.05, 0.55, 0.95);
}


/*スライダー*/

.splide {}

.splide__track {}

.splide__list {}

.splide__slide {
  height: auto !important;
}

.splide__slide img {
  width: 100%;

}

/*===モーダル表示のためのcss　*/
/*
.hide-area{モーダル表示をする場所をあらかじめ隠す
	display: none;
}
.modaal-container {
	background:none!important;
}*/
/*
.modaal-fullscreen .modaal-content-container{full画面の色設定
	color: #fff;
	text-align: center;
	height: 100%;
    min-height: 100vh;
}*/
/*
.modaal-fullscreen .modaal-close{ボタンの色、位置
	background: none!important;
    right: 20px!important;
    top: 10px!important;
}*/

/*クローズボタンの×の色変更
.modaal-close:focus:after,
.modaal-close:focus:before,
.modaal-close:hover:after,
.modaal-close:hover:before{
	background:#666;
}*/

/*キャプション*/
.caption {
  display: block;
  padding: 10px 5px;
  padding-bottom:30px;

}
.gallery_inner p:last-child .caption {
  padding-bottom:90px;
}

.modaal-content-container img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  
}

/*ギャラリー*/
body.fixed {
  overflow: hidden;
}

.gallery_area {
  width: 100%;
  height:100%;
  opacity: 0;
  position: fixed;
  top: 0;
  z-index:1;
}

.gallery_container {
  width: 100%;
  height: 100vh;
  position: relative;
  z-index: 2;
  overflow-y:scroll;
  background: rgba(0, 0, 0, 0.8);
}

.gallery_inner {
  max-width:1000px;
  margin:0 auto;
  position:relative;
  z-index: 3;
  height: 100vh;
}

.gallery_container p {
  margin:0;
}

/*ブック
.book_box {
	
}
*/


.arrow_right,
.arrow_left {
  cursor: pointer;
  background: #fefefe;
}

.arrow_right {
  box-sizing: border-box;
  position: relative;
  width: 22px;
  height: 22px;
  border: 2px solid #6e6e6e;
  border-radius: 4px;
  transform: scale(1.5);
  margin-left: 15px;
}

.arrow_right::after,
.arrow_right::before {
  content: "";
  display: block;
  box-sizing: border-box;
  position: absolute;
  height: 8px;
  top: 5px;
}

.arrow_right::before {
  width: 2px;
  border-radius: 2px;
  left: 11px;
  background: #060606;
}

.arrow_right::after {
  width: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 5px solid #060606;
  left: 5px;
}

.arrow_left {}

.arrow_left {
  box-sizing: border-box;
  position: relative;
  width: 22px;
  height: 22px;
  border: 2px solid #6e6e6e;
  border-radius: 4px;
  transform: scale(1.5);
  margin-right: 15px;
}

.arrow_left::after,
.arrow_left::before {
  content: "";
  display: block;
  box-sizing: border-box;
  position: absolute;
  height: 8px;
  top: 5px;
}

.arrow_left::before {
  width: 2px;
  border-radius: 2px;
  right: 11px;
  background: #060606;
}

.arrow_left::after {
  width: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-right: 5px solid #060606;
  right: 5px;
}

.close {
  position: fixed;
  right: 20px;
  top: 20px;
  color: #fff;
  cursor: pointer;
  opacity: 1;
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0);
  border-radius: 100%;
  transition: all .2s ease-in-out;
  z-index: 3;
}

.close::before {
  display: block;
  content: " ";
  position: absolute;
  top: 10px;
  left: 23px;
  width: 2px;
  height: 32px;
  border-radius: 4px;
  background: #fff;
  transition: background .2s ease-in-out;
  transform: rotate(-45deg);
}

.close::after {
  display: block;
  content: " ";
  position: absolute;
  top: 10px;
  left: 23px;
  width: 2px;
  height: 32px;
  border-radius: 4px;
  background: #fff;
  transition: background .2s ease-in-out;
  transform: rotate(45deg);
}

.overlay {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  position: fixed;
  top: 0;
  left: 0;
  z-index:2;
}

.overlay.nopoints,.book_area.nopoints,.gallery_area.nopoints {
  pointer-events: none;
}

.book_area {
  opacity: 0;

  height: 100vh;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
}

.book_container {
  /*position:absolute;
	top:50%;
	transform:translateY(-50%);
	right:0;
	left:0;
	margin:0 auto;*/


}

.flipbook {
  width: 70vw;
  height: 70vh;
  margin: 0 auto;
  position: relative;

  position: absolute;
  /*top: calc(50% - 47px);*/
  top:50%;
  transform: translateY(-50%);
  right: 0;
  left: 0;
  z-index:2;
  padding-bottom:47px;
}

.flipbook-head {
  text-align: center;
  /*margin-bottom: 20px;*/
  position:absolute;
  bottom:0;
  right:0;
  left:0;
  margin:0 auto;
}


.modal-search {
  position: fixed;
  z-index: 9998;
  text-align: center;
  background: rgba(0, 0, 0, 0.8);
  overflow: hidden;
  width: 100%;
  top: 0;
  min-height: 100vh;

}

.modal-search:last-of-type {
  background: rgba(0, 0, 0, 0.8);
}

.modal-search:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.modal-search .modal-search-content {
  position: absolute;
  top: 20%;
  transform: translateY(-20%);
  right: 0;
  left: 0;
  margin: auto;
  /* max-width: 1000px;*/
  height: 50vh;
}

.modal-search .modal-search-inner {
  display: block;
}

.modal-search .search-close {
  position: absolute;
  z-index: 9999;
  top: -50px;
  right: 8px;
  line-height: 25px;
  width: 25px;
  cursor: pointer;
  text-align: center;
  font-size: 1.6rem;
  background: transparent;
  color: #fff;
  border: none;
  padding: 0;
  transition: .13s;
  pointer-events: auto;
}

.search-close:hover {
  opacity: .8;
}

.search-box {
  /* max-width: 600px;*/
  z-index: 10001;
  position: relative;
}

/*設置店検索エンド*/


/*設置店検索 PC
  .modal-search {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    white-space: nowrap;
    overflow: auto;
    height: auto;
    transform: none;
  }
  .modal-search .modal-search-content {
    position: relative;
    text-align: left;
    vertical-align: middle;
    display: inline-block;
    background: transparent;
    cursor: auto;
    white-space: normal;
    margin: 50px 0;
    top: auto;
    transform: none;
    width: auto;
    max-width: auto;
  }
  .search-box {
    width: 600px;
    height: 424px;
  }*/
/*設置店検索end*/

.count {
  position: relative;
  width: 100%;
  height: 1.5em;

  margin-bottom:50px;
}

.count_container {
  position: absolute;
  width: 180px;
  top: 0;
  right: 0;
  left: 0;
  margin: 0 auto;
  opacity:0;
  height:1.5em;
  display: flex;
  align-items: center;
  /*
 background:rgba(0,0,0,0.6);
  height: 100px;*/
}

.ico_star {
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  left: 150px;

  background:#fefefe;
  padding:0 5px;
  border-radius: 2px;
  color:#060606;
}
.ico_star::after {
  position: absolute;
    top: 5px;
    left:-10px;
    height: 0;
    width: 0;
    border: solid transparent;
    content: "";
}
.ico_star:after{

  border-color: transparent;
  border-right-color: #fefefe;
  border-width: 5px;
}


.btn_count {
  /*background-image: url(../images/star.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  content: "\661f\3092\304b\305e\3048\308b";*/
  width: 90px;
  height: 1.5em;
  position: absolute;
  left:1.5em;
  filter: brightness(60%);
  cursor: pointer;
  padding-left:1.5em;
  margin:0;
  border: 1px solid;
  border-radius:4px;
  background-color:rgba(0,0,0,.2);
}

.btn_count::before {
  position: absolute;
  display: block;
  content:"";
  top: 50%;
  transform: translateY(-50%);
  left: .25em;
  width:1em;
  height:1em;
  background:#fefefe;
  clip-path: polygon(50% 5%, 61% 40%, 98% 40%, 68% 62%, 79% 96%, 50% 75%, 21% 96%, 32% 62%, 2% 40%, 39% 40%);
}
/*
.btn_count::after {
  display: block;
  content: "\661f\3092\304b\305e\3048\308b";
  width: 100px;
  height: 1.5em;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -70px;
}*/

.btn_count.on{
  filter: brightness(100%);
  filter:drop-shadow(0 0 3px #fefefe);
}
.btn_count.on::before {
  background:#fefefe;
}

/*
.word {
  position:absolute;
  right:0;
  top:50%;
  transform:translateY(-50%);
  display:block;
}*/

/*
.btn_count {
  width: 20px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  left: 40px;
}*/

.copy {
  position: relative;
  text-align: center;
  width: 100%;
  line-height: 1;
  font-size: 1.2rem;
  opacity:0;
}

@media screen and (min-width:783px) {
  body {
    background-size: auto;
  }

  .main {

    margin-top: 160px;
    min-height: calc(100vh - 300px);
  }

  _::-webkit-full-page-media,
  _:future,
  :root .card {
    -webkit-transform: none !important;
  }

}

@media screen and (max-width:782px) {
  .card {
    transform: none !important;
  }

}