/* ===================================
   リセット & 基本設定
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* ゴールドカラーパレット */
    --gold-primary: #D4AF37;
    --gold-light: #F4E4B0;
    --gold-dark: #B8941F;
    --gold-accent: #FFD700;
    
    /* サポートカラー */
    --dark-bg: #0A0A0A;
    --dark-secondary: #1A1A1A;
    --dark-tertiary: #2A2A2A;
    --text-primary: #FFFFFF;
    --text-secondary: #CCCCCC;
    --text-muted: #888888;
    
    /* タイポグラフィ */
    --font-primary: 'Noto Sans JP', sans-serif;
    --font-accent: 'Montserrat', sans-serif;
    
    /* スペーシング */
    --section-padding: 100px;
    --container-max-width: 1200px;
    
    /* トランジション */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.6s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    background-color: var(--dark-bg);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   ヘッダー
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    transition: var(--transition-medium);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    font-family: var(--font-accent);
    color: var(--gold-primary);
    text-decoration: none;
}

.logo i {
    font-size: 28px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition-fast);
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-accent));
    transition: var(--transition-medium);
}

.nav a:hover {
    color: var(--gold-primary);
}

.nav a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--gold-primary);
    transition: var(--transition-fast);
}

/* ===================================
   ヒーローセクション
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-secondary) 100%);
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(90deg, rgba(212, 175, 55, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(212, 175, 55, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 64px;
    font-weight: 900;
    font-family: var(--font-accent);
    line-height: 1.2;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.title-main {
    display: block;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 50%, var(--gold-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.title-sub {
    display: block;
    color: var(--text-primary);
    margin-top: 10px;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 50px;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 50px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    font-family: var(--font-accent);
    color: var(--gold-primary);
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.stat-number::after {
    content: '%';
    font-size: 32px;
    margin-left: 5px;
}

.stat-item:nth-child(2) .stat-number::after {
    content: '週間';
    font-size: 20px;
}

.stat-item:nth-child(3) .stat-number::after {
    content: '+';
    font-size: 32px;
    order: -1;
    margin-left: 0;
    margin-right: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 10px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* ボタンスタイル */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition-medium);
    cursor: pointer;
    border: none;
    font-family: var(--font-primary);
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-accent));
    color: var(--dark-bg);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(212, 175, 55, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--gold-primary);
    border: 2px solid var(--gold-primary);
}

.btn-secondary:hover {
    background: var(--gold-primary);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* スクロールインジケーター */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--gold-primary);
    font-size: 12px;
    letter-spacing: 2px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, var(--gold-primary), transparent);
}

/* アニメーション */
.fade-in {
    animation: fadeIn 1s ease forwards;
}

.fade-in-delay {
    animation: fadeIn 1s ease 0.3s forwards;
    opacity: 0;
}

.fade-in-delay-2 {
    animation: fadeIn 1s ease 0.6s forwards;
    opacity: 0;
}

.fade-in-delay-3 {
    animation: fadeIn 1s ease 0.9s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   セクション共通スタイル
   =================================== */
section {
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--gold-primary);
    margin-bottom: 15px;
    font-family: var(--font-accent);
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    font-family: var(--font-accent);
}

.section-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===================================
   サービスセクション
   =================================== */
.services {
    background: var(--dark-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--dark-tertiary);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-accent));
    transform: scaleX(0);
    transition: var(--transition-medium);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-primary);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.2);
}

.service-card.featured {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(255, 215, 0, 0.05));
    border-color: var(--gold-primary);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gold-primary);
    color: var(--dark-bg);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-accent));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--dark-bg);
    margin-bottom: 25px;
}

.service-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.service-description {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.7;
}

.service-features {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.service-features i {
    color: var(--gold-primary);
    font-size: 16px;
}

/* ===================================
   特徴セクション
   =================================== */
.features-content {
    max-width: 1000px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    padding: 40px;
    background: var(--dark-secondary);
    border-radius: 20px;
    border-left: 4px solid var(--gold-primary);
    transition: var(--transition-medium);
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 30px rgba(212, 175, 55, 0.15);
}

.feature-number {
    font-size: 48px;
    font-weight: 900;
    font-family: var(--font-accent);
    color: var(--gold-primary);
    opacity: 0.3;
    min-width: 80px;
}

.feature-info {
    flex: 1;
}

.feature-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-title i {
    color: var(--gold-primary);
    font-size: 28px;
}

.feature-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===================================
   導入プロセスセクション
   =================================== */
.process {
    background: var(--dark-secondary);
}

.process-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--gold-primary), var(--gold-dark));
    transform: translateX(-50%);
}

.process-step {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
}

.step-number {
    flex: 0 0 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    font-family: var(--font-accent);
    color: var(--dark-bg);
    box-shadow: 0 5px 30px rgba(212, 175, 55, 0.4);
    position: relative;
    z-index: 1;
}

.step-content {
    flex: 1;
    background: var(--dark-tertiary);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.step-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--gold-primary);
}

.step-description {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.7;
}

.step-duration {
    font-size: 13px;
    color: var(--gold-primary);
    font-weight: 600;
}

/* ===================================
   導入事例セクション
   =================================== */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.case-card {
    background: var(--dark-secondary);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition-medium);
}

.case-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-primary);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.2);
}

.case-industry {
    display: inline-block;
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
}

.case-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.4;
}

.case-results {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.result-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.result-value {
    font-size: 32px;
    font-weight: 800;
    font-family: var(--font-accent);
    color: var(--gold-primary);
}

.result-label {
    font-size: 12px;
    color: var(--text-muted);
}

.case-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===================================
   お問い合わせセクション
   =================================== */
.contact {
    background: 
        linear-gradient(135deg, rgba(212, 175, 55, 0.05), rgba(255, 215, 0, 0.02)),
        var(--dark-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-title {
    font-size: 42px;
    font-weight: 800;
    font-family: var(--font-accent);
    margin-bottom: 25px;
    line-height: 1.3;
}

.contact-description {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 35px;
    line-height: 1.8;
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-secondary);
}

.contact-feature i {
    color: var(--gold-primary);
    font-size: 20px;
}

.contact-form-wrapper {
    background: var(--dark-tertiary);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.required {
    color: var(--gold-primary);
}

.form-group input,
.form-group textarea {
    padding: 14px 18px;
    background: var(--dark-secondary);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 15px;
    font-family: var(--font-primary);
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===================================
   フッター
   =================================== */
.footer {
    background: var(--dark-bg);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    font-family: var(--font-accent);
    color: var(--gold-primary);
    margin-bottom: 20px;
}

.footer-logo i {
    font-size: 28px;
}

.footer-description {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--gold-primary);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-fast);
}

.footer-column a:hover {
    color: var(--gold-primary);
}

.footer-column li i {
    color: var(--gold-primary);
    margin-right: 8px;
    width: 16px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    color: var(--text-muted);
    font-size: 14px;
}

/* ===================================
   レスポンシブデザイン
   =================================== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
    
    .hero-title {
        font-size: 52px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(10px);
        padding: 30px 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    }
    
    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav ul {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav a {
        font-size: 18px;
        padding: 10px 0;
        display: block;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .services-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-item {
        flex-direction: column;
        gap: 20px;
    }
    
    .feature-number {
        font-size: 36px;
    }
    
    .process-timeline::before {
        left: 75px;
    }
    
    .process-step {
        flex-direction: column !important;
        padding-left: 0;
    }
    
    .step-number {
        flex: 0 0 120px;
        height: 120px;
        font-size: 16px;
    }
    
    .contact-title {
        font-size: 32px;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .service-card,
    .case-card {
        padding: 30px 20px;
    }
}
