/*
Theme Name: DOM Theme
Theme URI: https://dom1021.com
Author: dom株式会社
Description: AI資産運用 - dom株式会社公式サイト
Version: 1.0
*/

/* ===== リセット・基本 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    background: #080C1E;
    color: #E2E8F0;
    font-family: 'Segoe UI', 'Helvetica Neue', 'Hiragino Sans', sans-serif;
    line-height: 1.7;
}
a { color: #4F8EF7; text-decoration: none; }
a:hover { color: #00D4FF; }
img { max-width: 100%; height: auto; display: block; }

/* ===== ヘッダー・ナビ ===== */
#site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(8,12,30,0.97);
    border-bottom: 1px solid rgba(79,142,247,0.2);
    backdrop-filter: blur(10px);
    padding: 0 2.5rem;
    display: flex; align-items: center; justify-content: space-between;
    height: 68px;
}
.site-logo a {
    font-size: 1.5rem; font-weight: 900; letter-spacing: 2px;
    background: linear-gradient(90deg, #4F8EF7, #00D4FF);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.site-logo .logo-sub {
    font-size: 0.65rem; color: #475569; letter-spacing: 1px;
    -webkit-text-fill-color: #475569;
}
nav#primary-nav ul {
    list-style: none; display: flex; gap: 0.3rem; align-items: center;
}
nav#primary-nav ul li a {
    color: #94A3B8; font-size: 0.88rem; font-weight: 600;
    padding: 0.5rem 1rem; border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}
nav#primary-nav ul li a:hover,
nav#primary-nav ul li.current-menu-item a {
    color: #E2E8F0; background: rgba(79,142,247,0.12);
}
nav#primary-nav ul li.menu-cta a {
    background: linear-gradient(90deg, #4F8EF7, #00D4FF);
    color: #080C1E; font-weight: 800; padding: 0.5rem 1.2rem;
    border-radius: 50px;
}
nav#primary-nav ul li.menu-cta a:hover { opacity: 0.85; }

/* ===== メインコンテンツ ===== */
#content { padding-top: 68px; }

/* ===== ヒーロー ===== */
.hero {
    min-height: 92vh;
    background: linear-gradient(135deg, #080C1E 0%, #0D1535 50%, #0A1628 100%);
    display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 5rem 2rem;
    position: relative; overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(79,142,247,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.hero-inner { position: relative; max-width: 800px; }
.hero-badge {
    display: inline-block;
    background: rgba(79,142,247,0.1);
    border: 1px solid rgba(79,142,247,0.3);
    color: #4F8EF7; font-size: 0.75rem; font-weight: 800;
    letter-spacing: 2px; padding: 0.4rem 1.2rem; border-radius: 50px;
    margin-bottom: 1.8rem;
}
.hero-title {
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 900; line-height: 1.2;
    color: #E2E8F0; margin-bottom: 1.5rem;
}
.hero-title .gradient {
    background: linear-gradient(90deg, #4F8EF7, #00D4FF);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub {
    font-size: 1.1rem; color: #64748B; max-width: 560px;
    margin: 0 auto 2.5rem; line-height: 1.9;
}
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-primary {
    background: linear-gradient(90deg, #4F8EF7, #00D4FF);
    color: #080C1E; font-weight: 800; font-size: 1rem;
    padding: 0.9rem 2.2rem; border-radius: 50px; border: none;
    cursor: pointer; transition: opacity 0.2s;
    box-shadow: 0 4px 20px rgba(79,142,247,0.4);
    display: inline-block;
}
.btn-primary:hover { opacity: 0.85; color: #080C1E; }
.btn-outline {
    background: transparent; color: #E2E8F0;
    border: 1.5px solid rgba(79,142,247,0.5);
    font-weight: 600; font-size: 1rem;
    padding: 0.9rem 2.2rem; border-radius: 50px;
    cursor: pointer; transition: all 0.2s; display: inline-block;
}
.btn-outline:hover { border-color: #4F8EF7; color: #4F8EF7; }
.hero-stats {
    display: flex; gap: 3rem; justify-content: center;
    margin-top: 4rem; flex-wrap: wrap;
}
.hero-stat-num {
    font-size: 2.2rem; font-weight: 900;
    background: linear-gradient(90deg, #4F8EF7, #00D4FF);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-stat-label { color: #475569; font-size: 0.82rem; margin-top: 0.2rem; }

/* ===== セクション共通 ===== */
.section { padding: 5rem 4rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-tag {
    display: inline-block;
    background: rgba(79,142,247,0.1); border: 1px solid rgba(79,142,247,0.25);
    color: #4F8EF7; font-size: 0.72rem; font-weight: 800;
    letter-spacing: 2px; padding: 0.3rem 1rem; border-radius: 50px;
    margin-bottom: 1rem;
}
.section-title {
    font-size: 2rem; font-weight: 900; color: #E2E8F0;
    margin-bottom: 0.8rem;
}
.section-sub { color: #64748B; font-size: 0.95rem; max-width: 560px; }
.section-header { text-align: center; margin-bottom: 3.5rem; }

/* ===== サービスカード ===== */
.services-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
    gap: 1.5rem;
}
.service-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(79,142,247,0.15);
    border-radius: 16px; padding: 2rem;
    transition: border-color 0.3s, transform 0.3s;
}
.service-card:hover { border-color: rgba(79,142,247,0.4); transform: translateY(-4px); }
.service-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.service-name { font-size: 1.1rem; font-weight: 800; color: #E2E8F0; margin-bottom: 0.6rem; }
.service-desc { color: #64748B; font-size: 0.88rem; line-height: 1.8; }

/* ===== 特徴セクション ===== */
.feature-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
    align-items: center; margin-bottom: 5rem;
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-visual {
    background: rgba(79,142,247,0.05); border: 1px solid rgba(79,142,247,0.15);
    border-radius: 20px; padding: 3rem;
    font-size: 6rem; text-align: center; min-height: 200px;
    display: flex; align-items: center; justify-content: center;
}
.feature-num { font-size: 4rem; font-weight: 900; color: rgba(79,142,247,0.15); margin-bottom: 0.5rem; }
.feature-title { font-size: 1.5rem; font-weight: 900; color: #E2E8F0; margin-bottom: 1rem; }
.feature-text { color: #64748B; font-size: 0.93rem; line-height: 2; }

/* ===== CTAバナー ===== */
.cta-banner {
    background: linear-gradient(135deg, #0D1B4E, #1a2a6c);
    border: 1px solid rgba(79,142,247,0.25);
    border-radius: 20px; padding: 3.5rem 2rem; text-align: center;
    margin: 2rem 0;
}
.cta-banner h2 { font-size: 1.8rem; font-weight: 900; color: #E2E8F0; margin-bottom: 0.8rem; }
.cta-banner p { color: #94A3B8; margin-bottom: 2rem; }

/* ===== ブログ ===== */
.blog-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
    gap: 1.5rem;
}
.blog-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(79,142,247,0.15);
    border-radius: 16px; overflow: hidden;
    transition: border-color 0.3s, transform 0.3s;
}
.blog-card:hover { border-color: rgba(79,142,247,0.4); transform: translateY(-4px); }
.blog-card-body { padding: 1.5rem; }
.blog-cat {
    display: inline-block; background: rgba(79,142,247,0.12);
    color: #4F8EF7; font-size: 0.72rem; font-weight: 700;
    padding: 0.2rem 0.8rem; border-radius: 50px; margin-bottom: 0.8rem;
}
.blog-card-title { font-size: 1rem; font-weight: 700; color: #E2E8F0; margin-bottom: 0.5rem; line-height: 1.5; }
.blog-card-title a { color: inherit; }
.blog-card-title a:hover { color: #4F8EF7; }
.blog-date { color: #475569; font-size: 0.78rem; }
.blog-excerpt { color: #64748B; font-size: 0.85rem; line-height: 1.8; margin-top: 0.8rem; }

/* ===== シングル記事 ===== */
.single-post { max-width: 800px; margin: 0 auto; padding: 4rem 2rem; }
.single-post h1 { font-size: 2rem; font-weight: 900; color: #E2E8F0; margin-bottom: 1rem; line-height: 1.4; }
.post-meta { color: #475569; font-size: 0.82rem; margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(79,142,247,0.15); }
.post-content { color: #CBD5E1; font-size: 0.97rem; line-height: 2.1; }
.post-content h2 { font-size: 1.4rem; font-weight: 800; color: #E2E8F0; margin: 2.5rem 0 1rem; padding-left: 1rem; border-left: 3px solid #4F8EF7; }
.post-content h3 { font-size: 1.1rem; font-weight: 700; color: #CBD5E1; margin: 2rem 0 0.8rem; }
.post-content p { margin-bottom: 1.5rem; }
.post-content ul, .post-content ol { margin: 1rem 0 1.5rem 1.5rem; }
.post-content li { margin-bottom: 0.4rem; }
.post-content img { border-radius: 12px; margin: 2rem 0; }
.post-content a { color: #4F8EF7; text-decoration: underline; }

/* ===== 社長プロフィールカード ===== */
.president-card {
    display: flex; gap: 2rem; align-items: center;
    background: rgba(79,142,247,0.05); border: 1px solid rgba(79,142,247,0.2);
    border-radius: 16px; padding: 2rem; margin-bottom: 3rem; flex-wrap: wrap;
}
.president-avatar {
    width: 100px; height: 100px; border-radius: 50%; flex-shrink: 0;
    background: linear-gradient(135deg, #4F8EF7, #00D4FF);
    display: flex; align-items: center; justify-content: center; font-size: 3rem;
}
.president-name { font-size: 1.3rem; font-weight: 900; color: #E2E8F0; }
.president-title { color: #4F8EF7; font-size: 0.82rem; margin-top: 0.2rem; }
.president-bio { color: #64748B; font-size: 0.85rem; line-height: 1.8; margin-top: 0.5rem; }

/* ===== お問い合わせフォーム ===== */
.contact-wrap { max-width: 640px; margin: 0 auto; }
.contact-wrap input,
.contact-wrap textarea,
.contact-wrap select {
    width: 100%; background: rgba(255,255,255,0.05);
    border: 1px solid rgba(79,142,247,0.25); border-radius: 10px;
    color: #E2E8F0; padding: 0.85rem 1rem; font-size: 0.93rem;
    font-family: inherit; margin-bottom: 1.2rem;
    transition: border-color 0.2s;
}
.contact-wrap input:focus,
.contact-wrap textarea:focus { outline: none; border-color: #4F8EF7; }
.contact-wrap textarea { min-height: 140px; resize: vertical; }
.contact-wrap label { color: #94A3B8; font-size: 0.82rem; font-weight: 700; display: block; margin-bottom: 0.4rem; }
.contact-wrap .submit-btn {
    background: linear-gradient(90deg, #4F8EF7, #00D4FF);
    color: #080C1E; font-weight: 800; font-size: 1rem;
    padding: 0.9rem 3rem; border-radius: 50px; border: none;
    cursor: pointer; width: 100%;
}

/* ===== フッター ===== */
#site-footer {
    background: #040810; border-top: 1px solid rgba(79,142,247,0.15);
    padding: 3rem 4rem 2rem; text-align: center;
}
.footer-logo {
    font-size: 1.6rem; font-weight: 900; letter-spacing: 2px;
    background: linear-gradient(90deg, #4F8EF7, #00D4FF);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}
.footer-info { color: #334155; font-size: 0.82rem; margin-bottom: 1.5rem; }
.footer-nav { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.footer-nav a { color: #475569; font-size: 0.82rem; }
.footer-nav a:hover { color: #4F8EF7; }
.footer-copy { color: #1E293B; font-size: 0.78rem; }

/* ===== ページヘッダー ===== */
.page-hero {
    background: linear-gradient(135deg, #080C1E, #0D1535);
    padding: 5rem 4rem 4rem; text-align: center;
    border-bottom: 1px solid rgba(79,142,247,0.15);
}
.page-hero .section-tag { margin-bottom: 1rem; }
.page-hero h1 { font-size: 2.2rem; font-weight: 900; color: #E2E8F0; }
.page-hero p { color: #64748B; margin-top: 0.8rem; }

/* ===== 情報テーブル ===== */
.info-table { width: 100%; border-collapse: collapse; }
.info-table td {
    padding: 1rem 1.2rem; border-bottom: 1px solid rgba(79,142,247,0.1);
    font-size: 0.9rem;
}
.info-table td:first-child {
    color: #64748B; font-weight: 700; width: 35%;
    white-space: nowrap;
}
.info-table td:last-child { color: #CBD5E1; }

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
    #site-header { padding: 0 1rem; }
    nav#primary-nav { display: none; }
    .section { padding: 3rem 1.5rem; }
    .feature-row { grid-template-columns: 1fr; gap: 2rem; }
    .feature-row.reverse { direction: ltr; }
    .hero-stats { gap: 2rem; }
    #site-footer { padding: 2rem 1.5rem; }
    .page-hero { padding: 4rem 1.5rem 3rem; }
    .hero { padding: 4rem 1.5rem; }
    .hero-inner { width: 100%; margin: 0 auto; text-align: center; }
    .hero-buttons { display: flex; flex-direction: column; align-items: center; width: 100%; gap: 0.8rem; }
}
