/* 参加メリット比較表セクション用スタイル */
.comparison {
    padding: 80px 0;
    background-color: #f8f9fb;
    /* 非常に明るいグレー背景 */
    position: relative;
    color: #333;
}

.comparison h2 {
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
    color: #1a2942;
    position: relative;
    padding-bottom: 15px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.comparison h2:after {
    content: '';
    position: absolute;
    height: 2px;
    width: 80px;
    background: #d4af37;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.comparison-table {
    max-width: 1050px;
    margin: 0 auto;
    overflow-x: auto;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border: 1px solid #eaeaea;
    table-layout: fixed;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.comparison-table th {
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 500;
    border: 1px solid #eaeaea;
    letter-spacing: 0.3px;
    vertical-align: middle;
    /* 上下中央揃え */
}

/* 項目列 */
.comparison-table th:first-child,
.comparison-table td:first-child {
    width: 20%;
    /* 項目列の幅 */
    background-color: #f9f9f9;
    /* 項目列の背景色 */
    text-align: center;
    /* 左寄せから中央寄せに変更 */
    vertical-align: middle;
    /* 上下中央揃え */
    border: 1px solid #eaeaea;
    color: #333;
    font-weight: 500;
    height: 100%;
    /* セルの高さを確保 */
    display: table-cell;
    /* テーブルセルとして表示 */
}

/* 残りの3列を均等に分割 */
.comparison-table th:not(:first-child),
.comparison-table td:not(:first-child) {
    width: calc(80% / 3);
    /* 残り80%を3等分 */
    text-align: center;
    /* 中央揃え */
    vertical-align: middle;
    /* 上下中央揃え */
}

.comparison-table td {
    padding: 16px 20px;
    font-size: 14px;
    border: 1px solid #eaeaea;
    color: #333;
    position: relative;
    padding-top: 50px;
    /* アイコン用の余白をさらに増やす */
    vertical-align: middle;
    /* 上下中央揃え */
}

/* AI活用のLP制作の列 - ヘッダー行 */
.comparison-table th:nth-child(2) {
    background-color: #2c3e50;
    /* 濃い青 */
    color: #ffffff;
    /* 白色テキスト */
    border: 1px solid #2c3e50;
    position: relative;
    /* 微妙に強調する */
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.15);
}

/* AI活用のLP制作の列 - データ行 */
.comparison-table td:nth-child(2) {
    background-color: #f5f8fa;
    /* 明るい青 */
    border: 1px solid #eaeaea;
    position: relative;
    /* 微妙に強調する */
    z-index: 1;
}

/* 従来のLP制作の列 - ヘッダー */
.comparison-table th:nth-child(3) {
    background-color: #f0f0f0;
    /* 非常に薄いグレー */
    color: #555555;
    /* 暗いグレーテキスト */
    border: 1px solid #eaeaea;
}

/* 従来のLP制作の列 - データ行 */
.comparison-table td:nth-child(3) {
    background-color: #ffffff;
    /* 白色 */
    border: 1px solid #eaeaea;
}

/* ノーコードやテンプレートの列 - ヘッダー */
.comparison-table th:nth-child(4) {
    background-color: #f0f0f0;
    /* 非常に薄いグレー - 従来のLP制作と同じ */
    color: #555555;
    /* 暗いグレーテキスト */
    border: 1px solid #eaeaea;
}

/* ノーコードやテンプレートの列 - データ行 */
.comparison-table td:nth-child(4) {
    background-color: #ffffff;
    /* 白色 */
    border: 1px solid #eaeaea;
}

/* 評価アイコン用のスタイル - シンプルなテキストアイコン */
.comparison-table td::before {
    content: "";
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 28px;
    color: #777;
    font-family: sans-serif;
    z-index: 1;
    line-height: 1;
}

/* 二重丸（最良評価） */
.comparison-table td.double-circle::before {
    content: "◎";
    color: #27ae60;
    /* 緑色に変更 */
}

/* 丸（良い評価） */
.comparison-table td.circle::before {
    content: "○";
    color: #3498db;
}

/* 三角（普通/やや劣る評価） */
.comparison-table td.triangle::before {
    content: "△";
    color: #f1c40f;
}

/* バツ（悪い評価） */
.comparison-table td.cross::before {
    content: "×";
    color: #e74c3c;
}

/* レスポンシブ対応 */
@media (max-width: 767px) {

    .comparison-table th,
    .comparison-table td {
        padding: 12px 8px;
        font-size: 13px;
    }

    .comparison-table td {
        padding-top: 40px;
        /* スマホ用にパディング調整 */
    }

    .comparison-table td::before {
        top: 12px;
        font-size: 24px;
    }

    .comparison h2 {
        font-size: 1.7rem;
    }

    .comparison-table {
        margin: 0 15px;
    }
}

/* 比較結論のスタイル */
.comparison-conclusion {
    max-width: 1050px;
    margin: 80px auto 0;
    /* 上部マージンを40pxから80pxに増加 */
    padding: 0 20px;
    text-align: center;
}

.comparison-conclusion p {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 400;
    margin-bottom: 0;
    font-style: italic;
    letter-spacing: 0.3px;
    padding: 0 15px;
}

/* レスポンシブ対応 - 比較結論部分 */
@media (max-width: 767px) {
    .comparison-conclusion {
        margin: 30px 15px 0;
    }

    .comparison-conclusion p {
        font-size: 14px;
        padding: 0 5px;
    }
}