body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
}

header {
    background-color: #f2f2f2;
    padding: 20px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1 {
    font-size: 24px;
    margin: 0;
}

h1 a {
    color: #333;
    text-decoration: none;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: right;
}

nav li {
    display: inline-block;
    margin-left: 20px;
}

nav a {
    color: #333;
    text-decoration: none;
}

main {
    padding: 40px 0;
}

section {
    padding: 40px 0;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-text {
    width: 50%;
}

.hero-image {
    width: 50%;
}

.hero-image img {
    width: 100%;
    height: auto;
}

.about-image {
    text-align: center;
    margin-top: 20px;
}

.about-image img {
    width: 50%;
    height: auto;
}

.services-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 20px;
}

.service {
    width: 30%;
    margin-bottom: 20px;
}

.service img {
    width: 100%;
    height: auto;
}

.call-to-action {
    background-color: #eee;
    padding: 40px 0;
    text-align: center;
}

.btn {
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
}

footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

/* スマートフォン用スタイル */
@media screen and (max-width: 768px) {
    .container {
        padding: 0 10px; /* コンテナの左右パディングを縮小 */
    }

    .hero {
        flex-direction: column; /* ヒーローセクションを縦並びに */
    }

    .hero-text, .hero-image {
        width: 100%; /* ヒーローセクションの要素を幅いっぱいに */
    }

    .services-list {
        flex-direction: column; /* サービス一覧を縦並びに */
    }

    .service {
        width: 100%; /* サービス要素を幅いっぱいに */
        margin-bottom: 20px; /* サービス要素間のマージン */
    }
}