/* ===================================
   基本設定
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "Noto Sans JP", sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #fafafa;
}

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

/* ===================================
   ヘッダー
   =================================== */
.site-header {
    background: linear-gradient(135deg, #c62828 0%, #e53935 100%);
    color: white;
    padding: 40px 0;
    box-shadow: 0 4px 12px rgba(198, 40, 40, 0.2);
}

.site-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.site-tagline {
    font-size: 1.1rem;
    opacity: 0.95;
    font-weight: 300;
}

/* ===================================
   目次ナビゲーション
   =================================== */
.table-of-contents {
    background-color: #fff;
    padding: 30px 0;
    border-bottom: 3px solid #e53935;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.table-of-contents h2 {
    font-size: 1.3rem;
    color: #c62828;
    margin-bottom: 15px;
    font-weight: 600;
}

.table-of-contents ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.table-of-contents li {
    flex: 1 1 auto;
    min-width: 200px;
}

.table-of-contents a {
    display: block;
    padding: 12px 20px;
    background-color: #ffebee;
    color: #c62828;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
    border: 2px solid transparent;
}

.table-of-contents a:hover {
    background-color: #c62828;
    color: white;
    border-color: #c62828;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(198, 40, 40, 0.3);
}

/* ===================================
   メインコンテンツ
   =================================== */
.main-content {
    padding: 50px 0;
}

.hero-section {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 20px;
    background: linear-gradient(135deg, #ffebee 0%, #fff 100%);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-title {
    font-size: 2.5rem;
    color: #c62828;
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.4;
}

.lead-text {
    font-size: 1.15rem;
    color: #555;
    max-width: 900px;
    margin: 0 auto;
    line-height: 2;
}

/* ===================================
   セクション
   =================================== */
.content-section {
    margin-bottom: 60px;
    padding: 50px 0;
}

.content-section.bg-light {
    background-color: #fff;
    padding: 50px 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.section-title {
    font-size: 2rem;
    color: #c62828;
    margin-bottom: 35px;
    padding-bottom: 15px;
    border-bottom: 4px solid #e53935;
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: #ffcdd2;
}

.section-content {
    margin-bottom: 30px;
}

.section-content.with-image {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

.section-image {
    flex: 0 0 300px;
    max-width: 300px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(198, 40, 40, 0.15);
}

.text-content {
    flex: 1;
    min-width: 300px;
}

.text-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

/* ===================================
   業務カード
   =================================== */
.business-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.business-card {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-top: 5px solid #e53935;
    transition: all 0.3s ease;
}

.business-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(198, 40, 40, 0.2);
}

.business-card h3 {
    font-size: 1.4rem;
    color: #c62828;
    margin-bottom: 15px;
    font-weight: 600;
}

.business-tag {
    display: inline-block;
    background-color: #ffcdd2;
    color: #c62828;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.business-card p {
    margin-bottom: 15px;
    color: #555;
}

.business-card ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 15px;
}

.business-card li {
    padding: 8px 0 8px 25px;
    position: relative;
    color: #555;
}

.business-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #e53935;
    font-weight: bold;
    font-size: 1.1rem;
}

/* ===================================
   詳細業務リスト
   =================================== */
.work-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.work-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    border-left: 6px solid #e53935;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.work-item h3 {
    font-size: 1.4rem;
    color: #c62828;
    margin-bottom: 20px;
    font-weight: 600;
}

.work-item p {
    margin-bottom: 15px;
    color: #555;
}

/* ===================================
   メリットボックス
   =================================== */
.benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.benefit-box {
    background-color: #ffebee;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(198, 40, 40, 0.1);
}

.benefit-box h3 {
    font-size: 1.5rem;
    color: #c62828;
    margin-bottom: 20px;
    font-weight: 700;
    padding-bottom: 15px;
    border-bottom: 3px solid #e53935;
}

.benefit-box p {
    margin-bottom: 20px;
    color: #555;
    font-size: 1.05rem;
}

.benefit-box ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.benefit-box li {
    padding: 10px 0 10px 30px;
    position: relative;
    color: #555;
}

.benefit-box li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: #e53935;
    font-size: 1rem;
}

/* ===================================
   CTA（行動喚起）
   =================================== */
.cta-box {
    background: linear-gradient(135deg, #c62828 0%, #e53935 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin-top: 40px;
    box-shadow: 0 6px 20px rgba(198, 40, 40, 0.3);
}

.cta-text {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.8;
}

/* ===================================
   フッター
   =================================== */
.site-footer {
    background-color: #2c2c2c;
    color: #fff;
    padding: 50px 0 20px;
    margin-top: 80px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #444;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    color: #e53935;
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section p {
    color: #bbb;
    line-height: 1.8;
    margin-bottom: 10px;
}

.author-list {
    list-style: none;
}

.author-list li {
    margin-bottom: 12px;
}

.author-list a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1.05rem;
}

.author-list a:hover {
    color: #e53935;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    color: #888;
    font-size: 0.95rem;
}

/* ===================================
   レスポンシブ対応
   =================================== */
@media (max-width: 768px) {
    .site-title {
        font-size: 1.8rem;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .section-content.with-image {
        flex-direction: column;
    }

    .section-image {
        flex: 1 1 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }

    .table-of-contents ul {
        flex-direction: column;
    }

    .table-of-contents li {
        min-width: 100%;
    }

    .business-cards,
    .work-details,
    .benefits-container {
        grid-template-columns: 1fr;
    }

    .work-details {
        gap: 20px;
    }

    .footer-content {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 30px 0;
    }

    .site-title {
        font-size: 1.5rem;
    }

    .page-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .hero-section {
        padding: 30px 15px;
    }

    .lead-text {
        font-size: 1rem;
    }
}