﻿@charset "UTF-8";

/* ===== CSS Variables (from illuminator_mobile design rules) ===== */
:root {
    --primary: #373B70;
    --primary-light: #4A4F8C;
    --primary-dark: #2A2D56;
    --gold: #9D8956;
    --gold-light: #C4AA6A;
    --gold-dark: #7A6A42;
    --bg-dark: #0A0B14;
    --bg-surface: #12131F;
    --bg-card: #1A1B2E;
    --bg-card-hover: #222340;
    --text-primary: #FFFFFF;
    --text-secondary: #A1A1AA;
    --text-muted: #6B6B78;
    --divider: #2C2C3E;
    --error: #D32F2F;
    --gradient-hero: linear-gradient(135deg, #0A0B14 0%, #1A1B3A 40%, #373B70 100%);
    --gradient-gold: linear-gradient(135deg, #9D8956, #C4AA6A, #9D8956);
    --gradient-card: linear-gradient(145deg, #1A1B2E, #222340);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 4px 20px rgba(157, 137, 86, 0.3);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --font-main: 'Noto Sans JP', sans-serif;
    --font-display: 'Lobster', cursive;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.8;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    opacity: 0.85;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* ===== Container ===== */
.w-container {
    width: min(92%, 1100px);
    margin: 0 auto;
}

/* ===== Screen Reader Only ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 72px;
    background: rgba(10, 11, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(157, 137, 86, 0.1);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(10, 11, 20, 0.95);
    border-bottom-color: rgba(157, 137, 86, 0.2);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.header .site img {
    height: 32px;
    width: auto;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 24px;
    background: var(--gradient-gold);
    color: #1A1B2E;
    font-size: 14px;
    font-weight: 700;
    border-radius: 100px;
    transition: var(--transition);
}

.header-cta:hover {
    opacity: 1;
    transform: translateY(-1px);
    box-shadow: var(--shadow-gold);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    overflow: hidden;
    padding-top: 72px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(55, 59, 112, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(157, 137, 86, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(55, 59, 112, 0.2) 0%, transparent 40%);
    animation: heroGlow 15s ease-in-out infinite;
}

@keyframes heroGlow {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(-2%, 1%) scale(1.02);
    }

    66% {
        transform: translate(1%, -1%) scale(0.98);
    }
}

.hero-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
    padding: 60px 0;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 400;
    line-height: 1.1;
    background: linear-gradient(135deg, #FFFFFF 0%, var(--gold-light) 50%, #FFFFFF 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {

    0%,
    100% {
        background-position: 0% center;
    }

    50% {
        background-position: 200% center;
    }
}

.hero-subtitle {
    font-size: clamp(14px, 2vw, 18px);
    color: var(--text-secondary);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-weight: 500;
}

.hero-description {
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--text-secondary);
    max-width: 540px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
}

/* ===== Buttons ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 260px;
    padding: 16px 40px;
    background: var(--gradient-gold);
    color: #1A1B2E;
    font-size: 16px;
    font-weight: 700;
    border-radius: 100px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: 0.6s;
}

.btn-primary:hover {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover::after {
    transform: translateX(100%);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 32px;
    background: transparent;
    color: var(--gold);
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(157, 137, 86, 0.4);
    border-radius: 100px;
    transition: var(--transition);
}

.btn-secondary:hover {
    opacity: 1;
    background: rgba(157, 137, 86, 0.1);
    border-color: var(--gold);
}

/* ===== Section Common ===== */
.section {
    padding: clamp(80px, 10vw, 120px) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: clamp(48px, 6vw, 72px);
}

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
    padding: 6px 16px;
    border: 1px solid rgba(157, 137, 86, 0.3);
    border-radius: 100px;
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
}

.section-title .gold {
    color: var(--gold-light);
}

.section-subtitle {
    font-size: clamp(14px, 2vw, 16px);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ===== Features Grid ===== */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

/* ===== Feature Card ===== */
.feature-card {
    background: var(--gradient-card);
    border: 1px solid var(--divider);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-gold);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(157, 137, 86, 0.3);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card-content {
    padding: 32px;
}

.feature-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(157, 137, 86, 0.1);
    color: var(--gold);
    font-size: 20px;
    margin-bottom: 20px;
}

.feature-card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.feature-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.feature-tag {
    font-size: 11px;
    font-weight: 600;
    color: var(--gold);
    padding: 4px 12px;
    background: rgba(157, 137, 86, 0.1);
    border-radius: 100px;
    border: 1px solid rgba(157, 137, 86, 0.15);
}

.feature-card-image {
    padding: 0 24px 24px;
}

.feature-card-image img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    width: 100%;
}

/* ===== Showcase Section (alternating layout) ===== */
.showcase-item {
    padding: clamp(60px, 8vw, 100px) 0;
    position: relative;
}

.showcase-item+.showcase-item {
    border-top: 1px solid var(--divider);
}

.showcase-container {
    display: flex;
    flex-direction: column;
    gap: clamp(32px, 5vw, 60px);
    align-items: center;
}

@media (min-width: 768px) {
    .showcase-container {
        flex-direction: row;
    }

    .showcase-container.reverse {
        flex-direction: row-reverse;
    }

    .showcase-text {
        flex: 1;
        min-width: 280px;
    }

    .showcase-image {
        flex: 1.2;
    }
}

.showcase-number {
    font-family: var(--font-display);
    font-size: 56px;
    color: rgba(157, 137, 86, 0.15);
    line-height: 1;
    margin-bottom: 16px;
}

.showcase-title {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    margin-bottom: 8px;
}

.showcase-lead {
    font-size: 16px;
    color: var(--gold-light);
    font-weight: 600;
    margin-bottom: 16px;
}

.showcase-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 2;
}

.showcase-number {
    display: block;
}

.showcase-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--divider);
}

/* ===== Section Alt Background ===== */
.section-alt {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-surface) 10%, var(--bg-surface) 90%, var(--bg-dark) 100%);
}

/* ===== Image Placeholder ===== */
.image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    min-height: 320px;
    border-radius: var(--radius-lg);
    border: 2px dashed rgba(157, 137, 86, 0.3);
    background: linear-gradient(145deg, rgba(55, 59, 112, 0.08), rgba(26, 27, 46, 0.6));
    color: var(--text-muted);
    font-size: 14px;
}

.image-placeholder i {
    font-size: 48px;
    color: rgba(157, 137, 86, 0.25);
}

.image-placeholder span {
    font-size: 12px;
    color: var(--text-muted);
    opacity: 0.6;
    font-family: monospace;
}

/* ===== CTA Section ===== */
.cta-section {
    padding: clamp(80px, 10vw, 120px) 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--primary-dark) 50%, var(--bg-dark) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(157, 137, 86, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-desc {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.cta-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
}

.cta-badge i {
    color: var(--gold);
}

/* ===== Footer ===== */
.footer {
    padding: 60px 0 40px;
    background: var(--bg-surface);
    border-top: 1px solid var(--divider);
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

@media (min-width: 768px) {
    .footer-container {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: start;
        gap: 40px;
    }
}

.footer-site img {
    height: 28px;
    width: auto;
    opacity: 0.8;
}

.footer-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 24px;
    font-size: 13px;
}

@media (min-width: 768px) {
    .footer-menu {
        justify-content: start;
    }
}

.footer-menu a {
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-menu a:hover {
    color: var(--gold-light);
    opacity: 1;
}

.footer-sns {
    display: flex;
    gap: 12px;
}

.footer-sns a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(157, 137, 86, 0.1);
    border: 1px solid rgba(157, 137, 86, 0.2);
    color: var(--gold);
    font-size: 16px;
    transition: var(--transition);
}

.footer-sns a:hover {
    opacity: 1;
    background: rgba(157, 137, 86, 0.2);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--divider);
    margin-top: 8px;
    width: 100%;
}

.footer-copyright {
    font-size: 12px;
    color: var(--text-muted);
}

/* ===== Scroll Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger children */
.stagger>* {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger.visible>*:nth-child(1) {
    transition-delay: 0s;
    opacity: 1;
    transform: translateY(0);
}

.stagger.visible>*:nth-child(2) {
    transition-delay: 0.1s;
    opacity: 1;
    transform: translateY(0);
}

.stagger.visible>*:nth-child(3) {
    transition-delay: 0.2s;
    opacity: 1;
    transform: translateY(0);
}

.stagger.visible>*:nth-child(4) {
    transition-delay: 0.3s;
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 767px) {
    .hero {
        min-height: 85vh;
    }

    .hero h1 {
        font-size: clamp(40px, 12vw, 64px);
    }

    .showcase-number {
        font-size: 40px;
    }

    .feature-card-content {
        padding: 24px;
    }

    .header-cta {
        padding: 6px 16px;
        font-size: 12px;
    }
}
