@charset "utf-8";
/* Section - Headline
----------------------------------------------------------------------------------------------------*/
.sec-headline {
  width: min(97%, 120rem);
  margin: 20rem auto 7rem;
}
.sec-headline__copy {
  margin-bottom: 8.5rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 500;
  text-align: left;
  line-height: 1.75;
}
.sec-headline__copy a {
  text-decoration: none;
}
.sec-headline__copy b {
  color: #ff3200;
}
/* TABLET */
@media screen and (max-width: 1023px) {
  .sec-headline {
    margin: 9rem auto 7rem;
  }
  .sec-headline__copy {
    margin: 0 auto 6rem;
  }
}
/* Form
----------------------------------------------------------------------------------------------------*/
form, input, textarea, select {
  color-scheme: light;
}
fieldset {
  border: none;
}
/* Section - Contact
----------------------------------------------------------------------------------------------------*/
.sec-form {
  width: min(97%, 120rem);
  padding-bottom: 20rem;
  margin: 0 auto;
}
.sec-form-footer {
  padding: 0;
  margin: 0 auto 7rem;
  font-size: clamp(1.8rem, 4vw, 2rem);
  font-weight: 700;
  text-align: center;
}
.sec-form-footer input[type="checkbox"] {
  transform: scale(1.8);
  margin-right: 0.6em;
}
.sec-form-footer p {
  text-align: left;
}
.alert-box {
  margin-bottom: 4rem;
  color: #FF3200;
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 600;
}
.submit-box {
  margin-bottom: 4rem;
  font-size: clamp(1.6rem, 4vw, 2rem);
}
.sec-form__err {
  padding: 2rem;
  margin-bottom: 5rem;
  border: 1px solid #CCC;
  text-align: left;
}
.sec-form .label.warning {
  background-color: #ff6d00;
  padding: 0 0.8rem;
  margin-left: 0.5rem;
  border-radius: 1rem;
  color: #FFF;
  font-size: 1.4rem;
}
.sec-form input {
  width: 100%;
  padding: 1.9rem 4rem;
  background-color: #FFF;
  border: 1px solid #4dcee5;
  border-radius: 1.5rem;
  outline: none;
}
.sec-form input[type='checkbox'] {
  width: auto;
}
.sec-form select {
  padding: 2.5rem 10rem 2.5rem 1.2rem;
  background-color: #FFF;
  border: 1px solid #4dcee5;
  border-radius: 1.5rem;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.sec-form textarea {
  width: 100%;
  padding: 1.9rem 4rem;
  background-color: #FFF;
  border: 1px solid #4dcee5;
  border-radius: 1.5rem;
  outline: none;
}
.sec-form ::placeholder {
  color: #999999;
}
.form-item__type input[type="checkbox"] {
  accent-color: #164186;
}
/* TABLET */
@media screen and (max-width: 1023px) {
  .sec-form {
    padding-bottom: 10rem;
  }
  .sec-form-footer {
    margin: 0 auto 4rem;
  }
  .sec-form input {
    padding: 1.2rem;
  }
  .sec-form textarea {
    padding: 1.2rem;
  }
}
/* Section - Table
----------------------------------------------------------------------------------------------------*/
.sec-form table {
  width: 100%;
  margin-bottom: 6rem;
}
.sec-form tr {
  display: flex;
  justify-content: space-between;
}
.sec-form th {
  width: calc(425 / 1200 * 100%);
  padding: 2rem 0;
  color: #164186;
  font-size: clamp(1.8rem, 4vw, 2rem);
  font-weight: 700;
  text-align: left;
  vertical-align: top;
}
.sec-form td {
  width: calc(775 / 1200 * 100%);
  margin-bottom: 4rem;
  font-size: clamp(1.6rem, 4vw, 2rem);
}
.sec-form.kakunin td {
  padding: 2rem 0;
  margin-bottom: 4rem;
}
.sec-form th label {
  padding-right: 0;
}
.sec-form th label.label-off {
  padding-right: 0;
}
.sec-form th .label {
  padding: 0.2rem 0.5rem;
  font-size: clamp(1rem, 4vw, 1.2rem);
}
.sec-form th small {
  font-size: clamp(1.4rem, 4vw, 2rem);
}
.sec-form tr:last-child th, .sec-form tr:last-child td {
  /*padding: 20px 0;*/
}
.form-item__type {
  display: flex;
  flex-wrap: wrap;
  width: 62rem;
}
.form-item__type .cell {
  display: block;
  width: 13rem;
}
.form-item__type .cell:nth-child(2) {
  width: 35rem;
}
.form-item__type .cell:nth-child(5) {
  width: 20rem;
}
.contact__ttl span.question {
  display: inline-block; /* インデントを有効にするために必要 */
  padding-left: 1em; /* ※マーク分（1文字分）の余白を作る */
  margin-top: 1.5rem;
  font-size: clamp(1.4rem, 3vw, 2rem);
  text-indent: -1em; /* 1行目だけ左に1文字分戻す */
  line-height: 1.5; /* 行間を少し空けると読みやすくなります */
  vertical-align: top;
}
.contact__txt p {
  line-height: 1;
}
.contact__txt span {
  font-size: clamp(1rem, 4vw, 1.4rem);
}
/* TABLET */
@media screen and (max-width: 1023px) {
  .sec-form table {
    margin-bottom: 3rem;
  }
  .sec-form tr {
    display: flex;
    flex-direction: column;
  }
  .sec-form th {
    width: 100%;
    padding: 1.5rem 0 0.5rem;
    margin: 0;
  }
  .sec-form th label {
    padding-left: 0;
  }
  .sec-form td {
    width: 100%;
    padding: 0.6rem 0;
    margin-bottom: 0;
    border-top: none;
    font-size: 1.6rem;
  }
  .form-item__type {
    flex-direction: column;
    width: 100%;
  }
  .form-item__type .cell {
    width: 100%;
  }
  .form-item__type .cell:nth-child(2) {
    width: 100%;
  }
  .form-item__type .cell:nth-child(5) {
    width: 100%;
  }
}
/* 追加するスタイル */
/* 横並びにするコンテナ */
.form-group-inline {
  display: flex;
  align-items: center;
  gap: 1.5rem; /* 要素間の余白 */
  flex-wrap: wrap;
}
/* 各セレクトボックスと単位の塊 */
.select-wrapper {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
/* セレクトボックスの調整 */
.sec-form select {
  padding: 1.5rem 5rem 1.5rem 1.5rem; /* 左右の余白を少し詰めるとバランスが良いです */
  min-width: 12rem;
  cursor: pointer;
  /* カスタム矢印の追加（画像のような下向き三角） */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23164186'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 3rem;
}
/* 生年月日の「月・日」など、短い方の幅を調整 */
.select-wrapper:not(:first-child) select {
  min-width: 10rem;
}
/* 「年」「月」「日」の文字スタイル */
/*.unit {
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 700;
  color: #333;
}*/
/* TABLET */
@media screen and (max-width: 1023px) {
  .form-group-inline {
    gap: 1rem;
  }
  .sec-form select {
    padding: 1rem 4rem 1rem 1rem;
    min-width: 8rem;
    font-size: 1.6rem;
  }
  .select-wrapper:not(:first-child) select {
    min-width: 8rem;
  }
  .unit {
    font-size: 1.6rem;
  }
}
/* MOBILE */
@media screen and (max-width: 767px) {
  .select-wrapper:not(:first-child) select {
    min-width: 7rem;
  }
}
/* Section - Thanks Page
----------------------------------------------------------------------------------------------------*/
.sec-thanks {
  width: min(97%, 89rem);
  padding-bottom: 5rem;
  margin: 10rem auto;
}
.contact-body {
  width: min(100%, 89rem);
  padding: 0;
  margin: 10rem auto;
  font-size: 2rem;
}
.sec-form-header {
  margin-bottom: 3rem;
  text-align: center;
}
.sec-form-header__head {
  margin-bottom: 3rem;
  font-size: 4rem;
}
.sec-form-header__box {
  border-top: 1px solid #CCC;
  border-bottom: 1px solid #CCC;
  padding: 2rem;
  font-size: 2.4rem;
}
.sec-form-header__box span {
  font-family: "Noto Sans JP", sans-serif;
}
.sec-form-header__box small {
  font-size: 2rem;
}
.thanks__text p {
  margin-bottom: 2rem;
}
.telno__box {
  margin-bottom: 5rem;
}
/* Section - Button
----------------------------------------------------------------------------------------------------*/
.form-item__button {
  display: flex;
  justify-content: center;
  gap: 4rem;
}
/* ボタン共通 */
.sec-link__btn button {
  display: block;
  min-width: 44rem;
  height: 10rem;
  padding: 0 2rem;
  border: none;
  border-radius: 1.6rem;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.sec-link__btn a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44rem;
  height: 10rem;
  padding: 0 2rem;
  border: none;
  border-radius: 1.6rem;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.button-text {
  color: #fff;
}
/* 取り消す */
.form-item__button-reset {
  background: #999999;
}
/* 確認 */
.form-item__button-submit {
  background: #164186;
}
/* TABLET */
@media (max-width: 1023px) {
  .form-item__button {
    flex-direction: column;
    align-items: center;
  }
  /* 確認ボタンを上 */
  .sec-link__btn:nth-child(2) {
    order: 1;
  }
  /* 取り消すを下 */
  .resetbtn {
    order: 2;
  }
  .sec-link__btn button, .sec-link__btn a {
    width: 100%;
    height: 8rem;
    min-width: 33rem;
  }
}