/* ========================================
   Information Archive Page
======================================== */

/* ========================================
   Information Archive Header (Same size as blog archive)
======================================== */
#news_archive_header {
    height: 550px;
    position: relative;
    overflow: hidden;
    background: #fff;
    margin: 0 0 15px 0;
    width: 100%;
}

#news_archive_header .header_image {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

#news_archive_header .header_content {
    position: absolute;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 50px;
    box-sizing: border-box;
}

#news_archive_header .headline {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    font-size: 32px;
    line-height: 1.4;
    color: #fff;
    background: none !important;
    padding: 0;
    margin: 0 0 20px 0;
    display: inline-block;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

#news_archive_header .desc {
    color: #fff;
    font-size: 18px;
    line-height: 1.8;
    max-width: 800px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

#news_archive_header .overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

/* Full width layout (no sidebar) */
#main_contents.information-archive {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    padding-top: 15px !important;
    padding-bottom: 60px !important;
}

#main_contents.information-archive #main_col {
    width: 100% !important;
    float: none !important;
}

/* Archive headline styling */
/* Archive headline styling */
#news_archive .design_headline.blog_header.hide_icon {
    margin-bottom: 30px !important;
    text-align: center !important;
    background: #902130 !important;
    /* 透明ではなく白を指定 */
    border: none !important;
    padding: 0 !important;
    color: #ffffff !important;
    /* 文字色を黒に強制 */
}

/* アイコンを確実に非表示にする */
#news_archive .design_headline.blog_header.hide_icon:before,
#news_archive .design_headline.blog_header.hide_icon:after {
    display: none !important;
    content: none !important;
    background: none !important;
    width: 0 !important;
    height: 0 !important;
}

#news_archive .design_headline.blog_header.hide_icon .headline_text {
    font-family: 'Roboto', sans-serif !important;
    font-size: 16px !important;
    font-weight: bold !important;
    display: inline-block !important;
    color: #ffffff !important;
    /* 文字色を白に変更 */
}

/* News list layout */
.info-list-layout {
    width: 100%;
}

.info-item {
    display: block;
    /* 縦積み */
    width: 100%;
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid #ddd;
}

.info-item:last-child {
    border-bottom: none;
}

/* Header Section (Date & Title) */
.info-header {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 30px;
}

.info-header .date {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #333;
    margin: 0;
    white-space: nowrap;
    padding-top: 4px;
    /* タイトルとのベースライン調整 */
}

.info-header .title {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    line-height: 1.4;
}

.info-header .title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.info-header .title a:hover {
    color: #9d2235;
}

/* Content Section (Image & Body) */
.info-content-wrap {
    display: flex;
    gap: 40px;
    max-width: 1008px;
    margin: 0 auto;
    /* 中央配置 */
}

/* Left Column (Image) */
.info-left {
    width: 270px;
    flex-shrink: 0;
}

.info-left .image-wrap {
    width: 100%;
    overflow: hidden;
    /* ホバー時の拡大用 */
}

.info-left .image-wrap img {
    width: 100%;
    height: auto;
    /* アスペクト比を維持 */
    vertical-align: bottom;
    transition: transform 0.5s ease;
}

.info-left a:hover .image-wrap img {
    transform: scale(1.05);
}

/* Right Column (Body Content) */
.info-right {
    flex: 1;
    min-width: 0;
    /* Prevent flex overflow */
}

.info-right .post_content {
    font-size: 15px;
    color: #333;
}

.info-right .post_content p {
    margin-bottom: 5px;
    /* mb-5px */
    line-height: 1.5;
    /* 150% */
}

.info-right .post_content img {
    max-width: 100%;
    height: auto;
}

/* Tablet styles */
@media only screen and (max-width: 1024px) {
    #news_archive_header {
        height: 450px;
        margin: 0 0 15px 0;
    }

    #news_archive_header .headline {
        font-size: 28px;
        padding: 0;
    }

    #news_archive_header .desc {
        font-size: 16px;
    }

    .info-item {
        gap: 30px;
        padding: 40px 0;
    }

    .info-left .title {
        font-size: 16px;
    }

    .info-right .excerpt {
        font-size: 14px;
    }
}

/* Mobile styles */
@media only screen and (max-width: 650px) {
    #news_archive_header {
        height: 360px;
        margin: 0 0 10px 0;
        width: 100%;
    }

    /* モバイル用画像に切り替え */
    #news_archive_header .header_image {
        background-image: url('../images/headers/SP_information.png') !important;
    }

    #news_archive_header .header_content {
        padding: 0 20px;
    }

    /* モバイルではヘッダー内の見出しを非表示 */
    #news_archive_header .headline.rich_font {
        display: none !important;
    }

    #news_archive_header .desc {
        font-size: 14px;
        line-height: 1.6;
    }

    #main_contents.information-archive {
        padding: 0 15px;
        padding-top: 15px !important;
        padding-bottom: 60px !important;
    }

    #news_archive .design_headline {
        font-size: 16px;
        padding: 0;
    }

    .info-item {
        padding: 30px 0;
    }

    .info-item:first-child {
        padding-top: 30px;
    }

    /* モバイル用レイアウト調整 */
    .info-header {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 20px;
    }

    .info-header .date {
        font-size: 13px;
        padding-top: 0;
    }

    .info-header .title {
        font-size: 16px;
        line-height: 1.5;
    }

    .info-content-wrap {
        flex-direction: column;
        gap: 20px;
    }

    .info-left {
        width: 100%;
        max-width: 270px;
        /* SPでも最大270px */
        margin: 0 auto;
        /* SP時は中央配置 */
    }

    .info-left .image-wrap {
        padding-top: 0;
        /* 高さ固定を解除 */
    }

    .info-right .post_content {
        font-size: 14px;
        line-height: 1.7;
    }
}

/* Breadcrumb Styles */
#bread_crumb {
    width: 100%;
}

#bread_crumb ul {
    width: 1080px;
    margin: 0 auto;
    font-size: 14px;
}

@media screen and (max-width: 1080px) {
    #bread_crumb ul {
        width: 100%;
        padding: 15px 20px;
        box-sizing: border-box;
    }
}