/*
! tailwindcss v3.4.1 | MIT License | https://tailwindcss.com
*/

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
    box-sizing: border-box;
    /* 1 */
    border-width: 0;
    /* 2 */
    border-style: solid;
    /* 2 */
    border-color: #e5e7eb;
    /* 2 */
}

::before,
::after {
    --tw-content: "";
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
    line-height: 1.5;
    /* 1 */
    -webkit-text-size-adjust: 100%;
    /* 2 */
    -moz-tab-size: 4;
    /* 3 */
    -o-tab-size: 4;
    tab-size: 4;
    /* 3 */
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
        "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    /* 4 */
    font-feature-settings: normal;
    /* 5 */
    font-variation-settings: normal;
    /* 6 */
    -webkit-tap-highlight-color: transparent;
    /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
    margin: 0;
    /* 1 */
    line-height: inherit;
    /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
    height: 0;
    /* 1 */
    color: inherit;
    /* 2 */
    border-top-width: 1px;
    /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
    color: inherit;
    text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
    font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        "Liberation Mono", "Courier New", monospace;
    /* 1 */
    font-feature-settings: normal;
    /* 2 */
    font-variation-settings: normal;
    /* 3 */
    font-size: 1em;
    /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
    font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
    text-indent: 0;
    /* 1 */
    border-color: inherit;
    /* 2 */
    border-collapse: collapse;
    /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    /* 1 */
    font-feature-settings: inherit;
    /* 1 */
    font-variation-settings: inherit;
    /* 1 */
    font-size: 100%;
    /* 1 */
    font-weight: inherit;
    /* 1 */
    line-height: inherit;
    /* 1 */
    color: inherit;
    /* 1 */
    margin: 0;
    /* 2 */
    padding: 0;
    /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
    text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
    /* 1 */
    background-color: transparent;
    /* 2 */
    background-image: none;
    /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
    outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
    box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
    vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
    height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type="search"] {
    -webkit-appearance: textfield;
    /* 1 */
    outline-offset: -2px;
    /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
    -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
    -webkit-appearance: button;
    /* 1 */
    font: inherit;
    /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
    display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
    margin: 0;
}

fieldset {
    margin: 0;
    padding: 0;
}

legend {
    padding: 0;
}

ol,
ul,
menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
    padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
    resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder,
textarea::-moz-placeholder {
    opacity: 1;
    /* 1 */
    color: #9ca3af;
    /* 2 */
}

input::placeholder,
textarea::placeholder {
    opacity: 1;
    /* 1 */
    color: #9ca3af;
    /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
    cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
    cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
    display: block;
    /* 1 */
    vertical-align: middle;
    /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
    max-width: 100%;
    height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden] {
    display: none;
}

*,
::before,
::after {
    --tw-border-spacing-x: 0;
    --tw-border-spacing-y: 0;
    --tw-translate-x: 0;
    --tw-translate-y: 0;
    --tw-rotate: 0;
    --tw-skew-x: 0;
    --tw-skew-y: 0;
    --tw-scale-x: 1;
    --tw-scale-y: 1;
    --tw-pan-x: ;
    --tw-pan-y: ;
    --tw-pinch-zoom: ;
    --tw-scroll-snap-strictness: proximity;
    --tw-gradient-from-position: ;
    --tw-gradient-via-position: ;
    --tw-gradient-to-position: ;
    --tw-ordinal: ;
    --tw-slashed-zero: ;
    --tw-numeric-figure: ;
    --tw-numeric-spacing: ;
    --tw-numeric-fraction: ;
    --tw-ring-inset: ;
    --tw-ring-offset-width: 0px;
    --tw-ring-offset-color: #fff;
    --tw-ring-color: rgb(59 130 246 / 0.5);
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    --tw-shadow: 0 0 #0000;
    --tw-shadow-colored: 0 0 #0000;
    --tw-blur: ;
    --tw-brightness: ;
    --tw-contrast: ;
    --tw-grayscale: ;
    --tw-hue-rotate: ;
    --tw-invert: ;
    --tw-saturate: ;
    --tw-sepia: ;
    --tw-drop-shadow: ;
    --tw-backdrop-blur: ;
    --tw-backdrop-brightness: ;
    --tw-backdrop-contrast: ;
    --tw-backdrop-grayscale: ;
    --tw-backdrop-hue-rotate: ;
    --tw-backdrop-invert: ;
    --tw-backdrop-opacity: ;
    --tw-backdrop-saturate: ;
    --tw-backdrop-sepia: ;
}

::backdrop {
    --tw-border-spacing-x: 0;
    --tw-border-spacing-y: 0;
    --tw-translate-x: 0;
    --tw-translate-y: 0;
    --tw-rotate: 0;
    --tw-skew-x: 0;
    --tw-skew-y: 0;
    --tw-scale-x: 1;
    --tw-scale-y: 1;
    --tw-pan-x: ;
    --tw-pan-y: ;
    --tw-pinch-zoom: ;
    --tw-scroll-snap-strictness: proximity;
    --tw-gradient-from-position: ;
    --tw-gradient-via-position: ;
    --tw-gradient-to-position: ;
    --tw-ordinal: ;
    --tw-slashed-zero: ;
    --tw-numeric-figure: ;
    --tw-numeric-spacing: ;
    --tw-numeric-fraction: ;
    --tw-ring-inset: ;
    --tw-ring-offset-width: 0px;
    --tw-ring-offset-color: #fff;
    --tw-ring-color: rgb(59 130 246 / 0.5);
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    --tw-shadow: 0 0 #0000;
    --tw-shadow-colored: 0 0 #0000;
    --tw-blur: ;
    --tw-brightness: ;
    --tw-contrast: ;
    --tw-grayscale: ;
    --tw-hue-rotate: ;
    --tw-invert: ;
    --tw-saturate: ;
    --tw-sepia: ;
    --tw-drop-shadow: ;
    --tw-backdrop-blur: ;
    --tw-backdrop-brightness: ;
    --tw-backdrop-contrast: ;
    --tw-backdrop-grayscale: ;
    --tw-backdrop-hue-rotate: ;
    --tw-backdrop-invert: ;
    --tw-backdrop-opacity: ;
    --tw-backdrop-saturate: ;
    --tw-backdrop-sepia: ;
}

.visible {
    visibility: visible;
}

.fixed {
    position: fixed;
}

.absolute {
    position: absolute;
}

.relative {
    position: relative;
}

.left-0 {
    left: 0px;
}

.top-0 {
    top: 0px;
}

.z-\[2\] {
    z-index: 2;
}

.my-3 {
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
}

.my-auto {
    margin-top: auto;
    margin-bottom: auto;
}

.mb-0 {
    margin-bottom: 0px;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.ml-10 {
    margin-left: 2.5rem;
}

.ml-3 {
    margin-left: 0.75rem;
}

.ml-\[12\%\] {
    margin-left: 12%;
}

.ml-auto {
    margin-left: auto;
}

.mr-16 {
    margin-right: 4rem;
}

.mr-32 {
    margin-right: 8rem;
}

.mr-\[50px\] {
    margin-right: 50px;
}

.mr-\[6\%\] {
    margin-right: 6%;
}

.mr-auto {
    margin-right: auto;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-\[5px\] {
    margin-top: 5px;
}

.block {
    display: block;
}

.flex {
    display: flex;
}

.hidden {
    display: none;
}

.aspect-\[2\.7\] {
    aspect-ratio: 2.7;
}

.h-\[120px\] {
    height: 120px;
}

.h-\[50px\] {
    height: 50px;
}

.h-\[52px\] {
    height: 52px;
}

.w-11 {
    width: 2.75rem;
}

.w-\[140px\] {
    width: 140px;
}

.w-\[165px\] {
    width: 165px;
}

.w-\[52px\] {
    width: 52px;
}

.w-\[70\%\] {
    width: 70%;
}

.w-\[85\%\] {
    width: 85%;
}

.w-\[85px\] {
    width: 85px;
}

.w-full {
    width: 100%;
}

.w-\[220px\] {
    width: 220px;
}

.max-w-full {
    max-width: 100%;
}

.shrink-0 {
    flex-shrink: 0;
}

.flex-row {
    flex-direction: row;
}

.flex-col {
    flex-direction: column;
}

.items-end {
    align-items: flex-end;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-5 {
    gap: 1.25rem;
}

.gap-6 {
    gap: 1.5rem;
}

.space-y-2 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}

.self-stretch {
    align-self: stretch;
}

.overflow-y-auto {
    overflow-y: auto;
}

.rounded-\[200px\] {
    border-radius: 200px;
}

.border {
    border-width: 1px;
}

.border-b-2 {
    border-bottom-width: 2px;
}

.border-solid {
    border-style: solid;
}

.border-gray-100 {
    --tw-border-opacity: 1;
    border-color: rgb(243 244 246 / var(--tw-border-opacity));
}

.border-white {
    --tw-border-opacity: 1;
    border-color: rgb(255 255 255 / var(--tw-border-opacity));
}

.bg-white {
    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255 / var(--tw-bg-opacity));
}

.p-0 {
    padding: 0px;
}

.p-2 {
    padding: 0.5rem;
}

.px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.px-2\.5 {
    padding-left: 0.625rem;
    padding-right: 0.625rem;
}

.px-5 {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.py-10 {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.pb-10 {
    padding-bottom: 2.5rem;
}

.pl-0 {
    padding-left: 0px;
}

.pl-10 {
    padding-left: 2.5rem;
}

.pr-8 {
    padding-right: 2rem;
}

.pt-10 {
    padding-top: 2.5rem;
}

.pt-3 {
    padding-top: 0.75rem;
}

.pt-4 {
    padding-top: 1rem;
}

.text-\[14px\] {
    font-size: 14px;
}

.text-\[20px\] {
    font-size: 20px;
}

.text-\[22px\] {
    font-size: 22px;
}

.text-lg {
    font-size: 20px;
}

.text-sm {
    font-size: 16px;
}

.text-xl {
    font-size: 24px;
}

.leading-5 {
    line-height: 1.25rem;
}

.leading-8 {
    line-height: 2rem;
}

.tracking-\[\.15rem\] {
    letter-spacing: 0.15rem;
}

.tracking-\[\.25rem\] {
    letter-spacing: 0.25rem;
}

.tracking-\[0\.20rem\] {
    letter-spacing: 0.2rem;
}

.tracking-\[3\.84px\] {
    letter-spacing: 3.84px;
}

.tracking-normal {
    letter-spacing: 0em;
}

.tracking-wider {
    letter-spacing: 0.05em;
}

.text-white {
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity));
}

.no-underline {
    text-decoration-line: none;
}

.shadow-xll {
    --tw-shadow: 0 5px 30px 0px rgba(0, 0, 0, 0.5);
    --tw-shadow-colored: 0 5px 30px 0px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),
        var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

* {
    box-sizing: border-box;
    font-family: "Noto Sans", sans-serif;
}

/* 隱藏scrollbar */

body::-webkit-scrollbar {
    display: none;
}

/* --------------------------------------------------- */

/* <!-- navbar --> */

#formBox {
    display: none;
}

.nav-bg {
    position: fixed;
    top: 0;
    /* 距離屏幕頂部的距離 */
    left: 0;
    /* 距離屏幕左側的距離 */
    width: 100%;
    /* 寬度填滿整個屏幕 */
    z-index: 30;
    transition: top 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.dropdown-branmenu li a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    color: #686868;
    letter-spacing: 0em;
    text-decoration-line: none;
    padding: 4px 0;
}

.dropdown-branmenu li a:hover {
    color: #1b3150;
    background: #bdd6e3;
}

.dropdown-langmenu a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    color: #686868;
    letter-spacing: 0em;
    text-decoration-line: none;
    padding: 4px 0;
}

.dropdown-langmenu a:hover {
    color: #1b3150;
    background: #bdd6e3;
}

/* 漢堡線 */

.hamburger-button {
    pointer-events: auto;
    position: absolute;
    transition: 0.3s ease-in-out;
    width: 45px;
    height: 45px;
    top: 60px;
    right: 30px;
    z-index: 100;
    cursor: pointer;
}

.hamburger-button span {
    position: absolute;
    height: 2px;
    border-radius: 4px;
    width: 75%;
    background-color: #ffffff;
    top: 50%;
    /* 調整垂直位置 */
    transform: translateY(-50%);
    /* 使元素垂直居中 */
    transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

.hamburger-button span:nth-child(1) {
    top: 0px;
}

.hamburger-button span:nth-child(2),
.hamburger-button span:nth-child(3) {
    top: 13px;
}

.hamburger-button span:nth-child(4) {
    top: 25px;
}

.hamburger-button.active span {
    background-color: #fff;
}

.hamburger-button.active span:nth-child(1),
.hamburger-button.active span:nth-child(4) {
    opacity: 0;
}

.hamburger-button.active span:nth-child(2) {
    transform: rotate(45deg);
}

.hamburger-button.active span:nth-child(3) {
    transform: rotate(-45deg);
}

/* <!-- 選單內 --> */

.overlay {
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, height 0.3s;
    height: 100vh;
    width: 100%;
    background: #415065;
    position: fixed;
    top: 0;
    left: 0;
    opacity: 1;
    z-index: 20;
}

.no-scroll {
    overflow: hidden;
}

.overlay.visible {
    opacity: 1;
    visibility: visible;
}

.bookbtn,
.bookbtn:focus {
    letter-spacing: 5px;
    position: relative;
    z-index: 1;
    min-width: 200px;
    border: 2px solid #ffffff;
    border-radius: 0;
    color: #ffffff;
    font-size: 18px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    overflow: hidden;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.2), 0 1px 0 rgba(0, 0, 0, 0.2);
    transition: all 1s ease;
    padding: 10px 20px;
}

.bookbtn:after {
    content: "";
    position: absolute;
    height: 0%;
    left: 50%;
    top: 50%;
    width: 150%;
    z-index: -1;
    background-color: #bdd6e34d;
    transform: translateX(-50%) translateY(-50%) rotate(-25deg);
    transition: all 0.75s ease 0s;
}

.bookbtn:hover {
    color: #ffffff;
    text-shadow: none;
}

.bookbtn:hover:after {
    height: 450%;
}

.dropdown-langmenu2 a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    color: #686868;
    letter-spacing: 0em;
    text-decoration-line: none;
    padding: 4px 0;
}

.dropdown-langmenu2 a:hover {
    color: #1b3150;
    background: #bdd6e3;
}

.menu-scroll-container {
    @media (max-width: 1360px) {
        max-height: 100vh;

        /* overflow-y: auto;  */
    }
}

.menu-area {
    display: flex;
    /* padding-top: 15px; */
    max-width: 100%;
    /* 可以根據需要調整最大寬度 */
    justify-content: center;
    align-items: center;
    @media (max-width: 1360px) {
        padding-top: 35px;
    }
    @media (max-width: 420px) {
        padding-top: 20px;
    }
}

.menuNavArea {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nav-area {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    letter-spacing: 3px;
    padding-right: 25px;
    color: #ffffff;
    font-weight: bolder;
}

.nav-area a,
.nav-area span {
    display: flex;
    justify-content: center;
    align-items: center;
    border-right: 2px solid rgba(255, 255, 255, 0.3);
    height: 87px;
    padding-right: 36px;
    font-size: 24px;
    transition: border-color 0.3s ease;
    color: #ffffff;
    text-decoration: none;
    position: relative;
    padding-left: 30px;
}

.nav-area a:hover,
.nav-area span:hover {
    border-right: 2px solid #ffffff;
    color: #ffffff;
    cursor: pointer;
}

.pointIcon {
    border: none !important;
}

.nav-area a.active .pointIcon,
.nav-area span.active .pointIcon {
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
}

.nav-area a.active,
.nav-area span.active {
    border-right: 2px solid #ffffff;
}

.nav-rwd {
    display: none;
    @media (max-width: 1360px) {
        display: block;

        display: flex;

        flex-direction: column;

        justify-content: center;

        align-items: start;

        letter-spacing: 3px;

        color: #ffffff;

        font-weight: bolder;

        font-size: 24px;
    }
    @media (max-width: 420px) {
        font-size: 20px;
    }
}

.nav-rwd a {
    display: flex;
    align-items: center;
    font-weight: 700;
    padding: 12px 0;
    color: #ffffff;
    text-decoration: none;
    @media (max-width: 420px) {
        height: 60px;
    }
}

.nav-rwd a:hover {
    color: #ffffff;
}

.sub-menu li {
    padding-top: 10px;
    @media (max-width: 420px) {
        padding-top: 3px;
    }
}

.sub-menu a {
    font-weight: 300;
    font-size: 20px;
    @media (max-width: 420px) {
        font-size: 16px;
    }
}

.sub-menu a:hover {
    color: #ffffff;
}

.branch-img img {
    border-radius: 4px;
    width: 783px;
    height: 440px;
    -o-object-fit: cover !important;
    object-fit: cover !important;
}

.branch-menu {
    margin-left: 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.branch-menu ul {
    display: flex;
}

.branch-menu li a {
    width: 150px;
    height: 70px;
    margin: 5px;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    /* 垂直居中 */
    border-top: solid 2px #ffffff;
    color: #ffffff;
    letter-spacing: 0.256rem;
    transition: background-color 0.3s;
    /* 添加过渡效果 */
    text-decoration: none;
}

.branch-menu li:hover {
    background-color: #233247;
}

.menu-buttom {
    width: 100%;
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    padding-top: 20px;
    @media (max-width: 1579px) {
        margin-bottom: 100px;

        padding-bottom: 50px;
    }
}

.sub-menu {
    display: none;
}

.sub-menu.show {
    display: block;
}

.fa-chevron-down {
    transition: transform 0.3s ease;
}

.rotate-up {
    transform: rotate(180deg);
}

/* ----------------------------------------------- */

/* To Top Button */

#myBtn {
    display: none;
    position: fixed;
    bottom: 80px;
    right: 30px;
    z-index: 50;
}

.button-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2.5px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
    background-color: white;
    background-opacity: 0.7;
    height: 52px;
    width: 52px;
    border-radius: 200px;
    transition: background-color 0.3s;
}

.button-content i {
    color: black;
    transition: color 0.3s;
}

#myBtn:hover .button-content {
    background-color: #1b3150;
}

#myBtn:hover .button-content i {
    color: white;
}

/* --------------------------------------------------- */

/* footer */

.footer-container {
    /* padding-top: 2vh; */
    background-color: #415065;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
    background-size: cover;
    @media (max-width: 1579px) {
        padding-top: 2vh;
    }
    @media (max-width: 420px) {
        min-height: 600px;
    }
}

.footer-line {
    border-top: 2px solid #ffffff;
}

.footer-menu {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    letter-spacing: 3px;
    color: #ffffff;
    font-size: 16px;
    margin: 20px 0;
    gap: 40px;
    @media (max-width: 1579px) {
        padding-left: 20px;

        padding-right: 20px;

        margin-bottom: 20px;

        gap: 25px;
    }
    @media (max-width: 420px) {
        padding-left: 15px;

        padding-right: 15px;

        margin-bottom: 20px;

        font-size: 14px;

        gap: 16px;
    }
}

.footer-menu a {
    text-decoration-line: none;
    color: #ffffff;
    outline: none;
}

.footer-menu a:hover {
    color: #ffffff;
}

.footer-menu p {
    margin: 20px;
    font-size: 16px;
    @media (max-width: 1579px) {
        margin: 15px;
    }
    @media (max-width: 420px) {
        margin: 10px;
    }
}

.footer-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 1rem;
    @media (max-width: 420px) {
        gap: 15px;
    }
}

.footer-nav li {
    padding-left: 20px;
    border-left: 1px solid #ffffff;
}

.footer-nav li:first-child {
    border-left: none;
}

.footer-nav a {
    font-size: 14px;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 3.2px;
}

.footer-nav a:hover {
    color: #ffffff;
}

.footer-rwd {
    display: none;
    @media (max-width: 420px) {
        display: block;

        justify-content: center;

        text-align: center;

        margin-bottom: 20px;
    }
}

@media (max-width: 420px) {
    .sm\:mb-0 {
        margin-bottom: 0px;
    }

    .sm\:mb-5 {
        margin-bottom: 1.25rem;
    }

    .sm\:mr-20 {
        margin-right: 5rem;
    }

    .sm\:mr-24 {
        margin-right: 6rem;
    }

    .sm\:mt-4 {
        margin-top: 1rem;
    }

    .sm\:block {
        display: block !important;
    }

    .sm\:hidden {
        display: none !important;
    }

    .sm\:h-\[60px\] {
        height: 60px;
    }

    .sm\:w-9 {
        width: 2.25rem;
    }

    .sm\:w-\[100px\] {
        width: 100px;
    }

    .sm\:w-\[110px\] {
        width: 110px;
    }

    .sm\:flex-col {
        flex-direction: column;
    }

    .sm\:items-center {
        align-items: center;
    }
}

@media (max-width: 1360px) {
    .md\:mb-10 {
        margin-bottom: 2.5rem;
    }

    .md\:block {
        display: block !important;
    }

    .md\:hidden {
        display: none !important;
    }
}

@media (max-width: 1579px) {
    .lg\:my-5 {
        margin-top: 1.25rem;
        margin-bottom: 1.25rem;
    }

    .lg\:mb-7 {
        margin-bottom: 1.75rem;
    }

    .lg\:ml-\[5\%\] {
        margin-left: 5%;
    }

    .lg\:mr-\[2\%\] {
        margin-right: 2%;
    }

    .lg\:mt-10 {
        margin-top: 2.5rem;
    }

    .lg\:block {
        display: block;
    }

    .lg\:hidden {
        display: none;
    }

    .lg\:flex-col {
        flex-direction: column;
    }
}
