/* ==========================================================================
   ticket tottoto - チケット販売・先行販売一覧
   ========================================================================== */

:root {
  --color-advance: #e2895e;
  --color-advance-badge-text: #e2895e;
  --color-general: #d7ece1;
  --color-general-badge-text: #4ca37b;
  --color-before: #aeaeae;
  --color-before-badge-text: #767676;
  --color-closed: #aeaeae;
  --color-closed-badge-text: #767676;
  --color-text-base: #333333;
  --content-max-width: 768px;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: var(--color-text-base);
  -webkit-text-size-adjust: 100%;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.contentArea {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 40px 20px 60px;
}

/* ---------- header / logo ---------- */
.siteHeader {
  text-align: center;
  margin-bottom: 32px;
}

.siteHeader__logo {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1001 / 298;
  margin: 0 auto 24px;
  background: url("../images/img_logo.png") no-repeat center / contain;
}

.siteHeader__logo span {
  display: none;
}

.siteHeader__sub {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

/* ---------- artist search ---------- */
.searchArea {
  margin-bottom: 24px;
}

.searchArea__label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
}

.searchArea__select {
  position: relative;
}

.searchArea__select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #999;
  border-bottom: 2px solid #999;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.searchArea__select select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  font-size: 14px;
  color: var(--color-text-base);
  background: #fff;
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  padding: 12px 36px 12px 14px;
}

/* ---------- scroll nav buttons ---------- */
.scrollNav {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
}

.scrollNav__btn {
  position: relative;
  flex: 1 1 50%;
  display: block;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  padding: 14px 36px 14px 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.scrollNav__btn:hover {
  opacity: 0.5;
}

.scrollNav__btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 8px;
  height: 8px;
  border-right: 2px solid rgba(255, 255, 255, 0.85);
  border-bottom: 2px solid rgba(255, 255, 255, 0.85);
  transform: translateY(-70%) rotate(45deg);
}

.scrollNav__btn--advance {
  background: var(--color-advance);
}

.scrollNav__btn--general {
  background: var(--color-general-badge-text);
}

/* ---------- sale sections ---------- */
.saleSection {
  margin-bottom: 32px;
}

.saleSection__title {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 24px;
}

.artistGroup {
  margin-bottom: 16px;
}

.artistGroup__name {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 8px;
}

.saleBox + .saleBox {
  margin-top: 10px;
}

/* ---------- sale box (card) ---------- */
.saleBox {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 4px;
  background: var(--color-before);
  transition: opacity 0.2s;
}

.saleBox:hover {
  opacity: 0.5;
}

.saleBox__status {
  flex: 0 0 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #fff;
  color: var(--color-before-badge-text);
  font-weight: 700;
  font-size: 14px;
  border-radius: 4px;
  align-self: stretch;
  padding: 8px 4px;
}

.saleBox__body {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 65px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

.saleBox__event {
  display: block;
  font-size: 11px;
  line-height: 1.4;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.85);
}

.saleBox__title {
  display: block;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
  margin-bottom: 6px;
}

.saleBox__area {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  line-height: 1.4;
}

.saleBox__area .icon-pin {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 50% 50% 50% 0;
  border: 2px solid currentColor;
  transform: rotate(-45deg);
}

.saleBox__arrow {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #fff;
  position: relative;
}

.saleBox__arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 4px 0 4px 6px;
  border-color: transparent transparent transparent #fff;
  transform: translate(-40%, -50%);
}

/* advance : 受付中 */
.saleBox--advance.is-accepting {
  background: var(--color-advance);
}

.saleBox--advance.is-accepting .saleBox__status {
  color: var(--color-advance-badge-text);
}

/* general : 販売中 */
.saleBox--general.is-selling {
  background: var(--color-general);
}

.saleBox--general.is-selling .saleBox__status {
  color: var(--color-general-badge-text);
}

.saleBox--general.is-selling .saleBox__body,
.saleBox--general.is-selling .saleBox__event {
  color: var(--color-text-base);
}

.saleBox--general.is-selling .saleBox__event {
  color: rgba(51, 51, 51, 0.65);
}

.saleBox--general.is-selling .saleBox__arrow {
  border-color: var(--color-general-badge-text);
}

.saleBox--general.is-selling .saleBox__arrow::after {
  border-color: transparent transparent transparent var(--color-general-badge-text);
}

/* 販売前（共通） */
.saleBox.is-before {
  background: var(--color-before);
  /* pointer-events: none; を削除 */
  /* cursor: default; を削除 */
}

.saleBox.is-before .saleBox__status {
  color: var(--color-before-badge-text);
}

/* 受付終了／販売終了（共通） */
.saleBox.is-closed {
  background: var(--color-closed);
  pointer-events: none;
  cursor: default;
}

.saleBox.is-closed .saleBox__status {
  color: var(--color-closed-badge-text);
}

/* ---------- filtering ---------- */
.is-hidden {
  display: none !important;
}

/* ---------- recommend box ---------- */
.recommendBox {
  background-color: #ffddcd;
  box-shadow: 0 0 10px 10px #ffddcd;
  margin: 24px 0 40px; /* 前後のセクションとの余白を調整 */
  padding: 24px 20px;
  font-size: 16px; /* 115%相当 */
  text-align: center;
  border-radius: 4px;
  color: #333;
}

.recommendBox__text a {
  display: block;
  background-color: #fff;
  padding: 15px 0;
  text-align: center;
  width: 300px;
  margin: 20px auto 0;
  color: var(--color-advance);
  transition: .3s;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
}
.recommendBox__text a:hover {
  opacity: 0.7;
}

.recommendBox__title {
  font-weight: 700;
  margin: 0 0 12px;
}

.recommendBox__text {
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}

.recommendBox__text a {
  color: #333;
  font-weight: 700;
}

/* ---------- notice box ---------- */
.noticeBox {
  border: 1px dashed #e05353;
  border-radius: 2px;
  padding: 20px;
  margin-bottom: 40px;
}

.noticeBox__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.noticeBox__list li {
  font-size: 14px;
  margin-bottom: 12px;
}

.noticeBox__list li:last-child {
  margin-bottom: 0;
}

.noticeBox__list a {
  color: #1a68d1;
  text-decoration: underline;
}

/* ---------- info sections ---------- */
.infoSection {
  background: #f2f2f2;
  margin: 0 calc(50% - 50vw);
  padding: 40px 20px;
}

.infoBlock {
  max-width: var(--content-max-width);
  margin: 0 auto 32px;
}

.infoBlock:last-child {
  margin-bottom: 0;
}

.infoBlock__title {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 16px;
}

.infoBlock__body {
  background: #fff;
  border-radius: 4px;
  padding: 24px;
  font-size: 14px;
  line-height: 1.8;
}

.infoBlock__heading {
  font-weight: 700;
  margin: 0 0 8px;
}

.infoBlock__tel a {
  color: #2a9d6f;
  font-weight: 700;
  font-size: 16px;
}

.infoBlock__body a {
  color: #1a68d1;
}

.infoBlock__note {
  margin-top: 4px;
  font-size: 13px;
  color: #555;
}

/* ==========================================================================
   SP (max-width: 767px)
   ========================================================================== */
@media (max-width: 767px) {
  .contentArea {
    padding: 24px 16px 48px;
  }

  .siteHeader {
    margin-bottom: 24px;
  }

  .siteHeader__logo {
    max-width: 220px;
    margin-bottom: 16px;
  }

  .siteHeader__sub {
    font-size: 15px;
  }

  .scrollNav {
    gap: 8px;
    margin-bottom: 28px;
  }

  .scrollNav__btn {
    font-size: 13px;
    padding: 12px 30px 12px 12px;
  }

  .saleSection__title {
    font-size: 17px;
    margin-bottom: 16px;
  }

  .saleBox {
    padding: 8px;
    gap: 8px;
  }

  .saleBox__status {
    flex-basis: 60px;
    font-size: 12px;
    padding: 6px 2px;
  }

  .saleBox__body {
    min-height: 58px;
  }

  .saleBox__title {
    font-size: 14px;
  }

  .saleBox__arrow {
    flex-basis: 20px;
    width: 20px;
    height: 20px;
  }

  .infoSection {
    padding: 28px 16px;
  }

  .infoBlock__body {
    padding: 16px;
  }
  .recommendBox__text a {
    width: 100%;
    margin: 20px auto 0;
  }
}

/* ==========================================
   1. フッターをきれいに並べる（最低限）
   ========================================== */
.g-footer {
    width: 100%;
    padding: 24px 15px;
    background-color: #212121; /* 黒い背景 */
    box-sizing: border-box;
    margin-top: 0 !important;   /* 下のグレーエリアと密着させて隙間を消す */
}

/* メニューの横並びと中央揃え */
.g-footer__menu {
    margin: 0 auto 8px;
    padding: 0;
    list-style-type: none; /* 「・」を消す */
    display: flex;
    flex-wrap: wrap;       /* スマホで綺麗に折り返す */
    justify-content: center; 
    font-size: 11px;
}

.g-footer__item {
    position: relative;
    padding: 0 10px;
}

/* 文字の間の「｜」 */
.g-footer__item:not(:first-child)::before {
    content: '｜';
    position: absolute;
    left: -5px;
    color: #757575;
}

.g-footer__item a {
    color: #e0e0e0;
    text-decoration: none; /* 下線を消す */
}

.g-footer__copyright {
    margin: 15px 0 0;
    text-align: center;
    font-size: 9px;
    color: #9e9e9e;
}
/* ==========================================================================
   【完全解決】大元の箱の余白を打ち消して、グレーと黒を密着させる
   ========================================================================== */

/* 1. 全体を包む箱の下部余白（padding）をゼロにして、隙間の原因を根本から消す */
.contentArea {
    padding-bottom: 0 !important;
}

/* 2. お問い合わせエリア（グレー）の下部に綺麗な余白を残し、マージンはゼロにする */
.infoSection {
    margin-bottom: 0 !important;
    padding-bottom: 60px !important; /* 白いカードの下側のグレーの余白 */
}

/* 3. 黒いフッターの上部のマージンをゼロにして密着させる */
.g-footer {
    margin-top: 0 !important;
}