@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;
} 

.word {
    white-space: nowrap;
}

/* キーボード選択の枠（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;
}

/* フッター */
#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;        /* 下に余白 */
}

/* ヘッダーとフッター以外のメインコンテンツ */
main{
    margin: 0 20px 100px;       /* 左右を20px、フッターと100px開ける */
}

main ul,
main ol {
    padding-left: 1.5em;
    margin: 1em 0;
} main li {
    margin-bottom: 0.5em;
}

.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;           /* 文字の大きさの調整 */
} .subtitle {
  display: block;      /* 改行させる */
  font-size: 0.7em;    /* 小さくする */
  font-weight: 500;
  color: #555;
  margin-top: 5px;
} 

/* 日付ブロック */
.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;
}









.intro-base {
    margin: 40px 0;
    padding: 20px;
    line-height: 1.8;
    font-size: 0.95rem;
    background-color: #FFF4C2;   /* やや落ち着いたバナナ色 */
    border-left: 6px solid #8B5A2B;  /* 木・樽っぽいブラウン */
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
} .intro-base p {
    margin: 0;
}

section {
    margin: 40px 0;
    padding: 0 0 0 18px;
    border-left: 5px solid #8B5A2B;
}

.section-title {
    margin: 0 0 20px;
    font-size: 1.2em;
    line-height: 1.4;
    border-bottom: 2px solid #8b5a2b;
    padding-bottom: 6px;
}

.video-details {
  margin-top: 20px;
} .video-details iframe {
  display: block;
  border: 0;
  border-radius: 8px;
  background-color: #000;
} iframe {
  aspect-ratio: 16/9;     /* Youtubeのアスペクト比を16：9に固定 */
  max-width: 1080px;      /* 最大1080pxまで */
  width: 100%;
  height: auto;
}

.route-note {
    margin: 0 0 20px;
    padding: 12px 14px;
    line-height: 1.7;
    background: #fff;
    border: 2px solid #aab7c4;
    border-radius: 10px;
} .route-note p {
    margin: 0;
} .route-note p + p {
    margin-top: 6px;
}

.character-list-guide {
    padding: 14px 16px;
    border-radius: 6px;
    line-height: 1.7;
    background-color: #fbf8f3;
    border-left: 4px solid #a66a2c;
} .character-list-guide p {
    margin: 0;
} .character-list-guide a {
    text-decoration: underline;
    color: #5c3a1a;
}

.donkey-box,
.diddy-box,
.lanky-box,
.tiny-box,
.chunky-box,
.mix-box {
    margin: 24px 0;
    padding: 16px;
    border-radius: 8px;
    line-height: 1.8;
}

.donkey-box {
    border-left: 5px solid #D4A017;
    background-color: #FFF8E1;
}

.diddy-box {
    border-left: 5px solid #d94a3a;
    background-color: #fff5f3;
}

.lanky-box {
    border-left: 5px solid #4f7fcf;
    background-color: #f4f8ff;
}

.tiny-box {
    border-left: 5px solid #b85aa0;
    background-color: #fff5fb;
}

.chunky-box {
    border-left: 5px solid #2f7d4f;
    background-color: #f3faf5;
}

.mix-box {
    border-left: 5px solid #a66a2c;
    background-color: #fbf8f3;
}

.donkey-box h3,
.diddy-box h3,
.lanky-box h3,
.tiny-box h3,
.chunky-box h3,
.mix-box h3 {
    margin: 0 0 12px;
    font-size: 1.05em;
}

.donkey-box p,
.diddy-box p,
.lanky-box p,
.tiny-box p,
.chunky-box p,
.mix-box p {
    margin: 0 0 12px;
}

.donkey-box p:last-child,
.diddy-box p:last-child,
.lanky-box p:last-child,
.tiny-box p:last-child,
.chunky-box p:last-child,
.mix-box p:last-child {
    margin-bottom: 0;
}

.collect-list {
    margin: 8px 0 0;
    padding-left: 1.2em;
    list-style: disc;
} .collect-list li {
    margin-bottom: 6px;
}

.donkey-text::before,
.donkey-list::before {
    content: "ドンキー：";
    font-weight: bold;
}

.donkey-text,
.donkey-list {
    background-color: #FFF8E1;
    color: #8A6500;
}

.diddy-text::before,
.diddy-list::before {
    content: "ディディー：";
    font-weight: bold;
}

.diddy-text,
.diddy-list {
    color: #9f2f25;
    background-color: #FFF3F1;
}

.lanky-text::before,
.lanky-list::before {
    content: "ランキー：";
    font-weight: bold;
}

.lanky-text,
.lanky-list {
    color: #2f5f9f;
    background-color: #F3F8FF;
}

.tiny-text::before,
.tiny-list::before {
    content: "タイニー：";
    font-weight: bold;
}

.tiny-text,
.tiny-list {
    color: #8f3f7c;
    background-color: #FFF5FC;
}

.chunky-text::before,
.chunky-list::before {
    content: "チャンキー：";
    font-weight: bold;
}

.chunky-text,
.chunky-list {
    color: #23643f;
    background-color: #F2FAF4;
}

#donkey-matome,
#diddy-matome,
#lanky-matome,
#tiny-matome,
#chunky-matome {
    margin: 16px 0;
    border-radius: 8px;
    overflow: hidden;
}

#donkey-matome summary,
#diddy-matome summary,
#lanky-matome summary,
#tiny-matome summary,
#chunky-matome summary {
    padding: 12px 14px;
    font-weight: bold;
}

#donkey-matome summary {
    border-left: 5px solid #D4A017;
    background-color: #FFF8E1;
}

#diddy-matome summary {
    background-color: #fff0ee;
    border-left: 5px solid #d94a3a;
}

#lanky-matome summary {
    background-color: #f0f6ff;
    border-left: 5px solid #4f7fcf;
}

#tiny-matome summary {
    background-color: #fff0fa;
    border-left: 5px solid #b85aa0;
}

#chunky-matome summary {
    background-color: #eff8f2;
    border-left: 5px solid #2f7d4f;
}

#donkey-matome summary::before,
#diddy-matome summary::before,
#lanky-matome summary::before,
#tiny-matome summary::before,
#chunky-matome summary::before {
    content: "＋ ";
}

#donkey-matome[open] summary::before,
#diddy-matome[open] summary::before,
#lanky-matome[open] summary::before,
#tiny-matome[open] summary::before,
#chunky-matome[open] summary::before {
    content: "－ ";
}

#donkey-matome summary::marker,
#diddy-matome summary::marker,
#lanky-matome summary::marker,
#tiny-matome summary::marker,
#chunky-matome summary::marker {
    display: none;
    content: "";
}

#character-list h3 {
    margin: 24px 0 10px;
    font-size: 1.05em;
}

.chart-video-button {
    display: inline-block;
    margin-left: 10px;
    padding: 2px 8px;
    font-size: 0.8rem;
    font-weight: normal;

    color: #fff;
    background: #c4302b;
    border-radius: 5px;

    vertical-align: middle;
}

.chart-video-button:hover {
    opacity: 0.85;
}

.collect-table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0 24px;
    font-size: 0.95rem;
}

.collect-table th,
.collect-table td {
    border: 1px solid #e2d6c8;
    padding: 10px;
    line-height: 1.6;
}

.collect-table th {
    background-color: #f7f2ea;
    color: #5c3a1a;
}

.collect-table a {
    font-weight: bold;
    color: #5c3a1a;
    white-space: nowrap;
}

#character-list #donkey-matome h3 {
    color: #8A6500;
}

#donkey-matome .collect-table th {
    background-color: #FFF8E1;
    color: #8A6500;
}

#donkey-matome .collect-table th,
#donkey-matome .collect-table td {
    border-color: #D4A017;
}

#character-list #diddy-matome h3 {
    color: #9F2F25;
}

#diddy-matome .collect-table th {
    background-color: #FFF3F1;
    color: #9F2F25;
}

#diddy-matome .collect-table th,
#diddy-matome .collect-table td {
    border-color: #D94A3A;
}

#character-list #lanky-matome h3 {
    color: #2F5F9F;
}

#lanky-matome .collect-table th {
    background-color: #F3F8FF;
    color: #2F5F9F;
}

#lanky-matome .collect-table th,
#lanky-matome .collect-table td {
    border-color: #4F7FCF;
}

#character-list #tiny-matome h3 {
    color: #8F3F7C;
}

#tiny-matome .collect-table th {
    background-color: #FFF5FC;
    color: #8F3F7C;
}

#tiny-matome .collect-table th,
#tiny-matome .collect-table td {
    border-color: #B85AA0;
}

#character-list #chunky-matome h3 {
    color: #23643F;
}

#chunky-matome .collect-table th {
    background-color: #F2FAF4;
    color: #23643F;
}

#chunky-matome .collect-table th,
#chunky-matome .collect-table td {
    border-color: #2F8A4C;
}

.collect-table a {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-width: 60px;
    padding: 6px 10px;

    background-color: #FF0000;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
} .collect-table .time {
    display: block;
    margin-top: 2px;
    font-size: 0.8rem;
    line-height: 1;
    color: #fff;
} .collect-table a:active {
    transform: translateY(0);
} .collect-table th {
    white-space: nowrap;
}

.collect-table th:first-child,
.collect-table td:first-child {
    width: 60px;
    text-align: center;
}

.collect-table th:nth-child(2),
.collect-table td:nth-child(2) {
    width: 60px;
    text-align: center;
}

.banana-table th:nth-child(1),
.banana-table td:nth-child(1) {
    width: 7em;
    white-space: nowrap;
}

.banana-table th:nth-child(2),
.banana-table td:nth-child(2) {
    width: 3em;
    text-align: center;
    white-space: nowrap;
}

.banana-table th:nth-child(3),
.banana-table td:nth-child(3) {
    width: 60px;
    text-align: center;
    white-space: nowrap;
}

/* 前後リンク */
.link-frame {
    margin-top: 40px;
    font-weight: bold;
} .before,.after {
    padding-left: 2.0em;   /* ←「前：」の幅 */
    text-indent: -2.0em;   
}  .reference {
    margin-top: 20px;
} .reference a {
    display: inline-block;
}




/* 収集物一覧ページ */
/* 早見表 */
.collect-comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0 40px;
    background-color: #ffffff;
    text-align: center;
} 

.collect-comparison-table th,
.collect-comparison-table td
{
    border: 1px solid #ddd2a6;
    padding: 12px;
    line-height: 1.7;
} .collect-comparison-table th {
    background-color: #f4c430;
    color: #3b2a00;
} .collect-comparison-table td:first-child {
    font-weight: 700;
    background-color: #fff8d6;
    white-space: nowrap;
}

.collect-section {
    margin: 40px 0;
    padding: 24px;
    background-color: #fffdf2;
    border-left: 6px solid #f4c430;
    border-radius: 10px;
} .collect-item {
    margin-top: 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #f4c430;
    color: #5a3b00;
}








/* 幅560px以下の場合 */
@media screen and (max-width: 560px) {

    .title-frame{
        display: block;
    }

    .article-title{
        margin: 10px 0;
    }

    .article-date{
        padding: 0;
        margin: 0 0 20px 0;
    }
    
    main {
        margin: 0 10px 50px;
    }

   section {
        margin: 28px 0;
        padding-left: 14px;
    }    

    .donkey-box,
    .diddy-box,
    .lanky-box,
    .tiny-box,
    .chunky-box,
    .mix-box {
        padding: 14px;
    }

    .collect-table,
    .collect-table thead,
    .collect-table tbody,
    .collect-table tr,
    .collect-table th,
    .collect-table td {
        display: block;
    }

    .collect-table thead {
        display: none;
    }

    .collect-table tr {
        margin-bottom: 12px;
        border: 2px solid #c9b8a4;
        border-radius: 6px;
        overflow: hidden;
        background-color: #fff;
    }

    .collect-table td {
        display: flex;
        align-items: center;
        gap: 10px;
        padding-left: 2px;
        border: none;
    }

    .collect-table td::before {
        content: attr(data-label);
        flex: 0 0 5em;
        text-align: right;
        font-weight: bold;
        color: #5c3a1a;
        white-space: nowrap;
    }

    .collect-table td:last-child {
        border-bottom: none;
    }

    #donkey-matome .collect-table tr {
        border: 2px solid #D4A017;
    }

    #diddy-matome .collect-table tr {
        border: 2px solid #D94A3A;
    }

    #lanky-matome .collect-table tr {
        border: 2px solid #4F7FCF;
    }

    #tiny-matome .collect-table tr {
        border: 2px solid #B85AA0;
    }

    #chunky-matome .collect-table tr {
        border: 2px solid #2F8A4C;
    }



    .collect-section {
        margin: 28px 0;
        padding: 18px;
        border-left-width: 5px;
    }

    .collect-comparison-table th,
    .collect-comparison-table td {
        padding: 10px;
        font-size: 0.92rem;
    }

    .collect-comparison-table th:first-child {
        white-space: normal;
    }

}@media screen and (min-width: 561px) { 

    td[data-label="動画"] a {
        display: block;
    }

    td[data-label="動画"] a + a {
        margin-top: 10px;
    }

} @media (hover: hover) and (pointer: fine) {

    summary {
        cursor: pointer;
    }

    details summary:hover {
        text-decoration: underline;
    }

    a:hover {
        text-decoration: underline;
    }
    
    .collect-table a:hover {
        text-decoration: none;
        opacity: 0.9;
        transform: translateY(-2px);
    }

} @media (min-width:500px) {

    .adslot_1 {
        width: 468px;
        height: 60px;
    }

} @media (min-width:800px) {

    .adslot_1 {
        width: 728px;
        height: 90px;
    }

}