/* 通貨別ページ専用スタイル(head.phpの$extraStylesheetsで読込) */
.currency-page { padding: 30px 0 40px; background: #f5f7fa; }
.currency-page .container { max-width: 900px; }
.currency-page h2 { color: #003d7a; font-size: 1.35rem; margin: 0 0 14px; }
.currency-lead { font-size: 1rem; line-height: 1.8; color: #444; margin: 0 0 24px; }

/* レートカード */
.currency-rate-card { background: #fff; border-radius: 15px; box-shadow: 0 2px 8px rgba(0,0,0,.07); padding: 22px 24px; margin-bottom: 28px; }
.currency-rate-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.currency-rate-head img { border-radius: 4px; }
.currency-rate-head h2 { margin: 0; }
.currency-rate-values { display: flex; gap: 18px; flex-wrap: wrap; }
.crv-item { flex: 1 1 180px; border-radius: 10px; padding: 14px 16px; background: #f5f8fc; text-align: center; }
.crv-label { display: block; font-size: .8rem; color: #666; margin-bottom: 6px; }
.crv-price { font-size: 1.9rem; font-weight: 700; }
.crv-buy .crv-price { color: #27ae60; }
.crv-sell .crv-price { color: #e74c3c; }
.crv-price small { font-size: .9rem; margin-left: 3px; color: #888; font-weight: 500; }
.currency-rate-note { margin: 12px 0 0; font-size: .8rem; color: #888; display: flex; gap: 14px; flex-wrap: wrap; }
.currency-rate-fallback { margin: 0; color: #555; }

/* 外貨のご購入の流れ(取り寄せ制の案内) */
.currency-order-note { background: #fff8ef; border-left: 4px solid #f59126; border-radius: 10px; padding: 16px 18px; margin-bottom: 28px; }
.currency-order-note h2 { font-size: 1.05rem; margin: 0 0 8px; }
.currency-order-note p { font-size: .92rem; line-height: 1.8; color: #555; margin: 0; }
.currency-order-note strong { color: #003d7a; }

/* 換算早見表 */
.currency-conversion { margin-bottom: 32px; }
.conversion-tables { display: flex; gap: 16px; flex-wrap: wrap; }
.conversion-table { flex: 1 1 260px; background: #fff; border-radius: 12px; box-shadow: 0 1px 5px rgba(0,0,0,.06); border-collapse: collapse; overflow: hidden; }
.conversion-table caption { background: #003d7a; color: #fff; font-size: .85rem; font-weight: 600; padding: 8px; }
.conversion-table td { padding: 9px 14px; border-top: 1px solid #eef2f6; font-size: .95rem; }
.conversion-table td:last-child { text-align: right; font-weight: 600; color: #003d7a; }
.conversion-note { margin: 10px 0 0; font-size: .78rem; color: #999; }

/* 基礎知識・コツ */
.currency-knowledge { margin-bottom: 32px; }
.currency-knowledge p { line-height: 1.9; color: #444; margin: 0 0 12px; }
.currency-tips { margin-bottom: 32px; }
.tips-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.tip-card { background: #fff; border-radius: 12px; box-shadow: 0 1px 5px rgba(0,0,0,.06); padding: 16px 18px; }
.tip-card h3 { font-size: 1rem; color: #f59126; margin: 0 0 8px; }
.tip-card p { font-size: .9rem; line-height: 1.7; color: #555; margin: 0; }

/* FAQ */
.currency-faq { margin-bottom: 32px; }
.currency-faq .faq-item { background: #fff; border-radius: 12px; box-shadow: 0 1px 5px rgba(0,0,0,.06); padding: 16px 18px; margin-bottom: 10px; }
.currency-faq .faq-q { font-size: 1rem; color: #003d7a; margin: 0 0 8px; }
.currency-faq .faq-a { font-size: .92rem; line-height: 1.8; color: #555; margin: 0; }

/* アクセス一文 */
.currency-access { font-size: .95rem; line-height: 1.8; color: #444; margin: 0 0 32px; }
.currency-access a { color: #0053a5; font-weight: 600; }

/* 他通貨グリッド */
.currency-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; }
.currency-grid-item { display: flex; align-items: center; gap: 7px; background: #fff; border-radius: 9px; box-shadow: 0 1px 4px rgba(0,0,0,.06); padding: 8px 10px; text-decoration: none; color: #333; font-size: .85rem; font-weight: 600; }
.currency-grid-item img { border-radius: 3px; }
.currency-grid-item:hover { box-shadow: 0 2px 8px rgba(0,0,0,.12); }

@media (max-width: 768px) {
  .currency-page { padding: 22px 0 28px; }
  .crv-price { font-size: 1.6rem; }
  .currency-page h2 { font-size: 1.15rem; }
}
