/* ボタンの制御 */
.btn a.enabled {
  pointer-events: auto;
  /* クリック可能に */
  opacity: 1;
  /* 通常の表示 */
}

.btn a.disabled,
.btn a.preparation {
  pointer-events: none !important;
  /* クリック不可 */
  opacity: 0.5 !important;
  /* 半透明にする */
}

/* その他スタイル */
body {
  background: linear-gradient(180deg, #F4FCFF 16.5%, #C2E9FB 40%, #A8DFF9 80%);
  font-family: "Noto Sans JP";
  letter-spacing: 0.1em;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  color: #000;
}

.logo-area {
  display: flex;
  padding: 46px 20px 20px;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  align-self: stretch;
}

h1 {
  color: #025DAB;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  line-height: 150%;
  /* 30px */
  min-height: 0vw;
  min-height: 0;
  font-size: clamp(20px, 2vw, 30px);
}

.logo {
  max-width: 300px;
  ;
}

main {
  padding: 0 20px 200px;
}

.content-wrapper {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 200%;
  /* 36px */
}

.card {
  border-radius: 20px;
  background: #FFF;
  display: flex;
  padding: 30px 20px 40px 20px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  margin-bottom: 30px;
}

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

.title-check {
  color: #025DAB;
  font-size: 22px;
  font-style: normal;
  font-weight: bold;
  line-height: 180%;
  /* 39.6px */
  position: relative;
  padding-left: 40px;
}

.title-check::before {
  content: "";
  display: block;
  width: 30px;
  height: 40px;
  background-image: url(/assets/images/icon-check.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  top: 0;
  left: 0;
}


ul {
  margin: 0;
  padding: 0;
}

.time-table {
  text-align: center;
}

@media screen and (min-width: 768px) {
  .time-table {
    column-count: 2;
    max-width: 430px;
    text-align: left;
  }
}

li {
  color: #000;
  font-family: "Noto Sans JP";
  font-size: 18px;
  font-weight: 600;
  line-height: 180%;
  /* 32.4px */
  list-style: none;
  padding: 0 20px;
}

li span {
  font-weight: normal;
  line-height: 150%;
  /* 39.6px */
}

.small {
  font-size: 80%;
}

.bullet li span {
  display: block;
  line-height: 150%;
  /* 39.6px */
  padding-left: 30px;
}

.border li {
  border-bottom: 1px solid #E2E2E2;
  padding: 10px 20px;
  max-width: 300px;
  margin: 0 auto;
}

.bullet li::before {
  content: "●";
  display: inline-block;
  color: #33A0D6;
  width: 30px;
}

.btn-area .caution {
  margin-bottom: 8px;
}

.btn-area .btn {
  margin-bottom: 18px;
}

.caution {
  color: #DF0A0A;
  line-height: 180%;
  /* 32.4px */
}

.tos_iframe {
  margin-bottom: 30px;
}

.agreement {
  margin-bottom: 30px;
  text-align: center;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.agreement {
  margin-bottom: 20px;
  text-align: center;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.agreement label {
  display: flex;
  align-items: center;
  cursor: pointer;
  /* ラベル全体をクリック可能に */
}

input[type="checkbox"] {
  width: 24px;
  height: 24px;
  cursor: pointer;
  accent-color: #025DAB;
  /* チェックされたときの色を青に変更 */
  margin-right: 10px;
  vertical-align: middle;
  /* チェックボックスをテキストと垂直方向で揃える */
}

.btn {
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn a {
  background: #025DAB;
  border-radius: 10px;
  padding: 15px 10px;
  width: 100%;
  color: #FFF;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.5s 0s ease;
}

.btn a:not(.enabled):hover {
  cursor: not-allowed;
  /* ホバー時に禁止マークを表示 */
}

.btn a:hover {
  background: #33A0D6;
}

.btn a span {
  position: relative;
  padding-right: 40px;
}

.btn a span::after {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background-image: url(/assets/images/icon-arrow.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  top: 6px;
  right: 0;
  transition: all 0.5s 0s ease;
}

.btn a:hover span::after {
  right: -10px;
}

.tos_none a {
  pointer-events: none !important;
  opacity: 0.5 !important;
}

.tos_iframe iframe {
  width: 100%;
  height: 300px;
  overflow-y: auto;
}

.submit_box {
  background: #fff;
  padding: 30px 35px;
  margin-top: 30px;
  border-radius: 16px;
}

.submit_box h2 {
  font-size: 22px;
  font-weight: normal;
  margin-bottom: 25px;
  text-align: center;
  color: #035DAB;
  font-weight: bold;
}

.submit_box.disabled,
.submit_box.disabled2 {
  opacity: 0.5;
  pointer-events: none;
}

.submit_box h2 {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
}

.submit_box h2 img {
  vertical-align: middle;
  margin-right: 10px;
  margin-top: 4px;
  width: 30px;
  height: auto;
  flex-shrink: 0;
}

.radio_box {
  padding-bottom: 20px;
  font-size: 22px;
}

.radio_box label {
  display: block;
  text-align: center;
  margin-bottom: 20px;
}

.radio_box input {
  width: 24px;
  height: 24px;
  vertical-align: text-bottom;
  margin-bottom: 3px;
  display: inline-block;
}

.radio_box.check {
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  margin: 40px auto 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #E7E7E7;
}

.radio_box.check h3 {
  font-weight: normal;
  font-size: 1em;
  margin: 0;
}

.radio_box.check h3:before {
  content: "⚫︎";
  color: #34A0D6;
  margin-right: 10px;
}

.radio_box.check>div {
  min-width: 176px;
  font-size: 1em;
  display: flex;
  align-items: center;
  margin-left: 30px;
}

.radio_box.check label {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 0;
  border: 1px solid #CACACA;
  margin-bottom: 0;
  border-radius: 0 10px 10px 0;
  line-height: 1;
  cursor: pointer;
}

.radio_box.check label:first-child {
  border-right: 0;
  border-radius: 10px 0 0 10px;
}

.radio_box.check label input {
  display: none;
}

.radio_box.check label:has(input:checked) {
  background: #ECF6FF;
  font-weight: bold;
  color: #035DAB;
}

.submit_box.new .month_box {
  display: none;
}

.submit_box.new .radio_box.check:has(input:checked)+.month_box {
  display: block;
}

.message_box,
.message_box>p {
  display: none;
  text-align: center;
}

@media screen and (max-width: 600px) {
  .submit_box.new {
    padding: 30px 20px 40px 20px;
  }

  .radio_box.check {
    display: block;
    padding-right: 1.3em;
  }

  .radio_box.check h3 {
    margin: 0 0 20px;
    padding-left: 1.3em;
  }

  .message_box>p {
    font-size: 0.9em;
  }
}

@media screen and (max-width: 360px) {
  .btn a span {
    position: relative;
    padding-right: 30px;
    font-size: 16px;
  }

  .btn a span::after {
    top: 3px;
  }
}

/*
  確認モーダル
*/
.tos-radio1-modal {
  background: rgba(0,0,0,0.6);
  display: none;
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  overflow-y: auto;
}
.tos-radio1-modal .content {
  background: #fff;
  width: 448px;
  height: fit-content;
  padding: 24px;
  position: absolute;
  top:50%;
  left: 50%;
  transform:translate(-50%, -50%);
  overflow: hidden;
  border-radius: 16px;
  font-size: 16px;
  text-align: center;
  line-height: 1.6;
}
.tos-radio1-modal .box {
  max-width: 100%;
  border: 2px solid #E5E7EB;
  border-radius: 14px;
  padding: 22px;
  margin: 20px 0 20px;
}
.tos-radio1-modal h4 {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: normal;
  color: #035DAB;
}
.tos-radio1-modal p {
  margin: 0;
}
.tos-radio1-modal strong {
  color: #035DAB;
}
.tos-radio1-modal .red {
  color: #DF0B0B;
}
.tos-radio1-modal .box .icon {
  margin: 20px 0;
}
.tos-radio1-modal .note {
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid #E5E7EB;
  font-size: 14px;
  color: #4A5565;
}
.tos-radio1-modal .btn a {
  cursor: pointer !important;
  border: 1px solid #025DAB;
  font-weight: normal;
  font-size: 16px;
}
.tos-radio1-modal .btn a.return {
  background: #fff;
  border: 1px solid #999;
  color: #000;
  transition: all 0.4s;
  margin-bottom: 0;
}
.tos-radio1-modal .btn a.return:hover {
  opacity: 0.5;
}
.btn-unavailable-month > span:last-child {
  display: none;
}

@media screen and (max-width: 600px) {
  .tos-radio1-modal .content {
    width: 95%;
    box-sizing: border-box;
    padding: 20px 12px;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 20px auto;
    font-size: inherit;
  }
  .tos-radio1-modal h4 {
    font-size: 20px;
  }
  .tos-radio1-modal .box {
    padding: 20px 12px;
  }
  .tos-radio1-modal .btn a {
    font-size: inherit;
  }

}
