@charset "utf-8";

/*================================================
  #entry  ライブ無料招待エントリーセクション
  特設サイトの白基調・モノクロ・版画的トーンに合わせて構築
================================================*/

/* セクションバナー: bg05 */
#entry .sectionBannerBg {
  background-image: url('../img/bg/bg01.png');
  background-size: cover;
  background-position: center 30%;
  opacity: 0.3;
}

#entry .sectionBanner .sectionBannerTitle .small {
  font-size: 0.6em;
}
@media only screen and (max-width: 560px) {
  #entry .sectionBanner .sectionBannerTitle .small {
    font-size: 5.5vw;
  }
}

#entry {
  position: relative;
  background: #fff;
  padding-top: 0;
  padding-bottom: 6em;
}
#entry .sectionInner {
  max-width: 1240px;
  padding-top: 5em;
}
@media only screen and (max-width: 560px) {
  #entry {
    padding-bottom: 4em;
  }
  #entry .sectionInner {
    padding-top: 3em;
  }
}

/*------------------------------------------------
  #entryIntro リード文
------------------------------------------------*/
#entry #entryIntro {
  text-align: center;
  font-family: "Noto Serif JP", serif;
  font-size: 1.15em;
  letter-spacing: 0.06em;
  line-height: 2;
  color: #000;
  margin: 4em auto 0;
  padding: 0 1.5em;
  max-width: 60em;
  width: auto;
  box-sizing: border-box;
}
@media only screen and (max-width: 560px) {
  #entry #entryIntro {
    font-size: 1em;
    line-height: 1.9;
    margin-top: 2em;
  }
}

/*------------------------------------------------
  .attention 注意事項ボックス
------------------------------------------------*/
.attention {
  margin: 3em auto 0;
  border: 1px solid rgba(0,0,0,0.18);
  padding: 2em 2.5em 2.5em;
  background: #fff;
}
@media only screen and (max-width: 560px) {
  .attention {
    margin-top: 2em;
    padding: 1.5em 1.25em 1.75em;
  }
}

.attentionLabel {
  display: block;
  font-family: "Noto Serif JP", serif;
  font-size: 0.8em;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-top: 2em;
  margin-bottom: 1em;
  padding: 0.55em 1em;
  background: #000;
  color: #fff;
  font-weight: 500;
}
.attentionLabel:first-child {
  margin-top: 0;
}

.attentionText {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5em;
  font-size: 0.85em;
  line-height: 1.9;
  color: rgba(0,0,0,0.78);
}
.attentionText:last-child {
  margin-bottom: 0;
}
.attentionText li {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 0.55em;
}
.attentionText li::before {
  content: "";
  position: absolute;
  left: 0.1em;
  top: 0.85em;
  width: 0.5em;
  height: 1px;
  background: rgba(0,0,0,0.55);
}
.attentionText li:last-child {
  margin-bottom: 0;
}
.attentionText .small {
  display: inline;
  font-size: 0.88em;
  color: rgba(0,0,0,0.55);
  letter-spacing: 0.04em;
}

/* 警告・重要(.fontYellow / .fontRed) → モノクロで黒太字+下線 */
.fontYellow,
.fontRed {
  font-weight: 700;
  color: #000;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

/*------------------------------------------------
  .entryList 公演リスト
------------------------------------------------*/
.entryList {
  list-style: none;
  padding: 0;
  margin: 4em 0 0;
  border-top: 1px solid rgba(0,0,0,0.18);
}
@media only screen and (max-width: 560px) {
  .entryList {
    margin-top: 2.5em;
  }
}

.entryList > li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5em;
  padding: 1.6em 0.5em;
  border-bottom: 1px solid rgba(0,0,0,0.18);
  position: relative;
}
@media only screen and (max-width: 900px) {
  .entryList > li {
    display: block;
    padding: 1.5em 0.25em;
    /* 右上にEntryボタンを絶対配置するためのスペース */
    padding-right: 0;
  }
}

.entryListInner {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(11em, auto) minmax(0, 1fr) 16em;
  align-items: center;
  gap: 0 2em;
}
@media only screen and (max-width: 900px) {
  .entryListInner {
    grid-template-columns: 1fr;
    gap: 0.5em 0;
  }
}

/* 各段(1段目=都道府県+日付、2段目=会場+時刻、3段目=グラフ) は内部縦並び */
.entryListInner > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35em;
  min-width: 0;
}
/* 3段目だけはプログレスバーと残席数で横並びにしたい */
.entryListInner > .graphWrapper {
  flex-direction: row;
  align-items: center;
  gap: 0.8em;
}
@media only screen and (max-width: 900px) {
  .entryListInner > div {
    margin-bottom: 0.5em;
  }
  .entryListInner > div:last-child {
    margin-bottom: 0;
  }
}

/* タブレット/スマホビュー: 1段目(都道府県 + 日付)を横並びに */
@media only screen and (max-width: 900px) {
  .entryListInner > div:nth-child(1) {
    flex-direction: row;
    align-items: center;
    gap: 0.75em;
    /* Entryボタンが右上に来るので右側に余白を確保 */
    padding-right: 7em;
  }
}

/* 県名タグ */
.entryPref {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #000;
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-size: 0.75em;
  letter-spacing: 0.18em;
  font-weight: 400;
  padding: 0.4em 1em;
  min-width: 6em;
  white-space: nowrap;
}

/* 日付 */
.entryDay {
  font-family: "Cormorant Garamond", "Noto Serif JP", serif;
  font-size: 1.05em;
  letter-spacing: 0.04em;
  color: #000;
  white-space: nowrap;
}
@media only screen and (max-width: 560px) {
  .entryDay {
    font-size: 1em;
  }
}

/* 会場名 */
.entryPlace {
  font-family: "Noto Serif JP", serif;
  font-size: 1em;
  font-weight: 500;
  color: #000;
  letter-spacing: 0.04em;
}
.entryPlace a {
  color: #000;
  text-decoration: underline;
  text-decoration-color: rgba(0,0,0,0.35);
  text-underline-offset: 0.2em;
  transition: text-decoration-color 0.2s;
}
.entryPlace a:hover {
  text-decoration-color: #000;
  opacity: 1;
}

/* Open/Start 等の補助情報 */
.entryOpenStart {
  font-size: 0.78em;
  color: rgba(0,0,0,0.6);
  letter-spacing: 0.05em;
}
@media only screen and (max-width: 560px) {
  .entryOpenStart {
    font-size: 0.75em;
    width: 100%;
  }
}

/*------------------------------------------------
  プログレスバー (残席表示)
------------------------------------------------*/
.graphWrapper {
  display: flex;
  align-items: center;
  gap: 0.8em;
  width: 100%;
}
@media only screen and (max-width: 560px) {
  .graphWrapper {
    margin-top: 0.75em;
  }
}

.entryGraph {
  flex: 1;
  position: relative;
}

.entryBar {
  background: rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.22);
  height: 1.5em;
  position: relative;
  overflow: hidden;
  /* 都道府県タグ(直角)と差別化するため両端を丸く */
  border-radius: 0.75em;
}

.entryBar span {
  display: block;
  height: 100%;
  width: 0% !important;
  opacity: 0;
  background: #000;
  color: #fff;
  font-family: "Cormorant Garamond", "Noto Serif JP", serif;
  font-size: 0.7em;
  line-height: 1;
  text-align: right;
  padding: 0.65em 0.6em;
  box-sizing: border-box;
  letter-spacing: 0.1em;
  transition: width 0.75s ease-out, opacity 0.75s ease-out;
  transform-origin: left center;
}

.animate .entryBar span {
  width: var(--target-width) !important;
  opacity: 1;
}

/* closed: 受付終了 (満席等) → 濃グレー
   ※ HTMLのinline background より状態クラスのCSSを優先(!important) */
.closed .entryBar span {
  background: rgba(0,0,0,0.55) !important;
  color: #fff;
}

/* ended: 過去の開催日 → 斜線パターンで「終了済み」感を出す */
.ended .entryBar {
  background:
    repeating-linear-gradient(
      135deg,
      rgba(0,0,0,0.05) 0,
      rgba(0,0,0,0.05) 4px,
      rgba(0,0,0,0.10) 4px,
      rgba(0,0,0,0.10) 8px
    );
}
.ended .entryBar span {
  background: rgba(0,0,0,0.35) !important;
  color: rgba(255,255,255,0.85);
}

/* 残席数表示 (3桁キャパも収まる幅) */
.entryRemainingQuantity {
  flex: 0 0 4.5em;
  width: 4.5em;
  font-family: "Cormorant Garamond", "Noto Serif JP", serif;
  font-size: 0.65em;
  letter-spacing: 0.05em;
  color: #000;
  white-space: nowrap;
  text-align: left;
}
@media only screen and (max-width: 560px) {
  .entryRemainingQuantity {
    flex: 0 0 auto;
    width: auto;
    font-size: 0.75em;
  }
}
.ended .entryRemainingQuantity,
.closed .entryRemainingQuantity {
  color: rgba(0,0,0,0.55);
}

/*------------------------------------------------
  .application 申込ボタン (releaseLink.isModal と統一)
------------------------------------------------*/
.application {
  flex: 0 0 auto;
  min-width: 6em;
  display: flex;
  justify-content: center;
}
@media only screen and (max-width: 900px) {
  .application {
    margin-top: 0;
    text-align: center;
    min-width: 0;
    /* 右上に絶対配置 (1段目の都道府県+日付の右側) */
    position: absolute;
    top: 1.5em;
    right: 0.25em;
  }
}

.application a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35em;
  font-family: "Noto Serif JP", serif;
  font-size: 0.78em;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: #fff;
  background: #000;
  border: 1px solid #000;
  border-radius: 4px;
  padding: 0.7em 0.9em;
  line-height: 1;
  transition: all 0.2s;
  white-space: nowrap;
  text-decoration: none;
  min-width: 5em;
  box-sizing: border-box;
}
.application a:hover {
  opacity: 1;
  background: #e5e5e5;
  color: #000;
  border-color: #999;
}
.application a img {
  display: block;
  height: 0.95em;
  width: auto;
}

/* 受付終了テキスト (Entryボタンと同じサイズに揃える) */
.application .ended-text {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: "Noto Serif JP", serif;
  font-size: 0.78em;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.5);
  background: transparent;
  border: 1px solid rgba(0,0,0,0.25);
  border-radius: 4px;
  padding: 0.7em 0.9em;
  line-height: 2.2;
  min-width: 5em;
  box-sizing: border-box;
}

/* closed li 全体トーンを落とす */
.entryList > li.closed {
  background: rgba(0,0,0,0.03);
  opacity: 0.78;
}
/* closed時はEntryボタン(a)のみ非表示、受付終了テキスト(.ended-text)は表示 */
.entryList > li.closed .application a {
  visibility: hidden;
}
@media only screen and (max-width: 900px) {
  /* タブレット/スマホ: .applicationは絶対配置されているので、
     a(Entryボタン)を完全非表示にし、ended-textは引き続き右上に表示 */
  .entryList > li.closed .application a {
    display: none;
  }
}


/*================================================
  #entry-flow  申込フロー (input → confirm → complete)
  カード状の白背景に黒罫線、フォームもモノクロ統一
================================================*/

#entry-flow {
  padding: 7em 1.5em 5em;
  background: #fff;
  min-height: 100vh;
}
@media only screen and (max-width: 560px) {
  #entry-flow {
    padding: 5em 1em 3em;
  }
}

#entry-flow .sectionInner {
  display: none;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.2);
  padding: 3em 3em;
  margin: 0 auto;
  max-width: 720px;
  font-size: 1em;
}
@media only screen and (max-width: 560px) {
  #entry-flow .sectionInner {
    padding: 2em 1.25em;
  }
}

#entry-flow .sectionInner.active {
  display: block;
}

#entry-flow .sectionInner h2 {
  text-align: center;
  font-family: "Cormorant Garamond", "Noto Serif JP", serif;
  font-size: 1.8em;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #000;
  padding: 0 0 0.8em;
  margin: 0 0 1.5em;
  border-bottom: 1px solid rgba(0,0,0,0.18);
}
@media only screen and (max-width: 560px) {
  #entry-flow .sectionInner h2 {
    font-size: 1.5em;
  }
}

/* entry-flow内の attention は余白控えめ */
#entry-flow .attention {
  margin-top: 0;
  padding: 1.5em 1.5em 1.75em;
  border: 1px solid rgba(0,0,0,0.15);
  background: rgba(0,0,0,0.025);
}
#entry-flow .attention ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.85em;
  line-height: 1.9;
  color: rgba(0,0,0,0.78);
}
#entry-flow .attention ul li {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 0.55em;
}
#entry-flow .attention ul li::before {
  content: "";
  position: absolute;
  left: 0.1em;
  top: 0.85em;
  width: 0.5em;
  height: 1px;
  background: rgba(0,0,0,0.55);
}
#entry-flow .attention ul li:last-child {
  margin-bottom: 0;
}

/* エラー表示 ── 黒背景に白文字でモノクロ警告 */
#entry-flow .error {
  margin: 1.5em 0;
  background: #000;
  color: #fff;
  padding: 1em 1.25em;
}
#entry-flow .error ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.85em;
  line-height: 1.7;
}
#entry-flow .error ul li {
  position: relative;
  padding-left: 1em;
  margin-bottom: 0.4em;
}
#entry-flow .error ul li::before {
  content: "!";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  font-family: "Noto Serif JP", serif;
}
#entry-flow .error ul li:last-child {
  margin-bottom: 0;
}

/*------------------------------------------------
  table.default 申込情報テーブル
------------------------------------------------*/
table.default {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.95em;
}

table.default th,
table.default td {
  vertical-align: top;
  text-align: left;
  border-bottom: 1px solid rgba(0,0,0,0.12);
  padding: 1em 1.25em;
}

table.default th {
  background: transparent;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.6);
  width: 11em;
  white-space: nowrap;
  vertical-align: middle;
}

table.default td {
  background: transparent;
  color: #000;
  line-height: 1.7;
}

@media only screen and (max-width: 560px) {
  table.default {
    font-size: 0.9em;
  }
  table.default th,
  table.default td {
    display: block;
    width: 100%;
    padding: 0.75em 0.5em;
    border-bottom: none;
  }
  table.default th {
    padding-bottom: 0.25em;
  }
  table.default td {
    padding-top: 0;
    padding-bottom: 1em;
    border-bottom: 1px solid rgba(0,0,0,0.12);
  }
  table.default tr:last-child td {
    border-bottom: none;
  }
}

/* 入場ID/開催日時の強調値 */
#entryId strong,
#completeDate strong {
  font-family: "Cormorant Garamond", "Noto Serif JP", serif;
  font-size: 1.7em;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #000;
}

/*------------------------------------------------
  フォーム入力
------------------------------------------------*/
#entry-flow input[type="text"],
#entry-flow select {
  width: 100%;
  padding: 0.75em 0.9em;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.3);
  color: #000;
  font-family: inherit;
  font-size: 1em;
  letter-spacing: 0.04em;
  border-radius: 0;
  transition: border-color 0.2s;
}
#entry-flow input[type="text"]:focus,
#entry-flow select:focus {
  outline: none;
  border-color: #000;
}
#entry-flow input[type="text"]::placeholder {
  font-size: 0.85em;
  color: rgba(0,0,0,0.4);
  letter-spacing: 0.04em;
}

#entry-flow label.writeCheck {
  display: inline-block;
  margin-bottom: 0.75em;
  font-size: 0.9em;
}

/*------------------------------------------------
  ボタン (フロー進行)
------------------------------------------------*/
#entry-flow .buttonWrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1em;
  margin: 2em auto 0;
  flex-wrap: wrap;
}

#entry-flow .buttonWrap button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-family: "Noto Serif JP", serif;
  font-size: 0.85em;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 1em 2em;
  border: 1px solid #000;
  border-radius: 4px;
  background: #000;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1;
  min-width: 9em;
}
#entry-flow .buttonWrap button:hover {
  background: #e5e5e5;
  color: #000;
  border-color: #999;
}

/* 戻る系: 副アクションとして枠のみ */
#entry-flow button.buttonBack {
  background: #fff;
  color: #000;
  border-color: rgba(0,0,0,0.35);
}
#entry-flow button.buttonBack:hover {
  background: rgba(0,0,0,0.05);
  border-color: #000;
  color: #000;
}

#entry-flow .buttonWrap button img {
  display: inline-block;
  height: 1em;
  width: auto;
  vertical-align: middle;
}

/*------------------------------------------------
  loadingText (スケルトン)
------------------------------------------------*/
.loadingText {
  display: block;
  width: 50%;
  height: 1.2em;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.06) 25%,
    rgba(0,0,0,0.12) 37%,
    rgba(0,0,0,0.06) 63%
  );
  background-size: 400% 100%;
  animation: loadingTextEfect 3s linear infinite;
}

.entryListInner .loadingText {
  width: 100%;
}

@keyframes loadingTextEfect {
  0%   { background-position: 400% 0; }
  100% { background-position: -400% 0; }
}

.changed-info {
  color: #000;
  font-weight: 700;
  text-decoration: underline;
}
.ended .changed-info {
  color: rgba(0,0,0,0.5);
  text-decoration: none;
}

/*------------------------------------------------
  オーバーレイローディング
------------------------------------------------*/
#loadingOverlay {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 260px;
  height: 260px;
  background: rgba(0,0,0,0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  border: 1px solid rgba(255,255,255,0.15);
}

.loading-container {
  text-align: center;
  color: #fff;
}

.loading-spinner {
  width: 44px;
  height: 44px;
  margin: 0 auto 1.25em;
  border: 2px solid rgba(255,255,255,0.2);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-text {
  font-family: "Noto Serif JP", serif;
  font-size: 0.85em;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin: 0;
  color: #fff;
}