@charset "UTF-8";

/*
Theme Name: Astra Child
Template: astra
Version: 1.0
*/

/* デフォルト（PC）では表示 */
.disp__pc {
  display: block;
}
.disp__sp {
  display: none;
}

/* スマホでは非表示にする */
@media screen and (max-width: 640px) {
  .disp__pc {
    display: none;
  }
  .disp__sp {
    display: block;
  }
}

/* ヘッダー固定 */
.ast-header-break-point .main-header-bar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: #fff;
}

/* ==================================================
   スマホ時専用 (640px以下)
================================================== */

@media screen and (max-width: 640px) {

  /* =======================
   スマホナビ
  ======================= */
  .ast-container, 
  .site-header-below-section-left,
  .ast-below-header-bar,
  .ast-below-header-wrap,
  .ast-builder-grid-row,
  .header-widget-area {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box;
  }

  .ast-builder-grid-row {
    display: block !important; /* ← flex を解除 */
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .site-header-below-section-left {
    width: 100% !important;
  }

  /* スマホ用ナビ以外を非表示 */
  .site-header-below-section-right:not(.ast-mobile-menu-buttons) {
    display: none !important;
  }

  .ast-below-header-bar {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .ast-below-header-wrap {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 10000;
    background-color: #f8f6f0;
    padding: 0;
    margin: 0;
    max-width: 100% !important;
    width: 100% !important;
  }

  .ast-container {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 16px !important;  /* ← 左右に16pxの余白を追加 */
    box-sizing: border-box;
  }

  /* =======================
   スマホナビメニュー
  ======================= */
  .sp-nav {
    display: flex;
    justify-content: space-between;
    gap: 4px;
    width: 100%;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    box-sizing: border-box;
  }

  .sp-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 12px;
    text-decoration: none;
    padding: 5px 0;
    box-sizing: border-box;
  }

  .sp-nav-item svg {
    display: block;
    margin: 0 auto 5px;
    width: 24px;
    height: 24px;
  }

  .sp-nav-item svg path {
    fill: #7ba800;
  }

  /* 吹き出しだけ stroke 表示 */
  .sp-nav-item:nth-child(2) svg path {
    fill: none;
    stroke: #7ba800;
    stroke-width: 2;
  }

  /* 交互背景色 */
  .sp-nav-item:nth-child(odd) {
    background-color: #e6f4ff;
  }

  .sp-nav-item:nth-child(even) {
    background-color: #fff9e6;
  }

  /* =======================
   オフキャンバスメニュー
  ======================= */
  .ast-mobile-header-content {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    z-index: 11000;
    background: #fff;
    display: none;
  }

  /* メニュー開状態で表示する */
  body.ast-main-header-nav-open .ast-mobile-header-content {
    display: block;
  }

  /* オフキャンバストリガー配置（ロゴと同列右側） */
  .ast-builder-layout-element[data-section="section-header-mobile-trigger"] {
    position: absolute;
    top: 0;
    right: 0;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 10px;
    z-index: 12000;
  }

  /* トリガーを配置する親ヘッダーを relative に */
  .main-header-bar {
    position: relative;
  }

  /* オフキャンバストリガーボタン（三）デザイン調整 */
  .ast-header-break-point .main-header-bar .ast-mobile-menu-trigger-minimal {
    display: block;
    background: none;
    border: none;
    padding: 8px;
    font-size: 24px;
    color: #333;
  }

  /* =======================
   ヘッダーの上部バッジ
  ======================= */
  .phone-header-area-badge {
    position: absolute;
    top: -20px;
    left: calc(50% + 70px); /* 右に10px寄せる */
    transform: translateX(-50%);
    background-color: #b36e00;
    width: 140px;
    height: 60px;
    border-radius: 0 0 60px 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  }

.phone-header-area-text {
  color: #fff;
  font-size: 12px;
  text-align: center;
  line-height: 1.4;
  padding-top: 12px; /* ← ここを追加 */
}

  /* =======================
   コンテンツ開始位置調整
  ======================= */
  .site-content, /* メインコンテンツを包むセレクター（適宜調整してください） */
  .content-area, 
  .ast-container {
    margin-top: 120px;  /* ← 60px のヘッダー + スマホナビの高さ (約60px) を確保 */
  }

  /* スマホナビの遷移先の調整 */
  [id]::before {
  content: "";
  display: block;
  height: 120px; /* ヘッダーの高さ */
  margin-top: -120px;
  visibility: hidden;
}

  /* =======================
   フッターCTA
  ======================= */
  .fixed-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: none;
  z-index: 9999;
}

.cta-left,
.cta-right {
  flex: 1;
  padding: 10px;
  color: #fff;
  text-align: center;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.4;
}

/* 左側 */
.cta-left {
  background: linear-gradient(to bottom, #e8e3d1, #e8e3d1);
  color: #5b4e3b;
  border-radius: 30px 30px 0 0;
  border-right: 5px solid #fff;
}

.cta-left-top-text {
  font-size: 11px;
}

.cta-left-bottom-text {
  font-size: 18px;
  font-weight: bold;
}

/* 右側 */
.cta-right {
  background: #89b130;
  color: #fff;
  border-radius: 30px 30px 0 0;;
}

.cta-right-top-text {
  font-size: 11px;
}

.cta-right-bottom-text {
  font-size: 18px;
  font-weight: bold;
}

  /* =======================
   Back to Top ボタン位置調整
  ======================= */
  #ast-scroll-top {
      bottom: 70px !important;
  }

}

/* ==================================================
   全体装飾CSS
================================================== */

/* =======================
  見出し装飾
======================= */
h2.highlight-heading-green {
  background-color: #7ba800;  /* 緑系の背景色（画像に近い色） */
  color: white;;               /* 白抜きの文字 */
  text-align: center;         /* 中央揃え */
  padding: 5px 10px;         /* 上下左右の余白 */
  font-size: 1.0em;           /* 少し大きめの文字 */
  border-top-right-radius: 5px;         /* 角を少し丸く */
  border-top-left-radius: 5px;         /* 角を少し丸く */
  margin-top: 20px;             /* 上との間隔 */
  margin-bottom: 10px;             /* 下との間隔 */
}

h3.highlight-heading-green {
  background-color: #7ba800;  /* 緑系の背景色（画像に近い色） */
  color: white;;               /* 白抜きの文字 */
  text-align: center;         /* 中央揃え */
  padding: 5px 10px;         /* 上下左右の余白 */
  font-size: 1.0em;           /* 少し大きめの文字 */
  border-top-right-radius: 5px;         /* 角を少し丸く */
  border-top-left-radius: 5px;         /* 角を少し丸く */
  margin-top: 20px;             /* 上との間隔 */
  margin-bottom: 10px;             /* 下との間隔 */
}

h4.highlight-heading-green {
  background-color: #7ba800;  /* 緑系の背景色（画像に近い色） */
  color: white;;               /* 白抜きの文字 */
  text-align: center;         /* 中央揃え */
  padding: 5px 10px;         /* 上下左右の余白 */
  font-size: 1.0em;           /* 少し大きめの文字 */
  border-top-right-radius: 5px;         /* 角を少し丸く */
  border-top-left-radius: 5px;         /* 角を少し丸く */
  margin-top: 20px;             /* 上との間隔 */
  margin-bottom: 10px;             /* 下との間隔 */
}

/* =======================
  pタグマージンの削除
======================= */
.entry-content p {
 	 margin-bottom: 0;
}

/* =======================
  色
======================= */
.red{
  color: #e60033;
}

/* =======================
  文字装飾
======================= */
.bold{
  font-weight: bold;
}

.line-through{
  text-decoration: line-through;
}

/* =======================
  文字サイズ
======================= */
.small {
  font-size: 0.9em;
}

/* ==================================================
   FV装飾 CSS
================================================== */

/* FV用 */
.fv-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background-color: #fff7e6;
  padding: 0px;
  padding-right: 0;
  padding-left: 0;
  gap: 0px;
  flex-wrap: nowrap; /* ← wrap を解除して常に横並びに */
}

/* FV左側文字列 */
.fv-text {
  flex: 1;
  min-width: 0;
}

.fv-heading {
  display: block;
  font-size: clamp(14px);  /* 画面幅に応じて自動調整 */
  line-height: 1.2;                   /* 行間調整（お好みで変更） */
  white-space: normal;                /* 自然な改行 */
  text-align: center;                 /* 中央寄せ（任意） */
}

/* エアコン取り付け部分は改行させない */
.fv-heading .no-wrap {
  white-space: nowrap;
}

/* 2行以上になる場合に縮小する */
.fv-heading {
  max-height: calc(1.2em * 2);  /* 行間 × 行数 */
  overflow: hidden;
}

.fv-lead{
  border-top: 1px dashed #333;  /* 上に破線 */
  border-bottom: 1px dashed #333;  /* 下に破線 */
  padding: 8px 0;  /* 文字と線の間に余白 */
  margin: 0px 0;  /* 外側の余白 */
}

/* FV右側画像 */
.fv-image {
  flex: 1;
  min-width: 0;
  position: relative;
  text-align: center;
  padding-right: 0;
  margin-right: 0;
}


.worker-image {
  margin-top: 100px;
  width: 100%;
  max-width: none;
  height: auto;
  display: block;
}


/* 満足度バッジ */
.manzokudo-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 100px;
  height: 100px;
  background-color: white;
  border: 4px solid #f7c552;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: bold;
  font-size: 0.7rem;
  padding: 4px;  /* ← 余白をやや縮小 */
  line-height: 1.1;  /* ← 行間を詰める */
}

.manzokudo-icon {
  font-size: 1.2rem;
  margin-bottom: 1px; /* ← 下余白を縮小 */
}

.manzokudo-text {
  margin-bottom: 1px; /* ← スコアとの隙間を縮める */
}

.manzokudo-score {
  font-size: 1.8rem;
  color: #e60033;
}

.manzokudo-stars {
  font-size: 0.7rem;
  color: #DD9933;
  margin-top: 1px; /* ← 上余白を縮める */
}

/* FV下部のバッジと文字列 */
.fv-bottom {
  display: flex;
  justify-content: flex-start; /* 左寄せ */
  align-items: center;
  gap: 0px; /* 間隔調整 */
}

/* 3つ並ぶバッジ */
.fv-badges {
  display: flex;
  gap: 0px;
  flex-shrink: 0;
  max-width: 150px; /* 例：バッジ3個＋隙間分の幅 */
  justify-content: flex-start; /* ← 左寄せ */
}

.badge {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: #333;
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.1;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: pre-line;
  margin-right: 5px;
  flex-shrink: 0;
  box-sizing: border-box;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
}

/* バッジ右の文字列 */
.fv-bottom-text {
  font-size: 0.85rem;
  background: #fff;
  padding: 0px;
  border-radius: 5px;
  flex-grow: 0; /* 必要なら解除 */
  min-width: auto;
  margin-left: 20px; /* ← ここで調整 */
}

/* CTAボタン */
.cta-wrapper {
  text-align: center;
  margin: 20px 0;
}

.cta-button {
  background-color: #e60012; /* 赤系 */
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
  padding: 16px 24px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.cta-button:hover {
  background-color: #cc0010;
  transform: scale(1.03);
}

/* こんなことで困っていませんか？ */
h3.ly_point {
  background-color: #7ba800;  /* 緑系の背景色（画像に近い色） */
  color: white;;               /* 白抜きの文字 */
  text-align: center;         /* 中央揃え */
  padding: 5px 10px;         /* 上下左右の余白 */
  font-size: 1.0em;           /* 少し大きめの文字 */
  border-top-right-radius: 5px;         /* 角を少し丸く */
  border-top-left-radius: 5px;         /* 角を少し丸く */
  margin-top: 20px;             /* 上との間隔 */
  margin-bottom: 0px;             /* 下との間隔 */
}

.bl_pont_box{
	display:flex;
	justify-content: space-between;
	border:solid 2px #83AD4B;
	width:100%;
	margin: 0 auto;
}

.bl_pont_box > .bl_pont_box__list{
	width: 100%;
	border-right:solid 2px #83AD4B;
}

.bl_pont_box > .bl_pont_box__list-bkY{
	/*background:#FDF2D8;*/
}

.bl_pont_box > .bl_pont_box__list:last-child{
	border-right:solid 0px #83AD4B;
}

.bl_pont_box > div{
	text-align:center;
}

.bl_pont_box > .bl_pont_box__list p{
	margin: 0 0 0 0;
	padding: 5px 5px;
	letter-spacing:0;
	font-size: 2.5vw;
	line-height: 1.5rem;
	text-align:center;
}

/* ==================================================
   CTA電話ボックス
================================================== */

.phone-cta-wrapper {
  text-align: center;
  margin: 40px 0;
}

.phone-cta-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.phone-cta {
  display: inline-block;
  border: 3px solid #e65c5c;
  border-radius: 8px;
  background-color: #fff8dc;
  padding: 0;
  width: 100%;
  max-width: 500px;
  box-sizing: border-box;
  position: relative;
  overflow: visible;
}

.phone-cta-header {
  background-color: #f45c5c;
  color: white;
  font-weight: bold;
  font-size: 20px;
  padding: 10px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.phone-cta-body {
  padding: 5px;
}

.phone-cta-body p {
  margin: 8px 0;
  font-size: 16px;
  color: #333;
}

.phone-cta-body p span {
  font-weight: bold;
  font-size: 26px;
}

.phone-cta-body p .highlight {
  color: #d93737;
  font-weight: bold;
  font-size: 26px;
}

.phone-cta-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 10px 0;
  flex-wrap: nowrap;
}

.phone-cta-badge-white {
  background: #ffffff;
  color: #333;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: bold;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  min-width: 80px;
  text-align: center;
  font-size: 14px;
  white-space: nowrap;
}

.phone-cta-body .phone-cta-number {
  font-size: 32px;
  font-weight: bold;
  color: #e65c5c;
  margin: 5px 0;
}

.phone-cta-button-wrap {
  display: flex;
  justify-content: center;
  margin-top: 0px;
  position: relative;
}

.phone-cta-button {
  background-color: #d9534f;
  color: white;
  font-weight: bold;
  padding: 10px 16px;
  font-size: 16px;
  border-radius: 8px;
  text-align: center;
  white-space: nowrap;
  display: inline-block;
  max-width: 100%;
  width: auto; /* ← 横幅を文字に合わせる */
}

.phone-cta-button-wrap::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 16px;
  height: 16px;
  background-color: #d9534f;
  z-index: 1;
}

/* ==================================================
   FAQアコーディオン
================================================== */
.faq-section {
  width: 100%;
  max-width: 600px;
  margin: auto;
  font-family: sans-serif;
}

.faq-item {
  border-bottom: 1px solid #ccc;
}

.faq-question::before {
  content: "Q";
  background: #007b8f;
  color: white;
  font-weight: bold;
  border-radius: 50%;
  padding: 2px 6px;
  margin-right: 8px;
}

.faq-question {
  width: 100%;
  text-align: left;
  background-color: #009999;
  color: white;
  font-size: 16px;
  padding: 16px;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #007777;
}

.faq-answer::before {
  content: "A ";
  font-weight: bold;
  color: #d8000c;
  display: inline; /* ← ここがポイント */
  margin-right: 4px;
}

.faq-answer {
  background-color: #f9f9f9;
  color: #333;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer.open {
  max-height: 500px; /* 必要に応じて調整。大きめにしておくと良い */
}