@charset "utf-8";

/* 契約お申し込みフォームページ */
.application .site-main .content_innerbox,
.application .site-main .content_innerbox p {
  font-size: 13px;
  font-size: clamp(0.813rem, -0.017rem + 3.69vw, 1.75rem);
  line-height:calc(50/28);
  color: #3f3b39;
}
@media screen and (min-width:768px) {
  .application .site-main .content_innerbox,
  .application .site-main .content_innerbox p {
    font-size: 16px;
    line-height: calc(32/16);
  }
}

/* destyleの設定を削除 */
label[for] { cursor: default;}
body label:hover { opacity:1; text-decoration:none;}

/* マージン */
.mb_05em { margin-bottom: .5em !important;}
.mb_1em { margin-bottom: 1em !important;}
.mb_2em { margin-bottom: 2em !important;}
.mb_24em { margin-bottom: 2.4em !important;}
.mb_3em { margin-bottom: 3em !important;}

/* テキストリンク */
.textlink { color: #5a9753; text-decoration: underline;}
@media screen and (min-width:768px) {
  .textlink:hover { text-decoration: none;}
}

/* 項目名 */
.heading {
  display: block;
  font-size: 13px;
  font-size: clamp(0.813rem, -0.017rem + 3.69vw, 1.75rem);
  font-weight: 700 !important;
  line-height: calc(48/28);
  margin-bottom: .6em;
}
@media screen and (min-width:768px) {
  .heading {
    font-size: 16px;
    margin-bottom: .4em;
    line-height: calc(32/16);
  }
}
.heading._mb0 { margin-bottom: 0 !important;}

/* 必須アイコン */
.required .heading::after {
  display: inline-block;
  vertical-align: 2px;
  line-height: 1;
  content: "必須";
  background: #e50011;
  color: #ffffff;
  padding: 3px 6px 4px;
  border-radius: 5px;
  font-size: 9px;
  font-size: clamp(0.563rem, -0.101rem + 2.95vw, 1.313rem);
  margin-left: .6em;
  white-space: nowrap;
}
@media screen and (min-width:768px) {
  .required .heading::after {
    vertical-align: 1px;
    padding: 4px 6px 5px;
    border-radius: 5px;
    font-size: 12px;
    margin-left: .8em;
}

}
/* プレースホルダーとドロップダウン都道府県の文字色 */
input::placeholder {
  color: #9e9ea0;
  opacity: 1;
}
select:invalid { color: #9e9ea0;}
select option { color: #3f3b39;}
select option:first-child { color: #9e9ea0;}

/* SPのみプレースホルダ―の文字を若干小さく */
input::placeholder,
select { font-size: 90%;}
/* 確認入力欄のプレースホルダーは更に小さく */
input._placeholder_small::placeholder { font-size: 84%;}
/* PCでは元のサイズ */
@media screen and (min-width:768px) {
  input::placeholder,
  select,
  input._placeholder_small::placeholder { font-size: 100%;}
}

/* 必須項目の入力欄 */
input.form-control[type=text],
input.form-control[type=email],
input.form-control[type=tel],
input.form-control[type=password],
textarea.form-control,
select {
    background-color: #f4f8e6;
    border: 1px solid #5a9753;
    box-shadow: 0 0 0 0 #5a9753;
    color: #3f3b39;
    border-radius: 8px;
    padding: 0 .6em;
}

/* 任意項目の入力欄 */
input.form-control.not_required[type=text] {
    background-color: #FFF;
    border: 1px solid #8e8e8e;
    box-shadow: 0 0 0 0 #8e8e8e;
    color: #3f3b39;
    border-radius: 8px;
    padding: 0 .6em;
}

/* 入力欄サイズ */
input.form-control[type=text],
input.form-control[type=password],
input.form-control[type=email] {
  height: 37px;
  height: clamp(2.313rem, -0.065rem + 10.57vw, 5rem);
  width: 100%;
}
@media screen and (min-width:768px) {
  input.form-control[type=text],
  input.form-control[type=password],
  input.form-control[type=email] {
    height: 40px;
  }
}

/* 郵便番号・電話番号 */
.flexbox {
  display: flex;
  align-items: baseline;
}
input.form-control._w300[type=text] {
  width: 140px;
  width: clamp(8.75rem, -0.095rem + 39.31vw, 18.75rem);
}
input.form-control._w200[type=text] {
  width: 94px;
  width: clamp(5.875rem, 0.015rem + 26.04vw, 12.5rem);
}
.hyphen {
  margin: 0 4px;
  margin: 0 clamp(0.25rem, 0.029rem + 0.98vw, 0.5rem);
  font-size: 10px;
  font-size: clamp(0.625rem, -0.038rem + 2.95vw, 1.375rem);
}
@media screen and (min-width:768px) {
  input.form-control._w300[type=text],
  input.form-control._w200[type=text] {
    width: 176px;
  }
  .hyphen {
    margin: 0 4px;
    font-size: 16px;
  }
}

/* ドロップダウン */
select {
  height: 37px;
  height: clamp(2.313rem, -0.065rem + 10.57vw, 5rem);
  width: 11em;
}
.select_wrapper {
  width: 10em;
  position: relative;
}
.select_wrapper::after {
  content: "";
  position: absolute;
  right: 9px;
  right: clamp(0.563rem, -0.046rem + 2.7vw, 1.25rem);
  top: 16px;
  top: clamp(1rem, -0.05rem + 4.67vw, 2.188rem);
  width: 9px;
  width: clamp(0.563rem, -0.046rem + 2.7vw, 1.25rem);
  height: 9px;
  height: clamp(0.563rem, -0.046rem + 2.7vw, 1.25rem);
  border-top: 2px solid #3f3b39;
  border-left: 2px solid #3f3b39;
  pointer-events: none;
  transform: translateY(-50%) rotate(-135deg);
}
@media screen and (min-width:768px) {
  select {
    height: 40px;
    width: 176px;
  }
  .select_wrapper {
    width: 176px;
  }
  .select_wrapper::after {
    right: 14px;
    top: 18px;
    width: 13px;
    height: 13px;
  }
  /* PCのみ、郵便番号ドロップダウンと市区町村を並べる */
  .pc_flexbox {
    display: flex;
    justify-content: space-between;
  }
  input.form-control.address_box[type=text] {
    width: 474px;
  }
}

/* 氏名 */
.flexbox.no_hyphen {
  display: flex;
  justify-content: space-between;
  width: 276px;
  width: clamp(17.25rem, -0.109rem + 77.15vw, 36.875rem);
}
input.form-control._w280[type=text] {
  width: 131px;
  width: clamp(8.188rem, -0.05rem + 36.61vw, 17.5rem);
}
@media screen and (min-width:768px) {
  .flexbox.no_hyphen {
    width: 368px;
  }
  input.form-control._w280[type=text] {
    width: 176px;
  }
}

/* ボタン */
.formbtn {
  border-radius: 4px;
  border-radius: clamp(0.25rem, 0.029rem + 0.98vw, 0.5rem);
  width: 100%;
  line-height: 56px;
  line-height: clamp(3.5rem, -0.038rem + 15.72vw, 7.5rem);
  font-size: 15px;
  font-size: clamp(0.938rem, -0.002rem + 4.18vw, 2rem);
  font-weight: 700;
  text-align: center;
  color: #fff;
  transition: .2s;
  cursor: pointer;
}
@media screen and (min-width:768px) {
  .formbtn {
    line-height: 60px;
    font-size: 18px;
  }
}
.formbtn._submit { background: #5a9753;}
.formbtn._submit:hover { background: #3f6639;}
.formbtn._back { background: #b4b4b4;}
.formbtn._back:hover { background: #7f7f7f;}

/* 取引基本約款に同意 */
.checkbox_wrapper {
  background-color: #f4f8e6;
  border: 1px solid #5a9753;
  box-shadow: 0 0 0 0 #5a9753;
  color: #3f3b39;
  border-radius: 8px;
  padding: 0 .6em;
  line-height: 37px;
  line-height: clamp(2.313rem, -0.065rem + 10.57vw, 5rem);
  width: 100%;
}
@media screen and (min-width:768px) {
  .checkbox_wrapper {
    line-height: 40px;
  }
}
.checkbox_wrapper > label {
  display: block;
  cursor: pointer;
}

/* チェックボックス */
input[type=checkbox] {
  width: 14px;
  width: clamp(0.875rem, 0.101rem + 3.44vw, 1.75rem);
  height: 14px;
  height: clamp(0.875rem, 0.101rem + 3.44vw, 1.75rem);
  background-color: #f4f8e6;
  border: 2px solid #878788;
  color: #3f3b39;
  border-radius: 2px;
  border-radius: clamp(0.125rem, 0.07rem + 0.25vw, 0.188rem);
  position: relative;
  margin-top: -4px;
}
input[type=checkbox]:checked {
  background: #5a9753;
  border: 2px solid #5a9753;
}
input[type=checkbox]:checked::after {
  content: "";
  position: absolute;
  top: 1.5px;
  top: clamp(0.094rem, -0.044rem + 0.61vw, 0.25rem);
  left: 1px;
  left: clamp(0.063rem, -0.076rem + 0.61vw, 0.219rem);
  width: 9.5px;
  width: clamp(0.594rem, 0.069rem + 2.33vw, 1.188rem);
  height: 6px;
  height: clamp(0.375rem, 0.043rem + 1.47vw, 0.75rem);
  border-bottom: 1.5px solid #fff;
  border-bottom: clamp(0.125rem, 0.07rem + 0.25vw, 0.188rem) solid #fff;
  border-left: 1.5px solid #ffffff;
  border-left: clamp(0.125rem, 0.07rem + 0.25vw, 0.188rem) solid #fff;
  transform: rotate(-45deg);
}
@media screen and (min-width:768px) {
  input[type=checkbox] {
    width: 20px;
    height: 20px;
  }
  input[type=checkbox]:checked::after {
    top: 2.3px;
    left: 1px;
    width: 14px;
    height: 8px;

  }
}

/* 確認画面 */
.confirm .form_item { border-bottom: 2px solid #878788;}
.confirm .form_item .col_2 { margin-bottom: .4em;}
.confirm .formbtn._back {
  margin-bottom: 21px;
  margin-bottom: clamp(1.313rem, -0.07rem + 6.14vw, 2.875rem);
}
@media screen and (min-width:768px) {
  .confirm .form_item {
    border-bottom: 1px solid #878788;
    display: flex;
    justify-content: space-between;
  }
  .confirm .form_item .col_1 {
    width: 230px;
  }
  .confirm .form_item .col_2 {
    width: 400px;
  }
  .confirm .formbtn._submit,
  .confirm .formbtn._back {
    width: 314px;
    margin-bottom: 1em;
  }
}

.alert {
    position: relative;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
}

.alert-danger {
    color: #fff;
    background-color: #dc3545;
    border-color: #d32535;
}
