body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Sans', Meiryo, sans-serif;
    margin: 0;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    padding: 5px 0;
}

section { padding: 50px 0px; }

h1, h2, h3 { margin: 0 0 15px; }

/* ヒーロー */
header {
    position: relative;
    background: url("../img/img-mv.jpg") center / cover no-repeat;
    color: white;
    text-align: center;
    padding: 120px 20px;
    overflow: hidden;
}
@media (max-width: 768px) {
    header {
        min-height: 80vh;
        padding: 60px 20px;
        background: url("../img/img-mv-sp.jpg") center / cover no-repeat;
    }
}
/* 黒の半透明オーバーレイ */
header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

/* テキストを前面に */
header .container {
    position: relative;
    z-index: 1;
}
header h1 { font-size: 2.5em; }
header p { opacity: 0.9; }

.cta-btn {
    display: inline-block;
    background: #ff6b6b;
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    margin-top: 80px;
    text-decoration: none;
}

/* ノート風背景 */
.problem {
    background: #f0f2f5;
    padding: 80px 0;
}

.problem .container {
    max-width: 720px;
    margin: 0 auto;
    background: repeating-linear-gradient(
        to bottom,
        #ffffff,
        #ffffff 28px,
        #eaeaea 29px
    );
    padding: 50px 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
}
/* スマホ */
@media (max-width: 768px) {
    .problem .container {
        padding: 30px 20px;
    }
}

/* チェックリスト */
.check-list {
    list-style: none;
    padding-left: 10px;
}

.check-list li {
    position: relative;
    margin-bottom: 15px;
    padding-left: 40px;
    font-size: 1.05em;
}

/* チェックボックス */
.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 22px;
    height: 22px;
    border: 2px solid #ccc;
    border-radius: 4px;
    background: #fff;
}

/* チェックマーク（入っている状態） */
.check-list li::after {
    content: "✔";
    position: absolute;
    left: 4px;
    top: 0px;
    font-size: 16px;
    color: #ff6b6b;
    font-weight: bold;
}
/* 横並び */
.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 4%;
}


/* 画像 */
.feature-img {
    flex: 1;
}

.feature-img img {
    width: 100%;
    border-radius: 8px;
}

/* テキスト */
.feature-text {
    flex: 1;
}

.feature-text h3 {
    margin-bottom: 10px;
    font-size: 1.4em;
}

/* スマホ */
@media (max-width: 768px) {

    .feature-item {
        flex-direction: column;
        gap: 15px;
    }

    .feature-text {
        order: 1;
    }

    .feature-img {
        order: 2;
    }
}
/* カード */
.grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.card {
    flex: 1 1 300px;
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* 比較 */
table {
    width: 100%;
    border-collapse: collapse;
}
th, td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: center;
}
th {
    background: #2a5298;
    color: white;
}
.merit {
    background: #f8f9fa;
}

/* 横並び */
.merit-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* カード */
.merit-item {
    flex: 1 1 300px;
    background: #fff;
    padding: 30px 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: 0.3s;
}

/* ホバー */
.merit-item:hover {
    transform: translateY(-5px);
}

/* アイコン */
.merit-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

/* タイトル */
.merit-item h3 {
    font-size: 1.3em;
    margin-bottom: 10px;
}

/* テキスト */
.merit-item p {
    font-size: 0.95em;
    color: #555;
}


.flow {
    background: #fff;
}

/* ステップ全体 */
.flow-steps {
    position: relative;
    max-width: 500px;   /* 幅を制限 */
    margin: 0 auto;     /* 中央寄せ */
}
/* 縦ライン */
.flow-steps::before {
    content: "";
    position: absolute;
    left: 25px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #2a5298;
}

/* 各ステップ */
.flow-step {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
    padding-left: 60px;
}
/* 画像がないステップの余白調整 */
.flow-step:not(:has(.flow-img)) {
    align-items: flex-start;
}

/* 番号 */
.flow-num {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background: #2a5298;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* テキスト */
.flow-content {
    flex: 1;
}

.flow-content h3 {
    margin-bottom: 8px;
}

/* 画像 */
.flow-img {
    width: 200px;
}

.flow-img img {
    width: 100%;
    border-radius: 8px;
}

/* スマホ */
@media (max-width: 768px) {

    .flow-step {
        flex-direction: column;
        align-items: flex-start;
    }

    .flow-img {
        width: 100%;
    }

    .flow-steps::before {
        left: 20px;
    }
}

/* =========================
   お客様の声（ノート風）
========================= */
.voice {
    background: #f0f2f5;
    padding: 80px 0;
}
/* グリッド */
.voice-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: stretch;
}


/* ノート本体 */
.voice-note {
    max-width: 700px;
    margin: 0 auto;
    padding: 30px 3%;
    background: repeating-linear-gradient(
        to bottom,
        #ffffff,
        #ffffff 28px,
        #eaeaea 29px
    );
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;

}

.voice-note p:last-child {
    flex-grow: 1;
}


/* スマホ */
@media (max-width: 768px) {
    .voice-grid {
        display: flex;
        flex-direction: column;
        align-items: center; /* ← 中央に寄せる */
    }
}


/* タイトル */
.voice-title {
    font-weight: bold;
    margin-bottom: 20px;
}

/* 強調（赤ペン風） */
.highlight {
    color: #d9534f;
    font-weight: bold;
}

/* スマホ */
@media (max-width: 768px) {
    .voice-note {
        padding: 30px 20px;
        transform: none;
    }

    .voice-note::before {
        left: 20px;
    }
}



/* =========================
   CTA（グリッド＋光）
========================= */
.cta {
    position: relative;
    text-align: center;
    padding: 80px 20px;
    color: #fff;
    overflow: hidden;

    /* ベースの青グラデーション */
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
}
.cta .cta-btn {
    margin-top: 20px;
}

/* グリッド（格子） */
.cta::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);

    background-size: 40px 40px;

    pointer-events: none;
}

/* 光のグラデーション（上に重ねる） */
.cta::after {
    content: "";
    position: absolute;
    inset: 0;

    background: radial-gradient(circle at 70% 30%, rgba(0,180,255,0.25), transparent 60%),
                radial-gradient(circle at 30% 80%, rgba(0,120,255,0.2), transparent 60%);

    pointer-events: none;
}

/* 中身を前面へ */
.cta .container {
    position: relative;
    z-index: 1;
}

/* ボタン */
.cta-button {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 40px;
    background: #ff6b6b;
    color: #fff;
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s;
}

.cta-button:hover {
    background: #ff4c4c;
    transform: translateY(-2px);
}

/* ホバー */
.cta-button:hover {
    background: #ff4c4c;
    transform: translateY(-2px);
}
/* フッター */
footer {
    background: #ffffff;
    color: rgb(0, 0, 0);
    text-align: center;
    padding: 30px;
}

@media(max-width:768px){
    header h1 { font-size: 1.8em; }
}