@charset "UTF-8";/* 文字コードUTF-8 */

html {
  font-size: 100%;/* ユーザー指定のフォントサイズで表示 */
}

body {
  background-color: #FFFFFF;                              /* サイト全体の背景色 */
  color: #333333;                                         /* サイト全体の文字色 */    
  font-family: 'Noto Sans JP', sans-serif;     /* サイト全体のフォント */
}

.container{                             /* フッターをデバイスの一番下に表示させるための4行 */
  display:grid;                           
	grid-template-columns: 1fr;
	grid-template-rows: auto 1fr auto;
	min-height: 100vh;
}

ul {                                    /* リストの点を無くして、余白もなくす */
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

a {                                     /* リンクの下線を無くす */
  text-decoration: none;
}

details summary::-webkit-details-marker {   /* Safariで表示されるデフォルトの三角形アイコンを消します */
  display: none;
}

.bold{                                  /* 太字クラス */
  font-weight: bold;
}

/* キーボード選択の枠（Tabキーなど） */
a:focus-visible,
details summary:focus-visible {
  outline: 3px solid #000;
  outline-offset: 2px;
}




/* ヘッダー */
#header{
  margin-top: 20px;   /* ヘッダーの上を20px開ける */
}

.site-title{
  font-weight: bold;
  padding: 10px;                              /* タイトルの余白10px */
  display: inline-block;                      /* 無駄な余白を無くす */
  margin: 0 10px;                             /* h3の余白を調整 */
  border: solid 2px rgb(172, 228, 241);     /* 青の線で囲む */
  border-radius: 10%;                         /* 四角を丸くする */
  background-color: rgb(203, 218, 238);     /* 背景に薄い水色 */
}

/* ナビゲーションバー */
#navi {
  background-color: #333;     /* バーの色は黒 */
}

#navi a {
  color: #fff;                /* バーの文字は白 */
}

.navi_frame{
  display: flex;                  /* 横に並べる */
  justify-content: flex-start;    /* 左から並べる */
  padding-left: 20px;             /* 画面左端の余白 */
}

.navi_text {
  font-size: 0.875rem;            /* 文字サイズを調整 */
  padding: 10px 60px 10px 0;      /* 余白を調整 */
}

.title-return{
  margin-left: 20px;              /* 左を20px開ける */
  font-size: 0.8rem;              /* 文字を小さめに表示 */
  margin-bottom: 20px;
  line-height: 1.6;
}

/* 広告 */
.adbox {
  margin-top: 50px;
  margin-bottom: 50px;
} .adslot_1 {
  width: 320px;
  height: 100px;
} .adslot_2 {
  width: 200px;
  height: 200px;
}




/* ヘッダーとフッター以外のメインコンテンツ */
main{
  margin: 0 20px 100px;   /* 左右を20px、フッターと100px開ける */
} article {
  font-size: 16px;
  line-height: 1.7;
}

.title-frame{
  display:grid;
  grid-template-columns: 1fr 220px; /* ← 日付専用スペース確保 */
  align-items:end;
  gap:20px;
}

/* タイトル */
.article-title{
  margin:0;
  min-width:0; /* ← 超重要（Grid改行バグ防止） */
  font-size: 1.5em;           /* 文字の大きさの調整 */
}

/* 日付ブロック */
.article-date{
  white-space:nowrap; /* ← 日付改行禁止 */
} .date-row {
  display: grid;
  grid-template-columns: 7em auto;
  justify-content: end; /* ← 行自体を右へ */
} .date-label {
  text-align: right;    /* ← ラベル右揃え */
} .final-date {
  margin-top: 4px;
}






/* 不変なものの設定 */

/* ビデオ */
iframe {
  aspect-ratio: 16/9;     /* Youtubeのアスペクト比を16：9に固定 */
  max-width: 1080px;      /* 最大1080pxまで */
  width: 100%;
  height: auto;
} .short {
  aspect-ratio: 9/16;     /* Youtubeショートのアスペクト比を9：16に固定 */
  max-width: 360px;      /* 最大360pxまで */
} .video-details {
  margin-top: 20px;
} .short-details {
  margin-bottom: 20px;
} .video-details iframe {
  display: block;
  border: 0;
  border-radius: 8px;
  background-color: #000;
} .movie-link {
  margin-top: 10px;
  font-size: 0.95em;
  color: #555;
}


.yt-btn {
  display: inline-flex;
  padding: 5px 8px;
  background-color: #FF0000; /* YouTubeレッド */
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.75rem;
  border-radius: 6px;
  transition: 0.15s;
  white-space: nowrap;
  align-items: center;
  gap: 3px;
  margin-bottom: 10px;
}

.yt-btn:hover {
  background-color: #cc0000;
  transform: translateY(-1px);
}

.yt-btn:active {
  transform: translateY(0);
}

.item {
  margin-top: 40px;       /* 欄の間は40px開ける */
}

.section-title {
  margin: 0;              /* 枠線にフィットするように */
  font-size: 1.2em;       /* section-titleの大きさ調整 */
  line-height: 1.4;
}

.intro-base {
  margin: 40px 0;
  padding: 20px;
  line-height: 1.8;
  font-size: 0.95rem;
} .intro-base p {
  margin: 0;
}

.subtitle {
  display: block;      /* 改行させる */
  font-size: 0.7em;    /* 小さくする */
  font-weight: 500;
  color: #555;
  margin-top: 5px;
}

.close-details {
  margin-top: 40px;       /* 閉じるボタンの上を40px開ける */
  display: block;
} 

.word {
  white-space: nowrap;
}

summary {
  font-weight: bold;
  padding: 10px 0;
}

/* テーブル */
table {
  border-collapse: collapse;     /* 隣接セルは重なる */
  text-align: center;
  margin-top: 20px;
  background-color: white;
  font-size: 15px;
} th,td {
  padding: 10px;
  border: 1px solid black;
}  thead {
  background-color: pink;
}

/* 前後リンク */
.onlyafter {
  margin-top: 40px;              /* 次しかない場合 */
  font-weight: bold;
  padding-left: 2.0em;   /* ←「前：」の幅 */
  text-indent: -2.0em;   /* ←1行目だけ戻す */
} .before {
  margin-top: 40px;
  margin-bottom: 0;
  font-weight: bold;
  padding-left: 2.0em;   /* ←「前：」の幅 */
  text-indent: -2.0em;   /* ←1行目だけ戻す */
} .after {
  margin: 0;
  font-weight: bold;
  padding-left: 2.0em;   /* ←「前：」の幅 */
  text-indent: -2.0em;   /* ←1行目だけ戻す */
} 

/* 文字 */
h5,
.boss8 h4,
#dynamo h4 {
  font-size: 1.1em;
  font-weight: bold;
  padding-bottom: 10px;
  margin: 40px 0 25px;
} p:not(.intro-base) {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 20px;
  max-width: 750px; /* 横に広がりすぎ防止 */
  font-weight: 500;
}

/* 枠線：黒枠をやめて、淡いカード風に */
details {
  border: none;
  padding: 12px 14px;
  margin-bottom: 12px;
  background: rgba(255,255,255,0.72);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

section:not(.details-section):not(.faq-section) {
  border: none;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.55);
  box-shadow: 0 3px 12px rgba(0,0,0,0.06);
}










/* 以下このページ限定のCSS */
.intro-rockman {
  background-color: #EAF8FF;
  border-left: 6px solid #1E88C8;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* カラー */
.rockmanmain {
  background-color: lightblue;
}  

#grizzly {
  background: linear-gradient(180deg, #f3e2c7 0%, #e7c99f 100%);
}

#makkoeen {
  background: linear-gradient(
  180deg,
  #d7e6e8 0%,
  #b8cfd3 45%,
  #9eb8bf 100%
  );
}

#kraken {
  background: linear-gradient(
    180deg,
    #eef8ff 0%,
    #d8ecf7 45%,
    #bfd9e8 100%
  );
}

#hotarunicus {
  background: linear-gradient(
    180deg,
    #fff1e8 0%,
    #f7d2bf 45%,
    #d6a08b 100%
  );
}

#necrobat {
  background: linear-gradient(
    180deg,
    #edeaf6 0%,
    #d2cbe6 45%,
    #aea3ca 100%
  );
}

#pegacion {
  background: linear-gradient(
    180deg,
    #f5f7ff 0%,
    #dfe7fb 45%,
    #c6d4f2 100%
  );
}

#dinorex {
  background: linear-gradient(
    180deg,
    #f7ebe4 0%,
    #d9a38e 45%,
    #a85f4f 100%
  );
}

#rosered {
  background: linear-gradient(
    180deg,
    #eef7ea 0%,
    #d4e6c7 45%,
    #b7cfa5 100%
  );
}

#itemcollect {
  background: linear-gradient(
    180deg,
    #faf7e8 0%,
    #eadfb3 45%,
    #d9c57a 100%
  );
}

#final1,
#final2,
#final3,
#final4 {
  background-color: #e2e0ec; /* 青紫寄りのメタル */
}

#parts,
#colony,
#opening,
#dynamo {
  background: #f7fbff;
  border-left: 6px solid #2f7fd1;
}

/* フレーム */
.x-frame,
.zero-frame {
  margin: 2rem 0;
  padding: 0 1rem 1.5rem;
  border-radius: 14px;
}

/* ===============================
   エックス
================================= */

.x-frame {
  background: linear-gradient(180deg, #eef6ff 0%, #dbeafe 100%);
  border: 2px solid #6ea8ff;
}

/* タイトル */
.x-frame .character-title {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.45rem 1rem;
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  background: linear-gradient(90deg, #2e63d3 0%, #5aa7ff 100%);
}

/* h5 */
.x-frame h5,
.boss8 .x-frame h4 {
  color: #1f4fbf;                 /* Xらしい青 */
  border-bottom: 4px solid #69a7ff;
}

/* mark */
.x-frame .mark {
  color: #1b3f9c;
  background-color: rgba(80, 140, 255, 0.25);
  padding: 2px 4px;
  border-radius: 3px;
}



/* ===============================
   ゼロ
================================= */

.zero-frame {
  background: linear-gradient(180deg, #fff1f1 0%, #ffe0e0 100%);
  border: 2px solid #ff8a8a;
}

/* タイトル */
.zero-frame .character-title {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.45rem 1rem;
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  background: linear-gradient(90deg, #c62828 0%, #ff7b47 100%);
}

/* h5 */
.zero-frame h5,
.boss8 .zero-frame h4 {
  color: #b02020;                /* ゼロらしい赤 */
  border-bottom: 4px solid #ff7a5c;
}

/* mark */
.zero-frame .mark {
  color: #8f1b1b;
  background-color: rgba(255, 90, 60, 0.28);
  padding: 2px 4px;
  border-radius: 3px;
}


/* 動画折りたたみ */
.x-frame .video-details {
  border: 1px solid #9bc2ff;
  background-color: rgba(255, 255, 255, 0.55);
} .zero-frame .video-details {
  border: 1px solid #ffb0b0;
  background-color: rgba(255, 255, 255, 0.55);
} .x-frame .video-details summary,
.zero-frame .video-details summary {
  padding: 0.75rem 0.25rem;
  font-weight: bold;
} .x-frame .video-details summary {
  color: #2450b8;
} .zero-frame .video-details summary {
  color: #b22a2a;
}

.character-jump {
  display: flex;
  gap: 10px;
  margin: 1rem 0 1.5rem;
}

.character-jump a {
  padding: 6px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

/* X */
.character-jump a:first-child {
  background: #4f8dff;
  color: white;
}

/* Zero */
.character-jump a:last-child {
  background: #ff5a4f;
  color: white;
}

/* 動画ボタン */
.heading-with-btn {
  display: flex;
  align-items: center;
  gap: 8px; /* ここだけで間隔調整 */
  margin-bottom: 0.5rem;
  margin-top: 40px;
}

/* 下線をここに付ける */
.x-frame .heading-with-btn {
  border-bottom: 4px solid #69a7ff;
}
.zero-frame .heading-with-btn {
  border-bottom: 4px solid #ff7a5c;
}

/* h4の下線は削除 */
.x-frame .heading-with-btn h5,
.boss8 .x-frame .heading-with-btn h4,
.zero-frame .heading-with-btn h5,
.boss8 .zero-frame .heading-with-btn h4 {
  border-bottom: none;
}

/* 見出し余白調整 */
.heading-with-btn h4,
.heading-with-btn h5 {
  margin: 0;
}

.stage-info {
  margin: 24px 0 32px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,0.72);
  border-left: 6px solid #8a5a2b;
  box-shadow: 0 3px 10px rgba(80,50,20,0.08);
}

.stage-info h4 {
  margin: 0 0 10px;
  padding: 0;
  border-bottom: none !important;
  color: #6b3f1d;
}

.stage-info li {
  margin: 6px 0;
  padding-left: 1.1em;
  text-indent: -1.1em;
}

.stage-info li::before {
  content: "✓";
  margin-right: 0.45em;
  color: #8a5a2b;
  font-weight: bold;
}/* エックス：このステージで取れるもの */
.x-frame .stage-info {
  background: rgba(255,255,255,0.72);
  border-left: 6px solid #4f8dff;
  box-shadow: 0 3px 10px rgba(60,110,255,0.10);
}

.x-frame .stage-info h4 {
  color: #2450b8;
}

.x-frame .stage-info li::before {
  color: #4f8dff;
}

.zero-frame .stage-info {
  background: rgba(255,255,255,0.72);
  border-left: 6px solid #ff6b5c;
  box-shadow: 0 3px 10px rgba(255,90,70,0.10);
}

.zero-frame .stage-info h4 {
  color: #b02020;
}

.zero-frame .stage-info li::before {
  color: #ff6b5c;
}

/* FAQ */
.boss8 section:has(.section-title) {
  margin-top: 28px;
  background: rgba(255,255,255,0.65);
  border-radius: 14px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.06);
}

.boss8 section:has(.section-title) details {
  background: #fff;
  border-left: 5px solid #6f8f4e;
  box-shadow: 0 2px 7px rgba(0,0,0,0.05);
}

.boss8 section:has(.section-title) summary {
  color: #3f5f2a;
}

.boss8 section:has(.section-title) summary::before {
  content: "Q. ";
  color: #6f8f4e;
}

.boss8 section:has(.section-title) .section-title {
  margin: 0 0 18px;
  padding-bottom: 8px;
  border-bottom: 3px solid rgba(111, 143, 78, 0.35);
}

/* エックスFAQ */
.x-frame section:has(.section-title) {
  background: rgba(255,255,255,0.65);
}

.x-frame section:has(.section-title) details {
  border-left: 5px solid #69a7ff;
}

.x-frame section:has(.section-title) summary {
  color: #2450b8;
}

.x-frame section:has(.section-title) summary::before {
  content: "Q. ";
  color: #4f8dff;
}

.x-frame section:has(.section-title) .section-title {
  margin: 0 0 18px;
  padding-bottom: 8px;
  border-bottom: 3px solid rgba(80,140,255,0.35);
}

/* ゼロFAQ */
.zero-frame section:has(.section-title) {
  background: rgba(255,255,255,0.65);
}

.zero-frame section:has(.section-title) details {
  border-left: 5px solid #ff7a5c;
}

.zero-frame section:has(.section-title) summary {
  color: #b02020;
}

.zero-frame section:has(.section-title) summary::before {
  content: "Q. ";
  color: #ff7a5c;
}

.zero-frame section:has(.section-title) .section-title {
  margin: 0 0 18px;
  padding-bottom: 8px;
  border-bottom: 3px solid rgba(255,120,90,0.35);
}

.item-stage {
  margin-top: 24px;
  padding-left: 10px;

  font-size: 1rem;
}


/* 基礎攻略 */
#parts > .section-title,
#colony > .section-title,
#opening > .section-title,
#dynamo > .section-title {
  padding-bottom: 8px;
  border-bottom: 3px solid rgba(47,127,209,0.35);
  color: #1f5f9f;
}

#parts h3,
#colony h3,
#opening h3,
#dynamo > h3 {
  font-size: 1.1em;
  font-weight: bold;
  padding-bottom: 10px;

  margin: 40px 0 20px;
  padding-left: 10px;
  border-left: 5px solid #2f7fd1;
  color: #1f5f9f;
}

/* FAQ */
.faq-section details {
  background: #fff;
  border-left: 5px solid #2f7fd1;
}

.faq-section summary {
  color: #1f5f9f;
}

.faq-section summary::before {
  content: "Q. ";
  color: #2f7fd1;
}

/* ダイナモのキャラ別フレーム内h4 */
.x-frame h4 {
  color: #1f4fbf;
  border-bottom: 4px solid #69a7ff;
}

.zero-frame h4 {
  color: #b02020;
  border-bottom: 4px solid #ff7a5c;
}

.x-details {
  border: 1px solid #9bc2ff;
  background-color: rgba(255, 255, 255, 0.55);
} .zero-details {
  border: 1px solid #ffb0b0;
  background-color: rgba(255, 255, 255, 0.55);
} .x-details summary,
.zero-details summary {
  padding: 0.75rem 0.75rem;
  font-weight: bold;
} .x-details summary {
  color: #2450b8;
} .zero-details summary {
  color: #b22a2a;
}

#opening .video-details {
  border: 1px solid rgba(47,127,209,0.35);
} #opening .video-details summary {
  padding: 0.75rem 0.25rem;
  font-weight: bold;
  color: #1f5f9f;
}









/* フッター */
#footer{
  width: 100%;                                        /* 余白なし */
  border-top: 2px solid rgb(172, 228, 241);         /* ヘッダーと同じ色で上と下に線をつける */
  border-bottom: 2px solid rgb(172, 228, 241);
  background-color: rgb(203, 218, 238);             /* ヘッダーと同じ背景色 */
}

.footer-list{
  display: flex;              /* フッターのコンテンツを横並べ */
  flex-wrap: wrap;            
  justify-content: center;    /* 中央に揃える */
  font-weight: bold;          /* 太字 */
}

.footer-text:not(:last-child)::after {     /* 文字の最後（最後の要素以外）に／をつけて区切る */
  content: "／";
}

.footer-title{
  width: 100%;                /* 100%の幅 */
  text-align: center;         /* 中央揃え */
  margin-bottom: 10px;        /* 下に余白 */
}




/* 幅560px以下の場合 */
@media screen and (max-width: 560px) {

  .title-frame{
    display: block;
  }

    .article-date{
      padding: 0;
      margin: 0 0 20px 0;
      width: 100%;
    }
  
    main {
      margin: 0 10px 50px;
  }

    section:not(.details-section):not(.faq-section) {
      padding-left: 14px;
    }

    details {
      padding: 0;
    } 

    .video-details,
    .itemlist {
    padding: 0 10px 5px;
    }

    .video-details summary,
    .itemlist summary {
      padding: 10px 2px;
    }
    
    /* FAQ全体 */
    .boss8 section:has(.section-title),
    .faq-section {
      padding: 14px 12px;
    }

    /* FAQの各質問 */
    .boss8 section:has(.section-title) details,
    .faq-section details {
      padding: 10px 12px;
      margin-bottom: 12px;
    }

    /* 質問行 */
    .boss8 section:has(.section-title) summary,
    .faq-section summary {
      padding: 8px 0;
    }
    
    /* スマホ文字 */
    h4 {
      padding-bottom: 8px;
      margin: 30px 0 20px;
    } p {
      font-size: 15px; /* 締まりが良くなる */
      line-height: 1.7;
      margin-bottom: 18px;
    }

} @media (hover: hover) and (pointer: fine) {

    summary:hover {
      color: blue;
      cursor: pointer;
      text-decoration: underline;
    }

    a:hover {
      text-decoration: underline;
    }
    

} @media (min-width:500px) {
    .adslot_1 {
      width: 468px;
      height: 60px;
    }
} @media (min-width:800px) {
    .adslot_1 {
      width: 728px;
      height: 90px;
    }
}