/*
You can add your own CSS here.

Click the help icon above to learn more.
*/

/* ここからフォント縁取り */
.outlined-text01 {
	color:  #000 !important;
  text-shadow:
    -1px -1px 0 white,
     1px -1px 0 white,
    -1px  1px 0 white,
     1px  1px 0 white !important;
}

.outlined-text02 {
	color:  #000 !important;
  text-shadow:
    -2px -2px 0 white,
     2px -2px 0 white,
    -2px  2px 0 white,
     2px  2px 0 white,
    0    -2px 0 white,
    0     2px 0 white,
    -2px  0    0 white,
     2px  0    0 white !important;
}
.outlined-text03{
  color: #004AAD !important;
  text-shadow:
    -3px -3px 0 white,
     3px -3px 0 white,
    -3px  3px 0 white,
     3px  3px 0 white,
    0    -3px 0 white,
    0     3px 0 white,
    -3px  0    0 white,
     3px  0    0 white !important;
}


.outlined-text-red {
  color: #CC3C3C !important;/* 中の文字の色 */
  text-shadow:
    -1px -1px 0 #810b0b,
     1px -1px 0 #810b0b,
    -1px  1px 0 #810b0b,
     1px  1px 0 #810b0b !important;
}

.double-outline {
  text-shadow:
    /* 白い縁（内側）距離3px */
    -3px -3px 0 white,
     3px -3px 0 white,
    -3px  3px 0 white,
     3px  3px 0 white,
    /* 黒い縁（外側）距離6px */
    -6px -6px 0 black,
     6px -6px 0 black,
    -6px  6px 0 black,
     6px  6px 0 black;
}



/* ここまでフォント縁取り */

/* 質問タイトル部分にQ画像を表示 */
.e-n-accordion-item-title-text {
  position: relative;
  padding-left: 40px;
}

.e-n-accordion-item-title-text::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background-image: url('http://benriyamaru.com/rs/wp-content/uploads/sites/2/2025/03/段落テキスト-1.png'); /* Q画像 */
  background-size: contain;
  background-repeat: no-repeat;
}


.faq-accordion {
  position: relative;
  padding-left: 40px; /* アイコン分の余白 */
}

.faq-accordion::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background-image: url('http://benriyamaru.com/rs/wp-content/uploads/sites/2/2025/03/段落テキスト.png'); /* A画像 */
  background-size: contain;
  background-repeat: no-repeat;
}

/*CF7のコードは以下*/
.vehicle-options {
  display: flex;
  justify-content: space-between;
  padding: 0px 0;
}

.vehicle-options .vehicle-set {
  flex: 0 0 33.3333%;
  box-sizing: border-box;
  text-align: center;
  margin: 0 !important;
  padding: 0 5px;
	line-height: 1.2em;
    --widgets-spacing-row: 0px;
}

.vehicle-options .vehicle-img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 0px !important;
  border: none;
  border-radius: 0px;
}

.vehicle-options input[type="radio"] {
  margin-bottom: 3px;
  transform: scale(1.3);
}

.vehicle-options .vehicle-label {
  display: block;
  font-weight: bold;
  font-size: 12px;
  line-height: 2em;
  margin: 0;
}

.form-label_syasyu{
    margin: 0px !important;
}

.vehicle-img{
	margin: 0px;
  padding: 0 3px;
}

.wpcf7 input[type=checkbox], .wpcf7 input[type=radio]{
	margin: -10px 4px 0 0;
}

.required-mark {
  color: red;
  font-weight: bold;
  margin-left: 5px;
  font-size: 1.1em;
}

.form-title{
	margin: 30px 0 0px!important;
}

select{
	  appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='30,50 70,90 110,50' fill='none' stroke='black' stroke-width='15'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 16px;
}

.submit-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.custom-submit {
  background-color: #004AAD;
  color: #fff;
  font-size: 2em;
  font-weight: bold;
  padding: 15px 25px;
  border: none;
  border-radius: 60px;
  cursor: pointer;
  line-height: 15px;
  width: 100%;
  text-align: center;
  transition: 0.3s;
}

.custom-submit:hover {
  background-color: #003080;
}

.custom-submit .line1 {
  display: block;
  font-size: 0.6em;
  margin-top: 10px;
}

.custom-submit .line2 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5em !important;
  padding-bottom: 10px;
}

.custom-submit .icon svg {
  vertical-align: middle;
  fill: #fff !important;
  width: 0.6em;
  height: 0.6em;
}

.custom-submit .icon svg path {
  fill: #fff !important;
}

.price-row {
  display: flex !important;
  align-items: baseline !important;
  gap: 0.25em !important;
}

.price-row h3,
.price-row h6 {
  margin: 0 !important;
}


/* フローティング光 */
.shine-effect {
  overflow: hidden;
}

.shine-effect::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(0deg);
  animation: shineMove 3s ease-in-out infinite;
}

@keyframes shineMove {
  0% {
    transform: translateX(-100%) rotate(25deg);
  }
  100% {
    transform: translateX(100%) rotate(25deg);
  }
}

/* 見積もりフォーム用*/

/* --- 共通ステップスタイル --- */
.cf7-step-form .step-group {
  margin: 3px 0 3px;
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}
.cf7-step-form .step-heading {
  font-size: 18px;
  margin-top: 24px;
  margin-bottom: 3px;
}
.cf7-step-form .note {
  font-size: 12px;
  color: #666;
}
.step-heading.heading-disabled {
  opacity: 0.4;
  pointer-events: none;
}
.section-disabled {
  pointer-events: none;
  opacity: 0.3;
}
.blink {
  animation: blinkAnim 1s infinite;
}
@keyframes blinkAnim {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* --- ボタン全体（車種選択） --- */
.vehicle-layout-wrapper {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 5px; /* 隙間小さめに */
  height: 80px;
}

/* 自動車ボタン */
.auto-option {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border: 2px solid #004aad;
  border-radius: 12px;
  transition: all 0.3s;
  cursor: pointer;
  min-width: 180px;
  width: 100%;
  box-sizing: border-box;
}
.auto-option .icon-svg {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.auto-option .icon-svg svg {
  height: 32px;
  max-width: 90%;
  fill: #004aad;
  overflow: visible;
  box-sizing: content-box;
}
.auto-option .label-text {
  font-weight: bold;
  color: #004aad;
  margin-top: 4px;
}

/* バイク・大型：縦2つ */
.bike-large-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 5px;
  width: 100%;
}
.bike-large-wrapper .vehicle-option.horizontal {
  flex: 1;
  height: calc(50% - 2.5px); /* gap 5px の半分 */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 5px 10px;
  background-color: #fff;
  border: 2px solid #004aad;
  border-radius: 12px;
  transition: all 0.3s;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
}
.bike-large-wrapper .icon-svg {
  display: flex;
  align-items: center;
  justify-content: center;
}
.bike-large-wrapper .icon-svg svg {
  height: 24px;
  max-width: 90%;
  fill: #004aad;
  overflow: visible;
  box-sizing: content-box;
}
.bike-large-wrapper .label-text {
  font-weight: bold;
  color: #004aad;
}

/* 選択状態（共通） */
.vehicle-option.selected,
.bike-large-wrapper .vehicle-option.horizontal.selected {
  background-color: #004aad !important;
  color: #fff;
}
.vehicle-option.selected svg path {
  fill: #fff;
}
.vehicle-option.selected .label-text {
  color: #fff;
}

/* --- ② トラブルボタン2列固定 --- */
#trouble-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 3px;
  gap: 5px;
  width: 100%;
}
.trouble-option {
  padding: 12px 15px;
  border: 2px solid #004aad;
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: #fff;
  color: #004aad;
  font-weight: bold;
  box-sizing: border-box;
}
.trouble-option.selected {
  background-color: #004aad;
  color: #fff;
}

/* モバイルでも2列維持 */
@media (max-width: 768px) {
  .vehicle-layout-wrapper {
    flex-direction: row;
    flex-wrap: nowrap;
  }
  #trouble-section {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- ③ 電話番号入力欄をボタン風に --- */
#phone-section{
	padding:3px;
}

#phone-section input[type="tel"] ,
#name-section input[type="text"],
#number-section input[type="text"],
#model-section input[type="text"]
{
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #004aad;
  border-radius: 10px;
  background-color: #fff;
  color: #004aad;
  font-size: 16px;
  box-sizing: border-box;
  transition: all 0.3s;
}
#phone-section input[type="tel"]::placeholder {
  color: #999;
  font-size: 14px;
}
#phone-section .note {
  margin-top: 3px; /* 注意文との距離を短めに */
  font-size: 12px;
  color: #666;
}
/* 送信ボタン本体 */
.custom-submit {
  background-color: #004aad;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 2vw;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  opacity: 1;
}

/* 非アクティブ状態（ラッパーに .section-disabled が付く） */
.section-disabled .custom-submit{
  opacity: .4;
  pointer-events: none;
}

/* 光る効果（常時ループアニメ） */
.custom-submit::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.3), rgba(255,255,255,0));
  transform: skewX(-25deg);
  animation: shine-loop 2s linear infinite; /* ← 常にループ */
}

@keyframes shine-loop {
  0% { left: -75%; }
  100% { left: 125%; }
}

.phone-error-message {
  color: red;
  font-size: 12px;
  margin-top: 3px;
  display: none;
}

/* ---- 無効化されたトラブルボタン ---- */
.trouble-option.disabled{
  opacity:.35;
  pointer-events:none;
  user-select:none;
}

#confirm-location-btn {
  background-color: #004aad;
  color: white;
  border: none;
  border-radius: 20px; /* 丸みを追加 */
  padding: 10px 20px;
  font-weight: bold;
  cursor: pointer;
  float: right; /* 右寄せ */
  margin-top: 10px;
  transition: background 0.3s ease;
}
#confirm-location-btn:hover {
  background-color: #003080;
}
/* 現在地を決定ボタン（カスタムデザイン） */
.custom-location-button {
  background-color: #004aad;
  color: white;
  border: none;
  border-radius: 20px;
  padding: 10px 20px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}
.custom-location-button:hover {
  background-color: #003080;
}



/* 見積もりフォーム用終わり */

/* フローティング用 */

@media (max-width: 767px) {
  /* スマホ用：バナーを画面下に固定 */
  .elementor-355 .elementor-element.elementor-element-718658e {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    overflow: hidden;
    margin: 0 auto;

    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important; /* ←★ここを追加！ */
    z-index: 9999;

    --width: auto !important;

    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.4s ease-out, opacity 0.4s ease-out;
    pointer-events: none;
  }

  /* 表示状態（.showクラスが付与された時） */
  .elementor-355 .elementor-element.elementor-element-718658e.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .elementor-355 .elementor-element.elementor-element-0312c36 {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    box-sizing: border-box;
  }

  .elementor-355 .elementor-element.elementor-element-55b6b25 {
    width: 100% !important;
    padding: 0 10px;
    box-sizing: border-box;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
  }
}
/* フローティング用おわり */

/* 横スクロール全体防止 */
html,body {
  overflow-x: hidden !important;
}
/* 横スクロール全体防止おわり */


/* ショートコードgap調整 
   コンテナ本体の余白をリセット */
.elementor-element-5abc759 {
  padding: 0 !important;
  margin: 0 !important;
  gap: 0 !important;
}

/* 内部構造（.e-con-inner）に対して高さとpaddingを完全に排除 */
.elementor-element-5abc759 > .e-con-inner {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  height: 0 !important;
  gap: 0 !important;
  row-gap: 0 !important;
  column-gap: 0 !important;
}

/* ショートコードgap調整終わり */

/* ★クリック指ここから */

/* 初期状態：非表示 */
.attention-hint {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.3s ease;
}

/* 表示時：ボヨンと出現 */
.attention-hint.bounce {
  opacity: 1;
  animation: bounceIn 0.6s ease;
}

/* 1秒後：フェードアウト */
.attention-hint.fadeout {
  opacity: 0 !important;
  pointer-events: none;
}

/* ボヨン（バウンス）効果 */
@keyframes bounceIn {
  0% { transform: scale(0.8); opacity: 0; }
  50% { transform: scale(1.15); opacity: 1; }
  70% { transform: scale(0.95); }
  100% { transform: scale(1); }
}

/* ★クリック指おわり */

/* ★ローディング画面生成 */

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #FFD145;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.loading-line {
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.5;
	color: #000;
  text-align: center;
}

.fade-char {
  display: inline-block;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.fade-char.out {
  opacity: 0;
  transform: translateY(20px);  /* ← 下に20px落ちる */
}

/* ★ローディング画面生成おわり */

/* ★ポップアップサイズ調整 */
/* ★★popmake-3024サイズ設定 */
/* デスクトップとタブレット向け */
@media (min-width: 768px) {
  #popmake-3024 {
    width: 480px !important;
  }
}
/* スマホ向け */
@media (max-width: 767px) {
  #popmake-3024 {
    width: 95% !important;
  }
}

/* ★ポップアップ終わり */
/* ★チャットフォームここから */
#chat-wrapper {
  font-family: "Helvetica Neue", sans-serif;
  max-width: 400px;
  height: 500px;
  margin: 0 auto;
  background: #7193C1;
  border-radius: 10px;
  overflow-y: auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
}

.chat-step { display: none; }

.chat-bubble {
  max-width: 80%;
  margin-bottom: 10px;
  line-height: 1.4;
  word-break: break-word;
  position: relative;
  display: inline-block;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  border-radius: 10px;
  padding: 10px !important;
  box-sizing: border-box;
}

.bot {
  align-self: flex-start;
  background: #ffffff;
  color: #000000;
  border-radius: 10px;
  margin-left: 40px;
  position: relative;
  padding: 10px !important;
  box-sizing: border-box;
}

.bot::before {
  content: "";
  background-image: url('https://benriyamaru.com/rs/wp-content/uploads/sites/2/2025/05/%E8%A6%8B%E5%87%BA%E3%81%97.svg');
  background-size: cover;
  background-repeat: no-repeat;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: -40px;
}

.bot::after {
  content: "";
  position: absolute;
  top: 12px;
  left: -7px;
  width: 0;
  height: 0;
  border-top: 2px solid transparent;
  border-right: 8px solid #ffffff;
  border-bottom: 6px solid transparent;
}

.user {
  align-self: flex-end;
  background: #9eea6a;
  color: #000000;
  border-radius: 10px;
  position: relative;
  padding: 10px !important;
  box-sizing: border-box;
}

.user::after {
  content: "";
  position: absolute;
  top: 12px;
  right: -8px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-left: 8px solid #9eea6a;
  border-bottom: 8px solid transparent;
}

button.answer,
button.next-btn {
  background-color: #00c300;
  color: #ffffff;
  border: none;
  padding: 14px 20px;
  border-radius: 20px;
  margin: 10px 5px 10px;
  cursor: pointer;
  font-size: 16px;
  /* 右寄せ：flexではないのでmargin-left:autoを使用 */
  display: block;
  margin-left: auto;
}
/* ★チャットフォームここまで */