body,
div,
p,
dl,
dt,
dd,
table,
th,
td,
form,
fieldset,
address,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
li {
    margin: 0;
    padding: 0;
}

img,
iframe {
    border: 0;
}

button,
input,
textarea,
select {
    margin: 0;
    padding: 0;
    border: 0;
    outline: none;
}

a {
    color: inherit;
    text-decoration: none;
}
a:link {
    color: inherit;
    text-decoration: none;
}
a:visited {
    color: inherit;
    text-decoration: none;
}
a:hover {
    color: inherit;
    text-decoration: underline;
}

hr {
    width: 100%;
    margin: 20px 0;
    border: 1px solid #cccccc;
    clear: both;
}
hr.space {
    width: 100%;
    height: 0;
    margin: 4px 0;
    border: none;
    clear: both;
}

ul {
    list-style: none;
}

.align-center {
    text-align: center;
}
.align-left {
    text-align: left;
}
.align-right {
    text-align: right;
}

.float-left {
    float: left;
}
.float-right {
    float: right;
}

.click {
    cursor: pointer;
}

.space-1px {
    clear: both;
    width: 100%;
    height: 1px;
}
.space-4px {
    clear: both;
    width: 100%;
    height: 4px;
}
.space-10px {
    clear: both;
    width: 100%;
    height: 10px;
}
.space-20px {
    clear: both;
    width: 100%;
    height: 20px;
}
.space-40px {
    clear: both;
    width: 100%;
    height: 40px;
}
.space-100px {
    clear: both;
    width: 100%;
    height: 100px;
}

.visible-pc {
    display: block;
}
.visible-mobile {
    display: none;
}

@media (max-width: 640px) {
    .visible-pc {
        display: none;
    }
    .visible-mobile {
        display: block;
    }
}

#blazor-error-ui {
    display: none;
}

/* common */
:root {
    --swiper-theme-color: #a70000;
}
body {
    height: 100%;
    background: #f6f6f6;
    color: #1b1b1b;
    font-size: 14px;
    font-family: 'baskerville-urw', 'kor-normal';
    line-height: 1.6em;
    word-break: keep-all;
    box-sizing: border-box;
}

@media all and (max-width: 640px) {
    body {
        font-size: 12px;
    }
}

/* layout */
.wrapper {
    width: 100%;
}
.wrapper .container {
    width: 100%;
    margin-top: 100px;
}

section.common {
    width: 100%;
    box-sizing: border-box;
}
section.common article.wide {
    width: 100%;
    box-sizing: border-box;
}
section.common article.center {
    width: 1180px;
    margin: 0 auto;
    padding: 40px 0;
    box-sizing: border-box;
}
section.common article.title {
    width: 100%;
    padding: 20px;
    border-bottom: 1px solid #000000;
    box-sizing: border-box;
}

@media all and (max-width: 1180px) {
    .wrapper .container {
        margin-top: 50px;
    }

    section.common article.center {
        width: 100%;
        padding: 40px;
    }
    section.common article.title {
        padding: 14px;
    }
}

@media all and (max-width: 640px) {
    section.common article.center {
        width: 100%;
        padding: 30px;
    }
}

section.center {
    width: 1180px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    box-sizing: border-box;
}
section.center article.left {
    width: 880px;
    flex-basis: 880px;
    padding: 40px 0;
    box-sizing: border-box;
}
section.center article.right {
    flex-basis: 240px;
    padding: 40px 0;
    box-sizing: border-box;
    position: relative;
}
section.center article.right ul.menu-sub {
    position: sticky;
    top: 130px;
}
section.center article.right ul.menu-sub li {
    margin-bottom: 1px;
    padding: 10px 20px;
    background: #ffffff;
    box-sizing: border-box;
    cursor: pointer;
}
section.center article.right ul.menu-sub li:hover {
    background: #837c6b;
    color: #ffffff;
}
section.center article.right ul.menu-sub li.select {
    background: #f0f0f0;
    font-weight: bold;
}
section.center article.right ul.menu-sub li.select:hover {
    background: #f0f0f0;
    color: #000000;
    cursor: default;
}

@media all and (max-width: 640px) {
    section.center {
        width: 100%;
    }
    section.center article.left {
        width: 100%;
        flex-basis: 100%;
        padding: 30px;
    }
    section.center article.right {
        flex-basis: 100%;
        padding: 0;
    }
    section.center article.right ul.menu-sub li {
        padding: 10px 30px;
    }
}

/* col */
ul.col2 {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
ul.col2 li.item {
    flex-basis: 50%;
}

@media all and (max-width: 640px) {
    ul.col2 li.item {
        flex-basis: 100%;
    }
}

ul.col4 {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
ul.col4 li.item {
    flex-basis: 25%;
}

@media all and (max-width: 640px) {
    ul.col4 li.item {
        flex-basis: 100%;
    }
}

/* box */
.box {
    width: 100%;
    margin: 0 0 20px 0;
    padding: 30px;
    border: 4px solid #cccccc;
    box-sizing: border-box;
}

@media all and (max-width: 640px) {
    .box {
        padding: 20px;
    }
}

/* font */
@font-face {
    font-family: 'kor-normal';
    font-style: normal;
    font-weight: 400;
    src: url(//fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Regular.woff2) format('woff2'),
        url(//fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Regular.woff) format('woff'),
        url(//fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Regular.otf) format('opentype');
    unicode-range: U+0030-0039, U+AC00-D7A3;
}

.kor-normal {
    font-family: 'kor-normal';
}
.eng-normal {
    font-family: 'baskerville-urw', 'serif';
    font-weight: 400;
    font-style: normal;
}
.eng-bold {
    font-family: 'baskerville-urw', 'serif';
    font-weight: 500;
    font-style: normal;
}

/* text */
h1 {
    font-size: 24px;
}
h1.normal {
    font-weight: normal;
}
h1.center {
    width: 100%;
    text-align: center;
}

h2 {
    font-size: 20px;
    margin-bottom: 10px;
}
h2.normal {
    font-weight: normal;
}
h2.center {
    width: 100%;
    text-align: center;
}

h3 {
    font-size: 16px;
    margin-bottom: 10px;
}
h3.normal {
    font-weight: normal;
}
h3.center {
    width: 100%;
    text-align: center;
}

p {
    margin-bottom: 20px;
}

.focus {
    color: #a70000;
}

@media all and (max-width: 640px) {
    h1 {
        font-size: 20px;
    }
    h2 {
        font-size: 16px;
    }
    h3 {
        font-size: 14px;
    }
}

/* loading */
.loading {
    margin: 100px auto 0;
    width: 70px;
    text-align: center;
}
.loading > div {
    width: 18px;
    height: 18px;
    background-color: #333;
    border-radius: 100%;
    display: inline-block;
    -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}
.loading .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}
.loading .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
    0%,
    80%,
    100% {
        -webkit-transform: scale(0);
    }
    40% {
        -webkit-transform: scale(1);
    }
}

@keyframes sk-bouncedelay {
    0%,
    80%,
    100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    40% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

button,
input,
textarea,
select {
    font-size: 14px;
}

@media (max-width: 640px) {
    button,
    input,
    textarea,
    select {
        font-size: 12px;
    }

    select {
        width: 100%;
    }
}

/* input */
input,
textarea,
select {
    padding: 14px;
    background: #fafafa;
    border: 1px solid #cccccc;
    -webkit-transition: border 500ms ease-out;
    -moz-transition: border 500ms ease-out;
    -o-transition: border 500ms ease-out;
    font-size: 12px;
    font-family: 'kor-nomal';
    box-sizing: border-box;
    outline: none;
}
input:focus,
textarea:focus,
select:focus {
    background: #ffffff;
}
input:hover,
textarea:hover,
select:hover {
    border: 1px solid #000000;
}
input.invalid,
textarea.invalid,
select.invalid {
    border: 1px solid #a70000;
}

.input-25 {
    width: 25%;
}
.input-100 {
    width: 100%;
}

/* form-input */
ul.form-input {
    width: 480px;
    margin: 40px auto;
}
ul.form-input li {
    width: 100%;
    margin-bottom: 20px;
}
ul.form-input li .label {
    width: 100%;
    margin-bottom: 4px;
    color: #666666;
    font-size: 11px;
}

/* form-control */
ul.form-control {
    width: 480px;
    margin: 0 auto 40px auto;
}
ul.form-control li {
    margin-bottom: 4px;
}

@media (max-width: 640px) {
    ul.form-input {
        width: 100%;
        margin: 0 auto;
    }

    ul.form-control {
        width: 100%;
        margin: 0 auto;
    }
}

.validation-message {
    margin-bottom: 4px;
    color: #a70000;
}

/* button */
.btn-100 {
    width: 100%;
}

.btn-focus {
    padding: 13px 40px;
    background: #837c6b;
    -webkit-transition: background 500ms ease-out;
    -moz-transition: background 500ms ease-out;
    -o-transition: background 500ms ease-out;
    color: #ffffff;
    cursor: pointer;
    outline: none;
}
.btn-focus:hover {
    background: #aea086;
}

.btn-line {
    padding: 12px 40px;
    background: #ffffff;
    -webkit-transition: background 300ms ease-out;
    -moz-transition: background 300ms ease-out;
    -o-transition: background 300ms ease-out;
    border: 1px solid #999999;
    color: #999999;
    cursor: pointer;
    outline: none;
}
.btn-line:hover {
    background: #999999;
    color: #ffffff;
}

@media (max-width: 640px) {
    .btn-focus {
        width: 100%;
        margin-bottom: 4px;
    }

    .btn-line {
        width: 100%;
        margin-bottom: 4px;
    }
}

/* table */
table.list {
    width: 100%;
    border-collapse: collapse;
}
table.list thead th {
    padding: 10px;
    border-top: 2px solid #000000;
    border-bottom: 1px solid #000000;
}
table.list tbody tr {
    cursor: pointer;
}
table.list tbody tr:hover {
    background: #ffffff;
}
table.list tbody td {
    padding: 10px;
    border-bottom: 1px solid #e1e1e1;
    font-size: 12px;
    text-align: center;
}
table.list tbody td.left {
    text-align: left;
}
table.list tbody td.w-25 {
    width: 25%;
}

@media all and (max-width: 640px) {
    table.list tbody td {
        padding: 10px 0;
    }
}

/* product-list */
ul.product-list {
    width: 100%;
    float: left;
}
ul.product-list li {
    width: 25%;
    margin-bottom: 20px;
    box-sizing: border-box;
    position: relative;
    float: left;
    cursor: pointer;
}
ul.product-list li .thumbnail {
    width: 100%;
    float: left;
}
ul.product-list li .thumbnail img {
    width: 100%;
    float: left;
}
ul.product-list li .description {
    width: 100%;
    padding: 30px;
    box-sizing: border-box;
    text-align: center;
}
ul.product-list li ul.spec li {
    width: 100%;
    text-align: center;
}

@media all and (max-width: 1180px) {
    ul.product-list li {
        width: 50%;
    }
}

@media all and (max-width: 640px) {
    ul.product-list li {
        width: 100%;
    }
}

/* popup */
.popup {
    width: 480px;
    position: fixed;
    top: 100px;
    left: 100px;
    z-index: 9999;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}
.popup .container {
    width: 100%;
}
.popup .container img {
    width: 100%;
}
.popup .close {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    background: #000000;
    color: #ffffff;
    text-align: right;
}

@media all and (max-width: 640px) {
    .popup {
        width: 80%;
        top: 60px;
        left: 10px;
    }
}
