@charset "utf-8";
@import url("root.css");
/***************************************
-------------- CONTACT --------------
***************************************/
.page_wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 auto 60px;
    width: 100%;
    border: 2px solid var(--base-color01);
    background: #fff;
    padding: 5%;
}
#thanks.page_wrap {
  margin-top: 0;
}
p.subtitle {
  display: block;
  text-align: left;
  font-size: 2.0rem;
}
p.subtitle a {
  font-size: inherit;
  color: var(--base-color01);
  text-decoration: underline;
}
span.must {
  display: block;
  width: 48px;
  font-size: calc(1.8rem * 0.7 );
  text-align: center;
  background: var(--base-color01);
  color: #fff;
  border-radius: 4px;
  margin-right: 10px;
}

section form {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 0;
  box-sizing: border-box;
}
.mailform {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--sp-space);
}

form dt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  padding-bottom: 5px;
  font-size: 1.8rem;
}
form dd {
  width: 100%;
  background: var(--base-color03);
  font-size: 1.8rem;
}
form dd.check,
form dd.upload,
form dd.select {
  width: 100%;
}
form dd.check label,
form dd.upload input {
  font-size: 1.8rem;
}

form dd.select select {
  background: var(--base-color03);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #333;
    font-size: 1.8rem;
    box-sizing: border-box;
    vertical-align: bottom;
}
#mailformpro select {
    padding: 8px;
    border: 1px solid #333;
    font-size: 1.6rem;
    box-sizing: border-box;
    width: 100%;
}

.mfp_buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
button[type="submit"] {
    display: flex;
    justify-content: center;
    align-items: center;
    width: min(75%, 400px);
    padding: 15px;
    border: none;
    background: var(--base-color01);
    color: #fff;
    text-align: center;
    margin: 5rem auto;
    font-size: 1.8rem;
    border-radius: 12px;
}
button[type="submit"]:hover {
  opacity: 0.8;
  cursor: pointer; 
}
button[type="reset"] {
    display: flex;
    justify-content: center;
    align-items: center;
    width: min(30%, 200px);
    padding: 15px;
    border: none;
    background: #ccc;
    color: #fff;
    text-align: center;
    margin: 5rem auto;
    font-size: 1.8rem;
    border-radius: 12px;
}
button[type="reset"]:hover {
  background: #333;
  cursor: pointer; 
}

#mailformpro input[type="file"] {
    width: 48%;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

#mailformpro input[type="checkbox"] {
  all: revert;
  margin-right: 10px;
}

#form p.subtitle {
  margin-bottom: 20px;
}

#form h3 {
  font-size: 2.4rem;
  font-weight: bold;
  line-height: 1.0;
  padding-bottom: 5px;
  margin-bottom: 20px;
  width: 100%;
  color: var(--base-color01);
  border-bottom: 2px solid var(--base-color01);
}

#form .sp1 {
  font-size: 1.8rem;
}
#form .sp2 li {
  margin-top: var(--sp-space);
}
#form .sp2 span {
  font-size: 1.6rem;
}
#form .block {
  display: block;
}

#form dd label,
#form dd label span {
  font-size: 1.8rem;
}





/*****************************************
----------------  ONLINE  ----------------
*****************************************/

#online .online_flow {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 30px;
}
#online .online_flow p.subtitle {
  margin-bottom: 0;
}
#online .online_flow .flow01,
#online .online_flow .flow02,
#online .online_flow .flow03 {
  width: 32%;
}
#online .online_flow dl dt {
  font-size: 1.6rem;
  font-weight: bold;
  text-align: center;
  color: #fff;
  background: var(--base-color01);
  border-radius: 8px 8px 0 0;
  padding: 10px;
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
}
#online .online_flow dl dd {
  width: 100%;
  border-left: 2px solid var(--base-color01);
  border-right: 2px solid var(--base-color01);
  border-bottom: 2px solid var(--base-color01);
}
#online .online_flow {
  counter-reset: list-number;
}
#online .online_flow dl dt::before {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 2.4rem;
  font-weight: bold;
  line-height: 1.0;
  margin-right: 10px;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--base-color01);
  counter-increment: list-number;
  content: counter(list-number);
  background: #fff;
}
/* =======================
  PC
======================== */
@media screen and (min-width: 1200px) {}
/* =======================
  TABLET
======================== */
@media screen and (max-width:768px) {
  .mfp_buttons {

}
button[type="submit"] {
    order: 1;
    width: 90%;
    margin-bottom: 3rem;
}
button[type="reset"] {
    order: 2;
    width: 90%;
    margin-top: 0;
}
}
/* =======================
  SP
======================== */
@media screen and (max-width: 599px) {
  .mailform {
    flex-wrap: wrap;
  }
  form dt {
    margin-bottom: 5px;
  }
  form dt,form dd {
    width: 100%;
  }
  #online .online_flow {
    margin-bottom: 0;
  }
  #online .online_flow dl:not(:last-of-type) {
    margin-bottom: 20px;
  }
  #online .online_flow dl dt {
    flex-wrap: wrap;
    padding: 6px;
  }
  #online .online_flow dl dt::before {
    width: 22px;
    height: 22px;
    font-size: 1.4rem;
    line-height: 1.0;
    margin-right: 0;
    margin-bottom: 3px;
  }

}