/* 霊園詳細ページのスタイル */

/* .content-area{
    background-color: #fff;
} */

@media (min-width: 768px) {
    .example-price-info {
        display: flex;
        flex-direction: row;
        align-items: center;
        margin: 2rem;
        justify-content: center;
    }

    .price-other {
        height: 40px;
        display: flex;
        align-items: flex-end;
        font-weight: bold;
    }
}

@media (max-width: 768px) {
    .example-price-info {
        display: flex;
        flex-direction: row;
        align-items: center;
    }
}

.cemetery-single {
    padding: 2rem 0;
}

.entry-header {
    margin-bottom: 2rem;
}

.entry-title {
    font-size: 2rem;
    color: #333;
    margin: 0;
    padding-bottom: 1rem;
    border-bottom: 3px solid #4F7942;
}

.cemetery-main-image {
    margin-bottom: 3rem;
}

.cemetery-main-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* 共通のセクションスタイル */
.cemetery-basic-info,
.cemetery-price-info,
.cemetery-feature,
.cemetery-facilities-info,
.cemetery-intro,
.cemetery-example-prices,
.cemetery-access {
    margin-bottom: 4rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

.info-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1rem;
}

.info-label {
    font-weight: bold;
    color: #666;
}

/* 価格情報テーブル */
.price-table {
    overflow-x: auto;
    margin-bottom: 1rem;
}

.price-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.price-table th,
.price-table td {
    padding: 1rem;
    border: 1px solid #ddd;
    text-align: center;
}

.price-table th {
    background: #4F7942;
    color: #fff;
}

.sold-out-row td {
    position: relative;
}

.sold-out-row td::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 3px;
    background-color: #444;
    opacity: 0.8;
}
.sold-out-label {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 6px;
    font-size: 12px;
    color: #fff;
    background-color: #ff4444;
    border-radius: 3px;
    position: relative;
    z-index: 1;
}

/* 共通の見出しスタイル */
.cemetery-basic-info h2,
.cemetery-price-info h2,
.cemetery-feature h2,
.cemetery-access h2,
.cemetery-example-prices h2,
.cemetery-facilities-info h2,
.cemetery-faq h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #4F7942;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #4F7942;
    font-weight: bold;
}
.cemetery-intro h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #4F7942;
    padding-bottom: 0.5rem;
    font-weight: bold;
}
/* 特徴アイテムのスタイル */
.cemetery-feature .feature-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;    
}

.feature-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    height: 100%;
    padding:2rem;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-title {
    font-size: 1.2rem;
    color: #4F7942;
    margin-bottom: 1rem;
    font-weight: bold;
    text-align: center;
}

.feature-text {
    line-height: 1.8;
}
.feature-number {
    margin-right: 8px;
    font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", sans-serif;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .cemetery-feature .feature-items {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 768px) {
    .cemetery-feature .feature-items {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }

    .feature-item {
        padding: 1rem;
    }

    .feature-title {
        font-size: 1.1rem;
        margin-bottom: 0;
    }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .cemetery-basic-info,
    .cemetery-price-info,
    .cemetery-feature,
    .cemetery-facilities-info,
    .cemetery-intro,
    .cemetery-example-prices,
    .cemetery-access,
    .cemetery-faq {
        margin-bottom: 3rem;
    }

    .cemetery-basic-info h2,
    .cemetery-price-info h2,
    .cemetery-access h2,
    .cemetery-example-prices h2,
    .cemetery-intro h2,
    .cemetery-feature h2,
    .cemetery-facilities-info h2,
    .cemetery-example-prices h2,
    .cemetery-intro h2,
    .cemetery-price-info h2,
    .cemetery-access h2,
    .example-prices-title,
    .cemetery-faq h2 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    .contact-button-wrapper {
        margin: 3rem 0;
    }
} 

/* キャッチコピーと紹介文 */
.cemetery-intro {
    text-align: center;
}

/* .catch-copy {
    font-size: 1.8rem;
    color: #006400;
    margin-bottom: 1.5rem;
    line-height: 1.4;
} */

.intro-text {
    line-height: 1.8;
    text-align: center;
}

@media (max-width: 768px) {
    .catch-copy {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
}

/* 写真ギャラリー */
.cemetery-gallery {
    margin-bottom: 3rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.gallery-item {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 8px;
}

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

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

/* 参考価格 */
.cemetery-example-prices {
    /* margin: 4rem 0; を削除 */
}

/* .example-price-grid {
    display: flex;
    margin: 0 auto;
    max-width: 1200px;
    flex-direction: column;
} */

/* .example-price-item {
    display: flex;
    flex-direction: column;
} */

/* .example-price-header {
    background: #006400;
    padding: 0.4rem;
    color: #fff;
    text-align: center;
} */

.size-type {
    font-size: 1.6rem;
    font-weight: normal;
}

/* コンテンツ横並びにするためのフレックスボックス */
/* .example-price-content-wrapper {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
} */

/* 左側のコンテンツエリア */


/* 右側の画像エリア */
.example-price-image {
    flex: 0 0 45%;
    margin: 0;
}

.example-price-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

.set-title {
    font-size: 1.5rem;
    font-weight: normal;
    background-color: #4F7942;
    padding: 1rem;
    width: 25%;
    text-align: center;
    margin-right: 2rem;
    color: #fff;
}

.included-items {
    font-size: 0.9rem;
    color: #333;
    line-height: 1.6;
}

.black-dot {
    color: #000;
    margin-right: 0.5rem;
}

.price-note {
    font-size: 0.8rem;
    color: #666;
    margin: 0.5rem 0;
}

.price-value {
    color: #B65C2E;
    font-size: 2.8rem;
    font-weight: bold;
    margin-right: 0.5rem;
}

.price-suffix {
    font-size: 1rem;
    color: #4F7942;
    margin-left: 0.3rem;
}

@media (max-width: 768px) {
    .example-prices-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .size-type {
        font-size: 1.4rem;
    }

    .set-title {
        font-size: 1rem;
        margin-right: 1rem;
        padding: 0.5rem;
    }

    .price-value {
        font-size: 2.5rem;
    }

    /* .example-price-content-wrapper {
        flex-direction: column;
        gap: 1.5rem;
    } */

    .example-price-image {
        flex: 0 0 auto;
        width: 100%;
    }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    /* .example-price-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    } */

    .price-value {
        font-size: 2rem;
    }
}

/* 価格表補足情報 */
.price-supplement {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #fff7f7;
    border-radius: 8px;
}

.price-supplement h3 {
    color: #e60012;
    margin-bottom: 1rem;
}

.supplement-content {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* アクセス情報セクションのスタイル更新 */
.cemetery-access {
    margin-bottom: 4rem;
}

/* アクセス詳細情報のレイアウトを変更 */
.access-details-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: start;
}

/* Google Mapエリア */
.access-map {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 8px;
    overflow: hidden;
}

.access-map-content {
    width: 100%;
    height: 100%;
}

.access-map-content iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 8px;
}

/* アクセス方法の詳細情報 */
.access-methods {
    display: flex;
    flex-direction: column;
}

.access-by-car,
.access-by-transit {
    padding: 1rem;
    border-radius: 8px;
}

.access-details h3 {
    color: #4F7942;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #4F7942;
    font-size: 1.2rem;
}

.filter-button:hover {
    background-color: #ffffff;
	color:#006600;
	border:1px solid #006600;
}
.access-by-transit h3{
	display: flex;
    align-items: center;
    font-size: 1.4rem;
}

.access-by-transit h3::before{
	content: '\e533';
	font-family: 'Material Icons';
    color: #7ba270;
    font-size: 26px;
    font-weight: 100;
}
.access-by-car h3{
	display: flex;
    align-items: center;
    font-size: 1.4rem;	
}
.access-by-car h3::before{
    content: '\e531';
		font-family: 'Material Icons';
    color: #7ba270;
    font-size: 26px;
    font-weight: 100;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .access-details-wrapper {
        grid-template-columns: 1fr;
    }

    .access-map {
        min-height: 300px;
    }

    .access-map-content iframe {
        height: 300px;
    }

    .access-by-car,
    .access-by-transit {
        padding: 0.4rem;
    }
}

/* ギャラリー全体のスタイル */
.cemetery-gallery-wrapper {
    margin-bottom: 3rem;
}

.cemetery-main-image {
    width: 100%;
    height: 500px;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

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

/* サムネイルナビゲーション */
.gallery-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem;
    border-radius: 8px;
}

.gallery-thumbnails {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 0.5rem;
    flex-grow: 1;
}

.thumbnail-item {
    flex: 0 0 150px;
    height: 100px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.thumbnail-item.active {
    opacity: 1;
    border: 2px solid #4F7942;
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.case-item.hidden {
    display: none;
}

.view-more-button-wrapper {
    text-align: center;
    margin-top: 20px;
}

.view-more-button {
    background-color: #f0f0f0;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.view-more-button:hover {
    background-color: #e0e0e0;
}

.gallery-nav-prev,
.gallery-nav-next {
    background: #4F7942;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
}

.gallery-nav-prev:hover,
.gallery-nav-next:hover {
    background: #24371e;
}
/* モバイル用のスタイル */
@media screen and (max-width: 767px) {
    .feature-title.accordion-trigger {
        position: relative;
        cursor: pointer;
        padding-right: 40px;
    }

    .accordion-icon {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        width: 20px;
        height: 20px;
    }

    .accordion-icon::before,
    .accordion-icon::after {
        content: '';
        position: absolute;
        background-color: #333;
        transition: transform 0.3s ease;
    }

    .accordion-icon::before {
        top: 50%;
        left: 0;
        width: 100%;
        height: 2px;
        transform: translateY(-50%);
    }

    .accordion-icon::after {
        top: 0;
        left: 50%;
        width: 2px;
        height: 100%;
        transform: translateX(-50%);
    }

    .accordion-trigger.is-open .accordion-icon::after {
        transform: translateX(-50%) rotate(90deg);
    }

    .feature-content.accordion-content {
        display: none;
        padding: 15px;
    }

    .feature-content.accordion-content.is-open {
        display: block;
    }
}

/* PC用のスタイル */
@media screen and (min-width: 768px) {
    .accordion-icon {
        display: none;
    }

    .feature-content.accordion-content {
        display: block !important;
    }
}
/* レスポンシブ対応 */
@media (max-width: 768px) {
    .cemetery-main-image {
        height: 300px;
    }

    .thumbnail-item {
        flex: 0 0 100px;
        height: 70px;
    }
    .gallery-nav-prev, .gallery-nav-next {
        width: 30px;
        height: 30px;
    }
} 

/* 設備・施設一覧 */
.facilities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.facility-item {
    background: #fff;
    border: 1px solid #4F7942;
    padding: 0.5rem 1.5rem;
    color: #4F7942;
}

.facility-name {
    font-size: 0.9rem;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .facilities-list {
        gap: 0.8rem;
    }

    .facility-item {
        padding: 0.4rem 1.2rem;
    }

    .facility-name {
        font-size: 0.8rem;
    }
} 
.sold-out-badge {
    display: inline-block;
    border: 2px solid #ff0000;
    color: #ff0000;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    margin-left: 8px;
    vertical-align: middle;
}

/* エントリータイトル内の完売バッジ用スタイル */
.entry-title .sold-out-badge {
    font-size: 0.9rem;
    margin-left: 1rem;
    vertical-align: middle;
    position: relative;
    top: -0.2em;
    display: inline-block;
    max-width: 100%;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .entry-title .sold-out-badge {
        display: block;
        margin: 0.5rem 0 0 0;
        font-size: 0.8rem;
    }
}

/* 関連する施工事例 */
.cemetery-related-cases {
    margin-bottom: 4rem;
}

.cemetery-related-cases h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #4F7942;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #4F7942;
    font-weight: bold;
}

.related-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.case-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.case-item:hover {
    transform: translateY(-3px);
}

.case-item a {
    text-decoration: none;
    color: inherit;
    display: flex;
}

.case-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    width: 40%;
}

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

.case-content {
    padding: 1.5rem;
}

.case-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #4F7942;
    font-weight: bold;
}

.case-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .related-cases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.4rem;
    }
}

@media (max-width: 768px) {
    .related-cases-grid {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }

    .case-content {
        padding: 1rem;
    }

    .case-title {
        font-size: 1rem;
    }
}

/* cemetery-example-pricesセクションのリッチカラムスタイル */
.example-prices-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.example-prices-left {
    flex: 0 0 30%;
}

.example-prices-right {
    flex: 0 0 70%;
    /* background: linear-gradient(-45deg, transparent 25%, hsla(0, 0%, 78%, .15) 25%, hsla(0, 0%, 78%, .15) 50%, transparent 50%, transparent 75%, hsla(0, 0%, 78%, .15) 75%, hsla(0, 0%, 78%, .15)); */
    /* background-clip: padding-box;
    background-size: 6px 6px; */
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .example-prices-content {
        flex-direction: column;
    }

    .example-prices-left,
    .example-prices-right {
        width: 100%;
    }

    .price-other{
        display: flex;
        align-items: flex-end;
        font-weight: bold;
        height: 25px;
        font-size: 0.7rem;
    }
}

/* list-imageのスタイル */
.example-prices-left .list-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

section{
    max-width:1170px;
    margin:0 auto;
}



.feature-image img {
    width: 100%;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.annual-fee-table {
    margin-top: 2rem;
    overflow-x: auto;
}

.annual-fee-table h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #4F7942;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #4F7942;
    font-weight: bold;
}

.annual-fee-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.annual-fee-table th,
.annual-fee-table td {
    padding: 1rem;
    border: 1px solid #ddd;
    text-align: center;
    vertical-align: middle;
}

.annual-fee-table th {
    background: #4F7942;
    color: #fff;
}

.annual-fee-table tr:nth-child(even) {
    background: #f8f9fa;
}

@media (max-width: 768px) {
    .annual-fee-table th,
    .annual-fee-table td {
        padding: 0.5rem;
    }
}
/* FAQ セクションのスタイル */
.cemetery-faq {
    margin: 40px 0;
}

.faq-items {
    margin-top: 10px;
}

.faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 0.4rem;
    background: #fff;
}

.faq-question {
    position: relative;
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 16px;
}

.faq-answer {
    display: none;
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    background: #f9f9f9;
    display: flex;
    gap: 16px;
}

.faq-icon {
    font-size: 1.2em;
    font-weight: bold;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.faq-question .faq-icon {
    background: #f0f0f0;
    color: #333;
}

.faq-answer .faq-icon {
    background: #7ba270;
    color: #fff;
}

.answer-text {
    flex: 1;
}


/* アニメーション */
.faq-answer {
    transition: all 0.3s ease-in-out;
}

/* アコーディオンアイコンの共通スタイル */
.accordion-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
}

.accordion-icon::before,
.accordion-icon::after {
    content: '';
    position: absolute;
    background-color: #333;
    transition: transform 0.3s ease;
}

.accordion-icon::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
}

.accordion-icon::after {
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
}

/* 開いている状態のアイコン */
.is-open .accordion-icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

/* FAQのアコーディオン特有のスタイル */
.faq-question {
    position: relative;
    padding-right: 50px; /* アイコンのための余白 */
}

.faq-question .accordion-icon {
    right: 15px;
}

/* アニメーションの追加 */
.faq-answer {
    transition: all 0.3s ease-in-out;
}

/* スマホ版のスタイル */
@media (max-width: 768px) {
    /* スマホ版のポップアップを表示するスタイルを追加 */
    .price-popup {
        display: block;
    }
}

/* PC版のスタイル */
@media (min-width: 769px) {
    .price-popup {
        display: none;
    }

    /* PC版のテーブルを表示するスタイルを追加 */
    .price-table {
        display: table;
        width: 100%;
    }
}

.price-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    max-width: 90%;
    max-height: 80%;
    overflow-y: auto;
}

.price-popup.is-visible {
    display: block;
}

.price-popup-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.price-popup-item {
    border-bottom: 1px solid #ddd;
    padding-bottom: 1rem;
}

.grave-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.price-summary-list {
    list-style: none;
    padding: 0;
    margin: 0;
    height: 300px;
    overflow-y: hidden;
    position: relative;
    margin-bottom: 1.5rem;
}

.show-more-content {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    height: 100px;
    line-height: 190px;
    text-align: center;
    box-shadow: none;
    background-image: linear-gradient(to bottom, transparent 0, #f5f5f533 0rem, #f5f5f5 100%);
}

button.price-show-more {
    width: 70%;
    height: 50px;
    border: solid 1px #A3A3A3;
    border-radius: 27px;
    background-color: #fff;
    color: #898989 !important;
    font-size: 14px;
    padding: 16px 4px;
    font-weight: 700;
    display: flex;
    margin: auto;
    align-items: center;
    justify-content: center;
}

.price-summary-item {
    margin-bottom: 0.5rem;
}

div#modal-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

#modal-details>img{
    width: 100%;
}

th.price-label {
    width: 40%;
    text-align: left;
}

table{
    width: 100%;
}

.price-summary-button {
    background: #f0f0f0;
    border: none;
    padding: 10px;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.price-summary-button:hover {
    background-color: #e0e0e0;
}

.price-details {
    display: none;
    padding: 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 5px;
}

.price-details.is-visible {
    display: block;
}

.price-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.price-modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 8px;
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.price-details table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.price-details td {
    padding: 8px;
    border: 1px solid #ddd;
    text-align: left;
}

.price-details img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.price-summary-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.price-summary-content:hover {
    background-color: #e0e0e0;
}

span.price-summary-name {
    border-bottom: 1px solid #ccc;
    width: 100%;
}

button.view-details-button{
    border: none;
    padding: 0;
    background: none;
    font-size: 0.9rem;
}

.price-summary-image{
    display: flex;
    flex-direction: column;
}

.price-summary-text {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-right: 10px;
}

.price-summary-text > span {
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.summary-image {
    width: 200px; /* 画像の幅を指定 */
    height: auto;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .summary-image{
        width: 100px;
    }
    .price-summary-list{
        height: 200px;
    }
    .show-more-content{
        height: 70px;
    }
    .supplement-content-pc{
        display: none;
    }
    .price-modal-content{
        margin: 30% auto;
    }
}