/* self.css - セルフ葬ページのスタイル */

/* メインコンテンツ */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-image {
    width: 100%;
    margin-bottom: 40px;
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* デスクトップ表示の制御 */
.main-image .desktop-main { display: block; }
.main-image .mobile-main { display: none; }

/* モバイル対応 */
@media (max-width: 768px) {
    .main-image .desktop-main { display: none; }
    .main-image .mobile-main { display: block; }
}

/* セルフ葬紹介セクション */
.self-intro {
    margin-bottom: 60px;
}

.intro-content {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-content p {
    margin: 0 0 20px 0;
}

.intro-content p:last-child {
    margin-bottom: 0;
}

/* 説明セクション */
.self-explanation {
    margin-bottom: 60px;
}

.explanation-content {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.explanation-image {
    flex-shrink: 0;
}

.explanation-image img {
    width: 100%;
    height: auto;
    display: block;
}

.explanation-text {
    flex: 1;
}

.explanation-text img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;
}

.explanation-text h3 {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-size: 20px;
    font-weight: bold;
    color: #8b2b2b;
    margin: 0 0 20px 0;
    text-align: center;
}

.explanation-text p {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin: 0;
}

/* 解決策セクション */
.self-solution {
    margin-bottom: 60px;
}

.solution-content {
    max-width: 1000px;
    margin: 0 auto;
}

.solution-text {
    text-align: center;
}

.solution-text img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 20px auto;
    max-width: 492px;
}

.solution-text h3 {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-size: 20px;
    font-weight: bold;
    color: #8b2b2b;
    margin: 0 0 20px 0;
    text-align: center;
}

.solution-text p {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin: 0;
    text-align: left;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .main-content {
        padding: 0 15px;
    }
    
    .intro-content {
        font-size: 15px;
    }
    
    .explanation-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .explanation-text {
        text-align: center;
    }
    
    .explanation-text h3 {
        font-size: 18px;
    }
    
    .explanation-text p {
        font-size: 15px;
    }
    
    .solution-text h3 {
        font-size: 18px;
    }
    
    .solution-text p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 0 10px;
    }
    
    .intro-content {
        font-size: 14px;
    }
    
    .explanation-content {
        gap: 15px;
    }
    
    .explanation-text h3 {
        font-size: 16px;
    }
    
    .explanation-text p {
        font-size: 14px;
    }
    
    .solution-text h3 {
        font-size: 16px;
    }
    
    .solution-text p {
        font-size: 14px;
    }
}

/* セルフ葬の概要セクション */
.self-overview {
    margin-bottom: 60px;
}

.self-overview h2 {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 2px solid #000;
    padding-bottom: 15px;
    letter-spacing: 0.5px;
}

.self-overview .subtitle {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 15px;
    letter-spacing: 0.3px;
}

.self-overview .highlight {
    font-size: 18px;
    font-weight: 500;
    color: #000;
    text-align: center;
    margin-bottom: 30px;
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.self-description {
    background-color: #fafafa;
    padding: 35px;
    border-radius: 8px;
    margin-top: 25px;
    border: 1px solid #e0e0e0;
}

.self-description p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 18px;
    color: #333;
    font-weight: 400;
}

/* セルフ葬の流れセクション */
.self-flow {
    margin-bottom: 60px;
}

.flow-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin-bottom: 35px;
    text-align: center;
    border-bottom: 2px solid #000;
    padding-bottom: 12px;
    letter-spacing: 0.3px;
}

.flow-step {
    background-color: #fafafa;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid #000;
    border: 1px solid #e0e0e0;
}

.flow-step h3 {
    font-size: 22px;
    font-weight: 600;
    color: #000;
    margin-bottom: 18px;
    letter-spacing: 0.2px;
}

.flow-step p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 18px;
    color: #333;
    font-weight: 400;
}


.note {
    font-size: 14px;
    color: #666;
    font-style: italic;
}

/* 費用一覧セクション */
.self-pricing {
    margin-bottom: 60px;
}

.pricing-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin-bottom: 40px;
    text-align: center;
    border-bottom: 2px solid #000;
    padding-bottom: 12px;
    letter-spacing: 0.3px;
}

.pricing-content {
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-intro {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.pricing-intro p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #333;
}

.pricing-table-container {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pricing-table-container h3 {
    font-size: 20px;
    font-weight: bold;
    color: #8b2b2b;
    margin-bottom: 20px;
    text-align: center;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.pricing-table th,
.pricing-table td {
    border: 1px solid #ddd;
    padding: 12px 8px;
    text-align: center;
    font-size: 14px;
}

.pricing-table th {
    background-color: #000;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
}

.pricing-table td {
    background-color: #fff;
    font-weight: 400;
    font-size: 15px;
}

.pricing-notes {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin-top: 20px;
}

.pricing-notes p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
    color: #333;
}

/* 含まれるもの・オプションセクション */
.self-includes {
    margin-bottom: 60px;
}

.includes-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.included-items,
.option-items {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
}

.included-items h3,
.option-items h3 {
    font-size: 20px;
    font-weight: bold;
    color: #8b2b2b;
    margin-bottom: 20px;
    border-bottom: 2px solid #8b2b2b;
    padding-bottom: 10px;
}

.included-items ul,
.option-items ul {
    list-style: none;
    padding: 0;
}

.included-items li,
.option-items li {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    color: #333;
}

.included-items li:before,
.option-items li:before {
    content: "・";
    color: #8b2b2b;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* 注意事項セクション */
.self-notes {
    margin-bottom: 60px;
}

.notes-content h3 {
    font-size: 20px;
    font-weight: bold;
    color: #8b2b2b;
    margin-bottom: 30px;
    text-align: center;
    border-bottom: 2px solid #8b2b2b;
    padding-bottom: 10px;
}

.notes-content {
    max-width: 1000px;
    margin: 0 auto;
}

.notes-list {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
}

.notes-list p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #333;
}

/* 花祭壇・供花の例セクション */
.self-flowers {
    margin-bottom: 10px;
}

.flowers-content h2 {
    font-size: 20px;
    font-weight: bold;
    color: #8b2b2b;
    margin-bottom: 30px;
    text-align: center;
    border-bottom: 2px solid #8b2b2b;
    padding-bottom: 10px;
}

.flower-examples {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 10px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.flower-item {
    text-align: center;
}

.flower-item h3 {
    font-size: 16px;
    font-weight: normal;
    color: #666;
    margin-top: 10px;
    margin-bottom: 0;
    text-align: center;
    font-style: italic;
    line-height: 1.4;
}

.flower-image {
    max-width: 600px;
    margin: 0 auto;
}

.flower-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

/* 施設写真セクション */
.self-facilities {
    margin-bottom: 60px;
}

.facilities-content h2 {
    font-size: 24px;
    font-weight: bold;
    color: #8b2b2b;
    margin-bottom: 40px;
    text-align: center;
    border-bottom: 2px solid #8b2b2b;
    padding-bottom: 10px;
}

.facilities-content {
    max-width: 1000px;
    margin: 0 auto;
}

.facility-item {
    margin-bottom: 40px;
    text-align: center;
}

.facility-item h3 {
    font-size: 16px;
    font-weight: normal;
    color: #666;
    margin-top: 10px;
    margin-bottom: 0;
    text-align: center;
    font-style: italic;
}

.facility-image {
    max-width: 800px;
    margin: 0 auto;
}

.facility-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 連絡先セクション */
.self-contact {
    margin-bottom: 60px;
}

.contact-content .self-contact-info {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    text-align: left;
    border: 2px solid #333;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-content .self-contact-info p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 12px;
    color: #333;
    font-weight: 400;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .self-overview h2 { font-size: 24px; }
    .self-overview .subtitle { font-size: 18px; }
    .self-overview .highlight { font-size: 16px; }
    
    .flow-step h3 { font-size: 18px; }
    .flow-step p { font-size: 15px; }
    
    .pricing-content h2 { font-size: 20px; }
    .pricing-table th,
    .pricing-table td { font-size: 12px; padding: 8px 4px; }
    
    .includes-content { grid-template-columns: 1fr; gap: 20px; }
    
    .flower-examples { grid-template-columns: 1fr; gap: 20px; }
    .flower-item h3 { font-size: 14px; }
    .flower-image img { height: 250px; }
    
    .facilities-content h2 { font-size: 20px; }
    .facility-item h3 { font-size: 14px; }
    .facility-image img { height: 300px; }
}

@media (max-width: 480px) {
    .self-overview h2 { font-size: 20px; }
    .self-overview .subtitle { font-size: 16px; }
    .self-overview .highlight { font-size: 14px; }
    
    .flow-step h3 { font-size: 16px; }
    .flow-step p { font-size: 14px; }
    
    .pricing-content h2 { font-size: 18px; }
    .pricing-table th,
    .pricing-table td { font-size: 10px; padding: 6px 2px; }
    
    .flower-item h3 { font-size: 12px; }
    .flower-image img { height: 200px; }
    
    .facilities-content h2 { font-size: 18px; }
    .facility-item h3 { font-size: 12px; }
    .facility-image img { height: 250px; }
}
