/* ヘッダー基本スタイル */
.site-header {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 200px; /* ヘッダーの幅を設定 */
    background-color: #f9f9f9;
    z-index: 1000;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
}

/* ヘッダートップ部分 */
.header-top {
    background: rgba(139, 0, 0, 0.9);
    color: #fff;
    padding: 8px 0; /* パディングも少し増やして */
    font-size: 1.1rem; /* 全体的なサイズを大きく */
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-number {
    font-size: 1.4rem; /* 電話番号を大きく */
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
}

.phone-icon {
    width: 20px;
    height: 20px;
    background: url('../img/phone-icon.png') no-repeat center/contain;
}

.business-hours {
    font-size: 1.1rem; /* 営業時間も大きく */
}

/* メインヘッダー部分 */
.header-main {
    padding: 5px 0;
    height: 100%;
    display: flex;
    align-items: flex-start;
}

.header-main .container {
    flex-direction: column;
    align-items: flex-start;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ロゴスタイル */
.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
}

.logo-image {
    height: 60px;
    width: auto;
}

.logo-text {
    font-family: 'Kaisei Decol', serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin-left: 10px;
    color: #8B0000;
}

.site-logo {
    margin: 0;
}

.site-logo a {
    display: block;
}

.site-logo img {
    height: 150px;
    width: 150px;
    display: block;
    margin: 30px auto;
}

/* ナビゲーション */
.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.nav-item {
    position: relative;
}

.nav-item a {
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: bold;
    padding: 10px 0;
    display: block;
    position: relative;
}

.nav-item a.active {
    color: #8B0000;
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #8B0000;
    transition: width 0.3s ease;
}

.nav-item a:hover::after,
.nav-item a.active::after {
    width: 100%;
}

.nav-list a, .nav-item a {
  font-weight: 700 !important;
}

/* サブメニュー・ドロップダウンメニュー */
.dropdown-menu,
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    list-style: none;
    padding: 10px 0;
    z-index: 100;
}

.has-submenu:hover .submenu,
.submenu:hover {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li,
.submenu li {
    margin: 0;
}

.dropdown-menu a,
.submenu a {
    padding: 8px 20px;
    font-size: 0.95rem;
    color: #333;
    display: block;
    transition: all 0.2s ease;
}

.dropdown-menu a:hover,
.submenu a:hover {
    background: #f5f5f5;
    color: #8B0000;
}

.dropdown-menu a::after,
.submenu a::after {
    display: none;
}

/* ハンバーガーメニュー */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .hamburger,
.menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1),
.menu-toggle.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2),
.menu-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3),
.menu-toggle.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .site-header {
        position: fixed;
        left: 0;
        top: 0;
        height: auto;
        width: 100%;
        background-color: #f9f9f9;
        z-index: 1000;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .header-main {
        padding: 10px 0;
    }

    .header-main .container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 0 20px;
    }

    .site-logo {
        margin: 0;
        order: 1;
    }

    .site-logo img {
        height: 60px;
        width: auto;
        margin: 0;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
        order: 2;
    }

    .global-nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: #fff;
        padding: 20px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        z-index: 2000;
        display: none;
    }
    .global-nav.active {
        transform: translateX(0) !important;
        display: block !important;
        z-index: 2000 !important;
    }

    body {
        padding-left: 0 !important;
    }

    .main-content-wrapper {
        width: 100vw;
        max-width: 100vw;
        margin-left: 0;
        box-sizing: border-box;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .nav-item {
        border-bottom: 1px solid #eee;
        width: 100%;
    }

    .nav-item a {
        display: block;
        padding: 18px 0 18px 20px;
        font-size: 1.2rem;
        color: #333;
        font-family: 'Kaisei Decol', serif;
        font-weight: 700;
        border: none;
        background: none;
        width: 100%;
    }

    .nav-item a.active {
        color: #8B0000;
        border-bottom: 2px solid #8B0000;
        background: none;
    }

    .dropdown-menu,
    .submenu {
        position: static !important;
        width: 100% !important;
        height: auto !important;
        background: #fff !important;
        color: #333 !important;
        border-radius: 0 !important;
        margin: 0 !important;
        padding: 0 0 0 20px !important;
        box-shadow: none !important;
        display: none;
    }

    .nav-item.has-submenu.open > .submenu,
    .nav-item.has-submenu > .submenu[style*="block"] {
        display: block !important;
    }

    .submenu a {
        color: #8B0000 !important;
        background: none !important;
        padding: 10px 0 !important;
        font-size: 1rem !important;
    }

    .two-column-layout {
        display: block !important;
    }
    .main-content {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
    .sidebar {
        width: 100%;
        max-width: 100%;
        margin: 30px 0 0 0;
        justify-self: unset;
    }

    .instagram-link img {
        max-width: 200px;
        width: 100%;
        height: auto;
        margin: 0 auto;
        display: block;
    }

    .sidebar-section {
        text-align: center;
    }

    .info-cards {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    /* ご案内カード */
    .card-title {
        font-size: 1.3rem !important;
    }
    .card-text {
        font-size: 1.05rem !important;
        line-height: 1.8 !important;
    }

    /* 新着情報 */
    .sidebar-section,
    .sidebar .news-section,
    .sidebar .news-item,
    .sidebar .news-link,
    .sidebar .news-date {
        font-size: 1.05rem !important;
    }

    /* フッター */
    .footer-content,
    .footer-info,
    .footer-info h3,
    .footer-info address,
    .footer-nav,
    .footer-nav a,
    .copyright {
        font-size: 1.05rem !important;
    }

    /* ヘッダー */
    .site-header,
    .site-logo,
    .site-logo img,
    .global-nav,
    .nav-list,
    .nav-item a {
        font-size: 1.1rem !important;
    }

    .card-title,
    .card-text,
    .sidebar-section,
    .sidebar .news-section,
    .sidebar .news-item,
    .sidebar .news-link,
    .sidebar .news-date,
    .footer-content,
    .footer-info,
    .footer-info h3,
    .footer-info address,
    .footer-nav,
    .footer-nav a,
    .copyright,
    .site-header,
    .site-logo,
    .site-logo img,
    .global-nav,
    .nav-list,
    .nav-item a {
        font-size: 1rem !important;
    }
}

@media (max-width: 768px) {
    .logo-text {
        font-size: 1.4rem;
    }

    .logo-image {
        height: 50px;
    }

    .site-logo img {
        height: 50px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.2rem;
    }

    .logo-image {
        height: 40px;
    }

    .site-logo img {
        height: 40px;
    }
}

/* コンテナー */
.container {
    max-width: none;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

body {
    font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", serif;
    color: var(--text-color);
    line-height: 1.7;
    min-height: 100vh;
    padding-left: 200px;
}

.main-content-wrapper {
    width: 100%;
    background-color: #f9f9f9;
    padding: 40px 0;
}

.global-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
}

.nav-list {
    flex-direction: column;
    gap: 10px;
}

.has-submenu {
    position: relative;
    width: 160px;
}

.has-submenu:hover .submenu {
    display: block;
}

.submenu {
    display: none;
    position: fixed;
    left: 200px;
    top: 0;
    width: 200px;
    height: 100vh;
    background-color: #8B0000;
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    z-index: 100;
    overflow-y: auto;
}

.submenu a {
    color: #fff;
    text-decoration: none;
}

.main-visual {
    position: relative;
}

.main-visual .logo-overlay {
    position: absolute;
    left: 50%;
    top: 22%;
    transform: translate(-50%, -50%);
    right: auto;
    bottom: auto;
    width: 400px;
    height: 100px;
    padding: 0;
    background: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-visual .logo-overlay img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.card-image2 {
    width: 260px;
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin: 0px auto 0px auto;
    padding: 0px;
}

.card-image2 img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* --- modern-style.cssの内容を統合 --- */
:root {
    --main-color: #8B0000;
    --accent-color: #D4AF37;
    --text-color: #333;
    --bg-color: #FFF;
    --shadow-color: rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", serif;
    color: var(--text-color);
    line-height: 1.7;
    min-height: 100vh;
    padding-left: 200px;
}

.container {
    max-width: none;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.main-visual {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.main-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    animation: zoomAnimation 20s ease-in-out infinite;
}

.shrine-name {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-family: 'AoyagiReisyosimo', 'YujiSyuku', serif;
    font-size: 3.5rem;
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: 0.1em;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), -2px 2px 8px rgba(0, 0, 0, 0.8), 2px -2px 8px rgba(0, 0, 0, 0.8), -2px -2px 8px rgba(0, 0, 0, 0.8);
    background: none;
    padding: 0;
    margin: 0;
    display: inline-block;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700 !important;
}

.shrine-name::before,
.shrine-name::after {
    color: #ffffff;
    opacity: 1;
}

/* 2カラムレイアウト */
.main-content-wrapper {
    width: 100%;
    background-color: #f9f9f9;
    padding: 40px 0;
    margin: 0 auto;
}

.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    width: 100%;
    max-width: 2000px;
    margin: 0 auto;
    align-items: start;
}

.sidebar {
    max-width: 320px;
    justify-self: end;
    width: 100%;
}

.main-content {
    width: 100%;
    max-width: none;
    margin: 0;
}

.sidebar-section {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
}

.sidebar-section .section-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    color: #8B0000;
    font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", serif;
}

.social-links {
    text-align: center;
}

.instagram-link img {
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.instagram-link:hover img {
    transform: translateY(-3px);
}

.sidebar .news-section {
    padding: 20px;
}

.sidebar .news-more {
    margin-top: 15px;
    text-align: right;
}

.sidebar .news-list {
    max-height: 400px;
}

.sidebar .news-item {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    display: block;
    grid-template-columns: none;
    gap: 5px;
}

.sidebar .news-date {
    display: block;
    margin-bottom: 5px;
    font-size: 0.85rem;
}

.sidebar .news-link {
    padding-left: 5px;
    font-size: 0.95rem;
}

/* カード・情報カード */
.info-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

.info-card {
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.card-image {
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.info-card:hover .card-image img {
    transform: scale(1.05);
}

.card-title {
    font-size: 1.2rem;
    margin: 20px 0 10px;
    padding: 0 20px;
    color: #8B0000;
    font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", serif;
}

.card-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #666;
    padding: 0 20px 20px;
}

.card-image2 {
    width: 260px;
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin: 0px auto 0px auto;
    padding: 0px;
}

.card-image2 img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    .two-column-layout {
        grid-template-columns: 1fr 300px;
        gap: 20px;
        max-width: 100%;
    }
    .sidebar {
        max-width: 100%;
    }
    .info-cards {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
}
@media (max-width: 768px) {
    .two-column-layout {
        grid-template-columns: 1fr;
    }
    .sidebar {
        max-width: 100%;
    }
    .info-cards {
        grid-template-columns: 1fr;
    }
}
/* --- ここまでmodern-style.css --- */

/* 既存のheader.cssの内容はこの下に続く（重複部分は上記を優先） */

/* フッター */
.site-footer {
    background: #f5f9f9;
    padding: 50px 0 30px;
    color: #333;
}
.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
    align-items: center;
    justify-content: space-between;
}
.footer-logo {
    flex: 0 0 100px;
    text-align: center;
    order: 2;
}
.footer-logo-image {
    max-width: 100%;
    height: auto;
}
.footer-info {
    flex: 1;
    min-width: 250px;
    order: 1;
}
.footer-info h3 {
    font-family: 'Kaisei Decol', serif;
    font-size: 1.4rem;
    margin: 0 0 15px;
    color: #8B0000;
}
.footer-info address {
    font-style: normal;
    line-height: 1.6;
}
.footer-info a {
    color: #8B0000;
    text-decoration: none;
}
.footer-info a:hover {
    text-decoration: underline;
}
.footer-nav {
    border-top: 1px solid #e0e0e0;
    padding-top: 20px;
    margin-bottom: 20px;
}
.footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.footer-nav a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-nav a:hover {
    color: #8B0000;
}
.copyright {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-logo {
        order: 1;
        margin-bottom: 20px;
    }
    .footer-info {
        order: 2;
    }
    .footer-nav ul {
        flex-direction: column;
        align-items: center;
    }
}
@media (max-width: 480px) {
    .footer-logo {
        margin-bottom: 20px;
    }
}

/* ABOUTセクション・見出し・ボタン */
.about-section {
    text-align: center;
    padding: 80px 0;
    max-width: 1200px;
    margin: 0 auto;
}
.about-section .en-title {
    font-size: 1rem;
    letter-spacing: 0.2em;
    color: #333;
    margin-bottom: 10px;
    font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", serif;
}
.about-section .jp-title {
    font-size: 2rem;
    margin-bottom: 40px;
    font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", serif;
    position: relative;
    display: inline-block;
}
.about-section .jp-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background-color: #8B0000;
}
.about-section .description {
    font-size: 1rem;
    line-height: 2;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 20px;
}
.button-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}
.japanese-ornament {
    display: inline-block;
    color: #8B0000;
    font-size: 1.2rem;
    margin: 0 10px;
    font-weight: bold;
}
.about-section .more-link {
    display: inline-block;
    background-color: #8B0000;
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 8px 25px;
    border-radius: 0;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid #730000;
    font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", serif;
    letter-spacing: 0.1em;
    margin: 0;
    box-shadow: none;
}
.about-section .more-link::before {
    content: none;
}
.about-section .more-link::after {
    content: none;
}
.about-section .more-link:hover {
    text-decoration: none;
    background-color: #730000;
    color: #fff;
}
@media (max-width: 768px) {
    .about-section .more-link {
        font-size: 0.9rem;
        padding: 10px 25px;
    }
}

/* info-section・section-header・en-title・jp-title */
.info-section {
    padding: 40px 0;
    margin: 0 0 40px 0;
    position: relative;
}
.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.info-section .en-title {
    font-size: 1rem;
    letter-spacing: 0.2em;
    color: #333;
    margin-bottom: 10px;
    font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", serif;
}
.info-section .jp-title {
    font-size: 2rem;
    margin-bottom: 40px;
    font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", serif;
    position: relative;
    display: inline-block;
}
.info-section .jp-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background-color: #8B0000;
}

.news-section {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;
}
.news-list {
    margin-top: 20px;
    max-height: 600px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #8B0000 #f5f5f5;
    scroll-behavior: smooth;
}
.news-list::-webkit-scrollbar {
    width: 8px;
}
.news-list::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 4px;
}
.news-list::-webkit-scrollbar-thumb {
    background: #8B0000;
    border-radius: 4px;
}
.news-list::-webkit-scrollbar-thumb:hover {
    background: #660000;
}
.news-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 20px;
    align-items: baseline;
}
.news-item:last-child {
    border-bottom: none;
}
.news-item:hover {
    background: rgba(139, 0, 0, 0.03);
}
.news-date {
    color: #666;
    font-size: 0.9rem;
    white-space: nowrap;
}
.news-link {
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}
.news-link:hover {
    color: #8B0000;
}
.pdf-icon {
    width: 16px;
    height: 16px;
    background: url('../img/pdf_icon.jpg') no-repeat center/contain;
    display: inline-block;
}
.news-more {
    margin-top: 30px;
    text-align: right;
}
.more-link {
    color: #8B0000;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.more-link::after {
    content: '›';
    font-size: 1.2em;
}
.more-link:hover {
    text-decoration: underline;
}


@font-face {
    font-family: 'AoyagiReisyosimo';
    src: url('../font/aoyagireisyosimo_ttf_2_01.ttf') format('truetype');
    font-display: swap;
}

body .page-header .page-title,
body .page-title {
  font-weight: 700 !important;
}
body .page-header .breadcrumb,
body .breadcrumb {
  font-weight: 700 !important;
}

.global-nav, .global-nav a {
  font-weight: 700;
}

/* PC表示用（デフォルト） */
.main-visual-pc {
    display: block;
}
.main-visual-sp {
    display: none;
}

/* レスポンシブ表示用（1024px以下） */
@media (max-width: 1024px) {
    .main-visual-pc {
        display: none;
    }
    .main-visual-sp {
        display: block;
        background-image: url('../img/top_sf.png');
        background-size: cover;
        background-position: center;
        width: 100vw;
        height: 700px;
        margin-top: 50px;
        position: relative;
    }
    .main-visual-sp .shrine-name {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: #fff;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
        font-size: 3rem;
        text-align: center;
        width: 100%;
    }
}

/* 公式サイトでのお申し込みカード */
.apply-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  max-width: 700px;
  margin: 0 auto 30px auto;
  overflow: hidden;
  font-family: inherit;
}
.apply-card-header {
  background: #1856a7;
  color: #fff;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 14px 20px;
  letter-spacing: 0.05em;
}
.apply-card-body {
  padding: 18px 32px 16px 32px;
}
.apply-card-row {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  gap: 16px;
  flex-wrap: wrap;
}
.apply-card-label.arrow {
  background: #bdbdbd;
  color: #fff;
  font-weight: bold;
  padding: 7px 18px 7px 12px;
  border-radius: 20px 0 0 20px;
  position: relative;
  min-width: 120px;
  font-size: 1rem;
}
.apply-card-label.arrow::after {
  content: '';
  display: inline-block;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 18px solid #bdbdbd;
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
}
.apply-card-qr {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  background: #eee;
  flex-shrink: 0;
}
.apply-card-url {
  background: #f5f5f5;
  border-radius: 4px;
  padding: 7px 14px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #1856a7;
  word-break: break-all;
  overflow-wrap: break-word;
  min-width: 160px;
  flex: 1;
}
.apply-card-url a {
  color: #1856a7;
  text-decoration: none;
}
.apply-card-keyword {
  background: #f5f5f5;
  border-radius: 4px 0 0 4px;
  padding: 7px 18px;
  font-size: 1rem;
  color: #333;
  font-weight: bold;
  min-width: 120px;
  flex: 1;
}
.apply-card-btn {
  background: #ffa726;
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 0 4px 4px 0;
  padding: 7px 22px;
  font-size: 1rem;
  cursor: pointer;
  margin-left: 0;
  transition: background 0.2s;
}
.apply-card-btn:hover {
  background: #ff9800;
}

@media (max-width: 600px) {
  .apply-card-row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .apply-card-label.arrow {
    min-width: 0;
    width: 100%;
  }
  .apply-card-url,
  .apply-card-keyword {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    margin-left: 0;
    margin-right: 0;
    display: block;
  }
  .apply-card-qr {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}