/* 予約番 Header - UNO HOTEL | Optimized Boutique Design */
@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;700&display=swap');

#customer_header {
    width: 100%;
    font-family: "Shippori Mincho", "Noto Serif JP", serif;
    background: #fff;
    margin-bottom: 20px;
}

/* Banner Area */
.customer_main_banner {
    position: relative;
    width: 100%;
    height: 450px;
    background: url('https://storage.489ban.net/storage/customer/1335/OfficialWebsiteCoverImage.jpg') center 20% / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.customer_main_banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, transparent 20%, transparent 80%, rgba(26,60,94,0.6) 95%, #1a3c5e 100%);
    pointer-events: none;
}

.customer_banner_content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1400px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.customer_sub_title_vertical {
    position: absolute;
    right: 6%;
    top: 40px;
    writing-mode: vertical-rl;
    font-size: 22px;
    letter-spacing: 0.4em;
    line-height: 1.8;
    text-shadow: 0 2px 15px rgba(0,0,0,0.4);
}

.customer_sub_title_vertical span { display: block; margin-left: 10px; }

.customer_hero_text {
    text-align: center;
    animation: fadeUp 1.2s ease-out;
    margin-top: 40px;
}

.customer_en_tagline {
    font-size: 18px;
    margin-bottom: 10px;
    letter-spacing: 0.1em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.customer_main_title {
    font-size: 64px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

/* Logo Area */
.customer_logo_area {
    position: absolute;
    top: 40px;
    left: 40px;
    z-index: 10;
}

.customer_logo_area img {
    height: 45px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 10px rgba(0,0,0,0.2));
}

/* Navigation */
.customer_nav_wrapper {
    background: #1a3c5e;
    padding: 30px 0;
}

.customer_button_container {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.customer_dropdown_container { 
    position: relative; 
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.2s forwards; /* Simultaneous fade-in with slight delay */
    z-index: 1; /* Base z-index */
}

.customer_dropdown_container:hover {
    z-index: 100; /* Ensure hovered item is on top of other grid rows */
}

.customer_filter_btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 10px;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 100%);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.customer_btn_en {
    font-size: 10px;
    letter-spacing: 0.3em;
    margin-bottom: 6px;
    opacity: 0.7;
    transition: 0.4s;
}

.customer_btn_jp {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.15em;
}

.customer_has_dropdown::after {
    content: "";
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 5px;
    height: 5px;
    border-right: 1px solid #c9a063;
    border-bottom: 1px solid #c9a063;
    transform: rotate(45deg);
    transition: 0.4s;
}

.customer_filter_btn:hover {
    background: #fff;
    color: #1a3c5e;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.customer_filter_btn:hover .customer_btn_en { color: #c9a063; opacity: 1; transform: translateY(-2px); }

.customer_filter_btn:hover.customer_has_dropdown::after {
    border-color: #1a3c5e;
    transform: rotate(225deg);
    bottom: 15px;
}

/* Dropdown Menu */
.customer_dropdown_menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    z-index: 1000;
    padding: 15px 0;
    animation: fadeIn 0.5s ease-out;
    border-top: 1px solid #eee;
}

/* Invisible bridge to prevent hover loss between button and menu */
.customer_dropdown_menu::before {
    content: "";
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

.customer_dropdown_container:hover .customer_dropdown_menu { display: block; }

.customer_dropdown_item {
    display: block;
    padding: 12px 20px;
    color: #1a3c5e;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-align: center;
    position: relative;
    transition: 0.3s;
}

.customer_dropdown_item::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 8px;
    width: 0;
    height: 1px;
    background: #c9a063;
    transition: 0.3s;
    transform: translateX(-50%);
}

.customer_dropdown_item:hover { color: #c9a063; background: #fbfbfb; }
.customer_dropdown_item:hover::before { width: 30px; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* Mobile */
@media (max-width: 768px) {
    .customer_main_banner { height: 400px; }
    .customer_logo_area { top: 20px; left: 20px; }
    .customer_logo_area img { height: 25px; }
    .customer_sub_title_vertical { right: 20px; top: 20px; font-size: 16px; }
    .customer_main_title { font-size: 38px; }
    .customer_en_tagline { font-size: 13px; }
    .customer_nav_wrapper { padding: 30px 15px; }
    .customer_button_container { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
