* {
  font-size: 13px;
}

/** login */
/**================================= */
#login h1 {
  font-size: 3.5em;
  margin: 3em 0 0.6em;
  text-align: center;
  line-height: 1;
}
#login h1 span {
  display: block;
}

/** header */
/**================================= */
#header {
  background: #E2552A;
  padding: 0.8em 2em 0.6em;
  position: sticky;
  top: 0;
  z-index: 80;
}
#header .header_contents h1 {
  font-size: 1.3em;
  color: white;
  line-height: 1;
}
#header .header_contents h1 span {
  display: block;
  font-weight: normal;
  color: white;
  font-size: 0.7em;
}

#menu_btn {
  width: 30px;
  height: 30px;
  position: relative;
  cursor: pointer;
  z-index: 90;
}
#menu_btn:before, #menu_btn:after {
  content: "";
  position: absolute;
}
#menu_btn.is_open:before, #menu_btn.is_open:after {
  width: 100%;
  height: 2px;
  background: white;
}
#menu_btn.is_open:before {
  top: 30%;
}
#menu_btn.is_open:after {
  bottom: 30%;
}
#menu_btn.is_close {
  transform: rotate(45deg);
  margin-top: 1.5em;
  background: white;
  border-radius: 50%;
}
#menu_btn.is_close:before, #menu_btn.is_close:after {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #E2552A;
}
#menu_btn.is_close:before {
  width: 70%;
  height: 2px;
}
#menu_btn.is_close:after {
  height: 70%;
  width: 2px;
}

#menu {
  position: fixed;
  inset: 0;
  height: calc(var(--vh, 1vh) * 100);
  z-index: 89;
  padding: 3em;
  transition: visibility 0.5s, opacity 0.7s;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
#menu .menu_top {
  position: relative;
  z-index: 90;
  padding: 0 0 1.5em;
  align-items: flex-start;
}
#menu .menu_top h1 {
  font-size: 3em;
  line-height: 1;
  opacity: 0;
  transform: translateY(-1rem);
}
#menu .menu_top h1 span {
  display: block;
}
#menu .bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(142deg, rgb(226, 85, 42) 6%, rgb(253, 128, 60) 100%);
  opacity: 0;
  transition: 0.7s;
}
#menu nav {
  position: relative;
  z-index: 90;
  display: flex;
  flex-direction: column;
}
#menu nav a {
  font-size: 1.5em;
  font-weight: bold;
/*  margin-bottom: 1.4em;*/
  margin-bottom: 0.5em;
  opacity: 0;
  transform: translateY(-1em);
}
#menu nav a:after {
  content: attr(data-en);
  display: block;
  font-size: 1rem;
  font-weight: 500;
}
#menu.is_open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
#menu.is_open .bg {
  opacity: 1;
}
#menu.is_open .menu_top h1 {
  animation: slideY 0.7s ease-in-out forwards, opacity1 0.8s ease-in forwards;
}
#menu.is_open .menu_top .menu_btn {
  animation: slideY2 0.7s ease-in-out forwards, opacity1 0.8s ease-in forwards;
}
#menu.is_open nav a {
  animation: slideY 0.7s ease-in-out forwards, opacity1 0.8s ease-in forwards;
}
#menu.is_open nav a:nth-child(1) {
  animation-delay: 0.3s;
}
#menu.is_open nav a:nth-child(2) {
  animation-delay: 0.4s;
}
#menu.is_open nav a:nth-child(3) {
  animation-delay: 0.5s;
}
#menu.is_open nav a:nth-child(4) {
  animation-delay: 0.6s;
}
#menu.is_open nav a:nth-child(5) {
  animation-delay: 0.7s;
}
#menu.is_open nav a:nth-child(6) {
  animation-delay: 0.8s;
}
#menu.is_open nav a:nth-child(7) {
  animation-delay: 0.9s;
}
#menu.is_open nav a:nth-child(8) {
  animation-delay: 1s;
}
#menu.is_open nav a:nth-child(9) {
  animation-delay: 1.1s;
}
#menu.is_open nav a:nth-child(10) {
  animation-delay: 1.2s;
}
#menu.is_open nav a:nth-child(11) {
  animation-delay: 1.3s;
}

@keyframes opacity1 {
  100% {
    opacity: 1;
  }
}
@keyframes slideY {
  100% {
    transform: translateY(0);
  }
}
@keyframes slideY2 {
  100% {
    transform: translateY(0) rotate(45deg);
  }
}
/** footer */
/**================================= */
#footer {
  background: #E2552A;
  padding: 0.5em 0 0.3em;
  margin-top: auto;
}
#footer p {
  text-align: center;
  color: white;
  font-size: 0.8em;
}

/** main */
/**================================= */
main:not(#login) {
  max-width: 1000px;
  width: 96%;
  margin: 0 auto;
  padding: 2.5em 0;
}

/** top */
/**================================= */
.information {
  max-height: 300px;
  overflow-y: auto;
}

.side_list {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.side_list li.btn {
  text-align: center;
}
.side_list.col_4 li {
  width: 23.5%;
}
.side_list.col_5 li {
  width: 18.4%;
}

/** race table */
/**================================= */
.race_table td {
  padding: 1.4em 1.2em 1.2em !important;
}
.race_table h2 {
  display: flex;
  align-items: center;
  font-weight: 500;
  margin-bottom: 1em;
  font-size: 1.1em;
}
.race_table h2 span {
  border: 1px solid #383f3b;
  width: 2em;
  height: 2em;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.6em;
}

/** booking */
/**================================= */
#booking_agree .y_scroll {
  max-height: 270px;
  overflow-y: auto;
  padding: 1.5em;
}

/** auto operation top */
/**================================= */
.sc458_change th:last-child {
  width: 150px;
}

/** message */
/**================================= */
.err_msg {
  padding: 0.8em 1em 0.5em;
}

#res_msg {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/** list */
/**================================= */
.dl_list dt {
  font-weight: 700;
}
.dl_list dt:not(:first-child) {
  padding-top: 1em;
}
.dl_list dd {
  line-height: 1.6;
}
.dl_list dd:not(:last-child) {
  padding-bottom: 1em;
  border-bottom: 1px solid #c7c6d8;
}

.ol_list {
  margin-left: 1.5em;
}
.ol_list li {
  margin-bottom: 0.9em;
}

.li_fs09 li {
  font-size: 0.9em;
}

/** btn */
/**================================= */
.square_btn {
  aspect-ratio: 1/1;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

/** input */
/**================================= */
[data-rq][data-error-message], [data-regular][data-error-message], [data-limit][data-error-message] {
  padding-bottom: 1em;
}
[data-rq][data-error-message] .msg, [data-regular][data-error-message] .msg, [data-limit][data-error-message] .msg {
  position: absolute;
  font-size: 0.8em;
  color: #FB6750;
  left: 0;
  width: max-content;
}
[data-rq][data-error-message]:not(.radio_area):not(.checkbox_area) .msg, [data-rq][data-error-message].radio_btn .msg, [data-regular][data-error-message]:not(.radio_area):not(.checkbox_area) .msg, [data-regular][data-error-message].radio_btn .msg, [data-limit][data-error-message]:not(.radio_area):not(.checkbox_area) .msg, [data-limit][data-error-message].radio_btn .msg {
  bottom: -0.8em;
}
[data-rq][data-error-message].radio_area:not(.radio_btn) span, [data-rq][data-error-message].checkbox_area span, [data-regular][data-error-message].radio_area:not(.radio_btn) span, [data-regular][data-error-message].checkbox_area span, [data-limit][data-error-message].radio_area:not(.radio_btn) span, [data-limit][data-error-message].checkbox_area span {
  bottom: 0.8em;
}

.radio_area .btn {
  cursor: pointer;
}
.radio_area .btn:has(input:checked) {
  background: #E2552A;
  border-color: #C83D17;
  box-shadow: none;
  color: white;
  opacity: 1;
}

@media screen and (max-height: 900px) and (min-width: 1024px) {
  #menu nav {
    column-count: 2;
    display: block;
  }
  #menu nav a {
    display: block;
  }
}
@media all and (max-width: 820px) {
  table.tb2.sc820 {
    border-top: none;
  }
  table.tb2.sc820 th {
    padding: 0.8em 1em 0.6em;
    border: none;
  }
  table.tb2.sc820 th > * {
    font-size: 0.9rem;
  }
  table.tb2.sc820 td {
    padding: 0.5em 0.5em 1.5em;
    border: none;
  }
  table.tb2.sc820 .wmax600px {
    max-width: unset;
  }
}
@media all and (max-width: 458px) {
  #menu {
    padding: 2em 3em;
  }
  #menu .menu_top h1 {
    font-size: 2em;
  }
  #menu .menu_top h1 span {
    font-size: 0.9rem;
  }
  #menu nav a {
    font-size: 1.1em;
  }
  #menu nav a:after {
    font-size: 0.7rem;
  }
  #menu_btn.is_close {
    margin-top: 1em;
  }
  table.tb_sp458 {
    display: block;
  }
  table.tb_sp458 tbody, table.tb_sp458 tr, table.tb_sp458 th, table.tb_sp458 td {
    display: block;
    width: 100%;
  }
  .tb2 th {
    font-size: 0.9em;
    font-weight: 500;
  }
  .tb2 th > * {
    font-size: 0.9rem;
  }
  .tb2.tb_sp458 th {
    padding: 0.4em 0.8em 0.2em;
  }
  .tb2.tb_sp458 td {
    padding: 0.9em 0 0.7em;
  }
  .tb2.tb_sp458 tr:last-child td {
    border-width: 0;
  }
  .sc458_change th:last-child {
    width: 95px;
  }
  .sc458_change th, .sc458_change td {
    font-size: 12px;
    padding: 0.9em 0.5em 0.7em !important;
  }
  .sc458_change td .btn {
    font-size: 12px;
  }
}
@media all and (max-width: 420px) {
  #login h1 {
    margin-top: 2em;
  }
}
@media all and (max-width: 390px) {
  #login h1 {
    margin-top: 1em;
  }
  #menu {
    padding: 2em;
  }
  #menu .menu_top h1 {
    font-size: 1.7em;
  }
  #menu .menu_top h1 span {
    font-size: 0.8rem;
  }
  #menu nav a {
    font-size: 1.1em;
  }
  #menu nav a:after {
    font-size: 0.7rem;
  }
}


