@charset "utf-8";

body {}

header {
  height: 125px;
  border-top: 6px solid rgba(85, 194, 240, 1.00);
  border-bottom: none;
  background: rgba(255, 255, 255, 1.00);
  /*    
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
*/
}

header img {
  display: block;
  margin: 15px auto;
  width: auto;
  height: 90px;
}

@media screen and (max-width: 480px) {
  header {
    height: 90px;
  }

  header img {
    height: 60px;
  }
}

section {
  background: url("../../images/background.gif");
}

section h1 {
  position: relative;
  top: 20px;
  height: 64px;
  margin-bottom: 15px;
  padding: 0 0 25px 0;
  background: none;
  background: url("../../images/title.png") no-repeat top center;
  background-size: 200px 64px;
  text-align: center;
  color: rgba(0, 0, 0, 1.00);
  font-size: 1rem;
}

section h1 span {
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 0;
  font-weight: bold;
}

#contentsArea {
  background: none;
  padding-bottom: 30px;
  border-top: none;
}

article {
  width: 900px;
  margin: 40px auto;
  padding: min(40px, 5%);
  box-sizing: border-box;
  border: 1px #f4f4f4 solid;
  border-radius: 8px;
  background: #fff;
  color: #000;
  line-height: 1.6;
}

article .message a {
  display: block;
  width: 200px;
  margin-top: 20px;
  padding: 16px 0;
  border: 0;
  color: #fff;
  text-align: center;
  cursor: pointer;
  letter-spacing: 0.06em;
  background: rgba(222, 245, 250, 1.00);
  border: 1px solid rgba(132, 214, 248, 1.00);
  border-radius: 4px;
}

article .message a span {
  padding-left: 24px;
  background: url("../../images/backBtn.png") no-repeat center left;
  background-size: 18px 18px;
  font-weight: bold;
  color: rgba(0, 0, 0, 1.00);
  font-size: 0.875em;
}

/* notice */
p#notice {
  padding-top: 10px;
  text-align: center;
  color: rgba(255, 0, 0, 1.00);
}

/* privacy policy */
div#privacy {
  border: 1px solid rgba(255, 240, 0, 1.00);
  margin-bottom: 30px;
  padding: 20px 25px;
  font-size: 85%;
  color: #000;
  line-height: 1.8em;
  letter-spacing: 0.1em;
}

#privacy a {
  color: rgba(0, 156, 255, 1.00);
  border-bottom: 1px solid rgba(0, 156, 255, 1.00);
}

/* footer */
footer {
  padding: 25px 0;
  background: rgba(255, 255, 255, 1.00);
  color: rgba(0, 0, 0, 1.00);
}

/* message */
p.message {
  font-size: 93%;
  font-weight: bold;
  letter-spacing: 0.1rem;
}

.message span {
  color: #f33;
  font-weight: bold;
}

article {
  font-size: 93%;
}

/* form element */
#form dl {
  margin: 20px 0;
  box-sizing: border-box;
}

#form dt {
  display: inline-block;
  margin-bottom: 10px;
  letter-spacing: 0.06em;
}

#form dt label {
  display: inline-block;
  line-height: 1.5em;
  color: #000;
  font-weight: bold;
}

#form dt span {
  display: inline-block;
  padding: 3px 5px;
  border-radius: 3px;
  line-height: 1.2em;
  color: #fff;
  background: rgba(85, 194, 240, 1.00);
  font-weight: bold;
  font-size: 62.5%;
  vertical-align: 3px;
}

#form dd {
  margin-bottom: 15px;
}

#age {
  width: 200px;
  margin: 0 auto;
}

#form dd #course strong {
  display: none;
  padding-left: 6px;
  font-weight: bold;
  font-size: 93%;
  letter-spacing: 0.1em;
}

#form dd ul {
  padding: 5px 0 5px 6px;
}

#form dd ul li {
  padding: 3px 0;
  letter-spacing: 0.12em;
}

/* radioボタン */
input[type="radio"] {
  display: none;
}

input[type="radio"]:checked+label {
  color: #fff;
  background: rgba(85, 194, 240, 1.00);
}

.radio-parts {
  display: inline-block;
  padding-left: 26px;
  position: relative;
  color: #000;
}

.radio-parts::before {
  content: "";
  display: block;
  position: absolute;
  top: 1px;
  left: 0;
  width: 16px;
  height: 16px;
  border: 1px solid #bdbdbd;
  background: rgba(255, 255, 255, 1.00);
  border-radius: 50%;
}

.radio-input:checked+.radio-parts {
  color: #1a68c9;
}

.radio-input:checked+.radio-parts::after {
  content: "";
  display: block;
  position: absolute;
  top: 5px;
  left: 4px;
  width: 10px;
  height: 10px;
  background: #1266cd;
  border-radius: 50%;
}

.select-container {
  position: relative;
}

.select-container::after {
  display: block;
  content: "";
  position: absolute;
  top: 50%;
  right: 10px;
  translate: 0 -50%;
  width: 5px;
  height: 5px;
  border-top: 2px solid #000;
  border-right: 2px solid #000;
  rotate: 135deg;
  z-index: 5;
}

.select-container:has(.confirmItems)::after {
  display: none;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
}


/* birthday */
#birthday .select-container {
  float: left;
  width: 10%;
}

#birthday select {
  position: relative;
  width: 100%;
  padding: 10px;
  background: rgba(255, 255, 255, 1.00);
}

#birthday span {
  float: left;
  padding: 10px;
}

/* school */
#school input {
  float: left;
  width: 20%;
}

#school span {
  float: left;
  padding: 10px;
}

#school .select-container {
  float: left;
  width: 16%;
}

#school select {
  width: 100%;
  padding: 10px;
  background: rgba(255, 255, 255, 1.00);
}


@media screen and (max-width: 640px) {
  #birthday .select-container {
    width: 22%;
  }

  #school input {
    width: 25%;
  }

  #school .select-container {
    width: 20%;
  }
}

/* file */
.file_btn {
  display: block;
  max-width: 300px;
  width: 100%;
  margin: 0 auto;
  padding: 20px 10px;
  box-sizing: border-box;
  background: #f4f4f4;
  border: 1px solid #d4d4d4;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
}

.file_btn input {
  display: none;
}

#uploadPreview1,
#uploadPreview2 {
  margin-top: 5px;
}

#uploadPreview1 span,
#uploadPreview2 span {
  display: inline-block;
  margin: 0 0 12px 0;
  font-weight: bold;
  color: rgb(255, 20, 20);
  font-size: 85%;
  letter-spacing: 0.1rem;
}

#uploadPreview1 strong,
#uploadPreview2 strong {
  display: block;
  margin: 0 0 12px 0;
  font-weight: bold;
  font-size: 85%;
  letter-spacing: 0.1rem;
  color: rgb(255, 100, 0);
}

#uploadPreview1 em,
#uploadPreview2 em {
  display: inline-block;
  margin: 5px 0;
  padding: 15px 20px;
  border: 1px #666 solid;
  font-weight: bold;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
}

/* radioボタン */
.genderBtn {
  max-width: 320px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  background: #f4f4f4;
  border: 1px solid #d4d4d4;
  border-radius: 5px;
}

.genderBtn label {
  display: block;
  float: left;
  width: 50%;
  padding: 12px 0;
  box-sizing: border-box;
  text-align: center;
  cursor: pointer;
  letter-spacing: 0.12rem;
}

.genderBtn label:last-child {
  border-left: 1px solid #d4d4d4;
}

.genderBtn label:last-child {
  border-left: 1px solid #d4d4d4;
}

/*
input[type="radio"] {
	display: none;
}
input[type="radio"]:checked+label {
	color: #fff;
	background: rgba(0,160,234,1.00);
}
*/

/* 送信 */
#submitBtn,
#backBtn {
  width: 180px;
  height: 70px;
  line-height: 70px;
  border: 0;
  color: #ffffff;
  letter-spacing: 0.1em;
  text-align: center;
  cursor: pointer;
  letter-spacing: 0.06em;
  background: rgba(85, 194, 240, 1.00);
  font-weight: bold;
}

#btnWrap li#backBtn {
  background: rgba(222, 245, 250, 1.00);
  border: 1px solid rgba(132, 214, 248, 1.00);
  color: rgba(0, 0, 0, 1.00);
}

#btnWrap li#backBtn span {
  padding-left: 22px;
  background: url("../../images/backBtn.png") no-repeat center left;
  background-size: 18px 18px;
  font-weight: bold;
}

/* error */
dl.errorElement {
  padding: 16px;
  background: #fecbbc;
  border: 1px dotted #f66;
}

.errorMessage {
  margin-left: 15px;
  font-weight: bold;
  color: rgb(255, 10, 10);
}

.confirmItems {
  color: #663;
}

@media (max-width: 1000px) {
  article {
    width: 100%;
  }

  article table caption {
    text-align: left;
    line-height: 1.4em;
  }

  div#privacy {
    text-align: left;
  }

}