@charset "UTF-8";
/* ------------------------------ */
/* 電話でのお問い合わせ */
/* ------------------------------ */
.contact-tel {
  margin-bottom: 80px;
}
@media screen and (max-width: 768px) {
  .contact-tel {
    margin-bottom: 30px;
  }
}
.contact-tel-head {
  background-color: #f8f8f8;
  padding: 30px 16px 35px;
  font-weight: 500;
  text-align: center;
  line-height: 1.5;
  margin: 30px 0;
  border-radius: 10px;
}
@media screen and (max-width: 768px) {
  .contact-tel-head {
    padding: 20px 14px;
    margin: 20px 0;
  }
}
.contact-tel-head svg {
  width: 60px;
  height: 60px;
}
@media screen and (max-width: 768px) {
  .contact-tel-head svg {
    width: 43px;
    height: 43px;
  }
}
.contact-tel-head .no {
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
  line-height: 1.75;
  font-size: 40px;
}
@media screen and (max-width: 768px) {
  .contact-tel-head .no {
    line-height: 1.5;
    font-size: 30px;
  }
}
.contact-tel-head span {
  font-size: 16px;
}

.recephours-tel {
  margin: 14px 0 10px;
}
@media screen and (max-width: 768px) {
  .recephours-tel {
    margin: 10px 0;
  }
}
.recephours-tel br {
  display: none;
}
@media screen and (max-width: 768px) {
  .recephours-tel br {
    display: block;
  }
}
.warning {
  color: #ed0000;
  background-color: #fff;
  padding: 5px 20px;
  border-radius: 30px;
  width: fit-content;
  margin: 0 auto;
}
@media screen and (max-width: 768px) {
  .warning {
    width: auto;
    border-radius: 40px;
  }
}
.warning br {
  display: none;
}
@media screen and (max-width: 768px) {
  .warning br {
    display: block;
  }
}
.contact-tel ul,
.contact-mail ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  line-height: 1.75;
}
@media screen and (max-width: 768px) {
  .contact-tel ul,
  .contact-mail ul {
    line-height: 1.71;
    font-size: 14px;
  }
}
.contact-tel li,
.contact-mail li {
  position: relative;
  padding-left: 18px;
}
@media screen and (max-width: 768px) {
  .contact-tel li,
  .contact-mail li {
    padding-left: 12px;
  }
}
.contact-tel li::before,
.contact-mail li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  margin: 0;
  color: #6f6f6f;
  font-size: 2em;
  line-height: 0.7em;
}
@media screen and (max-width: 768px) {
  .contact-tel li::before,
  .contact-mail li::before {
    font-size: 1.8em;
  }
}
.contact-mail .red {
  color: #ed0000;
}
.contact-tel ul li span {
  color: #ed0000;
}

/* ------------------------------ */
/* メールでのお問い合わせ */
/* ------------------------------ */
.contact-mail {
  margin-bottom: 50px;
}
@media screen and (max-width: 768px) {
  .contact-mail {
    margin-bottom: 30px;
  }
}
.contact-mail-lead {
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 5px;
  font-size: 18px;
  letter-spacing: 0.01em;
  color: #ed0000;
  line-height: 2;
  margin: 30px 0;
}
@media screen and (max-width: 768px) {
  .contact-mail-lead {
    margin: 20px 0;
    line-height: 1.75;
    font-size: 16px;
    align-items: flex-start;
  }
}
@media screen and (max-width: 768px) {
  .contact-mail-lead svg {
    width: 20px;
    height: 28px;
  }
}
@media screen and (max-width: 768px) {
  .contact-mail-lead p {
    width: fit-content;
  }
}
.contact-mail li:first-child {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.recephours-mail {
  font-weight: 500;
}

/* ------------------------------ */
/* お問い合わせフォーム */
/* ------------------------------ */
.step-nav-01 {
  color: #fff;
  z-index: 2;
}
.step-nav-01 .step-nav-no {
  background-color: #007e5b;
}
.step-nav-01 .step-nav-statement {
  color: #007e5b;
}

/* フォーム全体のスタイル */
form {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 50px;
}
@media screen and (max-width: 768px) {
  form {
    gap: 30px;
  }
}

/* 入力欄のスタイル */
input,
textarea {
  width: 100%; /* box-sizingが適用されるので、paddingやborder込みで100%に収まる */
  padding: 10px 20px;
  border-radius: 5px;
  background-color: #f8f8f8;
  font-size: 16px;
  line-height: 1.75;
}
@media screen and (max-width: 768px) {
  input,
  textarea {
    margin-top: 10px;
  }
}
input::placeholder {
  color: #6f6f6f;
}

/* テキストエリアの高さを調整 */
textarea {
  resize: vertical;
  height: 120px;
}
/* 送信ボタンのスタイル */
button {
  background-color: #28a745;
  color: white;
  border: none;
  padding: 10px;
  width: 100%;
  margin-top: 10px;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
}
h4 {
  font-weight: 500;
  width: 150px;
}
@media screen and (max-width: 768px) {
  h4 {
    width: initial;
  }
}
.form-head {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.5;
}
@media screen and (max-width: 768px) {
  .form-head {
    flex-direction: row-reverse;
  }
}
.required {
  font-size: 13px;
  font-weight: 600;
  width: 46px;
  height: 22px;
  color: #ed0000;
  text-align: center;
  line-height: initial;
  border: 1px solid #ed0000;
  border-radius: 12px;
}
@media screen and (max-width: 768px) {
  .required {
    font-weight: 400;
  }
}

.form-row {
  display: flex;
  flex-direction: row;
  align-items: baseline;
}
.form-row > div {
  width: 100%;
}
.form-row .error {
  border: 1px solid #ED0000;
}
@media screen and (max-width: 768px) {
  .form-row {
    flex-direction: column;
  }
}
.field {
  display: flex;
  flex-direction: column;
}

/* ラジオボタン */
.radio {
  position: relative; /* ボックスの位置を指定する */
  background-color: unset;
  padding-left: 30px;
  cursor: pointer; /* ←クリックできるように */
}
@media screen and (max-width: 768px) {
  .radio {
    padding-left: 25px;
  }
}
.radio-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
}
@media screen and (max-width: 768px) {
  .radio-list {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: initial;
    gap: 10px;
    margin-top: 10px;
    width: -webkit-fill-available;
  }
}
.radio-item-wrap {
  padding: 18px 20px; /* ボックス内側の余白を指定する */
  border-radius: 5px;
  background-color: #f8f8f8;
  width: 50%;
  flex: 1 1 calc(50% - 20px); /* ← gapを考慮して調整 */
  box-sizing: border-box; /* ← 内側paddingを含めてレイアウト計算 */
}
@media screen and (max-width: 768px) {
  .radio-item-wrap {
    padding: 18px 10px; /* ボックス内側の余白を指定する */
    width: 100%;
  }
}
.radio-item {
  width: initial;
  padding: initial;
  /* ← inputは隠すけど、ラベルクリックで反応するように */
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio:after,
.radio:before {
  position: absolute; /* ボックスの位置を指定する */
  content: ""; /* ボックスのコンテンツ */
  display: block; /* ブロックレベル要素化する */
  top: 50%; /* 上部から配置の基準位置を決める */
  transform: translateY(-50%);
  left: 0;
  border-radius: 50%;
}
/* ボタン外側 */
.radio:after {
  width: 20px;
  height: 20px;
  border: 1px solid #e3e3e3;
  background-color: #fff;
}
/* 内側 */
.radio:before {
  width: 12px;
  height: 12px;
  background-color: #007e5b;
  opacity: 0; /* 要素を透過指定する */
  z-index: 2;
  position: absolute;
  left: 4px;
}
/* 内側の丸を表示する条件を変更 */
input[type="radio"]:checked ~ label.radio::before {
  opacity: 1;
}

.optional {
  padding-left: 56px;
}
@media screen and (max-width: 768px) {
  .optional {
  padding-left: 0;
}
}
.select {
  width: 100%;
  padding: 10px 20px;
  border-radius: 5px;
  background-color: #f8f8f8;
  font-size: 16px;
  color: #6f6f6f;
  line-height: initial;
}
.serialnumber-input {
  width: 100%;
}
.serialnumber-input p {
  font-size: 14px;
  line-height: 1.785;
  margin-top: 5px;
}
.aboutpi {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  line-height: 1.714;
  text-align: center;
  margin-bottom: -20px;
}
@media screen and (max-width: 768px) {
  .aboutpi{
    font-size: 14px;
    margin-bottom: 0;
  }
}
.aboutpi br {
  display: none;
}
@media screen and (max-width: 768px) {
  .aboutpi br {
  display: block;
}
}
.tou-link {
  margin-right: 10px;
}
/* select */
select,
::picker(select) {
  appearance: base-select;
}


/* ＝＝＝＝＝＝＝＝＝＝ プルダウン ＝＝＝＝＝＝＝＝＝＝ */
.custom-select-wrap {
  position: relative;
  width: 100%;
}

.custom-select {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8f8f8;
  border-radius: 5px;
  padding: 10px 20px;
  cursor: pointer;
  color: #6f6f6f;
  font-size: 16px;
}
/* 矢印 */
/* .custom-select::after {
  content: "▼";
  font-size: 12px;
  color: #6f6f6f;
  transition: transform 0.3s;
} */


.custom-select.open::after {
  transform: rotate(180deg);
}

.custom-options {
  position: absolute;
  top: calc(100% + 4px); /* 下に展開 */
  left: 0;
  width: 100%;
  background: #fff;
  border-radius: 5px;
  border: solid 1px #e3e3e3;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  transform: translateY(-5px);
  z-index: 10;
  padding: 5px 0;
}

.custom-select.open .custom-options {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.custom-option {
  display: block;
  padding: 0 20px;
  margin: 5px 0;
  font-size: 16px;
  line-height: 1.75;
  cursor: pointer;
}

.custom-option:hover {
  background: #f2f2f2;
}

.custom-option.selected {
  background: #e3e3e3;
}

.custom-select-wrap {
  position: relative;
  z-index: 100;
}

.custom-select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}


/* 開いた時：矢印を上に回転＋色変更 */
.custom-select.open .custom-select__icon svg {
  transform: rotate(180deg);
  transition: transform 0.3s;
  /* filter: brightness(0) saturate(100%) invert(40%) sepia(91%) saturate(367%) hue-rotate(116deg) brightness(90%) contrast(90%); */
  /* ↑ 色味を変える（例：グリーン風） */
}
.custom-select.open .select-chevron-bg {
  fill: #007e5b;
}

/* オプション部分（前のままでOK） */
/* .custom-options {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  transform: translateY(-5px);
  z-index: 10;
} */

/* .custom-select.open .custom-options {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
} */
.error-message {
  font-size: 14px;
  color: #ED0000;
  margin-top: 5px;
}
