﻿@import url("https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@600;800&family=Noto+Sans+JP:wght@300;400;600;700&display=swap");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css");

:root {
    --bg-dark: #0B0F19;
    --bg-card: rgba(20, 30, 50, 0.6);
    --accent: #D4AF37; /* Premium Gold */
    --accent-hover: #E5C158;
    --text-light: #F8FAFC;
    --text-muted: #9CA3AF;
    --border: rgba(212, 175, 55, 0.25);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { 
    font-family: 'Noto Sans JP', sans-serif; 
    background-color: var(--bg-dark); 
    color: var(--text-light); 
    line-height: 1.8; 
    overflow-x: hidden;
    position: relative;
}

/* Unique Graphic Element: Animated Zen Enso & Glowing Orbs */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: radial-gradient(circle at 15% 50%, rgba(212, 175, 55, 0.05), transparent 40%),
                radial-gradient(circle at 85% 30%, rgba(59, 130, 246, 0.05), transparent 40%);
    z-index: -3;
}
.enso-ring {
    position: fixed;
    top: 50%; left: 50%;
    width: 90vw; height: 90vw;
    max-width: 900px; max-height: 900px;
    border: 2px solid rgba(212, 175, 55, 0.08);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: -2;
    animation: rotateSlow 60s linear infinite;
    pointer-events: none;
}
.enso-ring::after {
    content: '';
    position: absolute;
    top: -10px; left: 50%;
    width: 20px; height: 20px;
    background: var(--accent);
    border-radius: 50%;
    filter: blur(8px);
}
@keyframes rotateSlow { 100% { transform: translate(-50%, -50%) rotate(360deg); } }

h1, h2, h3, h4 { font-family: 'Shippori Mincho', serif; font-weight: 800; letter-spacing: 0.02em; color: #FFF; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; height: auto; display: block; border-radius: 4px; }

/* Giant Typography */
h1 { font-size: clamp(2.5rem, 8vw, 5rem); line-height: 1.2; margin-bottom: 24px; text-shadow: 0 10px 30px rgba(0,0,0,0.8); }
h1 span { color: var(--accent); }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.3; margin-bottom: 30px; }
h3 { font-size: clamp(1.3rem, 3vw, 2.2rem); margin-bottom: 15px; color: var(--accent); }
p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 20px; font-weight: 300; }

/* Layout Wrappers */
section { padding: 120px 5%; position: relative; }
.container { max-width: 1200px; margin: 0 auto; }

/* Header */
header { position: fixed; top: 0; width: 100%; padding: 20px 5%; display: flex; justify-content: space-between; align-items: center; background: rgba(11, 15, 25, 0.85); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); z-index: 1000; }
.logo { display: flex; align-items: center; gap: 15px; font-family: 'Shippori Mincho', serif; font-size: 1.6rem; font-weight: 800; color: var(--accent); letter-spacing: 1px; }
.logo img { width: 36px; height: 36px; }
.nav-links { display: none; }
.btn-primary { background: var(--accent); color: var(--bg-dark); padding: 15px 35px; border-radius: 2px; font-weight: 700; font-family: 'Noto Sans JP', sans-serif; font-size: 1rem; border: 1px solid var(--accent); cursor: pointer; transition: 0.4s; display: inline-block; }
.btn-primary:hover { background: transparent; color: var(--accent); box-shadow: 0 0 25px rgba(212, 175, 55, 0.4); transform: translateY(-2px); }

/* Hero */
.hero { min-height: 90vh; display: flex; align-items: center; padding-top: 150px; }
.hero-content { max-width: 850px; }
.hero p { font-size: clamp(1.1rem, 2vw, 1.3rem); max-width: 700px; margin-bottom: 40px; color: #E2E8F0; }

/* Form Section (Lead Capture - High priority) */
.form-section { background: var(--bg-dark); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); position: relative; z-index: 5; }
.form-wrapper { max-width: 750px; margin: 0 auto; background: var(--bg-card); backdrop-filter: blur(25px); padding: 60px 40px; border-radius: 8px; border: 1px solid var(--border); box-shadow: 0 30px 60px rgba(0,0,0,0.8); position: relative; }
.form-wrapper::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--accent); border-radius: 8px 8px 0 0; }
.form-wrapper h2 { text-align: center; margin-bottom: 10px; font-size: 2.2rem; }
.form-group { margin-bottom: 20px; }
.form-group input { width: 100%; padding: 18px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; color: #FFF; font-family: 'Noto Sans JP', sans-serif; font-size: 1rem; transition: 0.3s; }
.form-group input:focus { outline: none; border-color: var(--accent); background: rgba(212, 175, 55, 0.05); }
.checkbox-group { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 30px; }
.checkbox-group input { margin-top: 6px; width: 18px; height: 18px; accent-color: var(--accent); }
.checkbox-group label { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }
.submit-btn { width: 100%; font-size: 1.1rem; padding: 20px; letter-spacing: 2px; }
.success-msg { display: none; text-align: center; padding: 40px 20px; }
.success-msg i { font-size: 4rem; color: var(--accent); margin-bottom: 20px; }
.success-msg h3 { font-size: 2rem; color: #FFF; margin-bottom: 15px; font-family: 'Shippori Mincho', serif; }

/* Random Section: Portfolio / Ecosystem */
.portfolio { padding: 100px 5%; }
.portfolio-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 40px; }
.portfolio-card { padding: 35px 30px; background: rgba(20,30,50,0.3); border: 1px solid rgba(255,255,255,0.05); border-radius: 8px; transition: 0.4s; }
.portfolio-card:hover { transform: translateY(-5px); border-color: var(--accent); background: rgba(212,175,55,0.05); }
.portfolio-card i { font-size: 2rem; color: var(--accent); margin-bottom: 20px; }

/* Features (Asymmetric) */
.features-grid { display: grid; grid-template-columns: 1fr; gap: 60px; align-items: center; }
.features-img { position: relative; padding: 15px; border: 1px solid var(--border); background: var(--bg-card); backdrop-filter: blur(10px); border-radius: 4px; }
.features-img img { box-shadow: 0 20px 50px rgba(0,0,0,0.8); }
.features-list { list-style: none; margin-top: 30px; }
.features-list li { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 25px; font-size: 1.1rem; color: #FFF; }
.features-list i { color: var(--accent); font-size: 1.2rem; margin-top: 6px; }

/* About */
.about { background: rgba(15, 25, 45, 0.4); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.about-content { max-width: 900px; margin: 0 auto; text-align: center; }

/* FAQ */
.faq-container { max-width: 850px; margin: 0 auto; }
details { border-bottom: 1px solid rgba(255,255,255,0.1); padding: 25px 0; }
summary { font-family: 'Shippori Mincho', serif; font-size: 1.3rem; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; list-style: none; color: #FFF; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '\f067'; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--accent); transition: 0.4s; }
details[open] summary::after { transform: rotate(135deg); color: #FFF; }
.faq-content { padding-top: 20px; color: var(--text-muted); font-size: 1.05rem; }

/* Footer */
footer { background: #050810; padding: 80px 5% 40px; border-top: 1px solid var(--border); position: relative; z-index: 10; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-bottom: 60px; }
.footer-col h4 { font-family: 'Shippori Mincho', serif; font-size: 1.2rem; margin-bottom: 25px; color: #FFF; letter-spacing: 1px; }
.footer-col p, .footer-col a { display: block; margin-bottom: 12px; color: var(--text-muted); transition: 0.3s; font-size: 0.95rem; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.05); font-size: 0.9rem; color: #666; }

/* Cookie Banner */
.cookie-banner { position: fixed; bottom: -150px; left: 0; width: 100%; background: var(--bg-card); padding: 25px 5%; display: flex; flex-direction: column; gap: 15px; z-index: 9999; border-top: 2px solid var(--accent); transition: bottom 0.5s ease; box-shadow: 0 -10px 40px rgba(0,0,0,0.9); backdrop-filter: blur(25px); }
.cookie-banner.show { bottom: 0; }
.cookie-text { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }
.cookie-btns { display: flex; gap: 10px; }
.btn-cookie { padding: 12px 24px; border-radius: 2px; cursor: pointer; font-weight: 700; border: none; transition: 0.3s; font-family: 'Noto Sans JP', sans-serif; }
.btn-accept { background: var(--accent); color: var(--bg-dark); }
.btn-decline { background: transparent; color: #FFF; border: 1px solid #555; }

/* Legal Pages (White Premium Card) */
.legal-main { padding: 160px 5% 100px; }
.legal-card { max-width: 1000px; margin: 0 auto; background: #FFFFFF; color: #111; padding: 60px 40px; border-radius: 4px; box-shadow: 0 20px 60px rgba(212, 175, 55, 0.15); position: relative; z-index: 10; }
.legal-card h1 { color: #0B0F19; font-size: clamp(2rem, 4vw, 3.5rem); border-bottom: 3px solid var(--accent); padding-bottom: 20px; margin-bottom: 40px; font-family: 'Noto Sans JP', sans-serif; text-shadow: none; }
.legal-card h2 { color: #152545; margin: 40px 0 20px; font-size: 1.8rem; }
.legal-card p, .legal-card li { color: #333; margin-bottom: 15px; font-size: 1.05rem; line-height: 1.8; }
.legal-card ul { padding-left: 20px; margin-bottom: 25px; }
.map-iframe { width: 100%; height: 400px; border: 0; margin-top: 30px; filter: grayscale(100%); border-radius: 4px; }

/* Desktop Media Queries */
@media(min-width: 992px) {
    .nav-links { display: flex; gap: 40px; }
    .nav-links a { font-weight: 600; font-size: 0.95rem; }
    .nav-links a:hover { color: var(--accent); }
    
    .features-grid { grid-template-columns: 1.2fr 1fr; }
    .features-grid.reverse { direction: rtl; }
    .features-grid.reverse > * { direction: ltr; }
    .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
    
    .form-wrapper { padding: 60px 80px; }
    .form-row { display: flex; gap: 20px; }
    .form-row .form-group { flex: 1; }
    
    .footer-grid { grid-template-columns: repeat(4, 1fr); }
    .cookie-banner { flex-direction: row; justify-content: space-between; align-items: center; }
    .cookie-text { max-width: 65%; }
    .legal-card { padding: 80px 100px; }
}
