/* ========================================
   CSS Reset / Normalize
   ======================================== */


/* Box sizing rules */

*,
*::before,
*::after {
    box-sizing: border-box;
}


/* Remove default margin */

* {
    margin: 0;
    padding: 0;
}


/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */

ul[role='list'],
ol[role='list'] {
    list-style: none;
}


/* Set core root defaults */

html:focus-within {
    scroll-behavior: smooth;
}


/* Set core body defaults */

body {
    min-height: 100vh;
    text-rendering: optimizeSpeed;
    line-height: 1.5;
}


/* A elements that don't have a class get default styles */

a:not([class]) {
    text-decoration-skip-ink: auto;
}


/* Make images easier to work with */

img,
picture {
    max-width: 100%;
    display: block;
}


/* Inherit fonts for inputs and buttons */

input,
button,
textarea,
select {
    font: inherit;
}


/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */

@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}


/* ========================================
   Base Styles
   ======================================== */

body {
    font-family: "Zen Old Mincho", serif;
    color: #333;
    background-color: #f7f7f7;
}

body.loading {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

a:visited {
    color: inherit;
}

ul,
ol {
    list-style: none;
}


/* ========================================
   Layout
   ======================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* ========================================
   Hero Slider
   ======================================== */

.hero-slider {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-slider .swiper-slide {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slider .swiper-slide {
    overflow: hidden;
}

.hero-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    /* ズームインアニメーション */
    animation: zoomIn 8s ease-out infinite;
    transform-origin: center center;
}


/* ズームインアニメーション */

@keyframes zoomIn {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}


/* アクティブなスライドのアニメーション */

.hero-slider .swiper-slide-active img {
    animation: zoomIn 8s ease-out infinite;
}


/* 黒30%のオーバーレイ */

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
    pointer-events: none;
}


/* ヒーローロゴ */

.hero-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none;
    width: 100px;
    height: auto;
}

.hero-logo img {
    width: 100%;
    height: auto;
    display: block;
}


/* スクロールダウン */

.scroll-down {
    position: absolute;
    bottom: 60px;
    right: 40px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    pointer-events: none;
}

.scroll-text {
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 14px;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    white-space: nowrap;
}

.scroll-arrow {
    font-size: 24px;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}


/* レスポンシブ対応 - ロゴ */

@media (max-width: 768px) {
    .hero-logo {
        width: 50px;
    }
    .scroll-down {
        bottom: 50px;
        right: 20px;
    }
    .scroll-text {
        font-size: 12px;
    }
    .scroll-arrow {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .hero-logo {
        width: 40px;
    }
    .scroll-down {
        bottom: 40px;
        right: 15px;
    }
    .scroll-text {
        font-size: 11px;
    }
    .scroll-arrow {
        font-size: 18px;
    }
}


/* ページネーションのスタイル */

.hero-slider .swiper-pagination {
    bottom: 30px;
    z-index: 2;
}

.hero-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.hero-slider .swiper-pagination-bullet-active {
    background: #fff;
}


/* レスポンシブ対応 */

@media (max-width: 768px) {
    .hero-slider {
        height: 60vh;
    }
    .hero-slider .swiper-pagination {
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 50vh;
    }
}


/* ========================================
   Header
   ======================================== */

#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    padding: 20px 0;
    box-shadow: none;
    z-index: 100;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#header.scrolled {
    background-color: #f7f7f7;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    width: 240px;
    height: auto;
}

.header-logo img {
    width: 100%;
    height: auto;
    display: block;
}


/* デフォルトは黒いロゴを表示（サブページ用） */

.header-logo .logo-white {
    display: none;
}

.header-logo .logo-black {
    display: block;
}


/* トップページ（.home）でスクロール前は白いロゴを表示 */

.home .header-logo .logo-white {
    display: block;
}

.home .header-logo .logo-black {
    display: none;
}


/* スクロール後は黒いロゴを表示 */

#header.scrolled .header-logo .logo-white,
.home #header.scrolled .header-logo .logo-white {
    display: none;
}

#header.scrolled .header-logo .logo-black,
.home #header.scrolled .header-logo .logo-black {
    display: block;
}


/* single.php と archive.php と page.php で最初から白背景の固定ヘッダーを表示 */

.single #header,
.archive #header,
.blog #header,
.page #header {
    background-color: #f7f7f7;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.single .header-logo .logo-white,
.archive .header-logo .logo-white,
.blog .header-logo .logo-white,
.page .header-logo .logo-white {
    display: none !important;
}

.single .header-logo .logo-black,
.archive .header-logo .logo-black,
.blog .header-logo .logo-black,
.page .header-logo .logo-black {
    display: block !important;
}

.single .hamburger-line,
.archive .hamburger-line,
.blog .hamburger-line,
.page .hamburger-line {
    background-color: #333;
}


/* ハンバーガーメニューボタン */

.hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
    position: relative;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

#header.scrolled .hamburger-line {
    background-color: #333;
}

.hamburger-menu.active .hamburger-line {
    background-color: #333;
}

.hamburger-menu.active {
    justify-content: center;
}

.hamburger-menu.active .hamburger-line {
    position: absolute;
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg);
}


/* サイドメニューが開いた時のハンバーガーメニューの位置をサイドメニュー内の左端に */

.header-nav .hamburger-menu {
    position: absolute;
    left: 20px;
    top: 20px;
    z-index: 102;
}


/* ナビゲーションメニュー */

.header-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: #f7f7f7;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 100;
    overflow-y: auto;
}

.header-nav.active {
    right: 0;
}

.nav-menu {
    list-style: none;
    padding: 80px 20px 20px;
    margin: 0;
}

.nav-menu li {
    margin-bottom: 20px;
}

.nav-menu a {
    display: block;
    padding: 8px 0;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    border-bottom: 1px solid #eee;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #666;
}


/* メニューオープン時の背景オーバーレイ */

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 99;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}


/* レスポンシブ対応 */

@media (max-width: 768px) {
    .header-nav {
        width: 80%;
        max-width: 300px;
    }
}


/* ========================================
   Main
   ======================================== */

main {
    min-height: calc(100vh - 200px);
    padding: 40px 0;
    margin-top: 80px;
    /* ヘッダーの高さ分のマージン */
}


/* レスポンシブ対応 - Main */

@media (max-width: 768px) {
    main {
        padding: 0px 0;
        margin-top: 0px;
    }
}

@media (max-width: 480px) {
    main {
        padding: 0px 0;
        margin-top: 0px;
    }
}


/* ========================================
   News Section
   ======================================== */

.news-section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #333;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 600px;
    height: 1px;
    background: linear-gradient(to right, transparent 0%, #333 20%, #333 80%, transparent 100%);
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

.news-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.news-date {
    font-size: 16px;
    color: #333;
    font-weight: 400;
    min-width: 120px;
    margin-right: 30px;
    flex-shrink: 0;
}

.news-text {
    font-size: 16px;
    color: #333;
    font-weight: 400;
    line-height: 1.6;
    flex: 1;
    text-decoration: none;
    transition: text-decoration 0.3s ease;
}

.news-text:hover {
    text-decoration: underline;
}


/* お知らせ一覧ボタン */

.news-more {
    text-align: center;
    margin-top: 40px;
}

.news-more-link {
    display: inline-block;
    padding: 12px 40px;
    font-size: 1rem;
    color: #333;
    text-decoration: none;
    border: 1px solid #333;
    border-radius: 5px;
    transition: all 0.3s;
}

.news-more-link:hover {
    background-color: #333;
    color: #fff;
}


/* レスポンシブ対応 - News Section */

@media (max-width: 768px) {
    .news-section {
        padding: 40px 0;
    }
    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    .news-item {
        flex-direction: column;
        margin-bottom: 25px;
        padding-bottom: 15px;
    }
    .news-date {
        margin-right: 0;
        margin-bottom: 8px;
        min-width: auto;
    }
    .news-text {
        font-size: 14px;
    }
}


/* ========================================
   Home About Section (トップページのaboutセクション)
   ======================================== */

.home-about-section {
    padding: 100px 0;
}

.home-about-content {
    display: flex;
    align-items: stretch;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.home-about-image {
    width: 50%;
    aspect-ratio: 1;
    flex-shrink: 0;
    overflow: hidden;
}

.home-about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-about-text {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    writing-mode: vertical-rl;
    text-orientation: upright;
    padding: 20px 0;
    gap: 30px;
}

.home-about-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 0;
    color: #333;
    flex-shrink: 0;
}

.home-about-description {
    font-size: 16px;
    line-height: 2;
    color: #333;
    margin-bottom: 0;
    flex-shrink: 0;
}

.home-about-link {
    display: inline-block;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    transition: text-decoration 0.3s ease;
    align-self: flex-end;
    flex-shrink: 0;
}

.home-about-link:hover {
    text-decoration: underline;
}


/* レスポンシブ対応 - Home About Section */

@media (max-width: 768px) {
    .home-about-section {
        padding: 40px 0;
    }
    .home-about-content {
        flex-direction: column;
        gap: 30px;
    }
    .home-about-image {
        width: 100%;
    }
    .home-about-text {
        width: 100%;
        writing-mode: horizontal-tb;
        text-orientation: mixed;
    }
    .home-about-title {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        font-size: 24px;
        margin-bottom: 20px;
    }
    .home-about-description {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        font-size: 14px;
        margin-bottom: 20px;
    }
    .home-about-link {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        align-self: flex-start;
    }
}


/* ========================================
   Access Section
   ======================================== */

.access-section {
    padding: 60px 0;
}

.access-content {
    max-width: 1200px;
    margin: 0 auto;
}

.access-map {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.access-map iframe {
    width: 100%;
    height: 400px;
    display: block;
    border: none;
}

.access-info {
    padding: 20px 0;
    text-align: center;
}

.access-name {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.access-address {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.6;
}

.access-tel {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.6;
}

.access-hours {
    font-size: 14px;
    color: #666;
}

.access-fax {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.6;
}

.access-link {
    display: inline-block;
    font-size: 16px;
    color: #333;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.access-link:hover {
    opacity: 0.7;
}

.access-link::after {
    content: ' ↗';
    font-size: 14px;
}


/* レスポンシブ対応 - Access Section */

@media (max-width: 768px) {
    .access-section {
        padding: 40px 0;
    }
    .access-map iframe {
        height: 300px;
    }
    .access-name {
        font-size: 20px;
    }
    .access-address,
    .access-tel,
    .access-fax {
        font-size: 14px;
    }
    .access-link {
        font-size: 14px;
    }
}


/* ========================================
   Banner Section
   ======================================== */

.banner-section {
    padding: 60px 0;
}

.banner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.banner-item {
    width: 300px;
    height: auto;
}

.banner-item img {
    width: 100%;
    height: auto;
    display: block;
}


/* レスポンシブ対応 - Banner Section */

@media (max-width: 768px) {
    .banner-section {
        padding: 40px 0;
    }
    .banner-container {
        flex-direction: column;
        gap: 20px;
    }
    .banner-item {
        width: 100%;
    }
}


/* ========================================
   Footer
   ======================================== */

footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}


/* ========================================
   Utility Classes
   ======================================== */

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}


/* ========================================
   Loader
   ======================================== */

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1a1a1a;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


/* レスポンシブ対応 - Loader */

@media (max-width: 768px) {
    .loader-spinner {
        width: 40px;
        height: 40px;
        border-width: 3px;
    }
}


/*--------------------------------------------------------------
# Access Section
--------------------------------------------------------------*/

.access-section {
    padding: 60px 20px;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

.access-content {
    max-width: 1200px;
    margin: 0 auto;
}


/* モバイル: 縦並び */

.access-map,
.access-info {
    width: 100%;
}

.access-map {
    margin-bottom: 30px;
}

.access-info {
    padding: 20px;
    text-align: left;
}

.access-name {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: bold;
    text-align: left;
}

.access-address,
.access-tel,
.access-fax {
    margin-bottom: 10px;
    line-height: 1.6;
    text-align: left;
}

.access-hours {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.6;
}

.access-flower {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.6;
}

.access-parking-section {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.access-parking-title {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    text-align: left;
}

.access-parking-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    text-align: left;
}

.access-link {
    display: inline-block;
    margin-top: 20px;
    margin-left: 0;
    margin-right: auto;
    padding: 10px 20px;
    background-color: transparent;
    color: #000;
    text-decoration: underline;
    border: 1px solid #000;
    border-radius: 5px;
    transition: all 0.3s;
    text-align: left;
}

.access-link:hover {
    background-color: #000;
    color: #fff;
}


/* PC: 横並び（左にアクセス情報、右にマップ） */

@media screen and (min-width: 768px) {
    .access-content {
        display: flex;
        flex-direction: row-reverse;
        gap: 40px;
        align-items: flex-start;
    }
    .access-map {
        flex: 1;
        margin-bottom: 0;
    }
    .access-info {
        flex: 1;
        padding: 0;
    }
}


/*--------------------------------------------------------------
# Page Hero Section (single/index/page用の小さいヒーロー画像)
--------------------------------------------------------------*/

.page-hero {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    margin-top: 60px;
    /* 固定ヘッダーの直下に配置 */
}


/* WordPress管理バーがある場合の調整（ログイン時） */

.admin-bar .page-hero {
    margin-top: 48px;
    /* 固定ヘッダー60px + 管理バー32px */
}


/* 小画面時の管理バー対応 */

@media screen and (max-width: 782px) {
    .admin-bar .page-hero {
        margin-top: 106px;
        /* 固定ヘッダー60px + 管理バー46px */
    }
}

.page-hero-image {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.page-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.page-hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-hero-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
}

@media screen and (max-width: 768px) {
    .page-hero {
        height: 200px;
    }
    .page-hero-title {
        font-size: 1.8rem;
    }
}


/*--------------------------------------------------------------
# News Archive Page (お知らせ一覧)
--------------------------------------------------------------*/

.news-archive-section {
    padding: 40px 20px 60px;
    max-width: 800px;
    margin: 0 auto;
}

.news-archive-section .section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

.news-archive-section .news-list {
    max-width: 100%;
    margin: 0 auto;
}

.no-posts {
    text-align: center;
    padding: 40px 20px;
    font-size: 1rem;
    color: #666;
}


/* ページネーション */

.pagination {
    margin-top: 60px;
    text-align: center;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    min-width: 40px;
    text-align: center;
    color: #333;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 3px;
    transition: all 0.3s;
}

.pagination .page-numbers:hover {
    background-color: #333;
    color: #fff;
    border-color: #333;
}

.pagination .page-numbers.current {
    background-color: #333;
    color: #fff;
    border-color: #333;
}

.pagination .prev,
.pagination .next {
    font-weight: bold;
}


/*--------------------------------------------------------------
# Single Post Page (投稿詳細) & Page (固定ページ)
--------------------------------------------------------------*/


/* サブページのmainセクションにmarginがないように */

.single main,
.archive main,
.blog main,
.page main {
    margin-top: 0;
}

.single-post-article,
.page .single-post-article {
    max-width: 800px;
    margin: 40px auto 60px;
    padding: 0 20px;
}

.entry-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.entry-meta {
    margin-bottom: 10px;
}

.post-date {
    font-size: 0.9rem;
    color: #666;
}

.entry-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    line-height: 1.4;
}

.entry-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.entry-content p {
    margin-bottom: 1.5em;
}

.entry-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2em;
    margin-bottom: 1em;
}

.entry-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 1.5em;
    margin-bottom: 0.8em;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 1.5em;
    padding-left: 2em;
}

.entry-content ul {
    list-style: disc;
}

.entry-content ol {
    list-style: decimal;
}

.entry-content li {
    margin-bottom: 0.5em;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    margin: 1.5em 0;
}

.entry-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.entry-footer .cat-links {
    font-size: 0.9rem;
    color: #666;
}


/* 前後の投稿ナビゲーション */

.post-navigation {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    flex: 1;
    max-width: calc(50% - 10px);
}

.post-navigation a {
    display: block;
    padding: 20px;
    background-color: #f7f7f7;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.post-navigation a:hover {
    background-color: #e0e0e0;
}

.post-navigation .nav-subtitle {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 5px;
}

.post-navigation .nav-title {
    display: block;
    font-size: 1rem;
    color: #333;
    font-weight: 500;
}

.post-navigation .nav-next {
    text-align: right;
}


/* 一覧に戻るボタン */

.back-to-archive {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    text-align: center;
}

.back-link {
    display: inline-block;
    padding: 10px 30px;
    font-size: 1rem;
    color: #333;
    text-decoration: none;
    border: 1px solid #333;
    border-radius: 5px;
    transition: all 0.3s;
}

.back-link:hover {
    background-color: #333;
    color: #fff;
}


/* レスポンシブ対応 - Single Post */

@media (max-width: 768px) {
    .single-post-article {
        margin: 60px auto 40px;
    }
    .entry-title {
        font-size: 1.5rem;
    }
    .post-navigation .nav-links {
        flex-direction: column;
    }
    .post-navigation .nav-previous,
    .post-navigation .nav-next {
        max-width: 100%;
    }
    .post-navigation .nav-next {
        text-align: left;
    }
}


/*--------------------------------------------------------------
# About Page (厳正寺について)
--------------------------------------------------------------*/

.about-page {
    background-color: #fff;
}


/* 新しいコンテナ：横幅を広げる */

.about-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 80px;
}

.about-page-article {
    width: 100%;
}

.about-page-content {
    width: 100%;
    line-height: 2;
    font-size: 1.05rem;
    color: #333;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
}


/* 管理画面から追加された要素のスタイル */

.about-page-content h2 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 2px solid #333;
    position: relative;
}

.about-page-content h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background-color: #8b7355;
}

.about-page-content p {
    margin-bottom: 1.5em;
}

.about-page-content strong {
    font-weight: 700;
    color: #8b7355;
}

.about-page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


/* 既存のaboutページスタイル（後方互換性のため残す） */

.about-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px 80px;
}

.about-intro-section,
.mizudome-section,
.community-section {
    margin-bottom: 80px;
}

.about-section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 2px solid #333;
    position: relative;
}

.about-section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background-color: #8b7355;
}

.about-section-content {
    display: flex;
    gap: 40px;
    align-items: center;
}


/* 水止舞セクションは逆順（画像右、テキスト左） */

.about-section-content.reverse {
    flex-direction: row-reverse;
}

.about-image {
    flex: 0 0 45%;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
    line-height: 2;
    font-size: 1.05rem;
    color: #333;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
}

.about-text p {
    margin-bottom: 1.5em;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-text strong {
    font-weight: 700;
    color: #8b7355;
}


/* レスポンシブ対応 - About Page */

@media (max-width: 768px) {
    .about-page-container {
        padding: 40px 20px 60px;
    }
    .about-page-content {
        font-size: 1rem;
        line-height: 1.8;
    }
    .about-page-content h2 {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }
    /* 既存のスタイル（後方互換性のため） */
    .about-content {
        padding: 40px 20px 60px;
    }
    .about-section-title {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }
    .about-section-content,
    .about-section-content.reverse {
        flex-direction: column;
        gap: 25px;
    }
    .about-image {
        flex: 0 0 100%;
    }
    .about-text {
        font-size: 1rem;
        line-height: 1.8;
    }
    .about-intro-section,
    .mizudome-section,
    .community-section {
        margin-bottom: 50px;
    }
}


/*--------------------------------------------------------------
# Events Section (年間行事)
--------------------------------------------------------------*/

.events-section {
    margin-bottom: 60px;
}

.events-section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 2px solid #333;
    position: relative;
}

.events-section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background-color: #8b7355;
}

.events-description {
    text-align: center;
    font-size: 1rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.8;
}

.events-list {
    max-width: 800px;
    margin: 0 auto;
}

.event-item {
    display: flex;
    align-items: center;
    padding: 20px 30px;
    margin-bottom: 15px;
    background-color: #f9f9f9;
    border-left: 4px solid #8b7355;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.event-item:hover {
    background-color: #f0f0f0;
    transform: translateX(5px);
}

.event-date {
    font-size: 1rem;
    font-weight: 700;
    color: #8b7355;
    min-width: 150px;
    flex-shrink: 0;
}

.event-name {
    font-size: 1.1rem;
    color: #333;
    font-weight: 500;
}


/* レスポンシブ対応 - Events Section */

@media (max-width: 768px) {
    .events-section-title {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }
    .event-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 20px;
    }
    .event-date {
        font-size: 0.9rem;
        min-width: auto;
        margin-bottom: 8px;
    }
    .event-name {
        font-size: 1rem;
    }
}