/* =============================================
   石モン図鑑 - 共通スタイル
   common.css
   各HTMLから <link rel="stylesheet" href="/common.css"> で読み込む
   ============================================= */

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

body {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  background: linear-gradient(180deg, #1a0a3a 0%, #3a1a6a 40%, #C71F8E 80%, #FF6B35 100%);
  background-attachment: fixed;
  color: #333;
  line-height: 1.9;
  min-height: 100vh;
  padding: 20px 12px 80px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* =============================================
   コンテナ
   ============================================= */
.container {
  max-width: 680px;
  margin: 0 auto;
  background: #fff;
  border-radius: 24px;
  padding: 32px 24px;
  box-shadow: 0 12px 60px rgba(0,0,0,0.35);
}

/* =============================================
   パンくず
   ============================================= */
.breadcrumb {
  font-size: 11px;
  font-weight: 700;
  color: #bbb;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}
.breadcrumb a {
  color: #bbb;
  text-decoration: none;
}
.breadcrumb a:hover { color: #C71F8E; }

/* =============================================
   セクションラベル(章/シリーズ共通)
   ============================================= */
.section-label-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(90,26,120,0.08);
  color: #5A1A78;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  padding: 5px 14px;
  border-radius: 6px;
  border-left: 4px solid #C71F8E;
  margin-bottom: 16px;
}

/* =============================================
   見出し
   ============================================= */
h1.article-title,
.article-title {
  font-size: 26px;
  font-weight: 900;
  color: #2a0a4a;
  line-height: 1.4;
  margin-bottom: 12px;
}
@media (max-width: 480px) {
  h1.article-title,
  .article-title { font-size: 21px; }
}

h2 {
  font-size: 22px;
  font-weight: 900;
  color: #2a0a4a;
  margin-bottom: 20px;
  line-height: 1.5;
  border-bottom: 2px solid rgba(199,31,142,0.15);
  padding-bottom: 10px;
}
@media (max-width: 480px) {
  h2 { font-size: 18px; }
}

.article-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 2px dashed rgba(0,0,0,0.1);
}
.article-meta {
  font-size: 11px;
  font-weight: 700;
  color: #bbb;
  letter-spacing: 0.08em;
}

/* =============================================
   本文
   ============================================= */
.prose p {
  font-size: 15px;
  color: #444;
  margin-bottom: 18px;
  line-height: 2.1;
}
.prose p:last-child { margin-bottom: 0; }
.prose strong {
  color: #C71F8E;
  font-weight: 900;
}
.prose a {
  color: #C71F8E;
  font-weight: 900;
  text-decoration: none;
  border-bottom: 1.5px solid rgba(199,31,142,0.3);
  padding-bottom: 1px;
}
.prose a:hover {
  border-color: #C71F8E;
}
.prose .quote {
  font-size: 19px;
  font-weight: 900;
  color: #2a0a4a;
  text-align: center;
  padding: 24px 16px;
  line-height: 1.7;
}
@media (max-width: 480px) {
  .prose .quote { font-size: 17px; }
}

/* =============================================
   区切り線
   ============================================= */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(199,31,142,0.2), transparent);
  margin: 36px 0;
}

/* =============================================
   ハイライトボックス
   ============================================= */
.highlight-box {
  background: linear-gradient(135deg, rgba(255,215,0,0.1), rgba(199,31,142,0.06));
  border: 1.5px solid rgba(255,215,0,0.4);
  border-radius: 16px;
  padding: 20px 22px;
  margin: 28px 0;
}
.highlight-box p {
  font-size: 15px;
  font-weight: 700;
  color: #3a1a00;
  line-height: 2;
  margin-bottom: 10px;
}
.highlight-box p:last-child { margin-bottom: 0; }

/* =============================================
   サイン
   ============================================= */
.sign {
  text-align: right;
  font-size: 13px;
  font-weight: 900;
  color: #bbb;
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px dashed rgba(0,0,0,0.1);
}

/* =============================================
   メインCTAボタン
   ============================================= */
.cta-wrap {
  text-align: center;
  margin: 40px 0 8px;
}
.cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, #FF6B35, #C71F8E, #5A1A78);
  color: #fff;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
  padding: 16px 40px;
  border-radius: 999px;
  box-shadow: 0 6px 0 rgba(0,0,0,0.2), 0 8px 24px rgba(199,31,142,0.4);
  letter-spacing: 0.06em;
  transition: transform 0.1s, box-shadow 0.1s;
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 rgba(0,0,0,0.2), 0 12px 28px rgba(199,31,142,0.5);
}
.cta-btn:active {
  transform: translateY(2px);
  box-shadow: 0 3px 0 rgba(0,0,0,0.2), 0 4px 16px rgba(199,31,142,0.3);
}
.cta-sub {
  font-size: 11px;
  color: #bbb;
  font-weight: 700;
  margin-top: 10px;
}

/* =============================================
   記事間ナビゲーション(前の記事/次の記事)
   ============================================= */
.story-nav {
  display: flex;
  gap: 12px;
  margin-top: 40px;
}
.story-nav a {
  flex: 1;
  display: block;
  background: rgba(90,26,120,0.05);
  border: 1.5px solid rgba(90,26,120,0.15);
  border-radius: 16px;
  padding: 16px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  color: #5A1A78;
  transition: background 0.2s;
}
.story-nav a:hover { background: rgba(90,26,120,0.1); }
.story-nav a .nav-label {
  font-size: 10px;
  color: #bbb;
  margin-bottom: 6px;
  letter-spacing: 0.1em;
}
@media (max-width: 480px) {
  .story-nav { flex-direction: column; gap: 10px; }
}

/* =============================================
   フッターナビ(テキストリンク風)
   モダンでスマホでも読みやすい
   ============================================= */
.footer-nav {
  text-align: center;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
}
.footer-nav a {
  display: inline-block;
  color: #888;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.footer-nav a:hover {
  color: #5A1A78;
  background: rgba(90,26,120,0.06);
}
.footer-nav .sep {
  color: #ddd;
  font-size: 13px;
  font-weight: 400;
  user-select: none;
  pointer-events: none;
}
@media (max-width: 480px) {
  .footer-nav {
    flex-direction: column;
    gap: 2px;
    padding-top: 16px;
  }
  .footer-nav a {
    padding: 12px 16px;
    width: 100%;
    text-align: center;
  }
  .footer-nav .sep { display: none; }
}

/* =============================================
   フッターのメタ情報(コピーライト的な)
   ============================================= */
.meta-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 10px;
  color: #ccc;
  font-weight: 700;
  letter-spacing: 0.05em;
}
