/* PCヘッダーをシンプルに（2026-11-09 試作・agoda型）
   浮いた丸いバー → 画面幅いっぱいの白いバー＋下線。ナビは文字だけでロゴの右に寄せ、
   右側は 言語・お問い合わせ・ログイン（文字）・会員登録（枠ボタン）。スマホ（780px以下）は今のまま */
@media screen and (min-width: 781px) {
    #header {
        width: 100%; top: 0; left: 0; transform: none; padding: 0;
        border-radius: 0; box-shadow: none; border-bottom: 1px solid #e3e8e3;
    }
    #header .header-container { height: 68px; padding: 0 32px; gap: 28px; justify-content: flex-start; }
    #header .main-logo { flex: 0 0 auto; max-width: none; }
    #header .main-logo img { width: 104px; display: block; }

    /* ナビ: ロゴのすぐ右。アイコンなし・文字だけ */
    #header .header-menu-box { flex: 1 1 auto; justify-content: space-between; flex-wrap: nowrap; flex-direction: row; align-items: center; min-width: 0; }
    #header ul.menu-list_area { gap: 4px; flex-wrap: nowrap; }
    #header li.menu-list, #header li.menu-list:hover { padding: 0; background: none; border-radius: 0; }
    #header li.menu-list a { display: block; padding: 8px 12px; border-radius: 8px; color: #1f2a20; font-size: 14px; font-weight: 700; white-space: nowrap; text-decoration: none; transition: background .15s, color .15s; }
    #header li.menu-list a:hover { background: #f1f5f0; color: #376439; }
    #header .header-menu-icon { gap: 0; }
    #header .header-menu-icon img { display: none; }

    /* 右側 */
    #header .header-menu-box > .flex:last-child { gap: 6px !important; flex-wrap: nowrap; }
    #header .lang-switch-btn { padding: 6px 8px; border-radius: 8px; }
    #header .lang-switch-btn:hover { background: #f1f5f0; }
    #header .lang-switch-btn img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
    #header .header-btn_contact { width: auto; height: auto; background: none !important; }
    #header .header-btn_contact a { line-height: 1; padding: 11px 12px; border-radius: 8px; font-size: 14px; font-weight: 700; color: #1f2a20; white-space: nowrap; }
    #header .header-btn_contact a:hover { background: #f1f5f0; color: #376439; }
    #header .header-login_btn { width: auto; height: auto; padding: 11px 12px; border: 0; border-radius: 8px; gap: 0; }
    #header .header-login_btn img { display: none; }
    #header .header-login_btn strong { font-size: 14px; font-weight: 800; color: #376439; white-space: nowrap; }
    #header a:hover .header-login_btn { background: #f1f5f0; }
    #header .hd-signup {
        display: inline-flex; align-items: center; height: 40px; padding: 0 18px; margin-left: 4px;
        border: 1.5px solid #376439; border-radius: 999px; color: #376439; font-size: 14px; font-weight: 800; white-space: nowrap; text-decoration: none;
        transition: background .15s, color .15s;
    }
    #header .hd-signup:hover { background: #376439; color: #fff; }

    /* トップ: ヘッダーが低くなった分、写真を上に詰める */
    /* トップの写真の位置は top-modern.css 側で調整 */
}
/* 幅が狭いPC・タブレットでは文字と余白を詰める */
@media screen and (min-width: 781px) and (max-width: 1180px) {
    #header .header-container { padding: 0 16px; gap: 12px; }
    #header .main-logo img { width: 92px; }
    #header li.menu-list a, #header .header-btn_contact a, #header .header-login_btn { padding: 8px 8px; font-size: 13px; }
    #header .header-login_btn strong, #header .hd-signup { font-size: 13px; }
    #header .hd-signup { padding: 0 12px; }
}
@media screen and (min-width: 781px) and (max-width: 960px) {
    #header .header-btn_area { display: none; } /* お問い合わせはフッター・メニューにもあるので隠す */
}
/* VN: メニューの文字が長いので、さらに狭い幅では「Đăng ký miễn phí」ボタンを隠す（ログイン画面から登録できる）2026-11-09 */
@media screen and (min-width: 781px) and (max-width: 900px) {
    #header .hd-signup { display: none; }
}
