/**
 * WordPress追加スタイル
 * 投稿一覧、お知らせ詳細、ページネーションなど
 */

.page_list{
    padding: 30px 0;
}

/* ページヘッダー */
.page-header {
    background: #E6F0F4;
    color: #1F6CAB;
    padding: 3rem 0 2rem;
    margin-bottom: 0;
}

.page-header-content {
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1F6CAB;
}

/* パンくずリスト */
.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #1F6CAB;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: #1F6CAB;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 0.25rem;
}

.button-area {
    text-align: center;
    margin-top: 3rem;
}

/* 投稿一覧 */
.posts-list {
    margin-bottom: 3rem;
}

.post-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    display: flex;
    gap: 2rem;
}

.post-thumbnail {
    flex: 0 0 200px;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.post-content {
    flex: 1;
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.post-date {
    color: #666;
}

.post-category {
    background: #ff845a;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.post-excerpt {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* お知らせ詳細 */
.news-article {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 3rem;
}

.news-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.news-date {
    color: #666;
    font-weight: 500;
}

.news-category {
    background: #ff845a;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
}

.news-thumbnail {
    margin-bottom: 2rem;
}

.news-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.news-content {
    line-height: 1.8;
}

.news-content p {
    margin-bottom: 1rem;
}

.news-content h2,
.news-content h3,
.news-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* 投稿ナビゲーション */
.post-navigation {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.nav-previous,
.nav-next {
    display: block;
}

.nav-previous a,
.nav-next a {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-previous a:hover,
.nav-next a:hover {
    border-color: #ff845a;
    background: #fff5f2;
}

.nav-subtitle {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.nav-title {
    color: #333;
    font-weight: 600;
}

.nav-next {
    text-align: right;
}

/* ページネーション */
.pagination {
    display: flex;
    justify-content: center;
    margin: 3rem 0;
}

.pagination .nav-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination .page-numbers:hover {
    background: #ff845a;
    border-color: #ff845a;
    color: white;
}

.pagination .page-numbers.current {
    background: #ff845a;
    border-color: #ff845a;
    color: white;
}

.pagination .page-numbers.dots {
    border: none;
    background: none;
}

/* 投稿なし */
.no-posts {
    text-align: center;
    padding: 4rem 2rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 3rem;
}

.no-posts p {
    color: #666;
    font-size: 1.1rem;
}

/* お知らせ一覧 */
.news-list {
    margin-bottom: 3rem;
}

/* お知らせアーカイブ - タブ */
.announcement-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e9ecef;
    flex-wrap: wrap;
}

.announcement-tabs .tab-button {
    background: none;
    border: none;
    padding: 1rem 2rem;
    cursor: pointer;
    font-size: 1rem;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.announcement-tabs .tab-button.active,
.announcement-tabs .tab-button:hover {
    color: #ff845a;
    border-bottom-color: #ff845a;
}

/* ページコンテンツ */
.page-content,
.clinic-content {
    line-height: 1.8;
}

.page-content p,
.clinic-content p {
    margin-bottom: 1rem;
}

.page-content img,
.clinic-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.page-thumbnail {
    margin-bottom: 2rem;
}

.page-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* ページリンク */
.page-links {
    margin: 2rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.page-links-title {
    font-weight: 600;
    margin-right: 1rem;
}

.page-links a {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin: 0 0.25rem;
    text-decoration: none;
    color: #333;
}

.page-links a:hover {
    background: #ff845a;
    border-color: #ff845a;
    color: white;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .page-header {
        padding: 2rem 0 1.5rem;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .breadcrumb {
        font-size: 0.8rem;
    }

    .post-item {
        flex-direction: column;
    }

    .post-thumbnail {
        flex: none;
        width: 100%;
    }

    .nav-links {
        grid-template-columns: 1fr;
    }

    .nav-next {
        text-align: left;
    }

    .pagination .page-numbers {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

    .announcement-tabs {
        flex-direction: column;
        gap: 0;
        border-bottom: none;
    }

    .announcement-tabs .tab-button {
        border-bottom: 1px solid #e9ecef;
        border-radius: 0;
        padding: 0.875rem 1rem;
    }

    .announcement-tabs .tab-button.active {
        background-color: #fff5f2;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 1.5rem 0 1rem;
    }

    .page-title {
        font-size: 1.5rem;
    }

    .breadcrumb {
        font-size: 0.75rem;
    }

    .post-item {
        padding: 1.5rem;
    }

    .news-article {
        padding: 1.5rem;
    }

    .post-navigation {
        padding: 1.5rem;
    }
}

/*clinic/schedule/
************************************************************************************/
table.schedule{
	width: 100%;
	margin: 20px auto;
	border-collapse:collapse;
	border: 1px solid #54362b;
	table-layout: fixed;
}
table.schedule caption{
	text-align: right;
	padding-bottom: 5px;
}
table.schedule th{
	padding: 5px 15px;
	text-align: left;
	border: 1px solid #54362b;
	background: #fbb689;
	color: #FFF;
}
table.schedule thead th{
	background: #ff7777;
	color: #FFF;
	text-align: center;
}
table.schedule th.nobold{
	font-weight: normal;
}

table.schedule tr th:first-child{
	width: 190px;
}

table.schedule td{
	padding: 5px 5px;
	border: 1px solid #54362b;
	word-break: break-all;
	word-wrap:break-word;
	background: #FFF;
	text-align: center;
	font-size: 18px;
	line-height: 1.0;
}
table.schedule .memo{
	font-size: 12px;
}
@media screen and (max-width: 979px) {
table.schedule th{
	padding: 5px;
}
table.schedule td{
	padding: 5px;
	width: auto;
}
}
@media screen and (max-width: 768px){
table.schedule{
	font-size: 14px;
}
table.schedule tr th:first-child{
	width: 40%;
}
}
@media screen and (max-width: 620px) {
table.schedule tr th:first-child{
	width: auto;
}
table.schedule tr th:first-child,
table.schedule tbody th.ttl{
	width: 130px;
}
table.schedule tbody td{
	width: 1em !important;
}
}
.table_scroll .sp_comment{
	display: none;
}
.table_scroll .scroll_body{}

@media screen and (max-width: 620px) {
.table_scroll .sp_comment{
	display: block;
}
.table_scroll .scroll_body{
	width: 100%;
	overflow-x: scroll;
}
.table_scroll .scroll_body table{
	width: 630px !important;
}
}
@media screen and (max-width: 480px) {
.table_scroll .scroll_body table{
	width: 550px !important;
}
}