/*================================================
  ニュース詳細ページ専用CSS
================================================*/

/*---------- ページタイトルメイン ----------*/
.page_title_section {
    padding: 60px 0 40px;
    background: #FFFCF2;
}

.page_main_title {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    line-height: 1.5;
    margin: 0;
}

.article_title_section {
    padding: 40px 0 0;
    margin-bottom: 30px;
    background: #fff;
}

.article_meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 2px solid #FFC700;
}

.article_date {
    font-size: 1.8rem;
    color: #424242;
}

.article_categories {
    display: flex;
    gap: 8px;
}

.article_category {
    padding: 4px 12px;
    background: #FFD93D;
    border-radius: 4px;
    font-size: 1.2rem;
    color: #333;
    font-weight: 500;
}

.article_title {
    font-size: 3.2rem;
    font-weight: 700;
    color: #333;
    line-height: 1.5;
    margin: 0;
}

/*---------- 記事本文 ----------*/
.article_content_section {
    padding: 0 0 80px;
    background: #fff;
}

.article_body {
    display: flex;
    justify-content: space-between;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.article_images {
    max-width: 500px;

}

.article_image_main img {
    width: 500px;
    height: 300px;
}
.article_image_img {
    display: flex;
    justify-content: flex-start;
    align-items: start;
    margin-top: 12px;
    gap: 12px;
}
.article_image_sub img {
    width: 143px;
    height: 88px;
}

.article_thumbnail {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
}

.article_thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.article_text {
    display: flex;
    width: 50%;
    font-size: 1.6rem;
    line-height: 2;
    color: #333;
    gap: 30px;
}

.article_text p {
    margin-bottom: 30px;
}

.article_text h2 {
    font-size: 2.4rem;
    font-weight: 700;
    margin: 50px 0 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #333;
}

.article_text h3 {
    font-size: 2rem;
    font-weight: 700;
    margin: 40px 0 20px;
}

.article_text ul,
.article_text ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article_text li {
    margin-bottom: 10px;
}

.article_text img {
    max-width: 100%;
    height: auto;
    margin: 30px 0;
    border-radius: 8px;
}

/*---------- 関連ニュース ----------*/
.related_news_section {
    padding: 80px 0;
}

.related_news_title {
    font-size: 6rem;
    font-weight: 700;
    color: #333;
    text-align: left;
    margin-bottom: 10px;
}

.related_news_subtitle {
    font-size: 1.5rem;
    color: #666;
    text-align: left;
    margin-bottom: 50px;
}

.related_news_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.related_news_item {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding: 0 20px 20px 20px;
    background: #fff;
    overflow: hidden;
    border-bottom: 1px solid #E8C502;
}

.related_news_link {
    display: block;
    text-decoration: none;
}

.related_news_link:nth-child(1),
.related_news_link:nth-child(2) {
    border-top: 1px solid #E8C502;
    padding: 20px 0 0 0;
}

.related_news_thumbnail {
    width: 154px;
    height: 88px;
    background: #E5E5E5;
    overflow: hidden;
}

.related_news_thumbnail img {
    width: 154px;
    height: 100%;
    object-fit: cover;
}

.related_news_thumbnail_placeholder {
    width: 154px;
    height: 100%;
    background: #E5E5E5;
}

.related_news_content {
    width: 70%;
    padding: 0 0 0 20px;
}

.related_news_date {
    font-size: 1.3rem;
    color: #999;
    display: block;
    margin-bottom: 10px;
}

.related_news_title_text {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    line-height: 1.5;
    margin: 0;
}

.related_news_button_wrap {
    text-align: center;
}

.related_news_button {
    width: 100%;
    display: inline-block;
    padding: 18px 60px;
    background: #FFD93D;
    color: #333;
    font-size: 1.6rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 217, 61, 0.3);
}

.related_news_button:hover {
    background: #FFC700;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 217, 61, 0.4);
}

/*---------- レスポンシブ対応 ----------*/
@media screen and (max-width: 1024px) {
    .related_news_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .page_title_section {
        padding: 40px 0 30px;
    }

    .page_main_title {
        font-size: 2.4rem;
    }

    .article_title_section {
        padding: 40px 0 0;
    }

    .article_meta {
        margin-bottom: 0;
        flex-wrap: wrap;
    }

    .article_title {
        font-size: 2.4rem;
    }

    .article_content_section {
        padding: 40px 0;
    }

    .article_thumbnail {
        margin-bottom: 30px;
    }

    .article_text {
        font-size: 1.5rem;
    }

    .article_text h2 {
        font-size: 2rem;
        margin: 40px 0 20px;
    }

    .article_text h3 {
        font-size: 1.8rem;
        margin: 30px 0 15px;
    }

    .related_news_section {
        padding: 60px 0;
    }

    .related_news_title {
        font-size: 3.2rem;
    }

    .related_news_subtitle {
        margin-bottom: 40px;
    }

    .related_news_grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .related_news_thumbnail {
        height: 180px;
    }

    .related_news_button {
        padding: 16px 50px;
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .article_title_section {
        padding: 0;
    }

    .article_body {
        display: block;
        max-width: 100%;
        margin: 0 auto;
    }

    .article_title {
        font-size: 2rem;
    }

    .article_content_section {
        padding: 30px 0;
    }

    .article_text {
        margin-top: 20px;
        width: 100%;
        font-size: 1.4rem;
    }

    .article_text h2 {
        font-size: 1.8rem;
    }

    .article_text h3 {
        font-size: 1.6rem;
    }

    .related_news_section {
        padding: 40px 0;
    }

    .related_news_title {
        font-size: 2.8rem;
    }

    .related_news_thumbnail {
        height: 88px;
    }

    .related_news_content {
        width: 70%;
        padding: 0 15px;
    }

    .related_news_date {
        font-size: 1.2rem;
    }

    .related_news_title_text {
        font-size: 1.8rem;
    }

    .related_news_item {
        justify-content: start;
    }

    .related_news_thumbnail_placeholder {
        width: 100%;
        height: auto;
    }

    .related_news_button {
        padding: 14px 40px;
        font-size: 1.4rem;
    }

    .page_title_section {
        padding: 30px 0 20px;
    }

    .page_main_title {
        font-size: 2rem;
    }

    .related_news_link:nth-child(2) {
        border-top: none;
        padding: 0;
    }

}
