/* SERVICE ドロップダウン（PC）・モバイルサブメニュー */

.nav-item--dropdown {
    position: relative;
}

/* トリガー→メニュー移動時に閉じないよう「ホバー橋」を作る */
.nav-item--dropdown::after {
    content: "";
    position: absolute;
    left: -12px;
    right: -12px;
    top: 100%;
    height: 14px;
}

.nav-link--service {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-link--service::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform 0.2s ease;
}

.nav-item--dropdown.is-open .nav-link--service::after,
.nav-item--dropdown:hover .nav-link--service::after {
    transform: rotate(180deg);
}

.nav-link.is-current,
.nav-dropdown__link.is-current {
    color: #0066cc;
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 260px;
    padding: 10px 0;
    background: #fff;
    border: 1px solid #e2e6ee;
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(26, 31, 43, 0.12);
    z-index: 10010;
}

.nav-dropdown::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    width: 10px;
    height: 10px;
    background: #fff;
    border-left: 1px solid #e2e6ee;
    border-top: 1px solid #e2e6ee;
    transform: translateX(-50%) rotate(45deg);
}

.nav-dropdown__link {
    display: block;
    padding: 11px 20px;
    font-size: 0.92rem;
    font-weight: 700;
    color: #333;
    text-decoration: none;
    line-height: 1.45;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-dropdown__link:hover {
    background: #f4f8fb;
    color: #0066cc;
    opacity: 1;
}

/* モバイル: ドロップダウン非表示（ドロワー内アコーディオン） */
@media (max-width: 900px) {
    .nav-item--dropdown {
        display: none;
    }
}

.mobile-nav-group {
    margin-bottom: 8px;
}

.mobile-service-toggle {
    width: 100%;
    background: none;
    border: none;
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    padding: 0;
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mobile-service-toggle::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #fff;
    transition: transform 0.2s ease;
}

.mobile-nav-group.is-open .mobile-service-toggle::after {
    transform: rotate(180deg);
}

.mobile-service-submenu {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.mobile-service-submenu li {
    margin-bottom: 14px;
}

.mobile-nav-link--sub {
    font-size: 1.05rem;
    font-weight: 500;
    opacity: 0.92;
}

.mobile-nav-link.is-current {
    color: #7ec8ff;
}

@media (min-width: 901px) {
    .mobile-nav-group {
        display: none;
    }
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-header--secondary {
    background-color: transparent;
    color: #0066cc;
    border: 2px solid #0066cc;
    box-sizing: border-box;
}

.btn-header--secondary:hover {
    background-color: #f4f8fb;
    opacity: 1;
}

.mobile-btn--secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.85);
}
