.whd-heritage-info table,
.whd-component-info table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 1.5rem;
}

.whd-heritage-info th,
.whd-heritage-info td,
.whd-component-info th,
.whd-component-info td {
    border: 1px solid #e5e7eb;
    padding: 0.65rem 0.8rem;
    vertical-align: top;
}

.whd-heritage-info th,
.whd-component-info th {
    width: 11rem;
    background: #f8fafc;
    font-weight: 700;
}

.whd-components {
    margin: 2rem 0;
}

.whd-component-summary {
    margin: 0.25rem 0 1rem;
    color: #4b5563;
}

.whd-component-map-wrap {
    margin: 1.25rem 0 1.75rem;
}

.whd-component-map {
    width: 100%;
    height: 420px;
    min-height: 420px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    overflow: hidden;
    background: #f3f4f6;
}

.whd-component-map.whd-map-error,
.whd-component-map.whd-map-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    padding: 1rem;
    color: #6b7280;
    text-align: center;
}

.whd-component-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.whd-component-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem;
    background: #fff;
}

.whd-component-card-title {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    line-height: 1.45;
}

.whd-component-card-meta {
    margin: 0.35rem 0;
    color: #4b5563;
    font-size: 0.93rem;
}

.whd-component-badge {
    display: inline-block;
    margin: 0 0.35rem 0.35rem 0;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: #eef2ff;
    color: #3730a3;
    font-size: 0.82rem;
    line-height: 1.6;
}

.whd-component-card-links {
    margin: 0.6rem 0 0;
    font-size: 0.9rem;
}

.whd-component-card-links a + a::before {
    content: " / ";
    color: #6b7280;
}

.whd-parent-link {
    margin-top: 0.35rem;
    color: #4b5563;
}

@media (max-width: 640px) {
    .whd-heritage-info th,
    .whd-heritage-info td,
    .whd-component-info th,
    .whd-component-info td {
        display: block;
        width: 100%;
    }

    .whd-component-map {
        min-height: 320px;
    }
}


/* v0.7.37: 親世界遺産ページの構成資産表示強化 */
.whd-section-heading {
    margin: 0 0 1rem;
}

.whd-component-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.75rem;
    margin: 1rem 0 1.25rem;
}

.whd-component-stat {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    padding: 0.85rem 1rem;
    text-align: center;
}

.whd-component-stat span {
    display: block;
    font-size: 1.45rem;
    line-height: 1.1;
    font-weight: 700;
    color: #111827;
}

.whd-component-stat small {
    display: block;
    margin-top: 0.25rem;
    color: #6b7280;
    font-size: 0.82rem;
}

.whd-component-type-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    margin: 0.75rem 0 1.1rem;
}

.whd-component-type-summary-label {
    margin-right: 0.25rem;
    color: #4b5563;
    font-weight: 700;
    font-size: 0.92rem;
}

.whd-component-badge-muted {
    background: #f3f4f6;
    color: #374151;
}

.whd-component-table-wrap {
    overflow-x: auto;
    margin: 1.2rem 0 1.4rem;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.whd-component-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    background: #fff;
}

.whd-component-table th,
.whd-component-table td {
    border-bottom: 1px solid #e5e7eb;
    padding: 0.72rem 0.85rem;
    vertical-align: top;
    text-align: left;
}

.whd-component-table th {
    background: #f8fafc;
    color: #374151;
    font-weight: 700;
    white-space: nowrap;
}

.whd-component-table tr:last-child td {
    border-bottom: 0;
}

.whd-component-id,
.whd-component-draft-badge {
    display: inline-block;
    margin-top: 0.18rem;
    color: #6b7280;
    font-size: 0.82rem;
}

.whd-component-draft-badge {
    padding: 0.05rem 0.35rem;
    border: 1px solid #f59e0b;
    border-radius: 999px;
    background: #fffbeb;
    color: #92400e;
}

.whd-component-card-en {
    color: #6b7280;
    font-style: italic;
}

@media (max-width: 640px) {
    .whd-component-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .whd-component-table-wrap {
        margin-left: -0.25rem;
        margin-right: -0.25rem;
        border-radius: 8px;
    }

    .whd-component-table th,
    .whd-component-table td {
        padding: 0.62rem 0.7rem;
    }
}


/* v0.7.38: 構成資産マップ・ポリゴン表示強化 */
.whd-component-map-wrap {
    position: relative;
}

.whd-map-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 0.9rem;
    align-items: center;
    margin: 0.55rem 0 0;
    color: #4b5563;
    font-size: 0.88rem;
}

.whd-map-legend span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.whd-map-legend i {
    display: inline-block;
    flex: 0 0 auto;
}

.whd-map-legend-marker {
    width: 0.72rem;
    height: 0.72rem;
    border-radius: 999px;
    background: #2563eb;
    box-shadow: 0 0 0 2px #dbeafe;
}

.whd-map-legend-polygon {
    width: 1.15rem;
    height: 0.72rem;
    border: 2px solid #3388ff;
    background: rgba(51, 136, 255, 0.18);
    border-radius: 3px;
}

.whd-component-map .leaflet-interactive {
    cursor: pointer;
}

.whd-component-map .leaflet-popup-content {
    min-width: 160px;
    line-height: 1.55;
}

.whd-component-map .leaflet-popup-content a {
    font-weight: 700;
}


/* v0.7.39: 構成資産ページ表示テンプレート強化 */
.whd-component-template-v2 .whd-component-hero {
    margin: 0 0 1.5rem;
    padding: 1.25rem 1.4rem;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.whd-component-eyebrow {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
    margin: 0 0 0.65rem;
    color: #4b5563;
    font-size: 0.88rem;
    font-weight: 700;
}

.whd-component-eyebrow span {
    display: inline-flex;
    align-items: center;
}

.whd-component-eyebrow span + span::before {
    content: "›";
    margin-right: 0.4rem;
    color: #9ca3af;
}

.whd-component-template-v2 .entry-title {
    margin-bottom: 0.35rem;
}

.whd-component-subtitle {
    margin: 0.25rem 0 0.8rem;
    color: #6b7280;
    font-size: 1.05rem;
    font-style: italic;
}

.whd-component-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0.75rem 0 0.4rem;
}

.whd-component-overview,
.whd-component-sources,
.whd-component-siblings,
.whd-component-role,
.whd-component-visit,
.whd-component-content,
.whd-component-map-section {
    margin: 2rem 0;
}

.whd-component-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 0.75rem;
    margin: 1rem 0 1.25rem;
}

.whd-component-summary-card {
    padding: 0.85rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
}

.whd-component-summary-card span {
    display: block;
    margin-bottom: 0.25rem;
    color: #6b7280;
    font-size: 0.82rem;
    font-weight: 700;
}

.whd-component-summary-card strong {
    display: block;
    color: #111827;
    font-size: 0.98rem;
    line-height: 1.45;
}

.whd-component-source-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.whd-component-source-box {
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
}

.whd-component-source-box h3 {
    margin-top: 0;
    font-size: 1rem;
}

.whd-component-source-box ul,
.whd-component-source-details ul {
    margin-bottom: 0;
}

.whd-component-source-details {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f8fafc;
}

.whd-component-source-details summary {
    cursor: pointer;
    font-weight: 700;
}

.whd-component-source-details h3 {
    margin: 1rem 0 0.45rem;
    font-size: 0.98rem;
}

.whd-component-sibling-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.9rem;
    margin-top: 1rem;
}

.whd-component-sibling-card {
    padding: 0.9rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
}

.whd-component-sibling-card h3 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    line-height: 1.45;
}

.whd-component-sibling-card p {
    margin: 0.25rem 0;
}

.whd-component-more-link {
    margin-top: 1rem;
    text-align: right;
}

@media (max-width: 640px) {
    .whd-component-template-v2 .whd-component-hero {
        padding: 1rem;
        border-radius: 12px;
    }

    .whd-component-summary-grid,
    .whd-component-source-grid,
    .whd-component-sibling-grid {
        grid-template-columns: 1fr;
    }

    .whd-component-more-link {
        text-align: left;
    }
}


/* v0.7.43: Commons画像とライセンス表記 */
.whd-licensed-image {
    margin: 1.5rem 0;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.whd-licensed-image img {
    display: block;
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

.whd-licensed-image figcaption {
    padding: 0.65rem 0.85rem;
    color: #4b5563;
    background: #f8fafc;
    font-size: 0.82rem;
    line-height: 1.55;
}

.whd-licensed-image figcaption a {
    font-weight: 700;
}


/* v0.7.45: スマホ地図は2本指操作 */
.whd-component-map.whd-map-touch-gesture {
    touch-action: pan-y;
}

.whd-map-touch-hint {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1000;
    transform: translate(-50%, -50%);
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.86);
    color: #fff;
    font-size: 0.86rem;
    line-height: 1.4;
    pointer-events: none;
    opacity: 0;
    transition: opacity .16s ease-in-out;
    text-align: center;
    white-space: nowrap;
}

.whd-map-touch-hint.is-visible {
    opacity: 1;
}

@media (max-width: 640px) {
    .whd-map-touch-hint {
        max-width: calc(100% - 2rem);
        white-space: normal;
    }
}


/* v0.7.49: Leaflet表示安定化 */
.whd-component-map .leaflet-container,
.whd-component-map.leaflet-container {
    height: 420px;
}

@media (max-width: 640px) {
    .whd-component-map,
    .whd-component-map .leaflet-container,
    .whd-component-map.leaflet-container {
        height: 340px;
        min-height: 340px;
    }
}


/* v0.7.50: 親世界遺産ページの所在地マップ */
.whd-heritage-map-section {
    margin: 1.5rem 0 2rem;
}

.whd-heritage-map-wrap {
    margin-top: 0.75rem;
}

/* v0.7.57: 記事ページ分類リンク・タクソノミー一覧導線 */
.whd-taxonomy-tags {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.45rem;
    align-items: center;
}

.whd-taxonomy-tags-compact {
    gap: 0.28rem 0.35rem;
}

.whd-taxonomy-tag {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.22rem 0.72rem;
    border: 1px solid #c7d2fe;
    border-radius: 999px;
    background: #eef2ff;
    color: #1e40af;
    font-size: 0.9rem;
    line-height: 1.35;
    text-decoration: none;
}

.whd-taxonomy-tag:hover,
.whd-taxonomy-tag:focus-visible {
    background: #dbeafe;
    color: #1d4ed8;
    text-decoration: none;
}

.whd-taxonomy-tag-text {
    border-color: #e5e7eb;
    background: #f9fafb;
    color: #374151;
}

.whd-related-taxonomy-links {
    margin: 1.35rem 0 1.8rem;
    padding: 1.1rem 1.2rem;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #f8fafc;
}

.whd-related-taxonomy-links h2 {
    margin-top: 0;
    margin-bottom: 0.45rem;
    font-size: 1.2rem;
}

.whd-related-taxonomy-links p {
    margin: 0 0 0.85rem;
    color: #4b5563;
}

.whd-related-taxonomy-row {
    display: grid;
    grid-template-columns: minmax(8.5em, auto) 1fr;
    gap: 0.55rem 0.75rem;
    align-items: start;
    padding: 0.55rem 0;
    border-top: 1px solid #e5e7eb;
}

.whd-related-taxonomy-label {
    color: #374151;
    font-weight: 700;
}

.whd-archive-header {
    margin-bottom: 1.5rem;
}

.whd-archive-back-link {
    margin-top: 0.65rem;
}

.whd-archive-back-link a {
    font-weight: 700;
}

.whd-heritage-card-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem 1rem;
    margin: 0.85rem 0 1rem;
}

.whd-heritage-card-meta > div {
    margin: 0;
}

.whd-heritage-card-meta dt {
    margin: 0 0 0.25rem;
    color: #6b7280;
    font-size: 0.82rem;
    font-weight: 700;
}

.whd-heritage-card-meta dd {
    margin: 0;
}

@media (max-width: 640px) {
    .whd-related-taxonomy-links {
        padding: 1rem;
        border-radius: 12px;
    }

    .whd-related-taxonomy-row,
    .whd-heritage-card-meta {
        grid-template-columns: 1fr;
    }

    .whd-taxonomy-tag {
        min-height: 2.1rem;
        padding-left: 0.78rem;
        padding-right: 0.78rem;
    }
}



/* v0.7.59: 負の遺産候補メタ表示 */
.whd-negative-heritage-note {
    margin: 1.75rem 0;
    padding: 1.25rem;
    border: 1px solid #d9c7a2;
    border-radius: 12px;
    background: #fffaf0;
}
.whd-negative-heritage-note h2 {
    margin-top: 0;
}
.whd-negative-heritage-note dl,
.whd-heritage-card-meta {
    margin: 0;
}
.whd-negative-heritage-note dl > div {
    display: grid;
    grid-template-columns: minmax(7em, 12em) 1fr;
    gap: .75rem;
    padding: .55rem 0;
    border-top: 1px solid rgba(0,0,0,.08);
}
.whd-negative-heritage-note dt {
    font-weight: 700;
}
.whd-negative-heritage-note dd {
    margin: 0;
}
.whd-negative-heritage-deleted,
.whd-heritage-card-negative {
    padding: .75rem .9rem;
    border-radius: 10px;
    background: rgba(217, 199, 162, .18);
}
@media (max-width: 600px) {
    .whd-negative-heritage-note dl > div {
        grid-template-columns: 1fr;
        gap: .2rem;
    }
}

/* v0.8.29: Cocoonテーマ向けフロント表示・記事テンプレート改善 */
.whd-front-rendered {
    margin: 2rem 0 0;
}

.whd-cocoon-section {
    margin: 2rem 0;
}

.whd-cocoon-section > h2,
.whd-cocoon-section .whd-section-heading h2 {
    margin-top: 0;
}

.whd-cocoon-definition-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 1rem 0 1.25rem;
}

.whd-cocoon-def-item {
    display: grid;
    grid-template-columns: 8.5rem minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
    padding: 0.85rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
}

.whd-cocoon-def-item dt {
    margin: 0;
    color: #4b5563;
    font-weight: 700;
    font-size: 0.9rem;
}

.whd-cocoon-def-item dd {
    margin: 0;
    min-width: 0;
    overflow-wrap: anywhere;
}

.whd-cocoon-main-image img {
    aspect-ratio: 16 / 9;
}

.whd-cocoon-stat-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.whd-cocoon-card-grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.whd-cocoon-card {
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
}

.whd-cocoon-link-list {
    margin: 0.5rem 0 0;
    font-size: 0.92rem;
}

.whd-cocoon-more-note {
    margin: 1rem 0 0;
    padding: 0.75rem 0.9rem;
    border-left: 4px solid #bfdbfe;
    background: #eff6ff;
    color: #1e3a8a;
    font-size: 0.92rem;
}

.whd-jsonld {
    display: none !important;
}

body.heritage_site-template-default .whd-front-rendered,
body.component_site-template-default .whd-front-rendered {
    clear: both;
}

@media (max-width: 834px) {
    .whd-cocoon-definition-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .whd-front-rendered {
        margin-top: 1.5rem;
    }

    .whd-cocoon-section {
        margin: 1.6rem 0;
    }

    .whd-cocoon-def-item {
        display: block;
        padding: 0.8rem 0.85rem;
        border-radius: 10px;
    }

    .whd-cocoon-def-item dt {
        margin-bottom: 0.28rem;
        font-size: 0.84rem;
    }

    .whd-cocoon-main-image img {
        aspect-ratio: auto;
        max-height: 360px;
    }

    .whd-cocoon-card-grid {
        grid-template-columns: 1fr;
    }

    .whd-cocoon-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* v0.8.34: Cocoon向けフロント表示調整 */
.whd-theme-cocoon .whd-front-rendered,
.whd-cocoon-content-mode .whd-front-rendered {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

.whd-theme-cocoon .whd-front-rendered *,
.whd-cocoon-content-mode .whd-front-rendered * {
    box-sizing: border-box;
}

.whd-theme-cocoon .entry-content .whd-cocoon-section,
.whd-cocoon-content-mode .entry-content .whd-cocoon-section {
    margin: 2rem 0;
    padding: 1.25rem 1.35rem;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
}

.whd-theme-cocoon .entry-content .whd-cocoon-section:first-child,
.whd-cocoon-content-mode .entry-content .whd-cocoon-section:first-child {
    margin-top: 1.5rem;
}

.whd-theme-cocoon .entry-content .whd-front-heading,
.whd-cocoon-content-mode .entry-content .whd-front-heading {
    margin: 0 0 1rem;
    padding: 0 0 0.55rem;
    border: 0;
    border-bottom: 1px solid #e5e7eb;
    background: transparent;
    color: #111827;
    font-size: clamp(1.18rem, 2.1vw, 1.45rem);
    line-height: 1.45;
}

.whd-theme-cocoon .entry-content .whd-front-heading::before,
.whd-theme-cocoon .entry-content .whd-front-heading::after,
.whd-cocoon-content-mode .entry-content .whd-front-heading::before,
.whd-cocoon-content-mode .entry-content .whd-front-heading::after {
    content: none;
}

.whd-theme-cocoon .whd-cocoon-definition-grid,
.whd-cocoon-content-mode .whd-cocoon-definition-grid {
    margin: 0.9rem 0 0;
}

.whd-theme-cocoon .whd-cocoon-def-item,
.whd-cocoon-content-mode .whd-cocoon-def-item {
    background: #f8fafc;
}

.whd-theme-cocoon .whd-cocoon-main-image,
.whd-cocoon-content-mode .whd-cocoon-main-image {
    margin: 1.25rem 0 1.75rem;
    border-radius: 16px;
}

.whd-theme-cocoon .whd-cocoon-main-image img,
.whd-cocoon-content-mode .whd-cocoon-main-image img {
    height: auto;
    max-height: 500px;
    background: #f3f4f6;
}

.whd-image-credit {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.45rem 0.65rem;
    align-items: start;
}

.whd-image-credit-label {
    display: inline-flex;
    align-items: center;
    min-height: 1.55rem;
    padding: 0.08rem 0.55rem;
    border-radius: 999px;
    background: #eef2ff;
    color: #3730a3;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.whd-image-credit-body {
    min-width: 0;
    overflow-wrap: anywhere;
}

.whd-theme-cocoon .whd-component-stat,
.whd-cocoon-content-mode .whd-component-stat {
    background: #f8fafc;
}

.whd-theme-cocoon .whd-component-card,
.whd-theme-cocoon .whd-component-sibling-card,
.whd-cocoon-content-mode .whd-component-card,
.whd-cocoon-content-mode .whd-component-sibling-card {
    border-color: #e5e7eb;
    background: #fff;
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.whd-theme-cocoon .whd-component-card:hover,
.whd-theme-cocoon .whd-component-sibling-card:hover,
.whd-cocoon-content-mode .whd-component-card:hover,
.whd-cocoon-content-mode .whd-component-sibling-card:hover {
    transform: translateY(-1px);
    border-color: #cbd5e1;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.whd-theme-cocoon .whd-component-card-title,
.whd-cocoon-content-mode .whd-component-card-title {
    font-size: 1rem;
}

.whd-theme-cocoon .whd-component-card-title a,
.whd-theme-cocoon .whd-component-sibling-card a,
.whd-cocoon-content-mode .whd-component-card-title a,
.whd-cocoon-content-mode .whd-component-sibling-card a {
    text-decoration: none;
}

.whd-theme-cocoon .whd-component-card-title a:hover,
.whd-theme-cocoon .whd-component-sibling-card a:hover,
.whd-cocoon-content-mode .whd-component-card-title a:hover,
.whd-cocoon-content-mode .whd-component-sibling-card a:hover {
    text-decoration: underline;
}

.whd-theme-cocoon .whd-component-card-links,
.whd-cocoon-content-mode .whd-component-card-links,
.whd-theme-cocoon .whd-cocoon-link-list,
.whd-cocoon-content-mode .whd-cocoon-link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
}

.whd-theme-cocoon .whd-component-card-links a,
.whd-cocoon-content-mode .whd-component-card-links a,
.whd-theme-cocoon .whd-cocoon-link-list a,
.whd-cocoon-content-mode .whd-cocoon-link-list a {
    display: inline-flex;
    align-items: center;
    min-height: 1.9rem;
    padding: 0.15rem 0.6rem;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.86rem;
    line-height: 1.35;
    text-decoration: none;
}

.whd-theme-cocoon .whd-component-card-links a:hover,
.whd-cocoon-content-mode .whd-component-card-links a:hover,
.whd-theme-cocoon .whd-cocoon-link-list a:hover,
.whd-cocoon-content-mode .whd-cocoon-link-list a:hover {
    background: #dbeafe;
    text-decoration: none;
}

.whd-theme-cocoon .whd-component-card-links a + a::before,
.whd-cocoon-content-mode .whd-component-card-links a + a::before {
    content: none;
}

.whd-source-list {
    margin: 0.75rem 0 0;
    padding-left: 1.25rem;
}

.whd-source-list li {
    margin: 0.35rem 0;
    overflow-wrap: anywhere;
}

.whd-source-list a {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.whd-theme-cocoon .whd-component-map,
.whd-cocoon-content-mode .whd-component-map {
    border-radius: 14px;
    border-color: #cbd5e1;
}

.whd-theme-cocoon .whd-related-taxonomy-links,
.whd-cocoon-content-mode .whd-related-taxonomy-links {
    background: #f8fafc;
}

@media (max-width: 834px) {
    .whd-theme-cocoon .entry-content .whd-cocoon-section,
    .whd-cocoon-content-mode .entry-content .whd-cocoon-section {
        padding: 1rem;
        border-radius: 14px;
    }

    .whd-theme-cocoon .whd-cocoon-card-grid,
    .whd-cocoon-content-mode .whd-cocoon-card-grid,
    .whd-theme-cocoon .whd-component-sibling-grid,
    .whd-cocoon-content-mode .whd-component-sibling-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .whd-theme-cocoon .entry-content .whd-cocoon-section,
    .whd-cocoon-content-mode .entry-content .whd-cocoon-section {
        margin: 1.45rem 0;
        padding: 0.95rem;
        border-radius: 12px;
    }

    .whd-theme-cocoon .entry-content .whd-front-heading,
    .whd-cocoon-content-mode .entry-content .whd-front-heading {
        font-size: 1.15rem;
    }

    .whd-image-credit {
        grid-template-columns: 1fr;
    }

    .whd-image-credit-label {
        width: max-content;
    }

    .whd-theme-cocoon .whd-cocoon-stat-grid,
    .whd-cocoon-content-mode .whd-cocoon-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
    }

    .whd-theme-cocoon .whd-component-stat,
    .whd-cocoon-content-mode .whd-component-stat {
        padding: 0.7rem 0.55rem;
    }

    .whd-theme-cocoon .whd-component-stat span,
    .whd-cocoon-content-mode .whd-component-stat span {
        font-size: 1.22rem;
    }

    .whd-theme-cocoon .whd-component-map,
    .whd-theme-cocoon .whd-component-map .leaflet-container,
    .whd-theme-cocoon .whd-component-map.leaflet-container,
    .whd-cocoon-content-mode .whd-component-map,
    .whd-cocoon-content-mode .whd-component-map .leaflet-container,
    .whd-cocoon-content-mode .whd-component-map.leaflet-container {
        height: 300px;
        min-height: 300px;
    }

    .whd-theme-cocoon .whd-component-card:hover,
    .whd-theme-cocoon .whd-component-sibling-card:hover,
    .whd-cocoon-content-mode .whd-component-card:hover,
    .whd-cocoon-content-mode .whd-component-sibling-card:hover {
        transform: none;
        box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
    }
}

/* v0.8.35: note風ミニマルフロントデザイン */
body.whd-front-style-minimal-note.whd-theme-cocoon.single-heritage_site #main,
body.whd-front-style-minimal-note.whd-theme-cocoon.single-component_site #main,
body.whd-front-style-minimal-note.whd-theme-cocoon.single-heritage_site .main,
body.whd-front-style-minimal-note.whd-theme-cocoon.single-component_site .main {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

body.whd-front-style-minimal-note.whd-theme-cocoon.single-heritage_site .article,
body.whd-front-style-minimal-note.whd-theme-cocoon.single-component_site .article,
body.whd-front-style-minimal-note.whd-theme-cocoon.single-heritage_site article,
body.whd-front-style-minimal-note.whd-theme-cocoon.single-component_site article {
    box-shadow: none;
}

body.whd-front-style-minimal-note.whd-theme-cocoon .entry-title,
body.whd-front-style-minimal-note.whd-theme-cocoon .article h1.entry-title {
    font-size: clamp(1.85rem, 4.6vw, 2.55rem);
    line-height: 1.34;
    letter-spacing: 0.01em;
    font-weight: 700;
}

body.whd-front-style-minimal-note.whd-theme-cocoon .entry-content,
body.whd-front-style-minimal-note.whd-theme-cocoon .article .entry-content {
    font-size: 1.02rem;
    line-height: 1.95;
    color: #242424;
}

body.whd-front-style-minimal-note .whd-front-rendered {
    max-width: 760px;
    margin: 2.8rem auto 0;
    color: #242424;
}

body.whd-front-style-minimal-note .whd-front-rendered a {
    color: #1f2937;
    text-decoration: underline;
    text-underline-offset: 0.18em;
    text-decoration-thickness: 1px;
}

body.whd-front-style-minimal-note .whd-front-rendered a:hover {
    color: #000;
}

body.whd-front-style-minimal-note .entry-content .whd-cocoon-section,
body.whd-front-style-minimal-note .whd-cocoon-section {
    margin: 2.4rem 0;
    padding: 0;
    border: 0;
    border-top: 1px solid #e6e6e6;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body.whd-front-style-minimal-note .entry-content .whd-cocoon-section:first-child,
body.whd-front-style-minimal-note .whd-front-rendered > .whd-cocoon-section:first-child {
    border-top: 0;
}

body.whd-front-style-minimal-note .entry-content .whd-front-heading,
body.whd-front-style-minimal-note .whd-front-heading {
    margin: 0 0 1rem;
    padding-top: 1.65rem;
    border: 0;
    font-size: 1.18rem;
    line-height: 1.55;
    letter-spacing: 0.02em;
    font-weight: 700;
    color: #222;
}

body.whd-front-style-minimal-note .whd-front-heading::before,
body.whd-front-style-minimal-note .whd-front-heading::after {
    display: none !important;
    content: none !important;
}

body.whd-front-style-minimal-note .whd-component-summary,
body.whd-front-style-minimal-note .whd-cocoon-more-note,
body.whd-front-style-minimal-note .whd-component-card-meta,
body.whd-front-style-minimal-note .whd-parent-link {
    color: #666;
    font-size: 0.93rem;
    line-height: 1.8;
}

body.whd-front-style-minimal-note .whd-cocoon-definition-grid {
    display: block;
    margin: 0;
    border-top: 1px solid #eeeeee;
}

body.whd-front-style-minimal-note .whd-cocoon-def-item {
    display: grid;
    grid-template-columns: minmax(7.5rem, 32%) minmax(0, 1fr);
    gap: 1rem;
    padding: 0.82rem 0;
    border-bottom: 1px solid #eeeeee;
    background: transparent;
}

body.whd-front-style-minimal-note .whd-cocoon-def-item dt {
    color: #777;
    font-size: 0.86rem;
    font-weight: 500;
}

body.whd-front-style-minimal-note .whd-cocoon-def-item dd {
    color: #242424;
    font-size: 0.96rem;
}

body.whd-front-style-minimal-note .whd-taxonomy-tags,
body.whd-front-style-minimal-note .whd-component-card-links,
body.whd-front-style-minimal-note .whd-cocoon-link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.65rem;
}

body.whd-front-style-minimal-note .whd-taxonomy-tag,
body.whd-front-style-minimal-note .whd-component-badge,
body.whd-front-style-minimal-note .whd-component-card-links a,
body.whd-front-style-minimal-note .whd-cocoon-link-list a {
    display: inline;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.6;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

body.whd-front-style-minimal-note .whd-component-badge {
    text-decoration: none;
}

body.whd-front-style-minimal-note .whd-taxonomy-tag::before,
body.whd-front-style-minimal-note .whd-component-badge::before {
    content: '#';
    color: #aaa;
}

body.whd-front-style-minimal-note .whd-component-stat-grid {
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
    gap: 0;
    margin: 1.2rem 0 1.6rem;
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
}

body.whd-front-style-minimal-note .whd-component-stat {
    border: 0;
    border-right: 1px solid #eeeeee;
    border-radius: 0;
    background: transparent;
    padding: 0.8rem 0.7rem;
}

body.whd-front-style-minimal-note .whd-component-stat:last-child {
    border-right: 0;
}

body.whd-front-style-minimal-note .whd-component-stat span {
    font-size: 1.22rem;
    font-weight: 600;
    color: #222;
}

body.whd-front-style-minimal-note .whd-component-stat small {
    color: #777;
    font-size: 0.76rem;
}

body.whd-front-style-minimal-note .whd-component-grid,
body.whd-front-style-minimal-note .whd-cocoon-card-grid,
body.whd-front-style-minimal-note .whd-component-sibling-grid {
    display: block;
    margin: 1.35rem 0 0;
    border-top: 1px solid #eeeeee;
}

body.whd-front-style-minimal-note .whd-component-card,
body.whd-front-style-minimal-note .whd-component-sibling-card {
    margin: 0;
    padding: 1.05rem 0;
    border: 0;
    border-bottom: 1px solid #eeeeee;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transition: none;
}

body.whd-front-style-minimal-note .whd-component-card:hover,
body.whd-front-style-minimal-note .whd-component-sibling-card:hover {
    transform: none;
    border-color: #eeeeee;
    box-shadow: none;
}

body.whd-front-style-minimal-note .whd-component-card-title,
body.whd-front-style-minimal-note .whd-component-sibling-card h3 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    line-height: 1.65;
    font-weight: 650;
}

body.whd-front-style-minimal-note .whd-component-card-meta {
    margin: 0.18rem 0;
}

body.whd-front-style-minimal-note .whd-component-card-links {
    margin-top: 0.45rem;
}

body.whd-front-style-minimal-note .whd-component-map-wrap {
    margin: 1.25rem 0 1.9rem;
}

body.whd-front-style-minimal-note .whd-component-map,
body.whd-front-style-minimal-note .whd-component-map .leaflet-container,
body.whd-front-style-minimal-note .whd-component-map.leaflet-container {
    height: 330px;
    min-height: 330px;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    background: #f7f7f7;
}

body.whd-front-style-minimal-note .whd-map-legend {
    color: #777;
    font-size: 0.82rem;
}

body.whd-front-style-minimal-note .whd-cocoon-main-image,
body.whd-front-style-minimal-note .whd-licensed-image {
    margin: 1.6rem 0 2rem;
    border-radius: 12px;
    overflow: hidden;
    background: transparent;
}

body.whd-front-style-minimal-note .whd-cocoon-main-image img,
body.whd-front-style-minimal-note .whd-licensed-image img {
    display: block;
    width: 100%;
    border-radius: 12px;
    background: #f6f6f6;
}

body.whd-front-style-minimal-note .whd-image-credit {
    display: block;
    margin-top: 0.45rem;
    color: #888;
    font-size: 0.78rem;
    line-height: 1.65;
}

body.whd-front-style-minimal-note .whd-image-credit-label {
    display: inline;
    min-height: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #888;
    font-size: inherit;
    font-weight: 500;
}

body.whd-front-style-minimal-note .whd-image-credit-label::after {
    content: '：';
}

body.whd-front-style-minimal-note .whd-image-credit-body {
    display: inline;
}

body.whd-front-style-minimal-note .whd-related-taxonomy-links {
    background: transparent;
}

body.whd-front-style-minimal-note .whd-related-taxonomy-row {
    padding: 0.55rem 0;
    border-bottom: 1px solid #eeeeee;
}

body.whd-front-style-minimal-note .whd-related-taxonomy-label {
    display: block;
    margin-bottom: 0.2rem;
    color: #777;
    font-size: 0.84rem;
    font-weight: 500;
}

body.whd-front-style-minimal-note .whd-source-list {
    margin: 0.5rem 0 0;
    padding-left: 1.1rem;
    color: #666;
    font-size: 0.9rem;
}

body.whd-front-style-minimal-note .whd-source-list li {
    margin: 0.45rem 0;
}

body.whd-front-style-minimal-note .sns-share,
body.whd-front-style-minimal-note .sns-follow,
body.whd-front-style-minimal-note .author-info,
body.whd-front-style-minimal-note .under-entry-content {
    border-radius: 0;
}

@media (max-width: 834px) {
    body.whd-front-style-minimal-note .whd-front-rendered {
        max-width: 100%;
        margin-top: 2.2rem;
    }

    body.whd-front-style-minimal-note .entry-content .whd-cocoon-section,
    body.whd-front-style-minimal-note .whd-cocoon-section {
        margin: 2.05rem 0;
        padding: 0;
        border-radius: 0;
    }

    body.whd-front-style-minimal-note .whd-component-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.whd-front-style-minimal-note .whd-component-stat:nth-child(2n) {
        border-right: 0;
    }
}

@media (max-width: 640px) {
    body.whd-front-style-minimal-note.whd-theme-cocoon .entry-content,
    body.whd-front-style-minimal-note.whd-theme-cocoon .article .entry-content {
        font-size: 1rem;
        line-height: 1.9;
    }

    body.whd-front-style-minimal-note .whd-cocoon-def-item {
        grid-template-columns: 1fr;
        gap: 0.2rem;
        padding: 0.78rem 0;
    }

    body.whd-front-style-minimal-note .whd-component-map,
    body.whd-front-style-minimal-note .whd-component-map .leaflet-container,
    body.whd-front-style-minimal-note .whd-component-map.leaflet-container {
        height: 260px;
        min-height: 260px;
        border-radius: 8px;
    }

    body.whd-front-style-minimal-note .whd-component-stat {
        padding: 0.72rem 0.4rem;
    }

    body.whd-front-style-minimal-note .whd-component-card,
    body.whd-front-style-minimal-note .whd-component-sibling-card {
        padding: 0.95rem 0;
    }
}

/* v0.8.36: Cocoonミニマル表示の白一面・境界レス調整 */
body.whd-front-style-minimal-note.whd-theme-cocoon,
body.whd-front-style-minimal-note.whd-theme-cocoon #container,
body.whd-front-style-minimal-note.whd-theme-cocoon .container,
body.whd-front-style-minimal-note.whd-theme-cocoon #content,
body.whd-front-style-minimal-note.whd-theme-cocoon .content,
body.whd-front-style-minimal-note.whd-theme-cocoon #main,
body.whd-front-style-minimal-note.whd-theme-cocoon .main,
body.whd-front-style-minimal-note.whd-theme-cocoon .article,
body.whd-front-style-minimal-note.whd-theme-cocoon article,
body.whd-front-style-minimal-note.whd-theme-cocoon .entry-content,
body.whd-front-style-minimal-note.whd-theme-cocoon .sidebar,
body.whd-front-style-minimal-note.whd-theme-cocoon #sidebar,
body.whd-front-style-minimal-note.whd-theme-cocoon .widget,
body.whd-front-style-minimal-note.whd-theme-cocoon .header-container,
body.whd-front-style-minimal-note.whd-theme-cocoon .footer,
body.whd-front-style-minimal-note.whd-theme-cocoon .footer-bottom,
body.whd-front-style-minimal-note.whd-theme-cocoon .footer-widgets,
body.whd-front-style-minimal-note.whd-theme-cocoon .navi,
body.whd-front-style-minimal-note.whd-theme-cocoon .navi-in,
body.whd-front-style-minimal-note.whd-theme-cocoon .breadcrumb,
body.whd-front-style-minimal-note.whd-theme-cocoon .under-entry-content,
body.whd-front-style-minimal-note.whd-theme-cocoon .sns-share,
body.whd-front-style-minimal-note.whd-theme-cocoon .sns-follow,
body.whd-front-style-minimal-note.whd-theme-cocoon .author-info,
body.whd-front-style-minimal-note.whd-theme-cocoon .related-entry-card-wrap,
body.whd-front-style-minimal-note.whd-theme-cocoon .comment-area,
body.whd-front-style-minimal-note.whd-theme-cocoon .pager-post-navi,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-front-rendered,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-front-rendered * {
    background-color: #FFFFFF !important;
    background-image: none !important;
    box-shadow: none !important;
}

body.whd-front-style-minimal-note.whd-theme-cocoon .main,
body.whd-front-style-minimal-note.whd-theme-cocoon .article,
body.whd-front-style-minimal-note.whd-theme-cocoon .sidebar,
body.whd-front-style-minimal-note.whd-theme-cocoon .widget,
body.whd-front-style-minimal-note.whd-theme-cocoon .entry-content .whd-cocoon-section,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-cocoon-section,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-cocoon-definition-grid,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-cocoon-def-item,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-stat-grid,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-stat,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-grid,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-cocoon-card-grid,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-sibling-grid,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-card,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-sibling-card,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-table-wrap,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-table,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-table th,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-table td,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-licensed-image,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-licensed-image figcaption,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-cocoon-main-image,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-related-taxonomy-links,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-related-taxonomy-row,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-cocoon-more-note,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-source-box,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-source-details,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-summary-card,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-hero,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-negative-heritage-note,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-negative-heritage-deleted,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-heritage-card-negative {
    border-color: transparent !important;
    border-width: 0 !important;
    outline: 0 !important;
}

body.whd-front-style-minimal-note.whd-theme-cocoon .entry-content .whd-front-heading,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-front-heading,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-cocoon-def-item,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-stat,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-card,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-sibling-card,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-related-taxonomy-row,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-table th,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-table td,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-negative-heritage-note dl > div {
    border-top: 0 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-left: 0 !important;
}

body.whd-front-style-minimal-note.whd-theme-cocoon .whd-taxonomy-tag,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-badge,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-badge-muted,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-card-links a,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-cocoon-link-list a,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-image-credit-label,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-draft-badge {
    background-color: #FFFFFF !important;
    background-image: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-map,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-map .leaflet-container,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-map.leaflet-container,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-cocoon-main-image img,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-licensed-image img {
    background-color: #FFFFFF !important;
    background-image: none !important;
}

body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-stat-grid,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-grid,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-cocoon-card-grid,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-sibling-grid {
    gap: 1.05rem !important;
}

body.whd-front-style-minimal-note.whd-theme-cocoon .entry-content .whd-cocoon-section,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-cocoon-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-card,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-sibling-card,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-cocoon-def-item,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-stat {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-card:hover,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-sibling-card:hover {
    transform: none !important;
    box-shadow: none !important;
}

@media (max-width: 640px) {
    body.whd-front-style-minimal-note.whd-theme-cocoon .entry-content .whd-cocoon-section,
    body.whd-front-style-minimal-note.whd-theme-cocoon .whd-cocoon-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}


/* v0.8.37: Leaflet地図ピン背景修正・表示保護
 * v0.8.36の白一面CSSがマーカーPNGの透明部分へ白背景を付けないよう、
 * Leaflet内部の画像・ペイン・マーカーだけは背景と装飾を解除する。
 */
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-map .leaflet-pane,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-map .leaflet-tile-pane,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-map .leaflet-overlay-pane,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-map .leaflet-marker-pane,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-map .leaflet-shadow-pane,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-map.leaflet-container .leaflet-pane,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-map.leaflet-container .leaflet-tile-pane,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-map.leaflet-container .leaflet-overlay-pane,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-map.leaflet-container .leaflet-marker-pane,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-map.leaflet-container .leaflet-shadow-pane {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    border: 0 !important;
    outline: 0 !important;
}

body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-map .leaflet-marker-icon,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-map .leaflet-marker-shadow,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-map.leaflet-container .leaflet-marker-icon,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-map.leaflet-container .leaflet-marker-shadow {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    filter: none !important;
}

body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-map img.leaflet-marker-icon,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-map img.leaflet-marker-shadow,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-map.leaflet-container img.leaflet-marker-icon,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-map.leaflet-container img.leaflet-marker-shadow {
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    opacity: 1 !important;
}

body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-map .leaflet-tile,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-map .leaflet-image-layer,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-map.leaflet-container .leaflet-tile,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-map.leaflet-container .leaflet-image-layer {
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-map .leaflet-popup,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-map .leaflet-popup *,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-map.leaflet-container .leaflet-popup,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-map.leaflet-container .leaflet-popup * {
    background-image: none !important;
}

/* Leaflet標準UIは操作性を優先し、必要な白背景と境界を維持する。 */
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-map .leaflet-control-zoom a,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-map.leaflet-container .leaflet-control-zoom a,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-map .leaflet-popup-content-wrapper,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-map .leaflet-popup-tip,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-map.leaflet-container .leaflet-popup-content-wrapper,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-map.leaflet-container .leaflet-popup-tip {
    background-color: #FFFFFF !important;
}


/* v0.8.38: Cocoonサイドバー・標準ウィジェット白背景統一
 * Cocoon標準の検索・Recent Posts・Recent Comments・Archives・Categoriesなどに
 * 残る #F4F5F7 / #F5F8FA / #32373C 系の背景を、ミニマル / note風表示時だけ白へ寄せる。
 */
body.whd-front-style-minimal-note.whd-theme-cocoon,
body.whd-front-style-minimal-note.whd-theme-cocoon #container,
body.whd-front-style-minimal-note.whd-theme-cocoon .container,
body.whd-front-style-minimal-note.whd-theme-cocoon .content,
body.whd-front-style-minimal-note.whd-theme-cocoon .main,
body.whd-front-style-minimal-note.whd-theme-cocoon #main,
body.whd-front-style-minimal-note.whd-theme-cocoon .sidebar,
body.whd-front-style-minimal-note.whd-theme-cocoon #sidebar,
body.whd-front-style-minimal-note.whd-theme-cocoon .sidebar-scroll,
body.whd-front-style-minimal-note.whd-theme-cocoon .sidebar-scroll-content,
body.whd-front-style-minimal-note.whd-theme-cocoon .widget-area,
body.whd-front-style-minimal-note.whd-theme-cocoon .widget,
body.whd-front-style-minimal-note.whd-theme-cocoon .widget-sidebar,
body.whd-front-style-minimal-note.whd-theme-cocoon .widget_block,
body.whd-front-style-minimal-note.whd-theme-cocoon .widget_search,
body.whd-front-style-minimal-note.whd-theme-cocoon .widget_recent_entries,
body.whd-front-style-minimal-note.whd-theme-cocoon .widget_recent_comments,
body.whd-front-style-minimal-note.whd-theme-cocoon .widget_archive,
body.whd-front-style-minimal-note.whd-theme-cocoon .widget_categories {
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    background-image: none !important;
    box-shadow: none !important;
}

body.whd-front-style-minimal-note.whd-theme-cocoon .sidebar .widget,
body.whd-front-style-minimal-note.whd-theme-cocoon #sidebar .widget,
body.whd-front-style-minimal-note.whd-theme-cocoon .widget-area .widget,
body.whd-front-style-minimal-note.whd-theme-cocoon .widget_block,
body.whd-front-style-minimal-note.whd-theme-cocoon .widget_search,
body.whd-front-style-minimal-note.whd-theme-cocoon .widget_recent_entries,
body.whd-front-style-minimal-note.whd-theme-cocoon .widget_recent_comments,
body.whd-front-style-minimal-note.whd-theme-cocoon .widget_archive,
body.whd-front-style-minimal-note.whd-theme-cocoon .widget_categories {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 0 2.4rem !important;
}

body.whd-front-style-minimal-note.whd-theme-cocoon .sidebar .widget-title,
body.whd-front-style-minimal-note.whd-theme-cocoon #sidebar .widget-title,
body.whd-front-style-minimal-note.whd-theme-cocoon .sidebar .widget-sidebar-title,
body.whd-front-style-minimal-note.whd-theme-cocoon #sidebar .widget-sidebar-title,
body.whd-front-style-minimal-note.whd-theme-cocoon .sidebar h2,
body.whd-front-style-minimal-note.whd-theme-cocoon .sidebar h3,
body.whd-front-style-minimal-note.whd-theme-cocoon #sidebar h2,
body.whd-front-style-minimal-note.whd-theme-cocoon #sidebar h3,
body.whd-front-style-minimal-note.whd-theme-cocoon .widget_block h2,
body.whd-front-style-minimal-note.whd-theme-cocoon .widget_block h3 {
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    background-image: none !important;
    border: 0 !important;
    border-top: 0 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-left: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    padding: 0 0 .35rem !important;
    margin: 0 0 .75rem !important;
    color: #333333 !important;
    font-size: 1.05rem !important;
    line-height: 1.55 !important;
    font-weight: 700 !important;
}

body.whd-front-style-minimal-note.whd-theme-cocoon .sidebar .widget-title::before,
body.whd-front-style-minimal-note.whd-theme-cocoon .sidebar .widget-title::after,
body.whd-front-style-minimal-note.whd-theme-cocoon #sidebar .widget-title::before,
body.whd-front-style-minimal-note.whd-theme-cocoon #sidebar .widget-title::after,
body.whd-front-style-minimal-note.whd-theme-cocoon .sidebar .widget-sidebar-title::before,
body.whd-front-style-minimal-note.whd-theme-cocoon .sidebar .widget-sidebar-title::after,
body.whd-front-style-minimal-note.whd-theme-cocoon #sidebar .widget-sidebar-title::before,
body.whd-front-style-minimal-note.whd-theme-cocoon #sidebar .widget-sidebar-title::after {
    content: none !important;
    display: none !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.whd-front-style-minimal-note.whd-theme-cocoon .sidebar .widget p,
body.whd-front-style-minimal-note.whd-theme-cocoon #sidebar .widget p,
body.whd-front-style-minimal-note.whd-theme-cocoon .sidebar .widget ul,
body.whd-front-style-minimal-note.whd-theme-cocoon #sidebar .widget ul,
body.whd-front-style-minimal-note.whd-theme-cocoon .sidebar .widget li,
body.whd-front-style-minimal-note.whd-theme-cocoon #sidebar .widget li,
body.whd-front-style-minimal-note.whd-theme-cocoon .sidebar .wp-block-latest-posts,
body.whd-front-style-minimal-note.whd-theme-cocoon .sidebar .wp-block-latest-comments,
body.whd-front-style-minimal-note.whd-theme-cocoon .sidebar .wp-block-archives,
body.whd-front-style-minimal-note.whd-theme-cocoon .sidebar .wp-block-categories {
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.whd-front-style-minimal-note.whd-theme-cocoon .sidebar .widget li,
body.whd-front-style-minimal-note.whd-theme-cocoon #sidebar .widget li {
    border-top: 0 !important;
    border-bottom: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.whd-front-style-minimal-note.whd-theme-cocoon .sidebar .search-box,
body.whd-front-style-minimal-note.whd-theme-cocoon #sidebar .search-box,
body.whd-front-style-minimal-note.whd-theme-cocoon .sidebar .search-form,
body.whd-front-style-minimal-note.whd-theme-cocoon #sidebar .search-form,
body.whd-front-style-minimal-note.whd-theme-cocoon .sidebar .wp-block-search,
body.whd-front-style-minimal-note.whd-theme-cocoon .sidebar .wp-block-search__inside-wrapper {
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.whd-front-style-minimal-note.whd-theme-cocoon .sidebar input[type="search"],
body.whd-front-style-minimal-note.whd-theme-cocoon #sidebar input[type="search"],
body.whd-front-style-minimal-note.whd-theme-cocoon .sidebar .search-field,
body.whd-front-style-minimal-note.whd-theme-cocoon #sidebar .search-field,
body.whd-front-style-minimal-note.whd-theme-cocoon .sidebar .search-edit,
body.whd-front-style-minimal-note.whd-theme-cocoon #sidebar .search-edit,
body.whd-front-style-minimal-note.whd-theme-cocoon .sidebar .wp-block-search__input {
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    background-image: none !important;
    border: 1px solid #DADDE1 !important;
    box-shadow: none !important;
    color: #333333 !important;
}

body.whd-front-style-minimal-note.whd-theme-cocoon .sidebar input[type="submit"],
body.whd-front-style-minimal-note.whd-theme-cocoon #sidebar input[type="submit"],
body.whd-front-style-minimal-note.whd-theme-cocoon .sidebar button[type="submit"],
body.whd-front-style-minimal-note.whd-theme-cocoon #sidebar button[type="submit"],
body.whd-front-style-minimal-note.whd-theme-cocoon .sidebar .search-submit,
body.whd-front-style-minimal-note.whd-theme-cocoon #sidebar .search-submit,
body.whd-front-style-minimal-note.whd-theme-cocoon .sidebar .wp-block-search__button {
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    background-image: none !important;
    border: 1px solid #DADDE1 !important;
    box-shadow: none !important;
    color: #333333 !important;
    font-weight: 600 !important;
}

body.whd-front-style-minimal-note.whd-theme-cocoon .sidebar input[type="submit"]:hover,
body.whd-front-style-minimal-note.whd-theme-cocoon #sidebar input[type="submit"]:hover,
body.whd-front-style-minimal-note.whd-theme-cocoon .sidebar button[type="submit"]:hover,
body.whd-front-style-minimal-note.whd-theme-cocoon #sidebar button[type="submit"]:hover,
body.whd-front-style-minimal-note.whd-theme-cocoon .sidebar .search-submit:hover,
body.whd-front-style-minimal-note.whd-theme-cocoon #sidebar .search-submit:hover,
body.whd-front-style-minimal-note.whd-theme-cocoon .sidebar .wp-block-search__button:hover {
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    border-color: #BFC5CC !important;
    color: #111111 !important;
}

@media (max-width: 834px) {
    body.whd-front-style-minimal-note.whd-theme-cocoon .sidebar .widget,
    body.whd-front-style-minimal-note.whd-theme-cocoon #sidebar .widget,
    body.whd-front-style-minimal-note.whd-theme-cocoon .widget-area .widget {
        margin-bottom: 2rem !important;
    }

    body.whd-front-style-minimal-note.whd-theme-cocoon .sidebar .widget-title,
    body.whd-front-style-minimal-note.whd-theme-cocoon #sidebar .widget-title,
    body.whd-front-style-minimal-note.whd-theme-cocoon .sidebar .widget-sidebar-title,
    body.whd-front-style-minimal-note.whd-theme-cocoon #sidebar .widget-sidebar-title,
    body.whd-front-style-minimal-note.whd-theme-cocoon .sidebar h2,
    body.whd-front-style-minimal-note.whd-theme-cocoon .sidebar h3,
    body.whd-front-style-minimal-note.whd-theme-cocoon #sidebar h2,
    body.whd-front-style-minimal-note.whd-theme-cocoon #sidebar h3 {
        font-size: 1rem !important;
        padding-bottom: .25rem !important;
        margin-bottom: .6rem !important;
    }
}


/* v0.8.39: Cocoonサイト全体のnote風ミニマル統一。
 * 世界遺産DBページだけでなく、トップページ・固定ページ・投稿一覧・検索結果・404でも
 * Cocoonの薄い灰色背景やカード境界を抑え、白い紙のような一体感へ寄せる。
 */
body.whd-site-minimal-note-global.whd-theme-cocoon,
body.whd-site-minimal-note-global.whd-theme-cocoon #container,
body.whd-site-minimal-note-global.whd-theme-cocoon .container,
body.whd-site-minimal-note-global.whd-theme-cocoon .container-in,
body.whd-site-minimal-note-global.whd-theme-cocoon #content,
body.whd-site-minimal-note-global.whd-theme-cocoon .content,
body.whd-site-minimal-note-global.whd-theme-cocoon .content-in,
body.whd-site-minimal-note-global.whd-theme-cocoon #main,
body.whd-site-minimal-note-global.whd-theme-cocoon .main,
body.whd-site-minimal-note-global.whd-theme-cocoon #sidebar,
body.whd-site-minimal-note-global.whd-theme-cocoon .sidebar,
body.whd-site-minimal-note-global.whd-theme-cocoon .article,
body.whd-site-minimal-note-global.whd-theme-cocoon article,
body.whd-site-minimal-note-global.whd-theme-cocoon .entry-content,
body.whd-site-minimal-note-global.whd-theme-cocoon .archive-title,
body.whd-site-minimal-note-global.whd-theme-cocoon .page-title,
body.whd-site-minimal-note-global.whd-theme-cocoon .error404 .article,
body.whd-site-minimal-note-global.whd-theme-cocoon .not-found,
body.whd-site-minimal-note-global.whd-theme-cocoon .list,
body.whd-site-minimal-note-global.whd-theme-cocoon .list-new-entries,
body.whd-site-minimal-note-global.whd-theme-cocoon .entry-card-wrap,
body.whd-site-minimal-note-global.whd-theme-cocoon .a-wrap,
body.whd-site-minimal-note-global.whd-theme-cocoon .widget,
body.whd-site-minimal-note-global.whd-theme-cocoon .widget-sidebar,
body.whd-site-minimal-note-global.whd-theme-cocoon .widget-entry-card,
body.whd-site-minimal-note-global.whd-theme-cocoon .header-container,
body.whd-site-minimal-note-global.whd-theme-cocoon .header-container-in,
body.whd-site-minimal-note-global.whd-theme-cocoon .header,
body.whd-site-minimal-note-global.whd-theme-cocoon .header-in,
body.whd-site-minimal-note-global.whd-theme-cocoon .navi,
body.whd-site-minimal-note-global.whd-theme-cocoon .navi-in,
body.whd-site-minimal-note-global.whd-theme-cocoon .breadcrumb,
body.whd-site-minimal-note-global.whd-theme-cocoon .footer,
body.whd-site-minimal-note-global.whd-theme-cocoon .footer-in,
body.whd-site-minimal-note-global.whd-theme-cocoon .footer-bottom,
body.whd-site-minimal-note-global.whd-theme-cocoon .footer-widgets,
body.whd-site-minimal-note-global.whd-theme-cocoon .under-entry-content,
body.whd-site-minimal-note-global.whd-theme-cocoon .related-entry-heading,
body.whd-site-minimal-note-global.whd-theme-cocoon .related-entry-card-wrap,
body.whd-site-minimal-note-global.whd-theme-cocoon .comment-area,
body.whd-site-minimal-note-global.whd-theme-cocoon .pager-post-navi,
body.whd-site-minimal-note-global.whd-theme-cocoon .pagination,
body.whd-site-minimal-note-global.whd-theme-cocoon .sns-share,
body.whd-site-minimal-note-global.whd-theme-cocoon .sns-follow {
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    background-image: none !important;
    box-shadow: none !important;
}

body.whd-site-minimal-note-global.whd-theme-cocoon .main,
body.whd-site-minimal-note-global.whd-theme-cocoon .article,
body.whd-site-minimal-note-global.whd-theme-cocoon .sidebar,
body.whd-site-minimal-note-global.whd-theme-cocoon .widget,
body.whd-site-minimal-note-global.whd-theme-cocoon .entry-card-wrap,
body.whd-site-minimal-note-global.whd-theme-cocoon .a-wrap,
body.whd-site-minimal-note-global.whd-theme-cocoon .not-found,
body.whd-site-minimal-note-global.whd-theme-cocoon .archive-title,
body.whd-site-minimal-note-global.whd-theme-cocoon .page-title,
body.whd-site-minimal-note-global.whd-theme-cocoon .breadcrumb,
body.whd-site-minimal-note-global.whd-theme-cocoon .navi,
body.whd-site-minimal-note-global.whd-theme-cocoon .footer,
body.whd-site-minimal-note-global.whd-theme-cocoon .related-entry-card-wrap,
body.whd-site-minimal-note-global.whd-theme-cocoon .comment-area,
body.whd-site-minimal-note-global.whd-theme-cocoon .pager-post-navi,
body.whd-site-minimal-note-global.whd-theme-cocoon .pagination {
    border-color: transparent !important;
    border-width: 0 !important;
    outline: 0 !important;
}

body.whd-site-minimal-note-global.whd-theme-cocoon .widget-title,
body.whd-site-minimal-note-global.whd-theme-cocoon .widget h2,
body.whd-site-minimal-note-global.whd-theme-cocoon .widget h3,
body.whd-site-minimal-note-global.whd-theme-cocoon .sidebar h2,
body.whd-site-minimal-note-global.whd-theme-cocoon .sidebar h3,
body.whd-site-minimal-note-global.whd-theme-cocoon .related-entry-heading,
body.whd-site-minimal-note-global.whd-theme-cocoon .comment-title,
body.whd-site-minimal-note-global.whd-theme-cocoon .archive-title,
body.whd-site-minimal-note-global.whd-theme-cocoon .list-title {
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.whd-site-minimal-note-global.whd-theme-cocoon .widget-title::before,
body.whd-site-minimal-note-global.whd-theme-cocoon .widget-title::after,
body.whd-site-minimal-note-global.whd-theme-cocoon .widget h2::before,
body.whd-site-minimal-note-global.whd-theme-cocoon .widget h2::after,
body.whd-site-minimal-note-global.whd-theme-cocoon .widget h3::before,
body.whd-site-minimal-note-global.whd-theme-cocoon .widget h3::after,
body.whd-site-minimal-note-global.whd-theme-cocoon .archive-title::before,
body.whd-site-minimal-note-global.whd-theme-cocoon .archive-title::after,
body.whd-site-minimal-note-global.whd-theme-cocoon .list-title::before,
body.whd-site-minimal-note-global.whd-theme-cocoon .list-title::after {
    display: none !important;
    content: none !important;
}

body.whd-site-minimal-note-global.whd-theme-cocoon .search-edit,
body.whd-site-minimal-note-global.whd-theme-cocoon input[type="text"],
body.whd-site-minimal-note-global.whd-theme-cocoon input[type="search"],
body.whd-site-minimal-note-global.whd-theme-cocoon textarea,
body.whd-site-minimal-note-global.whd-theme-cocoon select {
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    border-color: #d1d5db !important;
    box-shadow: none !important;
}

body.whd-site-minimal-note-global.whd-theme-cocoon .search-submit,
body.whd-site-minimal-note-global.whd-theme-cocoon input[type="submit"],
body.whd-site-minimal-note-global.whd-theme-cocoon button,
body.whd-site-minimal-note-global.whd-theme-cocoon .btn,
body.whd-site-minimal-note-global.whd-theme-cocoon .button {
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    color: #32373C !important;
    border: 1px solid #d1d5db !important;
    box-shadow: none !important;
}

body.whd-site-minimal-note-global.whd-theme-cocoon .site-name-text,
body.whd-site-minimal-note-global.whd-theme-cocoon .site-name-text-link,
body.whd-site-minimal-note-global.whd-theme-cocoon .tagline,
body.whd-site-minimal-note-global.whd-theme-cocoon .entry-title,
body.whd-site-minimal-note-global.whd-theme-cocoon .archive-title,
body.whd-site-minimal-note-global.whd-theme-cocoon .page-title,
body.whd-site-minimal-note-global.whd-theme-cocoon .widget-title {
    color: #32373C !important;
}

body.whd-site-minimal-note-global.whd-theme-cocoon .content-in {
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

body.whd-site-minimal-note-global.whd-theme-cocoon .main,
body.whd-site-minimal-note-global.whd-theme-cocoon .sidebar {
    padding-top: clamp(1.25rem, 3vw, 2.5rem);
}

body.whd-site-minimal-note-global.whd-theme-cocoon .article,
body.whd-site-minimal-note-global.whd-theme-cocoon .not-found,
body.whd-site-minimal-note-global.whd-theme-cocoon .widget {
    border-radius: 0 !important;
}

@media (max-width: 834px) {
    body.whd-site-minimal-note-global.whd-theme-cocoon .content-in,
    body.whd-site-minimal-note-global.whd-theme-cocoon .container-in,
    body.whd-site-minimal-note-global.whd-theme-cocoon .main,
    body.whd-site-minimal-note-global.whd-theme-cocoon .sidebar {
        background: #FFFFFF !important;
        gap: 0 !important;
    }

    body.whd-site-minimal-note-global.whd-theme-cocoon .article,
    body.whd-site-minimal-note-global.whd-theme-cocoon .widget,
    body.whd-site-minimal-note-global.whd-theme-cocoon .not-found {
        padding-left: 1.05rem;
        padding-right: 1.05rem;
    }
}

/* v0.8.40: 固定ページ・プライバシーポリシーのミニマル化強化
 * Cocoon標準の固定ページ本文見出しに残る薄灰色帯・左罫線・装飾を削り、
 * プライバシーポリシーや固定ページも白一面の読み物表示に近づける。
 */
body.whd-site-minimal-note-global.whd-theme-cocoon.page,
body.whd-site-minimal-note-global.whd-theme-cocoon.privacy-policy,
body.whd-site-minimal-note-global.whd-theme-cocoon.page #container,
body.whd-site-minimal-note-global.whd-theme-cocoon.page .container,
body.whd-site-minimal-note-global.whd-theme-cocoon.page #content,
body.whd-site-minimal-note-global.whd-theme-cocoon.page .content,
body.whd-site-minimal-note-global.whd-theme-cocoon.page .content-in,
body.whd-site-minimal-note-global.whd-theme-cocoon.page #main,
body.whd-site-minimal-note-global.whd-theme-cocoon.page .main,
body.whd-site-minimal-note-global.whd-theme-cocoon.page .article,
body.whd-site-minimal-note-global.whd-theme-cocoon.page article,
body.whd-site-minimal-note-global.whd-theme-cocoon.page .entry-content,
body.whd-site-minimal-note-global.whd-theme-cocoon.page .entry-content > *,
body.whd-site-minimal-note-global.whd-theme-cocoon.privacy-policy .entry-content,
body.whd-site-minimal-note-global.whd-theme-cocoon.privacy-policy .entry-content > * {
    background-color: #FFFFFF !important;
    background-image: none !important;
    box-shadow: none !important;
}

/* 固定ページ本文をnote風の読み物幅へ寄せる。 */
body.whd-site-minimal-note-global.whd-theme-cocoon.page .content-in,
body.whd-site-minimal-note-global.whd-theme-cocoon.privacy-policy .content-in {
    display: block !important;
}

body.whd-site-minimal-note-global.whd-theme-cocoon.page .main,
body.whd-site-minimal-note-global.whd-theme-cocoon.privacy-policy .main {
    max-width: 760px !important;
    width: min(760px, calc(100% - 48px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-top: clamp(2.2rem, 5vw, 4rem) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    border: 0 !important;
}

body.whd-site-minimal-note-global.whd-theme-cocoon.page .article,
body.whd-site-minimal-note-global.whd-theme-cocoon.privacy-policy .article {
    padding: 0 !important;
    border: 0 !important;
}

body.whd-site-minimal-note-global.whd-theme-cocoon.page .entry-title,
body.whd-site-minimal-note-global.whd-theme-cocoon.privacy-policy .entry-title,
body.whd-site-minimal-note-global.whd-theme-cocoon.page .article h1.entry-title,
body.whd-site-minimal-note-global.whd-theme-cocoon.privacy-policy .article h1.entry-title {
    margin: 0 0 1.6rem !important;
    padding: 0 !important;
    border: 0 !important;
    background: #FFFFFF !important;
    font-size: clamp(1.9rem, 4vw, 2.7rem) !important;
    line-height: 1.36 !important;
    letter-spacing: 0.01em !important;
    font-weight: 700 !important;
    color: #2f3437 !important;
}

/* Cocoonの固定ページ見出しに残る灰色帯を解除。 */
body.whd-site-minimal-note-global.whd-theme-cocoon .entry-content h2,
body.whd-site-minimal-note-global.whd-theme-cocoon .article .entry-content h2,
body.whd-site-minimal-note-global.whd-theme-cocoon .entry-content h3,
body.whd-site-minimal-note-global.whd-theme-cocoon .article .entry-content h3,
body.whd-site-minimal-note-global.whd-theme-cocoon .entry-content h4,
body.whd-site-minimal-note-global.whd-theme-cocoon .article .entry-content h4,
body.whd-site-minimal-note-global.whd-theme-cocoon .entry-content .wp-block-heading,
body.whd-site-minimal-note-global.whd-theme-cocoon .article .wp-block-heading,
body.whd-site-minimal-note-global.whd-theme-cocoon .wp-block-group h2,
body.whd-site-minimal-note-global.whd-theme-cocoon .wp-block-group h3,
body.whd-site-minimal-note-global.whd-theme-cocoon .wp-block-group h4 {
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    background-image: none !important;
    border: 0 !important;
    border-top: 0 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-left: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    padding: 0 !important;
    color: #2f3437 !important;
}

body.whd-site-minimal-note-global.whd-theme-cocoon .entry-content h2,
body.whd-site-minimal-note-global.whd-theme-cocoon .article .entry-content h2,
body.whd-site-minimal-note-global.whd-theme-cocoon .entry-content .wp-block-heading:is(h2) {
    margin: 2.7rem 0 1.05rem !important;
    font-size: clamp(1.25rem, 2.1vw, 1.55rem) !important;
    line-height: 1.5 !important;
    font-weight: 700 !important;
}

body.whd-site-minimal-note-global.whd-theme-cocoon .entry-content h3,
body.whd-site-minimal-note-global.whd-theme-cocoon .article .entry-content h3,
body.whd-site-minimal-note-global.whd-theme-cocoon .entry-content .wp-block-heading:is(h3) {
    margin: 2.05rem 0 .85rem !important;
    font-size: clamp(1.08rem, 1.9vw, 1.25rem) !important;
    line-height: 1.55 !important;
    font-weight: 700 !important;
}

body.whd-site-minimal-note-global.whd-theme-cocoon .entry-content h4,
body.whd-site-minimal-note-global.whd-theme-cocoon .article .entry-content h4,
body.whd-site-minimal-note-global.whd-theme-cocoon .entry-content .wp-block-heading:is(h4) {
    margin: 1.7rem 0 .7rem !important;
    font-size: 1.02rem !important;
    line-height: 1.6 !important;
    font-weight: 700 !important;
}

body.whd-site-minimal-note-global.whd-theme-cocoon .entry-content h2::before,
body.whd-site-minimal-note-global.whd-theme-cocoon .entry-content h2::after,
body.whd-site-minimal-note-global.whd-theme-cocoon .entry-content h3::before,
body.whd-site-minimal-note-global.whd-theme-cocoon .entry-content h3::after,
body.whd-site-minimal-note-global.whd-theme-cocoon .entry-content h4::before,
body.whd-site-minimal-note-global.whd-theme-cocoon .entry-content h4::after,
body.whd-site-minimal-note-global.whd-theme-cocoon .wp-block-heading::before,
body.whd-site-minimal-note-global.whd-theme-cocoon .wp-block-heading::after {
    content: none !important;
    display: none !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* ブロックエディタ由来のグループ・カラム・区切り背景も白へ統一。 */
body.whd-site-minimal-note-global.whd-theme-cocoon .entry-content .wp-block-group,
body.whd-site-minimal-note-global.whd-theme-cocoon .entry-content .wp-block-group__inner-container,
body.whd-site-minimal-note-global.whd-theme-cocoon .entry-content .wp-block-columns,
body.whd-site-minimal-note-global.whd-theme-cocoon .entry-content .wp-block-column,
body.whd-site-minimal-note-global.whd-theme-cocoon .entry-content .wp-block-cover,
body.whd-site-minimal-note-global.whd-theme-cocoon .entry-content .wp-block-media-text,
body.whd-site-minimal-note-global.whd-theme-cocoon .entry-content .wp-block-table,
body.whd-site-minimal-note-global.whd-theme-cocoon .entry-content .wp-block-quote,
body.whd-site-minimal-note-global.whd-theme-cocoon .entry-content .wp-block-pullquote,
body.whd-site-minimal-note-global.whd-theme-cocoon .entry-content .wp-block-preformatted,
body.whd-site-minimal-note-global.whd-theme-cocoon .entry-content .wp-block-code,
body.whd-site-minimal-note-global.whd-theme-cocoon .entry-content .has-background {
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    background-image: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

body.whd-site-minimal-note-global.whd-theme-cocoon .entry-content p,
body.whd-site-minimal-note-global.whd-theme-cocoon .entry-content li,
body.whd-site-minimal-note-global.whd-theme-cocoon .entry-content dd,
body.whd-site-minimal-note-global.whd-theme-cocoon .entry-content td,
body.whd-site-minimal-note-global.whd-theme-cocoon .entry-content th {
    font-size: 1rem !important;
    line-height: 1.95 !important;
    color: #2f3437 !important;
}

body.whd-site-minimal-note-global.whd-theme-cocoon .entry-content p {
    margin-top: 0 !important;
    margin-bottom: 1.35rem !important;
}

/* 固定ページ下部のパンくず・サイドバー・ウィジェットも本文と同じ白い紙に馴染ませる。 */
body.whd-site-minimal-note-global.whd-theme-cocoon.page .breadcrumb,
body.whd-site-minimal-note-global.whd-theme-cocoon.privacy-policy .breadcrumb {
    max-width: 760px !important;
    width: min(760px, calc(100% - 48px)) !important;
    margin: 3.6rem auto 0 !important;
    padding: 0 !important;
    color: #8a8f94 !important;
    font-size: .82rem !important;
    border: 0 !important;
}

body.whd-site-minimal-note-global.whd-theme-cocoon.page #sidebar,
body.whd-site-minimal-note-global.whd-theme-cocoon.page .sidebar,
body.whd-site-minimal-note-global.whd-theme-cocoon.privacy-policy #sidebar,
body.whd-site-minimal-note-global.whd-theme-cocoon.privacy-policy .sidebar {
    max-width: 760px !important;
    width: min(760px, calc(100% - 48px)) !important;
    margin: 3.8rem auto 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

body.whd-site-minimal-note-global.whd-theme-cocoon.page .sidebar .widget,
body.whd-site-minimal-note-global.whd-theme-cocoon.page #sidebar .widget,
body.whd-site-minimal-note-global.whd-theme-cocoon.privacy-policy .sidebar .widget,
body.whd-site-minimal-note-global.whd-theme-cocoon.privacy-policy #sidebar .widget {
    margin-bottom: 2.1rem !important;
}

body.whd-site-minimal-note-global.whd-theme-cocoon.page .footer,
body.whd-site-minimal-note-global.whd-theme-cocoon.page .footer-in,
body.whd-site-minimal-note-global.whd-theme-cocoon.page .footer-bottom,
body.whd-site-minimal-note-global.whd-theme-cocoon.privacy-policy .footer,
body.whd-site-minimal-note-global.whd-theme-cocoon.privacy-policy .footer-in,
body.whd-site-minimal-note-global.whd-theme-cocoon.privacy-policy .footer-bottom {
    background: #FFFFFF !important;
    border: 0 !important;
    box-shadow: none !important;
}

@media (max-width: 834px) {
    body.whd-site-minimal-note-global.whd-theme-cocoon.page .main,
    body.whd-site-minimal-note-global.whd-theme-cocoon.privacy-policy .main,
    body.whd-site-minimal-note-global.whd-theme-cocoon.page .breadcrumb,
    body.whd-site-minimal-note-global.whd-theme-cocoon.privacy-policy .breadcrumb,
    body.whd-site-minimal-note-global.whd-theme-cocoon.page #sidebar,
    body.whd-site-minimal-note-global.whd-theme-cocoon.page .sidebar,
    body.whd-site-minimal-note-global.whd-theme-cocoon.privacy-policy #sidebar,
    body.whd-site-minimal-note-global.whd-theme-cocoon.privacy-policy .sidebar {
        width: min(100% - 32px, 760px) !important;
    }

    body.whd-site-minimal-note-global.whd-theme-cocoon.page .entry-title,
    body.whd-site-minimal-note-global.whd-theme-cocoon.privacy-policy .entry-title {
        margin-bottom: 1.25rem !important;
    }
}

/* v0.8.41: ミニマルトップページ・探索導線 */
body.whd-front-style-minimal-note .whd-minimal-home,
body.whd-site-minimal-note-global .whd-minimal-home {
    max-width: 1120px;
    margin: 0 auto;
    padding: clamp(32px, 5vw, 80px) clamp(18px, 4vw, 48px) clamp(64px, 8vw, 120px);
    background: #fff;
    color: #222;
}

.whd-minimal-home *,
.whd-minimal-home *::before,
.whd-minimal-home *::after {
    box-sizing: border-box;
}

.whd-home-hero {
    padding: clamp(36px, 8vw, 104px) 0 clamp(28px, 5vw, 72px);
    border-bottom: 1px solid #1f2328;
    background: #fff;
}

.whd-home-hero-copy {
    max-width: 820px;
}

.whd-home-eyebrow {
    margin: 0 0 0.7rem;
    font-size: 0.75rem;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #222;
}

.whd-home-hero h1,
.whd-home-section h2,
.whd-home-cta-band h2 {
    margin: 0;
    padding: 0;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #222;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.whd-home-hero h1::before,
.whd-home-hero h1::after,
.whd-home-section h2::before,
.whd-home-section h2::after,
.whd-home-cta-band h2::before,
.whd-home-cta-band h2::after {
    display: none !important;
}

.whd-home-hero h1 {
    max-width: 760px;
    font-size: clamp(2rem, 6vw, 4.25rem);
    line-height: 1.08;
}

.whd-home-lead {
    max-width: 720px;
    margin: 1.3rem 0 0;
    color: #374151;
    font-size: clamp(1rem, 1.8vw, 1.16rem);
    line-height: 2;
}

.whd-home-search {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
    max-width: 720px;
    margin: 2rem 0 0;
}

.whd-home-search input[type="search"] {
    flex: 1;
    min-width: 0;
    height: 48px;
    padding: 0 1rem;
    background: #fff !important;
    border: 1px solid #222 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #222;
    font-size: 1rem;
}

.whd-home-search button,
.whd-home-cta-band a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 1.35rem;
    border: 1px solid #222 !important;
    border-radius: 999px !important;
    background: #ffd84d !important;
    box-shadow: none !important;
    color: #222 !important;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
}

.whd-home-hero-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem;
    margin: 1.1rem 0 0;
    font-size: 0.95rem;
}

.whd-home-hero-links a,
.whd-home-text-link,
.whd-home-card-more a {
    color: #222 !important;
    text-decoration: none !important;
    border-bottom: 1px solid #222;
    box-shadow: none !important;
}

.whd-home-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border-bottom: 1px solid #1f2328;
    background: #fff;
}

.whd-home-stat {
    padding: clamp(18px, 3vw, 32px) 1rem;
    border-right: 1px solid #e5e5e5;
    background: #fff;
}

.whd-home-stat:last-child {
    border-right: 0;
}

.whd-home-stat span {
    display: block;
    font-size: clamp(1.65rem, 4vw, 3rem);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #222;
}

.whd-home-stat small {
    display: block;
    margin-top: 0.35rem;
    color: #5f6368;
    font-size: 0.82rem;
    font-weight: 700;
}

.whd-home-section {
    padding: clamp(42px, 7vw, 96px) 0;
    border-bottom: 1px solid #1f2328;
    background: #fff;
}

.whd-home-section-head {
    display: grid;
    grid-template-columns: minmax(180px, 0.75fr) minmax(0, 1.25fr);
    gap: clamp(20px, 5vw, 72px);
    margin-bottom: clamp(24px, 4vw, 48px);
}

.whd-home-section-head .whd-home-eyebrow {
    grid-column: 1;
    align-self: start;
}

.whd-home-section-head h2 {
    grid-column: 1;
    font-size: clamp(1.75rem, 3vw, 2.6rem);
    line-height: 1.18;
}

.whd-home-section-head p:not(.whd-home-eyebrow) {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    margin: 0;
    color: #374151;
    font-size: 1rem;
    line-height: 2;
}

.whd-home-explore-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.whd-home-term-group {
    padding: 1.2rem 0;
    border-top: 1px solid #d8d8d8;
    background: #fff;
}

.whd-home-term-group h3 {
    margin: 0 0 0.85rem;
    padding: 0;
    background: transparent !important;
    border: 0 !important;
    color: #222;
    font-size: 1.05rem;
    line-height: 1.45;
}

.whd-home-term-group h3::before,
.whd-home-term-group h3::after {
    display: none !important;
}

.whd-home-term-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.whd-home-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 30px;
    padding: 0.24rem 0.7rem;
    border: 1px solid #222;
    border-radius: 999px;
    background: #fff !important;
    color: #222 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    line-height: 1.4;
}

.whd-home-chip small {
    color: #70757a;
    font-size: 0.75rem;
}

.whd-home-card-list {
    display: grid;
    gap: 0;
    border-top: 1px solid #1f2328;
}

.whd-home-heritage-card {
    display: grid;
    grid-template-columns: minmax(220px, 36%) minmax(0, 1fr);
    gap: clamp(18px, 4vw, 48px);
    padding: clamp(22px, 4vw, 40px) 0;
    border-bottom: 1px solid #d8d8d8;
    background: #fff;
}

.whd-home-card-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #fff !important;
}

.whd-home-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.whd-home-card-body h3,
.whd-home-knowledge-card h3 {
    margin: 0 0 0.35rem;
    padding: 0;
    background: transparent !important;
    border: 0 !important;
    color: #222;
    font-size: clamp(1.25rem, 2.1vw, 1.8rem);
    line-height: 1.35;
}

.whd-home-card-body h3::before,
.whd-home-card-body h3::after,
.whd-home-knowledge-card h3::before,
.whd-home-knowledge-card h3::after {
    display: none !important;
}

.whd-home-card-body h3 a,
.whd-home-knowledge-card h3 a {
    color: inherit !important;
    text-decoration: none !important;
}

.whd-home-card-en {
    margin: 0 0 0.9rem;
    color: #6b7280;
    font-size: 0.82rem;
    line-height: 1.5;
}

.whd-home-card-summary {
    margin: 0 0 1rem;
    color: #374151;
    line-height: 1.9;
}

.whd-home-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0 0 1rem;
}

.whd-home-card-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0.12rem 0.55rem;
    border: 1px solid #222;
    border-radius: 999px;
    color: #222;
    font-size: 0.76rem;
    line-height: 1.4;
}

.whd-home-card-more {
    margin: 0;
}

.whd-home-knowledge-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(32px, 7vw, 96px) clamp(24px, 6vw, 80px);
}

.whd-home-knowledge-card {
    min-height: 260px;
    padding: 0;
    background: #fff !important;
    border: 0 !important;
    box-shadow: none !important;
}

.whd-home-knowledge-card p:not(.whd-home-card-en) {
    color: #374151;
    line-height: 1.9;
}

.whd-home-cta-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
    align-items: center;
    margin: clamp(42px, 7vw, 96px) 0 0;
    padding: clamp(28px, 5vw, 56px) 0;
    border-top: 1px solid #1f2328;
    border-bottom: 1px solid #1f2328;
    background: #fff;
}

.whd-home-cta-band p {
    margin: 1rem 0 0;
    color: #374151;
    line-height: 1.9;
}

body.whd-site-minimal-note-global .whd-minimal-home .whd-home-hero,
body.whd-site-minimal-note-global .whd-minimal-home .whd-home-section,
body.whd-site-minimal-note-global .whd-minimal-home .whd-home-stats,
body.whd-site-minimal-note-global .whd-minimal-home .whd-home-cta-band,
body.whd-site-minimal-note-global .whd-minimal-home .whd-home-term-group,
body.whd-site-minimal-note-global .whd-minimal-home .whd-home-heritage-card,
body.whd-site-minimal-note-global .whd-minimal-home .whd-home-knowledge-card {
    box-shadow: none !important;
}

@media (max-width: 820px) {
    body.whd-front-style-minimal-note .whd-minimal-home,
    body.whd-site-minimal-note-global .whd-minimal-home {
        padding: 24px 18px 64px;
    }

    .whd-home-search,
    .whd-home-section-head,
    .whd-home-heritage-card,
    .whd-home-cta-band {
        display: block;
    }

    .whd-home-search button {
        width: 100%;
        margin-top: 0.75rem;
    }

    .whd-home-stats,
    .whd-home-explore-grid,
    .whd-home-knowledge-grid {
        grid-template-columns: 1fr;
    }

    .whd-home-stat {
        border-right: 0;
        border-bottom: 1px solid #e5e5e5;
    }

    .whd-home-section-head p:not(.whd-home-eyebrow) {
        margin-top: 1rem;
    }

    .whd-home-card-image {
        margin-bottom: 1rem;
    }

    .whd-home-knowledge-card {
        min-height: 0;
        padding-bottom: 2rem;
        border-bottom: 1px solid #d8d8d8 !important;
    }

    .whd-home-cta-band p:last-child {
        margin-top: 1.25rem;
    }
}


/* v0.8.42: Leafletマーカー位置ずれ防止
 * 画像共通CSSや白背景化CSSがLeaflet標準マーカーの基準点へ干渉しないよう、
 * マーカー画像のサイズ・基準マージン・表示方式をLeaflet側に任せる。
 * 特に margin を !important でリセットすると、ズーム時にピン先端と座標がずれるため指定しない。
 */
body.whd-front-style-minimal-note .whd-component-map .leaflet-marker-icon,
body.whd-front-style-minimal-note .whd-component-map .leaflet-marker-shadow,
body.whd-front-style-minimal-note .whd-component-map.leaflet-container .leaflet-marker-icon,
body.whd-front-style-minimal-note .whd-component-map.leaflet-container .leaflet-marker-shadow,
.whd-component-map .leaflet-marker-icon,
.whd-component-map .leaflet-marker-shadow,
.whd-component-map.leaflet-container .leaflet-marker-icon,
.whd-component-map.leaflet-container .leaflet-marker-shadow {
    max-width: none !important;
    min-width: 0 !important;
    max-height: none !important;
    min-height: 0 !important;
    object-fit: contain !important;
    object-position: center center !important;
    vertical-align: baseline !important;
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

body.whd-front-style-minimal-note .whd-component-map .leaflet-marker-pane,
body.whd-front-style-minimal-note .whd-component-map .leaflet-shadow-pane,
.whd-component-map .leaflet-marker-pane,
.whd-component-map .leaflet-shadow-pane {
    transform-origin: 0 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.whd-front-style-minimal-note .whd-component-map .leaflet-zoom-animated,
.whd-component-map .leaflet-zoom-animated {
    transform-origin: 0 0 !important;
}

/* v0.8.43: 世界遺産条件検索ページ */
.whd-heritage-search {
    max-width: 1120px;
    margin: 0 auto;
    padding: clamp(32px, 6vw, 80px) clamp(20px, 4vw, 48px) clamp(72px, 8vw, 120px);
    background: #fff !important;
    color: #222;
}

.whd-search-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(24px, 7vw, 96px);
    align-items: start;
    margin: 0 0 clamp(32px, 6vw, 72px);
    padding: clamp(20px, 5vw, 64px) 0 clamp(24px, 5vw, 72px);
    border-bottom: 1px solid #222;
    background: #fff !important;
}

.whd-search-hero h1 {
    grid-column: 1;
    margin: 0;
    padding: 0;
    background: transparent !important;
    border: 0 !important;
    color: #222;
    font-size: clamp(2rem, 4vw, 4.4rem);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.whd-search-hero h1::before,
.whd-search-hero h1::after {
    display: none !important;
}

.whd-search-hero > p:not(.whd-home-eyebrow) {
    grid-column: 2;
    align-self: center;
    margin: 0;
    color: #333;
    font-size: clamp(1rem, 1.25vw, 1.15rem);
    line-height: 2;
}

.whd-search-hero .whd-home-eyebrow {
    grid-column: 1 / -1;
}

.whd-search-panel {
    margin: 0 0 clamp(30px, 5vw, 56px);
    padding: clamp(22px, 4vw, 40px) 0;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    background: #fff !important;
}

.whd-condition-form,
.whd-condition-form * {
    box-sizing: border-box;
}

.whd-condition-main-row {
    display: grid;
    grid-template-columns: 1.3fr repeat(3, 1fr);
    gap: 18px;
    align-items: end;
    margin-bottom: 18px;
}

.whd-condition-main-row-secondary {
    grid-template-columns: repeat(4, 1fr);
}

.whd-condition-field {
    display: block;
    margin: 0;
}

.whd-condition-field > span,
.whd-condition-criteria legend {
    display: block;
    margin: 0 0 7px;
    color: #222;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.whd-condition-field input,
.whd-condition-field select {
    width: 100%;
    min-height: 44px;
    padding: 0.65rem 0.8rem;
    border: 1px solid #222 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
    color: #222;
    font-size: 0.95rem;
}

.whd-condition-criteria {
    margin: 22px 0 0;
    padding: 0;
    border: 0;
}

.whd-condition-criteria-list,
.whd-condition-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}

.whd-condition-criteria-list label,
.whd-condition-toggle {
    display: inline-flex;
    gap: 0.4rem;
    align-items: center;
    margin: 0;
    color: #222;
    font-size: 0.92rem;
}

.whd-condition-options {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

.whd-condition-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 20px;
    align-items: center;
    margin-top: 28px;
}

.whd-condition-actions button,
.whd-condition-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.65rem 1.4rem;
    border: 1px solid #222 !important;
    border-radius: 999px !important;
    background: #222 !important;
    color: #fff !important;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    box-shadow: none !important;
}

.whd-condition-actions a {
    background: #fff !important;
    color: #222 !important;
}

.whd-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
    margin: -12px 0 36px;
    padding: 0;
    background: #fff !important;
}

.whd-active-filters span {
    margin-right: 0.2rem;
    color: #6b7280;
    font-size: 0.82rem;
    font-weight: 700;
}

.whd-active-filters em {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0.12rem 0.7rem;
    border: 1px solid #222;
    border-radius: 999px;
    background: #fff;
    color: #222;
    font-size: 0.82rem;
    font-style: normal;
}

.whd-search-results {
    background: #fff !important;
}

.whd-search-results-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.5rem;
    align-items: end;
    margin-bottom: clamp(22px, 4vw, 42px);
}

.whd-search-results-head h2 {
    margin: 0;
    padding: 0;
    background: transparent !important;
    border: 0 !important;
    color: #222;
    font-size: clamp(1.8rem, 3vw, 3rem);
    letter-spacing: -0.03em;
}

.whd-search-results-head h2::before,
.whd-search-results-head h2::after {
    display: none !important;
}

.whd-search-results-head > p {
    margin: 0;
    color: #6b7280;
    font-size: 0.92rem;
}

.whd-search-card-list {
    display: grid;
    gap: 34px;
}

.whd-search-card {
    display: grid;
    grid-template-columns: minmax(180px, 34%) minmax(0, 1fr);
    gap: clamp(20px, 4vw, 42px);
    align-items: start;
    padding: 0 0 34px;
    border-bottom: 1px solid #222;
    background: #fff !important;
    box-shadow: none !important;
}

.whd-search-card-image {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #fff !important;
    border: 1px solid #e5e5e5;
    text-decoration: none !important;
}

.whd-search-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0 !important;
    box-shadow: none !important;
}

.whd-search-card-image-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280 !important;
    font-size: 0.86rem;
}

.whd-search-card-body h3 {
    margin: 0 0 0.35rem;
    padding: 0;
    background: transparent !important;
    border: 0 !important;
    color: #222;
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.whd-search-card-body h3::before,
.whd-search-card-body h3::after {
    display: none !important;
}

.whd-search-card-body h3 a {
    color: inherit !important;
    text-decoration: none !important;
}

.whd-search-card-en,
.whd-search-card-meta {
    margin: 0 0 0.9rem;
    color: #6b7280;
    font-size: 0.84rem;
    line-height: 1.5;
}

.whd-search-card-summary {
    margin: 0 0 1rem;
    color: #333;
    line-height: 1.9;
}

.whd-search-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.38rem;
    margin: 0 0 1rem;
}

.whd-search-card-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0.12rem 0.55rem;
    border: 1px solid #222;
    border-radius: 999px;
    background: #fff;
    color: #222;
    font-size: 0.76rem;
}

.whd-search-card-more {
    margin: 0;
}

.whd-search-card-more a {
    color: #222 !important;
    font-weight: 700;
    text-decoration: none !important;
    border-bottom: 1px solid #222;
}

.whd-search-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: clamp(32px, 5vw, 56px);
}

.whd-search-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    padding: 0.35rem 0.7rem;
    border: 1px solid #222;
    background: #fff;
    color: #222 !important;
    text-decoration: none !important;
}

.whd-search-pagination .current {
    background: #222;
    color: #fff !important;
}

.whd-search-empty {
    padding: 32px 0;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    background: #fff !important;
}

@media (max-width: 820px) {
    .whd-heritage-search {
        padding: 24px 18px 72px;
    }

    .whd-search-hero,
    .whd-search-results-head,
    .whd-search-card {
        display: block;
    }

    .whd-search-hero > p:not(.whd-home-eyebrow),
    .whd-search-results-head > p {
        margin-top: 1rem;
    }

    .whd-condition-main-row,
    .whd-condition-main-row-secondary {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .whd-condition-actions button,
    .whd-condition-actions a {
        width: 100%;
    }

    .whd-search-card-image {
        margin-bottom: 1rem;
    }

    .whd-search-card {
        padding-bottom: 30px;
    }
}

/* v0.8.44: 固定ページ内の世界遺産DBコンテンツをワイド化
 * プライバシーポリシーなどの読み物固定ページは従来どおり狭めに保ち、
 * [whd_minimal_home] や [whd_heritage_search] など、探索・一覧系ショートコードを置いた固定ページだけ
 * pamon風の横長カードや検索フォームが窮屈にならないよう本文幅を広げる。
 */
body.whd-site-minimal-note-global.whd-theme-cocoon.page.whd-minimal-site-page .content-in,
body.whd-site-minimal-note-global.whd-theme-cocoon.page.whd-heritage-search-page .content-in {
    display: block !important;
    max-width: none !important;
    width: 100% !important;
}

body.whd-site-minimal-note-global.whd-theme-cocoon.page.whd-minimal-site-page .main,
body.whd-site-minimal-note-global.whd-theme-cocoon.page.whd-heritage-search-page .main {
    max-width: 1180px !important;
    width: min(1180px, calc(100% - 64px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-top: clamp(2.6rem, 5vw, 5rem) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.whd-site-minimal-note-global.whd-theme-cocoon.page.whd-minimal-site-page .article,
body.whd-site-minimal-note-global.whd-theme-cocoon.page.whd-heritage-search-page .article,
body.whd-site-minimal-note-global.whd-theme-cocoon.page.whd-minimal-site-page article,
body.whd-site-minimal-note-global.whd-theme-cocoon.page.whd-heritage-search-page article {
    max-width: none !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.whd-site-minimal-note-global.whd-theme-cocoon.page.whd-minimal-site-page .entry-content,
body.whd-site-minimal-note-global.whd-theme-cocoon.page.whd-heritage-search-page .entry-content {
    max-width: none !important;
    width: 100% !important;
}

body.whd-site-minimal-note-global.whd-theme-cocoon.page.whd-minimal-site-page .entry-title,
body.whd-site-minimal-note-global.whd-theme-cocoon.page.whd-heritage-search-page .entry-title,
body.whd-site-minimal-note-global.whd-theme-cocoon.page.whd-minimal-site-page .date-tags,
body.whd-site-minimal-note-global.whd-theme-cocoon.page.whd-heritage-search-page .date-tags,
body.whd-site-minimal-note-global.whd-theme-cocoon.page.whd-minimal-site-page .breadcrumb,
body.whd-site-minimal-note-global.whd-theme-cocoon.page.whd-heritage-search-page .breadcrumb {
    max-width: 1180px !important;
    width: min(1180px, calc(100% - 64px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.whd-site-minimal-note-global.whd-theme-cocoon.page.whd-minimal-site-page #sidebar,
body.whd-site-minimal-note-global.whd-theme-cocoon.page.whd-minimal-site-page .sidebar,
body.whd-site-minimal-note-global.whd-theme-cocoon.page.whd-heritage-search-page #sidebar,
body.whd-site-minimal-note-global.whd-theme-cocoon.page.whd-heritage-search-page .sidebar {
    max-width: 1180px !important;
    width: min(1180px, calc(100% - 64px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.whd-site-minimal-note-global.whd-theme-cocoon.page.whd-heritage-search-page .whd-heritage-search,
body.whd-site-minimal-note-global.whd-theme-cocoon.page.whd-minimal-site-page .whd-minimal-home {
    max-width: 1120px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* 条件検索ページはフォームと結果カードの実用性を優先し、画像・本文の横並びを活かす。 */
body.whd-site-minimal-note-global.whd-theme-cocoon.page.whd-heritage-search-page .whd-search-card {
    grid-template-columns: minmax(240px, 34%) minmax(0, 1fr);
}

body.whd-site-minimal-note-global.whd-theme-cocoon.page.whd-heritage-search-page .whd-condition-main-row {
    grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(160px, 1fr));
}

body.whd-site-minimal-note-global.whd-theme-cocoon.page.whd-heritage-search-page .whd-condition-main-row-secondary {
    grid-template-columns: repeat(4, minmax(150px, 1fr));
}

@media (max-width: 834px) {
    body.whd-site-minimal-note-global.whd-theme-cocoon.page.whd-minimal-site-page .main,
    body.whd-site-minimal-note-global.whd-theme-cocoon.page.whd-heritage-search-page .main,
    body.whd-site-minimal-note-global.whd-theme-cocoon.page.whd-minimal-site-page .entry-title,
    body.whd-site-minimal-note-global.whd-theme-cocoon.page.whd-heritage-search-page .entry-title,
    body.whd-site-minimal-note-global.whd-theme-cocoon.page.whd-minimal-site-page .date-tags,
    body.whd-site-minimal-note-global.whd-theme-cocoon.page.whd-heritage-search-page .date-tags,
    body.whd-site-minimal-note-global.whd-theme-cocoon.page.whd-minimal-site-page .breadcrumb,
    body.whd-site-minimal-note-global.whd-theme-cocoon.page.whd-heritage-search-page .breadcrumb,
    body.whd-site-minimal-note-global.whd-theme-cocoon.page.whd-minimal-site-page #sidebar,
    body.whd-site-minimal-note-global.whd-theme-cocoon.page.whd-minimal-site-page .sidebar,
    body.whd-site-minimal-note-global.whd-theme-cocoon.page.whd-heritage-search-page #sidebar,
    body.whd-site-minimal-note-global.whd-theme-cocoon.page.whd-heritage-search-page .sidebar {
        width: min(100% - 32px, 1180px) !important;
    }
}


/* v0.8.49: [whd_minimal_home]をトップページにした場合、固定ページの管理用タイトルを非表示にする。 */
body.whd-minimal-home-top-page .entry-title,
body.whd-minimal-home-top-page .page-title,
body.whd-minimal-home-top-page .article-header,
body.whd-minimal-home-top-page .date-tags {
    display: none !important;
}

body.whd-minimal-home-top-page .main {
    padding-top: clamp(1.2rem, 3vw, 2.4rem) !important;
}

/* v0.8.49: 国別・地域別 世界遺産一覧テンプレート */
.whd-country-region-index,
.whd-country-region-term-list,
.whd-country-region-tax-archive {
    max-width: 1120px;
    margin: 0 auto;
    padding: clamp(28px, 5vw, 64px) 0 clamp(64px, 8vw, 112px);
    color: #222;
}

.whd-country-region-hero,
.whd-country-region-section,
.whd-term-results {
    margin: 0 0 clamp(44px, 7vw, 84px);
}

.whd-country-region-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr);
    gap: clamp(24px, 5vw, 72px);
    align-items: end;
    padding: 0 0 clamp(28px, 5vw, 56px);
    border-bottom: 1px solid #222;
}

.whd-country-region-hero h1 {
    margin: 0;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    color: #222;
    font-size: clamp(2rem, 4.6vw, 4.4rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.whd-country-region-hero p:not(.whd-home-eyebrow) {
    margin: 1rem 0 0;
    color: #333;
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.9;
}

.whd-country-region-actions a,
.whd-region-card-more a,
.whd-term-card-more a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0.45rem 0.9rem;
    border: 1px solid #222;
    background: #fff;
    color: #222 !important;
    text-decoration: none !important;
    font-weight: 700;
}

.whd-country-region-actions a:hover,
.whd-region-card-more a:hover,
.whd-term-card-more a:hover {
    background: #f5c400;
}

.whd-country-region-head {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(220px, 0.42fr);
    gap: clamp(16px, 4vw, 56px);
    align-items: end;
    margin-bottom: clamp(20px, 4vw, 40px);
}

.whd-country-region-head h2 {
    margin: 0;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #222;
    font-size: clamp(1.55rem, 3vw, 2.55rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.whd-country-region-head p:not(.whd-home-eyebrow) {
    margin: 0;
    color: #555;
    line-height: 1.85;
}

.whd-region-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.whd-region-card {
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid #222;
    background: #fff !important;
    box-shadow: none !important;
}

.whd-region-card-count {
    display: inline-flex;
    margin: 0 0 0.9rem;
    padding: 0.12rem 0.58rem;
    border: 1px solid #222;
    background: #f5c400;
    color: #222;
    font-size: 0.78rem;
    font-weight: 700;
}

.whd-region-card h3 {
    margin: 0 0 1rem;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #222;
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    line-height: 1.25;
}

.whd-region-card h3 a,
.whd-term-heritage-card h3 a {
    color: #222 !important;
    text-decoration: none !important;
}

.whd-region-card-countries,
.whd-term-related p,
.whd-term-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0 0 1.1rem;
}

.whd-region-card-countries a,
.whd-term-related a,
.whd-term-card-tags span,
.whd-country-chip {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0.18rem 0.65rem;
    border: 1px solid #222;
    border-radius: 999px;
    background: #fff;
    color: #222 !important;
    text-decoration: none !important;
    font-size: 0.82rem;
}

.whd-country-chip-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.whd-country-chip {
    justify-content: space-between;
    min-height: 46px;
    border-radius: 0;
    padding: 0.55rem 0.75rem;
}

.whd-country-chip span {
    font-weight: 700;
}

.whd-country-chip small {
    margin-left: 0.75rem;
    color: #555;
    font-size: 0.74rem;
    text-align: right;
}

.whd-term-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: clamp(20px, 4vw, 40px);
    grid-column: 1 / -1;
}

.whd-term-stats span {
    padding: 0.9rem 1rem;
    border: 1px solid #222;
    background: #fff !important;
}

.whd-term-stats strong,
.whd-term-stats small {
    display: block;
}

.whd-term-stats strong {
    font-size: clamp(1.2rem, 2.4vw, 2rem);
    line-height: 1.1;
}

.whd-term-stats small {
    margin-top: 0.35rem;
    color: #555;
    font-size: 0.78rem;
}

.whd-term-related {
    grid-column: 1 / -1;
    margin-top: 1.4rem;
}

.whd-term-related h2 {
    margin: 0 0 0.7rem;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    font-size: 1rem;
}

.whd-term-card-list {
    display: grid;
    gap: 18px;
}

.whd-term-heritage-card {
    display: grid;
    grid-template-columns: minmax(220px, 31%) minmax(0, 1fr);
    gap: clamp(18px, 3vw, 34px);
    align-items: start;
    padding: clamp(20px, 3vw, 34px) 0;
    border-top: 1px solid #222;
    background: #fff !important;
    box-shadow: none !important;
}

.whd-term-heritage-card:last-child {
    border-bottom: 1px solid #222;
}

.whd-term-card-image {
    display: block;
    overflow: hidden;
    border: 1px solid #222;
    background: #fff;
    aspect-ratio: 4 / 3;
}

.whd-term-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: 0 !important;
    box-shadow: none !important;
}

.whd-term-card-body h3 {
    margin: 0 0 0.45rem;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #222;
    font-size: clamp(1.25rem, 2.2vw, 2rem);
    line-height: 1.25;
}

.whd-term-card-en {
    margin: 0 0 0.85rem;
    color: #666;
    font-size: 0.9rem;
    font-family: ui-serif, Georgia, serif;
}

.whd-term-card-summary {
    margin: 0 0 1rem;
    color: #333;
    line-height: 1.9;
}

.whd-term-pagination,
.whd-term-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: clamp(28px, 5vw, 52px);
}

.whd-term-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    padding: 0.35rem 0.7rem;
    border: 1px solid #222;
    background: #fff;
    color: #222 !important;
    text-decoration: none !important;
}

.whd-term-pagination .current {
    background: #222;
    color: #fff !important;
}

.whd-country-region-empty {
    padding: 30px 0;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    background: #fff !important;
}

body.whd-site-minimal-note-global.whd-theme-cocoon.page.whd-country-region-page .content-in,
body.whd-site-minimal-note-global.whd-theme-cocoon.tax-heritage_country .content-in,
body.whd-site-minimal-note-global.whd-theme-cocoon.tax-heritage_region .content-in {
    display: block !important;
    max-width: none !important;
    width: 100% !important;
}

body.whd-site-minimal-note-global.whd-theme-cocoon.page.whd-country-region-page .main,
body.whd-site-minimal-note-global.whd-theme-cocoon.tax-heritage_country .main,
body.whd-site-minimal-note-global.whd-theme-cocoon.tax-heritage_region .main {
    max-width: 1180px !important;
    width: min(1180px, calc(100% - 64px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

@media (max-width: 900px) {
    .whd-country-region-hero,
    .whd-country-region-head,
    .whd-term-heritage-card {
        display: block;
    }

    .whd-region-card-grid,
    .whd-country-chip-list,
    .whd-term-stats {
        grid-template-columns: 1fr;
    }

    .whd-term-card-image {
        margin-bottom: 1rem;
    }

    body.whd-site-minimal-note-global.whd-theme-cocoon.page.whd-country-region-page .main,
    body.whd-site-minimal-note-global.whd-theme-cocoon.tax-heritage_country .main,
    body.whd-site-minimal-note-global.whd-theme-cocoon.tax-heritage_region .main {
        width: min(100% - 32px, 1180px) !important;
    }
}

/* v0.8.50: 世界遺産基礎知識コンテンツ導線 */
.whd-basic-knowledge-index,
.whd-basic-article {
    max-width: 1120px;
    margin: 0 auto;
    color: #1f2933;
}

.whd-basic-hero,
.whd-basic-section,
.whd-basic-article > section {
    background: #fff;
    border: 1px solid #111;
    border-radius: 0;
    box-shadow: none;
    margin: 0 0 28px;
    padding: 28px;
}

.whd-basic-hero {
    padding: 38px 32px;
}

.whd-basic-hero h1 {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #111;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.18;
    margin: 0 0 16px;
    padding: 0 !important;
}

.whd-basic-hero h1::before,
.whd-basic-hero h1::after,
.whd-basic-article h2::before,
.whd-basic-article h2::after,
.whd-basic-article h3::before,
.whd-basic-article h3::after {
    display: none !important;
}

.whd-basic-hero p:not(.whd-home-eyebrow) {
    color: #4b5563;
    font-size: 1.05rem;
    line-height: 1.9;
    max-width: 760px;
}

.whd-basic-topic-grid,
.whd-basic-definition-grid,
.whd-basic-criteria-grid {
    display: grid;
    gap: 16px;
}

.whd-basic-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.whd-basic-definition-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.whd-basic-criteria-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.whd-basic-topic-card,
.whd-basic-definition-card,
.whd-basic-criteria-card {
    background: #fff;
    border: 1px solid #111;
    box-shadow: none;
    padding: 20px;
}

.whd-basic-topic-card h3,
.whd-basic-definition-card h3,
.whd-basic-criteria-card h3,
.whd-basic-article h2,
.whd-basic-article h3 {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #111;
    padding: 0 !important;
}

.whd-basic-topic-card h3,
.whd-basic-definition-card h3,
.whd-basic-criteria-card h3 {
    font-size: 1.12rem;
    margin: 0 0 10px;
}

.whd-basic-topic-card p,
.whd-basic-definition-card p,
.whd-basic-criteria-card p,
.whd-basic-article p {
    line-height: 1.85;
}

.whd-basic-text-link,
.whd-basic-topic-card .whd-basic-text-link {
    border-bottom: 2px solid #f4d03f;
    color: #111;
    display: inline-block;
    font-weight: 700;
    text-decoration: none;
}

.whd-basic-inline-nav,
.whd-basic-related-links,
.whd-basic-action-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 28px;
}

.whd-basic-inline-nav a,
.whd-basic-related-links a,
.whd-basic-action-list a,
.whd-basic-cta a {
    background: #fff;
    border: 1px solid #111;
    color: #111;
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 14px;
    text-decoration: none;
}

.whd-basic-inline-nav a:hover,
.whd-basic-related-links a:hover,
.whd-basic-action-list a:hover,
.whd-basic-cta a:hover {
    background: #fff8cc;
    color: #111;
}

.whd-basic-action-list a {
    min-width: 220px;
}

.whd-basic-action-list span {
    font-weight: 700;
}

.whd-basic-action-list small {
    color: #6b7280;
    line-height: 1.5;
}

.whd-basic-criteria-code {
    align-items: center;
    background: #fff2a8;
    border: 1px solid #111;
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
    margin: 0 0 12px !important;
    min-width: 48px;
    padding: 4px 8px;
}

.whd-basic-step-list {
    counter-reset: whd-basic-step;
    list-style: none;
    margin: 0;
    padding: 0;
}

.whd-basic-step-list li {
    align-items: flex-start;
    border-top: 1px solid #111;
    display: grid;
    gap: 18px;
    grid-template-columns: 46px 1fr;
    padding: 18px 0;
}

.whd-basic-step-list li:first-child {
    border-top: 0;
    padding-top: 0;
}

.whd-basic-step-list span {
    align-items: center;
    background: #fff2a8;
    border: 1px solid #111;
    color: #111;
    display: inline-flex;
    font-weight: 800;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.whd-basic-step-list h3 {
    margin: 0 0 6px !important;
}

.whd-basic-related h2,
.whd-basic-site-usage h2 {
    margin-top: 0 !important;
}

body.whd-site-minimal-note-global.whd-theme-cocoon.page.whd-basic-knowledge-page .content-in,
body.whd-site-minimal-note-global.whd-theme-cocoon.page.whd-basic-knowledge-page .main {
    max-width: 1180px !important;
    width: min(1180px, calc(100vw - 32px)) !important;
}

@media (max-width: 782px) {
    .whd-basic-hero,
    .whd-basic-section,
    .whd-basic-article > section {
        padding: 20px;
    }

    .whd-basic-topic-grid,
    .whd-basic-definition-grid,
    .whd-basic-criteria-grid {
        grid-template-columns: 1fr;
    }

    .whd-basic-inline-nav,
    .whd-basic-related-links,
    .whd-basic-action-list {
        display: grid;
        grid-template-columns: 1fr;
    }

    .whd-basic-step-list li {
        grid-template-columns: 38px 1fr;
    }
}

/* v0.8.51: 地域・国別フッター導線 */
.whd-region-country-footer {
    background: #fff;
    border-top: 1px solid #111;
    color: #111;
    margin: 56px auto 0;
    padding: 42px 0 34px;
}

.whd-region-country-footer-inner {
    margin: 0 auto;
    max-width: 1180px;
    padding: 0 24px;
}

.whd-region-country-footer a {
    color: #111;
    text-decoration: none;
}

.whd-region-country-footer a:hover {
    color: #111;
}

.whd-region-country-footer-head {
    display: grid;
    gap: 10px;
    margin: 0 0 24px;
}

.whd-footer-eyebrow {
    color: #6b7280;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    margin: 0 !important;
    text-transform: uppercase;
}

.whd-region-country-footer-head h2,
.whd-footer-block-head h3 {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #111;
    line-height: 1.25;
    margin: 0 !important;
    padding: 0 !important;
}

.whd-region-country-footer-head h2::before,
.whd-region-country-footer-head h2::after,
.whd-footer-block-head h3::before,
.whd-footer-block-head h3::after {
    display: none !important;
}

.whd-region-country-footer-head h2 {
    font-size: clamp(1.45rem, 2.4vw, 2.1rem);
}

.whd-region-country-footer-head > p:not(.whd-footer-eyebrow),
.whd-footer-block-head p {
    color: #4b5563;
    line-height: 1.8;
    margin: 0;
}

.whd-footer-quick-row {
    border-bottom: 1px solid #111;
    border-top: 1px solid #111;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(260px, 380px) 1fr;
    margin: 0 0 28px;
    padding: 18px 0;
}

.whd-footer-search {
    align-items: end;
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr auto;
}

.whd-footer-search label {
    display: grid;
    gap: 6px;
    margin: 0;
}

.whd-footer-search label span {
    color: #4b5563;
    font-size: 0.82rem;
    font-weight: 700;
}

.whd-footer-search input[type="search"] {
    appearance: none;
    background: #fff;
    border: 1px solid #111;
    border-radius: 0;
    color: #111;
    min-height: 42px;
    padding: 8px 10px;
    width: 100%;
}

.whd-footer-search button {
    background: #fff2a8;
    border: 1px solid #111;
    border-radius: 0;
    color: #111;
    cursor: pointer;
    font-weight: 800;
    min-height: 42px;
    padding: 8px 16px;
}

.whd-footer-search button:hover {
    background: #f4d03f;
}

.whd-footer-quick-links {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.whd-footer-quick-links a,
.whd-footer-region-card,
.whd-footer-country-chips a {
    background: #fff;
    border: 1px solid #111;
    box-shadow: none;
}

.whd-footer-quick-links a {
    display: grid;
    gap: 4px;
    min-height: 68px;
    padding: 12px 14px;
}

.whd-footer-quick-links a span,
.whd-footer-region-card span {
    font-weight: 800;
}

.whd-footer-quick-links a small,
.whd-footer-region-card small {
    color: #6b7280;
    line-height: 1.5;
}

.whd-footer-quick-links a:hover,
.whd-footer-region-card:hover,
.whd-footer-country-chips a:hover {
    background: #fff8cc;
}

.whd-footer-block {
    margin: 0 0 28px;
}

.whd-footer-block:last-child {
    margin-bottom: 0;
}

.whd-footer-block-head {
    display: grid;
    gap: 6px;
    margin: 0 0 14px;
}

.whd-footer-block-head h3 {
    font-size: 1.05rem;
}

.whd-footer-region-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.whd-footer-region-card {
    display: grid;
    gap: 6px;
    min-height: 76px;
    padding: 14px 16px;
}

.whd-footer-country-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.whd-footer-country-chips a {
    align-items: center;
    display: inline-flex;
    gap: 7px;
    line-height: 1.3;
    padding: 7px 10px;
}

.whd-footer-country-chips a span {
    align-items: center;
    background: #fff2a8;
    border-left: 1px solid #111;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    margin: -7px -10px -7px 0;
    min-height: 32px;
    padding: 0 8px;
}

body.whd-site-minimal-note-global.whd-theme-cocoon .whd-region-country-footer {
    background: #fff !important;
    box-shadow: none !important;
}

@media (max-width: 960px) {
    .whd-footer-quick-row,
    .whd-footer-quick-links,
    .whd-footer-region-grid {
        grid-template-columns: 1fr;
    }

    .whd-footer-quick-links {
        display: grid;
    }
}

@media (max-width: 782px) {
    .whd-region-country-footer {
        margin-top: 36px;
        padding: 30px 0;
    }

    .whd-region-country-footer-inner {
        padding: 0 16px;
    }

    .whd-footer-search {
        grid-template-columns: 1fr;
    }

    .whd-footer-country-chips {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .whd-footer-country-chips a {
        justify-content: space-between;
    }
}

/* v0.8.52: フッター導線表示条件・ページタイトル整理 */
body.page.whd-minimal-home-shortcode-page .entry-title,
body.page.whd-minimal-home-shortcode-page .page-title,
body.page.whd-minimal-home-shortcode-page .article h1.entry-title,
body.page.whd-minimal-home-shortcode-page .article-header,
body.page.whd-minimal-home-shortcode-page .date-tags,
body.page.whd-heritage-search-page .entry-title,
body.page.whd-heritage-search-page .page-title,
body.page.whd-heritage-search-page .article h1.entry-title,
body.page.whd-heritage-search-page .article-header,
body.page.whd-heritage-search-page .date-tags,
body.page.whd-country-region-page .entry-title,
body.page.whd-country-region-page .page-title,
body.page.whd-country-region-page .article h1.entry-title,
body.page.whd-country-region-page .article-header,
body.page.whd-country-region-page .date-tags,
body.page.whd-basic-knowledge-page .entry-title,
body.page.whd-basic-knowledge-page .page-title,
body.page.whd-basic-knowledge-page .article h1.entry-title,
body.page.whd-basic-knowledge-page .article-header,
body.page.whd-basic-knowledge-page .date-tags {
    display: none !important;
}

body.page.whd-minimal-home-shortcode-page .main,
body.page.whd-heritage-search-page .main,
body.page.whd-country-region-page .main,
body.page.whd-basic-knowledge-page .main {
    padding-top: clamp(1.2rem, 3vw, 2.6rem) !important;
}

/* 固定ページ内のWHDショートコードが自前の見出しを持つため、通常タイトルと本文見出しの二重表示を避ける。 */
body.page.whd-basic-knowledge-page .breadcrumb,
body.page.whd-country-region-page .breadcrumb,
body.page.whd-heritage-search-page .breadcrumb {
    margin-top: clamp(20px, 4vw, 36px) !important;
}

/* 地域アーカイブの長い日本語見出しが不自然に1〜2文字で折れないようにする。 */
.whd-term-archive-hero h1,
.whd-country-region-hero h1 {
    word-break: keep-all;
    overflow-wrap: normal;
    line-break: strict;
}

.whd-term-archive-hero h1 {
    font-size: clamp(2rem, 3.4vw, 3.7rem);
    letter-spacing: -0.035em;
}

body.tax-heritage_region .whd-term-archive-hero,
body.tax-heritage_country .whd-term-archive-hero {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

@media (max-width: 1100px) {
    body.tax-heritage_region .whd-term-archive-hero,
    body.tax-heritage_country .whd-term-archive-hero {
        display: block;
    }

    .whd-term-archive-hero h1 {
        max-width: 16em;
    }
}

/* 個別記事・基礎知識・タクソノミーでは、下部導線を小さな関連リンクとして扱う。 */
.whd-region-country-footer--compact {
    margin-top: clamp(36px, 6vw, 64px);
    padding: 26px 0 20px;
}

.whd-region-country-footer--compact .whd-region-country-footer-inner {
    max-width: 920px;
}

.whd-region-country-footer--compact .whd-region-country-footer-head {
    align-items: end;
    border-bottom: 1px solid #111;
    display: grid;
    gap: 12px clamp(18px, 4vw, 42px);
    grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.55fr);
    margin-bottom: 16px;
    padding-bottom: 14px;
}

.whd-region-country-footer--compact .whd-region-country-footer-head h2 {
    font-size: clamp(1.15rem, 2vw, 1.55rem);
}

.whd-region-country-footer--compact .whd-region-country-footer-head > p:not(.whd-footer-eyebrow) {
    font-size: 0.92rem;
    line-height: 1.75;
}

.whd-footer-quick-links--compact {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(auto-fit, minmax(126px, 1fr));
}

.whd-footer-quick-links--compact a {
    min-height: 56px;
    padding: 10px 12px;
}

.whd-footer-quick-links--compact a span {
    font-size: 0.92rem;
}

.whd-footer-quick-links--compact a small {
    font-size: 0.74rem;
}

body.single-heritage_site .whd-region-country-footer--compact .whd-region-country-footer-inner,
body.single-component_site .whd-region-country-footer--compact .whd-region-country-footer-inner {
    max-width: 760px;
}

@media (max-width: 782px) {
    .whd-region-country-footer--compact .whd-region-country-footer-head {
        display: block;
    }

    .whd-footer-quick-links--compact {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 420px) {
    .whd-footer-quick-links--compact {
        grid-template-columns: 1fr;
    }
}

/* ミニマル表示内の青い標準リンクを抑え、黒＋黄色アクセントに寄せる。 */
.whd-basic-knowledge-index a,
.whd-basic-article a,
.whd-country-region-index a,
.whd-country-region-term-list a,
.whd-country-region-tax-archive a,
.whd-heritage-search a,
.whd-minimal-home a,
.whd-frontend-blocks a {
    color: #111;
}

.whd-basic-knowledge-index a:not(.button):not(.wp-block-button__link):hover,
.whd-basic-article a:not(.button):not(.wp-block-button__link):hover,
.whd-country-region-index a:not(.button):not(.wp-block-button__link):hover,
.whd-country-region-tax-archive a:not(.button):not(.wp-block-button__link):hover,
.whd-heritage-search a:not(.button):not(.wp-block-button__link):hover,
.whd-minimal-home a:not(.button):not(.wp-block-button__link):hover,
.whd-frontend-blocks a:not(.button):not(.wp-block-button__link):hover {
    color: #111;
    text-decoration-color: #f5c400;
}

/* v0.8.53: スマホ所在地マップ白抜け防止
 * Cocoon / モバイル表示 / ミニマル白背景CSSが Leaflet のタイル画像へ干渉すると、
 * ピンやズームUIだけ表示されて地図タイルが真白になることがある。
 * タイル画像はLeaflet本来の表示寸法・透明度を明示して保護する。
 *
 * v0.8.54: 下記の 256px 指定は heritage-map.js 側の
 * detectRetina:false / tileSize:256 前提の保護です。将来Retinaタイルや分数ズームを
 * 有効化する場合は、JS設定と合わせて見直してください。
 */
.whd-component-map,
.whd-component-map.leaflet-container,
.whd-component-map .leaflet-container {
    background-color: #eef2ea !important;
    background-image: none !important;
    overflow: hidden !important;
}

.whd-component-map .leaflet-map-pane,
.whd-component-map .leaflet-tile-pane,
.whd-component-map .leaflet-tile-container,
.whd-component-map.leaflet-container .leaflet-map-pane,
.whd-component-map.leaflet-container .leaflet-tile-pane,
.whd-component-map.leaflet-container .leaflet-tile-container {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    filter: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.whd-component-map .leaflet-tile,
.whd-component-map img.leaflet-tile,
.whd-component-map.leaflet-container .leaflet-tile,
.whd-component-map.leaflet-container img.leaflet-tile,
body.whd-front-style-minimal-note .whd-component-map .leaflet-tile,
body.whd-front-style-minimal-note .whd-component-map img.leaflet-tile,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-map .leaflet-tile,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-map img.leaflet-tile {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 256px !important;
    height: 256px !important;
    min-width: 256px !important;
    min-height: 256px !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: fill !important;
    object-position: center center !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    filter: none !important;
    mix-blend-mode: normal !important;
    padding: 0 !important;
}

.whd-component-map .leaflet-container a,
.whd-component-map.leaflet-container a {
    color: inherit;
}

@media (max-width: 640px) {
    .whd-component-map,
    .whd-component-map.leaflet-container,
    .whd-component-map .leaflet-container {
        height: 340px !important;
        min-height: 340px !important;
        background-color: #eef2ea !important;
    }

    body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-map,
    body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-map.leaflet-container,
    body.whd-front-style-minimal-note.whd-theme-cocoon .whd-component-map .leaflet-container {
        background-color: #eef2ea !important;
    }
}

/* v0.8.55: スマホ地図2本指ヒント表示修正
 * Cocoonミニマル白背景CSS（.whd-front-rendered *）が地図内の独自ヒントへ
 * background-color:#fff を付与すると、白抜けして読みにくくなる。
 * Leafletタイル・ピン保護とは別に、タッチ操作案内だけ濃色背景を明示して保護する。
 */
.whd-component-map .whd-map-touch-hint,
.whd-component-map.leaflet-container .whd-map-touch-hint,
body.whd-front-style-minimal-note .whd-component-map .whd-map-touch-hint,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-front-rendered .whd-component-map .whd-map-touch-hint,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-front-rendered .whd-component-map.leaflet-container .whd-map-touch-hint {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    z-index: 10000 !important;
    background: rgba(17, 24, 39, 0.92) !important;
    background-color: rgba(17, 24, 39, 0.92) !important;
    background-image: none !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.72) !important;
    border-radius: 999px !important;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.28) !important;
    outline: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    text-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

.whd-component-map .whd-map-touch-hint.is-visible,
.whd-component-map.leaflet-container .whd-map-touch-hint.is-visible,
body.whd-front-style-minimal-note .whd-component-map .whd-map-touch-hint.is-visible,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-front-rendered .whd-component-map .whd-map-touch-hint.is-visible,
body.whd-front-style-minimal-note.whd-theme-cocoon .whd-front-rendered .whd-component-map.leaflet-container .whd-map-touch-hint.is-visible {
    opacity: 1 !important;
    visibility: visible !important;
}

.whd-component-map .whd-map-touch-hint::before,
.whd-component-map .whd-map-touch-hint::after,
.whd-component-map.leaflet-container .whd-map-touch-hint::before,
.whd-component-map.leaflet-container .whd-map-touch-hint::after {
    content: none !important;
    display: none !important;
}

@media (max-width: 640px) {
    .whd-component-map .whd-map-touch-hint,
    .whd-component-map.leaflet-container .whd-map-touch-hint {
        width: auto !important;
        max-width: calc(100% - 2rem) !important;
        padding: 0.6rem 0.85rem !important;
        font-size: 0.86rem !important;
        line-height: 1.45 !important;
        white-space: normal !important;
        word-break: keep-all !important;
    }
}

