/* =========================================================
   index.css (help/* 幫助ページ用)
   お知らせ詳細(css/info_news.css)のカードデザインを踏襲。
   HTML構造(#faq_pageWrap / #catch / #Q_A dl,dt,dd)は既存のまま、
   スタイルのみお知らせテイストに統一。
   dt クリックで dd 開閉(js/index.js の slideToggle)は従来どおり。
   ========================================================= */

* { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 62.5%; }

body {
  background: #d7ecf6; /* info_news と同じ水色トーン */
  font-family: 'Hiragino Kaku Gothic ProN', 'Yu Gothic', YuGothic, Meiryo, sans-serif;
  color: #222;
  padding: 16px 12px 32px;
  -webkit-text-size-adjust: 100%;
}

.cf { zoom: 1; }
.cf:before, .cf:after { content: ""; display: table; }
.cf:after { clear: both; }

/* ページ全体をカード幅に */
#faq_pageWrap,
#pageWrap {
  max-width: 820px;
  margin: 0 auto;
}

/* ---- 上段: ページ見出し(濃紺ヘッダ) ---- */
#catch #top_imgWrap { display: none; }
#catch #top_catchWrap {
  background: #055891;
  border-radius: 14px 14px 0 0;
  padding: 20px 20px 16px;
  color: #fff;
  text-align: left;
  height: auto;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
#catch #top_catchWrap h3 {
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.5;
}
#catch #top_catchWrap p {
  margin-top: 6px;
  font-size: 1.2rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

/* ---- Q&A 本体: 白カード ---- */
#Q_A {
  background: #f4fcff;
  border-radius: 0 0 14px 14px;
  padding: 10px 14px 18px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
/* TOP(index)のようにcatchが無いページはQ_A単体で角丸に */
#faq_pageWrap > #Q_A:first-child,
#faq_pageWrap > section#Q_A:only-child { border-radius: 14px; }

#Q_A dl {
  border-bottom: 1px solid #d5e6ee;
}
#Q_A dl:last-of-type { border-bottom: none; }

/* 質問行(タップで開閉) / TOPのリンク行 */
#Q_A dt {
  position: relative;
  padding: 14px 34px 14px 6px;
  cursor: pointer;
}
#Q_A dt h6 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.6;
}
/* 開閉インジケータ(▾) */
#Q_A dt::after {
  content: "▾";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #055891;
  font-size: 1.4rem;
}
/* リンク行(TOP一覧・返回TOP)は ▸ に */
#Q_A a dt { cursor: pointer; }
#Q_A a dt::after { content: "▸"; }
#Q_A a { text-decoration: none; }
#Q_A a dt h6 { color: #055891; }

/* 回答(本文) */
#Q_A dd {
  background: #e7eff2;
  border-radius: 8px;
  margin: 0 0 12px;
  padding: 12px 14px;
  font-size: 1.25rem;
  line-height: 1.9;
  color: #222;
  word-break: break-word;
}
#Q_A dd img { max-width: 100%; height: auto; }
#Q_A dd a { color: #1c7cc0; }

#Q_A span { display: none; } /* 旧デザインの装飾用spanは非表示 */

/* 旧デザインの黒背景系クラスの無効化 */
.kenta { background-color: transparent !important; }

@media (max-width: 480px) {
  body { padding: 12px 10px 28px; }
  #catch #top_catchWrap { border-radius: 12px 12px 0 0; }
  #Q_A { border-radius: 0 0 12px 12px; }
  #catch #top_catchWrap h3 { font-size: 1.7rem; }
}
