@charset "utf-8";

/* 背景の色 */
.ticket_area{
    background-color: #f4f4f4;
    padding-top: 10px;
    padding-bottom: 10px;
}

/* 線 */
hr {
    border-top: 5px solid black;
}

/* タイトル */
.title{
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    color: #000000;
    font-size: 30px;
    text-shadow: 0px 20px 8px rgba(0, 0, 0, 0.4);
    font-weight: bold;
    margin: 10% 0 30px;
}

/* ボタン */
.venue-buttons,
.section-nav{
    text-align: center;
}

    /* 会場ボタン */
    .venue-buttons button {
      margin-right: 10px;
      padding: 10px 20px;
      cursor: pointer;
      background-color: white;
      border: black solid 1px;
      transition: background-color 0.3s;
      font-size: 22px;
      font-weight: bold;
      width: 150px;
      font-family: serif;
      margin: 0 30px;
    }

    .venue-buttons button.active {
      background-color: red;
      color: white;
    }

    /* 会場コンテンツ切り替え */
    .venue-content {
      display: none;
      margin-top: 20px;
    }

    .venue-content.active {
      display: block;
    }

    /* セクション内のナビボタン */
    .section-nav button {
      padding: 8px 16px;
      cursor: pointer;
      background-color: black;
      border: 1px solid #ccc;
      color: white;
      font-size: 22px;
      font-weight: bold;
      width: 150px;
      font-family: serif;
      margin: 0 40px;
      border: 3px solid black;
      box-shadow: 0 5px 0 rgb(88, 88, 88);
      transition: .3s;
    }




    
    .section-nav button:hover{
      transform: translateY(5px);
      box-shadow: 0 0 0 rgb(88, 88, 88);
    }


    /* セクション */
    .section {
      margin-top: 30px;
      padding-top: 20px;
    }

  #tokyo-fee,
  #osaka-fee{
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }

  .price_title{
    writing-mode: vertical-rl;
    font-size: 60px;
    order: 3;
    margin-left: 10px;
    position: sticky;
    top: 100px;
  }

  #osaka-fee .price_title{
    writing-mode: vertical-rl;
    font-size: 60px;
    order: -1;
    margin-right: 20px;
  }

/* 表 */
table {
  border-collapse: collapse;
  width: 100%;
  margin: 10px 0;
}
th, td {
  border: 1px solid #000;
  padding: 8px;
  text-align: center;
  background-color: #fff;
  font-size: 20px;
}

.tr_title th{
  background-color: gray;
}

.text_one,
.text_two,
.text_three,
.none{
    text-indent: -1em;
    letter-spacing: 0.1em;
    line-height: 1.5;
    font-size: 14px;
}


/* 販売期間・販売場所 */
.day_place{
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  letter-spacing: 0.1em;
  line-height: 1.5;
  margin-bottom: 10%;
}

.place{
  writing-mode: vertical-rl;
}

.day_place h3{
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 20px;
}

.day_text{
  font-weight: bold;
  font-size: 18px;
  margin-top: 20px;
}

#tokyo-location,
#osaka-location{
  border-left: solid black 1px;
  padding-left: 20px;
}

#tokyo-location h3,
#osaka-location h3{
  text-align: center;
}

.place_title{
  font-weight: 600;
  font-size: 18px;
}

.place_text_first{
  text-indent: 1em;
  letter-spacing: 0.1em;
  line-height: 1.5;
  font-size: 14px;
}

.place_text{
  text-indent: 1em;
  letter-spacing: 0.1em;
  line-height: 1.5;
  font-size: 14px;
  margin-left: 10px;
}

.place_text_2{
  text-indent: 2em;
  letter-spacing: 0.1em;
  line-height: 1.5;
  font-size: 14px;
  margin-left: 10px;
}

/* ▼ 1. タイトルちらつき ▼ */
@keyframes flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    opacity: 1;
  }
  20%, 24%, 55% {
    opacity: 0.3;
  }
}
.title h1 {
  animation: flicker 3s infinite;
  font-size: clamp(40px, 3.5vw, 50px);
}

/* ▼ 2. セクションタイトルが揺れる ▼ */
@keyframes shake {
  0% { transform: translate(0px, 0px); }
  20% { transform: translate(1px, -1px); }
  40% { transform: translate(-1px, 2px); }
  60% { transform: translate(2px, 0px); }
  80% { transform: translate(-2px, -1px); }
  100% { transform: translate(0px, 0px); }
}

.price_title h2,
.section h3 {
  animation: shake 4s infinite;
}

/* ▼ 3. 表のセルを反転 ▼ */
td:hover {
  transform: scaleX(-1);
  transition: 0.3s;
  color: red;
}

/* ▼ 4. スクロールで発動：チラつきクラス ▼ */
.flicker-in {
  animation: flicker 2s ease-in-out;
}




.btn-crack {
  position: relative;
  display: inline-block;
  font-family: serif;
  font-size: 20px;
  font-weight: bold;
  color: white;
  background: black;
  border: 2px solid red;
  padding: 12px 24px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* テキストを2分割表示 */
.btn-crack::before,
.btn-crack::after {
  content: attr(data-text);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  transition: transform 0.4s ease;
  color: white;
  font-size: inherit;
  font-weight: inherit;
  font-family: inherit;
}

.btn-crack::before {
  left: 0;
  text-align: right;
  padding-right: 10px;
}

.btn-crack::after {
  right: 0;
  text-align: left;
  padding-left: 10px;
}

/* 実際のテキストは透明に */
.btn-crack {
  /* color: transparent; */
  color: rgba(88, 88, 88, 0.37);
}

.btn-crack:hover::before {
  transform: translate(-10px, -50%) rotate(-5deg);
}

.btn-crack:hover::after {
  transform: translate(10px, -50%) rotate(5deg);
}

/* クリック時に小さく震える */
.btn-crack:active {
  animation: tremble-crack 0.2s;
}

@keyframes tremble-crack {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-1px, 1px); }
  50% { transform: translate(1px, -1px); }
  75% { transform: translate(-1px, 0px); }
  100% { transform: translate(0, 0); }
}



@media screen and (max-width: 700px) {
  .venue-buttons button {
    font-size: 18px;
    width: 120px;
  }


  .section-nav button {
    width: 120px;
    font-size: 16px;
    margin: 0 10px;
  }
  
  .ticket_area {
    padding: 20px;
  }

 .title h1{
    font-size: clamp(26px, 5.5vw, 40px);
  }

th,
td{
    font-size: 14px;
  }

  .day_place{
    display: block;
  }
  
  #tokyo-location,
  #osaka-location{
  border-top: dotted black 2px;
  border-left: none;
  padding-top: 20px;
  padding-left: 0;
}

#tokyo-location h3,
#osaka-location h3{
  text-align: start;
}


.day_place h3{
  font-size: 30px; 
}

.pecautions{
  width: 100%;
}

.place{
  writing-mode: horizontal-tb;
}

#osaka-period p{
  font-size: 14px;
}

}

@media screen and (max-width: 480px) {
  .title h1{
    font-size: clamp(16px, 5.5vw, 30px);
  }

  .venue-buttons button {
    font-size: 18px;
    width: 120px;
    margin: 0;
  }

  .section-nav button {
    width: 100px;
    font-size: 14px;
    margin: 0;
  }

  .price_title h2{
    font-size: 50px;
  }

  .text_one{
    letter-spacing: 0.05em;
  }

  .pecautions p{
    letter-spacing: 0.05em;
  }

  #tokyo-period p{
    font-size: 14px;
  }


}









