/* ================================================================
   SuiseiTech Cosmic Tech Theme — custom.css
   适用于 WordPress Lightning G3 子主题
   ================================================================ */

/* ----- CSS变量 ----- */
:root {
    --st-bg: #0A0E1A;
    --st-bg2: #0D1B2A;
    --st-blue: #00D4FF;
    --st-cyan: #00F5D4;
    --st-violet: #7B61FF;
    --st-gold: #FFD700;
    --st-text: #FFFFFF;
    --st-text2: #A0B4C8;
    --st-text3: #5A7088;
    --st-glass: rgba(13, 27, 42, 0.6);
    --st-border: rgba(0, 212, 255, 0.12);
    --st-font: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
    --st-font-en: 'Outfit', sans-serif;
    --st-radius: 16px;
}

/* ================================================================
   A. 全局基础
   ================================================================ */
body {
    font-family: var(--st-font) !important;
    background-color: var(--st-bg) !important;
    color: var(--st-text) !important;
    background-image: none !important;
    background-attachment: fixed !important;
    overflow-x: hidden;
}

a {
    color: var(--st-blue);
    transition: color 0.3s;
}

a:hover {
    color: var(--st-cyan);
}

::selection {
    background: rgba(0, 212, 255, 0.3);
    color: #fff;
}

/* ================================================================
   B. Header（ナビゲーション）
   ================================================================ */

/* --- B1. Header背景透明化 --- */
.site-header,
header.site-header {
    background: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative;
    z-index: 100;
}

/* --- B2. Header滚动后的毛玻璃效果（由JS添加class） --- */
.site-header.st-scrolled {
    background: rgba(10, 14, 26, 0.92) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid var(--st-border) !important;
}

/* --- B3. Logo --- */
.site-header-logo a {
    color: var(--st-text) !important;
    text-decoration: none !important;
}

.site-header-logo img {
    /* 适配深色背景：根据实际Logo效果选择下方某行取消注释 */
    /* filter: brightness(0) invert(1); */
    /* Logo反转为白色 */
    /* filter: brightness(1.5); */
    /* Logo提亮 */
    max-height: 40px !important;
}

/* --- B4. 全局导航链接 --- */
.global-nav,
.global-nav ul,
.site-header .container {
    background: transparent !important;
    background: transparent !important;
}

/* サイトタイトル（ロゴ）の装飾 */
.site-header-logo,
a.navbar-brand {
    font-family: var(--st-font-jp) !important;
    font-weight: 800 !important;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #fff 30%, var(--st-cyan) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
}

.site-header-logo:hover,
a.navbar-brand:hover {
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
    transform: scale(1.02);
}

.global-nav .nav>li>a {
    color: var(--st-text2) !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.04em !important;
    padding: 0.8rem 1.2rem !important;
    position: relative !important;
    transition: color 0.3s !important;
    background: transparent !important;
}

.global-nav .nav>li>a::after {
    content: '' !important;
    position: absolute !important;
    bottom: 4px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 0 !important;
    height: 2px !important;
    background: linear-gradient(90deg, var(--st-blue), var(--st-cyan)) !important;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.global-nav .nav>li>a:hover,
.global-nav .nav>li.current-menu-item>a,
.global-nav .nav>li.current_page_item>a {
    color: var(--st-text) !important;
    background: transparent !important;
}

.global-nav .nav>li>a:hover::after,
.global-nav .nav>li.current-menu-item>a::after,
.global-nav .nav>li.current_page_item>a::after {
    width: 80% !important;
}

/* --- B5. 子菜单（ドロップダウン） --- */
.global-nav .sub-menu {
    background: rgba(10, 14, 26, 0.95) !important;
    border: 1px solid var(--st-border) !important;
    border-radius: 12px !important;
    backdrop-filter: blur(20px) !important;
    overflow: hidden !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4) !important;
}

.global-nav .sub-menu a {
    color: var(--st-text2) !important;
    padding: 0.7rem 1.5rem !important;
    font-size: 0.85rem !important;
}

.global-nav .sub-menu a:hover {
    color: var(--st-text) !important;
    background: rgba(0, 212, 255, 0.05) !important;
}

/* --- B6. モバイルメニュー --- */
.vk-mobile-nav {
    background: rgba(10, 14, 26, 0.98) !important;
}

.vk-mobile-nav a {
    color: var(--st-text2) !important;
    border-color: var(--st-border) !important;
}

.vk-mobile-nav-menu-btn {
    z-index: 1001 !important;
}

.vk-mobile-nav-menu-btn span,
.vk-mobile-nav-menu-btn span::before,
.vk-mobile-nav-menu-btn span::after {
    background: var(--st-text) !important;
}

/* ================================================================
   C. ページヘッダー（パンくずリスト含む）
   ================================================================ */
.page-header {
    background: linear-gradient(180deg, rgba(13, 27, 42, 0.95), rgba(10, 14, 26, 0.98)) !important;
    border-bottom: 1px solid var(--st-border) !important;
    padding: 6rem 0 2.5rem !important;
    position: relative;
    z-index: 1;
}

.page-header-title,
.page-header h1 {
    color: var(--st-text) !important;
    font-weight: 900 !important;
    font-size: clamp(1.8rem, 4vw, 2.5rem) !important;
    font-family: var(--st-font) !important;
}

/* タイトル下のアクセントライン */
.page-header-title::after,
.page-header h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--st-blue), var(--st-cyan));
    margin-top: 1rem;
}

/* パンくず */
.breadcrumb {
    background: transparent !important;
}

.breadcrumb,
.breadcrumb a,
.breadcrumb li,
.breadcrumb span {
    color: var(--st-text3) !important;
}

.breadcrumb a:hover {
    color: var(--st-cyan) !important;
}

/* ================================================================
   D. コンテンツエリア
   ================================================================ */
.site-body,
.site-body-container,
.main-section,
.entry-body,
.vk_post_body {
    background: transparent !important;
    color: var(--st-text) !important;
}

.main-section {
    position: relative;
    z-index: 1;
}

.entry-body p {
    color: var(--st-text2) !important;
    line-height: 2 !important;
}

.entry-body h2 {
    color: var(--st-text) !important;
    border-color: var(--st-blue) !important;
}

.entry-body h3 {
    color: var(--st-text) !important;
}

/* ================================================================
   E. ガラスカード（共通コンポーネント）
   ================================================================ */
.st-card {
    background: var(--st-glass) !important;
    border: 1px solid var(--st-border) !important;
    border-radius: 24px !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    padding: 2.5rem !important;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
    overflow: hidden;
}

.st-card:hover {
    transform: translateY(-6px) !important;
    border-color: rgba(0, 212, 255, 0.25) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(0, 212, 255, 0.05) !important;
}

/* ================================================================
   F. ボタン
   ================================================================ */
.btn,
.btn-primary,
.vk_button_link,
.wp-block-button__link,
input[type="submit"],
button[type="submit"] {
    background: linear-gradient(135deg, var(--st-blue), var(--st-violet)) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 60px !important;
    padding: 0.85rem 2rem !important;
    font-family: var(--st-font) !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    transition: all 0.3s !important;
    cursor: pointer !important;
    text-decoration: none !important;
}

.btn:hover,
.btn-primary:hover,
.vk_button_link:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 40px rgba(0, 212, 255, 0.35) !important;
    color: #fff !important;
}

/* ================================================================
   G. テーブル（会社情報などに使用）
   ================================================================ */
table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    width: 100% !important;
    border-radius: var(--st-radius) !important;
    overflow: hidden !important;
    border: 1px solid var(--st-border) !important;
}

table th {
    background: rgba(0, 212, 255, 0.06) !important;
    color: var(--st-cyan) !important;
    font-weight: 600 !important;
    padding: 1rem 1.5rem !important;
    border-bottom: 1px solid var(--st-border) !important;
    border-right: 1px solid var(--st-border) !important;
    text-align: left !important;
    white-space: nowrap !important;
    width: 160px !important;
}

table td {
    background: rgba(13, 27, 42, 0.4) !important;
    color: var(--st-text2) !important;
    padding: 1rem 1.5rem !important;
    border-bottom: 1px solid var(--st-border) !important;
}

table tr:last-child th,
table tr:last-child td {
    border-bottom: none !important;
}

table tr:hover td,
table tr:hover th {
    background: rgba(0, 212, 255, 0.03) !important;
}

/* ================================================================
   H. フォーム入力
   ================================================================ */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
textarea,
select {
    background: rgba(13, 27, 42, 0.8) !important;
    border: 1px solid var(--st-border) !important;
    border-radius: 12px !important;
    color: var(--st-text) !important;
    padding: 0.8rem 1.2rem !important;
    font-family: var(--st-font) !important;
    transition: border-color 0.3s !important;
    width: 100% !important;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--st-blue) !important;
    outline: none !important;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.1) !important;
}

label {
    color: var(--st-text2) !important;
    font-weight: 500 !important;
}

::placeholder {
    color: var(--st-text3) !important;
}

/* ================================================================
   I. お知らせ（投稿リスト）
   ================================================================ */
.media.vk_post {
    background: var(--st-glass) !important;
    border: 1px solid var(--st-border) !important;
    border-radius: var(--st-radius) !important;
    margin-bottom: 1rem !important;
    padding: 1.5rem !important;
    transition: all 0.4s !important;
}

.media.vk_post:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(0, 212, 255, 0.2) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}

.vk_post_title a {
    color: var(--st-text) !important;
    font-weight: 700 !important;
}

.vk_post_title a:hover {
    color: var(--st-cyan) !important;
}

.vk_post_excerpt,
.vk_post_date {
    color: var(--st-text3) !important;
}

.vk_post_imgOuter_singleTermLabel,
.badge {
    background: linear-gradient(135deg, var(--st-blue), var(--st-violet)) !important;
    color: #fff !important;
    border-radius: 20px !important;
    font-size: 0.75rem !important;
}

/* ================================================================
   J. サイドバー
   ================================================================ */
.sub-section,
.widget {
    background: var(--st-glass) !important;
    border: 1px solid var(--st-border) !important;
    border-radius: var(--st-radius) !important;
    padding: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}

.widget-title,
.sub-section-title {
    color: var(--st-text) !important;
    font-weight: 700 !important;
    border-bottom: 2px solid var(--st-blue) !important;
    padding-bottom: 0.8rem !important;
}

.widget a,
.sub-section a {
    color: var(--st-text3) !important;
}

.widget a:hover,
.sub-section a:hover {
    color: var(--st-cyan) !important;
}

/* ================================================================
   K. フッター
   ================================================================ */
.site-footer {
    background: rgba(10, 14, 26, 0.95) !important;
    border-top: 1px solid var(--st-border) !important;
    color: var(--st-text3) !important;
    position: relative;
    z-index: 1;
}

.site-footer a {
    color: var(--st-text3) !important;
}

.site-footer a:hover {
    color: var(--st-cyan) !important;
}

.site-footer .widget-title {
    border-bottom-color: rgba(0, 212, 255, 0.2) !important;
}

.site-footer-copyright {
    border-top: 1px solid var(--st-border) !important;
    color: var(--st-text3) !important;
    background: transparent !important;
}

.site-footer-copyright a {
    color: var(--st-text3) !important;
}

/* 隐藏 Powered by WordPress 等 */
.site-footer-copyright p:nth-of-type(n+2),
.site-footer-copyright .powered-by {
    display: none !important;
}

/* ================================================================
   L. ホームページ専用スタイル
   ================================================================ */

/* --- L1. 全幅表示 --- */
.home .site-body-container {
    max-width: 100% !important;
    padding: 0 !important;
}

.home .main-section {
    max-width: 100% !important;
    padding: 0 !important;
}

.home .sub-section {
    display: none !important;
}

.home .page-header {
    display: none !important;
}

/* --- L2. Hero --- */
.st-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 1;
}

.st-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.st-hero-glow {
    position: absolute;
    width: 900px;
    height: 900px;
    border-radius: 50%;
    top: -200px;
    right: -200px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.08), rgba(123, 97, 255, 0.04), transparent 70%);
    animation: stGlow 6s ease-in-out infinite alternate;
}

.st-hero-glow2 {
    top: auto;
    bottom: -300px;
    left: -200px;
    right: auto;
    background: radial-gradient(circle, rgba(123, 97, 255, 0.06), rgba(0, 245, 212, 0.03), transparent 70%);
    animation-delay: 3s;
}

@keyframes stGlow {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.15);
        opacity: 1;
    }
}

.st-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at 60% 40%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 60% 40%, black 20%, transparent 70%);
}

.st-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 3rem;
    text-align: center;
}

.st-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.2rem;
    border: 1px solid var(--st-border);
    border-radius: 50px;
    background: var(--st-glass);
    backdrop-filter: blur(12px);
    font-size: 0.82rem;
    color: var(--st-cyan);
    font-weight: 500;
    letter-spacing: 0.08em;
    margin-bottom: 2rem;
    animation: stUp 0.8s ease-out 0.2s both;
}

.st-hero-tag-dot {
    width: 8px;
    height: 8px;
    background: var(--st-cyan);
    border-radius: 50%;
    display: inline-block;
    animation: stPulse 2s ease-in-out infinite;
}

@keyframes stPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.7);
    }
}

.st-hero h1 {
    font-family: var(--st-font) !important;
    font-size: clamp(2.2rem, 5vw, 4rem) !important;
    font-weight: 900 !important;
    line-height: 1.35 !important;
    margin-bottom: 1.5rem !important;
    animation: stUp 0.8s ease-out 0.4s both;
}

.st-grad {
    background: linear-gradient(135deg, var(--st-blue), var(--st-cyan), var(--st-violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.st-hero-sub {
    font-size: 1.1rem;
    color: var(--st-text2);
    max-width: 600px;
    line-height: 2;
    margin: 0 auto 2.5rem;
    animation: stUp 0.8s ease-out 0.6s both;
}

.st-hero-btns {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: stUp 0.8s ease-out 0.8s both;
}

.st-btn1 {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2.4rem;
    background: linear-gradient(135deg, var(--st-blue), var(--st-violet));
    color: #fff !important;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 60px;
    text-decoration: none !important;
    transition: all 0.3s;
}

.st-btn1:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 212, 255, 0.35);
    color: #fff !important;
}

.st-btn2 {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2.4rem;
    background: transparent;
    color: var(--st-text) !important;
    font-weight: 500;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 60px;
    text-decoration: none !important;
    transition: all 0.3s;
}

.st-btn2:hover {
    border-color: var(--st-blue);
    background: rgba(0, 212, 255, 0.05);
    transform: translateY(-3px);
    color: var(--st-text) !important;
}

@keyframes stUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- L3. セクション --- */
.st-sec {
    position: relative;
    z-index: 1;
    padding: 6rem 0;
}

.st-sec-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
}

.st-label {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--st-font-en);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--st-cyan);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.st-label::before {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--st-cyan);
}

.st-sec-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem) !important;
    font-weight: 900 !important;
    line-height: 1.35 !important;
    margin-bottom: 1rem !important;
    color: var(--st-text) !important;
}

.st-sec-desc {
    font-size: 1rem;
    color: var(--st-text2);
    max-width: 600px;
    line-height: 2;
    margin-bottom: 3rem;
}

/* --- L4. Valuesグリッド --- */
.st-grid2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.st-grid3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.st-vcard {
    position: relative;
    padding: 3rem;
    background: var(--st-glass);
    border: 1px solid var(--st-border);
    border-radius: 24px;
    backdrop-filter: blur(16px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.st-vcard:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 255, 0.25);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 60px rgba(0, 212, 255, 0.05);
}

.st-vnum {
    font-family: var(--st-font-en);
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.12), rgba(0, 245, 212, 0.06));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.st-vkw {
    font-family: var(--st-font-en);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.st-vh {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.5;
    color: var(--st-text);
}

.st-vp {
    font-size: 0.95rem;
    color: var(--st-text2);
    line-height: 2;
}

/* --- L5. CTA --- */
.st-cta {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 3rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.06), rgba(123, 97, 255, 0.06));
    border: 1px solid var(--st-border);
    border-radius: 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.st-cta::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--st-blue), var(--st-cyan), transparent);
}

/* ================================================================
   M. 下層ページ共通
   ================================================================ */
.st-page-inner {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

/* ================================================================
   N. スクロールアニメーション
   ================================================================ */
.st-rv {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.st-rv.st-show {
    opacity: 1;
    transform: translateY(0);
}

.st-d1 {
    transition-delay: 0.1s;
}

.st-d2 {
    transition-delay: 0.2s;
}

.st-d3 {
    transition-delay: 0.3s;
}

.st-d4 {
    transition-delay: 0.4s;
}

/* ================================================================
   O. レスポンシブ
   ================================================================ */
@media (max-width: 991px) {

    .st-grid2,
    .st-grid3 {
        grid-template-columns: 1fr;
    }

    .st-hero-inner {
        padding: 0 2rem;
    }

    .st-sec-inner {
        padding: 0 2rem;
    }

    .st-cta {
        margin: 0 1.5rem;
        padding: 3rem 2rem;
    }
}

@media (max-width: 767px) {
    .st-hero h1 {
        font-size: 1.8rem !important;
    }

    .st-hero-btns {
        flex-direction: column;
    }

    .st-hero-inner {
        padding: 0 1.5rem;
    }

    .st-sec-inner {
        padding: 0 1.5rem;
    }

    .st-vcard {
        padding: 2rem;
    }

    .st-sec {
        padding: 4rem 0;
    }

    /* Fix: Force display content on mobile to avoid IntersectionObserver issues on long pages */
    .st-rv {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* --- Map --- */
.st-map-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.st-map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dark Mode Filter: 反転して地図をダークモードっぽくする小技（任意） */
    filter: invert(90%) hue-rotate(180deg) contrast(90%);
}

/* --- Privacy Policy & Terms --- */

/* Fix: Disable backdrop-filter on long content to prevent rendering issues */
.st-privacy-policy.st-card {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(13, 27, 42, 0.95) !important;
}

/* Fix: Disable animation on privacy policy page to ensure visibility on all devices */
.st-privacy-policy.st-rv {
    opacity: 1 !important;
    transform: none !important;
}

.st-privacy-policy .st-vp {
    color: var(--st-text);
    /* 強制的に白（明るい色）に統一 */
}

.st-vp ul,
.st-vp ol {
    margin: 1rem 0 1rem 1.5rem;
}

.st-vp li {
    margin-bottom: 0.5rem;
}

/* ================================================================
   P. Contact Form 7 Customization
   ================================================================ */
/* 错误提示文字颜色 (如必填项未填) */
.wpcf7-not-valid-tip {
    color: #ff6b6b !important;
    font-size: 0.9em;
    margin-top: 0.5em;
    font-weight: 500;
    display: block !important;
    /* Ensure it breaks to new line */
}

/* 全局响应消息框 (发送成功/失败) */
.wpcf7-response-output {
    background: rgba(13, 27, 42, 0.9) !important;
    border: 1px solid var(--st-blue) !important;
    border-radius: 12px !important;
    padding: 1rem 1.5rem !important;
    margin: 2rem 0 !important;
    color: var(--st-text) !important;
    backdrop-filter: blur(10px);
}

/* 成功消息 */
.wpcf7 form.sent .wpcf7-response-output {
    border-color: var(--st-cyan) !important;
    background: rgba(0, 245, 212, 0.1) !important;
    color: var(--st-text) !important;
}

/* 失败/无效消息 */
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
    border-color: #ff6b6b !important;
    background: rgba(255, 107, 107, 0.1) !important;
    color: #ff6b6b !important;
}

/* 加载动画修正 */
.wpcf7-spinner {
    background-color: var(--st-cyan) !important;
    margin-left: 10px !important;
}