@charset "UTF-8";

/* contact
-------------------------------------------------- */
.contact-inner {
  width: 780px;
  max-width: 100%;
  min-height: 30vh;
  margin-left: auto;
  margin-right: auto;
}

.contact-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 324px;
  max-width: 100%;
  height: 70px;
  margin-left: auto;
  margin-right: auto;
  background: #000;
  border: 2px solid #000;
  border-radius: 5px;
  font-size: 2.3rem;
  transition: .3s;
  cursor: pointer;
}

.contact-btn:hover {
  background-color: #fff;
  color: #000;
}

.contact-btn.white {
  background: #fff;
  border: 2px solid #000;
}

.contact-btn.white:hover {
  background-color: #000;
  color: #fff;
}

.contact-btn input {
  color: #fff;
  font-size: 2.2rem;
  font-weight: bold;
  transition: .3s;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.contact-btn:hover input {
  color: #000;
}

.contact-btn.white input {
  color: #000;
  background-color: #fff;
  transition: .3s;
  border: 0;;
}

.contact-btn.white:hover input {
  color: #fff;
  background-color: #000;
}

.contact-link {
  color: #000;
  text-decoration: underline;
}

.contact-link:hover {
  text-decoration: none;
}

.contact-thanks {
  font-size: 2.4rem;
}

.contact-thanks-txt {
  font-size: 1.8rem;
}

/* wpcf7
-------------------------------------------------- */
.wpcf7 .form-group:not(.contact-btn) {
  display: flex;
  /* justify-content: center; */
  align-items: flex-start;
  gap: 1em;
}

.wpcf7 .form-group:not(.contact-btn) label {
  display: block;
  width: 10em;
  min-width: 10em;
  font-size: 1.8rem;
  font-weight: bold;
}

.wpcf7 .form-group:not(.contact-btn) > span {
  width: 100%;
}

.wpcf7 .form-group:not(.contact-btn) input,
.wpcf7 .form-group:not(.contact-btn) textarea {
  padding: 10px 20px;
  width: 100%;
  max-width: 600px;
  border: 1px solid #000;
  border-radius: 2px;
}

.wpcf7 .form-group:not(.contact-btn) input,
.wpcf7 .form-group:not(.contact-btn) > span {
  font-size: 2rem;
}

.wpcf7 .form-group textarea {
  font-size: 1.8rem;
}

.wpcf7 .form-group + .form-group {
  margin-top: 60px;
}

.wpcf7 .form-buttons .form-group + .form-group {
  margin-top: 24px;
}

@media screen and (max-width: 768px) {
  .wpcf7 .form-group:not(.contact-btn) {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .wpcf7 .form-group:not(.contact-btn) label,
  .wpcf7 .form-group:not(.contact-btn) input,
  .wpcf7 .form-group:not(.contact-btn) > span {
    font-size: 1.6rem;
  }

  .wpcf7 .form-group:not(.contact-btn) textarea {
    font-size: 1.4rem;
  }

  .wpcf7 .form-group + .form-group {
    margin-top: 24px;
  }
}

/* 確認ボタン後のローダー */
.wpcf7-spinner {
  position: absolute;
  visibility: hidden;
}

/* エラー時の挙動 */
.wpcf7-form-control.wpcf7-not-valid {
  border: 1px solid #D84849 !important;
  background-color: #fcf7f7;
}

/* ラベルを赤くする（.form-group内にエラーがある場合） */
.wpcf7 .form-group .wpcf7-form-control.wpcf7-not-valid + .wpcf7-not-valid-tip,
.wpcf7 .form-group .wpcf7-form-control.wpcf7-not-valid {
  color: #D84849;
}

.wpcf7 .form-group:has(.wpcf7-not-valid) > label {
  color: #D84849;
}

.wpcf7-not-valid-tip,
.wpcf7-response-output {
  display: none;
}


/* プルダウン
-------------------------------------------------- */
.hidden {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.visible {
  position: static;
  width: auto;
  height: auto;
  left: auto;
  overflow: visible;
}

/* コンテナーのスタイル */
.listbox-area {
  position: relative;
  width: 100%; /* 幅を調整 */
  font-family: Arial, sans-serif; /* フォントを現代的に */
}

/* ラベルとボタンのスタイル */
.listbox-label {
  display: block;
  margin: 20px 0 10px 0;
}

.custom-select-trigger {
  display: block;
  padding: 10px 20px;
  color: #333;
  background-color: #fff;
  border: 1px solid #000;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 2rem;
}

.custom-select-trigger {
  position: relative;
  width: 100%;
  text-align: left;
}

.custom-select-trigger::before {
  content: '';
  display: inline-block;
  background: url(../img/icon_under.svg) no-repeat center center;
  width: 12px;
  height: 6px;
  position: absolute;
  top: 24px;
  right: 20px;
  transition: transform 0.3s ease;
}

.custom-select-trigger[aria-expanded="true"]::before {
  transform: rotate(180deg);
}

/* ボタンのホバーとフォーカススタイル */
.custom-select-trigger:hover,
.custom-select-trigger:focus {
  background-color: #e8e8e8;
  outline: none;
}

/* リストとオプションのスタイル */
#exp_list {
  list-style-type: none;
  position: absolute;
  z-index: 10;
  width: 100%;
  background-color: #fff;
  border: 1px solid #707070;
  border-top: none; /* 上の境界線を消去 */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out;
  font-size: 1.8rem;
}

#exp_list.visible {
  max-height: auto;
}

#exp_list li {
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#exp_list li:hover {
  background-color: #f4f4f4;
}

#exp_list li:focus,
#exp_list li[aria-selected="true"] {
  background-color: #ddd;
  outline: none;
}