@charset "utf-8";

/*
  コンテンツ幅
*/

.content {
  padding-bottom: 60px;
}

@media (min-width: 768px) {
  .content {
    padding: 70px 0 200px;
  }
}

/*
  message_area
*/
.message_area {

}
.message_area h2.title {
  font-size: 1.8rem;
  line-height: 3.2rem;
  font-weight: bold;
  text-align: center;
  border-bottom: 0;
  padding-bottom: 0;
  color: #4D4D4D;
}

.message_area .message {
  margin-top: 1.6rem;
  font-size: 1.4rem;
  line-height: 2.4rem;
}

.message_area .box {
  margin-top: 4.5rem;
  background-color: #EBF0F0;
  border-radius: 1rem;
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.message_area .box .text-block {
}

.message_area .box .text-block p {
  font-size: 1.5rem;
  line-height: 2.2rem;
  text-align: center;
}

.message_area .box .button-block {
  margin-top: 1.5rem;
  width: 100%;
}

.message_area .box .button-block a.button {
  width: 100%;
  height: 4.4rem;
  position: relative;
  font-size: 1.6rem;
  font-weight: bold;
  background-color: #01538f;
  color: #fff;
  text-align: center;
  line-height: 4rem;
  display: block;
  border: 2px solid #01538f;
  border-radius: 2.5rem;
  box-sizing: border-box;
}

.message_area .box .button-block a.button:before {
  content: '';
  display: block;
  width: .5rem;
  height: .5rem;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 1.5rem;
  margin: auto;
  border-right: .2rem solid #fff;
  border-bottom: .2rem solid #fff;
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

@media (min-width: 768px) {
  .message_area h2.title {
    font-size: 2.4rem;
    padding-bottom: 0;
  }

  .message_area .message {
    text-align: center;
  }

  .message_area .box {
    margin: 2.8rem auto 0;
    width: 64rem;
    padding: 2.3rem 0;
    flex-direction: row;
    justify-content: center;
  }

  .message_area .box .button-block {
    margin-top: 0;
    margin-left: 3rem;
    width: 24rem;
  }

  .message_area .box .button-block a.button:hover {
    color: #01538f;
    background-color: #fff;
  }

  .message_area .box .button-block a.button:hover:before {
    border-color: #01538f;
  }
}

/*
  base_information_form
*/
.base_information_form {
  margin-top: 4.5rem;
}

.base_information_form h2.title {
  border-top: 2px solid #01538f;
  border-bottom: 2px solid #01538f;
  font-size: 2rem;
  line-height: 1;
  padding: 1.5rem 0;
  text-align: center;
  margin-bottom: 2.7rem;
}

@media (min-width: 768px) {
  .base_information_form {
    margin-top: 9.5rem;
  }

  .base_information_form h2.title {
    font-size: 2.6rem;
    text-align: left;
    padding-left: 2rem;
    margin-bottom: 5.6rem;
  }
}


/*
  change_form
*/
.change_form {
  margin-top: 4.5rem;
}

.change_form h2.title {
  border-top: 2px solid #01538f;
  border-bottom: 2px solid #01538f;
  font-size: 2rem;
  line-height: 1;
  padding: 1.5rem 0;
  text-align: center;
  margin-bottom: 2.7rem;
}

.change_form dd p {
  font-size: 1.4rem;
  line-height: 1.8rem;
}

.change_form dd p + ul.radio_wrapper {
  margin-top: 1rem;
}


@media (min-width: 768px) {
  .change_form {
    margin-top: 9.5rem;
  }

  .change_form h2.title {
    font-size: 2.6rem;
    text-align: left;
    padding-left: 2rem;
    margin-bottom: 2rem;
  }
}

/*
  amount
*/

dd.amount {
  padding: 8px 0 0 0;
}

.amount p {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.amount li {
  margin-bottom: 15px;
}

.amount li label {
  width: 80%;
  height: 40px;
  margin-bottom: 5px;
  padding: 0 16px;
  font-size: 1.6rem;
  color: #01538f;
  font-weight: bold;
  border: 1px solid #ccc;
  box-sizing: border-box;
  background: #f2f2f2;
  display: block;
  border-radius: 6px;
  line-height: 40px;
}
.amount li.free > label {
  height: auto;
  padding-bottom: 5px;
}

.security_code p,
.amount li.free .text {
  font-size: 1.2rem;
  text-indent: -1em;
  margin-left: 1em;
}

.amount li label input[type="text"] {
  width: 160px;
  height: 30px;
  background: white;
  position: relative;
  top: -2px;
}

.amount .monthArea li span {
  font-size: 1.3rem;
  font-weight: bold;
  color: #01538f;
}

.amount input[type="radio"] {
  margin: 0 0 5px;
  padding: 0;
  border: none;
}


@media (min-width: 768px) {
  dd.amount {
    padding: 12px 0 0 0;
  }

  .amount p {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .amount ul {
    display: flex;
    flex-wrap: wrap;
  }

  .amount li {
    width: 293px;
    margin: 0 20px 20px 0;
    height: 54px;
    display: flex;
    justify-content: space-between;
  }

  .amount .monthArea li {
    width: 100%;
    margin-right: 0;
  }

  .amount li label {
    width: 100%;
    height: 54px;
    font-size: 2.0rem;
    line-height: 54px;
  }

  .amount li label input[type="text"] {
    height: 40px;
  }

  .amount .monthArea li label {
    width: 293px;
  }

  .amount .monthArea li span {
    width: calc(100% - 293px - 10px);
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.3;
    color: #01538f;
    display: flex;
    align-items: center;
  }

  .amount li.free {
    display: contents;
  }

  .amount li.free label {
    width: auto;
    padding-bottom: 0;
  }

  .amount li.free .text {
    font-size: 1.4rem;
    line-height: 1.4;
  }
}






