@charset "utf-8";

* {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

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

img {
  vertical-align: top;
}

/* style */
#wrap {
  min-width: 1024px;
}

main {
  width: 100%;
}

#service {
  width: 100%;

  /* margin-top: 50px; */
  margin-bottom: 150px;
}

#serviceContentBox {
  width: 1024px;
  margin: 0 auto;
}

#serviceTextBox {
  text-align: center;
}

#serviceTextBox > p {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 90px;
  color: black;
}

#serviceTextBox > h4 {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 60px;
  color: #00b451;
}

#ticketBox {
  width: 1024px;
}

#ticketBox > ul {
  /* overflow: hidden; */
  height: 450px;
}

#ticketBox > ul > li {
  float: left;
  width: 196px;
  height: 416px;
  margin-right: 80px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20%);
  transition: all 0.5s;
}

#ticketBox.active > ul > li {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#ticketBox.active > ul > li:nth-child(1) {
  transition-delay: 0s;
}

#ticketBox.active > ul > li:nth-child(2) {
  transition-delay: 0.1s;
}

#ticketBox.active > ul > li:nth-child(3) {
  transition-delay: 0.2s;
}

#ticketBox.active > ul > li:nth-child(4) {
  transition-delay: 0.3s;
}

#ticketBox > ul > li:last-child {
  margin-right: 0;
}

#buyTicketBox {
  width: 1024px;
  margin: 0 auto;
  overflow: hidden;

  margin-top: 50px;
}

#buyTicketText {
  position: relative;
}

#buyTicketText span {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  cursor: pointer;
}

#buyTicketText > h4 {
  text-align: start;
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 10px;
}

#ticketLayout {
  width: 1024px;
}

#useCautionText {
  text-align: end;
  font-size: 12px;
  font-weight: bold;
  border-top: 1px solid black;
}

#useCautionText span {
  line-height: 20px;
}

#useCautionText p {
  display: inline-block;
  line-height: 20px;
}

#explanationText {
  width: 1024px;
  border: 1px solid black;
  box-sizing: border-box;
}

#explanationText > ul {
  padding: 20px;
}

#explanationText > ul > li {
  line-height: 30px;
}

#explanationText > ul > li:nth-child(even) {
  color: red;
}

#ticketSelectBox {
  float: left;
  width: 600px;
  height: 400px;

  margin-right: 24px;
  margin-top: 24px;
  box-sizing: border-box;
}

#selectOptionBox {
  width: 600px;
  height: 120px;
  border: 1px solid black;
  box-sizing: border-box;
  position: relative;
}

#selectOptionBox > p {
  position: absolute;
  top: 20px;
  left: 20px;
}

#selectOptionBox > p {
  font-size: 20px;
}

#selectOptionBox > form {
  position: absolute;
  left: 20px;
  top: 50px;
}

#selectOptionBox select {
  width: 280px;
  height: 33px;
  margin-top: 10px;
  border: 2px solid black;
}

#selectOptionBox #priceBox {
  position: absolute;
  width: 220px;
  height: 30px;

  border-bottom: 1px solid black;
  right: 20px;
  top: 60px;
}

#priceBox > p:first-child {
  position: absolute;
  top: 5px;
  right: 40px;
  background-color: red;
}

#priceBox > p {
  position: absolute;
  top: 5px;
  right: 20px;
}

#priceBox #cost {
  position: absolute;
  right: 40px;
  top: px;
  font-size: 20px;
}

#payOptionBox {
  position: relative;
  width: 600px;
  height: 160px;
  margin-top: 24px;
  border: 1px solid black;
  box-sizing: border-box;
}

#payOptionBox > form {
  position: absolute;

  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 500px;
  height: 130px;
  text-align: start;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: start;
}

#payOptionBox div {
  display: flex;
  height: 80px;
}

#payOptionBox div:first-child {
  justify-content: space-between;
  align-items: center;
}
#payOptionBox div:last-child {
  justify-content: space-between;
  align-items: center;
}

#payOptionBox input {
  display: inline-block;
  /* margin: 30px 100px; */
  margin-right: 6px;
  margin-left: 6px;
  cursor: pointer;
  /* background-color: red; */
}

#payOptionBox label {
  cursor: pointer;
  display: block;
}

#payOptionBox div:last-child label:last-child {
  background-color: red;
  width: 104px;
  opacity: 0;
  visibility: hidden;
}

#ticketPayBox {
  float: left;
  width: 400px;
  height: 500px;
  margin-top: 24px;
  border: 3px solid black;
  box-sizing: border-box;
  position: relative;
}

#ticketPayBox > p {
  font-size: 22px;
  padding: 20px;
}

#ticketPayBox ul {
  width: 360px;
  margin: 0 auto;
  border-top: 1px solid rgb(119, 119, 119);
  border-bottom: 1px solid rgb(119, 119, 119);
}

#ticketPayBox ul > li {
  padding: 10px 20px;
  font-weight: 600;
}

#ticketPayBox ul > li > span {
  display: inline-block;
  /* float: right; */
}

#ticketPayBox #cost {
  border: none;
  font-size: 30px;
  text-align: end;
  margin-top: 20px;
  width: 300px;

  line-height: 50px;
  color: #4caa6b;
}

.absol1 {
  position: absolute;
  top: 35%;
  right: 95px;
  font-size: 36px;
  font-weight: bold;
  color: #4caa6b;
}

.absol2 {
  position: absolute;
  right: 50px;
  top: 39%;
}

.won {
  display: block;
  text-align: end;
  margin-right: 20px;
}

.checkBox > input {
  display: none;
}

.checkBox1 label {
  display: inline-block;
  width: 15px;
  height: 15px;
  border: 1px solid #707070;
  margin-left: 35px;
  margin-top: 106px;
  cursor: pointer;
}

.checkBox1 input:checked + label::after {
  content: "✔";
  font-size: 25px;
  width: 10px;
  height: 10px;
  text-align: center;
  position: absolute;
  left: 9%;
  top: 242px;

  color: red;
  z-index: 1;
}

.checkBox1 > p {
  position: absolute;

  width: 300px;
  top: 50%;
  right: 35px;
  font-size: 14px;
  line-height: 20px;
}

.checkBox1 > p > a {
  font-weight: bold;
  text-decoration: underline;
}

.checkBox2 label {
  display: inline-block;
  width: 15px;
  height: 15px;
  border: 1px solid #707070;
  margin-left: 35px;
  margin-top: 25px;
  cursor: pointer;
  margin-top: 60px;
}

.checkBox2 input:checked + label::after {
  content: "✔";
  font-size: 25px;
  width: 10px;
  height: 10px;
  text-align: center;
  position: absolute;
  left: 9%;
  top: 323px;

  color: red;
}

.checkBox2 > p {
  position: absolute;

  width: 300px;
  top: 63%;
  right: 35px;
  font-size: 14px;
  line-height: 20px;
}

.checkBox2 > p > span {
  display: inline-block;
  font-size: 9px;
  font-weight: bold;
}

#payButton {
  position: absolute;
  width: 200px;
  height: 50px;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  line-height: 50px;
  font-weight: bold;
  color: white;
  background-color: #4caa6b;
  border-radius: 10px;
  cursor: pointer;
}
