/*
*reset
*/

* {
    box-sizing: border-box
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
    display: block;
}

audio,
canvas,
progress,
video {
    display: inline-block;
    vertical-align: baseline;
}

audio:not([controls]) {
    display: none;
    height: 0;
}

[hidden],
template {
    display: none;
}

svg:not(:root) {
    overflow: hidden;
}

a {
    background: transparent;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    color: var(--color-black);
}

a:active {
    outline: 0;
}

abbr[title] {
    border-bottom: 1px dotted;
}

b,
strong {
    font-weight: bold;
}

dfn {
    font-style: italic;
}

mark {
    background: #ff0;
    color: #000;
}

small {
    font-size: 80%;
}

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

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

img {
    border: 0;
    vertical-align: middle;
}

hr {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    height: 0;
}

pre {
    overflow: auto;
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word;
}

code,
kbd,
pre,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
    color: inherit;
    font: inherit;
    margin: 0;
}

button {
    overflow: visible;
    border: 0px;
    white-space: nowrap;
}

button,
select {
    text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

button[disabled],
html input[disabled] {
    cursor: default;
    filter: grayscale(0.5);
    opacity: 0.5;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

input {
    line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

input[type="search"] {
    -webkit-appearance: textfield;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

legend {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
    resize: vertical;
}

optgroup {
    font-weight: bold;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

td,
th {
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
form,
blockquote {
    margin: 0;
}

ul,
ol,
li,
dl,
dd {
    margin: 0;
    padding: 0;
}

ul,
ol {
    list-style: none outside none;
}

ul.box_buy_num {}

h1,
h2,
h3 {
    line-height: 2;
    font-weight: bold;
}

em {
    font-style: normal;
}

input:focus {
    outline: none
}

input {
    border: 0;
}

input::-moz-placeholder,
textarea::-moz-placeholder {
    color: #cccccc;
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
    color: #cccccc;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    color: #cccccc;
}

.bg-red {
    background: red;
    color: #fff
}

.bg-green {
    background: #6EC446;
    color: #fff
}

.bg-orange {
    background: #ff855b;
    color: #fff
}

.msg {
    text-align: center;
    padding: 1em;
}

.msg-big {
    text-align: center;
    font-size: 1.5em;
    padding: 1em;
}

.center {
    text-align: center;
}

.mg1 {
    margin: 1em;
}

img {
    max-width: 100%;
}

:root {
    --main1: #9a5e1d;
    --main2: #863f00;
    --mg1: 1rem;
    --color-black: #333;
    --color-light-black: #8a8a8a;
    --color-gray: #8e8e8e;
    --color-dark-gray: #979797;
    --color-light-gray: #979797;
    --color-orange: #fe4201;
    --color-red: #ff311a;
    --color-green: #6EC446;
    --backgroud-black: #363636;
    --backgroud-gray: #F4F4F4;
    --backgroud-dark-gray: #dedede;
    --backgroud-orange: rgba(254, 66, 1, .1);
    --swiper-pagination-color: #fe4201
}


/*
*set rem

@media (min-width: 320px) and (max-width: 359px){ html {font-size: 266.667%;}}
*/

@media (max-width: 375px) {
     :root {
        --mg1: 0.5rem;
    }
}

html {
    font-family: "Noto Sans SC", sans-serif, Arial;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    font-size: 0.4cm;
}

body {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-black);
    background-color: white;
    -webkit-overflow-scrolling: touch;
}

[v-cloak] {
    display: none;
}

.flex-x {
    display: flex;
}

.flex-w {
    display: flex;
    flex-wrap: wrap;
}


/* .page-index .side-left .flex-x {
    flex-wrap: wrap;
} */

.page-index .side-left .flex-x .select-area {
    position: relative;
    width: 120px;
    text-align: left;
}

.page-index .side-left .flex-x .select-box .select-head {
    padding: 0.25em 0 0.25em .3em;
}

.flex-x .select-area i.select-arrow::after {
    content: "▼";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    display: block;
    transform: scaleY(0.55);
    font-style: normal;
    font-size: 1.1em;
    font-weight: bold;
    opacity: 0.6;
}

.page-index .side-left .flex-x input.input-area {
    width: 44px;
    min-width: auto;
    margin-left: 6px;
    border-right: none;
    border-radius: 4px 0 0 4px;
}

.page-index .side-left .flex-x input.input-phone {
    border-radius: 0 4px 4px 0;
}

.flex-s {
    display: flex;
    justify-content: space-between;
}

.form {
    line-height: 2;
    width: 100%;
    margin: 0 auto;
    height: 100%;
    overflow: auto;
    overflow-x: hidden
}

.form .form-item {
    display: flex;
    align-items: stretch;
    flex-grow: 10;
    margin: 1.5rem auto;
}

.form .form-item-label,
.form .form-item-body {
    vertical-align: middle;
}

.form .form-item-label {
    text-align: right;
    width: 4em;
    white-space: nowrap;
    flex-grow: 0;
    flex-shrink: 0;
}

.form .form-item-body {
    position: relative;
    flex-grow: 100;
    text-align: left;
}

.form input,
.form textarea {
    width: 100%;
    line-height: 1.8;
    padding: 0.25em 0.5em;
}

.form input {
    min-width: 4em
}


/* .form input {
    min-width: 4em
} */

.form input[type=checkbox],
.form input[type=radio] {
    width: auto;
    min-width: auto;
}

.form .radio-item {
    margin: 0 0.5em;
    display: inline-block
}

.form .radio-item label {
    padding: 0 0.5em;
    cursor: pointer
}

.form textarea.textarea-editor {
    width: calc(100% - 6em);
    padding: 0
}

.form .form-item-row {
    display: table-row-group
}

.form .gd-editor {
    width: 100%;
    flex-grow: 10;
    min-height: 400px;
}

.form .gd-editor .form-item-body {
    width: 90%;
}

.form .form-row {
    display: flex;
    align-items: stretch;
    vertical-align: center;
    width: 100%;
    flex-direction: row;
    margin: 0;
}

.form .form-row .form-item {}

.form .form-col {
    display: flex;
    align-items: stretch;
    vertical-align: center;
    width: 100%;
    flex-direction: column;
    height: 100%
}

.form .form-col .form-item {
    border-bottom: none
}

.form .form-foot {
    margin: 1em auto;
    text-align: center;
    background: linear-gradient(#eee, #fff);
}

.form-s .form-item {
    display: block;
    text-align: left;
    margin: 0 auto 0.75em auto;
}

.form-s textarea {
    display: block;
}

.select-box {
    position: relative;
    cursor: pointer;
    color: #486162;
    display: inline-block;
    min-width: fit-content;
    line-height: 1.5;
    background: #fff;
    border-radius: 0.3rem;
    border: 1px solid #ccc;
}

.select-box .select-head-box {
    padding-right: 1em;
    position: relative;
}

.select-box .select-head {
    padding: 0.25em 0 0.25em 1em;
    display: inline-block;
    min-width: 2em;
    white-space: nowrap;
}

.select-box .fa {
    font-family: 'FontAwesome', sans-serif;
    cursor: pointer;
    display: inline-block;
    font-style: normal;
    padding: 0 0.5rem;
    font-size: .9rem;
    position: absolute;
    right: 0.2em;
    top: 0.2em;
    line-height: inherit
}

.select-box .select-list {
    display: none;
    position: absolute;
    width: 100%;
    z-index: 10;
    background: #fff;
    border: 1px solid #ccc;
    max-height: 15rem;
    overflow: auto
}

.select-box.unfold .select-list {
    display: block;
    min-width: fit-content
}

.select-box .select-item {
    padding: 0.3rem 0.5rem
}

.select-box .select-item:hover {
    background: #efefef
}

.select-box .select-item.disabled>.select-item-title {
    font-style: italic;
    color: #aaa
}

.select-box .select-item.disabled:hover {
    background: none
}

.input-c {
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    line-height: 2;
    outline: none;
}

.btn {
    padding: 0.25em 0.75em;
    font-size: 14px;
    border-radius: 4px;
    line-height: inherit;
    outline: none;
}

.btn-full {
    display: block;
    border-radius: 4px;
    line-height: 2.5;
    letter-spacing: .2em;
    text-indent: .2em;
    width: 100%;
    transition: all .6s ease;
}

.btn-full:focus {
    border: none;
    outline: none;
}

.btn-common {
    font-size: 0.85em;
    padding: 0 1em
}

.btn-save,
.btn-ok {
    background-color: #9a5e1d;
    color: #fff;
    transition: background-color .6s ease;
    border-radius: 4px;
}

.flex-x .btn-save {
    margin-left: 10px;
}

.btn-save:hover,
.btn-ok:hover {
    background-color: #863f00;
}

button.disabled {
    background: #999;
    color: #fff
}

input:focus,
textarea:focus {
    border: 1px solid var(--main1);
    outline: 2px solid #169bd520;
}

li.empty {
    height: 0px;
    overflow: hidden;
    padding: 0 !important;
    content: ' ';
}


/** popup **/

.pop-blue {
    background: #00000099
}

.pop-blue .popup-inner {
    position: relative;
    max-width: 420px;
    padding-bottom: 40px;
    border-radius: 10px;
    background: #fff;
    border: none;
}

.pop-blue .popup-inner::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 40px;
    background: url(../images/pop-bg.png) no-repeat center bottom;
    z-index: 1;
}

.pop-blue .popup-close {
    text-indent: 100em;
    right: -50px;
    top: 0;
    width: 30px;
    height: 30px;
    background: url(../images/close-btn.png) no-repeat center;
    transition: all .5s ease;
}

.pop-blue .popup-head {
    position: relative;
    margin: 0;
    font-size: 28px;
    height: 46px;
    line-height: 46px;
    font-weight: 600;
    color: #fadf95;
    text-align: center;
    background-image: linear-gradient(#724100, #873f00);
    border-radius: 10px 10px 0 0;
}

.pop-blue .popup-head::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 48px;
    background: url(../images/pop-bg.png) no-repeat center top;
    z-index: 1;
}

.pop-blue .popup-body {
    position: relative;
    z-index: 10;
}

@media (max-width: 800px) {
    .pop-blue .popup-close {
        left: 50%;
        top: auto;
        bottom: -60px;
        transform: translateX(-50%);
        width: 60px;
        height: 60px;
    }
    .pop-blue .popup-body {
        max-height: 65vh;
        overflow-y: auto;
    }
}

.tab-menu {
    display: flex;
}

.tab-menu li {
    padding: 0.5em 1em;
    cursor: pointer;
    transition: all 0.5s;
    border-bottom: 2px solid #e0e0e0;
    flex-grow: 5;
    text-align: center;
    line-height: 2em;
}

.tab-menu li.selected {
    border-color: var(--main1);
    background: var(--main1);
    color: #fff;
}

.popup-body {
    padding: 20px;
    max-width: 100%;
    background: url(../images/pop-bg-center.png) repeat center;
}

.select-area {
    width: 140px;
    min-width: auto;
}

.select-box .select-head-box {
    text-align: left;
    /* 不要寫死內寬度，會影響功能，要限制寬度請針對指定框控制 */
}

.select-box .select-head {
    padding: 0.25em 0 0.25em .5em;
}

.flex-x .select-area i.select-arrow::after {
    right: .6em;
    top: .2em;
}

input.input-area {
    margin-left: 6px;
    width: 100px;
    border-right: none;
    border-radius: 4px 0 0 4px;
}

input.input-phone {
    border-radius: 0 4px 4px 0;
}