@charset "UTF-8";
/*progressbar*/
.steps {
  margin-bottom: 6rem;
  overflow: hidden;
  /*CSS counters to number the steps*/
  counter-reset: step;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps li {
  list-style-type: none;
  text-transform: uppercase;
  text-align: center;
  width: 33.33%;
  max-width: 20rem;
  float: left;
  position: relative;
  letter-spacing: 1px;
  /*marking active/completed steps green*/
  /*The number of the step and the connector before it = green*/
}
@media screen and (max-width: 767px) {
  .steps li {
    font-size: 1.6rem;
  }
}
@media screen and (min-width: 768px) {
  .steps li {
    font-size: 1.8rem;
  }
}
.steps li:before {
  content: counter(step);
  counter-increment: step;
  text-align: center;
  display: block;
  background: #fff;
  border-radius: 6rem;
  margin: 0 auto 1rem auto;
}
@media screen and (max-width: 767px) {
  .steps li:before {
    font-size: 1.8rem;
    width: 4rem;
    height: 4rem;
    line-height: 4rem;
  }
}
@media screen and (min-width: 768px) {
  .steps li:before {
    font-size: 2rem;
    width: 5rem;
    height: 5rem;
    line-height: 5rem;
  }
}
.steps li::after {
  content: "";
  width: 100%;
  height: 0.5rem;
  background: #fff;
  position: absolute;
  left: -50%;
  top: 2.3rem;
  z-index: -1; /*put it behind the numbers*/
}
.steps li:first-child:after {
  /*connector not needed before the first step*/
  content: none;
}
.steps li.active:before, .steps li.active:after {
  background: linear-gradient(to bottom, #846ae2, #1c83dc);
  color: #ffffff;
}

.tab {
  display: none;
}

.tab.current {
  display: block;
}

.step-confirm .form_step_wrap {
  margin: 0 auto;
}
.step-confirm .form_step_wrap .label::after {
  content: none;
}
.step-confirm .form_step_wrap .confirm {
  width: 100%;
}
@media screen and (min-width: 768px) {
  .step-confirm .form_step_wrap .confirm {
    flex: 1;
  }
}

.group {
  display: flex;
  align-items: flex-start;
  border-bottom: 0.2rem solid #fff;
  padding: 2rem 0;
}
@media screen and (max-width: 767px) {
  .group {
    flex-direction: column;
  }
}
.group .label {
  font-weight: bold;
  min-height: 5rem;
  display: flex;
  align-items: center;
  position: relative;
}
@media screen and (max-width: 767px) {
  .group .label {
    width: 100%;
  }
}
@media screen and (min-width: 768px) {
  .group .label {
    margin-right: 3rem;
    padding: 0 0.8rem;
    width: 30%;
    min-width: 150px;
  }
}
.group .label:after {
  content: "任意";
  background-color: #e3e3e3;
  color: #000;
  margin-left: 1rem;
  font-size: 0.8em;
  padding: 0.3rem 1rem 0.6rem;
  border-radius: 0.4rem;
  position: absolute;
  right: 0;
  top: 1rem;
}
.group .label.required::after {
  content: "必須";
  background-color: #e53c3c;
  color: #fff;
}

.form-item {
  flex: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
@media screen and (max-width: 767px) {
  .form-item {
    width: 100%;
  }
}
.form-item .block_error {
  display: block;
  width: 100%;
  margin-top: 1rem;
  color: rgb(217, 21, 21);
}
@media screen and (max-width: 767px) {
  .form-item .confirm {
    width: 100%;
  }
}

input[type=text],
input[type=tel],
input[type=number],
input[type=email],
input[type=date],
input[type=time],
input[type=date-time],
select,
textarea {
  flex: 1;
  padding: 1rem 1.5rem;
  border: 1px solid #ccc;
  border-radius: 0.4rem;
  min-height: 5rem;
}
@media screen and (max-width: 767px) {
  input[type=text],
  input[type=tel],
  input[type=number],
  input[type=email],
  input[type=date],
  input[type=time],
  input[type=date-time],
  select,
  textarea {
    line-height: 1.8;
    max-width: 100%;
  }
}

select {
  display: block;
  width: 100%;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 2rem 1.6rem;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

input[type=radio],
input[type=checkbox] {
  transform: scale(1.6);
  margin: 0;
  margin-right: 1rem;
}

textarea {
  resize: vertical;
}

button {
  background-color: black;
  color: white;
  padding: 10px 15px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

button:hover {
  opacity: 0.8;
}

.postcode-group,
.birthday-group {
  display: flex;
  align-items: center;
}
@media screen and (max-width: 767px) {
  .postcode-group,
  .birthday-group {
    flex-wrap: wrap;
    row-gap: 1rem;
  }
}
.postcode-group .break,
.birthday-group .break {
  display: flex;
  align-items: center;
}
@media screen and (max-width: 767px) {
  .postcode-group .break,
  .birthday-group .break {
    width: 100%;
  }
}
.postcode-group input[type=tel],
.birthday-group input[type=tel] {
  margin-top: 0;
  width: 5.5em;
}
@media screen and (max-width: 767px) {
  .postcode-group input[type=tel],
  .birthday-group input[type=tel] {
    padding: 1rem;
    width: 4rem;
  }
}
.postcode-group input[type=tel]::-moz-placeholder, .birthday-group input[type=tel]::-moz-placeholder {
  opacity: 1;
}
.postcode-group input[type=tel]::placeholder,
.birthday-group input[type=tel]::placeholder {
  opacity: 1;
}
.postcode-group span,
.birthday-group span {
  padding: 0 0.5rem;
}
.postcode-group #year,
.birthday-group #year {
  width: 7em;
}
@media screen and (max-width: 767px) {
  .postcode-group #year,
  .birthday-group #year {
    width: 8rem;
  }
}

.postcode-group {
  gap: 1rem;
}
.postcode-group input[type=tel] {
  width: 6.7em;
}

.attachment-group {
  margin-top: 1rem;
  border: 0.1rem solid #ccc;
  padding: 1rem;
  border-radius: 0.5rem;
}

.preview_img {
  margin-top: 1rem;
}
.preview_img img {
  -o-object-fit: cover;
     object-fit: cover;
  background-color: #868484;
  display: block;
  width: auto;
  max-width: 100%;
  height: 24rem;
}

.attachment-note {
  background-color: #fff2cc;
  border-radius: 0.5rem;
  margin-bottom: 5rem;
}
@media screen and (max-width: 767px) {
  .attachment-note {
    padding: 2rem 2rem 1.2rem;
  }
}
@media screen and (min-width: 768px) {
  .attachment-note {
    padding: 2rem 3rem 1.2rem;
  }
}
.attachment-note p {
  padding-left: 1em;
  text-indent: -1em;
  margin-bottom: 0.2em;
}

.form-action {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
@media screen and (min-width: 768px) {
  .form-action {
    gap: 3rem;
  }
}
.form-action .btn {
  min-width: 15rem;
  cursor: pointer;
  border: none;
  background: linear-gradient(to right, #846ae2, #1c83dc);
  font-size: 2rem;
  padding: 1rem 2rem;
}
@media screen and (min-width: 768px) {
  .form-action .btn {
    min-width: 20rem;
    font-size: 3rem;
    padding: 1.5rem 8rem;
  }
}
.form-action .btn:disabled {
  background-color: #ccc;
}

.form-privacy {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 5rem;
}
.form-privacy .privacy {
  text-align: center;
  color: #000;
  margin-bottom: 2rem;
}
.form-privacy .privacy a {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  color: #fff;
  background: linear-gradient(to right, #cd59a0, #363ed4);
  text-decoration: none;
  transition: 0.3s;
}
.form-privacy .privacy a:hover {
  filter: drop-shadow(0 0 1rem #1c83dc);
}
.form-privacy ._wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.form-privacy ._wrap input[type=checkbox] {
  transform-origin: left top;
  margin-top: 0.2rem;
}
.form-privacy .block_error {
  text-align: center;
}

#sender {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
}
#sender.sending {
  opacity: 1;
  visibility: visible;
}
#sender .sending-content {
  color: #fff;
  font-size: 3rem;
  font-weight: bold;
  text-align: center;
}
#sender .sending-content::before {
  content: "";
  display: block;
  margin: 0 auto;
  aspect-ratio: 1;
  width: 6rem;
  margin-bottom: 2rem;
  background: url(../images/sending.svg) center/contain no-repeat;
}

.radio-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  min-height: 5rem;
}
@media screen and (min-width: 768px) {
  .radio-list {
    gap: 3rem;
  }
}

.gift_box {
  position: relative;
  display: flex;
  flex-direction: column;
}
.gift_box #more_btn {
  margin-top: 1.5rem;
}
.gift_box #more_btn .btn-more {
  padding: 0.75rem 1.5rem;
  background-color: #2e38d2;
}
.gift_box .ticket {
  display: flex;
  align-items: center;
  padding-right: 4rem;
  position: relative;
}
@media screen and (max-width: 767px) {
  .gift_box .ticket {
    flex-wrap: wrap;
  }
}
.gift_box .ticket + .ticket {
  margin-top: 1em;
  padding-top: 1em;
  position: relative;
}
.gift_box .ticket + .ticket::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 0.2rem;
  background: linear-gradient(to bottom, #846ae2, #1c83dc);
}
.gift_box .ticket .in-row {
  display: flex;
  align-items: center;
}
@media screen and (max-width: 767px) {
  .gift_box .ticket .in-row + .in-row {
    margin-top: 0.5em;
  }
}
.gift_box .ticket .in-row span {
  text-align: center;
  margin: 0 0.3em;
}
@media screen and (min-width: 768px) {
  .gift_box .ticket .in-row span {
    min-width: 5rem;
  }
}
.gift_box .ticket .in-row select {
  width: 22rem;
}
.gift_box .ticket .in-row input {
  margin-right: 0.3rem;
  width: 7.5rem;
}
@media screen and (min-width: 768px) {
  .gift_box .ticket .in-row input {
    width: 10rem;
  }
}
.gift_box .ticket .in-row:nth-child(1) {
  width: 100%;
}
@media screen and (min-width: 768px) {
  .gift_box .ticket .in-row:nth-child(1) {
    width: 30rem;
  }
}
.gift_box .ticket .in-row:nth-child(1) .denomination {
  width: 24rem;
  flex: 1;
  text-align: left;
}
.gift_box .ticket .in-row:nth-child(2) {
  flex: 1;
}
@media screen and (min-width: 768px) {
  .gift_box .ticket .in-row:nth-child(2) span {
    min-width: 2rem;
  }
}
.gift_box .ticket .in-row:nth-child(2) span .price,
.gift_box .ticket .in-row:nth-child(2) span .pay {
  margin-right: 0.3rem;
  width: 9.5rem;
}
@media screen and (min-width: 768px) {
  .gift_box .ticket .in-row:nth-child(2) span .price,
  .gift_box .ticket .in-row:nth-child(2) span .pay {
    width: 10rem;
  }
}
.gift_box .ticket .btn-remove {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  position: relative;
  width: 34px;
  height: 34px;
  display: block;
  text-indent: -999em;
  cursor: pointer;
  position: absolute;
  right: 0;
  top: 2.5rem;
}
@media screen and (max-width: 767px) {
  .gift_box .ticket .btn-remove {
    top: 2.9rem;
  }
}
.gift_box .ticket .btn-remove::before, .gift_box .ticket .btn-remove::after {
  content: "";
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  height: 2px;
  background: #111;
  border-radius: 4px;
  background-color: red;
  width: 80%;
  margin: auto;
}
.gift_box .ticket .btn-remove::before {
  transform: rotate(45deg);
}
.gift_box .ticket .btn-remove::after {
  transform: rotate(-45deg);
}

.price_result {
  width: 100%;
}
.price_result .total_price_value {
  font-size: 2.4em;
  line-height: 1;
  font-weight: bold;
  color: #2e38d2;
}

#confirm_tickets {
  background: #fff;
  padding: 1rem;
  border-radius: 1rem;
}

#company_tel-error,
#tel-error {
  font-size: 1.5rem;
  text-indent: -1em;
  padding-left: 1em;
  display: block;
}
@media screen and (max-width: 767px) {
  #company_tel-error,
  #tel-error {
    font-size: 1.4rem;
  }
}