@charset "UTF-8";/* 文字コードUTF-8 */

html {
    font-size: 100%;/* ユーザー指定のフォントサイズで表示 */
}

body {
    background-color: #FFFFFF;                              /* サイト全体の背景色 */
    color: #333333;                                         /* サイト全体の文字色 */    
    font-family: 'Noto Sans', '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;
}

a:hover,
details summary:hover{                  /* リンクにカーソルを当てたとき文字を薄くする */
    opacity: 0.7;
    cursor: pointer;
}

details summary::-webkit-details-marker {   /* Safariで表示されるデフォルトの三角形アイコンを消します */
    display: none;
}

.bold{                                  /* 太字クラス */
    font-weight: bold;
}

.link{                                  /* リンククラス */
    text-decoration: underline;
    font-weight: bold;
}




/* ヘッダー */
#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;
}




/* ヘッダーとフッター以外のメインコンテンツ */
main{
    margin: 0 20px 100px;   /* 左右を20px、フッターと100px開ける */
}

.title-frame{
    display: flex;              /* タイトルと日付を横並べする */
}

.article-title{
    font-size: 1.5em;           /* 文字の大きさの調整 */
}

.article-date{                  /* 日付の位置調整 */
    margin: 0px;         
    padding-top: 30px;
    font-size: 0.875rem;        /* 日付のフォントを小さく */
    margin-left: 20px;          /* タイトルと日付の間を開ける */
}











/* ビデオ */
iframe{
    aspect-ratio: 16/9;     /* Youtubeのアスペクト比を16：9に固定 */
    max-width: 1080px;
} .short{
    aspect-ratio: 9/16;
    max-width: 360px;
}

/* 余白 */
section,
.content-details,
.close-details,
.closelink,
.caveboss {
    margin-top: 40px;       /* 本文と見出しの間は50px開ける */
} .section-title,
.after {
    margin: 0;
} .guide_details:first-of-type,
.bossname:not(.caveboss) {
    margin-top: 10px;
} .onlyafter,
section:not(:first-of-type):not(section section):not(.level) {
    margin-top:100px;
} .before {
    margin-top: 100px;
    margin-bottom: 0;
} .bossname:not(:first-of-type){
    margin-top: 40px;
}

/* マウスオーバー */
details[open],
details details[open],
.omakesection {
    background-color: rgba(255,237,179,0.7);
} p:hover,
.point li:hover,
.bossname:hover {
    background-color: #bc9e04;
} details details details[open],
#planet8color[open] {
    background-color: #ffcc33;
} .close-details:hover,
.onlyafter a:hover,
.before a:hover,
.after a:hover {
    text-decoration: underline;
} #harukazecolor[open],
#cavearea1color[open],
#planet1color[open] {
    background-color: #D0F0D0;
} #dynacolor[open] {
    background-color: #db9a6e;
} #racecolor[open],
#cavearea2color[open],
#planet2color[open] {
    background-color: #a9c4ec;
} #cavecolor,
#planet6color[open] {
    background-color: #e97b15;
} #cavearea3color[open] {
    background-color: #c7c959;
} #galaxycolor {
    background-color: rgb(3, 21, 77);
} #metacolor[open] {
    background-color: #9798D0;
} #planet4color[open] {
    background-color: #97d4e4;
} #cavearea4color[open] {
    background-color: #eca1ca;
} #planet5color[open],
#bosscolor[open] {
    background-color: #ec9090;
} #planet7color[open] {
    background-color: #b8b4b4;
}

/* 文字 */
.section-title {
    font-size: 1.2em;       /* h2の大きさ調整 */
} h4,
.bossname {
    font-size: 1.1em;
} .onlyafter,
.before,
.after,
.bossname,
p {
    font-weight: bold;
} .red {
    color: red;
} .title-back {
    text-shadow: 0 0 4px rgba(255,255,255,1),
    1px 1px 4px rgba(255,255,255,1),
    2px 2px 4px rgba(255,255,255,1),
    3px 3px 4px rgba(255,255,255,1),
    -3px -3px 4px rgba(255,255,255,1),
    -2px -2px 4px rgba(255,255,255,1),
    -1px -1px 4px rgba(255,255,255,1);
}

/* ディスプレイ */
summary h2,
summary h3,
summary h4 {
    display: inline;        /* detailsと横並び */
} .close-details,
.closelink {
    display: block;
}

/* ポイントリスト */
.point {
    list-style-type: disc;
    font-weight: bold;
    padding-left: 20px;
} .point li {
    margin-bottom: 10px;
}

/* 枠線 */
details {
  border: 1px solid black; /* 枠線（1px、黒い実線） */
  padding: 10px; /* 枠線と内容との間隔 */
  margin-bottom: 10px;
  background-color: white;
} section:not(section section):not(.level) {
  border: 1px solid black; /* 枠線（1px、黒い実線） */
  padding: 10px; /* 枠線と内容との間隔 */
}

/* テーブル */
table {
    border-collapse: collapse;     /* 隣接セルは重なる */
    text-align: center;
    width: 100%;
    margin-top: 20px;
} th,td {
    padding: 10px;
    border: 1px solid black;
} th {
    text-align: center;
} td:nth-of-type(1) {
    background-color: pink;
    font-weight: bold;
}

/* 他リンク */
.mission-nav { 
  background-color: #FFBFD8; /* カービィピンク */
  color: #6A3A45;
  padding: 20px;
  border-radius: 10px;
  max-width: 900px;
  margin: 20px auto;
  margin-top: 200px;
  font-family: sans-serif;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
} .mission-nav h2 {
  font-size: 20px;
  margin: 0;
  margin-bottom: 15px;
  text-align: center;
  color: #D85A74; /* 少し濃いピンク寄りに変更 */
  font-weight: 700; /* 太めで視認性UP */
  text-shadow: none; /* ぼやけの原因を解除 */
} .mission-pages {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
} .mission-page {
  flex: 1 1 160px;
  background-color: #FFCFE4; /* 明るいピンク */
  border-radius: 8px;
  padding: 10px;
  border: 2px solid #FF8FB7;
} .mission-page h3 {
  font-size: 16px;
  margin: 0;
  margin-bottom: 10px;
  border-bottom: 2px solid #E27A61; /* サーモン色ラインに変更 */
  padding-bottom: 5px;
  text-align: center;
  color: #E24B8C;
} .mission-page ul {
  list-style: none;
  padding: 0;
  margin: 0;
} .mission-page li {
  margin-bottom: 8px;
} .mission-page a:not(.chart) {
  display: block;
  color: #6A3A45;
  text-decoration: none;
  background-color: #FFD5C2; /* 柔らかいオレンジ寄り背景に変更 */
  padding: 6px 8px;
  border-radius: 5px;
  transition: 0.25s;
  text-align: center;
  border: 1px solid #E9A48C;
} .chart {
  color: #E24B8C;
  text-decoration: none;
} .mission-page a:hover {
  background-color: #C5F2FF; /* 淡い水色（そのまま） */
  transform: scale(1.06);
  border-color: #89D9FF;
}










/* フッター */
#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-title{
    margin: 10px 0;
  }

  .article-date{
    padding: 0;
    margin: 0 0 50px 0;
  }

    table, thead, tbody, th, td, tr {
        display: block;
    } thead {
        display: none; /* 見出しは非表示にして、ラベル化する */
    }

    tr {
        margin-bottom: 1rem;
        border: 1px solid #ddd;
        border-radius: 8px;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
        padding: 10px;
        background: #fafafa;
    }

    .normal-table {
    display: table;
}
    .normal-table thead {
        display: table-header-group;
    }
    .normal-table tbody {
        display: table-row-group;
    }
    .normal-table tr {
        display: table-row;
    }
    .normal-table th {
        display: table-cell;
    }
    .normal-table td {
        display: table-cell;
    }

}@media screen and (min-width: 561px) {

    table {
        background-color: white;
    } td:nth-of-type(1) {
        width: 200px;
    } td:nth-of-type(2) {
        width: 80px;
    } tr:hover {
    background-color: #bc9e04;
    }

    summary:hover {
        color: blue;
        text-decoration: underline;
    }

}