
.services {
    text-align: center;
    padding: 20px;
}

/* サービスセクション */
.service-section {
    padding: 20px;
    color: white; /* テキストの色 */
}

.service-item {
    background-color: rgba(255, 255, 255, 0.2); /* サービス項目の背景色を半透明に */
    margin-bottom: 15px; /* 項目間の余白 */
    padding: 15px; /* 内側の余白 */
    border-radius: 8px; /* 角の丸み */
}

.service-item h3 {
    color: #FFF; /* サブタイトルの色 */
    margin: 10px 0; /* タイトル周りのマージン */
}

.service-item p {
    background-color: rgba(255, 255, 255, 0.2); /* テキストの背景色 */
    padding: 10px; /* テキスト周りのパディング */
    border-radius: 5px; /* 背景の角の丸み */
    color: #FFF; /* テキストの色 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* 影を追加 */
    margin-top: 10px; /* テキストブロックの上のマージン */
}
h1 {
    margin-bottom: 40px;
}

/* h2のスタイリングを更新 */
h2 {
    background-color: rgba(0, 0, 0, 0.7); /* 背景に濃い半透明のオーバーレイを追加 */
    color: #FFF; /* テキスト色を白に */
    padding: 10px 20px; /* 余白を追加 */
    border-radius: 8px; /* 角の丸み */
    box-shadow: 0 2px 4px rgba(0,0,0,0.5); /* テキストの影を追加 */
    display: inline-block; /* 背景をテキストの幅に合わせる */
    margin: 80px auto 20px auto; /* 上下のマージンを設定 */
}


/* テキストの可読性を向上させるためのスタイル */
.text-overlay {
    background-color: rgba(0, 0, 0, 0.5); /* 黒色の半透明オーバーレイ */
    color: white; /* テキスト色を白に */
    padding: 10px; /* テキスト周りに余白を追加 */
    border-radius: 5px; /* オプション: 角の丸み */
}

