@charset "UTF-8";

/* --- 全体共通リセット・基本設定（LP用） --- */
.hpc-hero, .hpc-hero * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

/* 改行コントロール用の汎用クラス */
.sp-only { display: none; }

/* --- ヒーローエリア全体のスタイル --- */
.hpc-hero {
    width: 100% !important;
    min-height: 500px !important;
    background-image: url('images-new/hpc_technicalsupport_hero_pc.png') !important;
    background-size: cover !important;
    background-position: center right !important;
    background-repeat: no-repeat !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    /* ↓↓↓ ここを修正：上余白を120px、左右を4%、下余白を60px に個別に割り振ります ↓↓↓ */
    padding: 120px 4% 60px 4% !important;
}

.hpc-hero-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* 上部サブ帯 */
.hpc-hero-badge {
    display: inline-block;
    background: linear-gradient(90deg, rgba(0,51,153,0.9) 0%, rgba(0,102,204,0.8) 100%);
    padding: 8px 24px;
    border-left: 4px solid #00ffff;
    margin-bottom: 24px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hpc-hero-badge span {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0.05em;
}

/* メインタイトル */
.hpc-hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 30px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    letter-spacing: 0.03em;
}

/* リード文 */
.hpc-hero-lead {
    font-size: 20px;
    line-height: 1.8;
    font-weight: 500;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
    background: rgba(0, 20, 60, 0.4);
    display: inline-block;
    padding: 15px 25px;
    border-radius: 4px;
}

/* --- レスポンシブ対応（スマホサイズ：767px以下） --- */
@media screen and (max-width: 767px) {
    .sp-only { display: block; }
    
    .hpc-hero {
        background-image: url('images-new/hpc_technicalsupport_hero_sp.png');
        background-position: center center;
        min-height: 450px;
        padding: 40px 20px;
        text-align: center;
    }
    
    .hpc-hero-badge {
        padding: 6px 14px;
        margin-bottom: 16px;
        width: 100%;
    }
    
    .hpc-hero-badge span {
        font-size: 13px;
    }
    
    .hpc-hero-title {
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .hpc-hero-lead {
        font-size: 15px;
        line-height: 1.6;
        padding: 12px;
        width: 100%;
        text-align: left; /* スマホでも読みやすいよう文章は左寄せ */
    }
}
/* --- お困りごとセクション --- */
.hpc-problems {
    background-color: #f4f7fa; /* ヒーローエリアと区別するための薄いグレー背景 */
    padding: 80px 4%;
    color: #333333;
}

.hpc-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* タイトル部分 */
.hpc-prob-title-wrap {
    background-image: url('images-new/hpc_technicalsupport_tytle.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 25px 20px; /* 上下の余白（文字が綺麗に画像に収まるよう調整） */
    text-align: center;
    margin-bottom: 35px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.hpc-prob-title-on-img {
    font-size: 30px;
    font-weight: bold;
    color: #ffffff !important; /* 文字色を白に強制固定 */
    margin: 0;
    letter-spacing: 0.03em;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5); /* 視認性を上げるためのうっすらシャドウ */
}

.hpc-prob-title-img img {
    max-width: 100%;
    height: auto;
}

/* リード文 */
.hpc-prob-lead {
    font-size: 16px;
    line-height: 1.8;
    text-align: center;
    max-width: 960px;
    margin: 0 auto 50px auto;
}

/* 2×3グリッド構造 */
.hpc-prob-grid {
    display: grid;
    grid-template-columns: repeat(2, 12fr);
    gap: 30px;
    margin-bottom: 50px;
}

/* カード単体 */
.hpc-prob-card {
    background-color: #ffffff;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex; /* 左右2カラムにする設定 */
    align-items: stretch;
}

/* カードの画像エリア */
.hpc-card-img {
    width: 40%;
    min-width: 40%;
    overflow: hidden;
    position: relative;
}

.hpc-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像の縦横比を保ったまま枠に収める */
    position: absolute;
    top: 0;
    left: 0;
}

/* カードのテキストエリア */
.hpc-card-body {
    width: 60%;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hpc-card-body h3 {
    font-size: 18px;
    color: #0b2545;
    margin-bottom: 12px;
    font-weight: bold;
    line-height: 1.4;
}

.hpc-card-body p {
    font-size: 14px;
    line-height: 1.6;
    color: #555555;
}

/* カード下の文章 */
.hpc-prob-footer-text {
    font-size: 16px;
    line-height: 1.8;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 40px auto;
    font-weight: 500;
}

/* --- オレンジグラデーションボタン --- */
.hpc-btn-area {
    text-align: center;
    margin-top: 30px;
}

.hpc-btn-orange {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* ご指定のグラデーション色を反映 */
    background: linear-gradient(135deg, #fab022 0%, #f83600 100%);
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 18px 45px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(248, 54, 0, 0.4);
    transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
    max-width: 100%;
}

/* ホバー（マウスをのせたとき）のアニメーション */
.hpc-btn-orange:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(248, 54, 0, 0.5);
    filter: brightness(1.05);
}

.hpc-btn-sub {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 4px;
    letter-spacing: 0.05em;
}

.hpc-btn-main {
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 0.03em;
}

/* --- レスポンシブ対応（スマホサイズ：767px以下） --- */
@media screen and (max-width: 767px) {
    .hpc-problems {
        padding: 50px 20px;
    }
    
    .hpc-prob-title {
        font-size: 22px;
    }
    
    .hpc-prob-lead {
        font-size: 14px;
        text-align: left; /* スマホでは左寄せで読みやすく */
        margin-bottom: 30px;
    }
    
    /* スマホでは縦1列に変更 */
    .hpc-prob-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }
    
    /* スマホではカード内の画像とテキストも上下並びにする */
    .hpc-prob-card {
        flex-direction: column;
    }
    
    .hpc-card-img {
        width: 100%;
        height: 180px; /* スマホでの画像の高さを固定 */
    }
    
    .hpc-card-img img {
        position: relative;
    }
    
    .hpc-card-body {
        width: 100%;
        padding: 20px;
    }
    
    .hpc-card-body h3 {
        font-size: 16px;
    }
    
    .hpc-prob-footer-text {
        font-size: 14px;
        text-align: left;
        margin-bottom: 30px;
    }
      .hpc-btn-orange {
        padding: 15px 20px;
        width: 100%;
    } /* ← ここを </div> から } に修正 */
    
    .hpc-btn-sub {
        font-size: 12px;
    }
    
    .hpc-btn-main {
        font-size: 15px;
        line-height: 1.3;
    }
}
/* --- その他のサポート（4つのカテゴリ）セクション --- */
.hpc-other-support {
    background-color: #ffffff; /* お困りごとセクションと交互になるよう白背景に */
    padding: 80px 4%;
    color: #333333;
}

/* タイトル部分（画像の上に白い文字を重ねる設定） */
.hpc-support-title-wrap {
    background-image: url('images-new/hpc_technicalsupport_tytle.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 25px 20px;
    text-align: center;
    margin-bottom: 50px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.hpc-support-title-on-img {
    font-size: 30px;
    font-weight: bold;
    color: #ffffff !important;
    margin: 0;
    letter-spacing: 0.03em;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

/* 4カラムグリッド構造 */
.hpc-support-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    width: 100% !important;
}

/* カテゴリカード単体（テーマの干渉を防ぐ設定） */
.hpc-support-card {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03) !important;
    overflow: hidden !important;
    display: block !important; /* 横並びが崩れないようブロック化 */
    width: 100% !important;
}

/* カードの上半分（青背景部分） */
.hpc-sup-card-header {
    background: linear-gradient(180deg, #1e5799 0%, #0b2545 100%);
    padding: 25px 15px;
    text-align: center;
    color: #ffffff;
}

.hpc-sup-icon {
    height: 60px; /* アイコン画像の高さを揃える */
    width: auto;
    margin-bottom: 15px;
    object-fit: contain;
}

.hpc-sup-card-header h3 {
    font-size: 16px;
    font-weight: bold;
    margin: 0;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

/* カードの下半分（リスト部分） */
.hpc-sup-card-body {
    padding: 25px 20px;
}

.hpc-sup-card-body ul {
    list-style: none; /* デフォルトの黒丸を非表示に */
    padding: 0;
    margin: 0;
}

.hpc-sup-card-body ul li {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 12px;
    padding-left: 18px;
    position: relative;
    color: #4a5568;
    font-weight: 500;
}

/* チラシの「■」を再現する擬似要素 */
.hpc-sup-card-body ul li::before {
    content: "■";
    font-size: 10px;
    color: #0b2545;
    position: absolute;
    left: 0;
    top: 1px;
}

.hpc-sup-card-body ul li:last-child {
    margin-bottom: 0; /* 最後の要素の余白をリセット */
}
/* --- 料金案内セクション --- */
.hpc-pricing {
    background-color: #f4f7fa;
    padding: 80px 4%;
    color: #333333;
}

.hpc-price-title-wrap {
    background-image: url('images-new/hpc_technicalsupport_tytle.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 25px 20px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.hpc-price-title-on-img {
    font-size: 30px;
    font-weight: bold;
    color: #ffffff !important;
    margin: 0;
    letter-spacing: 0.03em;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.hpc-price-top-notice {
    font-size: 15px;
    line-height: 1.6;
    text-align: center;
    color: #4a5568;
    margin-bottom: 50px;
    font-weight: 500;
}

/* 2列グリッド */
.hpc-price-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.hpc-price-card {
    background-color: #ffffff;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

/* カードヘッダー */
.hpc-price-card-header {
    background: linear-gradient(90deg, #0b2545 0%, #134074 100%);
    color: #ffffff;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    position: relative;
}

.hpc-price-num {
    font-size: 36px;
    font-weight: 900;
    color: #00ffff;
    margin-right: 20px;
    font-style: italic;
    line-height: 1;
}

.hpc-price-card-header h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    line-height: 1.3;
}

/* カードボディ */
.hpc-price-card-body {
    padding: 25px;
}

.hpc-price-main-box {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.hpc-price-img-area {
    width: 35%;
    min-width: 35%;
}

.hpc-price-img-area img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    object-fit: cover;
}

.hpc-price-txt-area {
    width: 65%;
}

.hpc-price-txt-area h4 {
    font-size: 14px;
    color: #0b2545;
    margin-bottom: 8px;
    font-weight: bold;
}

.hpc-price-txt-area ul {
    padding-left: 15px;
    margin-bottom: 15px;
}

.hpc-price-txt-area ul li {
    font-size: 13px;
    line-height: 1.5;
    color: #4a5568;
    margin-bottom: 4px;
}

/* 料金ラベル周り */
.hpc-price-tag-box {
    background-color: #f7fafc;
    padding: 10px;
    border-radius: 4px;
    border-left: 3px solid #134074;
}

.hpc-price-tag-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}
.hpc-price-tag-row.flex-single {
    justify-content: flex-start;
    gap: 10px;
}

.hpc-price-tag-row:last-child {
    margin-bottom: 0;
}

.hpc-price-tag-row span {
    background-color: #134074;
    color: #ffffff;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 2px;
}

.hpc-price-tag-row strong {
    font-size: 14px;
    color: #e53e3e;
}

.hpc-price-sub-note {
    font-size: 11px;
    color: #718096;
    text-align: right;
    margin-top: 2px;
}

/* 下部説明テキスト */
.hpc-price-card-desc {
    font-size: 13px;
    line-height: 1.6;
    color: #2d3748;
    border-top: 1px dashed #e2e8f0;
    padding-top: 15px;
    margin-bottom: 10px;
}

.hpc-price-card-note {
    font-size: 11px;
    color: #718096;
}

/* PCでのみ改行するためのクラス（リセットに追記してあれば不要です） */
@media screen and (max-width: 767px) {
    .pc-only { display: none; }
}

/* 結びの言葉 */
.hpc-price-closing-text {
    font-size: 16px !important;
    line-height: 1.8 !important;
    text-align: center !important;
    max-width: 1000px !important;
    margin: 40px auto 30px auto !important;
    font-weight: bold !important;
    color: #333333 !important;
    display: block !important;
}

/* ボタンエリア全体 */
.hpc-final-buttons-area {
    text-align: center !important;
    margin-top: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
}

/* ボタン共通設定の調整（最優先で適用） */
.hpc-btn-orange, .hpc-btn-green {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 15px 50px !important;
    border-radius: 4px !important;
    font-weight: bold !important;
    font-size: 18px !important;
    transition: transform 0.2s, box-shadow 0.2s, filter 0.2s !important;
    max-width: 100% !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
}

/* オレンジボタン（色の適用） */
.hpc-btn-orange {
    background: linear-gradient(135deg, #fab022 0%, #f83600 100%) !important;
}
.hpc-btn-orange:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 15px rgba(248, 54, 0, 0.3) !important;
    filter: brightness(1.05) !important;
}

/* ボタンの間の説明文 */
.hpc-btn-middle-text {
    font-size: 15px !important;
    font-weight: bold !important;
    color: #333333 !important;
    margin: 30px 0 15px 0 !important;
    letter-spacing: 0.02em !important;
    text-align: center !important;
}

/* 緑色のボタン（ご指定のグラデーションカラーを適用） */
.hpc-btn-green {
    background: linear-gradient(135deg, #a5d865 0%, #4c8a1e 100%) !important;
}
.hpc-btn-green:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 15px rgba(76, 138, 30, 0.3) !important;
    filter: brightness(1.05) !important;
}


/* ==========================================================================
   ★最後に独立した正しいスマホ用レスポンシブ（バグを完全に防ぐ構造です）
   ========================================================================== */
@media screen and (max-width: 767px) {
    .pc-only { display: none !important; }
    .sp-only { display: block !important; }
    
    .hpc-price-closing-text {
        font-size: 14px !important;
        text-align: left !important;
        margin: 30px 0 20px 0 !important;
    }
    
    .hpc-btn-orange, .hpc-btn-green {
        width: 100% !important;
        padding: 14px 15px !important;
        font-size: 14px !important; /* スマホで1行に収まるよう調整 */
    }
    
    .hpc-btn-middle-text {
        font-size: 13px !important;
        text-align: center !important;
        margin: 20px 0 10px 0 !important;
        line-height: 1.4 !important;
    }

    /* --- ⚠️4つのカテゴリ部分をスマホで縦1列にする設定（消えていた部分の再追記） --- */
    .hpc-support-grid {
        display: block !important; /* グリッドの横並びを完全に解除して縦並びに変更 */
        width: 100% !important;
    }
    
    .hpc-support-card {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 20px !important; /* カードとカードの間の縦の隙間 */
        display: block !important;
    }
    
    .hpc-support-card:last-child {
        margin-bottom: 0 !important; /* 一番最後のカードは下の隙間をゼロに */
    }
    
    .hpc-sup-card-header {
        padding: 20px 15px !important;
        width: 100% !important;
    }
    
    .hpc-sup-icon {
        height: 50px !important; /* スマホ用にアイコンを少し小さく調整 */
        margin-bottom: 10px !important;
    }
    
    .hpc-sup-card-header h3 {
        font-size: 15px !important;
        line-height: 1.4 !important;
    }
    
    .hpc-sup-card-body {
        padding: 20px !important;
        width: 100% !important;
    }
    
    .hpc-sup-card-body ul li {
        font-size: 14px !important;
        line-height: 1.6 !important;
        text-align: left !important; /* 文字が縦書きにならないよう左寄せに固定 */
    }
      /* --- ⚠️料金案内セクションをスマホで縦1列にする設定（再追記） --- */
    .hpc-price-grid {
        display: block !important; /* グリッドの横2列を完全に解除して縦並びに変更 */
        width: 100% !important;
    }
    
    .hpc-price-card {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 25px !important; /* カードとカードの間の縦の隙間 */
        display: block !important;
    }
    
    .hpc-price-card:last-child {
        margin-bottom: 0 !important;
    }
    
    .hpc-price-card-header {
        padding: 15px 20px !important;
        width: 100% !important;
    }
    
    .hpc-price-num {
        font-size: 28px !important; /* スマホ用に数字を少し調整 */
        margin-right: 15px !important;
    }
    
    .hpc-price-card-header h3 {
        font-size: 16px !important;
        line-height: 1.4 !important;
        text-align: left !important;
    }
    
    .hpc-price-card-body {
        padding: 20px !important;
        width: 100% !important;
    }
    
    /* カード内の「画像＋テキスト」の横並びを解除して上下並びに */
    .hpc-price-main-box {
        display: block !important;
        width: 100% !important;
    }
    
    .hpc-price-img-area {
        width: 100% !important;
        margin-bottom: 15px !important;
        text-align: center !important;
    }
    
    .hpc-price-img-area img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    .hpc-price-txt-area {
        width: 100% !important;
    }
    
    .hpc-price-txt-area h4 {
        font-size: 14px !important;
        text-align: left !important;
    }
    
    .hpc-price-txt-area ul {
        padding-left: 20px !important;
    }
    
    .hpc-price-txt-area ul li {
        font-size: 14px !important;
        line-height: 1.6 !important;
        text-align: left !important;
    }
    
    /* 料金目安のボックスの調整 */
    .hpc-price-tag-box {
        width: 100% !important;
        margin-top: 15px !important;
    }
    
    .hpc-price-tag-row {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    
    .hpc-price-tag-row strong {
        font-size: 16px !important; /* 金額をスマホでも見やすく強調 */
    }
    
    .hpc-price-card-desc {
        font-size: 14px !important;
        line-height: 1.6 !important;
        text-align: left !important;
    }
    
    .hpc-price-card-note {
        font-size: 11px !important;
        text-align: left !important;
    }
}

