/* 霊園投稿ページ専用CSS - 落ち着いた青と緑をベースとした配色 */

/* カラーパレット */
:root {
    --primary-blue: #2c5282;
    --secondary-blue: #3182ce;
    --light-blue: #e6f3ff;
    --primary-green: #2f855a;
    --secondary-green: #38a169;
    --light-green: #f0fff4;
    --dark-gray: #2d3748;
    --gray: #718096;
    --light-gray: #f7fafc;
    --border-color: #e2e8f0;
    --white: #ffffff;
}

/* 基本設定 */
.cemetery-post {
    line-height: 1.6;
    color: var(--dark-gray);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* キャッチコピーセクション */
.intro-catch {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--primary-blue);
    margin: 0;
    position: relative;
}

.intro-catch::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
    margin: 20px auto 0;
    border-radius: 2px;
}

/* 写真スライダーセクション */
.photo-gallery {
    padding: 60px 0;
    overflow: hidden; /* はみ出し部分をカット */
}

.photo-slider-wrapper {
    position: relative;
    margin-top: 30px;
    overflow: hidden; /* はみ出し部分をカット */
}

.photo-swiper {
    position: relative;
    overflow: visible; /* スライダー本体は表示を許可 */
    border-radius: 12px;
    padding: 0 20px; /* 両端に余白を追加 */
}

.photo-item {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(44, 82, 130, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    opacity: 0.7; /* 非アクティブスライドを薄く */
}

/* 中央のアクティブスライド */
.photo-swiper .swiper-slide-active .photo-item {
    opacity: 1; /* 中央は完全に表示 */
    transform: scale(1.15); /* 中央を1.15倍に拡大 */
}

/* サイドのスライド */
.photo-swiper .swiper-slide-prev .photo-item,
.photo-swiper .swiper-slide-next .photo-item {
    opacity: 0.5; /* サイドは半透明 */
    transform: scale(0.8); /* サイドをより小さく */
}

.photo-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 40px rgba(44, 82, 130, 0.25);
}

/* ホバー時：サイド画像のみエフェクトを適用 */
.photo-swiper .swiper-slide-active .photo-item:hover {
    transform: scale(1.15); /* 中央画像はホバーしても拡大率変更なし */
    box-shadow: 0 8px 32px rgba(44, 82, 130, 0.15); /* シャドウも元のまま */
}

.photo-swiper .swiper-slide:not(.swiper-slide-active) .photo-item:hover {
    transform: translateY(-3px) scale(0.82); /* サイド画像のホバーは控えめ */
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-item:hover img {
    transform: scale(1.05);
}

/* Swiperのカスタマイズ */
.photo-swiper .swiper-pagination {
    bottom: 20px;
}

.photo-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--white);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.photo-swiper .swiper-pagination-bullet-active {
    background: var(--primary-green);
    opacity: 1;
    transform: scale(1.2);
}

.photo-swiper .swiper-button-next,
.photo-swiper .swiper-button-prev {
    color: var(--white);
    background: rgba(44, 82, 130, 0.8);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-top: -25px;
    transition: all 0.3s ease;
}

.photo-swiper .swiper-button-next:hover,
.photo-swiper .swiper-button-prev:hover {
    background: var(--primary-blue);
    transform: scale(1.1);
}

.photo-swiper .swiper-button-next::after,
.photo-swiper .swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
}

/* イントロセクション */
.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--gray);
}

/* PC版のみ表示 */
.intro-text-pc {
    display: block;
}

/* SP版は非表示 */
.intro-text-sp {
    display: none;
}

/* 特徴要素 */
.feature-elements {
    margin-top: 60px;
}

.feature-elements h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 30px;
}

.feature-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.feature-badge {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: var(--white);
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(47, 133, 90, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(47, 133, 90, 0.4);
}

/* 価格表セクション - 確実な横スクロール設定 */
.price-section {
    padding: 80px 0;
    overflow-x: visible !important;
}

.price-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: visible !important;
}

.price-section h2 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: 60px;
    position: relative;
}

.price-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-green);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* 価格表ラッパー - 確実なスクロール設定 */
.price-section .price-table-wrapper {
    margin-bottom: 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    overflow: visible !important;
    width: 100% !important;
    max-width: none !important;
}

/* 価格表コンテナ - 横スクロール機能 */
.price-section .price-table-container {
    overflow-x: auto !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: touch !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 0 0 12px 12px;
    position: relative !important;
}

/* スクロールバーのスタイリング */
.price-section .price-table-container::-webkit-scrollbar {
    height: 12px;
    background: var(--light-gray);
}

.price-section .price-table-container::-webkit-scrollbar-track {
    background: var(--light-blue);
    border-radius: 6px;
}

.price-section .price-table-container::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 6px;
    min-width: 40px;
}

.price-section .price-table-container::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-blue);
}

/* 価格表本体 - 確実な幅とレイアウト */
.price-section .price-table {
    width: 100% !important;
    min-width: 1000px !important;
    max-width: none !important;
    border-collapse: collapse !important;
    font-size: 0.95rem;
    table-layout: auto !important;
    margin: 0 !important;
    display: table !important;
}

/* 価格表ヘッダー */
.price-section .price-table thead th {
    background: var(--light-blue) !important;
    color: var(--primary-blue) !important;
    font-weight: 600 !important;
    padding: 18px 20px !important;
    text-align: center !important;
    border-bottom: 2px solid var(--primary-blue) !important;
    font-size: 0.9rem !important;
    white-space: nowrap !important;
    min-width: 120px !important;
    overflow: visible !important;
    word-break: keep-all !important;
    text-overflow: none !important;
}

.price-section .price-table thead th:first-child {
    text-align: left !important;
    min-width: 200px !important;
}

/* 価格表セル */
.price-section .price-table tbody td {
    padding: 18px 20px !important;
    text-align: center !important;
    border-bottom: 1px solid var(--border-color) !important;
    transition: background-color 0.3s ease;
    white-space: nowrap !important;
    min-width: 120px !important;
    overflow: visible !important;
    word-break: keep-all !important;
    text-overflow: none !important;
}

.price-section .price-table tbody td:first-child {
    font-weight: 600 !important;
    color: var(--primary-blue) !important;
    text-align: left !important;
    min-width: 200px !important;
}

.price-section .price-table tbody tr:hover {
    background: var(--light-green);
}

.price-section .price-table tbody tr:nth-child(even) {
    background: #fafafa;
}

.price-section .price-table tbody tr:nth-child(even):hover {
    background: var(--light-green);
}

/* 価格表タイトル */
.price-section .price-table-wrapper h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    padding: 20px 30px;
    margin: 0;
}

/* 価格表補足情報の汎用スタイル */
.price-table-supplement {
    padding: 1.5rem;
    background:  #f8fafc;
    margin-bottom: 50px;
}

.price-table-supplement h4 {
    margin: 0 0 1rem 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #2d3748;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-table-supplement .supplement-content {
    color: #4a5568;
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
}

.price-table-supplement .supplement-content p {
    margin: 0 0 0.75rem 0;
}

.price-table-supplement .supplement-content p:last-child {
    margin-bottom: 0;
}

/* 既存の全体価格表補足情報も統一 */
.price-supplement {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #fefefe 0%, #f7fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    border-left: 4px solid #48bb78;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.price-supplement::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #48bb78 0%, #68d391 50%, #48bb78 100%);
}

.price-supplement h4 {
    margin: 0 0 1rem 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #2d3748;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-supplement h4::before {
    content: "📋";
    font-size: 1.25rem;
}

.price-supplement p {
    color: #4a5568;
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
}

/* 価格表ラッパー内の間隔調整 */
.price-table-wrapper .price-table-supplement {
    margin-top: 1rem;
    margin-bottom: 0;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .price-table-supplement,
    .price-supplement {
        margin-top: 1.5rem;
        padding: 1rem;
        border-radius: 8px;
    }
    
    .price-table-wrapper .price-table-supplement {
        margin-top: 0.75rem;
    }
    
    .price-table-supplement h4,
    .price-supplement h4 {
        font-size: 1rem;
        gap: 0.375rem;
    }
    
    .price-table-supplement .supplement-content,
    .price-supplement p {
        font-size: 0.875rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .price-table-supplement,
    .price-supplement {
        margin-top: 1rem;
        padding: 0.875rem;
        border-radius: 6px;
        border-left-width: 3px;
    }
    
    .price-table-wrapper .price-table-supplement {
        margin-top: 0.5rem;
    }
    
    .price-table-supplement h4,
    .price-supplement h4 {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }
    
    .price-table-supplement .supplement-content,
    .price-supplement p {
        font-size: 0.8rem;
    }
    
    .price-table-supplement .supplement-content p {
        margin-bottom: 0.5rem;
    }
}

/* 価格表補足情報 */
.price-supplement {
    margin-top: 40px;
    padding: 30px;
    background: var(--white);
    border-radius: 12px;
    border-left: 5px solid var(--primary-green);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.price-supplement h4 {
    color: var(--primary-green);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.price-supplement p {
    color: var(--gray);
    line-height: 1.7;
}

/* 霊園ページリンクボタン */
.cemetery-link-section {
    margin-top: 50px;
    text-align: center;
}

.cemetery-link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(44, 82, 130, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cemetery-link-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cemetery-link-button:hover::before {
    left: 100%;
}

.cemetery-link-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(44, 82, 130, 0.4);
    color: var(--white);
    text-decoration: none;
}

.cemetery-link-button .button-icon {
    margin-left: 10px;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.cemetery-link-button:hover .button-icon {
    transform: translateX(5px);
}

/* 施設・設備セクション */
.facility-section {
    padding: 80px 0;
}

.facility-section h2 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: 60px;
    position: relative;
}

.facility-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-green);
    margin: 15px auto 0;
    border-radius: 2px;
}

.facility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.facility-item {
    background: linear-gradient(135deg, var(--light-blue), var(--light-green));
    padding: 25px 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.facility-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
}

.facility-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(44, 82, 130, 0.15);
}

.facility-name {
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 1rem;
}

/* アクセスセクション */
.access-section {
    padding: 80px 0;
}

.access-section h2 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: 60px;
    position: relative;
}

.access-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-green);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* 2カラムレイアウト - 高さを合わせる */
.access-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch; /* 両側の高さを合わせる */
}

/* 左側：マップエリア */
.access-map-area {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.access-intro-text {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.7;
    padding: 40px 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    flex: 1; /* 親コンテナの高さに合わせる */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* アクセスセクション内のマップスタイル */
.access-map {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    flex: 1; /* 親コンテナの高さに合わせる */
    display: flex;
    align-items: stretch;
}

.access-map iframe {
    width: 100% !important;
    height: 100% !important; /* 親コンテナの高さに合わせる */
    min-height: 400px !important; /* 最小の高さを保証 */
    border: none !important;
    border-radius: 12px;
}

/* 右側：アクセス方法エリア */
.access-methods-area {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.access-methods {
    display: flex;
    flex-direction: column;
    gap: 30px;
    height: 100%; /* 親コンテナの高さに合わせる */
    justify-content: space-between; /* 均等に配置 */
}

.access-method {
    background: var(--white);
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--primary-green);
    flex: 1; /* 利用可能なスペースを均等に分割 */
    display: flex;
    flex-direction: column;
}

.access-method h3 {
    color: var(--primary-blue);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    flex-shrink: 0; /* 縮小を防ぐ */
}

.access-method ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1; /* 利用可能なスペースを占有 */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* 上揃え */
}

.access-method li {
    padding: 10px 0;
    color: var(--gray);
    line-height: 1.7;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 20px;
    font-size: 0.95rem;
}

.access-method li::before {
    content: '▶';
    color: var(--primary-green);
    position: absolute;
    left: 0;
    top: 10px;
    font-size: 0.7rem;
}

.access-method li:last-child {
    border-bottom: none;
    flex: 1; /* 最後のリストアイテムが残りスペースを占有 */
    min-height: 50px; /* 最小の高さを保証 */
}

/* 基本情報セクション */
.basic-info-section {
    padding: 80px 0;
}

.basic-info-section h2 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: 60px;
    position: relative;
}

.basic-info-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-green);
    margin: 15px auto 0;
    border-radius: 2px;
}

.basic-info-table-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.basic-info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
}

.basic-info-table tbody th {
    background: var(--light-blue);
    color: var(--primary-blue);
    font-weight: 600;
    padding: 25px 30px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 1rem;
    width: 30%;
    vertical-align: top;
}

.basic-info-table tbody td {
    padding: 25px 30px;
    color: var(--gray);
    border-bottom: 1px solid var(--border-color);
    line-height: 1.7;
    vertical-align: top;
}

.basic-info-table tbody tr:last-child th,
.basic-info-table tbody tr:last-child td {
    border-bottom: none;
}

.basic-info-table tbody tr:hover {
    background: var(--light-green);
}

/* マップコンテナのスタイリング */
.map-container {
    width: 100%;
    border-radius: 8px;
}

.map-container iframe {
    width: 100% !important;
    height: 300px !important;
    border: none !important;
    border-radius: 8px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .map-container iframe {
        height: 250px !important;
    }
    
    .access-map iframe {
        height: 300px !important;
    }
}

@media (max-width: 480px) {
    h2{
        font-size: 1.3rem !important;
    }
    .map-container iframe {
        height: 200px !important;
    }
    
    .access-map iframe {
        height: 250px !important;
        min-height: 250px !important;
    }
    
    /* スマートフォンでは縦並びレイアウト */
    .access-content {
        grid-template-columns: 1fr;
        gap: 30px;
        align-items: normal; /* モバイルでは高さ合わせを無効化 */
    }
    
    .access-method {
        padding: 25px 20px;
        flex: none; /* モバイルでは固定サイズ */
    }
    
    .access-method h3 {
        font-size: 1.1rem;
    }
    
    .access-methods {
        height: auto; /* モバイルでは自動高さ */
        justify-content: flex-start; /* 上揃え */
    }
    
    .access-method li:last-child {
        flex: none; /* モバイルでは伸縮無効 */
        min-height: auto; /* 最小高さリセット */
    }
}

/* レスポンシブデザイン */
/* デスクトップ（769px以上）での表示確認 */
@media (min-width: 769px) {
    /* PC版テキストを確実に表示 */
    .intro-text-pc {
        display: block !important;
    }
    
    /* SP版テキストを確実に非表示 */
    .intro-text-sp {
        display: none !important;
    }
}

/* タブレット・スマートフォン（768px以下）での表示切り替え */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .intro-catch {
        font-size: 2rem;
    }
    
    /* PC版テキストを非表示 */
    .intro-text-pc {
        display: none !important;
    }
    
    /* SP版テキストを表示 */
    .intro-text-sp {
        display: block !important;
    }
    
    .photo-swiper .swiper-button-next,
    .photo-swiper .swiper-button-prev {
        width: 40px;
        height: 40px;
        margin-top: -20px;
    }
    
    .photo-swiper .swiper-button-next::after,
    .photo-swiper .swiper-button-prev::after {
        font-size: 14px;
    }
    
    .photo-item {
        height: 300px;
    }
    
    .facility-grid {
        grid-template-columns: 1fr;
    }
    
    .access-methods {
        grid-template-columns: 1fr;
    }
    
    /* タブレットでは縦並びに変更 */
    .access-content {
        grid-template-columns: 1fr;
        gap: 40px;
        align-items: normal; /* モバイルでは高さ合わせを無効化 */
    }
    
    .access-map iframe {
        height: 300px !important;
        min-height: 300px !important;
    }
    
    .access-methods {
        height: auto; /* モバイルでは自動高さ */
        justify-content: flex-start; /* 上揃え */
    }
    
    .access-method {
        flex: none; /* モバイルでは固定サイズ */
    }
    
    .basic-info-table tbody th,
    .basic-info-table tbody td {
        padding: 18px 20px;
    }
    
    .feature-badges {
        justify-content: center;
    }
    
    .feature-badge {
        font-size: 0.85rem;
        padding: 10px 20px;
    }
    
    .cemetery-link-button {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    /* 価格表のモバイル対応 */
    .price-section .price-table-wrapper h3{
        font-size: 1rem;
    }
    
    .price-section .price-table {
        min-width: 800px !important;
        font-size: 0.85rem;
    }
    
    .price-section .price-table thead th,
    .price-section .price-table tbody td {
        padding: 15px 15px !important;
        min-width: 100px !important;
    }
    
    .price-section .price-table thead th:first-child,
    .price-section .price-table tbody td:first-child {
        min-width: 180px !important;
    }
}

/* スマートフォン（480px以下）での追加調整 */
@media (max-width: 480px) {
    .intro-catch {
        font-size: 1.7rem;
    }
    
    .price-section,
    .facility-section,
    .access-section,
    .basic-info-section {
        padding: 40px 0;
    }
    
    .photo-gallery {
        padding: 40px 0;
    }
    
    .price-table-wrapper h3,
    .access-method,
    .price-supplement{
        padding: 20px;
    }
    
    .basic-info-table tbody th,
    .basic-info-table tbody td {
        padding: 15px;
        font-size: 0.9rem;
    }
    
    .basic-info-table tbody th {
        width: 35%;
    }
    
    .cemetery-link-button {
        padding: 14px 25px;
        font-size: 0.95rem;
    }
    
    /* スマートフォンでの価格表調整 */
    .price-section .price-table {
        min-width: 700px !important;
        font-size: 0.8rem;
    }
    
    .price-section .price-table thead th,
    .price-section .price-table tbody td {
        padding: 12px 12px !important;
        min-width: 90px !important;
    }
    
    .price-section .price-table thead th:first-child,
    .price-section .price-table tbody td:first-child {
        min-width: 160px !important;
    }
}

/* 印刷用スタイル */
@media print {
    .cemetery-post {
        color: #000;
    }
    
    .photo-item:hover,
    .facility-item:hover,
    .feature-badge:hover {
        transform: none;
        box-shadow: none;
    }
    
    .price-table tbody tr:hover {
        background: transparent;
    }
}