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

:root {
    --bird-color: #D4AA00;
    --bird-color-dark: #806700;
    --bird-bg: #FFFBE8;
    --bird-bg-light: #FFFDF5;
    --bird-border: #E9D77B;
}

section {
    margin: 40px 0;
    padding: 20px 22px;
    background-color: var(--bird-bg);
    border-left: 5px solid var(--bird-color);
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.section-title {
    margin: 0 0 20px;
    font-size: 1.2em;
    line-height: 1.5;
    border-bottom: 2px solid var(--bird-color);
    padding-bottom: 7px;
}

.video-section > p {
    max-width: 780px;
    margin-bottom: 20px;

    font-size: 16px;
    line-height: 1.8;
    font-weight: 500;
} .video-details {
    margin-top: 20px;
} .video-details summary {
    display: inline-block;
    position: relative;

    padding: 10px 18px 10px 38px;

    background-color: color-mix(
        in srgb,
        var(--bird-color) 15%,
        white
    );

    border: 1px solid var(--bird-border);
    border-radius: 7px;

    color: var(--bird-color-dark);
    font-weight: 700;
    cursor: pointer;
} .video-details summary::before {
    content: "▶";

    position: absolute;
    left: 15px;
    top: 50%;

    transform: translateY(-50%);
    font-size: 0.85em;
} .video-details[open] summary::before {
    content: "▼";
} .video-details iframe {
    display: block;

    width: 100%;
    max-width: 1080px;
    height: auto;
    aspect-ratio: 16 / 9;

    margin-top: 20px;

    border: 0;
    border-radius: 8px;
    background-color: #000;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.item {
    background-color: var(--bird-bg-light);
}

.bird-box {
    margin: 24px 0;
    padding: 18px 20px;

    background-color: color-mix(
        in srgb,
        var(--bird-color) 4%,
        white
    );

    border: 1px solid var(--bird-border);
    border-left: 5px solid var(--bird-color);
    border-radius: 8px;

    line-height: 1.8;
}

.bird-box:first-of-type {
    margin-top: 0;
}

.bird-box:last-of-type {
    margin-bottom: 0;
}

.bird-box h3 {
    margin: 0 0 14px;
    padding-bottom: 7px;

    border-bottom: 1px solid var(--bird-border);

    color: #4D4300;
    font-size: 1.05em;
    line-height: 1.5;
}

.bird-box p {
    max-width: 780px;
    margin: 0 0 14px;

    font-size: 16px;
    line-height: 1.8;
    font-weight: 500;
}

.bird-box p:last-child {
    margin-bottom: 0;
}

.hole-details {
    margin-top: 22px;

    border: 1px solid var(--bird-border);
    border-radius: 8px;

    background-color: var(--bird-bg-light);
    overflow: hidden;
}

.hole-summary {
    display: block;
    position: relative;

    padding: 15px 48px 15px 18px;

    background-color: color-mix(
        in srgb,
        var(--bird-color) 13%,
        white
    );

    color: var(--bird-color-dark);
    font-size: 1.05em;
    font-weight: 700;
    cursor: pointer;
}

.hole-summary::after {
    content: "＋";

    position: absolute;
    right: 18px;
    top: 50%;

    transform: translateY(-50%);

    font-size: 1.3em;
    line-height: 1;
}

.hole-details[open] > .hole-summary::after {
    content: "−";
}

.bird-list {
    padding: 16px;
}

.bird {
    margin: 0 0 12px;

    border: 1px solid color-mix(
        in srgb,
        var(--bird-color) 35%,
        #ccc
    );

    border-radius: 8px;
    background-color: #fff;
    overflow: hidden;
}

.bird:last-child {
    margin-bottom: 0;
}

.bird-summary {
    display: block;
    position: relative;

    padding: 13px 42px 13px 15px;

    color: #333;
    font-weight: 700;
    line-height: 1.6;
    cursor: pointer;
}

.bird-summary::after {
    content: "＋";

    position: absolute;
    right: 15px;
    top: 50%;

    transform: translateY(-50%);

    color: var(--bird-color-dark);
    font-size: 1.15em;
    line-height: 1;
}

.bird[open] > .bird-summary::after {
    content: "−";
}

.bird-content {
    padding: 15px;

    border-top: 1px solid var(--bird-border);

    background-color: color-mix(
        in srgb,
        var(--bird-color) 3%,
        white
    );
}

.bird-location {
    margin: 0 0 14px;

    font-size: 16px;
    line-height: 1.8;
    font-weight: 500;
}.youtube {
    display: inline-block;
    padding: 7px 14px;

    background-color: #FF0000;
    color: #fff;

    border-radius: 6px;

    font-size: 0.9em;
    font-weight: 700;
    text-decoration: none;

    transition:
        background-color 0.2s,
        transform 0.2s;
}

/* 前後リンク */
.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;
}








/* 幅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: 16px 14px;
    } 

    .section-title {
        margin-bottom: 16px;
        font-size: 1.1em;
    }

    .bird-box {
        margin: 18px 0;
        padding: 15px 13px;
    }

    .bird-box h3 {
        font-size: 1em;
    }

    .bird-box p,
    .video-section > p,
    .bird-location {
        font-size: 15px;
        line-height: 1.75;
    }

    .hole-summary {
        padding: 13px 42px 13px 13px;
        font-size: 1em;
    }

    .bird-list {
        padding: 10px;
    }

    .bird-summary {
        padding: 12px 38px 12px 12px;
        font-size: 0.95em;
    }

    .bird-content {
        padding: 12px;
    }

    .youtube {
        padding: 6px 12px;
    }

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

    summary {
        cursor: pointer;
    }

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

    .hole-summary:hover,
    .bird-summary:hover,
    .video-details summary:hover {
        color: var(--bird-color-dark);
        background-color: color-mix(
            in srgb,
            var(--bird-color) 20%,
            white
        );
    }

    .youtube:hover {
        background-color: #cc0000;
        transform: translateY(-2px);
        text-decoration: none;
    }

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

}