@charset "UTF-8";

/* ==========================================================================
   service-seo.html 固有スタイル
   product-web.css / product-medical.css で対応できない追加スタイルのみ記述
   ========================================================================== */
.section .about-section::before{
    display: none;
}
.section .about-section{
    background: #FFF;
}
.section .about-section.first-area{
    position: relative;
    overflow: hidden;
    background: #e2f3fa;
}

.section .about-section.first-area::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../img/seo/first-bg.jpg") no-repeat center top;
    background-size: 100% auto;
    z-index: 0;
    opacity: 1;
}

.section .about-section.first-area > * {
    position: relative;
    z-index: 1;
}

.section .about-section .container{
    max-width: 1200px;
    margin: auto;
}

.section .about-section:first-of-type .container{
    max-width: 80%;
    box-sizing: border-box;
    margin: 0 0 0 auto;
}

/* pages-style.css FAQ競合防止 */
.faq-list .faq-question::after {
    display: none;
}

.pricing-slack-grid{
    max-width: 100%;
}

/* 料金3カード横並び */
.pricing-slack-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .pricing-slack-grid-3col {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   対応一覧テーブル（3列）
   ========================================================================== */
.seo-comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 0.95rem;
}

.seo-comparison-table thead th {
    background: #2c3e50;
    color: #fff;
    padding: 14px 16px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid #34495e;
}

.seo-comparison-table thead th:first-child {
    text-align: left;
}

.seo-comparison-table tbody td {
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    text-align: center;
    line-height: 1.6;
}

.seo-comparison-table tbody td:first-child {
    text-align: left;
    font-weight: 500;
}

.seo-comparison-table tbody tr:nth-child(even) {
    background: #f9f9f9;
}

.seo-comparison-table .symbol-circle {
    color: #2c7a3a;
    font-weight: 700;
}

.seo-comparison-table .symbol-triangle {
    color: #c0860a;
    font-weight: 700;
}

.seo-comparison-table .symbol-dash {
    color: #999;
}

/* カテゴリ行（太字セパレータ） */
.seo-comparison-table .category-row th {
    background: #f0f0f0;
    color: #333;
    text-align: left;
    padding: 10px 16px;
    font-weight: 700;
    font-size: 0.9rem;
    border: 1px solid #e0e0e0;
}

@media (max-width: 768px) {
    .seo-comparison-table {
        font-size: 0.8rem;
    }
    .seo-comparison-table thead th,
    .seo-comparison-table tbody td {
        padding: 8px 6px;
    }
    .seo-comparison-table .category-row th {
        padding: 8px 6px;
    }
}

/* ==========================================================================
   SEO・AIO対策の全体像（HTML/CSS概要図）v3
   ========================================================================== */
.seo-aio-overview-map {
    margin: 40px 0;
}

/* 全幅ボックス */
.overview-top-box,
.overview-bottom-box {
    text-align: center;
    padding: 12px;
    border-radius: 8px;
}

.overview-top-box {
    background: #333;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
}

.overview-bottom-box {
    background: #fff;
    border: 1px solid #ddd;
}

.overview-bottom-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.overview-bottom-box .measure-item {
    display: inline-block;
    margin: 0 16px;
}

/* 矢印 */
.overview-arrow {
    text-align: center;
    font-size: 1.5rem;
    color: #999;
    padding: 8px 0;
}

.overview-arrow::after {
    content: "▼";
}

/* ブロックラベル（SEO施策 / AIO施策） */
.seo-block-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin: 24px 0 12px;
    padding-left: 4px;
}

/* 3カラムグリッド */
.seo-block-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

/* カード */
.seo-block-card {
    border-radius: 8px;
    padding: 20px;
}

.seo-block-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
}

.seo-block-card-subtitle {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 14px;
}

/* 背景色 */
.bg-seo { border: 1px solid #d50b30; }
.bg-external { border: 1px solid #929292; }
.bg-aio { border: 1px solid #3b5688; }

/* 個別施策アイテム（ドット付き） */
.measure-item {
    font-size: 0.85rem;
    padding: 4px 0;
    padding-left: 18px;
    position: relative;
}

.measure-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.measure-standard::before {
    background: #dc000c;
}

.measure-additional::before {
    background: #2563EB;
}

/* 凡例 */
.overview-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    font-size: 0.85rem;
    color: #555;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend-standard::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    background: #dc000c;
}

.legend-additional::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    background: #2563EB;
}

.overview-legend-note {
    width: 100%;
    text-align: center;
    font-size: 0.8rem;
    color: #888;
    margin-top: 4px;
}

@media (max-width: 768px) {
    .seo-block-grid {
        grid-template-columns: 1fr;
    }
    .overview-bottom-box .measure-item {
        display: block;
        text-align: left;
        margin: 0 auto;
        max-width: 250px;
    }
    .overview-legend {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
}

/* ==========================================================================
   対応一覧テーブル見出し
   ========================================================================== */
.map-table-heading {
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 60px;
    margin-bottom: 20px;
    color: #333;
}

/* ==========================================================================
   規模別料金テーブル（カード内）
   ========================================================================== */
.pricing-scale-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 0.9rem;
}

.pricing-scale-table thead th {
    background: #f5f5f5;
    padding: 10px 12px;
    text-align: center;
    font-weight: 600;
    font-size: 0.85rem;
    border: 1px solid #e0e0e0;
}

.pricing-scale-table thead th:first-child {
    text-align: left;
}

.pricing-scale-table tbody td {
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
    text-align: center;
    line-height: 1.5;
}

.pricing-scale-table tbody td:first-child {
    text-align: left;
    font-size: 0.85rem;
}

.pricing-scale-table tbody td:last-child {
    font-weight: 700;
    color: #333;
}

/* ========================================
   従来の流れ / 今の流れ 横並びブロック
======================================== */
.seo-flow-block {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 48px;
}

.seo-flow-block__text {
    flex: 1;
    min-width: 0;
}

.seo-flow-block__image {
    flex-shrink: 0;
    width: 40%;
    text-align: center;
}

.seo-flow-block__image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.seo-flow-block__caption {
    font-size: 0.8rem;
    color: #888;
    margin-top: 8px;
}

@media (max-width: 768px) {
    .seo-flow-block {
        flex-direction: column;
        gap: 24px;
    }

    .seo-flow-block__image {
        width: 100%;
    }
}

/* ========================================
   重要ポイントカード
======================================== */
.seo-importance-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.seo-importance-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 28px 24px;
    background: #F5F5F5;
    border-radius: 8px;
}

.seo-importance-card__icon {
    flex-shrink: 0;
}

.seo-importance-card__icon img {
    width: 110px;
    height: 110px;
    object-fit: contain;
}

.seo-importance-card__body {
    flex: 1;
    min-width: 0;
}

.seo-importance-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: #2D2D2D;
    margin-bottom: 8px;
}

.seo-importance-card__text {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.8;
}

@media (max-width: 480px) {
    .seo-importance-card {
        flex-direction: column;
        gap: 12px;
        padding: 20px 16px;
    }
}
