@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;
}




/* ヘッダーとフッター以外のメインコンテンツ */
main{
    margin: 0 20px 100px;       /* 左右を20px、フッターと100px開ける */
}

.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;
}










/* 不変なものの設定（初期化） */
section {
  margin: 40px 0;
} section:not(.color-section) {
    background-color: rgba(255,237,179,0.5);
}

.section-title {
    margin: 0;
    font-size: 1.2em;
} .stage-title {
    font-size: 1.0em;
}

ul:not(#navi ul):not(#footer ul),ol {
    padding-left: 1.5em;
    margin: 1em 0;
} li:not(#navi li):not(#footer li) {
    margin-bottom: 0.5em;
} 

details {
    margin-bottom: 15px;
    background-color: white;
} details[open] {
    background-color: rgba(255, 247, 210, 0.9); /* 少し明るめ */
} .first-details {
    margin-top: 15px;
}

/* 枠線 */
section:not(.details-section),
details {
  border: 1px solid #444; /* 枠線（1px、黒い実線） */
  padding: 15px; /* 枠線と内容との間隔 */
}

.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;
} 

.author-box-base {
    margin: 40px 0;
    padding: 20px;
    border-radius: 8px;
    font-size: 0.95em;
    line-height: 1.8;
} .author-box-base p {
    margin: 0;
}

.word {
    white-space: nowrap;
}










/* 以下このページ限定のCSS */
.intro-donkey1 {
    background-color: #FFF4C2;   /* やや落ち着いたバナナ色 */
    border-left: 6px solid #8B5A2B;  /* 木・樽っぽいブラウン */
} .author-box-donkey1 {
    border-left: 6px solid rgb(172, 228, 241);
    background-color: rgba(203, 218, 238, 0.4);
}

/* 101%完全クリアの条件 */
.about101 {
  background-color: #f7f9fc;
  border-radius: 6px;
} .about101 p {
  margin-bottom: 10px;
  line-height: 1.6;
  font-size: 0.95em;
} .about101 ul {
  margin: 0;
  list-style-type: disc;
} .about101 li {
  line-height: 1.6;
  font-size: 0.95em;
}












/* フッター */
#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;              /* フッターのコンテンツを横並べ */
    justify-content: center;    /* 中央に揃える */
    font-weight: bold;          /* 太字 */
}

.footer-text:not(:last-child)::after {     /* 文字の最後（最後の要素以外）に／をつけて区切る */
    content: "／";
}




/* 幅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:not(.details-section),
  details {
    padding: 10px;
  }
  section {
    margin: 20px 0;
  }

} @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;
    }
}