@charset "UTF-8";

/* --- 1. 基本フォント設定（他ページと統一） --- */
:root {
  --font-display: "Signale", "Anton", sans-serif;
  --font-base: "Kokumin", "Hiragino Maru Gothic ProN", "Noto Sans JP", sans-serif;
}

body {
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: #10081a;
  font-family: var(--font-base);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

/* --- 2. レイアウト（横幅を絞って中央寄せ） --- */
.post-container {
  max-width: 800px; /* ここが重要：広がりすぎを防止 */
  margin: 140px auto 100px; /* 上にヘッダー分の余白、左右中央 */
  padding: 0 24px;
}

/* --- 3. ヘッダー（黒バー・文字白） --- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 80px;
  background: #000 !important;
  z-index: 9999;
  display: flex;
  align-items: center;
}

.header-inner {
  max-width: 1200px; /* ヘッダーは少し広め */
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 32px;
}

.brand, .nav a {
  color: #fff !important;
  text-decoration: none;
  font-family: var(--font-display);
  text-transform: uppercase;
}

/* --- 4. 記事内の装飾 --- */
.post-header {
  margin-bottom: 60px;
  text-align: center;
}

.post-date {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: #888;
  letter-spacing: 0.1em;
}

.post-title {
  font-size: 2.4rem;
  font-weight: 700;
  margin: 10px 0;
  line-height: 1.3;
}

.post-body h2 {
  font-size: 1.8rem;
  margin: 60px 0 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid #10081a;
}

.post-body p {
  margin-bottom: 30px;
}

/* --- 6. CTAエリア（バグ修正済み） --- */
.post-cta, #cta-placeholder {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  
  background-color: var(--anaheim-black);
  padding: clamp(60px, 10vh, 100px) 24px;
  text-align: center;
  color: #fff;
  box-sizing: border-box;
  overflow: hidden;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-actions, .cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* 【修正】ボタンの折り返しを許可 */
}

.cta-button, .btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px; /* 【修正】ボタンの幅を一定に保つ */
  height: 60px;
  background-color: #ffffff !important;
  color: var(--anaheim-black) !important;
  padding: 0 40px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: bold;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: none !important;
  white-space: nowrap;
}

.cta-button:hover, .btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.4);
  background-color: #f0f0f0 !important;
}

/* スマホ対応 */
@media (max-width: 600px) {
  .cta-actions, .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

.post-body strong {
  font-weight: normal; /* 無理な太字化を解除 */
  color: #10081a;      /* 文字色はしっかり濃く */
  position: relative;
  display: inline-block;
  
  /* 1. 文字の輪郭をわずかに光らせる（ソフトグロー） */
  text-shadow: 
    0 0 8px rgba(16, 8, 26, 0.2), 
    0 0 12px rgba(16, 8, 26, 0.1);
  
  /* 2. 視認性を高めるための下線（お好みで） */
  background: linear-gradient(transparent 80%, rgba(16, 8, 26, 0.1) 0%);
}

/* 桜の妖精 pipponちゃんに関連するワードだけピンクに光らせたい場合（遊び心） */
.post-body strong.pink-glow {
  color: #d11f71;
  text-shadow: 0 0 10px rgba(209, 31, 113, 0.3);
}

.policy-card {
  margin: 60px 0;
  padding: 40px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-left: 4px solid #10081a; /* アナハイム・ブラックのアクセント */
  border-radius: 2px; /* 丸角を抑えてシャープに */
}

.policy-card-title {
  font-family: var(--sans-jp);
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.policy-list {
  list-style: none; /* デフォルトの丸点を消す */
  padding: 0;
  margin: 0;
}

.policy-list li {
  position: relative;
  padding-left: 24px;
  line-height: 1.8;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: #444;
}

/* 箇条書きの点を「・」ではなく「細い横線」にしてシャープに */
.policy-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9em;
  width: 12px;
  height: 1px;
  background: #10081a;
}

/* メディアセクションのレイアウト */
.post-media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 40px 0;
}

.media-item {
  width: 100%;
}

.media-caption {
  font-size: 0.75rem;
  font-family: var(--sans-en);
  color: #888;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* 画像と動画の基本スタイル */
.post-image, .post-video {
  width: 100%;
  height: auto;
  border: 1px solid #eee;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.video-wrapper {
  line-height: 0; /* 動画下の謎の隙間を消す */
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
  .post-media-grid {
    grid-template-columns: 1fr; /* スマホでは縦並び */
  }
}

.journal-card .date, 
.post-date {
  font-family: var(--font-display) !important;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* 一覧のカードタイトルをKokuminに */
.journal-card h4 {
  font-family: var(--font-base) !important;
  font-weight: 900;
  letter-spacing: 0.02em;
}

/* 比較表のスタイル */
.comparison-table-wrapper {
  margin: 40px 0;
  overflow-x: auto; /* スマホで横スクロール可能に */
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 600px; /* 潰れ防止 */
}

.comparison-table th, .comparison-table td {
  padding: 15px;
  border: 1px solid #eee;
  text-align: center;
}

.comparison-table th {
  background-color: #f8f8f8;
  font-weight: bold;
}

/* Deep AIの列を強調 */
.comparison-table .highlight {
  background-color: #f0f7ff; /* 薄い青で強調 */
  font-weight: bold;
  border: 2px solid #10081a;
}

.comparison-table thead th.highlight {
  background-color: #10081a;
  color: #fff;
}

/* 関連記事セクション全体 */
.related-section {
  margin: 100px 0;
  padding-top: 60px;
  border-top: 1px solid #eee;
}

.related-header {
  text-align: center;
  margin-bottom: 50px;
}

/* カードを横に並べるグリッド */
.related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2列並び */
  gap: 30px;
}

/* カード本体のデザイン */
.related-card {
  display: block;
  text-decoration: none;
  color: #10081a !important;
  background: #fff;
  border: 1px solid #eee;
  padding: 30px;
  transition: all 0.3s ease;
  position: relative;
}

.related-card:hover {
  border-color: #10081a;
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.card-date {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: #888;
  display: block;
  margin-bottom: 15px;
}

.related-card h3 {
  font-family: var(--font-base);
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1.5;
  margin-bottom: 25px;
  border: none !important; /* H2用の線を消す */
}

.card-more {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  font-weight: 900;
  border-bottom: 1px solid #10081a;
  padding-bottom: 2px;
}

/* スマホでは縦並びにする */
@media (max-width: 768px) {
  .related-grid {
    grid-template-columns: 1fr;
  }
}
