/*-----------------------------------------------------------------------------------*/
/* CSS Reset & Modern Setup
/*-----------------------------------------------------------------------------------*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #ffffff;
    color: #222222;
    font-family: 'Noto Sans JP', Arial, Helvetica, sans-serif;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

a {
    color: rgb(205, 15, 15);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

hr.divider {
    border: none;
    height: 1px;
    background-color: #dddddd;
    margin: 80px 0;
}

/*-----------------------------------------------------------------------------------*/
/* Typography
/*-----------------------------------------------------------------------------------*/
h1, h2, h3 {
    font-family: 'New Tegomin', serif;
    font-weight: 700;
}

h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #111;
}

h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #111;
}

p {
    font-size: 15px;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

/*-----------------------------------------------------------------------------------*/
/* Slideshow Area (Fully Centered)
/*-----------------------------------------------------------------------------------*/
.slideshow-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: #000;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease;
    filter: brightness(45%);
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

/* ★ フレックスボックスを使って画面中央にピタリと固定 ★ */
.slide-caption {
    position: absolute;
    inset: 0; /* 画面全体に広げる */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
    padding: 20px;
    color: #ffffff;
    opacity: 0;
    transition: opacity 3s ease 0.5s; /* ロード後のフェードイン */
}

.slide-caption.fade-in {
    opacity: 1;
}

.slide-caption-text {
    font-size: 48px;
    font-weight: normal;
    text-align: center;
    margin-bottom: 10px;
}

.slide-caption-text2 {
    font-size: 24px;
    font-weight: normal;
    text-align: center;
    margin-bottom: 40px;
}

.slide-caption-text3 {
    font-size: 16px;
    font-weight: normal;
    text-align: center;
    line-height: 1.6;
    font-family: 'Noto Sans JP', sans-serif;
}

/*-----------------------------------------------------------------------------------*/
/* Main Content Layout
/*-----------------------------------------------------------------------------------*/
main {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 5%;
}

/* 掲載リンク群 (CSS Grid) */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

a.btn_02 {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 1px solid rgb(205, 15, 15);
    background: rgb(205, 15, 15);
    color: #ffffff;
    font-size: 13px;
    font-weight: bold;
    border-radius: 60px;
    text-align: center;
}

a.btn_02:hover {
    background: #ffffff;
    color: rgb(205, 15, 15);
}

/* コメントセクション */
.comment {
    margin-bottom: 60px;
}

.author {
    margin-top: 15px;
    font-weight: bold;
    text-align: right;
}

/* YouTubeレスポンシブラッパー */
.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    margin: 60px 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ギャラリー (CSS Grid) */
.photo-gallery {
  display: grid;
    grid-template-columns: repeat(2, 1fr); /* ★ 3列から2列に変更 */
    gap: 20px; /* 画像間の隙間を少し広げてバランスを調整 */
    margin: 60px 0;
}

/* クレジットブロック */
.credit-block {
    margin-bottom: 50px;
}
.credit-desc {
    color: #555;
    font-size: 14px;
}


/*-----------------------------------------------------------------------------------*/
/* アーカイブエリア (追加分)
/*-----------------------------------------------------------------------------------*/
.archive {
    margin-bottom: 80px;
}

.archive-item {
    margin-bottom: 60px;
}

.archive-item h3 {
    border-left: 4px solid rgb(205, 15, 15);
    padding-left: 12px;
}

.archive-meta {
    margin-bottom: 15px;
}

.archive-meta p {
    font-size: 14px;
    color: #444;
    margin-bottom: 5px;
}

.archive-desc {
    font-size: 15px;
    color: #222;
    margin-bottom: 25px;
}

/* 動画を2本横並びにするグリッド設定 */
.archive-video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* 16:9を維持するレスポンシブラッパー */
.archive-video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background-color: #000;
}

.archive-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}






/* Footer */
footer {
    background-color: #f8f8f8;
    padding: 30px 5%;
    text-align: center;
    border-top: 1px solid #eee;
}

.footer-inner {
    max-width: 900px;
    margin: 0 auto;
    font-size: 13px;
    color: #666;
}

/*-----------------------------------------------------------------------------------*/
/* スマホ用レスポンシブ (max-width: 768px)
/*-----------------------------------------------------------------------------------*/
@media screen and (max-width: 768px) {
    main {
        padding: 50px 5%;
    }

    hr.divider {
        margin: 50px 0;
    }

    /* タイポグラフィ微調整 */
    h2 { font-size: 26px; margin-bottom: 20px; }
    h3 { font-size: 20px; }
    p { font-size: 14px; }

.slide-caption {
        padding: 0 10px; /* 左右の余白を減らして文字のスペースを確保 */
    }

   .slide-caption-text { 
        font-size: 22px;   /* さらに少し小さくして収まりを良くします */
        line-height: 1.2;  /* 行間を詰めて高さを抑えます */
        white-space: nowrap; /* ★ ここが重要：文字を強制的に一行にする設定 */
    }
    
    .slide-caption-text2 { 
        font-size: 16px; 
    }

    .slide-caption-text3 { 
        font-size: 11px; 
        line-height: 1.4;
        white-space: normal; /* 説明文は長いため、折り返しを許可 */
    }

    /* ギャラリーの画像サイズ調整 */
    .photo-gallery {
        grid-template-columns: 1fr; /* スマホでは縦並びに */
        gap: 20px;
    }


.archive-video-grid {
        grid-template-columns: 1fr; /* スマホでは縦1列に並べる */
        gap: 15px;
    }
    .archive-item h3 {
        font-size: 18px;
    }



}