/* ヒーローセクション */
.p-news {
    padding-top: 80px;
}

.p-news-hero {
    position: relative;
    height: 800px;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.6) 100%
    ),
    url('../../images/news/news_hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.p-news-hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 40px;
}

.p-news-hero__title {
    font-size: 4.5rem;
    font-weight: normal;
    margin-bottom: 30px;
    font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
    letter-spacing: 0.2em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
}

.p-news-hero__subtitle {
    font-size: 1.8rem;
    letter-spacing: 0.1em;
    font-family: "Crimson Text", serif;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease 0.3s forwards;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
}

.p-news-hero__divider {
    width: 80px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 30px auto;
    opacity: 0;
    transform: scaleX(0);
    animation: scaleIn 0.8s ease 0.6s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scaleX(0);
    }
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

@media screen and (max-width: 768px) {
    .p-news-hero {
        height: 400px;
    }

    .p-news-hero__content {
        padding: 0 20px;
    }

    .p-news-hero__title {
        font-size: 2.8rem;
    }

    .p-news-hero__subtitle {
        font-size: 1.2rem;
    }

    .p-news-hero__divider {
        width: 60px;
        margin: 20px auto;
    }
}

/* コンテナ */
.p-news__container {
    max-width: 1000px;
    margin: 80px auto;
    padding: 0 20px;
}

/* 記事一覧 */
.p-news-archive__list {
    margin-bottom: 60px;
}

.p-news-archive__item {
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.p-news-archive__item:first-child {
    border-top: 1px solid #e0e0e0;
}

.p-news-archive__link {
    display: flex;
    padding: 35px 30px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    gap: 35px;
    position: relative;
}

.p-news-archive__link:hover {
    background-color: #f8f8f8;
}

.p-news-archive__thumbnail {
    flex-shrink: 0;
    width: 260px;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.p-news-archive__link:hover .p-news-archive__thumbnail {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

.p-news-archive__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.p-news-archive__link:hover .p-news-archive__thumbnail img {
    transform: scale(1.08);
}

.p-news-archive__content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 5px 0;
    gap: 18px;
    position: relative;
}

.p-news-archive__meta {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.p-news-archive__date {
    display: inline-block;
    font-size: 1.1rem;
    color: #666;
    letter-spacing: 0.08em;
    font-weight: 500;
    position: relative;
    padding-left: 15px;
}

.p-news-archive__date::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background-color: #666;
    border-radius: 50%;
}

.p-news-archive__title {
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.5;
    color: #333;
    transition: color 0.3s ease;
    margin: 10px 0;
    letter-spacing: 0.02em;
}

.p-news-archive__category {
    display: inline-block;
    padding: 4px 14px;
    background-color: #f0f0f0;
    border-radius: 20px;
    font-size: 1rem;
    color: #666;
    transition: all 0.3s ease;
    align-self: flex-start;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.p-news-archive__link:hover .p-news-archive__category {
    background-color: #e0e0e0;
    color: #333;
}

.p-news-archive__arrow {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 32px;
    height: 32px;
    color: #666;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.p-news-archive__link:hover .p-news-archive__arrow {
    transform: translateX(5px);
    color: #333;
    opacity: 1;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .p-news-archive__link {
        padding: 30px 25px;
        flex-direction: column;
        gap: 25px;
    }

    .p-news-archive__thumbnail {
        width: 100%;
        height: 240px;
    }

    .p-news-archive__title {
        font-size: 1.4rem;
        margin: 8px 0;
    }

    .p-news-archive__date {
        font-size: 1rem;
    }

    .p-news-archive__category {
        font-size: 0.9rem;
        padding: 3px 12px;
    }

    .p-news-archive__arrow {
        position: absolute;
        right: 0;
        bottom: 0;
    }
}

/* ページネーション */
.p-news-archive__pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 60px;
}

.p-news-archive__pagination .page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: inherit;
    font-size: 1.4rem;
    transition: all 0.3s;
}

.p-news-archive__pagination .page-numbers.current {
    background-color: #333;
    color: #fff;
    border-color: #333;
}

.p-news-archive__pagination .page-numbers:hover:not(.current) {
    background-color: #f5f5f5;
}

.p-news-archive__pagination .prev,
.p-news-archive__pagination .next {
    width: auto;
    padding: 0 15px;
}

/* 記事が見つからない場合 */
.p-news-archive__no-posts {
    text-align: center;
    padding: 60px 0;
    font-size: 1.6rem;
    color: #666;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .p-news-hero {
        height: 200px;
        margin-bottom: 60px;
    }

    .p-news-hero__title {
        font-size: 2.8rem;
    }

    .p-news-hero__subtitle {
        font-size: 1.4rem;
    }

    .p-news-archive__item {
        padding: 20px 0;
    }

    .p-news-archive__meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .p-news-archive__title {
        font-size: 1.4rem;
    }

    .p-news-archive__pagination {
        margin-top: 40px;
    }

    .p-news-archive__pagination .page-numbers {
        width: 36px;
        height: 36px;
        font-size: 1.3rem;
    }
}

/* アニメーション */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.p-news-archive__item:nth-child(1) { animation-delay: 0.1s; }
.p-news-archive__item:nth-child(2) { animation-delay: 0.2s; }
.p-news-archive__item:nth-child(3) { animation-delay: 0.3s; }
.p-news-archive__item:nth-child(4) { animation-delay: 0.4s; }
.p-news-archive__item:nth-child(5) { animation-delay: 0.5s; }
.p-news-archive__item:nth-child(6) { animation-delay: 0.6s; }
.p-news-archive__item:nth-child(7) { animation-delay: 0.7s; }
.p-news-archive__item:nth-child(8) { animation-delay: 0.8s; }
.p-news-archive__item:nth-child(9) { animation-delay: 0.9s; }
.p-news-archive__item:nth-child(10) { animation-delay: 1.0s; }

/* 投稿詳細ページ */
.p-news-single__container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.p-news-single {
    margin-bottom: 80px;
}

.p-news-single__header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.p-news-single__meta {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.p-news-single__date {
    display: inline-block;
    font-size: 1.1rem;
    color: #666;
    letter-spacing: 0.08em;
    font-weight: 500;
    position: relative;
    padding-left: 15px;
}

.p-news-single__date::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background-color: #666;
    border-radius: 50%;
}

.p-news-single__category {
    display: inline-block;
    padding: 4px 14px;
    background-color: #f0f0f0;
    border-radius: 20px;
    font-size: 1rem;
    color: #666;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.p-news-single__title {
    font-size: 2.4rem;
    font-weight: 500;
    line-height: 1.5;
    color: #333;
    letter-spacing: 0.02em;
}

.p-news-single__thumbnail {
    margin-bottom: 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.p-news-single__thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.p-news-single__content {
    font-size: 1.6rem;
    line-height: 2;
    color: #333;
}

.p-news-single__content p {
    margin-bottom: 1.5em;
}

.p-news-single__content img {
    max-width: 100%;
    height: auto;
    margin: 2em 0;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.p-news-single__content h2 {
    font-size: 2rem;
    font-weight: 500;
    margin: 2em 0 1em;
    padding-bottom: 0.5em;
    border-bottom: 1px solid #e0e0e0;
}

.p-news-single__content h3 {
    font-size: 1.8rem;
    font-weight: 500;
    margin: 1.5em 0 1em;
}

.p-news-single__content ul,
.p-news-single__content ol {
    margin: 1.5em 0;
    padding-left: 1.5em;
}

.p-news-single__content li {
    margin-bottom: 0.5em;
}

.p-news-single__content blockquote {
    margin: 2em 0;
    padding: 1.5em;
    background-color: #f8f8f8;
    border-left: 4px solid #e0e0e0;
    font-style: italic;
}

.p-news-single__nav {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.p-news-single__nav-item {
    flex: 1;
}

.p-news-single__nav-link {
    display: block;
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.p-news-single__nav-link:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.p-news-single__nav-label {
    display: block;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 8px;
}

.p-news-single__nav-title {
    display: block;
    font-size: 1.4rem;
    font-weight: 500;
    color: #333;
    line-height: 1.5;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .p-news-single__title {
        font-size: 2rem;
    }

    .p-news-single__content {
        font-size: 1.4rem;
    }

    .p-news-single__content h2 {
        font-size: 1.8rem;
    }

    .p-news-single__content h3 {
        font-size: 1.6rem;
    }

    .p-news-single__nav {
        flex-direction: column;
        gap: 15px;
    }

    .p-news-single__nav-link {
        padding: 15px;
    }
} 