@charset "UTF-8";

/* --------------------------------
  WEBチケット
 -------------------------------- */

/* 基本構造 */
.p-webTicket {
  display: grid;
  gap: 20px;
}

/*----- ビジュアル・導入部 -----*/
.p-webTicket__image {
  width: 100%;
}

.p-webTicket__leadText {
  text-align: center;
  font-size: min(1.4em, 4.3vw);
  font-weight: 900;
  color: var(--color-green);
}

/*----- ステップ紹介エリア -----*/
.p-webTicket__stepList {
  display: flex;
  justify-content: center;
  gap: 30px 3.3%;
  flex-wrap: wrap;
  width: 100%;
  margin: 40px auto;
}
.p-webTicket__stepItem {
  flex: 1 1 30%;
  display: grid;
  gap: 20px;
  position: relative;
}
.p-webTicket__stepItem::after {
  position: absolute;
  content: "";
  right: calc(-0.8vw - 35px);
  top: 40%;
  width: 30px;
  transform: translateX(-50%);
  display: block;
  aspect-ratio: 1/1;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 15px solid #e8526b;
}
.p-webTicket__stepItem:last-child::after {
  display: none;
}
.p-webTicket__stepImage {
  width: 100%;
  object-fit: contain;
  margin: auto;
}
.p-webTicket__stepText {
  text-align: center;
  font-weight: 600;
}

@media screen and (max-width: 768px) {
  .p-webTicket__stepList {
    max-width: 280px;
    margin: 40px auto;
    gap: 50px 0;
  }
  .p-webTicket__stepItem {
    flex: 1 1 100%;
  }
  .p-webTicket__stepItem::after {
    left: 50%;
    top: auto;
    bottom: -50px;
    transform: translateX(-50%);
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid #e8526b;
  }
}

/*----- 注意・案内テキスト -----*/
.p-webTicket__noticeText {
  margin-top: 1em;
  position: relative;
  background: #e8526b;
  color: var(--color-white);
  text-align: center;
  width: fit-content;
  margin: 0 auto 20px;
  font-size: min(1.8em, 4.3vw);
  font-weight: 600;
  padding: 0.8em 1.5em;
}
.p-webTicket__noticeText::before {
  position: absolute;
  z-index: -1;
  top: -1em;
  left: 50%;
  content: "";
  display: block;
  aspect-ratio: 1/1;
  width: 2em;
  background: #e8526b;
  transform: rotate(-45deg) translateX(-50%);
}

.p-webTicket__ctaBlock .c-btn--large {
  margin: 1em auto 0.5em;
}
.p-webTicket__ctaNote {
  text-align: center;
  font-size: 0.75em;
}

@media screen and (max-width: 768px) {
  .p-webTicket__noticeText {
    margin-top: 2em;
  }
}
/*----- 注意事項リスト -----*/
.p-webTicket__noteList {
  width: min(800px, 100%);
  margin: 20px auto;
  border-top: 1px solid #ccc;
  padding-top: 20px;
}

.p-webTicket__noteList li {
  line-height: 1.6;
  font-size: 0.75em;
  padding-left: 1em;
  text-indent: -1em;
}

/*----- 購入時の手順 -----*/
.p-webTicket__purchaseStepList {
  display: grid;
  gap: 40px;
  width: min(800px, 100%);
  margin: 20px auto;
}

.p-webTicket__purchaseStepItem {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  border: 1px solid var(--color-gray);
}
.p-webTicket__purchaseStepItem::after {
  position: absolute;
  bottom: -45px;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  content: "";
  aspect-ratio: 1/1;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 15px solid #e8526b;
}
.p-webTicket__purchaseStepItem:last-child::after {
  display: none;
}
.p-webTicket__purchaseStepNum {
  width: 5.5em;
  background: #e8526b;
  font-size: min(1.2em, 4vw);
  font-weight: 600;
  padding-block: 0.5em;
  color: var(--color-white);
  letter-spacing: 2px;
  text-align: center;
}

.p-webTicket__purchaseStepTitle {
  color: #e8526b;
  width: calc(100% - 6em);
  font-size: min(1.2em, 4.3vw);
  font-weight: 600;
  padding-inline: 0.5em;
  letter-spacing: 1px;
}

.p-webTicket__purchaseStepDesc {
  padding: 0.5em 1em;
  width: 100%;
  border-top: 1px solid var(--color-gray);
}

@media screen and (max-width: 500px) {
  .p-webTicket__purchaseStepTitle {
    letter-spacing: 0;
  }
}

/*----- 来場時の手順 -----*/
.p-webTicket__arrivalText {
  display: grid;
  gap: 20px;
  grid-template-areas:
    "title image"
    "note image";
  grid-template-columns: 1fr 30%;
  grid-template-rows: auto 1fr;
  align-items: start;
}

.p-webTicket__arrivalTitle {
  grid-area: title;
  text-align: center;
  color: #e8526b;
  font-size: min(1.4em, 4.3vw);
  font-weight: 600;
  align-self: start;
}

.p-webTicket__arrivalNote {
  grid-area: note;
  line-height: 1.6;
  font-size: 0.845em;
  padding-left: 1em;
  text-indent: -1em;
  align-self: start;
}

.p-webTicket__arrivalImage {
  grid-area: image;
  grid-row: 1 / span 2;
  align-self: start;
}

.p-webTicket__arrivalImage img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

@media screen and (max-width: 768px) {
  .p-webTicket__arrivalText {
    grid-template-areas:
      "title"
      "image"
      "note";
    grid-template-columns: 100%;
    grid-template-rows: auto auto auto;
  }
  .p-webTicket__arrivalImage {
    max-width: 330px;
    margin: auto;
    grid-row: auto;
  }
}
