@charset "utf-8";

body {
  margin: 0;
  padding: 0;
  font-family: Meiryo;
  color: #000000;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #f0f0f0;
}

header {
  text-align: center;
}

#hederBunner {
  margin: 64px 0;
  width: 100%;
  background-color: black;
}

#pcTitle {
  display: inline-block;
  width: 360px;
}

#spTitle {
  display: none;
}

@media screen and (max-width: 680px) {
  #pcTitle {
    display: none;
  }

  #spTitle {
    display: inline-block;
    width: 252px;
  }
}

main {
  flex: 1;
}

a {
  color: #000;
}

a:hover {
  text-decoration: none;
}

a#back {
  text-decoration: none;
}

.top {
  max-width: 640px;
  text-align: center;
  margin: 0 auto;
}

@media screen and (max-width: 680px) {
  .top {
    width: 320px;
  }
}

.inputError {
  display: none;
  border: 1px solid #e60000;
  overflow-wrap: break-word;
  max-width: 640px;
  color: #e60000;
  background-color: #ffe6e6;
  margin: 0 auto 16px auto;
  padding: 8px 32px;
}

.applicationRules {
  border: 1px solid #000;
  overflow-wrap: break-word;
  max-width: 640px;
  margin: 0 auto 40px auto;
  padding: 40px 32px;
}

@media screen and (max-width: 680px) {
  .applicationRules {
    margin: 0 auto 16px auto;
    padding: 8px 16px;
  }
}

#ruleTitle {
  font-weight: bold;
  font-size: 20px;
  text-align: center;
}

#applicationForm {
  margin: 0 auto 16px auto;
  text-align: center;
}

.applyForm {
  margin: 0 auto 8px auto;
}

.applyForm th {
  position: relative;
  width: 300px;
  padding: 20px 20px 20px 0;
  text-align: left;
  vertical-align: top;
}

.annotation small {
  display: block;
  font-size: 11px;
}

.applyForm th.required:before {
  content: "必須";
  width: 46px;
  height: 24px;
  position: absolute;
  top: 21px;
  right: 10px;
  background-color: #e60000;
  border-radius: 6px;
  color: white;
  font-size: 12px;
  font-weight: bold;
  line-height: 24px;
  text-align: center;
}

.applyForm th.any:before {
  content: "任意";
  width: 46px;
  height: 24px;
  position: absolute;
  top: 21px;
  right: 10px;
  background-color: gray;
  border-radius: 6px;
  color: white;
  font-size: 12px;
  font-weight: bold;
  line-height: 24px;
  text-align: center;
}

.applyForm td {
  box-sizing: border-box;
  width: 419px;
}

.applyForm input[type="text"] {
  width: 100%;
  height: 40px;
  border: solid 1px #000;
  border-radius: 5px;
  font-size: 16px;
  transition: 0.3s ease-in-out;
  box-sizing: border-box;
  vertical-align: top;
  outline: none;
}

.applyForm input[type="text"]#age {
  max-width: 40px;
}

.applyForm div p {
  display: inline;
  line-height: 40px;
  padding: 0 8px;
}

.applyForm input[type="text"]#prefectureCode1 {
  max-width: 60px;
}
.applyForm input[type="text"]#prefectureCode2 {
  max-width: 70px;
}

.applyForm input[type="text"].phoneNumber {
  max-width: 70px;
}

.applyForm input[type="text"].error {
  border: 1px solid #e60000;
  background-color: #fff;
}

.applyForm textarea {
  width: 100%;
  background: #fff;
  border: solid 1px #000;
  border-radius: 5px;
  font-size: 16px;
  transition: 0.3s ease-in-out;
  box-sizing: border-box;
  vertical-align: top;
  outline: none;
}

.applyForm input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.applyForm label.error {
  display: block;
  margin: 0.3em 0 0 0;
  color: #d70d19;
}

.applyForm .error_msg {
  display: block;
  margin: 0.3em 0 0 0;
  color: #d70d19;
}

.checkboxList label.error {
  display: block;
  margin: 0.3em 0 0 0;
  color: #d70d19;
}

.checkboxList {
  width: 480px;
  margin: 32px auto 40px;
  cursor: pointer;
}
@media screen and (max-width: 680px) {
  .checkboxList {
    width: 320px;
    margin: 32px auto 40px;
    cursor: pointer;
  }
}

#applicationForm ul {
  text-align: left;
  list-style: none;
  padding-left: 0;
}

.confirm_btn {
  display: block;
  width: 100%;
  max-width: 200px;
  margin: 30px auto 0;
  padding: 0;
  outline: none;
  border: none;
  background: #41cae9;
  border-radius: 40px;
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  height: 40px;
  line-height: 40px;
  text-align: center;
  cursor: pointer;
}

.confirm_btn:hover {
  opacity: 0.5;
}

@media screen and (max-width: 680px) {
  .applyForm tr,
  .applyForm td {
    display: block;
    width: 100%;
  }
  .applyForm th {
    display: block;
    width: 100%;
    padding: 20px 20px 20px 0;
  }
}

button[type="button"][disabled] {
  background-color: #fff;
  color: #ccc;
  border-color: #ccc;
  cursor: default;
}

button[type="submit"][disabled]:hover {
  opacity: 1;
}

.applyForm td {
  width: 320px;
  text-align: left;
}

.applyForm p {
  margin: 0;
}

.age::after {
  content: "歳";
  position: absolute;
  border-radius: 7px;
  font-size: 14px;
  line-height: 40px;
  padding: 4px;
}

hr {
  border: none;
  max-width: 640px;
  border-top: 1px dashed #707070;
  margin: 24px auto 32px auto;
}

@media screen and (max-width: 680px) {
  hr {
    margin: 24px auto 16px auto;
    width: 320px;
  }
}

.applicationRules h4 {
  margin: 0;
}

.applicationRules p {
  margin: 0;
}

#inputSection {
  display: none;
}

#confirmationSection {
  display: none;
  text-align: center;
}

.check {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
}
@media screen and (max-width: 680px) {
  .check {
    display: block;
  }
}

.g-recaptcha div {
  margin: 0 auto;
}

.checkTable {
  width: 726px;
  margin: 0 auto;
}

.checkTable th {
  position: relative;
  width: 50%;
  padding: 20px 20px 20px 0;
  text-align: left;
  vertical-align: top;
}

.checkTable td {
  text-align: left;
  word-break: break-all;
}

@media screen and (max-width: 680px) {
  .checkTable {
    width: 320px;
  }
  .checkTable tr,
  .checkTable td {
    display: block;
    width: 100%;
  }
  .checkTable th {
    display: block;
    width: auto;
    padding: 20px 20px 20px 0;
  }
}

img#previewIllust {
  width: 320px;
}

@media screen and (max-width: 680px) {
  img#previewIllust {
    width: 275px;
    height: 207px;
  }
}

.applyForm td img {
  width: 100%;
}

#completionSection {
  display: none;
  text-align: center;
}

.officialSiteButton {
  display: block;
  width: 100%;
  max-width: 240px;
  margin: 30px auto 0;
  padding: 0;
  outline: none;
  border: none;
  background: black;
  border-radius: 40px;
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  height: 40px;
  line-height: 40px;
  text-align: center;
  cursor: pointer;
}

.officialSiteButton:hover {
  opacity: 0.5;
}

footer {
  padding: 10px;
  margin-top: auto;
}

footer div {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

footer small {
  display: inline-block;
}

@media screen and (max-width: 680px) {
  footer div {
    display: block;
    text-align: center;
  }
}

.grecaptcha-badge {
  margin-bottom: 60px;
}

#receptionClosedSection {
  display: none;
  text-align: center;
}

#receptionClosedSection div {
  margin-bottom: 92px;
}

#notFoundSection {
  display: none;
  text-align: center;
}

#notFoundSection div {
  margin-bottom: 92px;
}
