/* ============================================================
   Sol Home – LINE CTA コンポーネント
   Prefix: sol-line-  /  sol-gfixed-
   ============================================================ */

/* ── セクション共通 ──────────────────────────────────────── */
.sol-line-cta {
  padding: 5rem 1.5rem;
  text-align: center;
}
.sol-line-cta__inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

/* ── ヘッダー ────────────────────────────────────────────── */
.sol-line-cta__eyebrow {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 0 0 .75rem;
  opacity: .72;
}
.sol-line-cta__title {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 .75rem;
}
.sol-line-cta__sub {
  font-size: .95rem;
  margin: 0;
  opacity: .8;
  line-height: 1.7;
}

/* ── ダーク variant（front-page・city-bottom） ─────────────── */
.sol-line-cta--dark {
  background: linear-gradient(160deg, #0d1f0d 0%, #162b16 60%, #0d1f0d 100%);
  color: #fff;
}
.sol-line-cta--dark .sol-line-cta__title strong { color: #ffb347; }

/* ── ライト variant（sekoujirei・city-mid） ────────────────── */
.sol-line-cta--light {
  background: linear-gradient(160deg, #f2f9f3 0%, #edf7ef 100%);
  color: #111;
  border-top: 1px solid rgba(15,95,48,.1);
  border-bottom: 1px solid rgba(15,95,48,.1);
}
.sol-line-cta--light .sol-line-cta__title strong { color: #ff7a00; }
.sol-line-cta--light .sol-line-cta__eyebrow { color: #0f5f30; opacity: 1; }

/* ── 4つの相談ボタン グリッド ───────────────────────────── */
.sol-line-intents {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  width: 100%;
  max-width: 680px;
}

.sol-line-intent {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .3rem;
  padding: 1.1rem 1.25rem;
  border-radius: 18px;
  text-decoration: none;
  transition: background .22s ease, border-color .22s ease, transform .22s ease;
  min-height: 88px;
  text-align: left;
}

/* ダーク背景用 */
.sol-line-cta--dark .sol-line-intent {
  background: rgba(255, 255, 255, .06);
  border: 1.5px solid rgba(255, 122, 0, .35);
  color: #fff;
}
.sol-line-cta--dark .sol-line-intent:hover {
  background: rgba(255, 122, 0, .18);
  border-color: rgba(255, 122, 0, .7);
  transform: translateY(-2px);
}

/* ライト背景用 */
.sol-line-cta--light .sol-line-intent {
  background: #fff;
  border: 1.5px solid rgba(255, 122, 0, .3);
  color: #111;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .06);
}
.sol-line-cta--light .sol-line-intent:hover {
  background: linear-gradient(135deg, #fff8ef, #fff3e4);
  border-color: rgba(255, 122, 0, .65);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 122, 0, .15);
}

.sol-line-intent__emoji {
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: .1rem;
}
.sol-line-intent__label {
  font-size: .92rem;
  font-weight: 800;
  line-height: 1.3;
}
.sol-line-intent__desc {
  font-size: .74rem;
  font-weight: 500;
  line-height: 1.4;
  opacity: .7;
}

/* ── フッター（メインボタン） ────────────────────────────── */
.sol-line-cta__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .85rem;
}
.sol-line-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: 1.1rem 2.6rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff7a00, #ff9c42);
  color: #fff;
  font-weight: 900;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 20px 50px rgba(255, 122, 0, .32);
  transition: transform .25s ease, box-shadow .25s ease;
  min-height: 60px;
}
.sol-line-cta__btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 64px rgba(255, 122, 0, .4);
  color: #fff;
}
.sol-line-cta__icon {
  width: 22px;
  height: 22px;
  fill: #fff;
  flex-shrink: 0;
}
.sol-line-cta__note {
  margin: 0;
  font-size: .8rem;
  opacity: .65;
  line-height: 1.5;
}

/* ── セクション内 インライン intent（単独挿入用） ─────────── */
.sol-line-intents--inline {
  max-width: 100%;
  margin: 1.5rem 0;
}


/* ============================================================
   グローバル固定 CTA バー（全ページ・スマホメイン）
   ============================================================ */
.sol-gfixed {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9980;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1rem;
  padding-bottom: max(.65rem, env(safe-area-inset-bottom, .65rem));
  background: rgba(13, 13, 13, .96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.sol-gfixed__chips {
  display: flex;
  gap: .4rem;
  flex-shrink: 0;
}

.sol-gfixed__chip {
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 .85rem;
  border-radius: 999px;
  background: rgba(255, 122, 0, .12);
  border: 1.5px solid rgba(255, 122, 0, .3);
  color: #fff;
  font-weight: 700;
  font-size: .75rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s ease;
  line-height: 1;
}
.sol-gfixed__chip:hover {
  background: rgba(255, 122, 0, .25);
  border-color: rgba(255, 122, 0, .5);
  color: #fff;
}

.sol-gfixed__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  height: 48px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff7a00, #ff9c42);
  color: #fff;
  font-weight: 900;
  font-size: .95rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(255, 122, 0, .35);
  transition: transform .22s ease, box-shadow .22s ease;
  white-space: nowrap;
}
.sol-gfixed__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(255, 122, 0, .45);
  color: #fff;
}
.sol-gfixed__btn-icon {
  width: 18px;
  height: 18px;
  fill: #fff;
  flex-shrink: 0;
}

/* スクロールで表示（初期は非表示） */
.sol-gfixed {
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
}
.sol-gfixed.is-visible {
  transform: translateY(0);
}

/* デスクトップではシンプル化 */
@media (min-width: 961px) {
  .sol-gfixed__chips { display: none; }
  .sol-gfixed { padding: .5rem 2rem; justify-content: center; }
  .sol-gfixed__btn { flex: none; min-width: 280px; }
}


/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 680px) {
  .sol-line-cta { padding: 3.5rem 1rem; }
  .sol-line-cta__inner { gap: 2rem; }
  .sol-line-intents { gap: .6rem; }
  .sol-line-intent { min-height: 76px; padding: .9rem 1rem; }
  .sol-line-intent__emoji { font-size: 1.3rem; }
  .sol-line-intent__label { font-size: .85rem; }
  .sol-line-cta__btn { font-size: 1rem; padding: 1rem 2rem; min-height: 56px; }
}

@media (max-width: 400px) {
  .sol-line-intents { grid-template-columns: 1fr; }
  .sol-line-intent { flex-direction: row; align-items: center; gap: .75rem; min-height: 60px; }
  .sol-line-intent__emoji { font-size: 1.6rem; flex-shrink: 0; }
}

/* 固定CTAバー（sol-gfixed）は停止中のため下部余白は不要
   再有効化する場合はコメントを外してください
body.has-sol-gfixed .l-main__inner {
  padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px));
}
body.has-sol-gfixed #footer {
  padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
}
*/

/* ── LINE CTAセクション内 電話ボタン ─────────────────────── */
.sol-line-cta__tel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .75rem 2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: .95rem;
  transition: background .22s ease, border-color .22s ease, transform .22s ease;
  min-height: 52px;
  border: 2px solid;
}

.sol-line-cta--dark .sol-line-cta__tel-btn {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .3);
  color: #fff;
}
.sol-line-cta--dark .sol-line-cta__tel-btn:hover {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .55);
  transform: translateY(-2px);
  color: #fff;
}

.sol-line-cta--light .sol-line-cta__tel-btn {
  background: #fff;
  border-color: rgba(15, 95, 48, .3);
  color: #0f5f30;
}
.sol-line-cta--light .sol-line-cta__tel-btn:hover {
  background: #f2f9f3;
  border-color: rgba(15, 95, 48, .55);
  transform: translateY(-2px);
  color: #0f5f30;
}

.sol-line-cta__tel-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: currentColor;
}

.sol-line-cta__tel-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.3;
}
.sol-line-cta__tel-inner small {
  font-size: .78rem;
  font-weight: 600;
  /* ★ opacity を解除 → color は親ボタンから継承して確実に見える */
  opacity: 1;
  color: inherit;
}
.sol-line-cta__tel-hours {
  font-size: .7rem !important;
  /* ★ opacity .65 → .85 に緩和（完全に薄くなり白飛びしないよう） */
  opacity: .85 !important;
  color: inherit !important;
}

@media (max-width: 680px) {
  .sol-line-cta__tel-btn { font-size: .88rem; padding: .65rem 1.5rem; }
}
