@charset "utf-8";

#entry {
  padding-bottom: 0;
  margin-bottom: 0;
}

#entry .sectionInner {
  max-width: 1200px;
}

#entry h2.secTitle {}

@media only screen and (max-width: 560px) {
  #entry h2.secTitle {}
}

#entry p#entryIntro {
  font-size: 1.6em;
  line-height: 1.75em;
  padding: 0 5vw;
  margin: 0 auto 2em auto;
  max-width: 1400px;
  width: fit-content;
}

@media only screen and (max-width: 560px) {
  #entry p#entryIntro {
    font-size: 1.3em;
    margin-bottom: 1em;
  }
}

#entry p#entryIntro .entryBtnSample {
  display: inline-block;
  background: #FFF;
  color: #000;
  font-family: Arial, Helvetica, "sans-serif";
  font-weight: 700;
  font-size: 0.8em;
  line-height: 1;
  padding: 0.35em 0.9em;
  border: 1px solid #000;
  border-radius: 0.5em;
  margin: 0 0.3em;
  vertical-align: 0.1em;
}

#entry h3 {
  margin: 2em auto 1em auto;
  text-align: center;
  color: #FFF;
  font-size: 2em;
}

.entryGraph {}

.entryBar {
  background: rgba(255,255,255,0.55);
  border-radius: 6px;
  overflow: hidden;
  height: 1.5em;
  padding: 1px;
  position: relative;
}

.entryBar span {
  font-family: Arial, Helvetica, "sans-serif";
  display: block;
  height: 100%;
  color: #fff;
  font-size: 0.8em;
  line-height: 1;
  text-align: right;
  padding-right: 5px;
  border-radius: 6px;
  padding: 0.5em;
  box-sizing: border-box;
  width: 0% !important;
  opacity: 0;
  transition: width 0.75s ease-out, opacity 0.75s ease-out;
  transform-origin: left center;
}

.animate .entryBar span {
  width: var(--target-width) !important;
  opacity: 1;
}

.entryBar span {
  position: relative;
  z-index: 0;
  overflow: hidden;
  background-image: none !important;
}

.high .entryBar span::before,
.almost .entryBar span::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: -14px;
  width: calc(100% + 28px);
  height: 100%;
  background-size: 14px 14px;
  background-repeat: repeat;
  animation: hazardFlow 1.2s linear infinite;
}

.high .entryBar span::before {
  background-image: linear-gradient(45deg,
    rgba(0,0,0,0.14) 25%, transparent 25%, transparent 50%,
    rgba(0,0,0,0.14) 50%, rgba(0,0,0,0.14) 75%, transparent 75%, transparent);
}

.almost .entryBar span {
  background-color: #000 !important;
  color: #FFF;
  font-weight: 700;
  text-shadow: none;
  animation: labelBlink 1s ease-in-out infinite;
}

.almost .entryBar span::before {
  background-image: linear-gradient(45deg,
    #e60000 25%, #111 25%, #111 50%,
    #e60000 50%, #e60000 75%, #111 75%, #111);
}
@keyframes hazardFlow {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(14px, 0, 0); }
}
@keyframes labelBlink {
  0%, 100% { color: #FFF; }
  50%      { color: rgba(255,255,255,0.5); }
}

.closed .entryBar {
  background: rgba(255,255,255,0.55);
}
.closed .entryBar span {
  color: #FFF;
  font-weight: 700;
  background-color: #665606 !important;
  background-image: none !important;
  animation: none;
}

.closed .entryBar span::before,
.ended .entryBar span::before {
  display: none;
}

.ended .entryBar {
  background-color: rgba(0,0,0,0.25) !important;
}
.ended .entryBar span {
  color: #000 !important;
  background-color: #bbb !important;
  background-image: none !important;
  text-shadow: none;
  animation: none;
}
ul.entryList li.ended {
  opacity: 0.6;
}

@media (prefers-reduced-motion: reduce) {
  .high .entryBar span,
  .almost .entryBar span {
    animation: none;
  }
}

.centerLabel {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #000;
  z-index: 2;
  pointer-events: none;
  font-size: 0.8em;
  font-family: Arial, Helvetica, "sans-serif";
}

.entryGraph {
  position: relative;
}

ul.entryList {
  margin: 5vw auto;
}

ul.entryList li {
  padding: 1em 2vw 1.5em 2vw;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  position: relative;
  font-size: 1.3em;
  border-bottom: 2px solid rgba(0, 0, 0, 0.3);
}
@media only screen and (max-width: 560px) {
  ul.entryList li {
    padding: 1.5em;
    display: block;
    font-size: 1.1em;
  }
}

ul.entryList li .entryListInner {
  flex: 1;
}

ul.entryList li .entryListInner>div:nth-child(2) {
  margin: 0.25em 0;
}

@media only screen and (max-width: 560px) {
  ul.entryList li .entryListInner>div:nth-child(2) {
    margin: 0;
  }
}

ul.entryList li .entryListInner>div>div {
  box-sizing: border-box;
  margin: 3px 0;
  display: inline-block;
}

@media only screen and (max-width: 560px) {
  ul.entryList li .entryListInner>div>div {
    margin: 0.15em 0;
  }
}

ul.entryList .entryPref {
  display: inline-block;
  margin-right: 1em !important;
  background: url("../img/common/scratch-white.png") center center / 100% 100% no-repeat, #000;
  color: #FFF;
  text-align: center;
  width: 7em;
  font-size: 1.1em;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  transform: skew(-12deg);
}
ul.entryList .ended .entryPref {
}
@media only screen and (max-width: 560px) {
  ul.entryList .entryPref {
    font-size: 1em;
    padding: 0.2em 0;
  }
}

ul.entryList .entryDay {
  width: 10em;
  white-space: nowrap;
  font-size: 1.1em;
}
@media only screen and (max-width: 560px) {
  ul.entryList .entryDay {
    font-weight: 700;
    font-size: 1.2em;
  }
}

ul.entryList .entryPlace {
  font-weight: 700;
  display: inline-block;
  margin-right: 1.5em !important;
}
@media only screen and (max-width: 560px) {
  ul.entryList .entryPlace {
    font-size: 1.2em;
  }
}

ul.entryList .entryPlace a::after {
  content: "open_in_new";
  font-family: 'Material Icons';
  font-size: 1em;
  vertical-align: middle;
  display: inline-block;
  line-height: 1;
  padding-left: 0.3em;
  font-weight: normal;
}

ul.entryList .entryOpenStart {
  font-size: 0.8em;
  color: #333;
}
@media only screen and (max-width: 560px) {
  ul.entryList .entryOpenStart {
    font-size: 1em;
  }
}

ul.entryList li.loading {
  pointer-events: none;
}

ul.entryList li.loading .entryListInner .loadingText {
  background: linear-gradient(90deg,
      rgba(0,0,0,0.1) 25%,
      rgba(0,0,0,0.22) 37%,
      rgba(0,0,0,0.1) 63%);
  background-size: 400% 100%;
}

ul.entryList li.loading .entryListInner>div:first-child .loadingText {
  width: 55%;
}

ul.entryList li.loading .entryListInner>div:nth-child(2) .loadingText {
  width: 80%;
}
ul.entryList .graphWrapper {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
}
@media only screen and (max-width: 560px) {
  ul.entryList .graphWrapper {
    margin-top: 0.5em;
  }
}

ul.entryList .entryGraph {
  flex: 1;
}
@media only screen and (max-width: 560px) {
  ul.entryList .entryGraph {}
}

ul.entryList .entryRemainingQuantity {
  flex: 0 0 4.5em;
  text-align: left;
  padding-left: 0.5em;
  white-space: nowrap;
}

@media only screen and (max-width: 560px) {
  ul.entryList .entryRemainingQuantity {}
}

ul.entryList .application {
  flex: 0 0 6em;
  margin-left: 20px;
  text-align: center;
}
@media only screen and (max-width: 560px) {
  ul.entryList .application {
    margin-top: 0;
    margin-left: 0;
    margin-bottom: 0;
    padding-top: 10px;
  }
}

ul.entryList .closed .application {}
@media only screen and (max-width: 560px) {
  ul.entryList .closed .application {
    display: none;
  }
}

ul.entryList .application a {
  display: block;
  margin: auto 0 auto auto;
  background: #FFF;
  font-family: Arial, Helvetica, "sans-serif";
  text-align: center;
  font-weight: 700;
  text-decoration: none;
  padding: 0.5em;
  border-radius: 0.5em;
  font-size: 1em;
  border: 1px solid #000;
}
@media only screen and (max-width: 1080px) {
  ul.entryList .application a {}
}
@media only screen and (max-width: 560px) {
  ul.entryList .application a {
    width: auto;
    display: inline-block;
    padding: 0.6em 2em;
    border-radius: 2em;
  }
}

ul.entryList .closed .application a {
  display: none !important;
}

ul.entryList .application a img {
  display: block;
  width: 2.25em;
  margin: 0.1em auto auto auto;
}
@media only screen and (max-width: 560px) {
  ul.entryList .application a img {
    display: inline-block;
    margin: auto auto auto 1em;
    vertical-align: middle;
  }
}

ul.entryList .application a:hover {
  opacity: 0.7;
}

ul.entryList .application .ended-text {
  padding: 1em;
  margin-left: auto;
  font-size: 0.8em;
  font-family: Arial, Helvetica, "sans-serif";
  color: #000;
  text-align: center;
  background: rgba(0,0,0,0.1);
  border-radius: 5px;
}
@media only screen and (max-width: 560px) {
  ul.entryList .application .ended-text {
    padding: 0.25em 1.5em;
    border-radius: 2em;
    display: inline-block;
  }
}

table.default {
  width: 100%;
  font-style: normal;
  border-collapse: separate;
  border-spacing: 0.75em;
}
@media only screen and (max-width: 560px) {
  table.default {
    border-spacing: 0em 0.75em;
  }
}

table.default th,
table.default td {
  vertical-align: top;
}

table.default th {
  padding: 0.5em 1.5em;
  background: #1B1B1B;
  font-weight: normal;
  vertical-align: middle;
  white-space: nowrap;
  text-align: left;
  color: #FFF;
  width: 10em;
}
@media only screen and (max-width: 560px) {
  table.default th {
    padding: 0.5em 1em;
    display: block;
    width: 100%;
  }
}

table.default td {
  padding: 0.5em 1.5em;
  text-align: left;
  background: rgba(0, 0, 0, 0.1);
}
@media only screen and (max-width: 560px) {
  table.default td {
    padding: 0.5em 1em;
    display: block;
  }
}

#entry-flow {
  padding: 0;
}

#entry-flow .sectionInner {
  display: none;
  background: #fff;
  padding: 3vw;
  border-radius: 8px;
  margin: 0 auto;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 1000px;
  font-size: 1.2em;
}

#entry-flow .sectionInner.active {
  display: block;
}

#entry-flow .sectionInner h2 {
  display: block;
  width: fit-content;
  margin: 1em auto 1.2em auto;
  background: url("../img/common/scratch-white.png") center center / 100% 100% no-repeat, #000;
  color: #FFF;
  font-size: 1.3em;
  font-weight: 700;
  line-height: 1.2;
  padding: 0.4em 1.6em;
  transform: skew(-12deg);
}
@media only screen and (max-width: 560px) {
  #entry-flow .sectionInner h2 {
    font-size: 1.15em;
    padding: 0.4em 1.2em;
  }
}

.attention {
  background: url("../img/common/bg-red.png") repeat #e60000;
  color: #FFF;
  margin: 2em auto 1em auto;
  font-family: Arial, Helvetica, "sans-serif";
  font-weight: 300;
  padding: 2em 2vw 1.5em 2vw;

  -webkit-mask-image: linear-gradient(-45deg, transparent 1.8em, #000 calc(1.8em + 1px));
  mask-image: linear-gradient(-45deg, transparent 1.8em, #000 calc(1.8em + 1px));
}
@media only screen and (max-width: 560px) {
  .attention {
    padding: 1em 5vw 1.5em 5vw;
  }
}

.attention h4 {
  display: flex;
  align-items: center;
  gap: 0.45em;
  font-size: 1.2em;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  font-weight: 700;
  padding-bottom: 0.5em;
  margin-top: 0.5em;
}
.attention h4 .noteIcon {
  flex: 0 0 auto;
  width: 1.3em;
  height: 1.3em;
}

.attention ul {
  margin: 0 auto 0 1.5em;
  padding: 0.5em;
  font-size: 1.1em;
}
@media only screen and (max-width: 560px) {
  .attention ul {
    font-size: 1em;
  }
}

.attention ul li {
  margin: 0.5em auto;
}

.attention .mailLink a {
  color: #FFF;
}

#entry-flow .attention {
  background: #ffcc00;
  color: #000;
  padding-top: 1em;
  padding-bottom: 0.75em;
  -webkit-mask-image: none;
  mask-image: none;
}

#entry-flow .attention ul {
  font-size: 0.8em;
}

#entry-flow .error {
  font-family: Arial, Helvetica, "sans-serif";
  background: #C42121;
  width: calc(100% - 1.5em);
  margin: 1em auto;
  color: #FFF;
  font-weight: 400;
}

#entry-flow .error ul {
  margin: 0 auto 0 1.5em;
  font-size: 0.8em;
  padding: 0.5em 1em;
}

#entry-flow .error ul li {
  margin: 0.5em auto;
}

#entryId strong,
#completeDate strong {
  font-size: 1.5em;
  font-weight: 900;
}

#entry-flow input[type="text"],
select {
  width: 100%;
  padding: 0.5em;
  box-sizing: border-box;
  background: #FFF;
  border: 1px solid #DEDEDE;
}

#entry-flow input[type="text"]::placeholder {
  font-size: 0.8em;
}

#entry-flow .buttonWrap {
  text-align: center;
  margin: 1em auto;
}

#entry-flow .buttonWrap button {
  padding: 10px 20px 10px 35px;
  border: none;
  border-radius: 2em;
  background: #e60000;
  color: #fff;
  cursor: pointer;
  margin-right: 10px;
  margin: auto;
  font-size: 1em;
  font-family: Arial, Helvetica, "sans-serif";
}

#entry-flow .buttonWrap button:hover {
  background: #b10002;
}

#entry-flow .buttonWrap button img {
  vertical-align: middle;
  line-height: 1em;
  display: inline-block;
  padding-bottom: 0.15em;
  height: 1em;
}

#entry-flow button.buttonBack {
  background: rgba(175, 175, 175, 1.00);
  padding: 10px 35px 10px 20px;
}

#entry-flow label.writeCheck {
  display: inline-block;
  margin-bottom: 0.75em;
}

.loadingText {
  display: block;
  width: 50%;
  height: 1.2em;
  background: linear-gradient(90deg,
      #cccccc 25%,
      #eeeeee 37%,
      #cccccc 63%);
  background-size: 400% 100%;
  animation: loadingTextEfect 3s linear infinite;
}

.entryListInner .loadingText {
  width: 100%;
  height: 1.2em;
  background: linear-gradient(90deg,
      rgba(255,255,255,0.10) 25%,
      rgba(255,255,255,0.30) 37%,
      rgba(255,255,255,0.10) 63%);
  background-size: 400% 100%;
  animation: loadingTextEfect 3s linear infinite;
}

@keyframes loadingTextEfect {
  0% {
    background-position: 400% 0;
  }

  100% {
    background-position: -400% 0;
  }
}

.changed-info {
  color: #B10002;
}

.ended .changed-info {
  color: #333;
}

#loadingOverlay {
  position: fixed;
  top: 50%; left:50%;
  transform: translateY(-50%) translateX(-50%);
  width: 300px;
  height: 300px;
  border-radius: 1em;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loading-container {
  text-align: center;
  color: white;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  margin: 0 auto 20px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #e60000;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.loading-text {
  font-size: 18px;
  font-weight: bold;
  margin: 0;
  letter-spacing: 1px;
}
