/*
Theme Name: STハウス Astra子テーマ
Theme URI: https://example.com/st-house-astra-child/
Template: astra
Author: ST House
Description: AstraテーマにSTハウスのフッターを組み込んだ子テーマ。フッターのテキスト・LINE URL・QR画像・コピーライトはWordPress管理画面のカスタマイザーから編集できます。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: st-house-astra-child
*/

/* ============================================================
   STハウス フッター（Astra子テーマ用）
   親テーマ Astra に追加で読み込まれるスタイル
   ============================================================ */

:root {
  --sthouse-green: #1f6f4a;
  --sthouse-green-dark: #123d2a;
  --sthouse-accent: #d9a441;
  --sthouse-line: #06c755;
  --sthouse-shadow: 0 18px 50px rgba(15, 23, 42, .10);
}

/* ボタン（フッター内 LINE ボタン用、Astraのボタンと衝突しないよう .site-footer 配下に限定） */
.site-footer .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  transition: .2s ease;
}

.site-footer .btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--sthouse-shadow);
}

.site-footer .btn.line {
  background: var(--sthouse-line);
  color: #fff;
}

/* フッター本体 */
.site-footer {
  background: var(--sthouse-green-dark);
  color: #fff;
  padding: 56px 22px 26px;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer .footer-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.site-footer .footer-line-box {
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 30px;
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.site-footer .footer-label {
  color: #bbf7d0;
  font-weight: 900;
  margin: 0 0 6px;
}

.site-footer .footer-line-box h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.35;
  color: #fff;
}

.site-footer .footer-line-box p {
  color: rgba(255, 255, 255, .80);
  line-height: 1.8;
}

.site-footer .footer-actions {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.site-footer .qr-sample {
  width: 124px;
  height: 124px;
  border-radius: 18px;
  background: #fff;
  color: var(--sthouse-green-dark);
  display: grid;
  place-items: center;
  font-weight: 900;
  overflow: hidden;
}

.site-footer .qr-sample img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-footer .footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
  color: rgba(255, 255, 255, .86);
}

.site-footer .footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer .copy {
  color: rgba(255, 255, 255, .55);
  font-size: 13px;
  margin-top: 22px;
}

@media (max-width: 920px) {
  .site-footer .footer-line-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-footer .footer-line-box {
    padding: 24px;
  }
}
