@charset "UTF-8";

/* reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul {
  list-style: none;
}

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

img {
  width: 100%;
  vertical-align: baseline;
}

/***********************************************************
common
***********************************************************/
html {
  font-size: 62.5%;
}

body {
  font-family: "Noto Serif JP", serif, Arial;
  font-weight: 400;
  font-style: normal;
  font-size: 100%;
  color: #fff;
  position: relative;
}

body::after {
  content: "";
  display: block;
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  background: center/cover url(../images/background.jpg);
}

.pageContents {
  position: relative;
  z-index: 1;
  margin: auto;
  background: #162b59aa;
}

i {
  font-style: "Font Awesome 5 Free";
}

/***********************************************************
header
***********************************************************/
header {
  padding: 30px 0 0;
  margin-bottom: 50px;
}

h1 {
  text-align: center;
  font-size: 2rem;
  line-height: 1.7;
}

h1 strong {
  display: block;
  color: #f8f5b0;
}

h1 span {
  display: flex;
  align-items: center;
}

h1 span span {
  font-size: 120%;
  color: #93edef;
}

h1 span::before,
h1 span::after {
  content: "";
  display: block;
  height: 1px;
  flex-grow: 1;
  background: #fff;
}

h1 span::before {
  margin-right: 0.5rem;
}

h1 span::after {
  margin-left: 0.5rem;
}

.logo_block {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo_block img {
  display: block;
  height: auto;
  flex-shrink: 0;
}

.logo_block a:first-child {
  width: 61%;
}

.logo_block a:last-child {
  width: 35%;
}

/***********************************************************
main
***********************************************************/
h2 {
  padding-left: 1rem;
  font-size: 2.4rem;
  line-height: 1;
  border-left: 8px solid #fff;
  margin-bottom: 1.2rem;
}

p {
  font-size: 1.5rem;
  line-height: 1.75;
}

.preliminaries,
.mainMatch {
  background: #3338;
}

h3 {
  font-size: 2rem;
  padding: 0 0 0.75rem;
  border-bottom: 1px solid #fff;
  margin-bottom: 1rem;
}

.examDate p {
  font-size: 3.1rem;
}

.coverage {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  row-gap: 1.5em;
}

.coverageItem {
  padding: 4px 0 0;
  width: 45%;
  text-align: center;
  border: 1px solid #fff;
}

.prize li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.6rem;
  margin: 1rem 0;
}

.prize li::before {
  content: "\f091";
  font-family: "Font Awesome 5 Free";
  font-weight: 700;
  margin-right: 0.75rem;
}

.prize li span:first-child {
  display: flex;
  align-items: center;
  flex-grow: 1;
}

.prize li span:first-child::after {
  content: "";
  display: block;
  height: 1px;
  flex-grow: 1;
  background: #fff;
  margin: 0 8px;
}

.prize li span:last-child {
  padding: 0.25rem 1.5rem;
  border: 1px solid #fff;
  margin-left: 1rem;
}

.medals p {
  text-align: center;
  line-height: 1.2;
  text-shadow: 0 0 5px #0005;
}

.medals p span {
  display: block;
  font-size: 70%;
}

.medals p span strong {
  font-size: 250%;
}

.medals .gold,
.medals .silver,
.medals .copper {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 5px #0005);
}

.medals .gold {
  color: #f8f5b0;
  background: center/cover url(../images/gold.png);
}

.medals .silver {
  color: #dededa;
  background: center/cover url(../images/silver.png);
}

.medals .copper {
  color: #d1b05a;
  background: center/cover url(../images/copper.png);
}

.participation {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-top: 10px;
}

.participation strong {
  padding: 0 4px 0 8px;
  font-size: 150%;
  transform: translateY(-8%);
}

.participation::before,
.participation::after {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
}

.participation::before {
  background: center/cover url(../images/arrow_left.png);
  margin-right: 8px;
}

.participation::after {
  background: center/cover url(../images/arrow_right.png);
  margin-left: 8px;
}

.qualification ul {
  display: flex;
}

.qualification li {
  font-size: 1.6rem;
  margin-right: 2rem;
}

.qualification li::before {
  content: "\f14a";
  font-family: "Font Awesome 5 Free";
  font-weight: 700;
  margin-right: 0.75rem;
}

.contact>div {
  text-align: center;
  border: 1px solid #fff;
  margin-top: 24px;
}

.contact>div p {
  padding: 4px 0;
}

.contact>div a {
  display: block;
  color: #333;
  background: #fff;
  transition: 0.5s color, background;
}

.contact>div a:hover {
  color: #fff;
  background: #fff3;
}

.coverageItem figure {
  width: 90%;
  margin: 0.5rem auto 1rem;
  padding: 10px;
  background: #0005;
}

.examDate p:last-child {
  border-top: 1px solid #fff;
}

/***********************************************************
form
***********************************************************/
.contestEntry {
  margin-top: 2rem;
  background: #3338;
}

.formItem {
  display: flex;
}

.formItem label {
  font-size: 1.8rem;
}

.formItem label::after {
  content: "必須";
  color: gold;
  border: 1px solid gold;
  border-radius: 5px;
}

.formItem input:not([type="submit"]) {
  background: #fff9;
  border: none;
  box-shadow: 2px 2px 5px #0004 inset;
}

.formItem input[type="submit"] {
  color: #fff;
  background: transparent;
  border: 1px solid #fff;
  transition: 0.5s background;
}

.formItem input[type="submit"]:hover {
  background: #fff3;
}

input::placeholder {
  color: #333;
}

/***********************************************************
footer
***********************************************************/
footer {
  text-align: center;
  padding: 10px 0;
  font-size: 10px;
  color: #333;
  background: #fff;
}

footer small {
  font-size: 10px;
}

/***********************************************************
submitted
***********************************************************/
.submitted::after {
  opacity: 0.5;
}

.submit_done {
  margin: 50px auto;
  padding: 2rem;
  width: fit-content;
  color: #333;
  background: #fffa;
}

.submit_done a {
  display: block;
  margin-top: 4rem;
  text-align: center;
  font-size: 1.5rem;
}

/*■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
styles for Mobile
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
@media screen and (max-width: 440px) {

  /***********************************************************
common for Mobile
***********************************************************/
  .forPC {
    display: none;
  }

  .pageContents {
    width: 97%;
  }

  /***********************************************************
header for Mobile
***********************************************************/
  header {
    padding: 30px 2.5% 0;
  }

  h1 strong {
    font-size: 175%;
  }

  .logo_block {
    margin-top: 18px;
  }

  /***********************************************************
main for Mobile
***********************************************************/
  main>section {
    padding: 0 2.5%;
    margin-bottom: 50px;
  }

  .preliminaries,
  .mainMatch {
    padding: 0.5rem 1.25rem 1rem;
    margin: 10px 0;
  }

  .preliminaries figure {
    margin: 15px 0;
  }

  .coverage {
    margin: 20px 0 10px;
  }

  .prize ul {
    margin-bottom: 30px;
  }

  .medals .gold {
    margin: auto;
    width: 200px;
    height: 200px;
  }

  .medals .gold p {
    transform: translateY(-8%);
    font-size: 3rem;
  }

  .medals.forMobile div {
    display: flex;
  }

  .medals.forMobile div.silver_copper {
    justify-content: space-between;
  }

  .medals .silver,
  .medals .copper {
    width: 165px;
    height: 165px;
  }

  .medals .silver p,
  .medals .copper p {
    transform: translateY(-8%);
    font-size: 2.4rem;
  }

  .contact>div a {
    padding: 8px 0;
    font-size: 2rem;
  }

  /***********************************************************
form for Mobile
***********************************************************/
  .contestEntry {
    padding: 28px 10px;
  }

  .formItem {
    flex-direction: column;
  }

  .formItem:not(:last-child) {
    margin-bottom: 20px;
  }

  .formItem label {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .formItem label::after {
    padding: 0 10px;
    font-size: 12px;
    margin-left: 10px;
  }

  .formItem input:not([type="submit"]) {
    height: 32px;
    padding: 0 0.8px;
  }

  .formItem input[type="submit"] {
    margin-top: 20px;
    padding: 10px 0;
    font-size: 2rem;
  }

  /***********************************************************
footer for Mobile
***********************************************************/
  footer .logo_block {
    padding: 0 20px;
  }
}

/*■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
styles for PC
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
@media screen and (min-width: 441px) {

  /***********************************************************
common for PC
***********************************************************/
  body::after {
    background: center/cover url(../images/background_PC.jpg);
  }

  .pageContents {
    width: 90%;
    margin: auto;
  }

  .forMobile {
    display: none;
  }

  /***********************************************************
header for PC
***********************************************************/
  header {
    padding: 40px 5% 20px;
  }

  h1 {
    font-size: 3.6rem;
  }

  h1 strong {
    font-size: 190%;
  }

  .logo_block {
    margin-top: 40px;
  }

  /***********************************************************
main for PC
***********************************************************/
  main>section {
    margin: 0 auto 60px;
    padding: 0 5%;
  }

  h2 {
    font-size: 3.1rem;
  }

  p {
    font-size: 1.8rem;
  }

  .examDate {
    position: relative;
    padding-bottom: 70px;
  }

  .examDate p {
    position: absolute;
    top: 0;
    left: 25%;
    font-size: 4.2rem;
    line-height: 1;
  }

  .examDate p:last-child {
    top: 60px;
    padding-top: 16px;
    border-top: 1px solid #fff;
  }

  .preliminaries,
  .mainMatch {
    padding: 1.6rem 2.8rem;
    margin-top: 2rem;
  }

  .preliminaries figure {
    margin: 8px 0;
  }

  .coverage {
    margin: 20px 0 10px;
  }

  .coverageItem {
    width: 23%;
  }

  .prize li {
    padding: 10px 7%;
    font-size: 2.4rem;
  }

  .medals.forPC {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
  }

  .medals.forPC div {
    width: 200px;
    height: 200px;
  }

  .medals.forPC div p {
    font-size: 3rem;
    transform: translateY(-8%);
  }

  .participation {
    margin-top: 40px;
    font-size: 2.4rem;
  }

  .qualification li {
    font-size: 1.8rem;
    margin-right: 3rem;
  }

  .contact>div {
    margin-top: 34px;
  }

  .contact>div p {
    padding: 10px 0;
  }

  .contact>div a {
    padding: 20px 0;
    font-size: 2.4rem;
  }

  /***********************************************************
form for PC
***********************************************************/
  .contestEntry {
    padding: 30px 50px;
  }

  .formItem {
    align-items: center;
  }

  .formItem:not(:last-child) {
    margin-bottom: 28px;
  }

  .formItem label {
    width: 30%;
  }

  .formItem label::after {
    padding: 0 8px;
    font-size: 14px;
    margin-left: 10px;
  }

  .formItem input:not([type="submit"]) {
    width: 70%;
    height: 36px;
    padding: 0 1rem;
  }

  .formItem input[type="submit"] {
    margin-top: 20px;
    width: 100%;
    padding: 14px 0;
    font-size: 2.4rem;
    cursor: pointer;
  }

  /***********************************************************
footer for PC
***********************************************************/
  footer {
    padding: 20px 0;
  }

  footer .logo_block {
    padding: 0 30px;
    margin-bottom: 20px;
  }
}

/*■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
styles for PC Wide
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
@media screen and (min-width: 940px) {
  .pageContents {
    width: 900px;
  }

  .medals.forPC div {
    width: 240px;
    height: 240px;
  }

  .medals.forPC div p {
    font-size: 3.5rem;
  }
}

/***********************************************************
particles
***********************************************************/
canvas {
  display: block;
  vertical-align: bottom;
}

/* ---- particles.js container ---- */
#particles-js {
  position: fixed;
  z-index: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-image: url("");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
}

/***********************************************************
preliminaryContest lower pages
***********************************************************/
body.lowerPages {
  font-size: 1.6rem;
  color: #333;
  background: #efefef;
  overflow-x: hidden;
}

body.lowerPages::after {
  content: none;
}

body.lowerPages h2,
body.lowerPages h3 {
  border: none;
}

/***********************************************************
header lower pages
***********************************************************/
body.lowerPages header {
  align-items: center;
  justify-content: space-between;
  padding: 0;
  margin: 0;
  background: #fff;
}

/***********************************************************
navigation lower pages
***********************************************************/
.navigation_contents {
  width: 60px;
  height: 60px;
  position: fixed;
  z-index: 1;
  top: 0;
  right: 0;
}

.open_close {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: 60px;
  height: 60px;
  background: url(../images/menuOpen.svg);
  transition: background 0.5s;
}

.open_close.close {
  background: url(../images/menuClose.svg);
}

.navigationMenu {
  position: absolute;
  width: 100vw;
  height: 100vh;
  padding: 1rem 2rem;
  top: 0;
  left: 0;
  z-index: 1;
  transform: translateX(100%);
  background: #000a;
  transition: transform 0.5s;
}

.navigationMenu ul {
  width: 500px;
  padding: 20px 50px;
  position: absolute;
  top: 80px;
  right: 20px;
  background: #fff;
}

.navigationMenu ul li {
  margin: 4px 0;
  padding: 8px 0;
  font-weight: bold;
}

.navigationMenu.menu-open {
  transform: translateX(-100%) translateX(60px);
}

.navigationMenu a {
  display: block;
}

#pageTop {
  position: fixed;
  z-index: 1;
  bottom: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 60px;
  height: 60px;
  text-align: center;
  color: #fff;
  background: #000c;
}

#pageTop i {
  font-size: 30px;
}

#pageTop p {
  font-size: 11px;
  transform: translateY(-7px);
}

/***********************************************************
preliminaryContest lower pages
***********************************************************/
body.lowerPages h2 {
  text-align: center;
}

body.lowerPages h2 span {
  margin: 0 10px;
}

body.lowerPages h3 {
  padding: 0;
  margin: 0 0 0.5rem;
  font-size: 2.4rem;
}

p.file_link a {
  padding: 0.1rem 1.5rem;
  margin: 0 0 2rem;
  width: fit-content;
  font-size: 1.6rem;
  color: #fff;
  background: #e60000;
  display: block;
  transition: color 0.25s;
  text-decoration: underline;
}

p.file_link a:hover {
  color: yellow;
}

.questions {
  padding: 30px 40px 120px;
  overflow-x: scroll;
}

.q_prev,
.q_next {
  padding: 4px 10px;
  color: #fff;
  background: #333;
  border-radius: 5px;
}

.q_prev.not_available,
.q_next.not_available {
  background: #aaa;
  pointer-events: none;
}

body.lowerPages h2 i:hover {
  color: yellow;
}

.questionAnswerContainer {
  width: calc(1120px + 600px);
  display: flex;
  justify-content: space-between;
  position: relative;
}

.question_block {
  width: 1120px;
  overflow-x: hidden;

  background: #fff;
}

.qContent_wrapper {
  width: calc(1120px * 8);
  display: flex;
  position: relative;
  left: 0;
}

.qPhase_block {
  width: 1120px;
  padding: 10px;
}

.question_block iframe {
  width: 100%;
  height: 70vh;
}

.answer_block {
  width: 400px;
}

.answer_block .formContent_wrapper {
  width: 400px;
  height: 80vh;
  background: #fff;
  overflow-x: hidden;
}

.answer_block .formContent_container {
  width: calc(400px * 8);
  display: flex;
  overflow-x: hidden;

  position: relative;
  left: 0;
}

.answer_block .formPhase_block {
  padding: 10px;
  width: 400px;
  overflow-y: scroll;
}

.answer_block form p.answers {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.answer_block form p.answers:not(:last-child) {
  margin-bottom: 20px;
}

.answer_block input[type="radio"] {
  display: none;
}

.answer_block input[type="radio"]+label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 50px;
  background: #fff;
  border: 2px solid #777;
  border-radius: 50%;
}

.answer_block input[type="radio"]:checked+label {
  color: #fff;
  background: #777;
}

.answer_block .answers span {
  font-weight: bold;
}

input[type="submit"].global_submit {
  width: 400px;
  padding: 10px 0;
  margin: 30px 0 0;
  font-size: 20px;
  color: #fff;
  background: #0f71fc;
  border: none;
  position: absolute;
  top: 100%;
  /* left:0; */
  right: 0%;
  transition: color 0.25s;
}

input[type="submit"].global_submit:hover {
  color: yellow;
}

input[type="submit"].global_submit:disabled {
  padding: 5px 20px;
  font-size: 20px;
  background-color: light-dark(rgba(239, 239, 239, 0.3), rgba(19, 1, 1, 0.3));
  color: light-dark(rgba(16, 16, 16, 0.3), rgba(255, 255, 255, 0.3));
  border-color: light-dark(rgba(118, 118, 118, 0.3), rgba(195, 195, 195, 0.3));
}

/* 予選TOPページ */
body#lower_indexPage {
  position: relative;
}

body#lower_indexPage::after {
  content: "";
  display: block;
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  background: center/cover url(../images/background.jpg);
  opacity: 0.2;
}

body.lowerPages header.preliminaryTop {
  padding: 30px 0;
  background: #000a;
}

header.preliminaryTop h1,
header.preliminaryTop p {
  text-align: center;
  color: #fff;
}

header.preliminaryTop h1 {
  font-size: 31px;
  padding-left: 0;
}

header.preliminaryTop h1 strong {
  color: #f8f5b0;
}

header.preliminaryTop p {
  font-size: 36px;
}

header.preliminaryTop>a {
  display: block;
  text-align: center;
}

header.preliminaryTop a img {
  width: 600px;
}

.contest_type {
  margin: 30px auto 0;
  width: 610px;
  /* font-family:san-serif; */
  font-family: "Noto Serif JP", serif;
  font-weight: bolder;
  color: #fff;
  background: #e60000;
}

#lower_indexPage main {
  padding: 70px 0;
}

section.announce {
  padding: 40px;
  width: 900px;
  background: #fff;
}

section h2 {
  padding: 15px 40px;
  width: fit-content;
  margin: 0 auto 60px;
  color: #fff;
  background: #333;
}

section.announce h3 {
  padding-bottom: 6px;
  border-bottom: 1px solid #333;
  margin-bottom: 10px;
}

.members_notice {
  margin: 0 0 30px;
  text-align: center;
}

.preliminary_members {
  width: 90%;
  margin: auto;
  padding: 50px;
  background: #fff;
}

.preliminary_members h2 {
  margin-bottom: 10px;
}

.preliminary_members p.add_notice {
  text-align: center;
  margin-bottom: 20px;
}

.preliminary_members.passed {
  margin-bottom: 70px;
}

.questions_and_answers {
  padding: 50px;
  background: #000a;
}

.view_PDF {
  width: 900px;
  margin: auto;
  /* margin-bottom:60px; */
  margin-bottom: 25px;
}

.linkToAnswer {
  text-align: center;
}

.linkToAnswer a {
  color: yellow;
}

#lower_indexPage footer {
  color: #fff;
  background: #000a;
}

footer .logo_block {
  justify-content: center;
  gap: 50px;
}

#lower_indexPage footer a {
  width: fit-content;
}

#lower_indexPage footer a:first-child img {
  height: 16px;
  width: auto;
}

#lower_indexPage footer a:last-child img {
  height: 20px;
  width: auto;
}

/* 予選通過者一覧 */
/* .PassedMemberList .passedMember {
  display:flex;
  border:1px solid #666;
}
.PassedMemberList .passedMember>* {
  padding-top:10px;
  padding-right:15px;
  padding-bottom:10px;
  padding-left:15px;
}
.PassedMemberList .passedMember .numbering {
  width:7%;
  text-align:center;
}
.PassedMemberList .passedMember .nickname {
  width:47%;
}
.PassedMemberList .passedMember .age,
.PassedMemberList .passedMember .score {
  width:23%;
  text-align:center;
}
.PassedMemberList .passedMember .age {
  border-right:1px solid #666;
}
.PassedMemberList .passedMember:nth-child(-n+3) {
  width:80%;
  margin:0 auto 15px;
  border-style:solid;
  border-width:2px;
}
.PassedMemberList .passedMember:nth-child(1) {
  border-color:#e0bf0d;
}
.PassedMemberList .passedMember:nth-child(1) .nickname {
  background:#e0bf0d;
}
.PassedMemberList .passedMember:nth-child(1) .numbering {
  background:center/80% no-repeat url(../images/gold.png);
}
.PassedMemberList .passedMember:nth-child(2) {
  border-color:#aeb2b6;
}
.PassedMemberList .passedMember:nth-child(2) .nickname {
  background:#aeb2b6;
}
.PassedMemberList .passedMember:nth-child(2) .numbering {
  background:center/80% no-repeat url(../images/silver.png);
}
.PassedMemberList .passedMember:nth-child(3) {
  border-color:#c9a010;
  margin:0 auto 25px;
}
.PassedMemberList .passedMember:nth-child(3) .nickname {
  background:#c9a010;
}
.PassedMemberList .passedMember:nth-child(3) .numbering {
  background:center/80% no-repeat url(../images/copper.png);
}
.PassedMemberList .passedMember:nth-child(-n+3)>* {
  font-size:24px;
}
.PassedMemberList .passedMember:nth-child(n+4) {
  width:55%;
  margin:0 auto 10px;
}
.PassedMemberList .passedMember:nth-child(n+21) {
  display:none;
} */

/* chnage by kato from here */
/* 予選通過者一覧 */
.PassedMemberList .passedMember {
  display: flex;
  border: 1px solid #666;
}

.PassedMemberList .passedMember>* {
  padding-top: 10px;
  padding-right: 0px;
  padding-bottom: 10px;
  padding-left: 0px;
  display: grid;
  place-items: center;
  /* 水平方向と垂直方向の中央揃え */
}

.PassedMemberList .passedMember .numbering {
  width: 7%;
  text-align: center;
}

.PassedMemberList .passedMember .nickname {
  width: 67%;
  /* ユーザー名の部分だけ中央揃えにせずに表示する */
  padding-left: 15px;
  display: grid;
  justify-items: start;
  /* 水平方向は左揃えに上書き */
}

.PassedMemberList .passedMember .age {
  width: 13%;
  text-align: center;
}

.PassedMemberList .passedMember .score {
  width: 13%;
  text-align: center;
}

.PassedMemberList .passedMember .age {
  border-right: 1px solid #666;
}

.PassedMemberList .passedMember:nth-child(-n + 3) {
  width: 80%;
  margin: 0 auto 15px;
  border-style: solid;
  border-width: 2px;
}

.PassedMemberList .passedMember:nth-child(-n + 3) .numbering {
  /*-n + 3で3位までのを編集できる? */
  padding-top: 0px;
  /*文字サイズを大きくするために余白の変更*/
  padding-bottom: 0px;
  padding-right: 0px;
  padding-left: 0px;
  display: grid;
  place-items: center;
  /* 水平方向と垂直方向の中央揃えをするので余白は必要ない */
  font-size: xx-large;
  /* とても大きい文字サイズ */
}

.PassedMemberList .passedMember:nth-child(-n + 3) .score {
  /*-n + 3で3位までのを編集できる? */
  padding-top: 0px;
  /*文字サイズを大きくするために余白の変更*/
  padding-bottom: 0px;
  display: grid;
  place-items: center;
  /* 水平方向と垂直方向の中央揃えをするので余白は必要ない */
  font-size: xx-large;
  /* とても大きい文字サイズ */
  font-weight: bold;
  /* 太字にする */
  color: tomato;
  /* 色はベストがわからない */
  font-family: "メイリオ", sans-serif;
  /*ゴシック体の別のフォントがあればそれを採用したい*/
}

.PassedMemberList .passedMember:nth-child(n + 4) .score {
  /*n + 4で4位以降のを編集できる? */
  /* 4位以降は文字サイズは変更しない */
  font-weight: bold;
  /* 太字にする */
  color: tomato;
  /* 色はベストがわからない */
  font-family: "メイリオ", sans-serif;
  /*ゴシック体の別のフォントがあればそれを採用したい*/
}

.PassedMemberList .passedMember:nth-child(1) {
  border-color: #e0bf0d;
}

.PassedMemberList .passedMember:nth-child(1) .nickname {
  background: #e0bf0d;
}

.PassedMemberList .passedMember:nth-child(1) .numbering {
  background: center/80% no-repeat url(../images/gold.png);
}

.PassedMemberList .passedMember:nth-child(1) .age {
  border-right: 1px solid #e0bf0d;
  /*区切り線の色を#e0bf0dに変更*/
}

.PassedMemberList .passedMember:nth-child(1) .numbering {
  color: #e0bf0d;
  /*順位の色を#e0bf0dに変更*/
}

.PassedMemberList .passedMember:nth-child(2) {
  border-color: #aeb2b6;
}

.PassedMemberList .passedMember:nth-child(2) .nickname {
  background: #aeb2b6;
}

.PassedMemberList .passedMember:nth-child(2) .numbering {
  background: center/80% no-repeat url(../images/silver.png);
}

.PassedMemberList .passedMember:nth-child(2) .age {
  border-right: 1px solid #aeb2b6;
  /*区切り線の色を#aeb2b6に変更*/
}

.PassedMemberList .passedMember:nth-child(2) .numbering {
  color: #aeb2b6;
  /*順位の色を#aeb2b6に変更*/
}

.PassedMemberList .passedMember:nth-child(3) {
  border-color: #c9a010;
  margin: 0 auto 25px;
}

.PassedMemberList .passedMember:nth-child(3) .nickname {
  background: #c9a010;
}

.PassedMemberList .passedMember:nth-child(3) .numbering {
  background: center/80% no-repeat url(../images/copper.png);
}

.PassedMemberList .passedMember:nth-child(3) .age {
  border-right: 1px solid #c9a010;
  /*区切り線の色を#c9a010に変更*/
}

.PassedMemberList .passedMember:nth-child(3) .numbering {
  color: #c9a010;
  /*順位の色を#c9a010に変更*/
}

.PassedMemberList .passedMember:nth-child(-n + 3)>* {
  font-size: 24px;
}

.PassedMemberList .passedMember:nth-child(n + 4) {
  width: 55%;
  margin: 0 auto 10px;
}

/*この下を編集することで上位通過の人数が変更される実装だったが、
jsで管理したほうがわかりやすいので、消した*/
/*.PassedMemberList .passedMember:nth-child(n+21) {
  display:none;
}:*/

/* change by kato to here */

/* 予選参加メンバー */
.memberList {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.eachMember {
  display: flex;
  width: 19.45%;
}

.eachMember p {
  box-sizing: border-box;
  border: 1px solid #333;
}

.nickname {
  width: 80%;
  padding-left: 0.5em;
  color: #fff;
  background: #666;
}

.age {
  width: 20%;
  text-align: center;
  background: #fff;
}

/* 提出完了・不可 */
body.lowerPages:not(.qualifying_page) {
  background: #fff;
}

body.lowerPages header.submitted {
  padding: 50px 0 40px;
  text-align: center;
}

body.lowerPages header.submitted h1 {
  text-align: center;
  font-size: 24px;
}

body.lowerPages header.submitted h1 strong {
  font-size: 150%;
  color: #333;
}

header.submitted p:last-child {
  display: flex;
  align-items: center;
  margin: auto;
  width: 40%;
  font-size: 24px;
  color: #e60000;
}

header.submitted p:last-child::before,
header.submitted p:last-child::after {
  content: "";
  display: block;
  height: 3px;
  flex-grow: 1;
  background: #e60000;
}

.submitDone {
  text-align: center;
}

.submitDone h2 {
  width: fit-content;
  margin: 0 auto 10px;
  padding: 10px 20px;
  font-size: 50px;
  color: #fff;
}

.submitDone p {
  font-size: 20px;
  font-weight: bolder;
}

.submit_completed h2 {
  background: #0f71fc;
}

.submit_completed p {
  color: #0f71fc;
}

.submit_completed h2 {
  background: #0f71fc;
}

.submit_completed p {
  color: #0f71fc;
}

.submit_denied h2 {
  background: #e60000;
}

.submit_denied p {
  color: #e60000;
}

.return_to {
  display: block;
  padding: 5px 10px;
  width: fit-content;
  margin: 100px auto 0;
  border: 1px solid #333;
}

.return_to:hover {
  background-color: #333;
  color: #fff;
  border-color: #fff;
}

.timelimit_message {
  text-align: center;
}

/* ログイン */
body.lowerPages.logInPage {
  background: #efefef;
}

body.lowerPages header.log_in {
  padding: 50px 0 0;
  text-align: center;
  background: transparent;
}

body.lowerPages header.log_in h1 {
  padding: 0;
  text-align: center;
  font-size: 16px;
}

.logIn_block {
  padding: 20px 30px;
  width: fit-content;
  margin: 50px auto 0;
  text-align: center;
  background: #fff;
}

.logIn_block h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

#login-form p {
  display: flex;
  text-align: left;
  margin-bottom: 16px;
}

#login-form p label {
  width: 30%;
}

#login-form p input {
  width: 70%;
}

#login-form button {
  padding: 5px 20px;
  font-size: 20px;
  color: #fff;
  background: #333;
}

#login-form button:disabled {
  padding: 5px 20px;
  font-size: 20px;
  background-color: light-dark(rgba(239, 239, 239, 0.3), rgba(19, 1, 1, 0.3));
  color: light-dark(rgba(16, 16, 16, 0.3), rgba(255, 255, 255, 0.3));
  border-color: light-dark(rgba(118, 118, 118, 0.3), rgba(195, 195, 195, 0.3));
}

/* add by Proxima */

.caution-pdf {
  /*注意事項のpdfでの下線*/
  text-decoration: underline;
  /* 下線 */
  color: dodgerblue;
  /* 青文字 */
}

.caution-pdf:hover {
  color: darkblue;
  /* ホバー時に濃い青に変更 */
  text-decoration: none;
  /* ホバー時に下線を消す */
}

.all_question_a_tag {
  text-decoration: underline;
  /* 下線 */
  color: blue;
  /* 青文字 */
}

/* add by kato */

/* クラス「highlight」を持つ要素に対してスタイルを適用 */
.highlight {
  text-align: center;
  color: white;
  /* 文字を白に */
  margin-bottom: 15px;
  /* 下に余白を追加 */
}

/**
* for mobile
*/
@media screen and (max-width: 720px) {
  .navigationMenu ul {
    width: calc(100% - 40px);
    padding: 12px 20px;
  }
  h1 strong {
    display: block;
    font-size: 3.2rem;
  }
  header.preliminaryTop p {
    font-size: 2.2rem;
  }
  p.contest_type {
    font-size: 4rem;
    width: 100%;
  }
  header.preliminaryTop a img  {
    width: 280px;
  }
  section {
    width: 93%;
  }
  section.announce {
    width: 93%;
    padding: 24px;
    margin: auto auto 50px auto;
  }
  .final_results {
    width: 100%;
    padding: 30px 22px;
  }

  .answer_block {
    width: 100%;
  }
  .preliminary_members {
    padding: 12px;
    width: 93%;
  }

  .preliminary_members .PassedMemberList .passedMember .nickname {
    width: 180px;
  }
  .preliminary_members .PassedMemberList .passedMember .age {
    width: 48px;
  }

  .preliminary_members .PassedMemberList .passedMember .score {
    text-align: right;
    flex-grow: 1;
  }
  .preliminary_members .PassedMemberList .passedMember:nth-child(-n + 3) {
    width: 100%;
  }
  .preliminary_members .PassedMemberList .passedMember:nth-child(-n + 3) .numbering {
    width: 56px;
  }
  .preliminary_members .PassedMemberList .passedMember:nth-child(-n + 3) .nickname {
    font-size: 1.7rem;
  }
  .preliminary_members .PassedMemberList .passedMember:nth-child(-n + 3) .score {
    font-size: 2.5rem;
  }
  .preliminary_members .PassedMemberList .passedMember:nth-child(n + 4) {
    width: calc(100% - 24px);
    margin: 0 auto 22px;
  }
  .preliminary_members .PassedMemberList .passedMember:nth-child(n + 4) .numbering {
    width: 34px;
  }
  .preliminary_members .PassedMemberList .passedMember:nth-child(n + 4) .score {
    font-size: 1.7rem;
  }
  .preliminary_members .PassedMemberList .passedMember > * {
    font-size: 1.5rem;
  }
  .questions_and_answers {
    width: 100%;
    padding: 30px 0;
  }
  .view_PDF {
    width: calc(100% - 16px);
  }
  .highlight {
    padding: 0 24px 0 24px;
  }
  .eachMember {
    width: 100%;
  }
  .mail-contact {
    flex-direction: column;
  }
  footer .logo_block {
    width: 100%;
    flex-direction: column;
    gap: 8px;
  }
}
/**
* for small device
*/
@media screen and (max-width: 380px) {
  .preliminary_members {
    padding: 12px 8px;
    width: 100%;
  }
  .preliminary_members .PassedMemberList .passedMember .nickname {
    width: 140px;
  }
  .preliminary_members .PassedMemberList .passedMember .age {
    width: 36px;
  }
  .preliminary_members .PassedMemberList .passedMember:nth-child(-n + 3) .nickname {
    font-size: 1.5rem;
  }
  .preliminary_members .PassedMemberList .passedMember:nth-child(-n + 3) .score {
    font-size: 1.7rem;
  }
  .preliminary_members .PassedMemberList .passedMember:nth-child(n + 4) .score {
    font-size: 1.5rem;
  }
}
