
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1p:wght@400;700&family=Marcellus&family=Raleway:wght@400;700&display=swap');

/* リセット */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
li,
img,
table,
th,
tr,
td,
figure,
figcaption,
header,
footer {
  margin: 0;
  padding: 0;
}

li {
  list-style-type: none;
}

img {
  vertical-align: bottom;
  border: bottom;
  width: 100%;
  height: auto;
  -o-object-fit: contain;
  object-fit: contain;
  max-height: 95vh;
}

a {
  text-decoration: none;
  color: var(--black);
}

html,body{
  height: 100%;
}

body {
  background-color: var(--basecolor);
  font-family: "Raleway", "M PLUS 1p", "Yu Gothic", sans-serif;
  vertical-align: baseline;
  position: relative;
}

body::after{
  background: repeating-linear-gradient(135deg, #D9C5C1 0%, #947484 100%);
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  content: "";
  z-index: -1;
}

html {
  font-size: calc(62.5% + 0.25vw);
}

/* 変数 */
:root {
  --f1: 4rem;
  --f2: 2.4rem;
  --f3: 1.8rem;
  --f4: 1.4rem;
  --fn: 1.2rem;
  --fs: 0.8rem;

  --basecolor: #D9C5C1;
  --maincolor: #e5004f;
  --accentcolor: #FFFFFF;
  --white: #FFFFFF;
  --black: #402E3B;
  --gray: #796c76;
}

h1 {
  font-size: var(--f1);
}

h2 {
  font-size: var(--f2);
  font-family: "Marcellus", "M PLUS 1p", "Yu Gothic", sans-serif;
}

h3{
  font-size: var(--f3);
  font-family: "Marcellus", "M PLUS 1p", "Yu Gothic", sans-serif;
}

h4{
  font-size: var(--f4);
  font-family: "Marcellus", "M PLUS 1p", "Yu Gothic", sans-serif;
}

p a {
  border-bottom: 1px solid var(--maincolor);
  list-style-type: none;
  margin: 4px;
  padding-top: 0.5%;
  padding-bottom: 0.5%;
  padding-right: 1%;
  padding-left: 1%;
}

p a:hover{
  background: -webkit-gradient(linear, left top, left bottom, color-stop(60%, rgba(255, 255, 255, 0)), color-stop(60%, rgba(229, 0, 79,.5)));
  background: linear-gradient(rgba(255, 255, 255, 0) 60%, rgba(229, 0, 79,.5) 60%);
}

.container p,td,figure,li{
  font-size: var(--fn);
  color: var(--black);
  line-height: 2;
}

.wrapper {
  max-width: 1200px;
  margin-top: 36px;
  margin-left: auto;
  margin-right: auto;
}

.wapper,
.wrapper::before,
.wrapper::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

/* ナビゲーション */

#nav-drawer {
  position: fixed;
  top:12px;
  right: 12px;
  z-index: 99;
}
.nav-unshown {
  display:none;
}
#nav-open {
  display: inline-block;
  top:12px;
  right: 12px;
  width: 30px;
}

#nav-close {
  display: none;
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0;
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
}

/*中身*/
#nav-content {
  overflow: auto;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 9999;
  width: 70%;
  max-width: 330px;
  height: 100%;
  background-color: var(--basecolor);
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
  -webkit-transform: translateX(105%);
  transform: translateX(105%);
   display: -webkit-box;
   display: -ms-flexbox;
   display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

#nav-input:checked ~ #nav-close {
  display: block;
  opacity: .5;
}

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

#nav-content ul li{
  font-size: var(--f2);
  list-style-type: none;
  text-align: center;
}

/* ヘッダー */
header{
  position: relative;
  overflow: hidden；
}

header div{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.25) 0%, rgba(255,255,255,0) 100%);
}
header h1{
  background: url(img/main.jpg?202010061715) no-repeat top center/cover;
  width: 100%;
  height: 70vh;
  min-height: 570px;
}
h1 img{
  border-bottom: ；6px #FFF solid;
}

header h2{
  color: var(--white);
  width: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

header .logo{
  content: url(img/logo.svg?202010061715);
}

header h2:nth-of-type(1){
  width: 100%;
  overflow: hidden;
  position: absolute;
  top: 70%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%); 
}

header h2:nth-of-type(2){
  background-color: rgba(229, 0, 79,.8);
  padding-top: 12px;
  padding-bottom: 12px;
  font-size: 1.4rem;
  width: 100%;
  text-align: center;
  position: absolute;
  bottom: 12%;
}

header s{
  color: var(--white);
  font-size:var(--f4);
  font-weight: 700;
  position: absolute;
  bottom: 6vh;
  left: 50%;
  text-align: center;
  width: 100%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%); 
}

header p{
  color: var(--white);
  font-weight: 700;
  position: absolute;
  bottom: 1vh;
  left: 50%;
  text-align: center;
  width: 100%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%); 
}

/* index main */

main{
  margin-top: 24px;
}

section {
  margin-top: 12px;
  margin-bottom: 24px;
}

.container{
  position: relative;
  padding-left: 12px;
  padding-right: 12px;
  margin-bottom: 72px;
}

.container h2{
  margin-bottom: 12px;
}

.container h2::before{
  content: url('img/favorite.svg?202010061715');
  display: inline-block;
  vertical-align:center;
  -webkit-transform: translate(-0.3rem,0.2rem) scale(1);
  transform: translate(-0.3rem,0.2rem) scale(1);
}

.container:not(:last-of-type)::after{
  background-color: var(--white);
  border-radius: 4px;
  content: "";
  display: inline-block;
  position: absolute;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  bottom: -36px;
  width: 50%;
  height: 4px;
}

.content{
  margin-bottom: 36px;
}

.content ul {
  margin-top: 12px;
  margin-bottom: 24px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

table {
  border-collapse: collapse;
  width: 100%;
  margin: 12px auto;
}

table th {
  font-size: var(--f4);
  text-align: center;
  padding-top: 2%;
  padding-bottom: 2%;
}

table td {
  padding-top: 2%;
  padding-bottom: 2%;
  padding-left: 4%;
}

table tr {
  border-bottom: solid 1px var(--white);
}

table tr td:nth-child(2n+1) {
  width: 25%;
}

.schedule tr td:nth-child(2){
  width: 60%;
}

.button{
  text-align: center;
  max-width: 30%;
  margin: 12px auto;
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none;
  background: repeating-linear-gradient(-45deg, rgb(173, 0, 70) 0%, rgb(230, 0, 80) 100%);
  -webkit-transition: .4s;
  transition: .4s;
}

.button a{
  color: var(--white);
  display: block;
  width: 100%;
  height: 100%;
}

.button:active{
  background: repeating-linear-gradient(45deg, rgb(173, 0, 60) 0%, rgb(230, 0, 70) 100%);
}

.timetable tr{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  border-bottom: none;
}

.timetable tr td{
  padding-left: 0;
  text-align: center;
}

.youtube {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  margin-top: 36px;
  margin-bottom: 36px;
}

.youtube iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100% !important;
  height: 100% !important;
}

video{
  width: 100%;
}

.googlemap {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
  max-width: 900px;
  margin: 30px auto;
}

.googlemap iframe,
.googlemap object,
.googlemap embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.corona {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(45%, 1fr));
  grid-gap: 12px;
}

.corona figure img{
  -webkit-filter: invert(1) hue-rotate(270deg);
  filter: invert(1) hue-rotate(270deg);
}

.list-point li{
  list-style-type: square;
  margin-left: 12px;
}

h6 {
  color: var(--black);
  text-align: center;
  padding: 2% 0;
}

/* GOODS */
.grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(46%, 1fr));
  grid-gap: 12px 12px;
  margin-top: 12px;
}

figure img{
  border-radius: 4px;
}

figure{
  margin-bottom: 12px;
}

figcaption{
  color: var(--white);
  font-size: var(--fs);
}

.comics figure img{
    max-height: 350px;
  }

.goods h2{
  font-size: var(--f3);
}

.goods p{
  font-weight: bold;
}

.goods p:first-of-type{
  font-size: var(--f4);
  margin-bottom: 6px;
}

.red{
  color: #FC170D;
}

.container p.comment{
  color: var(--gray);
  font-size:var(--fs);
  line-height: 1.5;
}

figure.soldout{
  position: relative;
}

figure.soldout::after{
  background-color: rgba(0,0,0,.5);
  border-radius: 4px;
  content: "SOLD OUT";
  color: var(--white);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-size:var(--f2);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
}

.report figure img{
  width: 100%;
  height: 170px;
  object-fit: cover;
}

@media screen and (min-width:500px){
  
  .wrapper{
    margin-top: 36px;
  }
  
  header{
    width: 100%;
    height: 100vh;
    background:linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.6) 100%),
      url(img/bg.png?202010061715) no-repeat bottom left/cover ,linear-gradient(135deg, rgba(212, 168, 235, 0.4) 0%, rgba(229, 0, 79, 0.3) 100%),#D7C3BF;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  
  h1{
    display: none;
  }

  header div{
    left: auto;
    right: 0;
    width: 50%;
    background: none;
  }
  
  header .logo{
    content: url(img/logo_pc.svg?202010061715);
  }


  header h2:nth-of-type(1){
    position: relative;
    width:85%;
    top: 40%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%); 
  }

  header h2:nth-of-type(2){
    font-size: 2rem;
    width: 90%;
    left: 50%;
    bottom: 25%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    text-align: center;
    padding-top:24px;
    padding-bottom: 24px;
  }
  
  header div s{
    color: var(--white);
    width: 100%;
    font-size:2.5rem;
    bottom: 20%;
  }

  header div p{
    color: var(--maincolor);
    width: 100%;
    font-size:2.5rem;
    bottom: 6%;
  }
  
 
  
  /* main */
  
  .container:not(:first-of-type){
    margin-top: 120px;
  }
  
  .container h2{
    font-size: var(--f1);
  }
  
  .container h2::before{
  -webkit-transform: translate(-0.3rem,0.4rem) scale(1);
  transform: translate(-0.3rem,0.4rem) scale(1);
}
  
  .comics {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(300px, 1fr));
    grid-gap: 0 24px;
    margin-bottom: 36px;
  }
  
  .comics figure img{
    max-height: 550px;
  }
  
 .container .content::after, .goods .content::after{
    content: none;
  }
  
  .goods{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(35%, 1fr));
    grid-gap: 24px 72px;
  }
  
  .grid{
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    -webkit-box-pack: space-evenly;
    -ms-flex-pack: space-evenly;
    justify-content: space-evenly;
  }
  
  .grid .card{
    margin: 0 auto;
  }
  
  .ackey{
    grid-template-columns: repeat(auto-fit, minmax(19%, 1fr));
    grid-gap: 12px;
  }
  
  .report figure img{
  height: 270px;
}
  
}

/****************
モーダル
****************/

.modal {
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: #EEE;
  display: none;
  width: 80%;
  height: auto;
  max-width: 400px;
  padding: 36px 12px;
  z-index: 999;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

.modal p {
  color: var(--brack);
  margin-bottom: 12px;
}

.modal p:nth-child(1) {
  margin-bottom: 36px;
}

.modal li a {
  color: var(--black);
}

.modal li:nth-child(1) a {
  color: var(--basecolor);
}

.modal span {
  font-size: 2rem;
  text-align: center;
  padding: 36px 0;
}

.modal_button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  margin: 12px auto;
  text-align: center;
  font-size: var(--f3);
}

.modal_button li {
  border-radius: 12px;
  padding: 12px;
  width: 30%;
  list-style-type: none;
}

.modal_button li:nth-child(1) {
  background-color: var(--maincolor);
}

.close_modal {
  display: block;
  width: 100%;
  height: 100%;
}

.close_modal:hover {
  cursor: pointer;
}

