/* テンプレート30: ダーク＋アクセントカラー - モダンサイト風 */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&family=Noto+Sans+JP:wght@400;500;700&display=swap');

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

body {
    font-family: 'Noto Sans JP', 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.9;
    color: #e0e0e0;
    background: #0f0f1a;
}

/* ヘッダー */
.site-header {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    border-bottom: 1px solid #0f3460;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    padding: 20px 0;
    letter-spacing: 2px;
}

.logo span {
    color: #e94560;
    display: block;
    font-size: 0.7rem;
    letter-spacing: 4px;
}

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

.global-nav a {
    display: block;
    padding: 22px 18px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.global-nav a:hover,
.global-nav a.active {
    color: #e94560;
}

/* ヒーローセクション */
.hero-section {
    height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-section.sub {
    height: 300px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.9) 0%, rgba(26, 26, 46, 0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;
}

.hero-overlay h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.5;
}

.hero-lead {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: #e94560;
    letter-spacing: 3px;
}

/* メインコンテンツ */
.main-content {
    padding: 80px 0;
    background: linear-gradient(180deg, #16213e 0%, #1a1a2e 100%);
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 30px;
}

.content-box {
    background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1a 100%);
    border-radius: 12px;
    padding: 55px 65px;
    border: 1px solid #0f3460;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.text-section {
    margin-bottom: 40px;
}

.text-section:last-child {
    margin-bottom: 0;
}

.text-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e94560;
    display: inline-block;
}

.text-section p {
    color: #b0b0b0;
    margin-bottom: 18px;
}

.text-section.highlight {
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.1) 0%, rgba(15, 52, 96, 0.2) 100%);
    padding: 35px 40px;
    border-radius: 10px;
    border-left: 4px solid #e94560;
}

/* フッター */
.site-footer {
    background: #0a0a12;
    color: rgba(255,255,255,0.5);
    text-align: center;
    padding: 40px 30px;
    border-top: 1px solid #0f3460;
}

.site-footer p {
    margin: 0;
    color: rgba(255,255,255,0.5);
}

/* サイトマップ */
.sitemap-list {
    list-style: none;
    padding: 0;
}

.sitemap-list li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.sitemap-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #e94560;
}

.sitemap-list a {
    color: #e94560;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px;
}

.sitemap-list a:hover {
    color: #fff;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        padding: 15px 20px;
    }
    
    .global-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .global-nav a {
        padding: 12px 12px;
        font-size: 0.75rem;
    }
    
    .hero-section {
        height: 400px;
    }
    
    .hero-section.sub {
        height: 250px;
    }
    
    .hero-overlay h1 {
        font-size: 1.8rem;
    }
    
    .content-box {
        padding: 35px 28px;
    }
}

/* アニメーション追加 */
.site-header {
    transition: all 0.4s ease;
}

.site-header.scrolled {
    background: rgba(26, 26, 46, 0.98);
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.hamburger {
    display: none;
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
}

.hamburger span {
    display: block;
    position: absolute;
    width: 100%;
    height: 3px;
    background: #e94560;
    transition: all 0.3s;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 10px; }
.hamburger span:nth-child(3) { top: 20px; }

.hamburger.active span:nth-child(1) { transform: rotate(45deg); top: 10px; }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg); top: 10px; }

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, #1a1a2e 0%, #0f3460 100%);
    padding: 100px 30px;
    transition: right 0.4s;
    z-index: 999;
}

.mobile-nav.open { right: 0; }
.mobile-nav ul { list-style: none; }
.mobile-nav a {
    display: block;
    padding: 15px 0;
    color: #e94560;
    text-decoration: none;
    border-bottom: 1px solid rgba(233, 69, 96, 0.2);
}

.back-to-top {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e94560 0%, #0f3460 100%);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: 0 5px 25px rgba(233, 69, 96, 0.4);
    transition: all 0.3s;
    z-index: 998;
}

.back-to-top:hover { transform: translateY(-5px) scale(1.1); }

@media (max-width: 768px) {
    .global-nav { display: none; }
    .hamburger { display: block; }
    .mobile-nav { display: block; }
}
