/* アガベチタノタ紹介ページのスタイル */
.plant-description {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px; /* 子要素の間隔を設定 */
    padding: 30px;
    background-color: #f1f1f1; /* ベース色に合わせた明るい色 */
    margin-top: 30px; /* 他のセクションとのスペース調整 */
    box-sizing: border-box; /* パディングを幅に含める */
}

.image-container,
.description-container {
    flex: 1 1 48%; /* 子要素の幅を調整 */
    max-width: 48%; /* 最大幅の設定 */
    box-sizing: border-box; /* パディングやボーダーを考慮 */
}

.plant-image {
    width: 100%; /* 親要素に合わせた幅 */
    height: auto; /* アスペクト比を保持 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 影を追加 */
}

.description-container {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
}

h2 {
    color: #4c5c44; /* 植物リストの色に合わせた深い緑 */
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* アガベチタノタの基本情報表 */
.plant-info {
    background-color: #f4f4f4;
    padding: 30px;
    margin-top: 40px;
    font-family: 'Noto Sans JP', sans-serif;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 影をつけて立体感を出す */
    margin-top: 0; /* 「多肉植物」のセクションから接続 */
}

.plant-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.plant-table th, .plant-table td {
    padding: 12px;
    text-align: left;
    border: 1px solid #ddd;
}

.plant-table th {
    background-color: #a1c349; /* 明るい草色 */
    color: white;
}

.plant-table td {
    background-color: #ffffff;
    color: #333;
}

.plant-table tr:nth-child(even) td {
    background-color: #f9f9f9;
}

/* 植物紹介の本文 */
p {
    color: #333;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* 多肉植物セクション */
.plant-genre {
  margin-top: 30px;
    padding: 40px 20px; /* セクションの内側のパディングを調整 */
    background-color: #4c5c44; /* 深い緑色 */
    margin-bottom: 40px; /* 他のセクションとのスペースを広げる */
}

.genre-title h2 {
    color: #a1c349; /* 明るい草色 */
    font-size: 2em;
    text-align: center;
}

.page-title {
    color: white;
    font-size: 1.5rem;
}

.plant-item p {
    color: white;
    font-weight: bold;  /* 任意で文字を太くする */
    font-size: 1.5rem;
}

/* スマホ版のスタイル調整 */
@media screen and (max-width: 768px) {
    .plant-description {
        flex-direction: column; /* 縦方向に配置 */
    }

    .image-container,
    .description-container {
        flex: 1 1 100%; /* 幅を100%に */
        max-width: 100%;
        margin-bottom: 20px; /* 子要素間のスペースを追加 */
    }
}
