/* 顯示 sm 隱藏 lg */
.show_sm {
    display: block;
}
.show_lg {
    display: none;
}
/* SM 以上 */
@media (min-width: 768px) {
}
/* MD 以上 */
@media (min-width: 992px) {
    .show_sm {
        display: none;
    }
    .show_lg {
        display: block;
    }
}
header {
    transition: all 0.6s ease;
    opacity: 1;
}
body.scroll_down header.show_lg {
    opacity: 0;
    top: 0;
    transform: translateY(-150%);
}
header li {
    padding: 0 0.25rem;
    height: 100%;
}
header a {
    color: #ffffff !important;
    font-weight: lighter;
    line-height: 1;
    letter-spacing: 0.5em;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    padding: 0.5rem;
    height: 100%;
    width: 100%;
}
header a span {
    white-space: nowrap;
}
header.show_lg a::before {
    content: '●';
    transform: scale(0.5);
}
header.show_sm a {
    letter-spacing: 0.25em;
    line-height: 1.3;
}
img + small {
    color: #ffffff;
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 0.25rem;
    z-index: 5;
    width: 100%;
    text-align: right;
    text-shadow: var(--text_shadow);
    font-size: 12px;
}
.h_full {
    min-height: max(100svh, 600px);
}

/* SM only */
@media (max-width: 767.98px) {
}

/* ===============================
    表單
=============================== */
form input:not([type='checkbox']),
form select {
    border: none !important;
    padding: 0;
    width: 100%;
    text-align: center;
    text-align-last: center; /* 手機有效 */
    background: none;
    font-weight: lighter;
}
form label {
    white-space: nowrap;
    margin: 0;
    display: inline-block;
    text-align-last: justify;
    text-align: justify;
    width: 6em !important;
}
.form-control:focus {
    background: none;
}
.form_item {
    display: flex;
    padding: 0.5rem 1rem;
    position: relative;
    background-color: #ffffff;
    color: #666666;
    font-weight: normal;
}
.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}
