.p-estheTicket select {
  border-color: #482b5c;
  background-color: #fff;
  color: #212529;
}
.p-estheTicket__main {
  padding: 40px 32px;
  background: linear-gradient(to bottom, #482B5C, #64286C);
  box-shadow: 16px 24px 16px rgba(0, 0, 0, .08);
  position: relative;
  z-index: 10;
}
.p-estheTicket__main--inner {
  background-color: #fff;
  background-image: url('../../images/salon/esthe_ticket/bg.webp');
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  margin: 10px;
  position: absolute;
  inset: 0;
}
.p-estheTicket__main--inner::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, .8);
  position: absolute;
  inset: 0;
}
.p-estheTicket__main--innerBorder::before,
.p-estheTicket__main--innerBorder::after {
  content: "";
  display: block;
  position: absolute;
}
.p-estheTicket__main--innerBorder::before {
  width: 100%;
  height: 100%;
  border: 2px solid;
  border-image: linear-gradient(to right, #EDDDBB, #967E66);
  border-image-slice: 1;
  inset: 0;
}
.p-estheTicket__main--innerBorder::after {
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  border: 1px solid;
  border-image: linear-gradient(to right, #482B5C, #64286C);
  border-image-slice: 1;
  inset: 4px;
}
.p-estheTicket__main--ribbon {
  position: absolute;
  inset: 0;
}
.p-estheTicket__main--ribbon::before,
.p-estheTicket__main--ribbon::after {
  content: "";
  display: block;
  width: 100%;
  height: 180px;
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
}
.p-estheTicket__main--ribbon::before {
  background-image: url('../../images/salon/esthe_ticket/ribbon_top.webp');
  background-position: top left;
  top: -22px;
}
.p-estheTicket__main--ribbon::after {
  background-image: url('../../images/salon/esthe_ticket/ribbon_bottom.webp');
  background-position: bottom right;
  bottom: 0;
}

.p-estheTicket__main--content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.p-estheTicket__main--content * {
  margin: 0;
}
.p-estheTicket__main .title {
  line-height: 1;
  margin: 0 !important;
}
.p-estheTicket__main .title.en {
  font-size: 28px;
  line-height: 20px;
}
.p-estheTicket__main .title.ja {
  font-size: 36px;
}
.p-estheTicket__main .name {
  display: flex;
  justify-content: center;
  align-items: baseline;
  padding-top: 16px;
  border-top: 1px solid #a79cb5;
  font-weight: 500;
  line-height: 1;
}
.p-estheTicket__main .name span {
  margin-right: 4px;
}
.p-estheTicket__main .form_group {
  align-items: center;
  flex-wrap: nowrap;
  gap: 0 16px;
  padding: 8px 8px 8px 16px;
  background: linear-gradient(to bottom, #482B5C, #64286C);
}
.p-estheTicket__main .form_group > * {
  flex: auto;
}
.p-estheTicket__main .form_group .ttl  {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  width: max-content;
}
.p-estheTicket__main select {
  height: 48px;
}

.p-estheTicket__form--container {
  max-width: 600px;
  margin: 0 auto;
}

.p-estheTicket__form {
  position: relative;
}
.p-estheTicket__form::before,
.p-estheTicket__form::after {
  content: '';
  opacity: 0;
  width: 28px;
  height: 28px;
  border-top: solid 3px #482B5C;
  border-right: solid 3px #482B5C;
  background: #fff;
  position: absolute;
  left: 50%;
}
.p-estheTicket__form::before {
  top: -20px;
  z-index: 2;
  transform: translate(-50%, -30px) rotate(135deg);
  transition: opacity 1s ease, transform 1s ease;
}
.p-estheTicket__form::after {
  top: -10px;
  z-index: 1;
  transform: translate(-50%, -40px) rotate(135deg);
  transition: opacity 1.25s ease, transform 1.25s ease;
}
.p-estheTicket__form.show::before {
  opacity: 1;
  transform: translate(-50%, 0) rotate(135deg);
}
.p-estheTicket__form.show::after {
  opacity: 1;
  transform: translate(-50%, 0) rotate(135deg);
}
.area_shipping_address:has(.p-estheTicket__form--container) {
  margin: 0;
}
.p-estheTicket__form .description {
  margin: 40px 0 16px;
  text-align: center;
  font-weight: 700;
}
.p-estheTicket__form--priceBox {
  display: grid;
  grid-template-columns: 1fr 16px 1fr 16px 1.5fr;
  gap: 16px;
  padding: 16px;
  border: 1px solid #EAE1EA;
  border-radius: 3px;
  background-color: #f2eff2;
}
.p-estheTicket__form--price .form_group {
  padding: 8px 0 0;
}
.p-estheTicket__form--price .form_group .ttl {
  font-size: 12px;
  line-height: 1.5;
}
.p-estheTicket__form--price input {
  background-color: #fff;
  border-color: #482B5C;
  font-weight: 700;
  text-align: center;
}
.p-estheTicket__form--price span.font_14 {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -1px 0 0;
}
.p-estheTicket__form--price .font_13 {
  font-size: 13px;
}
.p-estheTicket__form--priceTotal {
  padding: 8px 8px !important;
  border-radius: 3px;
  background: #fff;
}
.p-estheTicket__form--singlePrice span {
  display: inline-block;
  width: 100%;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  background: rgba(255, 255, 255, .2);
  padding: 6px 10px;
  border: 1px solid #e0dbe4;
  border-radius: 3px;
  cursor: not-allowed;
}

.p-estheTicket__form--area {
  display: flex;
  align-items: flex-start;
  margin-inline: -16px;
}
.p-estheTicket__form--area > div {
  padding-inline: 16px;
}
.p-estheTicket__form--area .btn_mauve {
  font-size: 12px;
}
.p-estheTicket__form--area .btn_mauve:hover {
  border-color: #A79CB5;
}


@media screen and (max-width: 768px){
  .p-estheTicket__main--content {
    gap: 12px;
  }
  .p-estheTicket__main .title.en {
    font-size: 20px !important;
    line-height: 20px;
  }
  .p-estheTicket__main .title.ja {
    font-size: 28px !important;
  }
  .p-estheTicket__main .form_group {
    flex-direction: column;
    padding: 0px 8px 8px 8px;
  }

  .p-estheTicket__form .form_group {
   padding: 8px 0em;
  }
  .p-estheTicket__form--area {
    margin-inline: -8px;
  }
  .p-estheTicket__form--area > div {
    padding-inline: 8px !important;
  }
  .p-estheTicket__form--priceBox {
    gap: 0 8px;
  }
}
@media screen and (max-width: 576px){
  .p-estheTicket__main--ribbon::before,
  .p-estheTicket__main--ribbon::after {
    height: 120px;
  }
  .p-estheTicket__main--ribbon::before{
    top: -13px;
  }
  .p-estheTicket__main .form_group {
    padding: 8px 8px 8px 8px;
  }
  .p-estheTicket__form .form_group .ttl {
    margin: 0 0 4px;
  }
  .p-estheTicket__form::before {
    width: 24px;
    height: 24px;
    top: -10px;
  }
  .p-estheTicket__form::after {
    width: 24px;
    height: 24px;
    top: 0;
  }
  .p-estheTicket__form .description {
    margin: 48px 0 16px;
  }
  .p-estheTicket__form--priceBox {
    grid-template-columns: 1fr 16px 1fr;
    grid-template-rows: 1fr 20px min-content;
  }
  .p-estheTicket__form--price span.font_14 {
    font-size: 16px;
  }
  .p-estheTicket__form--price span.font_14:last-of-type {
    grid-column: 1 / 4;
    transform: rotate(90deg) translate(-4px, -1px);
    margin: 0;
    font-size: 20px;
  }
  .p-estheTicket__form--price .form_group {
    padding: 0;
  }
  .p-estheTicket__form--priceTotal {
    grid-column: 1 / 4;
    padding: 8px !important;
  }
}
@media screen and (max-width: 480px){
  .p-estheTicket__form--area {
    flex-direction: column;
  }
  .p-estheTicket__form--area > div {
    max-width: 100%;
  }
}
@media screen and (min-width: 480px){
  .p-estheTicket__main .description br.off_sp {
    display: none;
  }
}
@media screen and (min-width: 390px){
  .p-estheTicket__main .title.ja br {
    display: none;
  }
}