@charset "utf-8";

/* ==========================================
 Layout
============================================*/
:root {
  --min_w1: 375;
  --max_w1: 750;
}

.container {
  max-width: 750px;
  box-shadow: 0 3px 5px 3px var(--color-container-shadow);
  --bs-gutter-x: 0;
}

/* ==========================================
 Contents
============================================*/
/* slider */
.slider {
  width: 96%;
}

.slick-slide {
  padding: 0 var(--sz-15);
}

/* ring */
.btn-start {
  width: 27.54%;
}

.btn-start-sm {
  width: 23.45%;
}

.btn-start-lg {
  width: 53.91%;
}

[data-aos="ring"]::before,
[data-aos="ring"]::after {
  box-shadow: 0 0 50px rgb(245 10 10 / 44%) inset;
  animation-timing-function: linear;
  animation-duration: 1s;
}

[data-aos="ring"]::after {
  animation-delay: 0s;
}

/* form */
.form {
  width: 92.36%;
}

.txt-form-lead {
  font-size: var(--sz-30);
  font-weight: bold;
  text-align: center;
  white-space: nowrap;
  & span {
    color: #b00300;
  }
}

.form-control {
  font-size: var(--sz-25);
  text-align: center;
  padding: 1.5em 1em;
  margin-bottom: 0.75em;
  --bs-border-color: var(--color-form-control-border);
  --bs-border-width: 2px;
  --bs-border-radius: 2em;
}

/* txt */
.txt-current {
  width: 26.45%;
}

.txt-operation {
  width: 66.8%;
}

.txt-accepting {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
}

.txt-accepting-lead {
  color: #00016d;
  font-family: var(--font-serif);
  font-size: var(--sz-39);
  font-weight: bold;
  text-align: center;
  white-space: nowrap;
}

.txt-accepting--passed {
  aspect-ratio: 948 / 108;
  width: 86.18%;
}

.txt-accepting__pass {
  color: #fff;
  font-size: var(--sz-32);
  font-weight: 500;
  white-space: nowrap;
  position: absolute;
  top: 49%;
  left: 17%;
  transform: translateY(-50%);
  line-height: 1;
}

.txt-accepting--today {
  aspect-ratio: 995 / 114;
  width: 90.45%;
}

.txt-accepting__today {
  color: #f1ff00;
  font-size: var(--sz-34);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  position: absolute;
  top: 49%;
  right: 50%;
  transform: translateY(-50%);

  & > span {
    color: var(--bs-white);
  }
}

@media (max-width: 360px) {
  .txt-accepting__today {
    font-size: var(--sz-32);
  }
}

.txt-accepting__status {
  font-size: var(--sz-37);
  font-weight: bold;
  line-height: 1;
  position: absolute;
  top: 23%;
  left: 66%;
  white-space: nowrap;

  & .over {
    position: relative;
    right: 16%;
  }
}

/* ==========================================
 Layer
============================================*/

.layer--1 {
  top: unset;
  bottom: 0;
}

.layer--2 {
  top: 38%;
}

.layer--3 {
  top: 30%;
}

.layer--4 {
  top: 25%;
}

.layer--5 {
  top: unset;
  bottom: 0;
}

.layer--6 {
  top: 22%;
}

.layer--7 {
  top: 30%;
  left: 46%;
}

.layer--8 {
  top: 57%;
}

.layer--9 {
  top: 23%;
}

.layer--10 {
  top: 10%;
}

.layer--11 {
  top: 80%;
  left: 16.7%;
}

.layer--12 {
  top: unset;
  bottom: 0;
}

.layer--13 {
  top: 22%;
}

.layer--start {
  top: unset;
  bottom: calc((100vh - 100vw * 627 / 750) / 2);

  @media (min-width: 750px) {
    bottom: calc((100vh - 627px) / 2);
  }
}

.layer--popup {
  top: 74.5%;
  width: 87.45%;
}

/* ==========================================
 Follow
============================================*/
.follow {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  z-index: 100;
  max-width: 750px;
  width: 100%;
}

.follow__today {
  position: absolute;
  top: 55%;
  left: 16%;
  color: #011375;
  font-size: var(--sz-20);
  font-weight: bold;
}

/* ==========================================
 Countdown
============================================*/
.countdown {
  position: absolute;
  top: var(--sz-44);
  right: 3.5%;
  color: #fff000;
  font-size: var(--sz-24);
  font-weight: bold;
  line-height: 1;
  letter-spacing: 0.33em;

  &.over {
    letter-spacing: normal;
    right: 3%;
  }
}

/* ==========================================
 Page Top
============================================*/
.pagetop {
  bottom: calc(100vw * 235 / 1100);
}

@media (min-width: 750px) {
  .pagetop {
    bottom: 5%;
  }
}

/* ==========================================
 Modal
============================================*/

.modal {
}

.modal-dialog {
  margin: 0 auto;
}

.modal-content {
  border: none;
  border-radius: 0;
  background-color: transparent;
}

.modal-header {
  border-bottom: none;
  padding: 0.5em 0;

  & .btn-close {
    --bs-btn-close-color: var(--bs-white);
    --bs-btn-close-bg: none;
    --bs-btn-close-opacity: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;

    &:focus {
      box-shadow: none;
    }
  }
}

.modal-body {
  padding: 0;
}

.modal__today {
  position: absolute;
  top: 5.5%;
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--sz-50);
  font-weight: bold;
  color: #011375;
  line-height: 1;
  white-space: nowrap;
}

@media (min-width: 576px) {
  .modal__today {
    font-size: 38px;
  }
}

@media (min-width: 750px) {
  .modal-dialog {
    max-width: 650px;
  }

  .modal__today {
    font-size: 50px;
  }
}
