/* ===================================
   透明なオオカミ - トップページ専用
   攻略ページ (style.css) とは独立
   =================================== */

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

/* スクロールバーの有無でセンタリングがずれないよう、常に表示する */
html {
  overflow-y: scroll;
}

body.home-page {
  font-family: sans-serif;
  background: #FDFBF7;
  color: #2C2C2C;
  line-height: 1.8;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.home-page main {
  flex: 1;
}

body.home-page a {
  color: #FFFFFF;
  text-decoration: none;
}

body.home-page a:hover {
  text-decoration: underline;
}

/* --- ヒーロー --- */
.hero {
  position: relative;
  overflow: hidden;
  background: #1a1a1a;
  height: 35vh;
  min-height: 200px;
  max-height: 350px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.55) 0%,
      rgba(0, 0, 0, 0.75) 100%);
}

.hero-body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.hero-title {
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: 8px;
  color: #FFFFFF;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
  margin-bottom: 12px;
  line-height: 1.3;
}

.hero-sub {
  font-size: 1rem;
  letter-spacing: 10px;
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
  margin-bottom: 0;
}

/* --- メインコンテンツ --- */
.home-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 24px 20px 30px;
}

.home-section {
  margin-bottom: 24px;
}

.intro-section {
  text-align: center;
  padding: 20px 0;
}

.intro-section p {
  font-size: 0.9rem;
  color: #2C2C2C;
  line-height: 1.8;
}

/* セクションタイトル */
.section-title {
  text-align: center;
  margin-bottom: 16px;
}

.section-title h2 {
  display: inline-block;
  font-size: 0.95rem;
  padding: 5px 16px;
  background: #EEEEEE;
  border: 1px solid #CCCCCC;
  letter-spacing: 1px;
}

/* --- 攻略タイトル --- */
.title-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.title-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid #ddd;
  background: #FFFFFF;
  transition: border-color 0.15s, box-shadow 0.15s;
}

/* body.home-page a:hover の下線を打ち消す */
body.home-page .title-card:hover {
  border-color: #999;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  text-decoration: none;
}

/* 元画像が 80x125 のため、拡大してぼやけないよう等倍で表示する */
.title-card-img {
  flex-shrink: 0;
  width: 80px;
}

.title-card-img img {
  display: block;
  width: 100%;
  height: auto;
}

.title-card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.title-card-name {
  font-size: 0.95rem;
  font-weight: bold;
  color: #2C2C2C;
}

.title-card-desc {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.7;
}

/* 更新履歴 */
.updates-list {
  display: flex;
  flex-direction: column;
  border: 1px solid #ddd;
  background: #FFFFFF;
}

.update-item {
  display: flex;
  gap: 16px;
  padding: 10px 14px;
  border-bottom: 1px solid #eee;
  align-items: baseline;
}

.update-item:last-child {
  border-bottom: none;
}

.update-date {
  font-size: 0.8rem;
  color: #888;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 80px;
}

.update-title {
  font-size: 0.85rem;
  color: #2C2C2C;
}

/* 更新履歴のリンク（body.home-page a の color:inherit を上書き） */
body.home-page .update-title a {
  color: #0645ad;
  text-decoration: underline;
}

body.home-page .update-title a:hover {
  color: #3366cc;
}

/* ===================================
   情報ページ（about / policy / contact）
   =================================== */

/* コンパクトヘッダー（ヒーローのスリム版） */
.page-header {
  background: #1a1a1a;
  text-align: center;
  padding: 26px 20px;
}

.page-header-title {
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 6px;
  color: #FFFFFF;
  line-height: 1.3;
}

body.home-page .page-header-title:hover {
  text-decoration: none;
  color: #e8e8e8;
}

.page-header-sub {
  display: block;
  margin-top: 6px;
  font-size: 0.8rem;
  letter-spacing: 6px;
  color: rgba(255, 255, 255, 0.7);
}

/* 情報ページ本文 */
.page-content {
  padding-top: 20px;
}

/* 最後の要素の下マージンを打ち消し、フッター上の余白をページ間で統一 */
.page-content>*:last-child,
.page-content>*:last-child>*:last-child {
  margin-bottom: 0;
}

.page-content .breadcrumb {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 16px;
}

body.home-page .page-content .breadcrumb a {
  color: #555;
  text-decoration: none;
}

body.home-page .page-content .breadcrumb a:hover {
  color: #1a1a1a;
  text-decoration: underline;
}

.page-content h1 {
  font-size: 1.4rem;
  letter-spacing: 1px;
  padding-bottom: 10px;
  margin-bottom: 20px;
  border-bottom: 2px solid #333;
}

.page-content h2 {
  font-size: 1rem;
  border-left: 4px solid #333;
  padding: 4px 10px;
  background: #F5F5F5;
  margin: 24px 0 10px;
}

.page-content p {
  font-size: 0.85rem;
  line-height: 1.9;
  margin-bottom: 10px;
}

.page-content ul {
  padding-left: 20px;
  margin-bottom: 10px;
}

.page-content ul li {
  list-style: disc;
  font-size: 0.85rem;
  line-height: 1.8;
}

body.home-page .page-content a:not(.breadcrumb a) {
  color: #0645ad;
  text-decoration: underline;
}

body.home-page .page-content a:hover {
  color: #3366cc;
}

/* about: セクション・プロフィール枠 */
.about-section {
  margin-bottom: 24px;
}

.profile-box {
  border: 1px solid #CCCCCC;
  padding: 14px;
  background: #fafafa;
  margin: 10px 0;
}

/* contact: メール枠 */
.contact-box {
  margin: 20px 0;
  text-align: center;
  padding: 20px;
  border: 1px solid #ccc;
  background: #FFFFFF;
}

.contact-box .contact-mail {
  font-size: 1.1rem;
  font-weight: bold;
  margin-top: 12px;
}

/* --- フッター --- */
.home-footer {
  background: #2a2a2a;
  border-top: 2px solid #444;
  padding: 28px 20px 22px;
  text-align: center;
}

.home-footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

body.home-page .home-footer-links a {
  font-size: 0.85rem;
  color: #FFFFFF;
  text-decoration: underline;
  padding: 2px 0;
  transition: color 0.15s;
}

body.home-page .home-footer-links a:hover {
  color: #cccccc;
}

.home-footer-copy {
  margin: 0;
  font-size: 0.7rem;
  color: #CCCCCC;
}

/* --- レスポンシブ --- */
@media (max-width: 600px) {
  .hero {
    height: 40vh;
    min-height: 220px;
    max-height: 350px;
  }

  .hero-title {
    font-size: 1.5rem;
    letter-spacing: 4px;
    margin-bottom: 8px;
  }

  .hero-sub {
    font-size: 0.8rem;
    letter-spacing: 6px;
    margin-bottom: 0;
  }

  .home-content {
    padding: 24px 12px 30px;
  }

  .title-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .update-item {
    flex-direction: column;
    gap: 4px;
    padding: 10px 12px;
  }

  .home-footer-links {
    gap: 16px;
  }

  .home-footer-links a {
    font-size: 0.8rem;
  }
}