@charset "utf-8";

/* ==========================================
   TOPICS (新着情報) 列表页样式
   ========================================= */

/* --- トピック紹介セクション（左图右文・full width） --- */

.topic-hero {
    position: relative;
    width: 100%;
    min-height: 450px;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    background-color: #4a4a4a;
}

.topic-hero-bg {
    position: relative;
    width: 50%;
    height: 100%;
    z-index: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f5ede0;
}

.topic-hero-bg img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.topic-hero-bg::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 100%;
    background: linear-gradient(to right, transparent 0%, #4a4a4a 100%);
    pointer-events: none;
    z-index: 10;
}

.topic-hero-text {
    position: relative;
    z-index: 1;
    width: 50%;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

.topic-hero-label {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.4em;
    font-family: Arial, sans-serif;
    color: #E8D5A8;
    margin-bottom: 20px;
    border-left: 2px solid #C8A96E;
    padding-left: 12px;
}

.topic-hero-title {
    font-size: 26px;
    font-weight: 300;
    letter-spacing: 0.2em;
    line-height: 1.7;
    color: #fff;
    margin-bottom: 25px;
}

.topic-hero-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    line-height: 2;
    letter-spacing: 0.05em;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .topic-hero {
        flex-direction: column;
        min-height: auto;
    }

    .topic-hero-bg {
        width: 100%;
        height: 350px;
    }

    .topic-hero-text {
        width: 100%;
        padding: 50px 30px;
    }

    .topic-hero-title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .topic-hero-desc {
        font-size: 13px;
    }
}

.page-header{
    padding: 180px 8% 100px;
    background: linear-gradient(to right, #f0ebe3 0%, #fff 40%);
    text-align: center;
    position: relative;
}

.header-container{
    max-width: 1200px;
    margin: 0 auto;
}

.header-sub{
    font-size: 13px;
    color: #666;
    letter-spacing: 0.6em;
    margin-bottom: 25px;
}

.header-title{
    font-size: 60px;
    font-weight: 300;
    color: #222;
    letter-spacing: 0.2em;
    margin-bottom: 15px;
    line-height: 1.2;
}

.header-jp{
    font-size: 23px;
    color: #666;
    letter-spacing: 0.3em;
}

.topics-main-section{
    padding: 100px 8% 150px;
    background-color: #fff;
}

.year-block{
    font-weight: 200;
    color: #222;
    letter-spacing: 0.1em;
    margin-bottom: 80px;
    padding-bottom: 15px;
}

.year-block .year-title{
    display: inline-block;
    font-size: 32px;
    border-left: 3px solid #C8A96E;
    background-color: #F7F3EC;
    padding: 5px 15px;
    margin-bottom: 30px;
}

.topic-item{
    border-bottom: 1px solid #eee;
}

.topic-link{
    display: flex;
    align-items: center;
    padding: 35px 15px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}
.topic-link:hover{
    background-color: #fafafa;
    padding-left: 25px;
}

.topic-meta{
    display: flex;
    align-items: center;
    width: 320px;
    flex-shrink: 0;/*不管右边多长，左边这块320px不准缩*/
}

.topic-meta .date{
    font-size: 15px;
    color: #777;
    font-family: Arial,sans-serif;
    letter-spacing: 0.05em;
    width: 100px;
}

.topic-meta .category-label{
    font-size: 13px;
    background-color: #f2f2f2;
    color: #666;
    padding: 5px 10px;
    min-width: 110px;
    text-align: center;
    letter-spacing: 0.05em;
    margin-left: 20px;
}

.topic-content{
    flex: 1;
    padding-left: 40px;
}

.topic-title{
    font-size: 17px;
    font-weight:400;
    line-height: 1.6;
    color: #444;
    margin-bottom: 10px;
}

.topic-body{
    font-size: 14px;
    line-height: 1.9;
    color: #666;
    margin-bottom: 8px;
}

.topic-body:last-of-type{
    margin-bottom: 0;
}

.topic-note{
    font-size: 12px;
    color: #999;
    margin-top: 6px;
    line-height: 1.7;
}

.topic-note a{
    color: #C8A96E;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.topic-note a:hover{
    color: #B8944F;
}

/* === レスポンシブ === */
@media screen and (max-width: 767px) {
    .page-header {
        padding: 50px 6% 50px;
    }

    .header-sub {
        font-size: 11px;
        letter-spacing: 0.35em;
        margin-bottom: 14px;
    }

    .header-title {
        font-size: 32px;
        letter-spacing: 0.12em;
    }

    .header-jp {
        font-size: 16px;
        letter-spacing: 0.15em;
    }

    .topics-main-section {
        padding: 60px 5% 100px;
    }

    .year-block .year-title {
        font-size: 22px;
    }

    .topic-link {
        flex-direction: column;
        align-items: flex-start;
        padding: 25px 10px;
    }

    .topic-meta {
        width: 100%;
        margin-bottom: 12px;
    }

    .topic-content {
        padding-left: 0;
    }

    .topic-title {
        font-size: 15px;
    }

    .topic-body {
        font-size: 13px;
    }

    .topic-note {
        font-size: 11px;
    }
}
