/* リセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
    line-height: 1.6;
}

/* 画像調整 */
img {
    max-width: 100%;
    height: auto;
}

/* リンク装飾 */
a {
    text-decoration: none;
}

/* 共通コンテナ（中央寄せ） */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== ファーストビュー ===== */
.hero {
    padding: 80px 0;
    background: #f5f7fa;
}

.hero-inner {
    display: flex;
    align-items: flex-start;      /* 上寄せに変更 */
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 2;                      /* テキストを広めに */
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
}

.btn {
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
}

/* ===== 特徴 ===== */
.features {
    padding: 80px 0;
    background: #fff;
}

.features-inner {
    display: flex;
    gap: 30px;
}

.feature {
    flex: 1;
    background: #f0f0f0;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

/* ===== CTA ===== */
.cta {
    padding: 80px 0;
    background: #222;
    color: white;
    text-align: center;
}

.cta .btn {
    background: #ff7b00;
}

/* ===== スマホ対応 ===== */
@media (max-width: 768px) {
    .hero-inner,
    .features-inner {
        flex-direction: column;
        align-items: center;
    }

    .hero-text {
        text-align: center;
    }

    .features-inner {
        gap: 20px;
    }
}