/* --- 全体のコンテナ --- */
.container {
    max-width: 1000px;
    margin: 20px auto; /* 上下左右中央寄せ */
}

/* --- ヘッダーセクション --- */
.main-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}

.header-title-box {
    background-color: #38b48b; /* 画像の緑色 */
    color: #ffffff;
    padding: 20px 35px;
    border-radius: 20px;
    flex-shrink: 0; /* コンテンツが縮まないように設定 */
    text-align: center;
}

.header-title-box h1 {
    font-size: 26px;
    margin: 0 0 8px 0;
    font-weight: bold;
}

.header-title-box .subtitle {
    font-size: 18px;
    margin: 0;
    font-weight: bold;
}

.header-description {
    font-size: 16px;
    line-height: 1.8;
}

/* --- 機能紹介グリッド --- */
.features-grid {
    display: grid;
    /* 2列のグリッドを作成。各列は均等な幅を持つ */
    grid-template-columns: repeat(2, 1fr);
    gap: 30px; /* グリッドアイテム間の隙間 */
}

/* --- 機能カード --- */
.feature-card {
    background-color: #ffffff;
    border: 2px solid #409424; /* 画像の明るい緑色 */
    border-radius: 15px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 200px; /* カードの高さを揃える */
    box-sizing: border-box; /* paddingとborderを幅に含める */
}

.card-content {
    flex: 1; /* テキスト部分が残りのスペースを埋める */
}

.card-content h2 {
    font-size: 24px;
    margin: 0 0 15px 0;
    font-weight: bold;
    line-height: 1.4;
    color: #333;
}

.card-content p {
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* --- ダミーイラスト --- */
.card-illustration {
    flex-shrink: 0; /* イラストが縮まないように */
}
.dummy-placeholder {
    width: 150px;
    height: 130px;
    background-color: #f0f0f0;
    border: 1px dashed #cccccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaaaaa;
    font-size: 14px;
    border-radius: 8px;
}
.dummy-placeholder::after {
    content: "イラスト";
}


/* --- レスポンシブ対応 (画面幅が狭い場合) --- */
@media (max-width: 960px) {
    .main-header {
        flex-direction: column; /* 縦並びにする */
        align-items: flex-start; /* 左揃えにする */
    }
}

@media (max-width: 768px) {
    .container {
        margin: 10px auto;
    }
    
    .features-grid {
        grid-template-columns: 1fr; /* 1列にする */
    }

    .feature-card {
        flex-direction: column; /* カード内の要素を縦並びにする */
        text-align: center;
        padding: 25px;
    }

    .card-content {
        margin-bottom: 20px;
    }
}

/* --- 全体のコンテナ --- */
.section-container {
    max-width: 1100px;
    width: 100%;
    padding: 40px;
    box-sizing: border-box;
}

/* --- 左右のコンテンツをまとめるラッパー --- */
.content-wrapper {
    display: flex;
    align-items: center;
    gap: 60px; /* 左右のブロック間の余白 */
}

/* --- 左側: ロゴとテキスト --- */
.intro-block {
    flex: 1; /* 比率を1に設定 */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.dummy-logo {
    width: 220px;
    height: 70px;
    background-color: #f0f0f0;
    border: 2px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: #4a4a4a;
    border-radius: 8px;
    margin-bottom: 20px;
}

.intro-text p {
    margin: 5px 0;
    font-size: 16px;
    font-weight: bold;
    color: #555;
}

/* --- 右側: 機能カード --- */
.features-block {
    flex: 2; /* 比率を2に設定し、左側より広くする */
    display: flex;
    flex-direction: column;
    gap: 30px; /* カード間の余白 */
}

.feature-item {
    background-color: #ffffff;
    border: 1px solid #409424; /* 画像の明るい緑色 */
    border-radius: 15px;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.feature-text h2 {
    font-size: 22px;
    font-weight: bold;
    margin: 0 0 10px 0;
}

.feature-text p {
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* === ここからが変更箇所 === */
.feature-icon {
    width: 100px;
    height: 100px;
    background-color: #f0f0f0;
    border: 1px dashed #cccccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaaaaa;
    font-size: 14px;
    border-radius: 8px; /* 角丸四角形に変更 */
    flex-shrink: 0;
}
.feature-icon::after {
    content: "アイコン";
}
/* === ここまでが変更箇所 === */


/* --- レスポンシブ対応 (画面幅が狭い場合) --- */
@media (max-width: 900px) {
    body {
        min-height: auto;
        align-items: flex-start;
        padding-top: 40px;
    }
    .content-wrapper {
        flex-direction: column; /* 縦並びにする */
        gap: 40px;
    }
    .intro-block {
        margin-bottom: 20px;
    }
}