/*
 * Single News/Event Page Styles
 * お知らせ・イベント個別記事のスタイル
 */

/* Page Container */
.news-detail-page {
    background-color: #fbf9f4;
    min-height: 100vh;
    position: relative;
}

/* Hero Section */
.news-hero-section {
    background-color: #5a7c56;
    padding: 40px 20px 50px;
    position: relative;
}

.news-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.news-hero-title {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    letter-spacing: 0.05em;
    color: white;
    line-height: 1.5;
    margin: 0 0 25px;
    padding: 0 20px;
}

.news-hero-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.hero-dot {
    width: 14px;
    height: 14px;
    background-color: #e6ae25;
    border-radius: 50%;
}

/* Content Section */
.news-content-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 80px;
}

.news-content-container {
    max-width: 100%;
    margin: 0 auto;
}

/* Featured Image */
.news-featured-image {
    margin-bottom: 50px;
    text-align: center;
}

.news-main-image {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
}

/* Event Info */
.news-event-info {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.02em;
    color: #333;
    line-height: 2;
    margin-bottom: 40px;
    background: white;
    padding: 25px 30px;
    border-radius: 12px;
    border-left: 5px solid #5a7c56;
}

.news-event-info p {
    margin: 8px 0;
}

/* Main Content */
.news-main-content {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
    color: #333;
    line-height: 1.9;
}

.news-main-content p {
    margin: 0 0 1.5em;
}

.news-main-content h2 {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    letter-spacing: 0.05em;
    color: #42210b;
    margin: 60px 0 25px;
    padding: 15px 0 15px 20px;
    border-left: 5px solid #5a7c56;
    background: white;
}

.news-main-content h3 {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 0.03em;
    color: #42210b;
    margin: 40px 0 20px;
    padding-left: 15px;
    border-left: 3px solid #e6ae25;
}

.news-main-content ul,
.news-main-content ol {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.news-main-content li {
    padding-left: 30px;
    margin-bottom: 12px;
    position: relative;
    line-height: 1.8;
}

.news-main-content ul li::before {
    content: "・";
    position: absolute;
    left: 10px;
    color: #5a7c56;
    font-weight: 700;
}

.news-main-content ol {
    counter-reset: item;
}

.news-main-content ol li {
    counter-increment: item;
}

.news-main-content ol li::before {
    content: counter(item) ".";
    position: absolute;
    left: 10px;
    color: #5a7c56;
    font-weight: 700;
}

.news-main-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
}

.news-main-content a {
    color: #5a7c56;
    text-decoration: underline;
    word-break: break-all;
}

.news-main-content a:hover {
    color: #4a6547;
    text-decoration: none;
}

/* Tags Section */
.news-tags-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #e0e0e0;
}

.news-tags-title {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.02em;
    color: #333;
    margin: 0 0 15px;
}

.news-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.news-tag {
    background: white;
    border: 2px solid #5a7c56;
    border-radius: 20px;
    padding: 8px 20px;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    color: #5a7c56;
    text-decoration: none;
    cursor: default;
    pointer-events: none;
}

/* Sidebar */
.news-sidebar {
    position: fixed;
    right: 0;
    top: 40%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 100;
}

.news-sidebar-widget {
    background-color: #53834f;
    border-radius: 12px;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    text-decoration: none;
    display: block;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.news-sidebar-widget:hover {
    transform: translateX(-5px);
    background-color: #6a9f65;
}

.member-registration-widget {
    width: 89px;
    height: 361px;
    writing-mode: vertical-rl;
}

.news-events-widget {
    background-color: #e6ae25;
    width: 89px;
    height: 424px;
}

.news-events-widget:hover {
    background-color: #f0bc3d;
}


/* Responsive Design */
@media (max-width: 1400px) {
    .news-sidebar {
        display: none;
    }
    
    .news-top-button {
        right: 30px;
        bottom: 30px;
        width: 120px;
        height: 120px;
    }
    
    .news-top-button-text {
        font-size: 22px;
    }
}

@media (max-width: 1024px) {
    .news-hero-title {
        font-size: 2rem;
    }
    
    .news-event-info {
        font-size: 1.1rem;
        padding: 20px 25px;
    }
    
    .news-main-content {
        font-size: 1rem;
    }
    
    .news-main-content h2 {
        font-size: 1.75rem;
        padding: 12px 0 12px 18px;
    }
    
    .news-main-content h3 {
        font-size: 1.35rem;
    }
}

@media (max-width: 768px) {
    .news-hero-section {
        padding: 30px 20px 40px;
    }
    
    .news-hero-title {
        font-size: 1.75rem;
    }
    
    .hero-dot {
        width: 12px;
        height: 12px;
    }
    
    .news-content-section {
        padding: 40px 20px 60px;
    }
    
    .news-featured-image {
        margin-bottom: 35px;
    }
    
    .news-event-info {
        font-size: 1rem;
        padding: 18px 20px;
    }
    
    .news-main-content {
        font-size: 0.95rem;
        line-height: 1.8;
    }
    
    .news-main-content h2 {
        font-size: 1.5rem;
        margin: 40px 0 20px;
        padding: 10px 0 10px 15px;
    }
    
    .news-main-content h3 {
        font-size: 1.2rem;
        margin: 30px 0 15px;
        padding-left: 12px;
    }
    
    .news-main-content li {
        padding-left: 25px;
    }
    
    .news-main-content img {
        margin: 25px 0;
    }
    
    .news-tags-title {
        font-size: 1.1rem;
    }
    
    .news-tag {
        font-size: 0.9rem;
        padding: 6px 16px;
    }
    
    .news-contact-section {
        padding: 50px 20px 60px;
    }
    
    .news-contact-card {
        padding: 35px 25px;
    }
    
    .news-contact-icon {
        width: 60px;
        height: 60px;
    }
    
    .news-contact-title {
        font-size: 1.5rem;
    }
    
    .news-contact-button {
        font-size: 1rem;
        padding: 10px 40px;
    }
}

@media (max-width: 480px) {
    .news-hero-title {
        font-size: 1.5rem;
        padding: 0 15px;
    }
    
    .hero-dot {
        width: 10px;
        height: 10px;
        gap: 8px;
    }
    
    .news-event-info {
        font-size: 0.9rem;
        padding: 15px 18px;
    }
    
    .news-main-content {
        font-size: 0.9rem;
    }
    
    .news-main-content h2 {
        font-size: 1.3rem;
        padding: 10px 0 10px 12px;
    }
    
    .news-main-content h3 {
        font-size: 1.1rem;
        padding-left: 10px;
    }
    
    .news-main-content li {
        padding-left: 22px;
    }
    
    .news-contact-card {
        padding: 30px 20px;
    }
    
    .news-contact-title {
        font-size: 1.3rem;
    }
    
    .news-contact-button {
        font-size: 0.95rem;
        padding: 10px 35px;
    }
}

