@charset "UTF-8";
/* ============================================================
   faq.css（よくある質問ページ）
   ------------------------------------------------------------
   【目的】
   - FAQページ専用スタイル
   - about.php と同じ世界観（ランドネ寄せ）
   - tree_cutout.png を装飾に使用
   ------------------------------------------------------------
   【前提】
   - public/assets/css/faq.css
   - tree画像: public/assets/images/tree_cutout.png
   ------------------------------------------------------------
   【5か条チェック】
   1) インラインCSS禁止：OK（外部CSS）
   2) エラー露出なし：OK（CSSのみ）
   3) JS依存なし：OK
   4) 役割コメント明記：OK
   5) 原則全文差し替え：OK
   ============================================================ */

:root{
  --faq-green: #2e6b4f;
  --faq-ink: rgba(31, 43, 38, 0.82);
  --faq-muted: rgba(31, 43, 38, 0.75);
  --faq-line: rgba(31, 43, 38, 0.12);

  --faq-card-top: rgba(255, 255, 255, 0.92);
  --faq-card-bot: rgba(255, 255, 255, 0.78);

  --faq-shadow: 0 14px 34px rgba(0, 0, 0, 0.06);
  --faq-cta-shadow: 0 16px 36px rgba(0, 0, 0, 0.06);

  /* tree_cutout.png は CSS からの相対参照（faq.css 基準） */
  --faq-tree-url: url("../images/tree_cutout.png");
}

/* =========================
   ページ見出し
   ========================= */
.page-head{
  max-width: 820px;
  margin: 0 auto 64px;
  text-align: center;
  position: relative;
}

/* 木アイコン（ページ上部） */
.page-head::before{
  content: "";
  display: block;
  width: 46px;
  height: 46px;
  margin: 0 auto 18px;

  background-image: var(--faq-tree-url);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;

  opacity: 0.85;
}

.page-head h1{
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.page-head .lead{
  font-size: 1.05rem;
  line-height: 2.0;
  color: var(--faq-muted);
}

/* =========================
   FAQリスト
   ========================= */
.faq-list{
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 36px;
}

/* =========================
   FAQアイテム
   ========================= */
.faq-item{
  position: relative;

  background: linear-gradient(180deg, var(--faq-card-top), var(--faq-card-bot));
  border: 1px solid var(--faq-line);
  border-radius: 22px;

  padding: 30px 30px 30px 72px; /* 左に余白（アイコン分） */
  box-shadow: var(--faq-shadow);
}

/* 各Qの左に木アイコン */
.faq-item::before{
  content: "";
  position: absolute;
  top: 28px;
  left: 24px;
  width: 32px;
  height: 32px;

  background-image: var(--faq-tree-url);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;

  opacity: 0.55;
}

.faq-q{
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--faq-green);
  margin-bottom: 14px;
}

.faq-a{
  font-size: 0.98rem;
  line-height: 2.05;
  color: var(--faq-ink);
}

.faq-a strong{
  font-weight: 700;
  color: rgba(31, 43, 38, 0.95);
}

/* =========================
   CTAエリア
   ========================= */
.faq-cta{
  max-width: 820px;
  margin: 84px auto 40px;
  padding: 36px 34px;
  text-align: center;

  border-radius: 26px;
  border: 1px solid rgba(46, 107, 79, 0.18);
  background: linear-gradient(
    135deg,
    rgba(46, 107, 79, 0.10),
    rgba(255, 255, 255, 0.70)
  );

  box-shadow: var(--faq-cta-shadow);
}

.faq-cta p{
  font-size: 1.02rem;
  line-height: 2.0;
  color: rgba(31, 43, 38, 0.8);
  margin-bottom: 26px;
}

.cta-buttons{
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.cta-buttons .btn{
  min-width: 180px;
}

/* =========================
   レスポンシブ
   ========================= */
@media (max-width: 768px){
  .page-head{
    margin-bottom: 48px;
  }

  .page-head::before{
    width: 38px;
    height: 38px;
    margin-bottom: 14px;
  }

  .faq-item{
    padding: 26px 22px 26px 60px;
  }

  .faq-item::before{
    top: 24px;
    left: 20px;
    width: 26px;
    height: 26px;
  }

  .faq-cta{
    margin-top: 64px;
    padding: 28px 22px;
  }
}
