@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD - INVESTOR COMMUNICATIONS
    Version: 1.0.0
    Description: INVESTOR COMMUNICATIONS コーポレートサイト用カスタムスタイル
*/

/* ===================================================
   1. ブランドCSS変数定義
   =================================================== */
:root {
    --ic-primary:       #0A854E;  /* ブランド緑 */
    --ic-primary-dark:  #207545;  /* グラデ終点 */
    --ic-footer-bg:     #1B5E39;  /* フッター濃緑（要スポイト微調整） */
    --ic-gold:          #C9A95C;  /* 時価総額バッジ文字色 */
    --ic-gray-bg:       #F5F5F5;  /* セクション背景グレー */
    --ic-text:          #333333;  /* 本文テキスト */
    --ic-border:        #E0E0E0;  /* ボーダー・区切り線 */
    --ic-white:         #FFFFFF;
    --ic-gradient: linear-gradient(90deg, #0A854E 0%, #207545 100%);
    --ic-gradient-btn: linear-gradient(90deg, #0A854E 0%, #207545 100%);
}

/* ===================================================
   2. フォント設定（Google Fonts: Noto Sans JP）
   ※ functions.php でのwp_enqueue_style推奨だが
     緊急時はここの @import でもOK
   =================================================== */
/* @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap'); */

body {
    font-family: 'Noto Sans JP', 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN',
                 'メイリオ', Meiryo, sans-serif;
    color: var(--ic-text);
}

/* ===================================================
   3. グローバルリンク・アクセントカラー上書き
   =================================================== */
a { color: var(--ic-primary); }
a:hover { color: var(--ic-primary-dark); }

/* ===================================================
   4. ヘッダー
   =================================================== */
/* ヘッダー全体 */
#header {
    background: var(--ic-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* ナビリンクホバー */
#grMenu .menu-item > a:hover,
#grMenu .menu-item > a:focus {
    color: var(--ic-primary);
}

/* ヘッダーボタン（資料ダウンロード） */
.p-headerBtn a,
.l-header__btn a {
    background: var(--ic-gradient-btn);
    border: none;
    color: var(--ic-white) !important;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: opacity 0.2s;
}
.p-headerBtn a:hover,
.l-header__btn a:hover {
    opacity: 0.85;
    color: var(--ic-white) !important;
}

/* ===================================================
   5. ボタン共通（緑グラデ）
   =================================================== */
.c-btn,
.wp-block-button__link,
button[type="submit"],
input[type="submit"] {
    background: var(--ic-gradient-btn);
    border: none;
    border-radius: 4px;
    color: var(--ic-white);
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: opacity 0.2s;
}
.c-btn:hover,
.wp-block-button__link:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
    opacity: 0.85;
    color: var(--ic-white);
}

/* ゴーストボタン（白枠・フッター用） */
.c-btn--ghost,
.btn--ghost {
    background: transparent;
    border: 2px solid var(--ic-white);
    color: var(--ic-white) !important;
}
.c-btn--ghost:hover,
.btn--ghost:hover {
    background: var(--ic-white);
    color: var(--ic-primary) !important;
}

/* ===================================================
   6. FV（ファーストビュー）
   =================================================== */
#firstView,
.p-firstView {
    position: relative;
    background: linear-gradient(135deg, #0A854E 0%, #207545 60%, #1a5c38 100%);
    min-height: 680px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* FVキャッチコピー */
.fv-catch {
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 900;
    line-height: 1.3;
    color: var(--ic-white);
    letter-spacing: 0.03em;
}

.fv-catch span.ic-highlight {
    color: #A8F0CE; /* 緑の中の明るいアクセント */
}

/* FVサブキャッチ */
.fv-sub {
    font-size: clamp(13px, 1.8vw, 18px);
    color: rgba(255,255,255,0.9);
    margin-top: 16px;
    line-height: 1.7;
}

/* FV チェックリスト */
.fv-checklist {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}
.fv-checklist li {
    color: var(--ic-white);
    font-weight: 700;
    font-size: 15px;
    padding-left: 28px;
    position: relative;
    margin-bottom: 10px;
}
.fv-checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #A8F0CE;
    font-weight: 900;
}

/* 時価総額バッジ */
.market-cap-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}
.market-cap-badge {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border: 1px solid var(--ic-gold);
    border-radius: 6px;
    padding: 8px 16px;
    text-align: center;
}
.market-cap-badge .badge-value {
    font-size: 18px;
    font-weight: 900;
    color: var(--ic-gold);
}
.market-cap-badge .badge-label {
    font-size: 10px;
    color: rgba(255,255,255,0.7);
    display: block;
}

/* ===================================================
   7. セクション共通
   =================================================== */
/* セクション英語ラベル（イタリック） */
.section-en-label {
    font-style: italic;
    font-size: 13px;
    font-weight: 700;
    color: var(--ic-primary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
}

/* セクションタイトル */
.section-title {
    font-size: clamp(20px, 3vw, 34px);
    font-weight: 900;
    color: var(--ic-text);
    line-height: 1.3;
}

/* セクション区切りライン（タイトル下の緑線） */
.section-title::after,
.section-title-line {
    display: block;
    content: '';
    width: 48px;
    height: 3px;
    background: var(--ic-primary);
    margin-top: 12px;
}

/* グレー背景セクション */
.section-bg-gray {
    background: var(--ic-gray-bg);
}

/* ===================================================
   8. サービス一覧セクション（トップ）
   =================================================== */
.service-list {
    list-style: none;
    padding: 0;
}
.service-list li {
    padding: 16px 0;
    border-bottom: 1px solid var(--ic-border);
    display: flex;
    align-items: center;
    gap: 16px;
}
.service-list li:last-child { border-bottom: none; }

/* 緑丸ポイント */
.service-list li::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--ic-primary);
    flex-shrink: 0;
}
.service-list li a {
    font-weight: 700;
    font-size: 17px;
    color: var(--ic-text);
    text-decoration: none;
    transition: color 0.2s;
}
.service-list li a:hover { color: var(--ic-primary); }

/* ===================================================
   9. CTA帯（緑グラデ・全幅）
   =================================================== */
.cta-band {
    background: var(--ic-gradient);
    padding: 64px 24px;
    text-align: center;
}
.cta-band .cta-title {
    font-size: clamp(18px, 2.5vw, 28px);
    font-weight: 900;
    color: var(--ic-white);
    margin-bottom: 24px;
}
.cta-band .cta-lead {
    color: rgba(255,255,255,0.9);
    margin-bottom: 32px;
    font-size: 15px;
}
.cta-band .wp-block-button__link {
    background: var(--ic-white);
    color: var(--ic-primary) !important;
    padding: 16px 48px;
    font-size: 16px;
    font-weight: 900;
    border-radius: 4px;
    transition: all 0.2s;
}
.cta-band .wp-block-button__link:hover {
    background: #f0f0f0;
    opacity: 1;
}

/* ===================================================
   10. フッター
   =================================================== */
#footer,
.l-footer {
    background: var(--ic-footer-bg) !important;
    color: var(--ic-white);
}
.l-footer a {
    color: rgba(255,255,255,0.8);
    transition: color 0.2s;
}
.l-footer a:hover { color: var(--ic-white); }

/* フッターコピーライト */
.l-footer__copyright {
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    padding: 16px 0;
    border-top: 1px solid rgba(255,255,255,0.15);
}

/* ===================================================
   11. ページヘッダー帯（下層ページ）
   =================================================== */
.l-eyecatch,
.p-pageHeader {
    background: var(--ic-gray-bg);
    padding: 48px 24px;
    border-bottom: 3px solid var(--ic-primary);
}
.p-pageHeader .section-en-label {
    font-size: 12px;
    margin-bottom: 4px;
}
.p-pageHeader .page-title {
    font-size: clamp(22px, 4vw, 38px);
    font-weight: 900;
    color: var(--ic-text);
}

/* ===================================================
   12. サービス詳細ページ
   =================================================== */
/* メインビジュアル「Mission」透かし文字 */
.service-mv {
    position: relative;
    overflow: hidden;
}
.service-mv .mission-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(60px, 12vw, 120px);
    font-weight: 900;
    font-style: italic;
    color: rgba(255,255,255,0.15);
    letter-spacing: 0.1em;
    pointer-events: none;
    white-space: nowrap;
}

/* サービスMenuカード */
.service-menu-card {
    background: var(--ic-white);
    border: 1px solid var(--ic-border);
    border-top: 4px solid var(--ic-primary);
    border-radius: 4px;
    padding: 24px;
}
.service-menu-card .card-title {
    font-weight: 900;
    font-size: 17px;
    color: var(--ic-text);
    margin-bottom: 12px;
}
.service-menu-card .card-body {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
}

/* Case実績カード */
.case-card {
    background: var(--ic-white);
    border: 1px solid var(--ic-border);
    border-radius: 6px;
    padding: 20px;
    text-align: center;
}
.case-card .case-sector {
    font-size: 11px;
    font-weight: 700;
    color: var(--ic-primary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.case-card .case-metric {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 900;
    color: var(--ic-text);
}
.case-card .case-label {
    font-size: 13px;
    color: #777;
    margin-top: 4px;
}

/* ===================================================
   13. お問い合わせフォーム（CF7）
   =================================================== */
.wpcf7-form {
    max-width: 700px;
    margin: 0 auto;
}
.wpcf7-form .form-row {
    margin-bottom: 20px;
}
.wpcf7-form label {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
    font-size: 14px;
}
.wpcf7-form label .required {
    color: #e05252;
    font-size: 11px;
    margin-left: 4px;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    border: 1px solid var(--ic-border);
    border-radius: 4px;
    padding: 12px 14px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--ic-primary);
    box-shadow: 0 0 0 3px rgba(10,133,78,0.12);
}
.wpcf7-form textarea { min-height: 160px; resize: vertical; }
.wpcf7-form input[type="submit"] {
    background: var(--ic-gradient-btn);
    color: var(--ic-white);
    border: none;
    padding: 16px 64px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: opacity 0.2s;
}
.wpcf7-form input[type="submit"]:hover { opacity: 0.85; }

/* ===================================================
   14. レスポンシブ（モバイル < 768px）
   =================================================== */
@media (max-width: 767px) {
    .fv-catch { font-size: 26px; }
    .cta-band { padding: 48px 20px; }
    .market-cap-badges { justify-content: center; }
    .service-menu-card { margin-bottom: 16px; }
    .case-card { margin-bottom: 12px; }

    /* ナビをハンバーガー時の緑表示 */
    #spMenu .menu-item > a:hover {
        color: var(--ic-primary);
    }
}

/* ===================================================
   15. 選ばれる理由（Feature）カード
   =================================================== */
.feature-card {
    background: var(--ic-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.feature-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.feature-card .feature-content {
    padding: 24px;
}
.feature-card .feature-number {
    font-size: 11px;
    font-weight: 700;
    color: var(--ic-primary);
    letter-spacing: 0.1em;
}
.feature-card .feature-title {
    font-size: 18px;
    font-weight: 900;
    margin: 8px 0;
}
.feature-card .feature-body {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
}

/* ===================================================
   16. イベント・セミナー案内（Event セクション）
   =================================================== */
.event-section {
    background: var(--ic-white);
    padding: 64px 0;
}
.event-list {
    list-style: none;
    padding: 0;
}
.event-list-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--ic-border);
}
.event-date {
    font-size: 13px;
    color: var(--ic-primary);
    font-weight: 700;
    white-space: nowrap;
    min-width: 90px;
}
.event-cat {
    display: inline-block;
    font-size: 11px;
    padding: 2px 8px;
    border: 1px solid var(--ic-primary);
    color: var(--ic-primary);
    border-radius: 2px;
    margin-bottom: 6px;
}
.event-title a {
    font-weight: 700;
    color: var(--ic-text);
    text-decoration: none;
}
.event-title a:hover { color: var(--ic-primary); }

/* ===================================================
   21. l-inner コンテナ（ブロックHTML共通コンテナ）
   =================================================== */
.l-inner {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}
@media (max-width: 767px) {
    .l-inner {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* ===================================================
   22. FV全幅対応（コンテナ幅制限を完全除去・全幅化）
   =================================================== */
/* IDセレクタで最高 specificity → SWELLの .top #content {4em} / .l-content {2em} を確実に上書き */
html body #body_wrap.top #content.l-content {
    padding-top: 0 !important;
    margin-top: -32px !important;
}
#body_wrap.top .l-content.l-container {
    max-width: 100% !important;
    padding-top: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
#body_wrap.top .l-mainContent.l-article {
    max-width: 100% !important;
    width: 100% !important;
}
#body_wrap.top .l-mainContent__inner {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
#body_wrap.top .post_content {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.ic-fv {
    min-height: 600px;
}

/* ===================================================
   23. FV内 wpautop空Pタグ除去
   =================================================== */
.ic-fv p:empty {
    display: none;
    margin: 0;
    padding: 0;
}

/* ===================================================
   24. 固定CTAボタン位置調整（バッジグリッド行2/3との重なり解消）
   =================================================== */
div[style*="position:fixed"][style*="right:0"][style*="top:50%"] {
    top: auto !important;
    bottom: 80px !important;
    transform: none !important;
}

/* ===================================================
   25. ナビゲーション CTA ボタン（参照サイト準拠）
   =================================================== */
/* 「各種サービス資料請求」 → 緑グラデーションピルボタン */
.p-headerNav__item .nav-cta-green > a,
.p-globalNav__item .nav-cta-green > a,
li.nav-cta-green > a {
    background: linear-gradient(90deg, #207545, #0A854E) !important;
    color: #fff !important;
    padding: 8px 20px !important;
    border-radius: 100px !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    font-size: 13px !important;
    white-space: nowrap !important;
    transition: opacity .2s !important;
}
li.nav-cta-green > a:hover {
    opacity: 0.85 !important;
}

/* ===================================================
   26. ヘッダーナビテキストカラー（白背景ヘッダー対応）
   =================================================== */
/* SWELL デフォルトで白になっているナビ文字・ロゴを黒に戻す */
.l-header__gnav a,
.l-header__gnav .p-globalNav__item > a {
    color: #222 !important;
}
.c-headLogo__link,
.l-header__logo a {
    color: #1a1a1a !important;
    text-decoration: none !important;
}
/* CTAグリーンピルは白テキスト維持 */
li.nav-cta-green > a {
    color: #fff !important;
}

/* ===================================================
   27. ヘッダーキャッチコピーバー非表示（参照サイトに不在）
   =================================================== */
.c-catchphrase {
    display: none !important;
}

/* ===================================================
   28. ヘッダー全幅化（l-header__inner の l-container 制限除去）
   =================================================== */
.l-header__inner.l-container {
    max-width: 100% !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
}
