/* ========================
    Global Variables & Reset
    ======================== */
:root {
    --primary-bg: #152B4D; 
    --glass-panel: rgba(21, 43, 77, 0.8);
    --glass-border-cyan: 1px solid rgba(0, 144, 255, 0.3); 
    --glass-border-blue: 1px solid rgba(0, 144, 255, 0.3);
    --accent-cyan: #0090FF; 
    --neon-cyan: #0090FF;
    --map-cyan: #00f0ff;
    --pin-color: #FF3B30;
    --text-white: #F8F9FA;
    --text-gray: #C0C8D0;
    --neon-cyan-glow: 0 4px 10px rgba(0, 0, 0, 0.4);
    --neon-blue-glow: 0 4px 10px rgba(0, 0, 0, 0.4);
    --glass-blur: blur(10px);
    --font-heading: 'Noto Sans JP', sans-serif;
    --font-body: 'Noto Sans JP', sans-serif;
    --font-mono: 'Share Tech Mono', monospace;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    overflow-x: hidden;
    font-family: var(--font-body);
    color: var(--text-white);
    scroll-behavior: smooth;
    background-color: var(--primary-bg);
    line-height: 1.8;
    letter-spacing: 0.05em;
    background-image: radial-gradient(circle at top right, #24487A 0%, #152B4D 100%);
    background-size: cover;
    background-attachment: fixed;
}

body::before,
body::after {
    display: none !important;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#site-content {
    opacity: 1 !important;
    visibility: visible !important;
    position: relative;
    z-index: 2;
}

/* ========================
    Navigation
    ======================== */
nav {
    width: 100%;
    background: rgba(11, 29, 58, 0.95);
    backdrop-filter: var(--glass-blur);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 3rem;
    position: fixed;
    top: 0;
    z-index: 10000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.nav-branding {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: auto;
}

.nav-logo {
    width: 120px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    transition: all 0.3s ease;
}

.nav-logo:hover {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.7));
}

nav ul {
    list-style: none;
    display: flex;
    gap: 4rem;
    padding: 0;
    margin: 0;
}

nav a {
    color: var(--text-gray);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    letter-spacing: 0.1em;
    line-height: 1.6;
}

nav a::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-cyan);
    transition: width 0.3s ease;
}

nav a:hover {
    color: var(--text-white);
    transform: translateY(-2px);
}

nav a:hover::before {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 35px;
    height: 28px;
    cursor: pointer;
    z-index: 10002;
    padding: 10px;
    margin: -10px;
}

.hamburger span {
    display: block;
    height: 3px;
    background-color: var(--text-white);
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

.hamburger.is-active span:nth-child(1) { transform: translateY(12.5px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-12.5px) rotate(-45deg); }

/* ========================
    Common UI Components
    ======================== */
.section-heading {
    text-align: center;
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 800;
    margin: 8rem auto 5rem;
    position: relative;
    color: var(--text-white);
    letter-spacing: 0.1em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.section-heading::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent-cyan);
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

.hero-cta {
    display: inline-block;
    padding: 1.2rem 3.5rem;
    background: var(--accent-cyan);
    color: #fff;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.hero-cta:hover {
    background: #0077CC;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.submit-button, .contact-jump-button {
    background: var(--accent-cyan);
    color: #ffffff !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px !important;
    transition: all 0.3s ease;
}

.submit-button:hover, .contact-jump-button:hover {
    background: #0077CC;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.contact-jump-area {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 8rem auto;
    max-width: 900px;
    padding: 0 2rem;
}

.contact-jump-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 700px;
    padding: 3.5rem 2rem;
    background: linear-gradient(135deg, var(--accent-cyan) 0%, #1A365D 100%);
    border-radius: 20px !important;
    text-decoration: none;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.contact-jump-button:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, #0090FF 0%, #152B4D 100%);
}

.jump-text {
    display: block;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1.2rem;
    color: rgba(255, 255, 255, 0.9) !important;
    letter-spacing: 0.05em;
    text-align: center;
}

.jump-arrow {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* ========================
    Footer
    ======================== */
footer {
    text-align: center;
    padding: 4rem 2rem 2rem;
    background: #050E1D;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* 追加：フッターメニューを綺麗に横並びにするスタイル */
#footer-menu {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

#footer-menu a {
    color: var(--text-gray);
    font-weight: bold;
    transition: color 0.3s ease;
}

#footer-menu a:hover {
    color: var(--accent-cyan);
}

footer p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.mobile-sticky-footer {
    display: none;
}

/* ========================
    Common Responsive
    ======================== */
@media screen and (max-width: 768px) {
    .mobile-sticky-footer {
        display: flex !important;
    }
    
    .section-heading {
        font-size: 2.2rem;
        margin: 5rem auto 3rem;
    }
    
    nav { padding: 1rem; }
    
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(11, 29, 58, 0.98);
        gap: 0;
    }
    
    nav ul.active { display: flex; }
    
    nav ul li {
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    nav a {
        display: block;
        padding: 1.5rem;
    }
    
    .hamburger { display: flex; }
    
    .contact-jump-button { padding: 2.5rem 1.5rem; }
    .jump-text { font-size: 1rem; }
    .jump-arrow { font-size: 1.5rem; }
}

/* ========================
   Subpage Hero Base Styles
======================== */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 2rem;
    margin-top: 4rem; /* 固定ナビゲーションとの被りを防ぐ */
}
.hero-content h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-family: var(--font-heading);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: 0.15em;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}
.hero-content h1.accent-cyan {
    color: var(--accent-cyan);
}
.hero-content p {
    font-size: 1.2rem;
    color: var(--text-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    font-weight: 700;
    letter-spacing: 0.1em;
}

[data-aos] {
    transition-duration: 800ms;
}
