@charset 'utf-8';

.common-title {
  padding-bottom: 90px;
}

#common-section .wrap p {
  text-align: center;
}

#common-section .wrap > p {
  text-align: center;
}

#common-section .wrap > p:first-of-type {
  font-size: 1.125em;
  font-family: "FOT-UD角ゴ_スモール Pr6N B";
  line-height: 2;
}

#common-section .wrap > p.info {
  font-family: "FOT-UD角ゴ_スモール Pr6N R";
  font-size: 16px;
}

#form {
  width: 58%;
  margin: 60px auto 0 auto;
}

#form dl {
  margin: 0;
}

#form dl dd {
  margin: 0;
  margin-top: 15px;
}

#form dl dt {
  font-family: "FOT-UD角ゴ_スモール Pr6N B";
  position: relative;
  padding-left: 50px;
  font-weight: bold;
}

#form dl .unnecessary {
  padding-left: 0;
}

#form dl dt:not(:first-of-type) {
  margin-top: 35px;
}

#form dl dt span {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  display: inline-block;
  font-size: 0.6875rem;
  color: #fff;
  border-radius: 4px;
  height: 20px;
  line-height: 18px;
  vertical-align: middle;
  width: 38px;
  background-color: #E5243B;
  text-align: center;
}

#form dl dt span + dd > input {
  border: 2px solid #E5243B;
}

#form dl dd input {
  background-color: #F3F5F8;
  border-radius: 5px;
  border: none;
  height: 54px;
  width: 100%;
  padding-left: 20px;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

#form dl dd input.postalcode {
  width: 200px;
  margin-left: 20px;
}


#form dl dd .post-search {
  display: inline-block;
  color: #179F5B;
  margin-left: 20px;
}

#form dl dd input.introduction-text,
#form dl dd input.others-text {
  margin-left: 10px;
  display: inline-block;
  width: 325px;
  height: 40px;
  padding: 13px 0 11px 18px;
}

#form dl .group-box {
  margin-top: 25px;
}

#form dl .group-box .box-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-left: -40px;
  margin-top: -22px;
}

#form dl .group-box .box-wrap .blank-box {
  width: 100%;
  margin: 0;
}

#form dl .group-box .box-wrap > div {
  margin-left: 40px;
  margin-top: 32px;
}

#form dl .group-box .box-wrap > div:last-child {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin: 0;
}

#form dl .group-box .box-wrap > div:last-child > div {
  margin-left: 40px;
  margin-top: 24px;
}

#form dl .group-box .box-wrap > div:last-child > div + div {
  /* margin-top: 24px; */
}

#form dl .group-box label {
  position: relative;
  padding-left: 25px;
}

#form dl .group-box label.newspaper,
#form dl .group-box label.introduction,
#form dl .group-box label.introduction {
  margin-left: 0;
}

#form dl .group-box label:before {
  position: absolute;
  display: block;
  content: "";
  width: 18px;
  height: 18px;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  border: 1px solid #D4D8DE;
  border-radius: 3px;
}

#form dl .group-box input[type="checkbox"]:checked + label:after {
  content: "";
  display: block;
  width: 10px;
  height: 6px;
  top: 40%;
  left: 6px;
  box-sizing: border-box;
  border-bottom: 2px solid #111;
  border-left: 2px solid #111;
  position: absolute;
  transform: rotate(-45deg) translateY(-50%);
}

#form dl .group-box label:first-of-type {
  margin: 0;
}

#form dl .group-box label {
  margin-left: 43px;
}

#form dl .group-box input {
  display: none;
  width: initial;
  height: initial;
}

.error,
.error_2 {
  color: #E5243B;
}

#form dl dd input.alert {
  border: 2px solid #E5243B;
}

#form dl dd textarea.alert {
  border: 2px solid #E5243B;
}

#form dl dd .error {
  margin-top: 10px;
}

#form dl dd textarea {
  background-color: #F3F5F8;
  border-radius: 5px;
  border: none;
  height: 180px;
  width: 100%;
  padding: 20px;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

#form dl dd input::placeholder {
  color: #111;
  opacity: 0.3;
}

#form dl .plan-box {
  margin-top: 25px;
}

#form dl .plan-box div + div {
  margin-top: 30px;
}

#form dl .plan-box label {
  position: relative;
  padding-left: 10px;
}

/* #form dl .plan-box label:before {
  position: absolute;
  display: inline-block;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 3px;
  content: "";
  width: 18px;
  height: 18px;
  border: 1px solid #D4D8DE;
}

#form dl .plan-box input[type="checkbox"]:checked + label:after {
  content: "";
  display: block;
  width: 10px;
  height: 6px;
  top: 40%;
  left: 6px;
  box-sizing: border-box;
  border-bottom: 2px solid #111;
  border-left: 2px solid #111;
  position: absolute;
  transform: rotate(-45deg) translateY(-50%);
} */

#form dl .plan-box input {
  display: inline;
  width: initial;
  height: initial;
}

.form-confirm {
  margin-top: 40px;
  text-align: center;
}

.form-confirm p {
  line-height: 2.1;
  margin-bottom: 38px;
}

.form-confirm label {
  display: inline-block;
  position: relative;
  margin-bottom: 20px;
  padding-left: 28px;
}

.form-confirm label a {
  color: #179F5B;
}

.form-confirm label span {
  color: #179F5B;
}

.form-confirm label:before {
  position: absolute;
  display: inline-block;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 3px;
  content: "";
  width: 18px;
  height: 18px;
  border: 1px solid #D4D8DE;
}

.form-confirm .check-box[type="checkbox"]:checked + label:after {
  content: "";
  display: block;
  width: 10px;
  height: 6px;
  top: 40%;
  left: 6px;
  box-sizing: border-box;
  border-bottom: 2px solid #111;
  border-left: 2px solid #111;
  position: absolute;
  transform: rotate(-45deg) translateY(-50%);
}

.form-confirm .check-box {
  display: none;
}

.form-confirm .submit-btn.confirm {
  margin: 0 0 0 1em;
  cursor: pointer;
  pointer-events: auto;
  background-color: #179F5B;
  color: #fff;
  outline: none;
  border: none;
}

.form-confirm .submit-btn {
  font-family: "FOT-UD角ゴ_スモール Pr6N B";
  display: block;
  height: 54px;
  line-height: 54px;
  width: 250px;
  color: #111;
  font-weight: bold;
  font-size: 0.9375em;
  text-align: center;
  border-radius: 30px;
  background-color: #D4D8DE;
  transition: all .3s ease-out;
  pointer-events: none;
  outline: none;
  border: none;
}

.form-confirm .submit-btn.active {
  cursor: pointer;
  pointer-events: auto;
  background-color: #179F5B;
  color: #fff;
  outline: none;
  border: none;
}

.form-confirm .submit-error {
  color: #E5243B;
  margin-top: 20px;
}

.form-confirm .error {
  margin: 0;
}

.plan-decision {
  font-family: "FOT-UD角ゴ_スモール Pr6N B";
}

/* フォーム確認css */

.form-confirm .submit {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.form-confirm .submit.confirm {
  margin-top: 70px;
}

.form-confirm .submit-btn.back-btn {
  display: inline-block;
  cursor: pointer;
  pointer-events: auto;
  color: #fff;
  outline: none;
  line-height: 40px;
  border: none;
  color: #111;
  background-color: #eee;
  border: 2px solid #eee;
}

.form-confirm .submit-error {
  color: #E5243B;
  margin-top: 20px;
}

.form-confirm .error {
  margin: 0;
}

#common-section .wrap {
  border-top: none;
}

#common-section .wrap:before {
  display: none;
}

/* 仮登録完了画面 */

.plan-detail {
  text-align: center;
  width: 800px;
  margin: 60px auto 0;
}

.plan-detail.light .content {
  border: 1px solid #FD6925;
}

.plan-detail.standard .content {
  border: 1px solid #179F5B;
}

.plan-detail.sx .content {
  border: 1px solid #0A97D9;
}

.plan-detail h3 {
  font-family: "FOT-UD角ゴ_スモール Pr6N B";
  color: #fff;
  height: 54px;
  line-height: 54px;
}

.plan-detail.light h3 {
  background-color: #FD6925;
}

.plan-detail.standard h3 {
  background-color: #179F5B;
}

.plan-detail.sx h3 {
  background-color: #0A97D9;
}

.plan-detail p {
  padding: 25px 0 25px 0;
  font-family: "FOT-UD角ゴ_スモール Pr6N B";
  font-size: 1.125em;
}

.plan-detail p span {
  font-size: 30px;
  font-family: "FOT-UD角ゴ_スモール Pr6N B";
}

.btn.credit {
  margin: 50px auto 0 auto;
  text-decoration: none;
  color: #fff;
  display: block;
  width: 331px;
  height: 64px;
  line-height: 64px;
  background: #111;
  border-radius: 32px;
}

.credit-card {
  margin-top: 53px;
  text-align: center;
}

.credit-card img {
  width: 50%;
}

.credit-card p {
  font-family: "FOT-UD角ゴ_スモール Pr6N B";
}

#common-section .wrap p.plan-confirm {
  text-align: center;
  margin-top: 72px;
}

#common-section .wrap p.plan-confirm span {
  font-family: "FOT-UD角ゴ_スモール Pr6N B";
}

#common-section .wrap .bank-info  {
  width: 800px;
  margin: 23px auto 0;
  padding: 0;
}

#common-section .wrap .bank-info  ul {
  width: 800px;
  height: 230px;
  background: #F3F5F8;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
}

#common-section .wrap .bank-info  ul li {
  display: flex;
  padding-left: 91px;
  line-height: 2;
}

#common-section .wrap .bank-info  ul li p {
  margin: 0;
  font-family: "FOT-UD角ゴ_スモール Pr6N M";
}

#common-section .wrap .bank-info  ul li p:first-child {
  width: 96px;
  text-align: right;
}

#common-section .wrap .bank-info  ul li:before {
  display: none;
}

#common-section .download {
  font-family: "FOT-UD角ゴ_スモール Pr6N B";
  text-align: right;
  margin-top: 23px;
  font-size: 1.125em;
}

#common-section .download a {
  text-decoration: none;
  color: #179F5B;
  display: inline-block;
  padding-right: 30px;
  position: relative;
}

#common-section .download a:before {
  display: block;
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  top: 50%;
  transform: translateY(-50%);
  background: url(../../shared/images/download.svg) no-repeat center center;
  background-size: cover;
  right: 0;
}

#common-section .download a:hover:before {
  animation: vertical-slide ease-in .4s 1 both;
}

@media screen and (max-width: 1000px) {

  #common-section.form {
    padding: 0 24px;
  }

  .common-title {
    padding: 92px 0 44px 0;
  }

  .plan-detail {
    width: 100%;
    margin: 35px 0 0;
  }

  .plan-detail h3 {
    font-size: 1.125em;
  }

  .plan-detail .content {
    margin: 0 9px;
  }

  .plan-detail p {
    font-size: 1rem;
  }

  .plan-detail p span {
    font-size: 22px;
  }

  #common-section .wrap p.plan-confirm {
    text-align: left;
    margin-top: 50px;
  }

  .btn.credit {
    width: 280px;
    height: 60px;
    line-height: 60px;
    margin: 30px auto 0;
  }

  .credit-card {
    margin-top: 33px;
  }

  .credit-card img {
    width: 100%;
    height: auto;
  }

  #common-section .wrap .bank-info {
    width: 100%;
    padding: 0 9px;
    margin: 15px 0 0;
  }

  #common-section .wrap .bank-info ul {
    padding: 0 0 0 25px;
    width: 100%;
    height: 255px;
  }

  #common-section .wrap .bank-info ul li {
    padding: 0;
    display: flex;
  }

  #common-section .wrap .bank-info ul li p:first-child {
    width: 100px;
    text-align: right;
  }

  #common-section .wrap .bank-info ul li p:last-child {
    width: 193px;
    text-align: left;
  }

  #common-section .wrap .bank-info ul li p {
    font-size: 15px;
    margin: 0;
  }

  #common-section .download {
    margin-top: 15px;
    font-size: 0.9375em;
  }

  #common-section .download a {
    padding-right: 30px;
  }

  #common-section .download a:before {
    right: 6px;
  }

  #common-section .wrap > p.info {
    font-size: 15px;
    margin: 0;
  }
}

@media screen and (max-width: 1270px) {

  #form dl .group-box div.introduce, #form dl .group-box div.others {
    margin: 0;
    width: 100%;
  }

  #form dl .group-box div.others {
    margin-top: 23px;
  }

  #form dl dd input.introduction-text, #form dl dd input.others-text {
    width: 100%;
    margin: 0;
  }
}

@media screen and (max-width: 1000px) {

  #form {
    width: 100%;
    margin: 40px auto 0 auto;
  }

  #form dl {
    margin: 0;
  }

  #form dl dd {
    margin: 0;
    margin-top: 11px;
  }

  #form dl dt {
    font-size: 0.9375rem;
  }

  #form dl dd .post-search {
    margin-top: 20px;
    margin-left: 0;
  }

  #form dl dd p {
    margin-top: 8px;
    font-size: 0.9375rem;
    margin-bottom: 0;
  }

  #form dl dd input::placeholder {
    font-size: 0.9375rem;
  }

  #form dl dt:not(:first-of-type) {
    margin-top: 20px;
  }

  #form dl .group-box {
    margin: 0;
  }

  #form dl .group-box .box-wrap {
    margin-top: 0;
  }

  #form dl .group-box .box-wrap div {
    width: auto;
    margin-top: 20px;
  }

  #form dl .group-box div + div {
    margin-left: 0;
  }

  #form dl .group-box div.introduce,
  #form dl .group-box div.others {
    width: 100%;
    margin: 0;
  }

  #form dl .group-box label {
    margin-left: 20px;
    display: inline-block;
    font-size: 0.9375em;
  }

  #form dl .group-box label.newspaper,
  #form dl .group-box label.introduction {
    margin-left: 0;
  }

  #form dl .group-box .box-wrap div:last-child {
    margin-top: 0;
    width: 100%;
  }

  #form dl dd input.introduction-text,
  #form dl dd input.others-text {
    width: 100%;
    margin: 10px 0 0 0;
  }

  #form dl .plan-box label {
    font-size: 0.9375em;
  }

  .form-confirm {
    margin-top: 40px;
    text-align: initial;
    text-align: left;
  }

  .form-confirm p {
    font-size: 0.9375rem;
    line-height: 2.1;
    margin-bottom: 30px;
  }

  .form-confirm label {
  display: inline-block;
  margin-bottom: 30px;
  font-size: 0.9375rem;
  position: relative;
  padding-left: 28px;
  cursor: pointer;
}

.form-confirm label:before {
  position: absolute;
  display: inline-block;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 3px;
  content: "";
  width: 18px;
  height: 18px;
  border: 1px solid #D4D8DE;
}

.form-confirm .check-box[type="checkbox"]:checked + label:after {
  content: "";
  display: block;
  width: 10px;
  height: 6px;
  top: 40%;
  left: 6px;
  box-sizing: border-box;
  border-bottom: 2px solid #111;
  border-left: 2px solid #111;
  position: absolute;
  transform: rotate(-45deg) translateY(-50%);
}

.form-confirm .check-box {
  display: none;
}

.form-confirm .submit-error {
    display: none;
}

.form-confirm span {
    text-align: left;
}

.form-confirm .submit {
  align-items: center;
  flex-direction: column;
}

.form-confirm .submit-btn {
  width: 200px;
  height: 50px;
  line-height: 48px;
  margin: 0;

}

.form-confirm .submit-btn + .submit-btn {
  margin: 10px 0 0;
}

.form-confirm .submit.confirm {
  margin-top: 40px;
}

}
