/* ヘッダーセクション用スタイル */
.header {
    padding: 25px 0;
    background-color: rgba(26, 41, 66, 0);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* スクロール時のヘッダースタイル */
.header.scrolled {
    padding: 15px 0;
    background-color: rgba(26, 41, 66, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    transition: height 0.3s ease;
}

.header.scrolled .main-nav {
    height: 50px;
}

/* ロゴスタイル */
.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo a:hover {
    transform: scale(1.05);
}

.logo-icon {
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gold-gradient);
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.header.scrolled .logo-icon {
    width: 35px;
    height: 35px;
}

.logo-icon svg {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

.header.scrolled .logo-icon svg {
    width: 20px;
    height: 20px;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.header.scrolled .logo-text {
    font-size: 1.6rem;
}

/* ナビゲーションリンク */
.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-item {
    color: var(--text-light);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-item:not(.btn-nav-cta, .dropdown-trigger):after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    left: 0;
    background: var(--gold-gradient);
    transition: width 0.3s ease;
    border-radius: 3px;
}

.nav-item:not(.btn-nav-cta, .dropdown-trigger):hover:after,
.nav-item.active:not(.btn-nav-cta, .dropdown-trigger):after {
    width: 100%;
}

.nav-item:hover,
.nav-item.active {
    color: var(--secondary-color);
}

/* ナビゲーションドロップダウン */
.nav-dropdown {
    position: relative;
}

.dropdown-trigger {
    cursor: pointer;
    display: flex;
    align-items: center;
}

.dropdown-arrow {
    font-size: 10px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--primary-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.2s ease;
}

.dropdown-menu a:hover {
    background: rgba(212, 175, 55, 0.15);
    color: var(--secondary-color);
    padding-left: 25px;
}

/* ソーシャルアイコン */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 50%;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

/* アイコンフォント（実際はWebフォントまたはSVGで実装） */
.icon-twitter:before {
    content: "T";
}

.icon-facebook:before {
    content: "F";
}

.icon-instagram:before {
    content: "I";
}

/* ボタンスタイル */
.btn-nav-cta {
    background: var(--gold-gradient);
    color: var(--primary-color) !important;
    padding: 10px 20px;
    border-radius: var(--border-radius-m);
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
    border: none;
}

.btn-nav-cta:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-nav-secondary {
    background: transparent;
    color: var(--text-light);
    padding: 9px 18px;
    border-radius: var(--border-radius-m);
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-color);
}

.btn-nav-secondary:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

/* パルスアニメーション */
.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.5);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--secondary-color);
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

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

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

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

/* モバイル固定CTA */
.mobile-fixed-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--primary-color);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 20px;
    display: none;
    z-index: 999;
    text-align: center;
}

.btn-mobile-cta {
    display: inline-block;
    background: var(--gold-gradient);
    color: var(--primary-color);
    padding: 12px 30px;
    width: 90%;
    border-radius: var(--border-radius-m);
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* タブレット用スタイル */
@media (max-width: 992px) {
    .header {
        padding: 20px 0;
    }

    .nav-links {
        gap: 20px;
    }

    .social-icons {
        display: none;
    }

    .logo-text {
        font-size: 1.6rem;
    }

    .header.scrolled .logo-text {
        font-size: 1.4rem;
    }
}

/* モバイル用スタイル */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        flex-direction: column;
        gap: 0;
        padding: 80px 30px 30px;
        transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        align-items: flex-start;
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-item {
        padding: 15px 0;
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-dropdown {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        max-height: 0;
        transition: max-height 0.3s ease;
    }

    .nav-dropdown.active .dropdown-menu {
        max-height: 1000px;
    }

    .dropdown-menu a {
        padding-left: 30px;
    }

    .btn-nav-secondary,
    .btn-nav-cta {
        margin-top: 20px;
        width: 100%;
        text-align: center;
    }

    .hamburger {
        display: flex;
    }

    .mobile-fixed-cta {
        display: block;
    }
}

/* 小さなモバイル画面用 */
@media (max-width: 576px) {
    .header {
        padding: 15px 0;
    }

    .nav-links {
        width: 100%;
        padding-top: 70px;
    }

    .logo-icon {
        width: 35px;
        height: 35px;
    }

    .logo-text {
        font-size: 1.4rem;
    }

    .header.scrolled .logo-text {
        font-size: 1.2rem;
    }
}