@charset "utf-8";
body {
  margin: 8px 0 0 0;
}
img {
  pointer-events: none;
}
a {
  color: #ff559a;
}
.sp {
  display: none;
}
.abs {
  position: absolute;
}
.relative {
  position: relative;
}
.flex_area {
  display: flex;
}
body {
  /*background: #2fae42;*/
  /*background:#dcffe0;*/
  /*background: #f2fcf3 linear-gradient(#894b4c, #fff) fixed;*/
  background: url(../img/bg.jpg);
  background-size: cover;
  background-attachment: fixed;
  background-position: center center;
}
#top_area {
  margin-top: 40px;
  position: relative;
  z-index: 3;
}
#top_area img {
  width: 100vw;
}
#top_area .abs {
  top: 20px;
  left: 20px;
  width: 150px;
  justify-content: space-between;
}
#top_area .abs a {
  padding: 0 10px;
}
#top_area .boundary {
  position: absolute;
  bottom: -5%;
  transform: translateY(45%);
}
#event_info_area {
  max-width: 1200px;
  margin: -300px auto 0;
  padding-top: 100px;
  z-index: 1;
  position: relative;
}
#event_info_area .container {
  margin: 30px 10% 0px 10%;
  padding-top: 150px;
  padding-bottom: 50px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50px;
  background-color: rgba(255, 255, 255, 0.7);
}
#event_info_area .flex_area {
  width: 50%;
  min-width: 600px;
  margin: 0 auto 40px;
  color: #43200b;
  font-size: 1.5rem;
  font-weight: bold;
}
#event_info_area h2 {
  text-align: center;
  letter-spacing: 7px;
  font-size: 2rem;
  margin: 40px 0px;
  color: #ff559a;
  position: relative;
}
#event_info_area .flex_area p:nth-child(2) {
  width: 20%;
  margin-right: 30px;
}
#event_info_area .flex_area p {
  z-index: 1;
}
#event_info {
  padding: 5px 10% 20px;
  display: inline-block;
  max-width: 1200px;
  text-align: center;
  line-height: 1.5em;
  margin: 0 auto;
  font-size: x-large;
  font-weight: bold;
}
.youtube {
  width: 95%;
  aspect-ratio: 16 / 9;
  margin: -5% auto 5%;
}
.small {
  font-size: 16px;
}
.flag {
  width: 45px;
  height: 45px;
  position: absolute;
  top: -2px;
  left: -60px;
}
.map {
  max-width: 425px;
  margin: 0;
  pointer-events: auto;
}
.map img {
  pointer-events: auto;
}
#yes {
  pointer-events: auto;
}
#no {
  pointer-events: auto;
}
#event_info_area .goods_head.flex_area {
  border-left: solid 2px #8f8f8f;
  padding-left: 30px;
  max-height: 150px;
  margin-top: 100px;
  justify-content: space-between;
}
.goods_head div:first-child {
  width: 40%;
}
.goods_head div:first-child img {
  width: 100%;
}
.goods_head p {
  width: 54%;
  height: 100px;
  line-height: 100px;
  margin: auto 0;
  text-align: center;
  background: #efabac;
  color: white;
  font-size: 2rem;
}
#gatya_area,
#goods_area {
  max-width: 1200px;
  margin: 0 auto 60px;
  background: url(../img/pc/PC_back.jpg) no-repeat;
  background-size: cover;
  background-position: top center;
}
#gatya_area {
  margin: 40px auto 4%;
}
#gatya_list,
#goods_list {
  padding: 5% 0 3%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.goods_line {
  display: flex;
  justify-content: center;
  align-items: center;
  margin:0 1% 20px;
}
.goods_line.new {
  margin-bottom: 80px;
}
.goods_line.old {
  margin-bottom: 50px;
}
#goods_list p:last-of-type {
  margin: 0 auto 50px;
  min-width: 600px;
  width: 50%;
  color: #ff559a;
  font-weight: bold;
}
.goods_line a,
.goods_line img {
  width: 100%;
}
/*ajast*/
.gatymovie_btn {
  width: 800px;
}
.dammy_box {
  width: 200px;
}
.kizon_btn {
  margin: 25px;
}
.video {
  position: relative;
  padding: 0 0 56.25%;
  overflow: hidden;
}
.video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}
.youtube_modal_btn {
  cursor: pointer;
}
.btn_ajast {
  padding: 0 10%;
}
.linkbtn_ajast {
  margin: 0 auto;
  padding: 2% 16.6%;
}
ul.zoomlist {
  display: none;
}
.flex {
  display: flex;
}
/* #header_area{ */
/* background: #FFF; */
/* mask-image: linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 50%, transparent); */
/* -webkit-mask-image: -webkit-linear-gradient(top, rgba(255,255,255,1) 70%, rgba(255,255,255,0) 100%, transparent); */
/* } */

.old-lineup img {
  position: relative;
  width: 25%;
}
.old-lineup2 img {
  position: relative;
  width: 49%;
}
.item-heading {
  width: 65%;
}

/* タブリンクのスタイル */
.tab {
  overflow: hidden;
  /* border: 1px solid #ccc; */
  /* background-color: #f1f1f1; */

  margin: 30px 10% 0px 10%;
}
.tablinks {
  min-height: 100px;
  border-radius: 5px;
}

/* タブリンクのボタン */
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-size: 17px;
  width: 50%; /* これを追加 */
}

/* タブリンクのボタン - ホバー時 */
.tab button:hover {
  background-color: #ddd;
}

/* タブリンクのボタン - アクティブ時 */
.tab button.active {
  background-color: #ccc;
}

/* タブコンテンツ（非表示） */
.tabcontent {
  display: none;
  padding: 6px 12px;
  border-top: none;
}
.logo {
  width: auto;
  height: 100%;
  max-height: 150px;
  margin: 3rem auto 0;
}
.tab-logo {
  max-width: 100%; /* タブの幅に合わせる */
  max-height: 50px; /* 高さを制限する (必要に応じて調整) */
  height: auto; /* アスペクト比を維持する */
}
#comiket-logo {
  max-width: 450px;
}
/* タブコンテンツのアニメーション */
.infomation {
  animation: fadeInUp ease 1s;
  -webkit-animation: fadeInUp ease 1s;
  -moz-animation: fadeInUp ease 1s;
  -o-animation: fadeInUp ease 1s;
  -ms-animation: fadeInUp ease 1s;
}
.old_goods_grid {
  display: grid;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 60px;
  grid-template-columns: 25% 25% 25% 25%;
  row-gap: 50px;
}
.old_goods_grid img {
  width: 100%;
}
.old_goods_grid img:last-child {
  margin-bottom: 70px;
}

.sp {
  display: none;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@-webkit-keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media screen and (max-width: 900px) {
  .flag {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
  .old_goods_grid {
    /* grid-template-rows: 100px 50px; */
    grid-template-columns: 50% 50%;
    margin-bottom: 0;
  }
  .small {
    font-size: small;
  }
  #top_area .abs {
    top: 10px;
    left: 5px;
    width: 100px;
  }
  #event_info_area {
    padding-top: 40px;
    background-size: auto 100vh;
  }
  #event_info_area .flex_area {
    min-width: auto;
    width: 90%;
    font-size: 1rem;
  }
  #event_info_area .flex_area p:first-child {
    margin-right: 5px;
  }
  #event_info_area .container h2 {
    font-size: 1.5rem;
    padding-left: 20px;
  }
  .goods_head div:first-child {
    margin: auto 0;
  }
  .goods_head p {
    height: 75px;
    line-height: 75px;
    font-size: 1.2rem;
  }
  #event_info {
    font-size: small;
  }
  #gatya_area {
    padding-bottom: 10%;
  }
  #gatya_area,
  #goods_area {
    margin: 0 auto 20px;
    background: url(../img/sp/bg_sp.jpg) no-repeat;
    /*background: url(http://placehold.jp/24/cc9999/993333/150x1500.png) no-repeat;*/
    background-size: cover;
  }
  #gatya_area {
    margin: 30px auto 0%;
  }
  /* #gatya_list, #goods_list {
    padding: 40% 0 20px;
} */
  #gatya_list {
    padding: 40% 0 20px;
  }
  .goods_line {
    flex-direction: row;
  }
  .goods_line.new {
    margin-bottom: 30px;
    flex-direction: row;
  }
  .goods {
    margin: 0 10%;
  }
  /*ajast*/
  .btn_ajast {
    padding: 0 10%;
  }
  .linkbtn_ajast {
    padding: 5% 12%;
  }
  .under_ajast {
    margin-bottom: 7%;
    padding: 0 10%;
  }
  .goods_line.spCD {
    flex-direction: row;
  }
  .goods_line img {
    display: block;
    width: 100%;
  }
  .goods_line.sp img {
    display: block;
  }
  .goods_line.old {
    margin-bottom: 50px;
  }
  .goods_line .pc {
    display: none;
  }
  #top_area {
    margin: 30px auto 0;
  }
  #goods_list p:last-of-type {
    min-width: auto;
    width: 90%;
    font-size: 1rem;
  }
  #event_info_area .container {
    margin: 200px 5% 0px 5%;
    padding-bottom: 0px;
    padding-top: 40px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.7);
  }
  .item-heading {
    width: 90%;
  }
  .logo {
    max-height: 75px;
  }
  #comiket-logo {
    max-width: 300px;
  }
  .tablinks {
    min-height: 0px;
    max-height: 50px;
    padding: 0;
  }
  .tab-logo {
    max-height: 30px; /* 高さを制限する (必要に応じて調整) */
    height: auto;
  }
}
