/* =====================================================================
 * 法務系・運営系固定ページ共通 CSS
 *   page-privacy.php / page-terms.php / page-contact.php
 *   page-about.php   / page-disclosure.php
 *   inc/anime-footer-links.php （フッターリンクブロック）
 * ===================================================================== */

.anime-legal-main { background: #f7f7f9; padding: 24px 0 48px; }

.anime-legal-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 28px 22px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
}

.anime-legal-header { margin-bottom: 24px; border-bottom: 1px solid #eee; padding-bottom: 16px; }
.anime-legal-title  { font-size: 1.6rem; font-weight: bold; margin: 0 0 6px; line-height: 1.4; }
.anime-legal-updated { font-size: .8rem; color: #888; margin: 0; }
.anime-legal-lead   { font-size: .92rem; color: #444; margin: 8px 0 0; line-height: 1.7; }

.anime-legal-body              { font-size: .94rem; color: #333; line-height: 1.8; }
.anime-legal-body h2           { font-size: 1.1rem; font-weight: bold; margin: 28px 0 10px;
                                 padding-left: 10px; border-left: 4px solid #0d6efd; }
.anime-legal-body h3           { font-size: 1rem; font-weight: bold; margin: 20px 0 8px; }
.anime-legal-body p            { margin: 0 0 12px; }
.anime-legal-body ul,
.anime-legal-body ol           { padding-left: 1.4em; margin: 0 0 14px; }
.anime-legal-body li           { margin-bottom: 4px; }
.anime-legal-body a            { color: #0d6efd; text-decoration: underline; }
.anime-legal-body a:hover      { text-decoration: none; }

.anime-legal-meta-table        { width: 100%; border-collapse: collapse; margin: 8px 0 18px; }
.anime-legal-meta-table th,
.anime-legal-meta-table td     { border: 1px solid #e5e7eb; padding: 8px 12px; text-align: left;
                                 font-size: .9rem; }
.anime-legal-meta-table th     { background: #f8f9fa; width: 30%; font-weight: 600; }

.anime-legal-note              { font-size: .82rem; color: #666; background: #f8f9fa;
                                 border-left: 3px solid #adb5bd; padding: 10px 14px;
                                 border-radius: 4px; margin: 10px 0 18px; line-height: 1.7; }

/* ─── お問い合わせフォーム ─────────────────────────────────────────── */
.anime-contact-container       { max-width: 720px; }

.anime-contact-flash           { padding: 12px 14px; border-radius: 8px; margin-bottom: 20px;
                                 font-size: .92rem; }
.anime-contact-flash--ok       { background: #d1e7dd; color: #0f5132; border: 1px solid #badbcc; }
.anime-contact-flash--ng       { background: #f8d7da; color: #842029; border: 1px solid #f5c2c7; }

.anime-contact-form            { display: flex; flex-direction: column; gap: 18px; margin-top: 8px; }
.anime-contact-row             { display: flex; flex-direction: column; gap: 6px; }
.anime-contact-row label       { font-size: .9rem; font-weight: 600; color: #333; }
.anime-contact-row .req        { display: inline-block; font-size: .7rem; color: #fff;
                                 background: #dc3545; border-radius: 3px; padding: 1px 6px;
                                 margin-left: 4px; vertical-align: 1px; font-weight: normal; }

.anime-contact-row input[type="text"],
.anime-contact-row input[type="email"],
.anime-contact-row select,
.anime-contact-row textarea    { width: 100%; padding: 10px 12px; font-size: .95rem;
                                 border: 1px solid #ced4da; border-radius: 6px;
                                 background: #fff; color: #222; box-sizing: border-box; }
.anime-contact-row textarea    { resize: vertical; min-height: 160px; line-height: 1.6; }
.anime-contact-row input:focus,
.anime-contact-row select:focus,
.anime-contact-row textarea:focus { outline: none; border-color: #0d6efd;
                                    box-shadow: 0 0 0 3px rgba(13,110,253,.15); }

.anime-contact-hint            { font-size: .78rem; color: #888; margin: 0; }

.anime-contact-agree label     { font-weight: normal; font-size: .9rem; color: #333; }
.anime-contact-agree input     { margin-right: 6px; }

.anime-contact-actions         { display: flex; justify-content: center; margin-top: 8px; }
.anime-contact-submit          { background: #0d6efd; color: #fff; border: 0; border-radius: 6px;
                                 font-size: 1rem; font-weight: 600; padding: 12px 36px;
                                 cursor: pointer; transition: background .15s; }
.anime-contact-submit:hover    { background: #0b5ed7; }

/* ハニーポット（人間には不可視・スクリーンリーダーにも遠ざける） */
.anime-contact-hp              { position: absolute; left: -9999px; width: 1px; height: 1px;
                                 overflow: hidden; }

/* ─── フッター内リンクブロック ─────────────────────────────────────── */
.anime-footer-links            { background: #2b2f36; color: #ddd; padding: 20px 16px;
                                 margin-top: 40px; font-size: .85rem; }
.anime-footer-links__inner     { max-width: 1080px; margin: 0 auto;
                                 display: flex; flex-wrap: wrap; align-items: center;
                                 justify-content: center; gap: 6px 0; }
.anime-footer-links__list      { list-style: none; margin: 0; padding: 0;
                                 display: flex; flex-wrap: wrap; justify-content: center;
                                 gap: 0; }
.anime-footer-links__item      { display: flex; align-items: center; }
.anime-footer-links__item + .anime-footer-links__item::before {
  content: "|"; color: #555; padding: 0 12px;
}
.anime-footer-links__link      { color: #ddd; text-decoration: none; padding: 4px 0; }
.anime-footer-links__link:hover { color: #fff; text-decoration: underline; }
.anime-footer-links__copy      { width: 100%; text-align: center; color: #888;
                                 font-size: .78rem; margin-top: 10px; }

@media (max-width: 600px) {
  .anime-legal-container       { padding: 22px 16px; border-radius: 8px; }
  .anime-legal-title           { font-size: 1.35rem; }
  .anime-legal-body            { font-size: .9rem; }
  .anime-legal-body h2         { font-size: 1.02rem; margin-top: 22px; }
  .anime-footer-links__list    { flex-direction: column; }
  .anime-footer-links__item + .anime-footer-links__item::before { content: ""; padding: 0; }
  .anime-footer-links__item    { padding: 4px 0; border-top: 1px solid #3a3f47; }
  .anime-footer-links__item:first-child { border-top: 0; }
}
