/* 新着情報詳細ページのスタイル */

/* ヒーローセクション */
.p-news-hero {
    position: relative;
    height: 400px;
    background-image: url('../images/news-hero.jpg');
    background-size: cover;
    background-position: center;
    margin-bottom: 80px;
}

.p-news-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
}

.p-news-hero__content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    z-index: 1;
    text-align: center;
}

.p-news-hero__title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 0.1em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.p-news-hero__subtitle {
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    margin-bottom: 30px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.p-news-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    border-radius: 30px;
    backdrop-filter: blur(5px);
}

.p-news-hero__breadcrumb-link {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.p-news-hero__breadcrumb-link:hover {
    opacity: 0.8;
    transform: translateY(-1px);
}

.p-news-hero__breadcrumb-separator {
    color: #fff;
    opacity: 0.7;
}

.p-news-hero__breadcrumb-current {
    color: #fff;
    opacity: 0.7;
}

/* 詳細ページのメインコンテナ */
.p-news-single {
    max-width: 1600px;
    margin: 0 auto;
    padding: 100px 20px;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

/* 記事コンテナ */
.p-news-single__article {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
}

.p-news-single__article::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, #2c5f2d, #4a9f4b);
}

/* ヘッダー部分 */
.p-news-single__header {
    margin-bottom: 40px;
    padding: 80px 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.p-news-single__header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.1), transparent);
}

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

.p-news-single__date {
    display: inline-flex;
    align-items: center;
    font-size: 1.1rem;
    color: #666;
    letter-spacing: 0.08em;
    font-weight: 500;
    position: relative;
    padding: 8px 16px;
    background-color: #f8f8f8;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.p-news-single__date::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.3s ease;
}

.p-news-single__date:hover {
    background-color: #f0f0f0;
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.p-news-single__date:hover::before {
    transform: scale(1.1);
}

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

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

.p-news-single__title {
    font-size: 3.2rem;
    font-weight: bold;
    margin-bottom: 40px;
    line-height: 1.2;
    color: #2c3e50;
    position: relative;
    padding-bottom: 30px;
    text-align: center;
    letter-spacing: -0.02em;
}

.p-news-single__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #2c5f2d, #4a9f4b);
    border-radius: 2px;
}

/* サムネイル */
.p-news-single__thumbnail {
    margin: 0 60px 60px;
    position: relative;
    width: calc(100% - 120px);
    height: 0;
    padding-bottom: 56.25%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.p-news-single__thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.p-news-single__thumbnail:hover::before {
    opacity: 1;
}

.p-news-single__thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* コンテンツ */
.p-news-single__content {
    margin: 0 60px 80px;
    padding: 50px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    line-height: 2;
    position: relative;
}

.p-news-single__content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.1), transparent);
}

.p-news-single__content p {
    margin-bottom: 2em;
    color: #2c3e50;
    font-size: 1.15rem;
    line-height: 1.8;
}

.p-news-single__content img {
    max-width: 100%;
    height: auto;
    margin: 2.5em 0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.p-news-single__content img:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

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

.p-news-single__content h3 {
    font-size: 1.9rem;
    font-weight: 500;
    margin: 2em 0 1em;
    color: #333;
}

.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.8em;
    position: relative;
}

.p-news-single__content ul li::before {
    content: '';
    position: absolute;
    left: -1.2em;
    top: 0.8em;
    width: 6px;
    height: 6px;
    background-color: #333;
    border-radius: 50%;
}

.p-news-single__content blockquote {
    margin: 2.5em 0;
    padding: 2em;
    background-color: #f8f8f8;
    border-left: 4px solid #333;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #666;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* ナビゲーション */
.p-news-single__navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 80px 60px;
    padding: 40px 0;
    border-top: 1px solid #e0e0e0;
    gap: 30px;
}

.p-news-single__nav-prev,
.p-news-single__nav-next {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 25px;
    background-color: #f8f8f8;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.p-news-single__nav-prev::before,
.p-news-single__nav-next::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #2c5f2d, #4a9f4b);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.p-news-single__nav-prev:hover::before,
.p-news-single__nav-next:hover::before {
    opacity: 1;
}

.p-news-single__nav-prev:hover,
.p-news-single__nav-next:hover {
    background-color: #f0f0f0;
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.p-news-single__nav-archive {
    display: inline-block;
    padding: 15px 40px;
    background-color: #2c5f2d;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(44, 95, 45, 0.2);
}

.p-news-single__nav-archive:hover {
    background-color: #4a9f4b;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(44, 95, 45, 0.3);
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .p-news-single {
        padding: 60px 20px;
    }

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

    .p-news-single__title {
        font-size: 2.4rem;
        margin-bottom: 30px;
        padding-bottom: 20px;
    }

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

    .p-news-single__date {
        font-size: 1rem;
        padding: 6px 12px;
    }

    .p-news-single__date::before {
        width: 14px;
        height: 14px;
        margin-right: 6px;
    }

    .p-news-single__thumbnail {
        margin: 0 20px 40px;
        width: calc(100% - 40px);
    }

    .p-news-single__content {
        margin: 0 20px 40px;
        padding: 30px;
    }

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

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

    .p-news-single__navigation {
        flex-direction: column;
        margin: 40px 20px;
        padding: 30px 0;
        gap: 20px;
    }

    .p-news-single__nav-prev,
    .p-news-single__nav-next {
        width: 100%;
    }

    .p-news-single__nav-archive {
        width: 100%;
        text-align: center;
    }
} 