/*
Theme Name: SHINYA YAMAMOTO
Theme URI: https://shinya-yamamoto.com
Template: lightning
Description: SHINYA YAMAMOTO web
Author:
Tags:
Version: 1.0.0
*/

/* ==========================================================================
   基本設定
   ========================================================================== */

body, h1, h2, h3, h4, h5, h6, p, a, input, textarea, select {
	font-family: "Lato", "Noto Sans JP", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #444444;
}

/* サイトロゴ */
.site-header-logo a,
.global-nav-name,
.entry-title a {
	font-family: "Lato", "Noto Sans JP", sans-serif;
    font-weight: 400;
    letter-spacing: 0.02em;
    transition: 0.5s;
	font-size: 1.6rem;
    color: #1a1a1a !important;
}

.global-nav-list>li .global-nav-name {
	font-family: "Lato", "Noto Sans JP", sans-serif;
    font-size: 15px !important;
    color: #444444;
}

.site-header {
    width: 100%;
    overflow: visible;
    z-index: 1000;
    position: relative;
    box-shadow: none;
}




h1 { font-size: 1.3rem;
    /*margin-top: 30px;*/
}

h2 {
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #1a1a1a;
}

/* h2デフォルトborderを削除 */
.entry-title--post-type--page,
h2:where(:not(.wp-block-post-title)) {
    padding: .5em 0;
    border-top: none;
    border-bottom: none;
}

.wp-block-separator {
    border: none;
}

.newsletter { margin-bottom: 0;
    font-size: 24px;
}

.newsletter_p { margin-bottom: 10px;
    font-size: 14px;
}

/* 非表示要素 */
.page-header,
.entry-meta,
.next-prev { display: none; }

/* ページボディのpadding */
.site-body { padding: 0.5rem 0 4rem; }

/* フッター */
.site-footer-copyright p { display: none !important; }

.site-footer {
    border-top: 1px solid #e0e0e0;}

.site-footer-copyright::before {
    content: "© SHINYA YAMAMOTO";
    display: block;
    text-align: center;
    font-size: 14px;
    padding: 10px 0;
}

/* ユーティリティ */
.supplement { font-size: 0.8rem; }

.custom-description {
    margin-bottom: 40px;
    padding-bottom: 10px;
    font-size: 0.8rem;
    line-height: 1.6;
    color: #2e2e2e;
    animation: fadeIn 1s ease-in-out !important;
}




/* メインビジュアルのサイズここでかわる */
@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        /* max-width: 65%; */
    }
}




/* ==========================================================================
   リンク
   ========================================================================== */

a,
a:link,
a:visited { color: #1a1a1a; }

a:hover {
    color: #444444;
    opacity: 0.7;
}

/* ==========================================================================
   アニメーション
   ========================================================================== */

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* 固定ページ */
.page-id-3 .site-body,
.page-id-481 .site-body,
.page-id-646 .site-body,
.page-id-569 .site-body,
.page-id-3 .site-main,
.page-id-481 .site-main,
.page-id-646 .site-main,
.page-id-569 .site-main {
    animation: fadeIn 1s ease-in-out !important;
}

/* カスタム投稿アーカイブ・シングル */
.single .site-body,
.single-news .site-body,
.single-writings .site-body,
.single-haiku .site-body,
.single-exhibitions .site-body,
.post-type-archive-exhibitions .site-body,
.single .site-main,
.single-news .site-main,
.single-writings .site-main,
.single-haiku .site-main,
.single-exhibitions .site-main,
.post-type-archive-exhibitions .site-main {
    animation: fadeIn 1s ease-in-out !important;
}

/* ==========================================================================
   画像ホバー効果
   ========================================================================== */

.grid-item img,
.haiku-grid-item img,
.news-grid-item img,
.exhibitions-grid-item img,
.news-thumbnail img,
.writings-thumbnail img,
.exhibitions-thumbnail img,
.page .wp-block-vk-blocks-post-list img,
.wp-block-post-featured-image img {
    transition: opacity 0.3s ease, transform 0.3s ease !important;
}

.grid-item a:hover img,
.haiku-grid-item a:hover img,
.news-grid-item a:hover img,
.exhibitions-grid-item a:hover img,
.news-item a:hover img,
.writings-item a:hover img,
.exhibitions-item a:hover img,
.page .wp-block-vk-blocks-post-list a:hover img,
.wp-block-post-featured-image a:hover img {
    opacity: 0.8 !important;
    transform: scale(1.05) !important;
}

/* ==========================================================================
   ボタン
   ========================================================================== */

.viewmore_btn a,
.buy_btn a {
    display: inline-block;
    padding: 0.8em 2em;
    text-decoration: none !important;
    color: #444444;
    border: solid 1px #444444;
    border-radius: 2px;
    transition: all 0.3s ease;
    opacity: 0.7;
    background: transparent;
}

.viewmore_btn a:hover,
.buy_btn a:hover {
    background-color: #e6e6e6;
    opacity: 1;
    color: #999;
}

.buy_btn a {
    border-radius: 20px;
    padding: 0.5em 2em;
}

input[type=submit] {
    -webkit-appearance: none;  /* ← ブラウザデフォルトスタイルをリセット */
    appearance: none;
}


/* ==========================================================================
   ニュースレター
   ========================================================================== */


.newsletter-widget .newsletter-cf7-wrapper input.wpcf7-submit,
.newsletter-widget .newsletter-cf7-wrapper input[type="submit"] {
    display: inline-block !important;  /* blockを解除 */
    width: auto !important;            /* 160px固定を解除 */
    height: auto !important;
    min-height: unset !important;
    padding: 12px 30px !important;
    margin: 0 !important;              /* auto余白をリセット */
    flex-shrink: 0 !important;
    color: #444444 !important;
    border: solid 1px #444444 !important;
    border-radius: 2px !important;
    background: transparent !important;
    background-color: transparent !important;
    font-size: 0.9rem !important;
    font-family: "Zen Kaku Gothic New", sans-serif !important;
    font-weight: 400 !important;
    white-space: nowrap !important;
    opacity: 0.7 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    position: static !important;      /* position:relativeを解除 */
    line-height: 1.5 !important;
    text-align: center !important;
    box-shadow: none !important;
    vertical-align: middle;
    text-align: center;
}

.newsletter-widget .newsletter-cf7-wrapper input.wpcf7-submit:hover,
.newsletter-widget .newsletter-cf7-wrapper input[type="submit"]:hover {
    background: #e6e6e6 !important;
    background-color: #e6e6e6 !important;
    opacity: 1 !important;
    color: #999 !important;
}

.newsletter-privacy {
    font-size: 0.8rem;
    color: #999;
    margin-top: 15px !important;
    margin-bottom: 0 !important;
}

.newsletter-widget .wpcf7-response-output {
    border: none !important;
    padding: 10px !important;
    margin: 10px 0 0 !important;
    font-size: 0.85rem !important;
    text-align: center !important;
}

.newsletter-widget .wpcf7-mail-sent-ok {
    background: #d4edda !important;
    color: #155724 !important;
}

.newsletter-widget .wpcf7-validation-errors {
    background: #f8d7da !important;
    color: #721c24 !important;
}

/* スピナーを非表示に */
.newsletter-widget .newsletter-cf7-wrapper .wpcf7-spinner {
    display: none !important;
}

/* プレイスホルダー */
.newsletter-widget .newsletter-cf7-wrapper input[type="email"]::placeholder {
    font-size: 0.9rem;
    color: #999;
}




.form-privacy-note {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.3s ease;
    font-size: 0.75rem;
    color: #767676;
    margin-top: 0;
}

.newsletter-widget:focus-within .form-privacy-note {
    opacity: 1;
    max-height: 50px;
    margin-top: 0.5rem;
}

.newsletter-widget {
    text-align: center;
}

.newsletter-widget input:focus,
.newsletter-widget textarea:focus {
    outline-color: #888888;
}
















/* ==========================================================================
   テーブル
   ========================================================================== */

.wp-block-table {
    display: block;
    clear: both;
    width: 100%;
    margin-bottom: 20px;
}

.sy-table {
    width: 100% !important;
    table-layout: fixed !important;
    border-collapse: collapse;
}

.sy-table td:first-child {
    width: 80px !important;
    vertical-align: top;
}

.sy-table td:last-child { vertical-align: top; }

/* ==========================================================================
   Privacy Policy（1カラム強制）ID: 3
   ========================================================================== */

body.page-id-3 .sidebar,
body.page-id-3 aside.sidebar { display: none !important; }

body.page-id-3 .site-main,
body.page-id-3 main.site-main {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

body.page-id-3 .row { display: block !important; }

/* ==========================================================================
   Artworks 固定ページ（ID: 98）全幅表示
   ========================================================================== */

body.page-id-98 .sidebar,
body.page-id-98 aside.sidebar,
body.page-id-98 .sub-section__pos--left { display: none !important; }

body.page-id-98 .site-main,
body.page-id-98 main.site-main,
body.page-id-98 .sub-section__pos--right,
body.page-id-98 .main-section--col--two {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

body.page-id-98 .row,
body.page-id-98 .sub-section--col--two { display: block !important; }

body.page-id-98 .site-body-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

body.page-id-98 .main-section { margin: 0 !important; }

/* ==========================================================================
   Artworks カテゴリーページ（グリッド・フィルター）
   ========================================================================== */

/* 1カラム強制・全幅 */
.category .sidebar,
.category aside.sidebar { display: none !important; }

.category .site-main,
.category main.site-main {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

.category .row { display: block !important; }

.category .site-body-container,
.category .site-body-container { /* 明示的に2箇所まとめた */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* パンくずリスト非表示 */
.category .vk-breadcrumb { display: none !important; }

/* グリッド */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
    animation: fadeIn 0.3s ease-in-out;
}

.grid-item,
.wp-block-post {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.grid-item a {
    text-decoration: none;
    color: #444444 !important;
}

.grid-item h3,
.wp-block-post h3,
.wp-block-vk-blocks-post-list .wp-block-post-title {
    margin-top: 10px !important;
    font-size: 0.85rem;
    font-weight: normal;
    line-height: 1.4;
    color: #444444;
    display: block !important;
    visibility: visible !important;
}


/* サムネイル比率 */
.wp-block-post img,
img.wp-post-image,
.has-border-color.wp-post-image,
.wp-block-vk-blocks-post-list img,
figure.wp-block-post-featured-image img,
.category img.wp-post-image {
    aspect-ratio: 3 / 2 !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
}

/* カテゴリーフィルターボタン */
.category-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
    margin-bottom: 30px;
    justify-content: center;
}

.filter-btn {
    padding: 10px 20px;
    border: 1px solid #999;
    background: #fff;
    color: #444444;
	font-family: 'Lato', sans-serif;
    font-size: 0.8rem;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.filter-btn:hover { background: #f5f5f5; }

.filter-btn.active {
    background: #c6c6c6;
    color: #fff;
    border-color: #999;
}

/* カテゴリー説明文 */
.category-description {
    margin-bottom: 40px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    font-size: 0.8rem;
    line-height: 1.6;
    color: #444444;
    animation: fadeIn 1s ease-in-out !important;
}

.series_statement {
    margin-top: 10px;
    font-size: 1.2rem;
    font-weight: normal;
    line-height: 1.4;
    color: #444444;
    animation: fadeIn 1s ease-in-out !important;
}

/* 左メニュー */
.category .sidebar .widget {
    background: transparent;
    padding: 0;
}

.category .sidebar .category-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}

.category .sidebar .category-list li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.category .sidebar .category-list a {
    display: block;
    padding: 0.7em 0 0.7em 1rem;
    border-bottom: 1px solid #ddd;
    text-decoration: none;
    color: #444444;
    font-size: 0.9rem;
    transition: opacity 0.2s;
}

.category .sidebar .category-list a:hover { opacity: 0.7; }

/* ==========================================================================
   News グリッド表示
   ========================================================================== */

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
    animation: fadeIn 1s ease-in-out;
}

.news-grid-item { text-align: left; }

.news-grid-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.news-grid-item h3 {
    margin-top: 10px;
    font-size: 0.85rem;
    font-weight: normal;
    line-height: 1.4;
    color: #444444;
}

.news-grid-item a {
    text-decoration: none;
    color: #444444;
}

.news-meta {
    font-size: 0.8rem;
    color: #999;
    margin-top: 5px;
}

/* ==========================================================================
   Haiku グリッド表示
   ========================================================================== */

.haiku-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
    animation: fadeIn 1s ease-in-out;
}

.haiku-grid-item { text-align: left; }

.haiku-grid-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 1 / 1 !important;
}

.haiku-grid-item h3 {
    margin-top: 10px;
    font-size: 0.85rem;
    font-weight: normal;
    line-height: 1.4;
    color: #444444;
}

.haiku-grid-item a {
    text-decoration: none;
    color: #444444;
}

/* 俳句 代表句セクション */
.haiku-featured-section { padding: 20px 20px; }

.haiku-featured-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: normal;
    margin-bottom: 40px;
    color: #444444;
}

/* 俳句 縦書き表示 */
.haiku-vertical-container {
    display: flex;
    flex-direction: row-reverse; /* 右から左へ */
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
	animation: fadeIn 1s ease-in-out;
}

.haiku-vertical-item {
    writing-mode: vertical-rl;
    text-orientation: upright;
    height: 350px;
    display: flex;
    justify-content: flex-start;
}

.haiku-text {
	font-family: "Noto Serif JP", serif !important;
    font-size: 13.6px;
    line-height: 1.2;
    margin: 0;
    letter-spacing: 0.15em;
    color: #444444;
}

/* ==========================================================================
   Exhibitions グリッド・リスト・年別表示
   ========================================================================== */

/* セクションタイトル */
.section-title {
    font-size: 16px;
    font-weight: normal;
    margin-bottom: 20px;
    padding-bottom: 10px;
    color: #444444;
    border-bottom: double 3px #999;
}

.no-exhibitions {
    font-size: 14px;
    color: #444444;
    padding: 20px 0;
}

/* グリッド（開催中・開催予定） */
.exhibitions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
    animation: fadeIn 1s ease-in-out;
}

.exhibitions-grid-item { text-align: left; }

.exhibitions-grid-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.exhibitions-grid-item h3 {
    margin-top: 10px;
    font-size: 0.85rem;
    font-weight: normal;
    line-height: 1.4;
    color: #444444;
}

.exhibitions-grid-item a {
    text-decoration: none;
    color: #444444;
}

/* 年別表示 */
.exhibitions-by-year { margin-top: 20px; }

.year-section { margin-bottom: 40px; }

.year-heading {
    font-size: 14px;
    font-weight: normal;
    color: #444444;
    padding: 4px 8px;
    border: 1px solid #444444;
    margin-bottom: 15px;
    display: inline-block;
}

/* リスト表示（過去の展覧会） */
.exhibitions-list { animation: fadeIn 1s ease-in-out; }

.exhibitions-list-item {
    display: flex;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px dotted #eee;
}

.exhibitions-list-item:last-child { border-bottom: none; }

.exhibitions-list-item a {
    text-decoration: none;
    color: #444444;
}

.exhibitions-list-item a:hover { opacity: 0.7; }

.exhibitions-list-content h3 {
    font-size: 0.95rem;
    font-weight: normal;
    margin: 0 0 5px;
}

.exhibition-date-col {
    flex-shrink: 0;
    font-size: 0.85rem;
    color: #444444;
}

.exhibition-title-col {
    flex: 1;
    font-size: 0.9rem;
}

.exhibitions-meta {
    font-size: 0.8rem;
    color: #444444;
}

/* ==========================================================================
   Writings
   ========================================================================== */

.writings-list { animation: fadeIn 1s ease-in-out; }

.writings-item { padding: 20px 0 40px; }

.writings-content {
    display: flex;
    gap: 20px;
}

.writings-thumbnail {
    flex-shrink: 0;
    width: 300px;
    height: 200px;
    overflow: hidden;
}

.writings-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.writings-text { flex: 1; }

.writings-title {
    font-size: 1rem;
    font-weight: normal;
    margin-bottom: 10px;
}

.writings-title a {
    text-decoration: none;
    color: #444444;
}

.new-badge {
    color: #ED7359;
    font-size: 0.8rem;
    margin-left: 8px;
}

.writings-meta {
    font-size: 0.9rem;
    color: #444444;
    margin-bottom: 15px;
}

.writings-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #444444;
    margin-bottom: 15px;
}

.writings-more {
	font-family: "Lato", "Noto Sans JP", sans-serif;
    display: inline-block;
    padding: 8px 12px;
    text-decoration: none;
    color: #444444 !important;
    border: 1px solid #444444;
    border-radius: 2px;
    font-size: 14px;
    background-color: #fff;
    transition: opacity 0.3s;
	opacity: 0.7; /* ← これを追加してフワッとさせる */
    background-color: transparent; /* ← 背景も透明に合わせる */
}

.writings-more:hover { opacity: 0.7; }

/* Writings シングルページ */
.single-writings .writings-single-title {
    font-size: 1.8rem;
    font-weight: normal;
    margin-bottom: 15px;
}

.single-writings .writings-single-meta {
    font-size: 0.9rem;
    color: #444444;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.single-writings .writings-single-thumbnail { margin-bottom: 30px; }

.single-writings .writings-single-thumbnail img {
    width: 40%;
    height: auto;
}

.single-writings .entry-content {
    font-size: 1rem;
    line-height: 1.8;
}

/* ==========================================================================
   左メニュー共通（News, Haiku, Exhibitions, Writings）
   ========================================================================== */

.post-type-archive-news .sidebar .widget,
.post-type-archive-haiku .sidebar .widget,
.post-type-archive-exhibitions .sidebar .widget,
.post-type-archive-writings .sidebar .widget,
.single-news .sidebar .widget,
.single-haiku .sidebar .widget,
.single-exhibitions .sidebar .widget {
    background: transparent;
    padding: 0;
}

/* 見出し */
.post-type-archive-news .sidebar h3,
.post-type-archive-news .sidebar h4,
.post-type-archive-haiku .sidebar h3,
.post-type-archive-haiku .sidebar h4,
.post-type-archive-exhibitions .sidebar h3,
.post-type-archive-exhibitions .sidebar h4,
.post-type-archive-writings .sidebar h3,
.post-type-archive-writings .sidebar h4,
.single-news .sidebar h3,
.single-news .sidebar h4,
.single-haiku .sidebar h3,
.single-haiku .sidebar h4,
.single-exhibitions .sidebar h3,
.single-exhibitions .sidebar h4 {
    font-size: 0.9rem;
    font-weight: normal;
    color: #444444;
    margin-top: 20px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.post-type-archive-news .sidebar h3:first-of-type,
.post-type-archive-news .sidebar h4:first-of-type,
.post-type-archive-haiku .sidebar h3:first-of-type,
.post-type-archive-haiku .sidebar h4:first-of-type,
.post-type-archive-exhibitions .sidebar h3:first-of-type,
.post-type-archive-exhibitions .sidebar h4:first-of-type,
.post-type-archive-writings .sidebar h3:first-of-type,
.post-type-archive-writings .sidebar h4:first-of-type,
.single-news .sidebar h3:first-of-type,
.single-news .sidebar h4:first-of-type,
.single-haiku .sidebar h3:first-of-type,
.single-haiku .sidebar h4:first-of-type,
.single-exhibitions .sidebar h3:first-of-type,
.single-exhibitions .sidebar h4:first-of-type {
    margin-top: 0;
}

/* リスト */
.post-type-archive-news .sidebar ul,
.post-type-archive-news .sidebar ul li,
.post-type-archive-haiku .sidebar ul,
.post-type-archive-haiku .sidebar ul li,
.post-type-archive-exhibitions .sidebar ul,
.post-type-archive-exhibitions .sidebar ul li,
.post-type-archive-writings .sidebar ul,
.post-type-archive-writings .sidebar ul li,
.single-news .sidebar ul,
.single-news .sidebar ul li,
.single-haiku .sidebar ul,
.single-haiku .sidebar ul li,
.single-exhibitions .sidebar ul,
.single-exhibitions .sidebar ul li {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
    border-bottom: none !important;
}

.post-type-archive-news .sidebar ul li::before,
.post-type-archive-haiku .sidebar ul li::before,
.post-type-archive-exhibitions .sidebar ul li::before,
.post-type-archive-writings .sidebar ul li::before,
.single-news .sidebar ul li::before,
.single-haiku .sidebar ul li::before,
.single-exhibitions .sidebar ul li::before {
    content: none !important;
    display: none !important;
}

/* リンク */
.post-type-archive-news .sidebar ul li a,
.post-type-archive-haiku .sidebar ul li a,
.post-type-archive-exhibitions .sidebar ul li a,
.post-type-archive-writings .sidebar ul li a,
.single-news .sidebar ul li a,
.single-haiku .sidebar ul li a,
.single-exhibitions .sidebar ul li a {
    display: block !important;
    padding: 0.7em 0 !important;
    border-bottom: 1px solid #ddd !important;
    text-decoration: none !important;
    color: #444444 !important;
    font-size: 13.5px !important;
    transition: opacity 0.2s !important;
}

.post-type-archive-news .sidebar ul li a:hover,
.post-type-archive-haiku .sidebar ul li a:hover,
.post-type-archive-exhibitions .sidebar ul li a:hover,
.post-type-archive-writings .sidebar ul li a:hover,
.single-news .sidebar ul li a:hover,
.single-haiku .sidebar ul li a:hover,
.single-exhibitions .sidebar ul li a:hover {
    opacity: 0.7 !important;
}

/* フィルターアクティブ */
.news-filter .filter-link.active,
.haiku-filter .filter-link.active,
.writings-filter .filter-link.active,
.exhibitions-filter .filter-link.active {
    font-weight: bold;
    opacity: 1;
}

/* ==========================================================================
   固定ページ 左メニュー
   ========================================================================== */

.page .sidebar ul,
.page .sidebar ul li,
.widget ul,
.widget ul li {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
    font-size: 0.8rem;
}

.page .sidebar ul li::before,
.widget ul li::before {
    content: none !important;
    display: none !important;
}

.page .sidebar .category-list a {
    display: block;
    padding: 0.7em 0 0.7em 1rem;
    border-bottom: 1px solid #ddd;
    text-decoration: none;
    color: #444444;
    font-size: 1rem;
    transition: opacity 0.2s;
}

.page .sidebar .category-list a:hover { opacity: 0.7; }

.fixedsideh4 {
    font-size: 1rem;
    background: none !important;
    border-bottom: solid 1px #e1e1e1;
}

.fixedside {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}

.fixedside a {
    display: block;
    padding: 0.7em 0 0.7em 1rem;
    border-bottom: 1px dotted #e1e1e1;
    text-decoration: none;
    color: #444444;
    font-size: 0.8rem;
    transition: opacity 0.3s ease;
}

.fixedside a:hover { opacity: 0.7; }

/* ==========================================================================
   シングルページ メタ情報
   ========================================================================== */

.single-news .post-meta,
.single-writings .post-meta,
.single-exhibitions .post-meta {
    font-size: 0.9rem;
    color: #444444;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.single-news .post-categories a,
.single-writings .post-categories a,
.single-exhibitions .post-categories a {
    color: #999;
    text-decoration: none;
}

.single-news .post-categories a:hover,
.single-writings .post-categories a:hover,
.single-exhibitions .post-categories a:hover {
    opacity: 0.7;
}

/* ==========================================================================
   投稿ページ（Artworks個別）メタ情報
   ========================================================================== */

/* 「カテゴリー」→「シリーズ」に変更 */
.single .entry-meta-data-list--category dt { font-size: 0; }

.single .entry-meta-data-list--category dt::before {
    content: "シリーズ";
    font-size: 12px;
}

.entry-meta-data-list dt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #444444;
    padding: 12px 16px;
    border-radius: 5px;
    background-color: #fff;
    border: 1px solid #999;
}

.entry-meta-data-list dd {
    font-size: 12px;
    border: none;
    padding-left: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   ページネーション
   ========================================================================== */

.category .wp-block-query-pagination,
.category .pagination,
.page .wp-block-query-pagination {
    margin-top: 40px;
    text-align: center;
}

.category .page-numbers,
.page .wp-block-query-pagination .page-numbers {
    display: inline-block;
    padding: 5px 10px;
    margin: 0 5px;
    text-decoration: none;
    color: #444444;
    border: none;
    background: none;
    font-size: 14px;
}

.category .page-numbers:hover,
.page .wp-block-query-pagination .page-numbers:hover { opacity: 0.7; }

.category .page-numbers.current,
.page .wp-block-query-pagination .page-numbers.current { font-weight: bold; }

.category .page-numbers.dots,
.page .wp-block-query-pagination .dots { border: none; }

.category .page-numbers.next::after {
    content: " »";
    margin-left: 5px;
}

.category .page-numbers.prev::before {
    content: "« ";
    margin-right: 5px;
}

.wp-container-core-query-pagination-is-layout-ecd33c62 {
    justify-content: center;
    font-size: 13px;
}

/* ==========================================================================
   トップページ
   ========================================================================== */

/* クエリループのカテゴリーを非表示 */
.home .wp-block-post-terms { display: none !important; }

/* カラムブロック内の見出し余白 */
.home .wp-block-column > h2 { margin-bottom: 5px !important; }


/* ==========================================================================
   Snow Monkey Forms
   ========================================================================== */

.snow-monkey-form {
    font-size: 13px;
    max-width: 80% !important;
    margin: 0 auto 2.5em !important;
    background: #fff;
    padding: 2em 0;
}

.smf-form-control__label {
    font-size: 13px;
    font-weight: normal;
    margin-bottom: 0.5em;
}

.snow-monkey-form .smf-text-control__control,
.snow-monkey-form .smf-textarea-control__control,
.snow-monkey-form select {
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: #888888 !important;
    background-color: #fff !important;
}

.snow-monkey-form .smf-text-control__control::placeholder,
.snow-monkey-form .smf-textarea-control__control::placeholder {
    font-size: 14px !important;
}

.smf-form-control textarea { height: 300px; }


.snow-monkey-form .smf-text-control__control:focus,
.snow-monkey-form .smf-textarea-control__control:focus {
    outline: none !important;
    border: 1px solid #bbb !important;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1) !important;
}

/* 自動入力時の背景色 */
.snow-monkey-form input:-webkit-autofill,
.snow-monkey-form input:-webkit-autofill:hover,
.snow-monkey-form input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px #fff inset !important;
    -webkit-text-fill-color: #444444 !important;
}

/* 送信ボタン */
.smf-action .smf-button-control__control {
    display: inline-block !important;
    padding: 0.5em 2em !important;
    text-decoration: none !important;
    color: #444444 !important;
    border: solid 1px #444444 !important;
    transition: all 0.3s ease !important;
    opacity: 0.7 !important;
    background-color: transparent !important;
    background-image: none !important;
    width: auto !important;
    min-width: 160px;
    height: auto !important;
    min-height: 50px;
    line-height: 1.5 !important;
    margin: 20px auto 0 !important;
    cursor: pointer !important;
    box-shadow: none !important;
    font-size: 13px !important;
}

.smf-action .smf-button-control__control:hover {
    background-color: #e6e6e6 !important;
    opacity: 1 !important;
    color: #999 !important;
    border-color: #444444 !important;
}

.smf-action { text-align: center !important; }

.smf-form-control__error {
    color: #e05423;
    font-size: 12px;
    margin-top: 5px;
}

.smf-label__required {
    font-size: 10px;
    padding: 2px 4px;
    color: #e05423;
    margin-left: 5px;
    border: 1px solid #e05423;
    border-radius: 2px;
}



input[type=submit]  {
    display: inline-block;
    padding: 0.8em 2em;
    text-decoration: none !important;
    color: #444444;
    border: solid 1px #444444;
    border-radius: 2px;
    transition: all 0.3s ease;
    opacity: 0.7;
    background: transparent;
}




/* ==========================================================================
   レスポンシブ
   ========================================================================== */

@media (max-width: 768px) {
    .category-grid,
    .haiku-grid,
    .news-grid,
    .exhibitions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .writings-content { flex-direction: column; }

    .writings-thumbnail { width: 100%; }

    .sy-table td:first-child {
        width: 80px !important;
        font-size: 0.9em;
    }

    .haiku-vertical-container { gap: 30px; }

    .haiku-vertical-item { height: 220px; }

    .haiku-text {
        font-size: 1rem;
        line-height: 2;
    }

    /* 固定ページのサイドバーを上に移動 */
    .page .site-body-container .row,
    .page .site-body-container-use-sidebar .row {
        display: flex !important;
        flex-direction: column !important;
    }

    .page .sidebar,
    .page aside.sidebar {
        order: -1 !important;
        width: 100% !important;
        margin-bottom: 20px !important;
    }

    .page .site-main,
    .page main.site-main {
        order: 0 !important;
        width: 100% !important;
    }

    /* ニュースレターフォーム */
    .newsletter-cf7-wrapper {
        flex-direction: column !important;
        align-items: center !important;
    }

    .newsletter-widget .newsletter-cf7-wrapper input.wpcf7-submit,
    .newsletter-widget .newsletter-cf7-wrapper input[type="submit"] {
        margin: 10px auto 0 !important;
    }
}

@media (max-width: 480px) {
    .category-grid,
    .haiku-grid,
    .news-grid,
    .exhibitions-grid {
        grid-template-columns: 1fr;
    }
}

/* PCで非表示（スマホのみ表示） */
@media (min-width: 769px) {
    .show-only-mobile { display: none !important; }
}

.vk-mobile-nav-menu-btn {
    position: fixed;
    top: 5px;
    right: 5px !important;
    z-index: 2100;
    overflow: hidden;
    border: none;
    border-radius: 2px;
    width: 34px;
    height: 34px;
    cursor: pointer;
    text-indent: -9999px;
    background-size: 30px 30px;
    transition: border-color .5s ease-out;
    margin-right: 8px;
    margin-top: 8px;
}

.vk-mobile-nav-menu-btn.menu-open {
    border: none !important;
}




/* ==========================================================================
   その他
   ========================================================================== */

/* reCAPTCHAバッジ非表示 */
.grecaptcha-badge { visibility: hidden; }



/* プロフィールページのカラム幅比率 */

/* メイン幅を調整（例：より広く） */
.main-section--col--two {
  width: 85%;
}

/* サイドバー幅を調整 */
.sub-section--col--two {
  width: 15%;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .form-privacy-note {
        opacity: 1;
        max-height: 50px;
        margin-top: 0.5rem;
    }
}





@media (min-width: 768px) {
    .site-body-container-use-sidebar .row {
        display: flex;
        flex-direction: row-reverse;
    }
}



@media (max-width: 768px) {
    .main-section--col--two {
        width: 100% !important;
    }
}


.haiku-grid-item h3 {
    margin-top: 10px;
    font-size: 0.85rem;
    font-weight: normal;
    line-height: 1.4;
    color: #444444;
    margin-bottom: 40px;
}




@media (max-width: 767px) {
    .haiku-featured-section {
        position: relative;
    }

    .haiku-vertical-container {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        height: 400px;
        align-items: flex-start;
        gap: 12px;
    }
    
    .haiku-vertical-item {
        height: 400px;
    }
    
    .haiku-vertical-container::before {
        content: "← Scroll";
        writing-mode: horizontal-tb;
        font-size: 12px;
        color: #999;
        position: absolute;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 991.98px) {
    .site-header-logo {
        padding-top: 1rem;
        margin-bottom: .5rem;
        white-space: normal;
    }
}

/* Lightning標準のモバイルメニューボタンを全ページで非表示にする */
.vk-mobile-nav-menu-btn {
    display: none !important;
}

/* スマホメニュー内の文字色を強制的に真っ黒にする */
.rmp-menu-item-link {
    color: #000000 !important;
}

/* 念のため、ホバー時（タップした瞬間）も黒を維持する設定 */
.rmp-menu-item-link:hover {
    color: #000000 !important;
}

/* メニューが開いたとき（is-active時）の「×」の線の色を真っ黒にする */
.rmp_menu_trigger.is-active ::before,
.rmp_menu_trigger.is-active ::after,
.rmp_menu_trigger.is-active .responsive-menu-pro-inner {
    background-color: #000000 !important;
    background: #000000 !important;
}



.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
    margin-top: 19px;
    animation: fadeIn 1s ease-in-out;
}


/* PC画面（横幅992px以上）のときだけ、サイドバーの上部余白を18pxにする */
@media (min-width: 992px) {
    .sidebar {
        padding-top: 18px !important;
    }
}




/* すべての投稿タイプのサイドバーを、優しくふわっと（フェードイン）表示させる */
.post-type-archive-news .sidebar, 
.post-type-archive-haiku .sidebar, 
.post-type-archive-exhibitions .sidebar, 
.post-type-archive-writings .sidebar, 
.single-news .sidebar, 
.single-haiku .sidebar, 
.single-exhibitions .sidebar,
.single-writings .sidebar {
    animation: sidebarFadeIn 0.8s ease-out forwards !important;
}

/* 下から少し浮き上がりながら、透明から不透明になるアニメーション */
@keyframes sidebarFadeIn {
    0% {
        opacity: 0;
        transform: translateY(15px); /* 15px下からスタート */
    }
    100% {
        opacity: 1;
        transform: translateY(0);    /* 本来の位置にピタッと止まる */
    }
}



.single-writings .writings-single-title {
    font-size: 1.2rem;
    font-weight: normal;
    margin-bottom: 15px;
    padding-top: 18px;
}




/* スマホ画面（横幅767px以下）のとき、グリッドの仕組み自体を強制解除して縦1列にする */
@media (max-width: 767px) {
    .news-grid,
    .haiku-grid,
    .exhibitions-grid,
    .writings-grid {
        display: block !important; /* 横並びの仕組み（grid）自体を辞めさせる */
    }

    /* 縦並びになった記事のカード（中身）の横幅を100%にする */
    .news-grid-item,
    .haiku-grid-item,
    .exhibitions-grid-item,
    .writings-grid-item,
    .news-grid > *,
    .haiku-grid > *,
    .exhibitions-grid > *,
    .writings-grid > * {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 24px !important; /* 縦に並んだときの記事ごとの隙間 */
    }
}

/* スマホ画面（横幅767px以下）のとき、下部サイドバーの横並びを完全に粉砕する */
@media (max-width: 767px) {
    
    /* 1. フィルターの枠全体の横並び（flex/grid）を強制解除 */
    .writings-filter,
    .writingscategory-list,
    .haiku-filter,
    .haikucategory-list,
    .news-filter,
    .newscategory-list,
    .exhibitions-filter,
    .exhibitionscategory-list,
    .sidebar .widget ul,
    .sidebar .widget {
        display: block !important;
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* 2. リストの中身（li）が横に並ぶのを禁止し、1本ずつ縦に並べる */
    .writings-filter li,
    .writingscategory-list li,
    .haiku-filter li,
    .haikucategory-list li,
    .news-filter li,
    .newscategory-list li,
    .exhibitions-filter li,
    .exhibitionscategory-list li,
    .sidebar .widget li {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 10px 0 !important; /* ボタン同士の下の隙間 */
        flex: none !important;         /* flexの幅固定設定を解除 */
    }

    /* 3. 中のリンクボタン（aタグ）も横幅いっぱいに広げる */
    .writings-filter a,
    .writingscategory-list a,
    .haiku-filter a,
    .haikucategory-list a,
    .news-filter a,
    .newscategory-list a,
    .exhibitions-filter a,
    .exhibitionscategory-list a,
    .sidebar .widget a {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        text-align: left !important;   /* 文字を左揃えにする */
    }
}

@media (max-width: 991.98px) {
  .main-section--col--two,
  .sub-section--col--two {
    width: 100% !important;
    flex-basis: 100% !important;
    margin-top: 0 !important;
  }
}

.main-section--col--two {
    width: 80%;
}

.sub-section--col--two {
    width: 18%;
    margin-top: 30px;
}


/* ヘッダーの中身の横幅を狭める */
@media (min-width: 992px) {
    .site-header .container {
        max-width: 1130px !important; /* 標準より狭く設定（お好みで調整） */
        margin-right: auto !important;
        margin-left: auto !important;
    }
}

/* メニューのボタン同士の間隔を狭くする */
@media (min-width: 992px) {
    .global-nav-list > li > a {
        padding-right: 15px !important; /* 左右の余白を狭く（デフォルトは20px等） */
        padding-left: 15px !important;
    }
}

/* Artworks投稿だけ作品タイトル上にマージン */
.single-post .entry-title {
    font-size: 1.3rem;
    margin-top: 30px;
}

/* Artworks投稿だけ作品タイトル上にマージン（スマホ） */
@media (max-width: 768px) {
    .entry-title {
        margin-top: 30px; /* PC と同じ */
    }
}



/* Artworks一覧の間隔（スマホ） */
@media (max-width: 768px) {
    .grid-item h3,
    .wp-block-post h3,
    .wp-block-vk-blocks-post-list .wp-block-post-title {
        margin-bottom: 30px !important; /* スマホでは少なめ */
    }
}

/* Haiku ページのタイトルだけ */
.single-haiku h1 {
    margin-top: 30px;
}

/* Exhibitions ページのタイトルだけ */
.single-exhibitions h1 {
    margin-top: 30px;
}

/* Exhibitions　カテゴリーページのタイトルだけ */
.tax-exhibitionscategory h1 {
    margin-top: 30px;
}

/* News ページのタイトルだけ */
.single-news h1 {
    margin-top: 30px;
}

/* Writings ページのタイトルだけ */
.single-writings h1 {
    margin-top: 30px;
}



/* スマホだけサイドバーの上にマージン */
@media (max-width: 768px) {
    .single-haiku .widget h3,
    .single-exhibitions .widget h3,
    .single-news .widget h3,
    .single-writings .widget h3 {
        margin-top: 100px;
    }
}



.category-list-bottom-sidebar {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.category-list-bottom-sidebar h3 {
    font-size: 1rem;
    font-weight: normal;
    color: #444444;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.category-list-bottom-sidebar .category-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}

.category-list-bottom-sidebar .category-list li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.category-list-bottom-sidebar .category-list a {
    display: block;
    padding: 0.7em 0 0.7em 1rem;
    border-bottom: 1px solid #ddd;
    text-decoration: none;
    color: #444444;
    font-size: 0.9rem;
    transition: opacity 0.2s;
}

.category-list-bottom-sidebar .category-list a:hover {
    opacity: 0.7;
}





/* PC用メイン画像 */
@media (max-width: 768px) {
    .wp-block-image.pc-only {
        display: none !important;
    }
}

/* スマホ用メイン画像 */
@media (min-width: 769px) {
    .wp-block-image.mobile-only {
        display: none !important;
    }
}



/* Artworks ページのフィルターボタン */
.page-id-98 .category-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}

/* シリーズ一覧ページのフィルターボタン */
.category .category-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}



/* ==========================================================================
   ページナビゲーションの文字を英語表記に変える（Artworks・標準投稿用）
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 「前へ」のカスタマイズ（Artworks用）
   -------------------------------------------------------------------------- */
.single-post .nav-previous a,
.post-type-archive-post .nav-previous a,
.page-numbers.prev,
.wp-block-query-pagination-previous {
    font-size: 0 !important; /* 元の日本語を消す */
}

.single-post .nav-previous a::after,
.post-type-archive-post .nav-previous a::after,
.page-numbers.prev::after,
.wp-block-query-pagination-previous::after {
    content: "« Prev" !important; /* 英語と記号を表示 */
    font-size: 14px !important;
    font-family: "Lato", "Noto Sans JP", sans-serif;
}

/* --------------------------------------------------------------------------
   2. 「次へ」のカスタマイズ（Artworks用）
   -------------------------------------------------------------------------- */
.single-post .nav-next a,
.post-type-archive-post .nav-next a,
.page-numbers.next,
.wp-block-query-pagination-next {
    font-size: 0 !important; /* 元の日本語を消す */
}

.single-post .nav-next a::before,
.post-type-archive-post .nav-next a::before,
.page-numbers.next::before,
.wp-block-query-pagination-next::before {
    content: "Next »" !important; /* 英語と記号を表示 */
    font-size: 14px !important;
    font-family: "Lato", "Noto Sans JP", sans-serif;
}


/* ==========================================================================
   固定ページ と 投稿ページ(詳細) のパンくずリストを非表示にする
   ========================================================================== */
.page .breadcrumb,
.single .breadcrumb,
.page .vk-breadcrumb,
.single .vk-breadcrumb {
    display: none !important;
}

/* 展覧会カテゴリーページのパンくずを非表示 */
.tax-exhibitionscategory .breadcrumb-list {
    display: none !important;
}




/* 展覧会カテゴリーページのボタン（Writings と同じスタイル） */
.tax-exhibitionscategory a.btn {
    display: inline-block;
    padding: 5px 10px;
    text-decoration: none;
    color: #444444 !important;
    border: 1px solid #444444;
    border-radius: 2px;
    font-size: 0.7rem;
    background-color: #fff;
    transition: opacity 0.3s;
}

.tax-exhibitionscategory a.btn:hover {
    opacity: 0.7;
}

.vk_post_imgOuter_singleTermLabel {
    display: none !important;
}

/* カテゴリーアーカイブページをふわっと表示 */
.tax-exhibitionscategory .site-body,
.tax-exhibitionscategory .site-main {
    animation: fadeIn 1s ease-in-out !important;
}


/* News カテゴリーページのボタン（Writings と同じスタイル） */
.tax-newscategory a.btn {
    display: inline-block;
    padding: 5px 10px;
    text-decoration: none;
    color: #444444 !important;
    border: 1px solid #444444;
    border-radius: 2px;
    font-size: 0.7rem;
    background-color: #fff;
    transition: opacity 0.3s;
}

.tax-newscategory a.btn:hover {
    opacity: 0.7;
}

/* クリック時の反応を抑える */
.tax-newscategory a.btn:active {
    background-color: #fff !important;
    color: #444444 !important;
}

/* ==========================================================================
   ニュース一覧（ソート機能）の日付を非表示にする
   ========================================================================== */
.news-date {
    display: none !important;
}





/* ==========================================================================
   Writings詳細ページ：3ナビゲーション（スマホ文字サイズ均一・横一列）
   ========================================================================= */
.writings-post-navigation {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 60px;
    margin-bottom: 40px;
    font-family: "Lato", "Noto Sans JP", sans-serif;
    font-size: 14px;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    /* スマホブラウザによる文字サイズの自動拡大を強制オフ */
    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
}

/* リンク共通スタイル */
.writings-post-navigation a {
    display: inline-block;
    text-decoration: none !important;
    color: #444444 !important;
    transition: all 0.3s ease;
    opacity: 0.7;
    padding: 6px 10px;
    white-space: nowrap;
    font-size: inherit !important; /* 親の文字サイズを強制継承 */
}

.writings-post-navigation a:hover {
    color: #999999 !important;
    opacity: 1;
}

/* 仕切りの「 | 」 */
.writings-post-navigation .nav-divider {
    color: #cccccc;
    user-select: none;
    opacity: 0.5;
    font-size: inherit !important;
}

/* 各項目の調整 */
.writings-post-navigation .nav-item {
    text-align: center;
    flex: 0 1 auto;
    font-size: inherit !important;
}

/* 記事が存在しない場合の空枠 */
.writings-post-navigation .disabled {
    min-width: 1px;
}

/* --------------------------------------------------------------------------
   【スマホ用のレイアウト調整（画面幅 767px 以下）】
   -------------------------------------------------------------------------- */
@media screen and (max-width: 767px) {
    .writings-post-navigation {
        gap: 5px !important;
        font-size: 11px !important; /* 全体サイズを11pxに固定 */
        padding: 0 10px;
    }

    .writings-post-navigation a {
        padding: 8px 5px !important;
        font-size: 11px !important; /* リンク文字も11pxに強制固定 */
    }
}

/* --------------------------------------------------------------------------
   【超小型スマホ用の最終調整（画面幅 350px 以下）】
   -------------------------------------------------------------------------- */
@media screen and (max-width: 350px) {
    .writings-post-navigation {
        font-size: 10px !important;
        gap: 3px !important;
    }

    .writings-post-navigation a {
        font-size: 10px !important;
    }
}


/* ==========================================================================
   Writings詳細ページ：重複した標準ナビゲーションを非表示にする
   ========================================================================== */
.single-writings .post-next-prev, 
.single-writings .navigation.post-navigation {
    display: none !important;
}





/* マウスを乗せた（ホバー）とき */
.simple_back_btn a:hover {
    color: #999999; /* PREV/NEXT同様に、優しいグレーに変化 */
    opacity: 1;
    text-decoration: none !important;
}



/* Exhibitions アーカイブページの日付を非表示 */
.post-type-archive-exhibitions .exhibition-date-col {
    display: none !important;
}



/* ==========================================================================
   Exhibitions（展覧会） Upcomingエリアの見た目をPastに揃える設定
   ========================================================================== */

/* 1. 投稿日の日付（2026年7月21日）を非表示にする */
.exhibitions-grid-item .exhibition-date {
    display: none !important;
}

/* 2. タイトルの下線（ボーダー）を消して、余白を調整する */
.exhibitions-grid-item h3 {
    border-bottom: none !important;
    border: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* 3. タイトル下の擬似要素（::after）で下線が引かれている場合の対策 */
.exhibitions-grid-item h3::after {
    display: none !important;
    content: none !important;
}


/* ==========================================================================
   Exhibitions（展覧会） グリッドを解除して全エリア縦並びに統一
   ========================================================================== */

/* 横並びになっているコンテナ（.exhibitions-grid）を強制的に縦並び（1列）にする */
.exhibitions-grid {
    display: block !important; /* または flex-direction: column !important; */
}

/* 各展覧会アイテムの幅を100%にして1行ずつ並べる */
.exhibitions-grid-item {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 15px !important; /* 各記事の間の余白（お好みで調整してください） */
}



/* ==========================================================================
   スマホ表示時のサイドバー余白調整
   （1. Categoriesの上を広げる / 2. Monthly Archivesの上を詰める）
   ========================================================================== */

/* 1. スマホ表示時、サイドバー全体（Categoryの上）をしっかり空ける */
@media screen and (max-width: 991px) {
    aside.sidebar {
        margin-top: 50px !important; /* Categoryの上の空き具合（お好みで40px〜60pxに調整） */
    }
}

/* 2. サイドバー内の2つ目の見出し（Monthly Archives）の上余白をキュッと詰める */
aside.sidebar h3:nth-of-type(2),
aside.sidebar .wp-block-heading:nth-of-type(2) {
    margin-top: 25px !important; /* 標準で大きく空いている間隔を25pxに縮小 */
}

/* Categoriesのリスト下の余白も少し整えておく */
aside.sidebar ul.category-list,
aside.sidebar ul:first-of-type {
    margin-bottom: 20px !important;
}


