/* 宗派詳細ページのスタイル */
.sect-header {
    color: white;
    padding: 60px 0;
    text-align: center;
}

.sect-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.sect-header p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
}

.jodo-shinshu-header {
    background-color: var(--jodo-shinshu-color);
}

.soto-shu-header {
    background-color: var(--soto-shu-color);
}

.shingon-chizan-header {
    background-color: var(--shingon-chizan-color);
}

.nichiren-shu-header {
    background-color: var(--nichiren-shu-color);
}

/* 宗派紹介セクション */
.sect-intro {
    padding: 60px 0;
    background-color: white;
}

.sect-intro h2 {
    text-align: center;
    margin-bottom: 30px;
}

.sect-intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.sect-intro-text p {
    margin-bottom: 20px;
    text-align: justify;
}

.sect-intro-image {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

/* プロセス詳細セクション */
.process-detail {
    padding: 60px 0;
    background-color: var(--bg-color);
}

.process-detail h2 {
    text-align: center;
    margin-bottom: 50px;
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50px;
    height: 100%;
    width: 4px;
    background-color: var(--main-color);
}

.timeline-item {
    position: relative;
    padding-left: 120px;
    margin-bottom: 50px;
}

.timeline-icon {
    position: absolute;
    left: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--main-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    z-index: 1;
}

.timeline-content {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    margin-bottom: 10px;
    color: var(--main-color);
}

.timeline-duration {
    font-style: italic;
    color: #666;
    margin-bottom: 15px;
}

.timeline-content ul {
    margin-top: 15px;
    padding-left: 20px;
}

.timeline-content ul li {
    margin-bottom: 5px;
}

.process-summary {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 50px;
}

.summary-item {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-width: 200px;
}

.summary-item h3 {
    color: var(--main-color);
    margin-bottom: 10px;
}

/* 入門条件セクション */
.entry-conditions {
    padding: 60px 0;
    background-color: white;
}

.entry-conditions h2 {
    text-align: center;
    margin-bottom: 50px;
}

.conditions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.condition-item {
    text-align: center;
    padding: 30px;
    background-color: var(--bg-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.condition-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: var(--main-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.condition-item h3 {
    margin-bottom: 15px;
    color: var(--main-color);
}

/* 得度後の生活セクション */
.post-ordination {
    padding: 60px 0;
    background-color: var(--bg-color);
}

.post-ordination h2 {
    text-align: center;
    margin-bottom: 30px;
}

.post-ordination-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.post-ordination-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.post-ordination-content ul {
    margin: 20px 0;
    padding-left: 20px;
}

.post-ordination-content ul li {
    margin-bottom: 10px;
}

/* 関連リンクセクション */
.related-links {
    padding: 60px 0;
    background-color: white;
}

.related-links h2 {
    text-align: center;
    margin-bottom: 30px;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.link-card {
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.link-card:hover {
    transform: translateY(-10px);
}

.link-card h3 {
    color: var(--main-color);
    margin-bottom: 10px;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .sect-intro-content {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        padding-left: 80px;
    }
    
    .timeline-icon {
        left: 20px;
    }
    
    .process-timeline::before {
        left: 40px;
    }
    
    .process-summary {
        flex-direction: column;
        gap: 20px;
    }
    
    .summary-item {
        min-width: auto;
    }
}
