@charset "UTF-8";
/*
Theme Name: 西村けい公式サイト
Theme URI: https://nishimura-kei.jp
Author: Nishimura Kei Team
Author URI: https://nishimura-kei.jp
Description: 西村けい議員の公式WordPressテーマ
Version: 1.0.0
License: GPL v2 or later
Text Domain: nishimura-kei
*/

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    line-height: 1.8;
    background: #fff;
    position: relative;
}

/* Global background enhancement */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at top left, rgba(30, 136, 229, 0.02) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(79, 195, 247, 0.02) 0%, transparent 50%),
        linear-gradient(to bottom, #fafcff 0%, #ffffff 100%);
    pointer-events: none;
    z-index: -1;
}

/* Header Styles */
header[role="banner"] {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(30, 136, 229, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.headerC {
    background: #fff;
}

.headerBg {
    padding: 0;
}

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

/* Logo Styles */
.logo {
    font-size: 28px;
    font-weight: 700;
}

.logo a {
    text-decoration: none;
    color: #1E88E5;
    display: flex;
    align-items: center;
}

.logoText {
    background: linear-gradient(135deg, #1E88E5 0%, #4FC3F7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

/* Navigation Menu */
.headGmigi {
    display: flex;
    align-items: center;
    gap: 40px;
}

.headerMenuG {
    display: flex;
    gap: 30px;
}

.headerMenuG > div {
    position: relative;
}

.headerMenuG a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 10px 15px;
    display: block;
    position: relative;
    transition: all 0.3s ease;
}

.headerMenuG a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #1E88E5;
    transition: width 0.3s ease;
}

.headerMenuG a:hover {
    color: #1E88E5;
}

.headerMenuG a:hover::after {
    width: 80%;
}

/* Social Media Links */
.headerSocial {
    display: flex;
    gap: 15px;
}

.headerSocial a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #f0f0f0;
    border-radius: 50%;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.headerSocial a:hover {
    background: #1E88E5;
    color: white;
    transform: translateY(-3px);
}

/* Mobile Menu */
.hamburger {
    display: none;
    width: 30px;
    height: 30px;
    position: relative;
    cursor: pointer;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: #333;
    position: absolute;
    left: 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

.hamburger.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* Mobile Navigation */
.globalMenuSp {
    position: fixed;
    right: -100%;
    top: 0;
    width: 300px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    z-index: 1050;
    overflow-y: auto;
    padding-top: 80px;
}

.globalMenuSp.active {
    right: 0;
}

.globalMenuSp ul {
    list-style: none;
    padding: 20px;
}

.globalMenuSp li {
    margin-bottom: 20px;
}

.globalMenuSp a {
    color: #333;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    display: block;
    padding: 10px;
    transition: all 0.3s ease;
}

.globalMenuSp a:hover {
    color: #1E88E5;
    background: #f0f0f0;
    border-radius: 8px;
}

.mvBtnAb {
    padding: 20px;
}

.mvBtn01,
.mvBtn02 {
    display: block;
    text-align: center;
    padding: 15px;
    border-radius: 30px;
    margin-bottom: 15px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.mvBtn01 {
    background: #1E88E5;
    color: white;
}

.mvBtn01:hover {
    background: #0D47A1;
    transform: translateY(-2px);
}

.mvBtn02 {
    background: #4FC3F7;
    color: white;
}

.mvBtn02:hover {
    background: #29B6F6;
    transform: translateY(-2px);
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #1E88E5;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 0 0 8px 0;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    outline: 2px solid #4FC3F7;
    outline-offset: 2px;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border-width: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    /* Hide desktop header */
    .headerC {
        display: none !important;
    }
    
    /* Show mobile header */
    .headerSp {
        display: flex !important;
    }
    
    .headerGrid {
        padding: 15px;
    }
    
    .logo {
        font-size: 24px;
    }
    
    .headGmigi {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .sp {
        display: block;
    }
    
    .pc {
        display: none;
    }
    
    /* Adjust page padding for mobile - 削除 */
    /* body {
        padding-top: 60px;
    } */
    
    .site-main {
        margin-top: 0;
    }
}

@media (min-width: 769px) {
    .sp {
        display: none;
    }
    
    .pc {
        display: block;
    }
    
    .headerSp {
        display: none;
    }
}

/* Fixed Header Styles */
body.fixed {
    overflow: hidden;
}

.headerBg.totyuu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Button Base Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: #4FC3F7;
    color: white;
}

.btn-primary:hover {
    background: #29B6F6;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79,195,247,0.3);
}

.btn-secondary {
    background: #1E88E5;
    color: white;
}

.btn-secondary:hover {
    background: #0D47A1;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30,136,229,0.3);
}

/* Main Content Spacing - 削除 */
/* .site-main {
    margin-top: 80px;
} */

/* Hide unnecessary elements */
.headerTbg {
    display: none;
}

/* Mobile Header Logo */
@media (max-width: 768px) {
    .headerSp .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        font-size: 24px;
        font-weight: 700;
    }
    
    .headerSp .logo a {
        text-decoration: none;
        color: #1E88E5;
    }
    
    .headerSp .logoText {
        background: linear-gradient(135deg, #1E88E5 0%, #4FC3F7 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        font-weight: 900;
    }
    
    /* Fix form page hero padding on mobile */
    .form-page .form-hero {
        padding-top: 20px;
    }
}