@charset "utf-8";
footer {
  min-width: 100%;
  padding: 64px 0px 10px;
  background-color: #f8f8f8;
}

header {
  background-color: #ffffff;
  padding: 0px;
  box-shadow: 0px 0px 5px rgb(0 0 0 / 10%);
  width: 100%;
  height: 80px;
  min-width: 100%;
  position: relative;
}
body {
  background-color: #f8f8f8;
}
h2{
        font-size: 20px;
}
#form--wrapper {
  padding: 2rem 1rem 1rem;
  width: 30%;
  position: fixed;
  right: 0;
  top: 75px;
  box-sizing: border-box;
  border-left: 1px solid #e9e9e9;
  font-weight: 400;
  background-color: #fff;
}


.form {
    max-width: 900px;
    grid-template-columns: 43% 60%;
    column-gap: 0rem;
    margin: 0 auto;
}

.form-left {
    text-align: center;
    max-width: 28rem;
}
.title {
    text-align: center;
    padding: 2rem 0;
    font-size: 34px;
    line-height: 44px;
    color: #bc0101f7;
}

.title--flex {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.title--flex img {
    width: 200px;
}

.title_area .flexbox {
    justify-content: space-between;
    margin: 0 auto;
    width: 90%;
    max-width: 900px;
}

.title_area .flexbox div {
    width: 55%;
    padding-left: 3%;
}

.title_area {
    margin: 0 auto 3rem;
}

.title_area figure {
    width: 40%;
}

.title_area .shiryo_naiyo ul {
    padding: 1rem;
    border-radius: 10px;
    line-height: 30px;
    font-size: 16px;
    font-weight: 600;
}

.title_area .shiryo_naiyo ul li img {
    width: 23px;
    height: 23px;
    margin-right: 0.2rem;
    vertical-align: middle;
}

form.form-inquiry {
    width: 40%;
    margin: 0 1rem;
}
.form-2column__left__img{
    display: block;
    width: 80%;
    margin: auto;
}
.document__contents h2{
    font-weight: bold;
    line-height: 135%;
    font-size: 20px;
}
.document__contents{
    background-color: #ffe7e769;
    padding: 1rem;
    margin-bottom: 20px;
}

.document__contents ul {
    padding: 10px 0;
}

.document__contents li{
    font-size: 17px;
        line-height: 2.5;
    background: url(../img/check.svg) no-repeat 0;
    padding-left: 30px;
}
form {
    width: 35%;
    font-weight: 400;
    font-size: 15px;
    background-color: #f8f8f8 !important;
    padding: 2rem;
}
.form-second {
    margin-bottom: 0.5rem;
}
.form-left ul {
    background-color: #fff;
    padding: 1.5rem 3rem;
    position: relative;
    text-align: left;
    border-radius: 10px;
    margin: 1rem 1rem;
}

.form-left ul li {
    line-height: 2.5;
    background: url(../img/check.svg) no-repeat 0;
    padding-left: 30px;
}

.form__inner_14day {
    text-align: center;
    padding: 1.5rem 0 1rem;
    font-size: 1.1rem;
    line-height: 2rem;

    font-weight: 600;
}
.form__inner_text {
  color: #333;
  font-weight: 600;
  font-size: 1.3rem;
  padding: 0 0 0.5rem;
}

.form__inner_title p {
  display: block;
  width: fit-content;
  margin: 1rem auto;
  text-align: center;
}

.form__inner_form {
  display: flex;
  padding-top: 1.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
}

.form dt,
.inquiry .form {
  font-weight: 500;
}

.form__btn {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 40px;
}

.form dt label {
  position: relative;
  font-weight: 500;
}

.form .required,
.form .free {
  width: 3em;
  font-size: 10px;
  border-radius: 5px;
  text-align: center;
  position: absolute;
  left: calc(100% + 0.5rem);
  top: 50%;
  transform: translateY(-50%);
  padding: 0.1rem;
}

.form .required--privacy {
  width: 3em;
  font-size: 10px;
  border-radius: 5px;
  text-align: center;
  position: absolute;
  left: calc(100% + 0.5rem);
  top: 50%;
  transform: translateY(-50%);
}

.form .required,
.form .required--privacy {
  color: white;
  background-color: rgba(255, 0, 0, 0.7);
}
.form .free {
  background-color: #dbdbdb;
}

#form img.assist-pc {
  max-width: 66%;
}
.form__inner_note {
  font-size: 12px;
  font-weight: 300;
  text-align: justify;
  margin: 1rem 3rem;
}
.form--flex {
  display: flex;
  flex-direction: column;
}
.form-2column {
    display: flex;
    justify-content: center;
    max-width: 1300px;
    margin: 0 auto;
}
.form-2column__left {
    width: 35%;
    background-color: #fff;
    padding: 1rem 2rem;
}
.form-2column__left__head {
    margin-bottom: 1rem;
}
.achievements__logo {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    justify-items: center;
    margin-bottom: 2rem;
}

.achievements__logo li img {
    max-height: 3.5rem;
    padding: .1rem;
}
.left_text__tell__head,
.left_text__tell__bottom {
    font-size: 18px;
    font-weight: bold;
}
.tel__cont a {
    display: flex;
    align-items: center;
}

.tel__cont a img {
    width: 60px;
    margin-right: 1rem;
}

.tel__cont a p {
    font-size: 30px;
}

.left_text__tell__title img {
    max-width: 60px;
}
label.form--flex,
label.form--check{
  padding: 0.25rem 0.5rem;
  background: #fff;
  font: inherit;
  box-sizing: border-box;
  border: 0.85px solid #707070;
  position: relative;
  width: fit-content;
}
.margin_check{
  margin: 0.3rem 0 1rem;
}
.form__checkbox-area {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 0.25rem 0.5rem;
  background: #fff;
  box-sizing: border-box;
  border: 0.85px solid #707070;
  font-weight: 300;
  margin: 0.1rem 0 1rem;
}
.form__checkbox-area input[type="checkbox"] {
  transform: scale(1.4);
  margin-left: 0.5rem;
}
.form--flex input[type="checkbox"] {
  margin-right: 0.5rem;
}

.form--flex a {
  padding-left: 0.5rem;
  color: blue;
}

.form--present {
  padding: 0.25rem 0.5rem;
  background: #fff;
  font: inherit;
  box-sizing: border-box;
  border: 0.85px solid #707070;
  display: flex;
  align-items: center;
}
textarea {
  width: 100%;
  height: 7em;
}

input[type="checkbox"]#present {
  /* transform: scale(1.5); */
  margin-right: 0.5rem;
}


textarea {
  padding: 0.25rem 0.5rem;
  background: #fff;
  font: inherit;
  box-sizing: border-box;
  border: 0.85px solid #707070;
  font-size: 14px;
  margin: 0.1rem 0 1rem;
}
input {
  padding: 0.3rem 0.3rem;
  font: inherit;
  box-sizing: border-box;
}

input[type="submit"],
input[type="button"] {
  border: none;
  cursor: pointer;
  margin: 0.1rem 0 1rem;
}

#contact-form {
  scroll-margin-top: 100px;
}

.contact-form__present--left img {
  border: 1px solid #333;
}

.contact-form__present {
  margin-top: 1rem;
}

.contact-form__present > p {
  margin: 0.8rem auto;
  font-weight: bold;
  font-size: 1.5rem;
  position: relative;
  width: fit-content;
  padding: 0.5rem 1rem;
}

.contact-form__present > p::before,
.contact-form__present > p::after {
  position: absolute;
  top: 0.8rem;
  height: 1.8rem;
  content: "";
}

.contact-form__present > p::before {
  border-left: solid 3px;
  left: 0;
  transform: rotate(-30deg);
}

.contact-form__present > p::after {
  border-right: solid 3px;
  right: 0;
  transform: rotate(30deg);
}

.contact-form__present--flex {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.contact-form__present--right {
  background-color: #f5f5f8;
  padding: 1.5rem;
  border-radius: 10px;
}
.contact-form__present--right ul li {
  text-align: left;
}
.contact-form__present--right p {
  margin: 0 auto 0.8rem;
  font-weight: bold;
  font-size: 1.5rem;
  position: relative;
  width: fit-content;
}
.inquiry .form {
  max-width: 700px;
  grid-template-columns: 30% auto;
  margin: 2rem auto;
}

/*====================================
  confirm
====================================*/
main#confirm,
main#thanks {
  margin-top: 0;
}
main#confirm section,
main#thanks section {
  margin-top: 0;
}

.form.confirm {
  max-width: 600px;
  display: grid;
  grid-template-columns: 45% 55%;
  row-gap: 1rem;
  column-gap: 2rem;
  margin: 0 auto;
}

.form.confirm input,
.form.confirm textarea {
  border: none;
}

.form.form.confirm dd {
  width: 100%;
  word-break: break-word;
  overflow-wrap: break-word;
}
#confirm .form__btn {
  margin: 2rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
}
#confirm input:not([type="checkbox"]) {
  width: 100%;
  background-color: #2146ac;
  color: #fff;
}
#confirm input[type="submit"],
input[type="button"] {
  max-width: 300px;
  border: none;
  cursor: pointer;
}

#confirm input[type="button"] {
  border: 2px solid #2146ac;
  background-color: #fff;
  color: #333;
}
input[type="text"] {
  font-size: 14px;
}
input:not([type="checkbox"]) {
  width: 100%;
  background-color: #fff;
  border: 0.85px solid #707070;
  margin: 0.1rem 0 1rem;
}
form input[type="radio"] {
  width: fit-content;
  margin-right: 0.5rem;
}

input[type="submit"]:hover,
input[name="btn_back"]:hover {
  transform: translateY(3px);
  box-shadow: none;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out,
    right 0.3s ease-in-out;
}

input[type="submit"],
input[type="button"] {
  border: none;
  cursor: pointer;
}

input[type="submit"] {
  color: #fff;
  background-color: #2146ac;
  padding: 1rem 2rem;
  border-radius: 3rem;
  box-shadow: 3px 3px 5px #00000029;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out,
    right 0.3s ease-in-out;
  width: 100%;
  display: inline-block;
  max-width: 300px;
  font-size: 1.3rem;
  font-weight: 500;
}
input[name="btn_back"] {
  color: #2146ac;
  background-color: #fff;
  border: 1px solid #2146ac;
  padding: 1rem 2rem;
  border-radius: 3rem;
  box-shadow: 3px 3px 5px #00000029;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out,
    right 0.3s ease-in-out;
  width: 100%;
  display: inline-block;
  max-width: 300px;
  font-size: 1.3rem;
  font-weight: 500;
}

#contact-form {
  scroll-margin-top: 100px;
}

.contact-form__present--left img {
  border: 1px solid #333;
}

.contact-form__present {
  margin-top: 1rem;
}

.contact-form__present > p {
  margin: 0.8rem auto;
  font-weight: bold;
  font-size: 1.5rem;
  position: relative;
  width: fit-content;
  padding: 0.5rem 1rem;
}
/*====================================
    confirm
====================================*/
main#confirm .form {
  margin: 0 auto;
  width: 90%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 1rem;
}
main#confirm,
main#thanks {
  margin-top: 0;
}
main#confirm section,
main#thanks section {
  margin-top: 0;
}
.form.confirm input,
.form.confirm textarea {
  border: none;
}

.form.form.confirm dd {
  width: 100%;
  word-break: break-word;
  overflow-wrap: break-word;
}
#confirm .form__btn {
  margin: 2rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
}
#confirm input:not([type="checkbox"]) {
  width: 100%;
  background-color: #2146ac;
  color: #fff;
}

.confirm__btn {
  display: flex;
  width: fit-content;
  gap: 5rem;
  margin: auto;
}

.form__link__privacy {
  color: #3366cc;
}

main {
  padding: 0 1rem;
}

@media print, screen and (max-width: 768px) {
  main#confirm .form {
    margin: 0 auto;
    width: 98%;
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 1rem;
  }

  .confirm__btn {
    gap: 0rem;
    margin: auto;
    flex-direction: column;
  }
  #confirm .form__btn {
    margin: 0;
  }
  .form.confirm {
    grid-template-columns: auto;
  }
}

/*====================================
    error
====================================*/
.error {
  margin: 0rem auto 1rem;
  width: 90%;
  max-width: 900px;
  color: red;
}

.error ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: red;
}

#errors p {
  color: red;
  margin: auto;
  width: fit-content;
  padding: 1rem;
}

/* thanks */
p.form__thanks {
  text-align: center;
}

p.form__thanks.form__thanks--left {
  width: 50%;
  margin: 0 auto;
  text-align: left;
}

/*====================================
    responsive
====================================*/

@media print, screen and (max-width: 1024px) {
  #download.form {
    grid-template-columns: 1fr;
    width: 100%;
  }
  
  .form {
    grid-template-columns: auto;
  }
}

@media print, screen and (max-width: 896px) {
  .title {
    text-align: center;
    font-size: 1.8rem;
  }
  .inquiry .form {
    grid-template-columns: auto;
  }
}
@media print, screen and (max-width: 640px) {
  .title {
    font-size: 1.5rem;
  }

  .form-left ul {
    padding: 1.5rem 1rem;
    margin: 1rem 0rem;
  }
  .form__inner_note {
    margin: 1rem 0rem;
  }
}
@media print, screen and (max-width: 425px) {
  form {
    padding: 0rem;
  }
  .form {
    grid-template-columns: auto;
    min-width: 19rem;
  }
  .form__btn {
    flex-direction: column;
    align-items: center;
  }
  .dt__flex .dt__flex_required {
    flex-basis: 20%;
  }
  .dt__flex {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .form select {
    width: 5rem;
  }
  select[name="date"] {
    width: 100%;
  }

  input::placeholder {
    font-size: 10px;
  }
}
