/* 共通ヘッダー */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 2rem;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.5rem;
}

.logo img {
    width: 150px;
    height: 70px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-company {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    line-height: 1;
}

.logo-tagline {
    font-size: 0.7rem;
    color: #666;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.logo-arrow {
    width: 8px;
    height: 8px;
    color: #a855f7;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 1rem 0;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    height: 70px;
    cursor: pointer;
}



.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    color: #333;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #a855f7;
}

.nav-button {
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    color: white;
    position: relative;
    overflow: hidden;
}

.nav-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: -1;
}

.nav-button.corporate {
    background: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
}

.nav-button.corporate:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.nav-button.entry {
    background: linear-gradient(135deg, #a855f7 0%, #3b82f6 100%);
}

.nav-button.entry:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.4);
}

/* ハンバーガーメニュー */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-menu span {
    width: 100%;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .header {
        padding: 0 1rem;
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem 1rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-item {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .nav-link {
        height: auto;
        padding: 1rem 0;
        border-bottom: 1px solid #eee;
        width: 100%;
        justify-content: space-between;
    }
    
    .nav-link::after {
        content: '▼';
        font-size: 0.8rem;
        transition: transform 0.3s ease;
    }
    
    .nav-item.active .nav-link::after {
        transform: rotate(180deg);
    }
    
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        padding: 0;
        margin-top: 0.5rem;
        display: none;
    }
    
    .nav-item.active .dropdown {
        display: block;
    }
    
    .dropdown-item {
        padding: 0.5rem 1rem;
        border-left: 2px solid #eee;
        margin-left: 1rem;
    }
    
    .nav-button {
        margin-top: 1rem;
        text-align: center;
        width: 100%;
    }
    
    .header-content {
        justify-content: space-between;
    }
}

/* メインコンテンツの上部マージン調整 */
.main-content {
    /* margin-top: 70px; */
}

/* ヘッダーとの重複を避けるための包括的な調整 */

/* ヒーローセクションの特別な調整 */
.hero {
    padding-top: 70px; /* ヘッダーの高さ分のパディングを追加 */
}

/* ページヘッダーの特別な調整 */
.page-header {
    /* margin-top: 70px;  */
}
