@charset "UTF-8";
/*-----------------reset--------------------*/
/* 1. テキスト入力欄のエラー表示・確認画面用スタイル [追加] */
.contact-form_txt_error {
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  background-color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  color: #ff0000;
  width: 100%;
  padding-bottom: 0.3em;
}

.contact-form_txt_review {
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  background-color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  width: 100%;
  padding-bottom: 0.3em;
}

/* 2. テキスト入力欄のレスポンシブフォントサイズ対象クラスの拡張 [変更] */
@media only screen and (max-width: 1025px) {
  .contact-form_txt,
  .contact-form_txt_error,
  .contact-form_txt_review {
    font-size: calc((12 / var(--em)) * 1rem);
  }
}
@media only screen and (min-width: 1025px) {
  .contact-form_txt,
  .contact-form_txt_error,
  .contact-form_txt_review {
    font-size: calc((14 / var(--em)) * 1rem);
  }
}

/* 3. サンプル用チェックボックス [追加] */
.sample-contact-form_chckbox {
  position: relative;
  color: #505560;
  display: flex;
  align-items: center;
  transition: all 0.3s ease-out;
  padding-left: 25px;
}
.sample-contact-form_chckbox input {
  position: absolute;
  white-space: nowrap;
  width: 1px;
  height: 1px;
  overflow: hidden;
  border: 0;
  padding: 0;
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  margin: -1px;
}
.sample-contact-form_chckbox::before,
.sample-contact-form_chckbox::after {
  display: block;
  width: 18px;
  height: 18px;
  position: absolute;
  left: 0;
  top: 50%;
  translate: 0 -50%;
}
.sample-contact-form_chckbox::before {
  content: "";
  border: 1px solid #b8b9b9;
}
.sample-contact-form_chckbox::after {
  content: "";
  display: none;
  left: 1px;
  border-radius: 50%;
  background-color: #505560;
  transform: scale(0.5);
  transform-origin: center;
}
.sample-contact-form_chckbox.checked::after {
  display: block; /* チェックされたときに表示 */
}

/* 4. 送信ボタン（a.button のセレクタ追加） [変更] */
/*
.contact-form input[type="submit"],
.contact-form a.button {
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  background-color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  color: #fff;
  background-color: #505560;
  border: 1px solid #505560;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media only screen and (max-width: 1025px) {
  .contact-form input[type="submit"],
  .contact-form a.button {
    width: 50%;
    height: min((80 / var(--content-width)) * 100vw, 80 * 1px);
    font-size: calc((13 / var(--em)) * 1rem);
    margin-inline: auto;
  }
}
@media only screen and (min-width: 1025px) {
  .contact-form input[type="submit"],
  .contact-form a.button {
    width: min((180 / var(--content-width)) * 100vw, 180 * 1px);
    height: min((45 / var(--content-width)) * 100vw, 45 * 1px);
    font-size: calc((15 / var(--em)) * 1rem);
    transition: all 0.3s ease-out;
  }
  .contact-form input[type="submit"]:hover,
  .contact-form a.button:hover {
    background-color: #fff;
    color: #505560;
  }
}
*/

/* 5. サンプル削除確認モーダル [追加] */
.modal-delete_sample {
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  background-color: rgba(80, 85, 96, 0.5);
  width: 100dvw;
  height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease-out;
}
.modal-delete_sample:not(.show) {
  translate: -100% 0;
  opacity: 0;
}
.modal-delete_sample_inner {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
@media only screen and (max-width: 1025px) {
  .modal-delete_sample_inner {
    width: 90vw;
    height: auto;
    padding-block: min((40 / var(--content-width)) * 100vw, 40 * 1px);
  }
}
@media only screen and (min-width: 1025px) {
  .modal-delete_sample_inner {
    width: min((500 / var(--content-width)) * 100vw, 500 * 1px);
    height: min((420 / var(--content-width)) * 100vw, 420 * 1px);
  }
}
@media only screen and (max-width: 1025px) {
  .modal-delete_sample_icon {
    width: min((200 / var(--content-width)) * 100vw, 200 * 1px);
  }
}
@media only screen and (min-width: 1025px) {
  .modal-delete_sample_icon {
    width: min((97 / var(--content-width)) * 100vw, 97 * 1px);
  }
}
.modal-delete_sample_txt {
  text-align: center;
  color: #ff0000;
  letter-spacing: 0.13em;
  margin-top: min((30 / var(--content-width)) * 100vw, 30 * 1px);
}
@media only screen and (max-width: 1025px) {
  .modal-delete_sample_txt {
    font-size: calc((18 / var(--em)) * 1rem);
  }
}
@media only screen and (min-width: 1025px) {
  .modal-delete_sample_txt {
    font-size: calc((26 / var(--em)) * 1rem);
  }
}
.modal-delete_sample_btn_wrap {
  height: 3em;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: min((40 / var(--content-width)) * 100vw, 40 * 1px);
  gap: 0 5%;
}
.modal-delete_sample_btn {
  height: 3em;
  border-radius: 5px;
  border: 1px solid #505560;
  color: #505560;
  display: flex;
  justify-content: center;
  align-items: center;
  /* margin-top: min((40 / var(--content-width)) * 100vw, 40 * 1px); */
}
@media only screen and (max-width: 1025px) {
  .modal-delete_sample_btn {
    font-size: calc((14 / var(--em)) * 1rem);
    width: min((200 / var(--content-width)) * 100vw, 200 * 1px);
  }
}
@media only screen and (min-width: 1025px) {
  .modal-delete_sample_btn {
    font-size: calc((16 / var(--em)) * 1rem);
    width: min((150 / var(--content-width)) * 100vw, 150 * 1px);
  }
}

/* 6. サンプルチェック確認モーダル [追加] */
.modal-check_sample {
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  background-color: rgba(80, 85, 96, 0.5);
  width: 100dvw;
  height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease-out;
}
.modal-check_sample:not(.show) {
  translate: -100% 0;
  opacity: 0;
}
.modal-check_sample_inner {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
@media only screen and (max-width: 1025px) {
  .modal-check_sample_inner {
    width: 90vw;
    height: auto;
    padding-block: min((40 / var(--content-width)) * 100vw, 40 * 1px);
  }
}
@media only screen and (min-width: 1025px) {
  .modal-check_sample_inner {
    width: min((500 / var(--content-width)) * 100vw, 500 * 1px);
    height: min((420 / var(--content-width)) * 100vw, 420 * 1px);
  }
}
@media only screen and (max-width: 1025px) {
  .modal-check_sample_icon {
    width: min((200 / var(--content-width)) * 100vw, 200 * 1px);
  }
}
@media only screen and (min-width: 1025px) {
  .modal-check_sample_icon {
    width: min((97 / var(--content-width)) * 100vw, 97 * 1px);
  }
}
.modal-check_sample_txt {
  text-align: center;
  color: #ff0000;
  letter-spacing: 0.13em;
  margin-top: min((30 / var(--content-width)) * 100vw, 30 * 1px);
}
@media only screen and (max-width: 1025px) {
  .modal-check_sample_txt {
    font-size: calc((18 / var(--em)) * 1rem);
  }
}
@media only screen and (min-width: 1025px) {
  .modal-check_sample_txt {
    font-size: calc((26 / var(--em)) * 1rem);
  }
}
.modal-check_sample_btn_wrap {
  height: 3em;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: min((40 / var(--content-width)) * 100vw, 40 * 1px);
  gap: 0 5%;
}
.modal-check_sample_btn {
  height: 3em;
  border-radius: 5px;
  border: 1px solid #505560;
  color: #505560;
  display: flex;
  justify-content: center;
  align-items: center;
  /* margin-top: min((40 / var(--content-width)) * 100vw, 40 * 1px); */
}
@media only screen and (max-width: 1025px) {
  .modal-check_sample_btn {
    font-size: calc((14 / var(--em)) * 1rem);
    width: min((200 / var(--content-width)) * 100vw, 200 * 1px);
  }
}
@media only screen and (min-width: 1025px) {
  .modal-check_sample_btn {
    font-size: calc((16 / var(--em)) * 1rem);
    width: min((150 / var(--content-width)) * 100vw, 150 * 1px);
  }
}

/* 7. 送信ボタン行・トップへ戻るボタン関連スタイル [追加] */
.contact-form_item_row_submit {
  justify-content: center; /* 中央寄せ */
  gap: 20px; /* ボタン間の間隔を20pxに設定 */
}

@media only screen and (max-width: 1025px) {
  .contact-form_item_row_submit {
    display: flex;
    flex-direction: column; /* ボタンを縦に並べる */
    justify-content: center; /* 中央寄せ */
    gap: 20px; /* ボタン間の間隔を20pxに設定 */
  }

  /* 最後のボタンのマージンを取り除く */
  .contact-form input[type="submit"]:last-child,
  .contact-form a.button:last-child {
    margin-bottom: 0;
  }
}

.goto_top_btn {
  margin-top: min((130 / var(--content-width)) * 100vw, 130 * 1px);
  margin-inline: auto;
}

.goto_top_btn a {
  color: inherit;
}

@media only screen and (max-width: 1025px) {
  .search-goto_top_btn {
    font-size: calc((16 / var(--em)) * 1rem);
    width: 80%;
  }
}
@media only screen and (min-width: 1025px) {
  .search-goto_top_btn {
    font-size: calc((20 / var(--em)) * 1rem);
    width: min((300 / var(--content-width)) * 100vw, 300 * 1px);
  }
}
/*# sourceMappingURL=contact_add.css.map */
