/* A Modern CSS Reset */
*, *::before, *::after {
  box-sizing: border-box;
}

body, h1, h2, h3, h4, p, figure, blockquote, dl, dd {
  margin: 0;
}

ul[role=list], ol[role=list] {
  list-style: none;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
}

img, picture {
  max-width: 100%;
  display: block;
}

input, button, textarea, select {
  font: inherit;
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/*-----------------------------------------------

    BASE

-----------------------------------------------*/
html {
  scroll-behavior: smooth;
}

body {
  background-color: #f8f9fb;
  color: #102955;
  width: 100%;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  word-wrap: break-word;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  letter-spacing: 1px;
}

img {
  vertical-align: bottom;
}

ul {
  margin: 0;
  padding: 0;
}
ul li {
  list-style: none;
}

a {
  display: block;
  text-decoration: none;
  color: #102955;
}

.d-sp {
  display: inline-block;
}

.d-pc {
  display: none;
}

.container {
  width: 94%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
}

.wrap {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
}

/*-----------------------------------------------

    HEADER

-----------------------------------------------*/
header nav ul {
  display: flex;
  gap: 1px;
}
header nav ul li {
  width: 50%;
  text-align: center;
  font-size: 4vw;
}
header nav ul li a {
  background-color: #102955;
  color: #fff;
  padding: 7% 0;
}
header nav ul li a:hover {
  background-color: #333;
}

/*-----------------------------------------------

    SECTION

-----------------------------------------------*/
section {
  margin-bottom: 7%;
}
section .section__title {
  text-align: center;
  padding: 3% 0;
  background-color: #102955;
  color: #fff;
}
section .section__title h2 {
  font-size: 6vw;
  font-weight: 700;
}
section .section__contents {
  padding: 3% 0;
}
section .section__contents p {
  font-size: 4vw;
}

/*-----------------------------------------------

    LINE UP

-----------------------------------------------*/
#lineup .section__contents img {
  margin-top: 3%;
}

/*-----------------------------------------------

    FORM

-----------------------------------------------*/
table.formTable {
  width: 100%;
}
table.formTable th,
table.formTable td {
  display: block;
  text-align: left;
  font-size: 4vw;
  font-weight: 600;
  padding: 1% 0;
}
table.formTable th span {
  background-color: #218db5;
  color: #fff;
  font-size: 10px;
  font-weight: 100;
  line-height: 1;
  margin: 0 2% 0 0;
  padding: 1% 4%;
  border-radius: 2px;
}
table.formTable td {
  padding-bottom: 4%;
}

form select,
form input[type=text] {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #d2d6df;
  border-radius: 2px;
  padding: 1% 2%;
  font-size: 4vw;
  font-weight: 300;
}
form select {
  padding: 2%;
}
form .btn {
  text-align: center;
}
form .btn input[type=submit] {
  background-color: #3f8eb5;
  border: 0;
  color: #fff;
  width: 50%;
  padding: 2%;
  border-radius: 50px;
  font-size: 4vw;
  font-weight: 500;
  display: block;
  margin: 20px auto;
}

/*-----------------------------------------------

    PAGE
    - mail.php | #confirmation
    - thnks.html

-----------------------------------------------*/
#confirmation header,
#thanks header {
  background-color: #102955;
  color: #fff;
  text-align: center;
  padding: 3% 0;
}
#confirmation header h1,
#thanks header h1 {
  font-size: 6vw;
  font-weight: 700;
}
#confirmation nav ul,
#thanks nav ul {
  display: flex;
  justify-content: center;
  width: 90%;
  margin: 5% auto 0;
}
#confirmation nav ul li,
#thanks nav ul li {
  position: relative;
  background-color: #fff;
  position: relative;
  color: #102955;
  width: 33.3333333333%;
  text-align: center;
  font-size: 14px;
  border: 1px solid #102955;
  border-right: transparent;
}
#confirmation nav ul li::before,
#thanks nav ul li::before {
  position: absolute;
  content: "";
  top: 50%;
  right: -10px;
  z-index: 1;
  transform: translateY(-50%) scaleX(0.5) rotate(45deg);
  width: 18px;
  height: 18px;
  border: 2px solid #00113f;
  border-left: none;
  border-bottom: none;
  background-color: #fff;
}
#confirmation nav ul li.active,
#thanks nav ul li.active {
  background-color: #102955;
  color: #fff;
}
#confirmation nav ul li.active::before,
#thanks nav ul li.active::before {
  background-color: #102955;
}
#confirmation h2,
#thanks h2 {
  text-align: center;
  font-size: 4vw;
  font-weight: 700;
  padding: 5% 0;
}
#confirmation #formWrap,
#thanks #formWrap {
  width: 94%;
  max-width: 800px;
  margin: 0 auto 10%;
  padding: 0;
}
#confirmation #formWrap .error,
#thanks #formWrap .error {
  padding: 10% 0;
  text-align: center;
}
#confirmation #formWrap .error p,
#thanks #formWrap .error p {
  font-size: 3vw;
  margin-bottom: 2%;
}
#confirmation #formWrap .error p.error_messe,
#thanks #formWrap .error p.error_messe {
  color: #c03;
  margin-bottom: 10%;
}
#confirmation #formWrap .error input,
#thanks #formWrap .error input {
  background-color: #444;
  border: 0;
  color: #fff;
  width: 50%;
  margin: 0 auto;
  padding: 2%;
  border-radius: 50px;
  font-size: 4vw;
  font-weight: 500;
}
#confirmation #formWrap table.formTable,
#thanks #formWrap table.formTable {
  width: 100%;
  margin: 0 auto;
  border-collapse: collapse;
}
#confirmation #formWrap table.formTable td,
#confirmation #formWrap table.formTable th,
#thanks #formWrap table.formTable td,
#thanks #formWrap table.formTable th {
  border: 1px solid #d2d6df;
  padding: 2% 4%;
  display: block;
}
#confirmation #formWrap table.formTable th,
#thanks #formWrap table.formTable th {
  font-weight: normal;
  background: #d2d6df;
  text-align: left;
  border-bottom: 0;
}
#confirmation #formWrap table.formTable td,
#thanks #formWrap table.formTable td {
  margin-bottom: 4%;
  font-weight: 300;
}
#confirmation #formWrap table.formTable form input[type=submit],
#confirmation #formWrap table.formTable form input[type=button],
#thanks #formWrap table.formTable form input[type=submit],
#thanks #formWrap table.formTable form input[type=button] {
  display: block;
  width: 100%;
  height: 40px;
}
#confirmation #formWrap .terms-wrap,
#thanks #formWrap .terms-wrap {
  margin: 8% 0 0;
}
#confirmation #formWrap .terms-wrap h3,
#thanks #formWrap .terms-wrap h3 {
  font-size: 3.5vw;
  text-align: center;
}
#confirmation #formWrap .terms-wrap .term-txt,
#thanks #formWrap .terms-wrap .term-txt {
  height: 100px;
  overflow-y: scroll;
  font-size: 3vw;
  font-weight: 300;
  border: 1px solid #d2d6e0;
  margin: 2% 0;
  padding: 4%;
  color: #333;
}
#confirmation #formWrap .terms-wrap .check-box,
#thanks #formWrap .terms-wrap .check-box {
  margin-bottom: 20px;
}
#confirmation #formWrap .terms-wrap .check-box .check,
#thanks #formWrap .terms-wrap .check-box .check {
  display: none;
}
#confirmation #formWrap .terms-wrap .check-box span,
#thanks #formWrap .terms-wrap .check-box span {
  font-size: 3vw;
}
#confirmation #formWrap .terms-wrap .check-box .check + span,
#thanks #formWrap .terms-wrap .check-box .check + span {
  cursor: pointer;
  display: inline-block;
  margin: 0 0 4% 0;
  padding: 0 0 0 7%;
  position: relative;
  color: #780000;
}
#confirmation #formWrap .terms-wrap .check-box .check + span::before,
#thanks #formWrap .terms-wrap .check-box .check + span::before {
  -webkit-transform: translateY(-50%);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.8);
  border-radius: 2px;
  content: "";
  display: block;
  height: 1.3em;
  left: 0;
  position: absolute;
  top: 25%;
  transform: translateY(-50%);
  width: 1.3em;
}
#confirmation #formWrap .terms-wrap .check-box .check + span::after,
#thanks #formWrap .terms-wrap .check-box .check + span::after {
  -webkit-transform: translateY(-50%) rotate(-45deg);
  border-bottom: 3px solid rgba(0, 0, 0, 0.8);
  border-left: 3px solid rgba(0, 0, 0, 0.8);
  content: "";
  display: block;
  height: 0.6em;
  left: 1%;
  margin-top: -0.2em;
  opacity: 0;
  position: absolute;
  top: 25%;
  transform: translateY(-50%) rotate(-45deg);
  transition: all 0.3s ease 0s;
  width: 1em;
}
#confirmation #formWrap .terms-wrap .check-box .check:checked + span::after,
#thanks #formWrap .terms-wrap .check-box .check:checked + span::after {
  opacity: 1;
}
#confirmation #formWrap .btn,
#thanks #formWrap .btn {
  display: flex;
  flex-direction: column;
}
#confirmation #formWrap .btn .submit,
#thanks #formWrap .btn .submit {
  background-color: #3f8eb5;
  border: 0;
  color: #fff;
  width: 50%;
  margin: 0 auto 3%;
  padding: 2%;
  border-radius: 50px;
  font-size: 4vw;
  font-weight: 500;
}
#confirmation #formWrap .btn .submit:hover,
#confirmation #formWrap .btn .submit:focus,
#thanks #formWrap .btn .submit:hover,
#thanks #formWrap .btn .submit:focus {
  outline: none;
}
#confirmation #formWrap .btn .submit::-moz-foucus-inner,
#thanks #formWrap .btn .submit::-moz-foucus-inner {
  border: none;
  padding: 0;
}
#confirmation #formWrap .btn input:disabled,
#thanks #formWrap .btn input:disabled {
  cursor: default;
  opacity: 0.3;
}
#confirmation #formWrap .btn .back-link,
#thanks #formWrap .btn .back-link {
  background-color: #444;
  border: 0;
  color: #fff;
  width: 50%;
  margin: 0 auto;
  padding: 2%;
  border-radius: 50px;
  font-size: 4vw;
  font-weight: 500;
}
#confirmation .thanks-message,
#thanks .thanks-message {
  width: 86%;
  max-width: 800px;
  margin: 5% auto 15%;
  padding: 0;
  text-align: center;
}
#confirmation .thanks-message .bank,
#thanks .thanks-message .bank {
  background-color: #fff;
  border: 1px solid #d2d6df;
  margin: 2% auto 0;
  padding: 5% 6%;
  width: 100%;
  font-size: 14px;
}
#confirmation .thanks-message .bank .bank__info p,
#thanks .thanks-message .bank .bank__info p {
  font-size: 6vw;
}
#confirmation .thanks-message dl div,
#thanks .thanks-message dl div {
  display: flex;
}
/*-----------------------------------------------

    FOOTER

-----------------------------------------------*/
footer {
  text-align: center;
}
footer ul {
  border-top: 1px solid #e2e6ed;
  padding: 7% 0;
  display: flex;
  justify-content: space-between;
}
footer ul li {
  font-size: 3vw;
}
footer ul li a {
  text-decoration: underline;
}
footer p {
  font-size: 10px;
  letter-spacing: 0;
}

section#low {
  background-color: #fff;
  height: 100px;
  overflow-y: scroll;
  text-align: left;
  padding: 0 20px 40px;
}
section#low .term__item hgroup {
  text-align: center;
  padding: 20px 0;
}
section#low .term__item hgroup h4 {
  font-size: 5vw;
}
section#low .term__item hgroup p {
  font-size: 2.5vw;
}
section#low .term__item p {
  font-size: 3vw;
}
section#low .term__item h5 {
  font-size: 3vw;
  font-weight: bold;
  border-bottom: 1px solid #888;
  margin-bottom: 4px;
  padding-bottom: 4px;
}
section#low .term__item dl {
  font-size: 3vw;
}
section#low .term__item dl dt {
  border-bottom: 1px solid #888;
  padding-bottom: 4px;
  font-weight: bold;
}
section#low .term__item dl dd {
  margin-bottom: 20px;
  padding-top: 4px;
}
section#low .term__item dl dd ul {
  flex-direction: column;
  border-top: 0;
  padding: 0 0 0 20px;
}
section#low .term__item dl dd ul li {
  font-size: inherit;
  list-style: disc;
}
section#low .term__item dl dd strong {
  display: block;
  margin-top: 20px;
}
section#low .term__item dl dd em {
  display: block;
  margin-top: 20px;
}
section#low .term__item ol {
  border-top: 0;
  padding: 0 0 0 20px;
}
section#low .term__item ol li {
  font-size: 3vw;
}
section#low .term__item .text-right {
  margin-top: 20px;
  text-align: right;
}
section#low .privacy,
section#low .terms {
  margin-top: 100px;
}

.terms-wrap .term-txt {
  background-color: #fff;
  height: 100px;
  overflow-y: scroll;
  text-align: left;
  padding: 0 20px 40px;
}
.terms-wrap .term-txt .term__item hgroup {
  text-align: center;
  padding: 0 0 20px;
}
.terms-wrap .term-txt .term__item hgroup h4 {
  font-size: 3vw;
}
.terms-wrap .term-txt .term__item hgroup p {
  font-size: 2.3vw;
}
.terms-wrap .term-txt .term__item p {
  font-size: 3vw;
}
.terms-wrap .term-txt .term__item h5 {
  font-size: 3vw;
  font-weight: bold;
  border-bottom: 1px solid #888;
  margin-bottom: 4px;
  padding-bottom: 4px;
}
.terms-wrap .term-txt .term__item dl {
  font-size: 3vw;
}
.terms-wrap .term-txt .term__item dl dt {
  border-bottom: 1px solid #888;
  padding-bottom: 4px;
  font-weight: bold;
}
.terms-wrap .term-txt .term__item dl dd {
  margin-bottom: 20px;
  padding-top: 4px;
}
.terms-wrap .term-txt .term__item dl dd ul {
  flex-direction: column;
  border-top: 0;
  padding: 0 0 0 20px;
}
.terms-wrap .term-txt .term__item dl dd ul li {
  font-size: inherit;
  list-style: disc;
}
.terms-wrap .term-txt .term__item dl dd strong {
  display: block;
  margin-top: 20px;
}
.terms-wrap .term-txt .term__item dl dd em {
  display: block;
  margin-top: 20px;
}
.terms-wrap .term-txt .term__item ol {
  border-top: 0;
  padding: 0 0 0 20px;
}
.terms-wrap .term-txt .term__item ol li {
  font-size: 3vw;
}
.terms-wrap .term-txt .term__item .text-right {
  margin-top: 20px;
  text-align: right;
}
.terms-wrap .term-txt .privacy {
  margin-top: 100px;
}

/*------------------------------------------------------

    RESPO / MOBILE FIRST

------------------------------------------------------*/
@media (min-width: 800px) {
  .d-sp {
    display: inline-block;
  }
  .d-pc {
    display: none;
  }
  /* HEADER */
  header nav ul li {
    font-size: 20px;
    font-weight: 700;
  }
  header nav ul li a {
    padding: 3% 0;
  }
  /* SECTION */
  section {
    margin-bottom: 7%;
  }
  section .section__title {
    padding: 1% 0;
  }
  section .section__title h2 {
    font-size: 32px;
    font-weight: 900;
  }
  section .section__contents {
    padding: 2% 0;
  }
  section .section__contents p {
    font-size: 18px;
  }
  /* FORM */
  table.formTable th,
  table.formTable td {
    font-size: 18px;
    font-weight: 600;
  }
  table.formTable th span {
    font-size: 12px;
    font-weight: 300;
    margin: 0 10px 0 0;
    padding: 2px 10px 3px;
    vertical-align: 3px;
  }
  table.formTable td {
    padding-bottom: 4%;
  }
  form select,
  form input[type=text] {
    font-size: 18px;
  }
  form select {
    padding: 1% 2%;
  }
  form .btn {
    text-align: center;
  }
  form .btn input[type=submit] {
    padding: 1%;
    font-size: 18px;
    font-weight: 700;
  }
  /* PAGE */
  #confirmation header h1,
  #thanks header h1 {
    font-size: 48px;
  }
  #confirmation header ul li,
  #thanks header ul li {
    font-size: 16px;
    padding: 2px 20px;
  }
  #confirmation header ul li.sep,
  #thanks header ul li.sep {
    padding: 0 12px;
  }
  #confirmation h2,
  #thanks h2 {
    font-size: 20px;
  }
  #confirmation #formWrap .error p,
  #thanks #formWrap .error p {
    font-size: 18px;
    margin-bottom: 2%;
  }
  #confirmation #formWrap .error p.error_messe,
  #thanks #formWrap .error p.error_messe {
    color: #c03;
    margin-bottom: 10%;
  }
  #confirmation #formWrap .error input,
  #thanks #formWrap .error input {
    padding: 1%;
    font-size: 18px;
    font-weight: 700;
  }
  #confirmation #formWrap table.formTable td,
  #confirmation #formWrap table.formTable th,
  #thanks #formWrap table.formTable td,
  #thanks #formWrap table.formTable th {
    padding: 1% 4%;
  }
  #confirmation #formWrap table.formTable td,
  #thanks #formWrap table.formTable td {
    margin-bottom: 2%;
  }
  #confirmation #formWrap .terms-wrap h3,
  #thanks #formWrap .terms-wrap h3 {
    font-size: 20px;
    text-align: center;
  }
  #confirmation #formWrap .terms-wrap .term-txt,
  #thanks #formWrap .terms-wrap .term-txt {
    height: 200px;
    font-size: 16px;
  }
  #confirmation #formWrap .terms-wrap .check-box .check + span,
  #thanks #formWrap .terms-wrap .check-box .check + span {
    padding: 0 0 0 28px;
    font-size: 16px;
  }
  #confirmation #formWrap .terms-wrap .check-box .check + span::before,
  #thanks #formWrap .terms-wrap .check-box .check + span::before {
    top: 47%;
  }
  #confirmation #formWrap .terms-wrap .check-box .check + span::after,
  #thanks #formWrap .terms-wrap .check-box .check + span::after {
    top: 47%;
  }
  #confirmation #formWrap .btn .submit,
  #thanks #formWrap .btn .submit {
    padding: 1%;
    font-size: 18px;
    font-weight: 700;
  }
  #confirmation #formWrap .btn .back-link,
  #thanks #formWrap .btn .back-link {
    padding: 1%;
    font-size: 18px;
    font-weight: 700;
  }
  #confirmation .thanks-message p,
  #thanks .thanks-message p {
    font-size: 16px;
    margin-bottom: 6%;
  }
  /* FOOTER */
  footer {
    padding-bottom: 5%;
  }
  footer ul {
    justify-content: center;
    gap: 20px;
  }
  footer ul li {
    font-size: 14px;
  }
  footer p {
    font-size: 11px;
  }
  section#low {
    height: 95px;
    padding: 0 40px 40px;
  }
  section#low .term__item hgroup h4 {
    font-size: 20px;
  }
  section#low .term__item hgroup p {
    font-size: 12px;
  }
  section#low .term__item p {
    font-size: 16px;
  }
  section#low .term__item h5 {
    font-size: 16px;
  }
  section#low .term__item dl {
    font-size: 16px;
  }
  section#low .term__item dl dd ul {
    gap: 0;
  }
  section#low .term__item ol li {
    font-size: 16px;
  }
  #thanks .thanks-message .bank {
    padding: 5% 6%;
    width: 55%;
  }
  .terms-wrap .term-txt .term__item hgroup h4 {
    font-size: 20px;
  }
  .terms-wrap .term-txt .term__item hgroup p {
    font-size: 12px;
  }
  .terms-wrap .term-txt .term__item p {
    font-size: 16px;
  }
  .terms-wrap .term-txt .term__item h5 {
    font-size: 16px;
  }
  .terms-wrap .term-txt .term__item dl {
    font-size: 16px;
  }
  .terms-wrap .term-txt ol li {
    font-size: 16px !important;
  }
  .privacy {
    margin-top: 100px;
  }
}