@charset "utf-8";

/*
  コンテンツ幅
*/

.content {
  padding-bottom: 60px;
}

.content_top {
  padding: 0 15px;
}

.content_bottom {
  padding: 0 15px 60px;
}

/* タブレットとPCのみに適用 */
@media (min-width: 768px) {
  .content {
    padding: 70px 0 200px;
  }

  .content_top {
    padding: 70px 0 0;
  }

  .content_bottom {
    padding: 0 0 200px;
  }
}

/*
  タイトル, テキスト
*/

h2 {
  margin-bottom: 20px;
}

/* タブレットとPCのみに適用 */
@media (min-width: 768px) {
  .content p {
    line-height: 1.8;
  }

  h2 {
    margin-bottom: 40px;
  }
}

/*
  message
*/

.message {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.message a {
  text-decoration: underline;
  color: #7ebae0;
}

/* タブレットとPCのみに適用 */
@media (min-width: 768px) {
  .message {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
  }

  .message a:hover {
    text-decoration: none;
  }
}

/*
  amount
*/

dd input[type="text"].amount {
  width: 326px;
}

.transfer_form {
  padding-top: 0;
}

.transfer_form .privacy_area {
  border-top: none;
}

.f15 {
  font-size: 1.5rem;
}

.free-amount-area {
  padding-top: 15px;
}

.free-amount-area:not(.active) {
  display: none;
}

.security_code p,
.amount .text {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

@media (min-width: 768px) {
  .amount .text {
      font-size: 1.6rem;
  }
}

/*
  amount-radio
*/

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

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

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

.amount-radio 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-radio li.free > label {
  height: auto;
  padding-bottom: 5px;
}

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

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

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

.auto_info {
  padding: 30px 0;
  font-size: 1.5rem;
  text-align: center;
}

/* タブレットとPCのみに適用 */
@media (min-width: 768px) {
  dd.amount-radio {
    padding: 12px 0 0 0;
  }

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

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

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

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

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

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

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

  .amount-radio .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-radio input[type="radio"] {
    margin: 0 0 5px;
    padding: 0;
    border: none;
  }

  .amount-radio li.free {
    display: contents;
  }

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

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

  .auto_info {
    padding: 45px 0;
  }

  .f15 {
    font-size: 1.5rem;
  }
}

.admission {
  margin-top: 20px;
}

.admission ul {
  display: flex;
  justify-content: space-between;
}

.admission li {
  width: 48%;
}

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

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

.admission li label input[type="radio"] {
  vertical-align: initial;
}

.transfer_info td .text {
  margin-bottom: 5px;
}

/* タブレットとPCのみに適用 */
@media (min-width: 768px) {
  .admission {
    margin-top: 30px;
  }

  .admission ul {
    display: flex;
    justify-content: initial;
  }

  .admission li {
    width: 150px;
    margin-right: 20px;
  }

  .admission li label {
    line-height: 54px;
  }

  .transfer_info td .text {
    font-size: 1.6rem;
  }
}

.base_form p.lead {
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .base_form p.lead {
    font-size: 1.6rem;
    margin-bottom: 40px;
    margin-left: 40px;
  }
}