/* ========== FULL-SCREEN SCROLL THEME — 蒼空コーティング仙台 ========== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700;900&display=swap');

:root {
    --bg-deep: #0a1628;
    --bg-panel: #0f1d33;
    --surface: #152238;
    --primary: #4da6ff;
    --primary-glow: rgba(77, 166, 255, 0.15);
    --gold: #c9a96e;
    --white: #ffffff;
    --text-main: #c8d6e5;
    --text-muted: #5e7a97;
    --border: rgba(255,255,255,0.08);
    --font: 'Noto Sans JP', sans-serif;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

html { scroll-behavior: smooth; scroll-snap-type: y mandatory; }

body {
    font-family: var(--font);
    background: var(--bg-deep);
    color: var(--text-main);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,h2,h3,h4 { color: var(--white); font-weight: 700; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; display: block; }

/* ===== FULL-SCREEN SCROLL SNAPPING ===== */
.screen {
    min-height: 100vh;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 80px 40px;
}

.screen-inner {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}

/* ===== BOTTOM FLOATING NAV ===== */
.bottom-nav {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(15, 29, 51, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 10px 10px;
    display: flex;
    gap: 6px;
    align-items: center;
}

.bottom-nav a {
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: 30px;
    transition: 0.3s;
}
.bottom-nav a:hover, .bottom-nav a.active {
    color: var(--white);
    background: var(--primary-glow);
}
.bottom-nav .nav-cta {
    background: var(--primary);
    color: var(--bg-deep);
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 30px;
}
.bottom-nav .nav-cta:hover { background: #6bb8ff; }

/* ===== HERO SCREEN ===== */
.hero-screen {
    background-size: cover;
    background-position: center;
    position: relative;
}
.hero-screen::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,22,40,0.92) 0%, rgba(10,22,40,0.5) 100%);
}
.hero-screen .screen-inner { position: relative; z-index: 2; }
.hero-screen h1 {
    font-size: 3.5rem;
    line-height: 1.3;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}
.hero-screen p {
    font-size: 1.15rem;
    color: var(--text-main);
    max-width: 550px;
    margin-bottom: 40px;
}
.hero-tag {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 0.2em;
    color: var(--primary);
    border: 1px solid rgba(77,166,255,0.3);
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

/* ===== SPLIT SCREEN ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split-img { border-radius: 12px; overflow: hidden; }
.split-img img { width: 100%; height: 400px; object-fit: cover; transition: 0.5s; }
.split-img:hover img { transform: scale(1.03); }

/* ===== BUTTONS ===== */
.btn-glow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: var(--primary);
    color: var(--bg-deep);
    font-weight: 700;
    font-size: 15px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 30px var(--primary-glow);
    transition: 0.3s;
}
.btn-glow:hover { transform: translateY(-2px); box-shadow: 0 0 50px var(--primary-glow); }
.btn-ghost {
    display: inline-block;
    padding: 14px 32px;
    border: 1px solid var(--border);
    color: var(--white);
    font-weight: 500;
    font-size: 14px;
    border-radius: 8px;
    transition: 0.3s;
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

/* ===== SERVICE CARDS — Horizontal Scroll ===== */
.svc-scroll {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 20px 0 40px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.svc-scroll::-webkit-scrollbar { height: 4px; }
.svc-scroll::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 99px; }
.svc-scroll::-webkit-scrollbar-track { background: var(--surface); }

.svc-card {
    min-width: 300px;
    max-width: 300px;
    flex-shrink: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    scroll-snap-align: start;
    transition: 0.4s;
}
.svc-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.svc-card img { width: 100%; height: 180px; object-fit: cover; }
.svc-card-body { padding: 24px; }
.svc-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.svc-card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 16px; }
.svc-price { font-size: 1.1rem; color: var(--primary); font-weight: 700; }

/* ===== STATS ROW ===== */
.stats-row { display: flex; justify-content: center; gap: 80px; margin-top: 60px; }
.stat-item { text-align: center; }
.stat-num { font-size: 2.5rem; font-weight: 900; color: var(--primary); margin-bottom: 4px; }
.stat-label { font-size: 13px; color: var(--text-muted); }

/* ===== FORM SECTION ===== */
.dark-form {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 50px;
    max-width: 600px;
}
.form-row { display: flex; gap: 20px; margin-bottom: 20px; }
.form-field { flex: 1; }
.form-field label { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 8px; letter-spacing: 0.05em; }
.form-input {
    width: 100%;
    padding: 14px 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--white);
    font-family: var(--font);
    font-size: 15px;
    transition: 0.3s;
}
.form-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); }

/* ===== MAP ===== */
.map-dark { border-radius: 12px; overflow: hidden; height: 300px; filter: brightness(0.7) contrast(1.2); }
.map-dark:hover { filter: brightness(0.9) contrast(1.1); }

/* ===== FOOTER ===== */
.footer {
    padding: 40px 0 100px;
    border-top: 1px solid var(--border);
    text-align: center;
}
.footer-links { display: flex; justify-content: center; gap: 30px; list-style: none; margin-bottom: 20px; }
.footer-links a { font-size: 12px; color: var(--text-muted); }
.footer-links a:hover { color: var(--primary); }
.footer-copy { font-size: 11px; color: var(--text-muted); }

/* ===== ANIMATIONS ===== */
.anim-up { opacity: 0; transform: translateY(30px); transition: 0.8s cubic-bezier(0.16,1,0.3,1); }
.anim-up.active { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.1s; } .d2 { transition-delay: 0.2s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-screen h1 { font-size: 2.2rem; }
    .split { grid-template-columns: 1fr; gap: 40px; }
    .stats-row { flex-direction: column; gap: 30px; }
    .bottom-nav { padding: 8px; gap: 4px; bottom: 15px; }
    .bottom-nav a { padding: 8px 14px; font-size: 11px; }
    .dark-form { padding: 30px; }
    .form-row { flex-direction: column; gap: 0; }
    .screen { padding: 60px 20px; }
    html { scroll-snap-type: none; }
}
