@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;
}

.yt-btn:hover {
  background-color: #cc0000;
  transform: translateY(-1px);
}

.yt-btn:active {
  transform: translateY(0);
}

.note .yt-btn {
    margin-left: 6px;
    padding: 2px 6px;
    font-size: 0.7rem;
    border-radius: 4px;
}

.section-head {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.item {
    margin-top: 40px;       /* 欄の間は40px開ける */
}

.section-title {
    margin: 0;              /* 枠線にフィットするように */
    font-size: 1.2em;       /* section-titleの大きさ調整 */
    line-height: 1.4;
}

/* 枠線 */
section {
    margin: 40px 0;
    padding: 0 0 0 18px;
    border-left: 5px solid #4da3ff;
} details:not(.stageopen-details) {
    padding: 0;
    margin-bottom: 15px;
    background: none;
    border: none;
}

.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行目だけ戻す */
} 

/* 文字 */
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;
}









/* 以下このページ限定のCSS */
.intro-exe01 {
    background-color: #EAF8FF;
    border-left: 6px solid #1E88C8;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.optional-box {
    margin: 16px 0;
    padding: 12px 14px;
    background-color: #e3f2fd;
    border-left: 4px solid #7aa7ff;
    border-radius: 6px;
}

.optional-box h4 {
    margin: 0 0 8px;
    font-size: 1rem;
    color: #2f4f85;
}

.optional-box ul {
    margin: 0;
    padding-left: 1.4em;
}

.optional-box li {
    margin: 6px 0;
}

.optional-box p {
    margin: 6px 0;
}

.optional-box h4 {
    margin: 0 0 8px;
    font-size: 1rem;
    color: #2f4f85;
    border-bottom: 3px solid #7aa7ff;
    padding-bottom: 2px;
}

.optional-box .note {
    display:block;
    font-size:0.9em;
    color:#555;
    margin-top:2px;
}

/* 必須行動 */
.must-box {
    margin: 16px 0;
    padding: 12px 14px;
    background-color: #ffebee;
    border-left: 4px solid #ff7a7a;
    border-radius: 6px;
}

.must-box h3 {
    margin: 0 0 8px;
    font-size: 1rem;
    color: #8a2f2f;
    border-bottom: 3px solid #ff7a7a;
    padding-bottom: 2px;
}

.must-box ul {
    margin: 0;
    padding-left: 1.4em;
}

.must-box li {
    margin: 4px 0;
}

.must-box p {
    margin: 6px 0;
}

/* マップ全体 */
.map-box {
    margin: 20px 0 24px;
}

/* 折りたたみ本体 */
.map-details {
    background-color: #f6f6f6;
    border: 1px solid #dddddd;
    border-radius: 8px;
    overflow: hidden;
}

/* summary */
.map-details summary {
    cursor: pointer;
    list-style: none;
    padding: 14px 16px;
    font-size: 1rem;
    font-weight: bold;
    color: #444;
    background-color: #eeeeee;
    border-left: 4px solid #999999;
}

.map-details .map-summary::before {
    content: "＋ ";
    font-weight: bold;
}

.map-details[open] .map-summary::before {
    content: "－ ";
}

/* 開いた中身 */
.map-details[open] {
    padding-bottom: 14px;
}

/* 説明文 */
.map-note {
    margin: 14px 16px 12px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #333;
}

.map-note-small {
    margin: 10px 16px 0;
    font-size: 0.9rem;
    color: #555;
}

/* 画像リンク */
.map-image-link {
    display: block;
    margin: 0 16px;
    text-decoration: none;
}

/* マップ画像 */
.map-image {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fff;
}

/* ホバー */
.map-image-link:hover .map-image {
    opacity: 0.96;
}
/* =========================
   サブマップ（エリア別）
========================= */

.sub-map-details {
    margin: 14px 16px 0;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    background-color: #fafafa;
    overflow: hidden;
}

/* サブ summary */
.sub-map-details summary {
    cursor: pointer;
    list-style: none;
    padding: 10px 12px;
    font-size: 0.95rem;
    font-weight: bold;
    color: #444;
    background-color: #f0f0f0;
    border-left: 3px solid #bbbbbb;
}

/* + - */
.sub-map-details .sub-map-summary::before {
    content: "＋ ";
    font-weight: bold;
}

.sub-map-details[open] .sub-map-summary::before {
    content: "－ ";
}

/* 開いた余白 */
.sub-map-details[open] {
    padding-bottom: 10px;
}

/* =========================
   マップタイトル
========================= */

.map-title {
    display: block;
    text-align: center;
    font-weight: bold;
    margin: 10px 16px 8px;
    color: #444;
}

/* サブマップ内画像余白調整 */
.sub-map-details .map-image-link {
    margin: 0 12px 10px;
}

.sub-map-details .map-image {
    border: 1px solid #d8d8d8;
}

/* ネスト時の間隔 */
.sub-map-details + .sub-map-details {
    margin-top: 12px;
}

.info-box {
    margin: 16px 0;
    padding: 12px 14px;
    background-color: #e8f5e9;
    border-left: 4px solid #66bb6a;
    border-radius: 6px;
}

.info-box h4 {
    margin: 0 0 8px;
    font-size: 1rem;
    color: #2e7d32;
    border-bottom: 3px solid #66bb6a;
    padding-bottom: 2px;
}

.info-box p {
    margin: 6px 0;
}

.info-box ul {
    margin: 0;
    padding-left: 1.4em;
}

.info-box li {
    margin: 8px 0;
}

.info-box strong {
color: #1b5e20;
}

/* この章のまとめ */
#matome {
    margin: 32px 0;
}

#matome details {
    background-color: #f7f5fb;
    border-left: 4px solid #9b8fc7;
    border-radius: 6px;
    padding: 0;
    overflow: hidden;
}

#matome summary {
    cursor: pointer;
    list-style: none;
    margin: 0;
    padding: 14px 16px;
    font-size: 1.05rem;
    font-weight: bold;
    color: #4b3f72;
    background-color: #ede8f8;
}

#matome summary::before {
    content: "＋ ";
    font-weight: bold;
}

#matome details[open] summary::before {
    content: "－ ";
}

#matome details > *:not(summary) {
    margin-left: 16px;
    margin-right: 16px;
}

#matome .status {
    margin: 16px 16px 8px;
    font-weight: bold;
    color: #4b3f72;
    border-bottom: 2px solid #c7bce6;
    padding-bottom: 2px;
}

#matome p {
    margin: 12px 16px;
    line-height: 1.7;
    color: #333;
}

#matome ul {
    margin: 0 16px 16px 16px;
    padding-left: 1.4em;
}

#matome li {
    margin: 6px 0;
    line-height: 1.7;
}

#matome a.link {
    font-weight: bold;
}











/* フッター */
#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 20px 0;
        width: 100%;
    }
  
    main {
        margin: 0 10px 50px;
    }

    section {
        padding-left: 14px;
    }

    details {
        padding: 0;
    }
    
    /* スマホ文字 */
    h4 {
        padding-bottom: 8px;
        margin: 30px 0 20px;
    } p {
        font-size: 15px; /* 締まりが良くなる */
        line-height: 1.7;
        margin-bottom: 18px;
    }

    .map-details summary {
        padding: 12px 14px;
        font-size: 0.95rem;
    }

    .map-note,
    .map-note-small {
        margin-left: 14px;
        margin-right: 14px;
    }

    .map-image-link {
        margin: 0 14px;
    }

    #matome summary {
        padding: 12px 14px;
        font-size: 1rem;
    }

    #matome .bold,
    #matome p,
    #matome ul {
        margin-left: 14px;
        margin-right: 14px;
    }

} @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;
    }
}