@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;
  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: .5rem;
}

h1 span::after {
  margin-left: .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 .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: .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: .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: .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: .5s color, background;
}

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

.coverageItem figure {
  width: 90%;
  margin: .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: .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: .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:720px) {

  /***********************************************************
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: .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 .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:721px) {

  /***********************************************************
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%;
}

/* ---- stats.js ----
.count-particles {
  background:#000022;
  position:absolute;
  top:48px;
  left:0;
  width:80px;
  color:#13E8E9;
  font-size:.8em;
  text-align:left;
  text-indent:4px;
  line-height:14px;
  padding-bottom:2px;
  font-family:Helvetica, Arial, sans-serif; font-weight: bold;
}
.js-count-particles {
font-size: 1.1em;
}
#stats, .count-particles {
-webkit-user-select:none;
margin-top:5px;
margin-left:5px;
}
#stats {
border-radius:3px 3px 0 0;
overflow: hidden;
}
.count-particles {
border-radius:0 0 3px 3px;
}
 */


/***********************************************************
add by proxima
***********************************************************/
.privacy-policy-link {
  /* background-color: blue; */
  color: white;
  text-decoration: underline;
  /* 下線 */
  padding: 5px 10px;
  border-radius: 5px;
  /* 角を丸くする */
}

.privacy-policy-link:hover {
  background-color: darkblue;
  /* ホバー時の背景色 */
}

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

/*
add by kato
*/
.caution-pdf {
  /*注意事項のpdfでの下線*/
  text-decoration: underline;
  /* 下線 */
}

/*
add by aramaki
*/
.qualifying-link {
  /*注意事項のpdfでの下線*/
  text-decoration: underline;
  /* 下線 */
}

/*
以下はyoutubeの埋め込み用
chatGPTに聞いたので詳細は知らない
*/
.iframe-youtube {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 のアスペクト比 */
  height: 0;
  overflow: hidden;
}

.iframe-youtube iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/***********************************************************
20240813 渡邊_追記 コンテスト告知ページのナビゲーション関連、pageTop
***********************************************************/
.pageContents {
  position: static;
}

.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 .5s;
  cursor: pointer;
}

.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 .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;
  font-size: 1.6rem;
  color: #333;
}

body::after {
  z-index: -2;
}

#particles-js {
  z-index: -1;
}

#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;
  background: #0007;
}

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

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


/* add by kato */
.introduction h3 {
  margin-top: 20px; /* 上部の余白を20pxに設定 */
  color: khaki;
  text-decoration: underline; /* 下線を追加 */
}

/**
 * for mobile
 */
@media screen and (max-width: 720px) {
  .navigationMenu ul {
    width: calc(100% - 40px);
    padding: 12px 20px;
  }
}
