/* 基本レイアウト */
.program-combinations {
    margin: 0 auto;
    padding: 20px;
}

/* イントロ部分 */
.intro-text {
    background-color: #f0f7eb;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

/* 組み合わせ例セクション */
.combination-example {
    margin-bottom: 40px;
}

.combination-example h3, 
.combination-example h4 {
    color: #4c7437;
}

.image-gallery {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.resizeimage240 {
    height: auto;
    border-radius: 5px;
}

/* ポイント説明部分 */
.combination-points {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.combination-points h5 {
    color: #4c7437;
    margin-top: 0;
}

.combination-points ul {
    padding-left: 20px;
}

/* スケジュール表 */
.example-schedule {
    background-color: #f0f7eb;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.example-schedule h4 {
    color: #4c7437;
    text-align: center;
    margin-bottom: 20px;
}

.example-schedule table {
    width: 100%;
    border-collapse: collapse;
}

.example-schedule th, 
.example-schedule td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: left;
}

.example-schedule th {
    background-color: #4c7437;
    color: #fff;
}

/* ボタン */
.box-btnred {
    text-align: center;
    margin: 30px 0;
}

.box-btnred a {
    display: inline-block;
    background-color: #e74c3c;
    color: #fff !important;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.box-btnred a:hover {
    background-color: #c0392b;
}

/* その他 */
.contact-note {
    text-align: center;
    font-style: italic;
    margin-top: 40px;
}

/* インデックス */
.index-title {
    color: #4c7437;
    font-size: 1.4em;
    padding: 10px 0;
    border-bottom: solid 4px #4c7437;
    margin: 20px 0;
}

.index-container {
    margin: 10px 20px 50px;
}

.index-container a {
    display: block;
    text-decoration: none !important;
    padding: 15px 20px;
    margin-bottom: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.index-container a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    background: #f9f9f9;
}

.index-container h3 {
    color: #4c7437;
    font-size: 1.1em;
    margin: 0 0 8px;
    padding-left: 15px;
    border-left: 4px solid #4c7437;
}

.index-container p {
    margin: 0;
    padding-left: 20px;
    color: #666;
    font-size: 0.95em;
    line-height: 1.6;
}

/* 画像コンテナのスタイル */
.image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

/* プラス記号のスタイル */
.plus-sign {
    font-size: 24px;
    font-weight: bold;
    color: #4c7437;
}

/* 事例背景のスタイル */
.case-background {
    background-color: #f8f9fa;
    border-left: 4px solid #4c7437;
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.case-background h5 {
    color: #4c7437;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.case-background ul {
    margin: 0;
    padding-left: 20px;
}

.case-background li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #333;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .image-gallery {
        flex-direction: column;
    }

    .resizeimage240 {
        width: 100%;
        margin-bottom: 10px;
    }

    .index-container {
        margin: 10px 15px 40px;
    }

    .index-container a {
        padding: 12px 15px;
    }

    .index-container h3 {
        font-size: 1em;
    }

    .image-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .image-container img {
        width: 100%;
        max-width: 240px;
    }

    .case-background {
        padding: 15px;
        margin: 15px 0;
    }
    
    .case-background h5 {
        font-size: 1em;
    }
}

@media screen and (max-width: 480px) {
    .index-title {
        font-size: 1.2em;
        padding: 8px 0;
    }

    .index-container {
        margin: 5px 10px 30px;
    }

    .index-container a {
        padding: 10px;
    }

    .index-container h3 {
        font-size: 0.95em;
        padding-left: 10px;
    }

    .index-container p {
        padding-left: 15px;
        font-size: 0.85em;
        line-height: 1.5;
    }
}