/* Cemetery Single Post Styles */

.cemetery-single-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff91;
}

/* 投稿タイトル */
.cemetery-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 0;
    position: relative;
    overflow: hidden;
}

.cemetery-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #009f2d 0%, #528900 100%);
}

.cemetery-title {
    font-size: clamp(8px, 2.5vw, 32px);
    font-weight: bold;
    color: #333;
    margin: 0;
    padding: 0 20px;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    white-space: normal;
    word-wrap: break-word;
}

/* 写真スライダー */
.cemetery-photos {
    margin-bottom: 40px;
}

.cemetery-slider {
    position: relative;
}

/* メインスライダー */
.cemetery-swiper {
    width: 100%;
    height: 500px;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cemetery-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
}

.slide-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

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

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

/* ナビゲーションボタン */
.cemetery-swiper .swiper-button-next,
.cemetery-swiper .swiper-button-prev {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    transition: all 0.3s ease;
}

.cemetery-swiper .swiper-button-next:hover,
.cemetery-swiper .swiper-button-prev:hover {
    background-color: rgba(0, 124, 186, 0.8);
    transform: scale(1.1);
}

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

/* ページネーション */
.cemetery-swiper .swiper-pagination {
    bottom: 20px;
}

.cemetery-swiper .swiper-pagination-bullet {
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid #fff;
    width: 12px;
    height: 12px;
    margin: 0 4px;
    transition: all 0.3s ease;
}

.cemetery-swiper .swiper-pagination-bullet-active {
    background-color: #007cba;
    border-color: #007cba;
    transform: scale(1.2);
}

/* サムネイルスライダー */
.cemetery-thumbs {
    height: 80px;
    width: 100%;
}

.cemetery-thumbs .swiper-slide {
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    border-radius: 6px;
    overflow: hidden;
}

.cemetery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border: 2px solid #007cba;
}

.thumb-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.thumb-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cemetery-thumbs .swiper-slide:hover {
    opacity: 1;
}

/* 紹介文 */
.cemetery-intro {
    margin-bottom: 40px;
    text-align: center;
}

.intro-content {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

/* PC版用テキスト表示 */
.intro-text-pc {
    display: block;
}

.intro-text-sp {
    display: none;
}

/* セクションタイトル */
.section-title {
    font-size: clamp(8px, 2vw, 28px);
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
    padding-bottom: 10px;
    position: relative;
    white-space: normal;
    word-wrap: break-word;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: #528900;
}

/* 特徴セクション */
.cemetery-features-section {
    margin-bottom: 50px;
}

.feature-elements{
    padding: 0% 2em;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 25px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
    text-align: center;
}

.feature-image {
    flex-shrink: 0;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.feature-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.feature-text {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

/* 特徴要素 */
.elements-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.elements-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.element-item {
    background-color: #528900;
    color: #fff;
    padding: 8px 15px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: bold;
}

/* 価格表 */
.cemetery-pricing {
    margin-bottom: 50px;
}

/* 区画図セクション */
.diagram-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.diagram-image {
    margin-bottom: 10px;
    max-width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.diagram-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.diagram-image:hover img {
    transform: scale(1.02);
}

.pricing-table {
    margin-bottom: 30px;
    overflow-x: auto;
}

.pricing-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.pricing-table th {
    background-color: #528900;
    color: white;
    padding: 15px;
    font-weight: bold;
    text-align: left;
    border-right: 1px solid #3d6600;
    white-space: nowrap;
    min-width: 120px;
}

.pricing-table th:last-child {
    border-right: none;
}

.pricing-table td {
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    white-space: nowrap;
    min-width: 120px;
}

.pricing-table td:last-child {
    border-right: none;
}

.pricing-table tbody tr:hover {
    background-color: #f8f9fa;
}

.management-period,
.pricing-notes {
    background-color: #fff;
    padding: 0;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
}

.management-period table,
.pricing-notes table {
    width: 100%;
    border-collapse: collapse;
}

.management-period th,
.pricing-notes th {
    background-color: #528900;
    color: white;
    padding: 15px;
    font-weight: bold;
    text-align: left;
    width: 150px;
    border-right: 1px solid #3d6600;
    border-bottom: 1px solid #3d6600;
}

.management-period td,
.pricing-notes td {
    padding: 15px;
    background-color: #fff;
    line-height: 1.6;
    color: #333;
    border-bottom: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
}

.management-period tr:last-child th,
.management-period tr:last-child td,
.pricing-notes tr:last-child th,
.pricing-notes tr:last-child td {
    border-bottom: none;
}

.management-period h3,
.pricing-notes h3 {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.management-period p,
.pricing-notes p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* 基本情報 */
.cemetery-basic-info {
    margin-bottom: 50px;
}

.basic-info-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.basic-info-table th {
    background-color: #f8f9fa;
    color: #333;
    padding: 10px;
    font-weight: bold;
    width: 150px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.basic-info-table td {
    padding: 10px;
    border-bottom: 1px solid #e0e0e0;
    white-space: nowrap;
    font-size: clamp(10px, 1.5vw, 16px);
}

.facility-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.facility-list li {
    background-color: #e8f4f8;
    color: #007cba;
    padding: 5px 12px;
    border-radius: 10px;
    font-size: 13px;
    border: 1px solid #d0e7ff;
}

/* アクセスセクション */
.cemetery-access {
    margin-bottom: 50px;
}

.access-method {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.access-method:last-child {
    margin-bottom: 0;
}

.access-method-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.access-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.access-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

.access-list li:last-child {
    margin-bottom: 0;
}

.access-list li::before {
    content: '▶';
    position: absolute;
    left: 0;
    top: 0;
    color: #007cba;
    font-size: 12px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .cemetery-single-container {
        padding: 15px;
    }
    
    /* タイトルのモバイル対応 */
    .cemetery-header {
        margin-bottom: 30px;
        padding: 20px 0;
    }
    
    .cemetery-title {
        font-size: clamp(18px, 4vw, 26px); /* 画面幅に応じて調整 */
        padding: 0 15px;
    }
    
    /* スライダーのモバイル対応 */
    .cemetery-swiper {
        height: 300px;
        margin-bottom: 15px;
    }
    
    .cemetery-thumbs {
        height: 60px;
    }
    
    .cemetery-swiper .swiper-button-next,
    .cemetery-swiper .swiper-button-prev {
        width: 35px;
        height: 35px;
        margin-top: -17.5px;
    }
    
    .cemetery-swiper .swiper-button-next::after,
    .cemetery-swiper .swiper-button-prev::after {
        font-size: 14px;
    }
    
    .cemetery-swiper .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        margin: 0 2px;
    }
    
    /* 紹介文のモバイル対応 */
    .intro-content {
        font-size: 16px; /* 変更なし（既に適切） */
    }
    
    /* 区画図のモバイル対応 */ 
    .diagram-title {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    /* 特徴セクションのモバイル対応 */
    .features-list {
        grid-template-columns: 1fr;
    }
    
    .feature-item {
        flex-direction: row;
        gap: 15px;
        text-align: left;
    }
    .feature-elements{
        padding: 0%;
    }
    
    .feature-image {
        width: 130px;
        max-width: none;
        margin: 0;
    }
    
    .feature-image img {
        height: 120px;
    }
    
    .feature-title {
        font-size: 18px; /* 変更なし（既に適切） */
    }
    
    .feature-text {
        font-size: 15px; /* 14px → 15px */
    }
    
    .section-title {
        font-size: clamp(20px, 4.5vw, 28px); /* さらに大きなサイズに調整 */
    }
    
    .basic-info-table th {
        width: 120px;
        font-size: 15px; /* 14px → 15px */
    }
    
    .basic-info-table td {
        font-size: 15px; /* clampを上書き */
    }
    
    .pricing-table {
        font-size: 15px; /* 14px → 15px */
    }
    
    .pricing-table th,
    .pricing-table td {
        padding: 10px 8px;
    }
    
    .management-period th,
    .pricing-notes th {
        font-size: 15px; /* 新規追加 */
    }
    
    .management-period td,
    .pricing-notes td {
        font-size: 15px; /* 新規追加 */
    }
    
    .access-intro iframe {
        height: 300px;
    }
    
    .access-intro p {
        font-size: 16px; /* 変更なし（既に適切） */
    }
    
    .access-method {
        padding: 20px;
    }
    
    .access-method-title {
        font-size: 19px; /* 18px → 19px */
    }
    
    .access-list li {
        font-size: 16px; /* 15px → 16px */
    }
    
    .facility-list li {
        font-size: 13px; /* 変更なし（既に適切） */
    }
    
    .element-item {
        font-size: 14px; /* 変更なし（既に適切） */
    }
}

@media (max-width: 480px) {
    /* タイトルの極小スクリーン対応 */
    .cemetery-header {
        margin-bottom: 25px;
        padding: 15px 0;
    }
    
    .cemetery-title {
        font-size: clamp(16px, 5vw, 22px); /* 画面幅に応じて調整 */
        padding: 0 10px;
    }
    
    /* 極小スクリーン対応 */
    .cemetery-swiper {
        height: 250px;
    }
    
    .cemetery-thumbs {
        height: 50px;
    }
    
    .cemetery-swiper .swiper-button-next,
    .cemetery-swiper .swiper-button-prev {
        width: 30px;
        height: 30px;
        margin-top: -15px;
    }
    
    .cemetery-swiper .swiper-button-next::after,
    .cemetery-swiper .swiper-button-prev::after {
        font-size: 12px;
    }
    
    .section-title {
        font-size: clamp(18px, 5.5vw, 26px); /* さらに大きなサイズに調整 */
    }

    .section-title::after{
        height: 3px;
    }
    
    /* 区画図の極小スクリーン対応 */
    .diagram-title {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .feature-title {
        font-size: 16px; /* 14px → 16px */
    }
    .feature-text{
        font-size: 15px; /* 12px → 14px */
    }
    
    .intro-content {
        font-size: 16px; /* 14px → 16px */
    }
    
    /* SP版用テキスト表示に切り替え */
    .intro-text-pc {
        display: none;
    }
    
    .intro-text-sp {
        display: block;
    }
    
    .pricing-table th,
    .pricing-table td {
        padding: 8px 6px;
        font-size: 14px; /* 12px → 14px */
    }

    .facility-list li {
        padding: 2px 8px;
        font-size: 12px; /* 10px → 12px */
    }

    .management-period th,
    .pricing-notes th{
        font-size: clamp(12px, 3.8vw, 14px); /* フォントサイズを大きく */
        white-space: nowrap; /* 改行を防ぐ */
        width: 80px; /* 幅をさらに狭く */
        padding: 15px; /* パディング維持 */
    }
    
    .management-period td,
    .pricing-notes td {
        font-size: clamp(13px, 3.8vw, 14px); /* 内容のフォントサイズも大きく */
        padding: 15px; /* パディング維持 */
    }
    
    .access-method {
        padding: 15px;
    }
    
    .access-method-title {
        font-size: 18px; /* 16px → 18px */
    }
    
    .access-list li {
        font-size: 15px; /* 新規追加（768pxブレークポイントでの16pxから調整） */
    }
    
    .element-item {
        font-size: 13px; /* 11px → 13px */
        padding: 6px 10px;
    }
}

/*LPのリンクボタンの装飾*/
.lp-button-wrapper {
    margin: 20px 0;
    text-align: center; /* ボタンを画面中央に配置 */
}

.lp-button {
    display: inline-block;
    width: 50%; /* 画面幅の35% */
    padding: 12px 24px;
    background-color: #539156; /* 深緑色 */
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    text-align: center; /* ボタン内のテキストを中央揃え */
    box-sizing: border-box; /* paddingを含めたサイズ計算 */
}

.lp-button:hover {
    background-color: #1B5E20; /* ホバー時はより暗い深緑色 */
    color: #ffffff;
}
@media (max-width: 960px){
    .lp-button{
        width: 80%;
    }
}intro {
    margin-bottom: 30px;
}

.access-intro p {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    margin: 0;
}

.access-intro iframe {
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

