/* --- korason_about.css (全量・SP最適化版) --- */

/* 1. 共通・ベース設定 */
.serif-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 2.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.narrow-container {
    max-width: 850px;
    margin: 0 auto;
}

.bg-warm { 
    background-color: #fffaf5; 
}

.bg-light {
    background-color: #f9f9f9;
}

.mt-100 { 
    margin-top: 100px; 
}

/* 2. ヒーローセクション (Hero Section) は
   korason_service.css の .about-hero を継承 */

/* 3. ステートメント (Statement) */
.statement-content p {
    font-size: 1.1rem;
    line-height: 2.2;
    color: #444;
    margin-bottom: 2rem;
}

.illust-box img {
    max-width: 300px;
    margin-top: 50px;
    opacity: 0.8;
}

/* 4. 代表メッセージ (Message Card) */
.message-card {
    display: flex;
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.05);
    margin-top: 60px;
}

.message-img { 
    flex: 1; 
}

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

.message-body { 
    flex: 1.2; 
    padding: 60px; 
}

.label {
    color: #5e97ff;
    font-weight: bold;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 10px;
}

.message-body h3 { 
    font-size: 1.8rem; 
    margin-bottom: 20px; 
    line-height: 1.4; 
}

.message-body p { 
    color: #666; 
    line-height: 1.8; 
    margin-bottom: 20px; 
}

.signature { 
    text-align: right; 
    font-weight: bold; 
    font-size: 1.1rem; 
    margin-top: 30px; 
}

/* 5. 職員の声 (Staff Voices) */
.staff-voices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.voice-bubble {
    background: #f0f4ff;
    padding: 30px;
    border-radius: 20px;
    position: relative;
    margin-bottom: 20px;
}

.voice-bubble::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 40px;
    border-width: 15px 15px 0;
    border-style: solid;
    border-color: #f0f4ff transparent;
}

.staff-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-left: 20px;
}

.staff-info img { 
    width: 50px; 
    height: 50px; 
    border-radius: 50%; 
    object-fit: cover;
}

.staff-info span { 
    font-size: 0.85rem; 
    color: #888; 
}

/* 6. 沿革・概要 (History & Overview) */
.history-list dl {
    display: grid;
    grid-template-columns: 140px 1fr; 
    gap: 25px 40px;
}

.history-list dt { 
    font-weight: bold; 
    color: #5e97ff; 
}

.history-list dd { 
    color: #555; 
    border-bottom: 1px solid #eee; 
    padding-bottom: 15px; 
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
}

.info-table th, .info-table td {
    padding: 20px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.info-table th {
    width: 30%;
    background-color: #fcfcfc;
    font-weight: bold;
}

/* 7. レスポンシブ (Responsive) 
--------------------------------------------------------- */
@media (max-width: 768px) {
    /* 共通余白の調整 */
    .section-padding {
        padding: 60px 0;
    }
    .mt-100 {
        margin-top: 50px;
    }
    
    /* コンテナが端にぴったりくっつくのを防ぐ */
    .narrow-container {
        padding: 0 20px;
    }
    
    /* 文字サイズの調整 */
    .serif-title {
        font-size: 1.8rem;
    }

    /* ▼▼▼ 今回の修正箇所：ステートメント部分 ▼▼▼ */
    .statement-content p {
        font-size: 0.95rem; /* 0.7remから、読みやすい標準サイズに拡大 */
        line-height: 1.9;
        text-align: left;   /* 中央揃えから左揃えに変更（長文が格段に読みやすくなります） */
    }

    /* 【魔法のコード】HTMLの <br> タグを、スマホ表示時のみ「無かったこと」にする */
    .statement-content p br {
        display: none;
    }
    /* ▲▲▲ 修正箇所ここまで ▲▲▲ */

    /* 代表メッセージ */
    .message-body h3 {
        font-size: 1.6rem;
    }
    .message-card {
        flex-direction: column;
        border-radius: 20px;
    }
    .message-img {
        height: 250px; /* SP時の画像の高さを固定 */
    }
    .message-body {
        padding: 30px 20px; /* パラグラフを縮小して横はみ出しを防ぐ */
    }
    .signature {
        margin-top: 20px;
        font-size: 1rem;
    }

    /* 職員の声 */
    .staff-voices {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .voice-bubble {
        padding: 20px;
    }

    /* 沿革 */
    .history-list dl {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .history-list dd {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 15px;
    }
    .history-list dd::after {
        content: '';
        display: block;
        width: 100%;
        height: 1px;
        background: #eee;
        margin-top: 15px;
    }

    /* 法人概要 */
    .info-table th, .info-table td {
        display: block;
        width: 100%;
        padding: 15px 10px;
    }
    .info-table th {
        background-color: #f9fbff;
        padding-bottom: 5px;
        border-bottom: none;
    }
    .info-table td {
        padding-top: 5px;
    }
}