/* ==========================================================================
   業種別ページ（page-industry.php）専用スタイル — 2026-09-19
   既存LPの値を踏襲: セクション余白 120px/80px、見出し 48px→32px Noto Sans JP 600 #222、
   カード 白背景・角丸・余白24px、CTAボタンは Snow Monkey Forms の「今すぐ無料相談する」と同値。
   すべて #industry 配下にスコープし、既存CSSには影響させない。
   ========================================================================== */

/* ---- ヒーロー（LPの .main-visual を流用。動画・フォーム無し） ---- */
#industry .main-visual {
    padding: 56px 20px;
}
#industry .visual-container {
    grid-template-columns: 1fr;
    gap: 0;
}
#industry .visual-content {
    width: auto;
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}
#industry .visual-title {
    margin-bottom: 0;
}
/* H1上段のラベル（industry_h1 の1行目を【】で囲むと表示） */
#industry .visual-title-label {
    display: block;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.4;
    letter-spacing: 0.1em;
    color: #33c8b2;
    margin-bottom: 8px;
}

/* ---- パンくず ---- */
#industry .industry-breadcrumb {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 13px;
    line-height: 1.6;
    color: #666666;
    margin: 0 0 16px;
    text-align: center;
}
#industry .industry-breadcrumb a {
    color: #222222;
    text-decoration: none;
}
#industry .industry-breadcrumb a:hover {
    text-decoration: underline;
}
#industry .industry-breadcrumb-sep {
    margin: 0 8px;
    color: #999999;
}

/* ---- 本文セクション ---- */
#industry .industry-section {
    background: #ffffff;
    padding: 72px 0;
}
#industry .industry-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

/* 本文（固定ページ本文 = 原稿そのまま。装飾はここで当てる） */
#industry .industry-content {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 17px;
    line-height: 1.9;
    color: #333333;
}
#industry .industry-content > p:first-child {
    font-size: 18px;
    line-height: 2;
    color: #222222;
}
#industry .industry-content p {
    margin: 0 0 1.2em;
}
#industry .industry-content > p:first-child {
    margin-bottom: 0;
}
#industry .industry-content h2 {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 600;
    font-size: 48px;
    line-height: 1.2;
    text-align: center;
    color: #222222;
    margin: 56px 0 28px;
}
#industry .industry-content h3 {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 1.5;
    color: #222222;
    margin: 40px 0 16px;
}

/* 箇条書き = flow-step-content 風のカード（白背景・角丸・余白24px） */
#industry .industry-content ul,
#industry .industry-content ol {
    list-style: none;
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    padding: 24px;
    margin: 0 0 16px;
}
#industry .industry-content li {
    position: relative;
    padding-left: 1.4em;
}
#industry .industry-content li + li {
    margin-top: 10px;
}
#industry .industry-content ul li::before {
    content: '';
    position: absolute;
    left: 0.2em;
    top: 0.85em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #33c8b2;
}
#industry .industry-content ol {
    counter-reset: fn-ol;
}
#industry .industry-content ol li::before {
    counter-increment: fn-ol;
    content: counter(fn-ol) '.';
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 600;
    color: #33c8b2;
}
#industry .industry-content a {
    color: #1a73e8;
    text-decoration: underline;
}

/* ---- CTA（既存LPの「今すぐ無料相談する」と同じ見た目・最大2つ） ---- */
#industry .industry-cta-lead {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 34px;
    color: #222222;
    text-align: center;
    margin: 48px 0 0 !important;
}
#industry .industry-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin: 20px 0 0;
}
#industry .industry-cta a {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 22px;
    letter-spacing: 0.6px;
    color: #ffffff;
    background: #33c8b2;
    padding: 10px 40px;
    border: 0;
    border-radius: 20px;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease;
}
#industry .industry-cta a:hover {
    background: #06ba71;
    color: #ffffff;
}

/* ---- 親ページ（/industry/）: 業種カード一覧 ---- */
#industry .industry-intro {
    margin-bottom: 48px;
}
#industry .industry-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 0;
    margin: 0;
}
#industry .industry-card {
    position: relative;
    display: block;
    height: 100%;
    background: #ffffff;
    border: 1px solid #dddddd;
    border-left: 6px solid var(--card-accent, #33c8b2);
    border-radius: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    padding: 24px 56px 24px 24px;
    color: #222222;
    text-decoration: none;
    transition: box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}
#industry .industry-card:hover {
    background: var(--card-tint, #e6faf6);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}
#industry .industry-card-title {
    display: block;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.5;
    color: #222222;
    margin: 0 0 8px;
}
#industry .industry-card-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: #333333;
}
#industry .industry-card-arrow {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: var(--card-accent, #33c8b2);
}

/* ---- タブレット ---- */
@media screen and (max-width: 1023px) {
    #industry .industry-content h2 {
        font-size: 40px;
    }
}

/* ---- スマホ（既存CSSと同じ 767px 境界） ---- */
@media screen and (max-width: 767px) {
    #industry .main-visual {
        padding: 32px 20px;
    }
        #industry .industry-breadcrumb {
        font-size: 12px;
        margin-bottom: 12px;
    }
    /* SPでは現在ページ名を出さず1行に収める */
    #industry .industry-breadcrumb [aria-current],
    #industry .industry-breadcrumb .industry-breadcrumb-sep-last {
        display: none;
    }
    #industry .visual-title-label {
        font-size: 14px;
        margin-bottom: 6px;
    }
    /* ラベル付きH1（親ページ）: 「アフィリエイト広告の実施例」13字を1行に収める */
    #industry .industry-hero-index .visual-title {
        font-size: 24px;
        letter-spacing: 0;
    }
    #industry .industry-section {
        padding: 40px 0;
    }
    #industry .industry-container {
        padding: 0 20px;
    }
    #industry .industry-content {
        font-size: 16px;
    }
    #industry .industry-content > p:first-child {
        font-size: 16px;
        line-height: 1.9;
    }
    #industry .industry-content h2 {
        font-size: 30px;
        margin: 40px 0 16px;
    }
    #industry .industry-content h3 {
        font-size: 20px;
    }
    #industry .industry-content ul,
    #industry .industry-content ol {
        padding: 20px;
        border-radius: 12px;
    }
    #industry .industry-cta-lead {
        font-size: 18px;
        line-height: 28px;
        margin-top: 32px !important;
    }
    #industry .industry-cta {
        flex-direction: column;
        align-items: center;
        margin-top: 16px;
    }
    #industry .industry-cta a {
        width: 100%;
        max-width: 335px;
        font-size: 16px;
        line-height: 1.4;
        white-space: normal;
        padding: 12px 20px;
    }
    #industry .industry-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    #industry .industry-grid .industry-card {
        padding: 20px 48px 20px 20px;
        border-radius: 12px;
    }
    #industry .industry-card-title {
        font-size: 16px;
    }
    #industry .industry-card-text {
        font-size: 14px;
    }
    #industry .industry-card-arrow {
        right: 18px;
    }
}
