@charset "utf-8";

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
投稿詳細ページスタイル
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/

/* メインコンテナ */
.site-main {
    padding: 60px 0;
    background: #ffffff;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 記事コンテナ */
.post {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* 記事ヘッダー */
.entry-header {
    padding: 40px 40px 30px;
    border-bottom: 1px solid #e5e7eb;
    /* background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%); */
}

.entry-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.4;
    color: #1f2937;
    margin: 0 0 20px 0;
    letter-spacing: 0.05em;
}

.entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    font-size: 0.9rem;
    color: #6b7280;
}

.entry-date {
    display: flex;
    align-items: center;
    font-weight: 500;
}

.entry-date::before {
    content: "📅";
    margin-right: 5px;
}

.entry-categories {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.entry-categories a {
    background: #D31762;
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.entry-categories a:hover {
    background: #b31452;
}

.entry-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.entry-tags a {
    background: #e5e7eb;
    color: #374151;
    padding: 4px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.entry-tags a:hover {
    background: #d1d5db;
}

/* アイキャッチ画像 */
.entry-thumbnail {
    padding: 30px 40px 0;
}

.entry-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 記事本文 */
.entry-content {
    padding: 30px 40px 40px;
    line-height: 1.8;
    color: #374151;
    font-size: 1rem;
}

/* 見出しスタイル */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: #1f2937;
    font-weight: 700;
    margin: 2em 0 1em 0;
    line-height: 1.4;
}

.entry-content h1 {
    font-size: 2rem;
    border-left: 4px solid #D31762;
    padding-left: 15px;
}

.entry-content h2 {
    font-size: 1.8rem;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 10px;
}

.entry-content h3 {
    font-size: 1.5rem;
    color: #D31762;
}

.entry-content h4 {
    font-size: 1.3rem;
}

.entry-content h5 {
    font-size: 1.1rem;
}

.entry-content h6 {
    font-size: 1rem;
}

/* 段落とテキスト */
.entry-content p {
    margin-bottom: 1.5em;
    text-align: justify;
}

.entry-content strong {
    font-weight: 700;
    color: #1f2937;
}

.entry-content em {
    font-style: italic;
    color: #6b7280;
}

/* リスト */
.entry-content ul,
.entry-content ol {
    margin: 1.5em 0;
    padding-left: 2em;
}

.entry-content li {
    margin-bottom: 0.5em;
}

.entry-content ul li {
    list-style-type: disc;
}

.entry-content ol li {
    list-style-type: decimal;
}

/* リンク */
.entry-content a {
    color: #D31762;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.entry-content a:hover {
    color: #b31452;
}

/* 引用 */
.entry-content blockquote {
    background: #f8fafc;
    border-left: 4px solid #D31762;
    padding: 20px;
    margin: 2em 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #4b5563;
}

.entry-content blockquote p {
    margin: 0;
}

/* コード */
.entry-content code {
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.entry-content pre {
    background: #1f2937;
    color: #f9fafb;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2em 0;
}

.entry-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

/* テーブル */
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2em 0;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.entry-content th,
.entry-content td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.entry-content th {
    background: #f8fafc;
    font-weight: 700;
    color: #1f2937;
}

.entry-content tr:hover {
    background: #f9fafb;
}

/* 画像 */
.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5em 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 記事フッター */
.entry-footer {
    padding: 30px 40px;
    border-top: 1px solid #e5e7eb;
    /* background: #f8fafc; */
}

/* ナビゲーション */
.post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.nav-previous,
.nav-next {
    flex: 1;
}

.nav-previous a,
.nav-next a {
    display: block;
    padding: 15px 20px;
    background: #ffffff;
    color: #374151;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-previous a:hover,
.nav-next a:hover {
    background: #D31762;
    color: #ffffff;
    border-color: #D31762;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(211, 23, 98, 0.3);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .site-main {
        padding: 40px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .entry-header {
        padding: 30px 20px 20px;
    }
    
    .entry-title {
        font-size: 2rem;
    }
    
    .entry-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .entry-thumbnail {
        padding: 20px 20px 0;
    }
    
    .entry-content {
        padding: 20px 20px 30px;
    }
    
    .entry-content h1 {
        font-size: 1.8rem;
    }
    
    .entry-content h2 {
        font-size: 1.6rem;
    }
    
    .entry-content h3 {
        font-size: 1.4rem;
    }
    
    .entry-footer {
        padding: 20px 20px;
    }
    
    .post-navigation {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .entry-title {
        font-size: 1.8rem;
    }
    
    .entry-content h1 {
        font-size: 1.6rem;
    }
    
    .entry-content h2 {
        font-size: 1.4rem;
    }
    
    .entry-content h3 {
        font-size: 1.3rem;
    }
}

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
お知らせセクション非表示
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/
.section-news,
section.section-news,
div.section-news,
.section.section-news {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}
