/*
Version: 1.6
*/

/*==================================================
Contact Form 7
==================================================*/
input,
button,
select,
textarea {
  background: transparent;
  border: none;
  border-radius: 0;
  font: inherit;
  outline: none;
}
textarea {
  resize: vertical;
}
input[type="submit"],
input[type="button"],
label,
button,
select {
  cursor: pointer;
}

select::-ms-expand {
  display: none;
}

select {
  padding-right: 4rem !important ;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  background-image: url("../images/arrow.svg") !important;
  background-repeat: no-repeat !important;
  background-size: 1.2rem 1rem !important;
  background-position: right 1.5rem center !important;
}

.wpcf7-form {
  border-top: 1px solid #ccc;
}

/*Contact Form 7カスタマイズ*/
input[type="email"],
input[type="number"],
input[type="password"],
input[type="reset"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="url"],
select,
textarea {
  margin-right: 1.5rem;
  padding: 0.5em;

  border: 1px solid #ddd;
  border-radius: 6px;
  background: #eaedf2;
}

.cftx input[type="text"] {
  background: #fff;
  padding: 0.5em 0;
  font-feature-settings: "palt";
}

/*tdの幅*/
.inp-middle {
  width: 50%;
}
.inp-100mt10 {
  margin-top: 1rem;
  width: 100%;
}
.inp-100 {
  width: 100%;
}
/*見出し欄*/
.inquiry th {
  text-align: left;
  font-size: 1.5rem;
  color: #333;
  font-weight: 700;
  padding-right: 1.5rem;
  width: 35%;
  padding-left: 1.5rem;
  -webkit-font-feature-settings: "palt";
  font-feature-settings: "palt";
}

/*通常欄*/
.inquiry td {
  font-size: 1.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.inquiry th,
.inquiry td {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #ccc;
  border-right: 1px solid #ccc;
  border-left: 1px solid #ccc;
}

.inquiry th .requi::after {
  content: "必須";

  font-size: 1.2rem;
  line-height: 1em;
  margin-left: 1em;
  display: inline-block;
  color: #fff;
  background: #f9662b;
  padding: 0.5em 0.4em;
  font-weight: 600;
  border-radius: 0.3em;
}
.inquiry th .dfs {
  font-size: 1.3rem;
  font-weight: 400;
}
.filetd {
  line-height: 1.7em;
}
/*ファイルを選択*/
.inquiry .wpcf7-file {
  font-size: 1.6rem;
  line-height: 1em;
}
input[type="file"]::file-selector-button {
  padding: 0.7em 1em;
  border: none;
  cursor: pointer;
  background-color: #5a5a5a;
  color: #fff;
  border-radius: 100vh;
  margin-right: 1rem;
  font-size: 1.6rem;
  line-height: 1em;
}

/*エラーメッセージ*/
.wpcf7-not-valid-tip {
  color: #dc3232 !important;
  font-size: 1.2rem !important;
  display: block !important;
}
/*必須の調整*/
.haveto {
  display: inline-block;
  font-size: 1rem;
  padding: 0.5rem;
  color: #ff004c;
  border: 1px solid #ff004c;
  border-radius: 2px;
  margin-left: 1.5rem;
  position: relative;
  bottom: 0.1em;
  line-height: 1;
  font-weight: 400;
}
.asterisk {
  font-size: 2em;
  line-height: 0;
  font-weight: 400;
  color: #999;
}
.srskbahhs {
  color: #ff004c;
}

/*ラジオボタンを縦並び指定*/
.verticallist .wpcf7-list-item {
  display: block;
}
/*送信ボタンのデザイン変更*/
.formbtnw div {
  margin: 2rem auto 0 auto;
  width: 30rem;
  position: relative;
}
#formbtn {
  display: block;
  padding: 2rem 1.5rem;
  background: var(--color-1);
  color: #fff;
  width: 100%;
  font-weight: bold;
  transition: all 0.2s;
  letter-spacing: 0.05em;
  border-radius: 999px;
}
#formbtn:hover {
  background: #555555;
}
.readonlytx {
  background: none !important;
  font-weight: 600 !important;
}
/*消しておく*/
.wpcf7-spinner {
  display: none !important;
}

.wpcf7-list-item.first {
  margin: 0;
}
.wpcf7-list-item-label {
  cursor: pointer;
  display: flex;
}
/* デフォルトのボタン */
input[type="radio"] {
  opacity: 0; /* デフォルトのボタンを非表示 */
  position: absolute;
}
/* チェック前のボタン */
.wpcf7-list-item-label::before {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 100%; /* ラジオボタンっぽく丸くする */
  content: "";
  height: 1.5em;
  margin-bottom: auto;
  margin-right: 0.5em;
  margin-top: auto;

  width: 1.5em;
}
/* チェック後のボタン */
input[type="radio"]:checked + .wpcf7-list-item-label::before {
  background-color: #181818; /* チェック後の中心の色 */
  box-shadow: inset 0 0 0 3px #fff; /* 中心の色のスタイル */
}

/*個人情報取り扱いについて*/
.ppchek {
  color: #181818;
  font-weight: 700;
  margin-top: 4rem;
  text-align: center;
}
.ppchek p {
  text-align: center;
}
.pplink {
  color: #181818;
  font-size: 1.3rem;

  text-align: center;
}
.pplink p {
  text-align: center;
}
.pplink p a {
  border-bottom: 1px solid #aaaaaa;
}
.ppframe {
  padding: 2rem;
  height: 10rem;
  border: 1px solid #181818;
  overflow-y: scroll;
}
.privacypolicy {
  text-align: center;
  margin-top: 3rem;
}
.privacypolicybt {
  display: inline-block;
  cursor: pointer;
}
.privacypolicybt p {
  text-align: center;
}
.privacypolicybt span {
  border-bottom: 1px solid #333;
  line-height: 1.2em;
}
.privacypolicytx {
  font-size: 0.9em;
  margin-top: 2rem;
  padding: 1em;
  text-align: left;
  line-height: 1.5em;
  width: 100%;
  height: auto;
  border: 1px solid #ccc;

  display: none;
}
/* 標準のスクロールバーのスタイルを無効化 */
.privacypolicytx {
  scrollbar-width: thin; /* Firefox */
  scrollbar-color: transparent transparent; /* Firefox */
  overflow-y: scroll; /* 他のブラウザ */
}

/* スクロールバーのデザイン */
.privacypolicytx::-webkit-scrollbar {
  width: 1.2rem; /* Chrome, Safari */
}

.privacypolicytx::-webkit-scrollbar-thumb {
  background-color: #888; /* スクロールバーのつまみの色 */
}

.privacypolicytx::-webkit-scrollbar-track {
  background-color: #f1f1f1; /* スクロールバーのトラックの色 */
}

/* Firefoxのスクロールバーのデザイン */
.privacypolicytx {
  scrollbar-color: #888 transparent; /* Firefox */
}

input[type="checkbox"] {
  display: none;
}
.checkboxtd .wpcf7-list-item-label {
  position: relative;
  padding-left: 2em;
  display: block;
  line-height: 1.5em;
  margin-bottom: 0.5em;
}
.checkboxtd .wpcf7-list-item {
  display: block;
  margin-left: 0 !important;
}
.wpcf7-free-text {
  width: 100%;
}
.checkboxtd .wpcf7-list-item-label::before {
  background: #e5e5e5;
  border: 1px solid #333;
  content: "" !important;
  display: block;
  height: 1.4em;
  left: 0em;
  position: absolute;
  top: 50%;
  margin-top: -0.7em;
  width: 1.4em;
}
.checkboxtd .wpcf7-list-item-label::after {
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  content: "" !important;
  display: block;
  height: 0.8em;
  left: 0.5em;
  margin-top: -0.6em;
  opacity: 0;
  position: absolute;
  top: 50%;
  transform: rotate(45deg);
  width: 0.5em;
}
.ppchek .wpcf7-list-item-label {
  position: relative;
  padding-left: 2.4em;
  display: block;
  line-height: 1.5em;
  text-align: left;
}
.ppchek .wpcf7-list-item {
  display: inline-block;
  margin: 0 0 0 0 !important;
}
.ppchek .wpcf7-list-item-label::before {
  background: #fff;
  border: 3px solid #999;
  border-radius: 0.3em;
  content: "" !important;
  display: block;
  height: 1.8em;
  left: 0em;
  position: absolute;
  top: 50%;
  margin-top: -0.9em;
  width: 1.8em;
}
.ppchek .wpcf7-list-item-label::after {
  border-right: 3px solid #999;
  border-bottom: 3px solid #999;

  content: "" !important;
  display: block;
  height: 0.8em;
  left: 0.6em;
  margin-top: -0.5em;
  opacity: 0;
  position: absolute;
  top: 50%;
  transform: rotate(45deg);
  width: 0.5em;
}
input[type="checkbox"]:checked + .wpcf7-list-item-label::after {
  opacity: 1;
}
.inquiry {
  background: #fff;
}
::placeholder {
  font-size: 1.5rem;
  color: #333;
}
.postcodeip input::placeholder {
  color: #333 !important;
}
.yumark input[type="text"] {
  padding-left: 4rem;
}
.yumark {
  display: block;
  position: relative;
}
.yumark::before {
  content: "〒";
  position: absolute;
  font-size: 1.5rem;
  display: block;

  top: 50%;
  left: 1.5rem;
  transform: translateY(-50%);
  z-index: 1;
}
.wpcf7 form .wpcf7-response-output {
  font-size: 1.4rem;
  line-height: 1.8em;
  font-weight: 700;
  margin: 2em 0 0 0 !important;
}
.recnone {
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.8em;
}
.grecaptcha-badge {
  visibility: hidden;
}

@media screen and (max-width: 767px) {
  .sp-mt-05 {
    margin-top: 0.5em;
  }
  #datepickerth {
    width: 100%;
  }
  .recnone {
    text-align: left;
  }
  input,
  textarea {
    font-size: 16px;
  }

  .checkboxtd .wpcf7-list-item {
    margin: 1.5rem 0 0 0 !important;
  }
  .privacypolicytx {
    width: 100%;
  }
  .formbtnw div {
    width: 100%;
  }
  .inp-middle {
    width: 100%;
  }

  .inquiry th,
  .inquiry td {
    border-right: 1px solid #ccc;
    border-left: 1px solid #ccc;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .inquiry th,
  .inquiry td {
    border-bottom: 0;
  }
  .inquiry th {
    padding-bottom: 0;
  }
  .inquiry td {
    padding-top: 0.5rem;
  }

  .inquiry tr {
    border-bottom: 1px solid #ccc;
  }
}

/*==================================================
カレンダー日付真ん中寄せ
==================================================*/
.ui-datepicker td span,
.ui-datepicker td a {
  text-align: center !important;
}
