/* sogyosyushi Theme LP-Sogyo Custom CSS */

/* =================================== */
/* 基本設定 (PC & SP共通)
/* =================================== */
#sogyo-lp {
    font-family: Roboto, "Droid Sans", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
    color: #333;
    background-color: #fff;
    font-feature-settings: "palt";
}

.lp-sogyo-page {
    min-width: initial; /* テーマのmin-widthをリセット */
}

#sogyo-lp .lp-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

#sogyo-lp .lp-section {
    padding: 60px 0;
}

#sogyo-lp .sp-only {
    display: none;
}

/* 見出し */
#sogyo-lp .lp-heading {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    line-height: 1.5;
    margin-bottom: 30px;
}
#sogyo-lp .lp-sub-heading {
    font-size: 24px;
    font-weight: bold;
    margin: 40px 0 20px;
    border-bottom: 2px solid #71b722;
    padding-bottom: 10px;
}
#sogyo-lp .lp-sub-heading-center {
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    margin: 30px 0;
}

/* テキスト・その他 */
#sogyo-lp .lp-text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 1.8em;
}
#sogyo-lp .lp-text:last-child {
    margin-bottom: 0;
}
#sogyo-lp .lp-strong {
    color: #71b722;
    font-weight: bold;
}
#sogyo-lp .lp-section-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* =================================== */
/* セクション1：ヒーロー
/* =================================== */
#sogyo-lp .lp-section-hero {
    background-size: cover;
    background-position: center center;
    color: #fff;
    padding: 80px 0;
    text-align: center;

}



#sogyo-lp .lp-main-catch {
    font-size: 48px;
    font-weight: bold;
    line-height: 1.4;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}
#sogyo-lp .lp-merits {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 15px 20px;
    border-radius: 8px;
    display: inline-block;
    margin: 30px 0;
    font-size: 20px;
    line-height: 1.6;
}
#sogyo-lp .lp-merits p {
    margin: 0;
    padding: 5px 0;
}
#sogyo-lp .lp-simulator-wrapper {
    margin-top: 40px;
    background: rgba(255,255,255,0.9);
    padding: 20px;
    border-radius: 8px;
    color: #333;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* =================================== */
/* セクション3：オファー
/* =================================== */
#sogyo-lp .lp-section-offer { background-color: #f9f9f9; }
#sogyo-lp .lp-pack-info {
    text-align: center;
    background: #fff;
    border: 2px solid #71b722;
    border-radius: 8px;
    padding: 30px;
    margin: 40px 0;
}
#sogyo-lp .lp-pack-info h3 { font-size: 28px; margin-bottom: 10px; }
#sogyo-lp .lp-pack-table-wrapper { margin-top: 20px; }
#sogyo-lp .lp-pack-table { width: 100%; border-collapse: collapse; }
#sogyo-lp .lp-pack-table th { background: #71b722; color: #fff; padding: 15px; font-size: 18px; text-align: center; }
#sogyo-lp .lp-pack-table td { padding: 20px; width: 50%; border: 1px solid #ddd; border-top: none; }
#sogyo-lp .lp-pack-item-title { font-size: 16px; font-weight: bold; margin-bottom: 10px; }
#sogyo-lp .lp-pack-price { font-size: 24px; font-weight: bold; }
#sogyo-lp .lp-price-large { font-size: 72px; line-height: 1; }
#sogyo-lp .lp-price-large-red { font-size: 60px; line-height: 1; color: #e5532c; }
#sogyo-lp .lp-pack-note { margin-top: 10px; font-size: 14px; color: #666; }

/* プラン詳細テーブル */
#sogyo-lp .lp-details-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    border: 1px solid #ddd;
}
#sogyo-lp .lp-details-table th, 
#sogyo-lp .lp-details-table td {
    border: 1px solid #ddd;
    padding: 15px;
    text-align: left;
    vertical-align: top;
}
#sogyo-lp .lp-details-table th {
    background-color: #f9f9f9;
    font-weight: bold;
    width: 25%;
	    text-align: center; 
}

/* =================================== */
/* セクション4：理由
/* =================================== */
#sogyo-lp .lp-section-reason { background-color: #f0f8ff; }
#sogyo-lp .lp-comparison {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 40px 0 10px;
}
#sogyo-lp .lp-comparison img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
#sogyo-lp .lp-comparison-text-table th { width: 30%; text-align: center; }
#sogyo-lp .lp-comparison-text-table th:nth-child(2) {
    width: 10%;
    text-align: center;
    background-color: #fff;
    border: none;
    font-size: 24px;
}
#sogyo-lp .lp-strong-box {
    border: 2px solid #71b722;
    padding: 20px;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    line-height: 1.6;
    margin-top: 40px;
    border-radius: 8px;
}

/* =================================== */
/* セクション6：プロフィール
/* =================================== */
#sogyo-lp .lp-section-profile { background-color: #f9f9f9; }
#sogyo-lp .lp-profile-block { display: flex; gap: 30px; align-items: center; }
#sogyo-lp .lp-profile-image { flex-shrink: 0; width: 200px; }
#sogyo-lp .lp-profile-image img { width: 100%; border-radius: 50%; }
#sogyo-lp .lp-profile-text p { margin-bottom: 1em; font-size: 15px; line-height: 1.8; }
#sogyo-lp .lp-profile-title { font-size: 18px; font-weight: bold; }

/* お客様の声 */
#sogyo-lp .lp-voice-block { margin-top: 60px; }
#sogyo-lp .lp-voice-item { background: #fff; border: 1px solid #ddd; border-radius: 8px; padding: 20px; }
#sogyo-lp .lp-voice-head { font-weight: bold; text-align: center; margin-bottom: 20px; }
#sogyo-lp .lp-voice-body dt { font-weight: bold; color: #333; /* 文字色を黒に変更 */ margin-top: 20px; /* 少し余白を調整 */ padding-bottom: 5px; /* 下に少し余白を追加 */ border-bottom: 1px solid #eee; /* 下線を追加 */ }
#sogyo-lp .lp-voice-body dt:first-child { margin-top: 0; }
#sogyo-lp .lp-voice-body dd { margin-top: 5px; padding-left: 1em; }

/* パートナー */
#sogyo-lp .lp-partner-block { margin-top: 60px; text-align: center; }
#sogyo-lp .lp-partner-logos { display: flex; justify-content: center; align-items: center; gap: 40px; margin-bottom: 20px; }
#sogyo-lp .lp-partner-logos img { max-height: 50px; width: auto; }

/* =================================== */
/* セクション7：FAQ
/* =================================== */
#sogyo-lp .lp-faq-item { border-bottom: 1px solid #ddd; }
#sogyo-lp .lp-faq-item summary { padding: 20px 0; font-weight: bold; cursor: pointer; position: relative; padding-right: 30px; }
#sogyo-lp .lp-faq-item summary::-webkit-details-marker { display: none; }
#sogyo-lp .lp-faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #71b722;
}
#sogyo-lp .lp-faq-item[open] summary::after { content: '-'; }
#sogyo-lp .lp-faq-item p { padding: 0 10px 20px 10px; line-height: 1.8; }

/* =================================== */
/* セクション8：クロージング
/* =================================== */
#sogyo-lp .lp-section-closing {
    background-size: cover;
    background-position: center center;
    color: #fff;
    text-align: center;
    padding: 80px 0;
}
#sogyo-lp .lp-section-closing .lp-heading,
#sogyo-lp .lp-section-closing .lp-text {
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}
#sogyo-lp .lp-final-merits { background: rgba(0,0,0,0.5); padding: 20px; border-radius: 8px; margin: 40px auto; max-width: 700px; }
#sogyo-lp .lp-final-merits-title { font-weight: bold; margin-bottom: 15px; }
#sogyo-lp .lp-final-merits ul { list-style: none; padding: 0; margin: 0; line-height: 1.8; }
#sogyo-lp .lp-final-form-wrapper { background: rgba(255, 255, 255, 0.95); color: #333; padding: 30px; border-radius: 8px; margin: 40px auto 0; max-width: 700px; }
#sogyo-lp .lp-cta-button-text { font-size: 22px; font-weight: bold; color: #333; text-shadow: none; line-height: 1.5; margin-bottom: 20px; }

/* 最終フォーム(CF7)のスタイル */
#sogyo-lp .lp-final-form-wrapper .wpcf7-form p { margin-bottom: 15px; }
#sogyo-lp .lp-final-form-wrapper .wpcf7-form-control { width: 100%; padding: 10px; border-radius: 4px; border: 1px solid #ccc; box-sizing: border-box; }
#sogyo-lp .lp-final-form-wrapper .wpcf7-submit { width: 100%; background-color: #ff9900; color: #fff; font-size: 18px; font-weight: bold; padding: 15px; border: none; cursor: pointer; transition: background-color 0.3s; }
#sogyo-lp .lp-final-form-wrapper .wpcf7-submit:hover { background-color: #ffad33; }

/* =================================== */
/* フッター
/* =================================== */
#sogyo-lp .lp-footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
}
#sogyo-lp .lp-copyright {
    font-size: 12px;
}

/* =================================== */
/* レスポンシブ対応 (767px以下)
/* =================================== */
@media screen and (max-width: 767px) {
    #sogyo-lp .sp-only { display: block; }
    #sogyo-lp .pc-only { display: none; }
    
    #sogyo-lp .lp-section { padding: 40px 0; }
    #sogyo-lp .lp-heading { font-size: 24px; }
    #sogyo-lp .lp-sub-heading { font-size: 20px; }
    #sogyo-lp .lp-sub-heading-center { font-size: 18px; }

    /* ヒーロー */
    #sogyo-lp .lp-section-hero { padding: 40px 0; }
    #sogyo-lp .lp-main-catch { font-size: 32px; }
    #sogyo-lp .lp-merits { font-size: 16px; }

    /* オファー */
    #sogyo-lp .lp-pack-table,
    #sogyo-lp .lp-pack-table thead,
    #sogyo-lp .lp-pack-table tbody,
    #sogyo-lp .lp-pack-table th,
    #sogyo-lp .lp-pack-table td,
    #sogyo-lp .lp-pack-table tr {
        display: block;
    }
    #sogyo-lp .lp-pack-table thead { display: none; }
    #sogyo-lp .lp-pack-table td { width: auto; border: 1px solid #ddd; }
    #sogyo-lp .lp-pack-table tr td:first-child { border-bottom: 2px dashed #71b722; }
    
    /* 詳細テーブル */
    #sogyo-lp .lp-details-table th,
    #sogyo-lp .lp-details-table td {
        display: block;
        width: auto;
        text-align: left;
    }
    #sogyo-lp .lp-details-table th { border-bottom: none; }
    #sogyo-lp .lp-details-table td { border-top: none; margin-bottom: 10px; }

    /* 理由 */
    #sogyo-lp .lp-comparison { flex-direction: column; }
    #sogyo-lp .lp-comparison-text-table th:nth-child(2) { display: none; }

    /* 比較表のスマホ対応 */
    #sogyo-lp .lp-comparison-text-table { border: none; margin-top: 20px; }
    #sogyo-lp .lp-comparison-text-table thead,
    #sogyo-lp .lp-comparison-text-table tbody,
    #sogyo-lp .lp-comparison-text-table tr { display: block; }
    #sogyo-lp .lp-comparison-text-table th,
    #sogyo-lp .lp-comparison-text-table td {
        display: block;
        width: auto !important;
        text-align: left;
        border: none;
        padding: 0;
    }
    #sogyo-lp .lp-comparison-text-table thead tr { display: flex; justify-content: space-between; }
    #sogyo-lp .lp-comparison-text-table thead th {
        width: 48% !important;
        font-size: 16px;
        font-weight: bold;
        text-align: center;
        padding: 10px;
        color: #fff;
    }
    #sogyo-lp .lp-comparison-text-table thead th:nth-child(1) { background-color: #888; border-radius: 5px; }
    #sogyo-lp .lp-comparison-text-table thead th:nth-child(3) { background-color: #71b722; border-radius: 5px; }
    #sogyo-lp .lp-comparison-text-table tbody tr {
        display: flex;
        justify-content: space-between;
        margin-top: 10px;
        padding-bottom: 10px;
        border-bottom: 1px dashed #ccc;
    }
    #sogyo-lp .lp-comparison-text-table tbody tr:last-child { border-bottom: none; }
    #sogyo-lp .lp-comparison-text-table tbody td {
        width: 48% !important;
        padding: 10px 5px;
        font-size: 15px;
        line-height: 1.6;
        background-color: #f9f9f9;
            border-radius: 5px;
    text-align: center; /* ← この行を追記 */
    display: flex; /* ↓ 縦方向も中央揃えにするため追記 */
    justify-content: center; /* ↓ 横方向の中央揃え */
    align-items: center; /* ↓ 縦方向の中央揃え */
    }

    /* プロフィール */
    #sogyo-lp .lp-profile-block { flex-direction: column; }
    #sogyo-lp .lp-profile-image { width: 150px; }

    /* クロージング */
    #sogyo-lp .lp-cta-button-text { font-size: 18px; }
}
/* 比較画像のBefore/Afterラベル */
#sogyo-lp .lp-comparison-item {
    position: relative; /* ラベルの位置の基準にする */
}

#sogyo-lp .lp-comparison-label-before,
#sogyo-lp .lp-comparison-label-after {
    position: absolute;
    top: 0;
    left: 0;
    padding: 8px 15px;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    border-radius: 8px 0 8px 0; /* 左上と右下を角丸に */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

#sogyo-lp .lp-comparison-label-before {
    background-color: #888; /* Beforeの背景色 */
}

#sogyo-lp .lp-comparison-label-after {
    background-color: #71b722; /* Afterの背景色 */
}
/* sogyosyushi/assets/css/lp-sogyo.css */

/* ...既存のCSS... */

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

    /* ...既存のレスポンシブCSS... */
    
/* =================================== */
    /* テーブルのスマホ対応（確定版）
    /* =================================== */

    /* 実費比較表（cost-comparison-table）のスマホ対応 */
    #sogyo-lp .cost-comparison-table {
        border: none;
    }
    #sogyo-lp .cost-comparison-table thead {
        display: none; /* PC用の見出しは非表示に */
    }
    #sogyo-lp .cost-comparison-table tr {
        display: block;
        margin-bottom: 20px;
        border-bottom: 2px solid #71b722;
        padding-bottom: 20px;
    }
    #sogyo-lp .cost-comparison-table tr:last-child {
        margin-bottom: 0;
        border-bottom: none;
        padding-bottom: 0;
    }
    #sogyo-lp .cost-comparison-table td {
        display: block;
        text-align: left;
        border-bottom: 1px dotted #ccc;
        padding: 10px 5px;
    }
    #sogyo-lp .cost-comparison-table td:last-child {
        border-bottom: none;
    }
    #sogyo-lp .cost-comparison-table td::before {
        content: attr(data-label); /* data-label属性の内容を見出しとして表示 */
        display: block;
        font-weight: bold;
        margin-bottom: 5px;
        color: #333;
    }

    /* 料金表（pricing-table）のスマホ対応 */
    #sogyo-lp .pricing-table thead {
        display: none;
    }
    #sogyo-lp .pricing-table tr {
        display: block;
        margin-bottom: 20px;
        border-bottom: 1px solid #ddd;
        padding-bottom: 20px;
    }
    #sogyo-lp .pricing-table tr:last-child {
        margin-bottom: 0;
        border-bottom: none;
    }
    #sogyo-lp .pricing-table td {
        display: block;
        padding: 5px 0;
        border: none;
    }
    #sogyo-lp .pricing-table td:nth-of-type(1)::before { content: "ステージ： "; font-weight: bold; }
    #sogyo-lp .pricing-table td:nth-of-type(2)::before { content: "サポート内容： "; font-weight: bold; }
    #sogyo-lp .pricing-table td:nth-of-type(3)::before { content: "料金： "; font-weight: bold; }
}
/* シミュレーター結果の微調整 */
#sogyo-lp .simu-result-total {
    line-height: 1.6;
}
/* =================================== */
/* 【改修】セクション3：メリット提示
/* =================================== */
.lp-offer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 40px 0;
}
.lp-offer-box {
    flex: 1;
    background-color: #f0f8ff; /* セクション4,5の背景色と合わせる */
    border: 2px dashed #71b722;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
}
.lp-offer-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    line-height: 1.4;
}
.lp-offer-plus {
    font-size: 40px;
    font-weight: bold;
    color: #71b722;
}

@media screen and (max-width: 767px) {
    .lp-offer-container {
        flex-direction: column;
    }
    .lp-offer-box {
        width: 100%;
    }
    .lp-offer-title {
        font-size: 20px;
    }
    .lp-offer-plus {
        font-size: 32px;
        transform: rotate(90deg); /* プラスを縦向きに */
        margin: -10px 0;
    }
}

/* =================================== */
/* 【改修】お客様の声
/* =================================== */
#sogyo-lp .lp-voice-body dt {
    color: #333; /* 質問文の色を黒に変更 */
    font-weight: bold; /* 質問文をボールドに */
}
/* =================================== */
/* 全体トーンを少しだけミニマルに */
/* =================================== */
#sogyo-lp {
  background-color: #f9fafb;
}

#sogyo-lp .lp-section {
  padding: 56px 0;
}

#sogyo-lp .lp-heading {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #111827;
}

/* =================================== */
/* ヒーローセクションを少し洗練させる */
/* =================================== */
#sogyo-lp .lp-section-hero {
  text-align: left;
}

#sogyo-lp .lp-main-catch {
  font-size: 42px;
  line-height: 1.4;
  text-shadow: 0 1px 3px rgba(15, 23, 42, 0.35); /* 影を控えめに */
}

#sogyo-lp .lp-merits {
  background-color: rgba(15, 23, 42, 0.65); /* 真っ黒→少しだけネイビー寄り */
  border-radius: 12px;
  font-size: 18px;
}

/* シミュレーターカードを「プロダクト感」のある見た目に */
#sogyo-lp .lp-simulator-wrapper {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

/* =================================== */
/* セクション背景色を統一してスッキリ */
/* =================================== */
#sogyo-lp .lp-section-offer,
#sogyo-lp .lp-section-profile {
  background-color: #f9fafb;
}

#sogyo-lp .lp-section-reason,
#sogyo-lp .lp-section-cost-summary {
  background-color: #eef2ff !important; /* 淡いブルーグレーに統一 */
}

/* =================================== */
/* カード系コンポーネントを揃える */
/* =================================== */
#sogyo-lp .lp-pack-info,
#sogyo-lp .lp-voice-item,
#sogyo-lp .lp-final-form-wrapper {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

/* パック情報：枠線の主張を少し抑える */
#sogyo-lp .lp-pack-info {
  padding: 24px;
  border-top: 3px solid #71b722; /* 全枠→上だけにアクセント */
}

/* テーブルの線を少しだけ軽く */
#sogyo-lp .lp-details-table {
  border-color: #e5e7eb;
}

#sogyo-lp .lp-details-table th,
#sogyo-lp .lp-details-table td {
  border-color: #e5e7eb;
}

/* =================================== */
/* 見出し・強調表現をフラット寄りに */
/* =================================== */
#sogyo-lp .lp-sub-heading {
  border-bottom: 1px solid #e5e7eb;
  color: #111827;
}

#sogyo-lp .lp-sub-heading-center {
  letter-spacing: 0.03em;
  color: #111827;
}

#sogyo-lp .lp-strong {
  color: #059669; /* 少し落ち着いたグリーン */
  font-weight: 600;
}

/* =================================== */
/* CTAカラーをシミュレーターと揃える */
/* =================================== */
#sogyo-lp .lp-final-form-wrapper .wpcf7-submit {
  background-color: #f97316;       /* 上のシミュレーターと同系色 */
  font-weight: 700;
}

#sogyo-lp .lp-final-form-wrapper .wpcf7-submit:hover {
  background-color: #fb923c;
}

/* =================================== */
/* プロフィール・ロゴ周りの整理 */
/* =================================== */
#sogyo-lp .lp-profile-block {
  gap: 24px;
}

#sogyo-lp .lp-profile-text p {
  font-size: 15px;
  line-height: 1.8;
}

/* =================================== */
/* スマホでの見え方の微調整 */
/* =================================== */
@media screen and (max-width: 767px) {
  #sogyo-lp .lp-section {
    padding: 40px 0;
  }

  #sogyo-lp .lp-section-hero {
    padding: 40px 0 32px;
  }

  #sogyo-lp .lp-main-catch {
    font-size: 28px;
  }

  #sogyo-lp .lp-merits {
    font-size: 16px;
    margin: 24px 0;
  }

  #sogyo-lp .lp-simulator-wrapper {
    margin-top: 24px;
    padding: 16px 14px;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
  }

  #sogyo-lp .lp-pack-info {
    padding: 20px;
  }

  #sogyo-lp .lp-final-form-wrapper {
    padding: 24px 18px;
  }
}
/* ヒーロー内の文字位置を中央揃えに戻す */
#sogyo-lp .lp-section-hero {
  text-align: center;
}

/* 見出しとメリットの横幅をカードとだいたい揃える（任意） */
#sogyo-lp .lp-main-catch,
#sogyo-lp .lp-merits {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
/* ヒーロー画像の上にうす暗いオーバーレイをかける */
.lp-section-hero {
  position: relative;
  color: #fff;
}

.lp-section-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); /* 数字を増やすと暗くなります（0.35→0.5など） */
  z-index: 0;
}

/* 中身はオーバーレイの上に表示する */
.lp-section-hero .lp-container {
  position: relative;
  z-index: 1;
}
