@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ（日本全国・神社歴史メディア コンパクト省スクロール和風仕様）
    Version: 3.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@500;700;900&display=swap');

:root {
    --shrine-vermilion: #b91c1c;
    --shrine-vermilion-dark: #7f1d1d;
    --shrine-gold: #c59b27;
    --shrine-washi: #faf6ee;
    --shrine-ink: #1c1917;
}

body {
    background-color: var(--shrine-washi) !important;
    background-image: radial-gradient(rgba(197, 155, 39, 0.07) 1px, transparent 0);
    background-size: 24px 24px;
    color: var(--shrine-ink);
}

/* ヘッダー：鳥居の朱色と金帯の神社モチーフ（スリム化） */
.l-header {
    background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 55%, #b91c1c 100%) !important;
    border-bottom: 3px solid #d4af37 !important;
    box-shadow: 0 4px 14px rgba(127, 29, 29, 0.2) !important;
}
.l-header,
.l-header a,
.l-header .c-gnav a,
.l-header .p-headerMenu a,
.c-headLogo__title {
    color: #ffffff !important;
    font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif !important;
}

/* スクロール削減1：トップページと『神社検索』ページでは、検索ボードの下にダラダラ続く標準記事一覧や重複本文を非表示にして1画面に収める */
body.home .l-content,
body.page-id-19 .l-content {
    display: none !important;
}

/* スクロール削減2：個別記事の自動目次(TOC)と巨大な余白を圧縮 */
.p-toc {
    display: none !important;
}
.post_content p {
    margin-bottom: 0.7em !important;
    line-height: 1.65 !important;
}

/* 記事タイトル・見出しを明朝体＋コンパクト和風装飾に統一 */
.p-articleHead__title,
.c-pageTitle {
    font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif !important;
    font-weight: 900 !important;
    font-size: clamp(18px, 2.4vw, 24px) !important;
    color: #1c1917 !important;
    border-bottom: 2px solid #c59b27;
    padding-bottom: 8px;
    margin-bottom: 12px !important;
}

.post_content h2 {
    font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif !important;
    background: linear-gradient(90deg, #fffDF9 0%, #fef3c7 100%) !important;
    color: #7f1d1d !important;
    border-left: 6px solid #b91c1c !important;
    border-bottom: 2px solid #d4af37 !important;
    padding: 8px 14px !important;
    border-radius: 6px !important;
    font-weight: 900 !important;
    font-size: 18px !important;
    margin-top: 1.2em !important;
    margin-bottom: 0.8em !important;
}
.post_content h2::before {
    content: "⛩️ ";
}

.post_content h3 {
    font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif !important;
    border-bottom: 2px solid #b91c1c !important;
    border-left: 4px solid #d4af37 !important;
    padding: 4px 10px !important;
    color: #1c1917 !important;
    font-weight: 800 !important;
    font-size: 16px !important;
    margin-top: 1em !important;
    margin-bottom: 0.6em !important;
}

/* メインコンテンツ枠のパディングを引き締め */
.l-mainContent__inner {
    background: #ffffff;
    border: 1px solid #e7e0d0;
    border-top: 4px solid #b91c1c;
    border-radius: 12px;
    padding: 18px 18px !important;
    box-shadow: 0 6px 20px rgba(28, 25, 23, 0.05);
}

/* サイドバー見出し */
.c-widget__title {
    font-family: "Noto Serif JP", "Yu Mincho", serif !important;
    background: #991b1b !important;
    color: #fff !important;
    border-bottom: 2px solid #d4af37 !important;
    border-radius: 6px !important;
    padding: 8px 12px !important;
    font-size: 14px !important;
}
