@charset "utf-8";

html, body, div, span, applet, object, iframe, table, caption, tbody, tfoot, thead, tr, th, td, 
del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, sub, sup, tt, var, 
h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, 
dl, dt, dd, ol, ul, li, fieldset, form, label, legend input, textarea, button, select{
    vertical-align: baseline;
    font-family: inherit;
    font-weight: inherit;
    font-style: inherit;
    font-size: 100%;
    outline: 0;
    padding: 0;
    margin: 0;
    border: 0;
}

* { margin:0; padding:0; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
html { width:100%; }
img { vertical-align:middle; border:none; }
a { text-decoration:none; cursor:pointer; }
div, input, button { vertical-align:middle; border:none; }
button { background-color: transparent; }
textarea { border:none; }

li { list-style: none; margin: 0; padding: 0;}
.continaer { max-width: 1920px; margin: 0 auto; outline: 1px solid red; }

button { cursor: pointer; }
.top_btn { right:20px; bottom:20px; position: fixed; z-index: 9999; background-color: transparent; }

.red {color:#ff0000;}
.green {color:#008149;}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --gold:        #e0b55d;
    --gold-bright: #f0cc80;
    --gold-dim:    #b8903a;
    --gold-dark:   #7a5c1e;
    --gold-faint:  rgba(224,181,93,0.08);
    --gold-border: rgba(224,181,93,0.22);

    --bg-deep:     #0b0a07;
    --bg-card:     #0e0d09;
    --bg-head:     #0a0906;
    --bg-row-alt:  rgba(224,181,93,0.03);
    --bg-row-hover:rgba(224,181,93,0.07);

    --border-main: rgba(224,181,93,0.14);
    --border-sub:  rgba(224,181,93,0.08);

    --text-primary:   #f0e6cc;
    --text-secondary: #a08850;
    --text-muted:     #5a4820;
}

body {
    background: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: 100vw;
    min-height: 100vh;
    padding: 40px 16px;
    font-family: 'Noto Sans KR', sans-serif;
}

/* ── BOARD SHELL ── */
.board {
    width: 100%;
    padding: 10px;
    max-width: auto;
    background: var(--bg-card);
    border: 1px solid var(--border-main);
    overflow: hidden;
}

/* ── HEADER ── */
.board-header {
    background: linear-gradient(160deg, #100e08 0%, #0d0b06 60%, #111008 100%);
    padding: 22px 28px 18px;
    position: relative;
    border-bottom: 1px solid var(--border-sub);
}

/* 하단 골드 라인 */
.board-header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--gold-dim) 25%,
        var(--gold)     50%,
        var(--gold-dim) 75%,
        transparent    100%);
}

.header-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

/* LIVE 배지 */
.live-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--gold-faint);
    border: 1px solid var(--gold-border);
    border-radius: 20px;
    padding: 5px 12px 5px 8px;
    flex-shrink: 0;
}

.live-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 7px var(--gold);
    animation: blink 1.6s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--gold); }
    50% { opacity: 0.35; box-shadow: none; }
}

.live-text {
    font-size: 15px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 2.5px;
    line-height: 1;
}

/* H2 타이틀 */
.board-title {
    font-family: 'Noto Serif KR', serif;
    font-size: 38px; /* h2 사이즈 */
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.board-subtitle {
    font-size: 22px;
    font-weight: 300;
    color: var(--text-secondary);
    letter-spacing: 0.3px;
}

.board-subtitle strong {
    color: var(--gold);
    font-weight: 600;
    border-bottom: 1px solid rgba(224,181,93,0.4);
    padding-bottom: 1px;
}

/* ── TABLE HEAD ── */
.table-head {
    display: grid;
    grid-template-columns:190px 170px 1fr;
    background: var(--bg-head);
    padding: 0 22px;
    border-bottom: 1px solid var(--border-main);
}

.table-head span {
    padding: 12px 0;
    font-size: 20px;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    text-align: left;
}

.table-head span:nth-child(2) { text-align: center; padding-left: 50px; }
.table-head span:last-child   { text-align: right; }

/* ── SLIDE VIEWPORT ── */
.slide-viewport {
    height: 165px;
    overflow: hidden;
    position: relative;
}

.slide-viewport::before,
.slide-viewport::after {
    content: '';
    position: absolute;
    left: 0; right: 0; height: 38px;
    z-index: 2; pointer-events: none;
}

.slide-viewport::before {
    top: 0;
    background: linear-gradient(to bottom, var(--bg-card), transparent);
}

.slide-viewport::after {
    bottom: 0;
    background: linear-gradient(to top, var(--bg-card), transparent);
}

.slide-track {
    display: flex;
    flex-direction: column;
    will-change: transform;
}

/* ── ROW ── */
.slide-row {
    display: grid;
    grid-template-columns:  1fr 76px 1fr;
    align-items: center;
    padding: 0 22px;
    height: 55px;
    border-bottom: 1px solid var(--border-sub);
    transition: background 0.2s;
    cursor: default;
    flex-shrink: 0;
}

.slide-row:nth-child(even) { background: var(--bg-row-alt); }
.slide-row:hover           { background: var(--bg-row-hover); }

.row-name {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 0;
}

.name-text {
    font-size: 20px;
    font-weight: 400;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.age-badge {
    display: inline-block;
    background: rgba(224,181,93,0.07);
    border: 1px solid rgba(224,181,93,0.2);
    border-radius: 20px;
    padding: 3px 11px;
    font-size: 20px;
    color: var(--text-secondary);
    font-weight: 400;
    text-align: center;
}

.phone-text {
    font-size: 20px;
    color: var(--text-secondary);
    text-align: right;
    letter-spacing: 0.6px;
    font-variant-numeric: tabular-nums;
}

/* ── FOOTER ── */
.board-footer {
    background: #09080505;
    padding: 11px 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid var(--border-sub);
}

.footer-count {
    font-size: 22px;
    color: var(--gold-dim);
    font-weight: 500;
    letter-spacing: 1px;
}

/* ── MOBILE ── */
@media (max-width: 480px) {
    .board { padding:10px;}
    .board-header { padding: 15px; }
    .table-head,
    .slide-row {grid-template-columns:  1fr 76px 1fr; align-items: center; padding: 0 22px; padding: 0 14px; }
    .phone-text { font-size: 16px; }
    .table-head span { font-size: 16px; }
    .board-title  { font-size: 28px !important; }
    .board-subtitle  { font-size: 18px !important; }
    .name-text    { font-size: 16px !important; }
    .name-text    { font-size: 16px !important; }
    .table-head span:nth-child(2) {padding:0;}
}

@media screen and (max-width: 768px) {
.header-top {
    flex-direction: column; 
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.live-indicator {
    display: inline-flex;
}

.board-title {
    font-size: 20px;
    text-align: center;
}

.board-subtitle { text-align:center; }
}

h2 {margin:3% 1%; font-size:25px;}
h2 p {font-size:40px;}
h2 em {font-style:normal; font-weight:normal}

.subtxt {margin:0 2% 3%; color:#505050; font-size:19px;}
.subtxt2 {margin:0 2% 3%; color:#505050; font-size:19px; text-align:center;}

.date {margin:0 1% 3%; border-bottom:1px solid #ddd; padding-bottom:10px;}
.date:after {content:''; display:block; clear:both;}
.date em {display:block; float:left; font-style:normal; font-size:13px; color:#999; margin-top:10px;}
.date .abc {float:right; display:block; width:69px;}

.center {text-align:center;}

.bold{font-weight:bold}

ul li {list-style:none;}

#view-app { margin: auto;padding: 0; max-width: 680px; }

img{width:100%; height:auto;}

table { width:100%; padding: 10px 15px; }

.nope:after{content:""; display:block; clear:both}
.nope li{  display:inline-block}
.nope li:last-child{margin:0}

.white_box dl{width:100%;}
.white_box dl:after{content:""; display:block; clear:both}
.white_box dt{float:left; font-weight:bold}
.white_box dd{float:left;}

#wrap{position:relative;}

.bg {
    text-align: center;
    background: url(../img/issue_box.png) #f0f0f0 no-repeat;
    position: absolute;
    background-size: 90%;
    left: 0;
    background-position: center center;
    padding: 30px 0px;
    z-index: 99;
    width: 100%;
    top: 0;
}

.last_img{padding-top: 20px;    position: relative;}

form { width: 100%; padding-block: 50px; background-color: var(--bg-card); color: #f0e6cc; }

form h3 { font-size: 40px; text-align: center; padding-bottom: 12px; }
form table > tbody > tr > th > label { width: 100%; display: block; padding-left: 12px; }

form table > tbody > tr > th {
    text-align: left;
    font-weight: 500;
    white-space: nowrap;
    letter-spacing: -1px;
    vertical-align: middle;
}

form table > tbody > tr > th, form table > tbody > tr > td {
    padding: 6px 0;
}

form table > tbody > tr > td {
    padding: 8px 12px;
}

tr {
    display: table-row;
    vertical-align: inherit;
    border-color: inherit;
}

.form-control {
    display: inline-block;
    width: 100%;
    height: 35px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

.w20{width:20%;}

.input-group { display: flex; align-items: center; gap: 8px; }

.agree { font-size: 14px; display: flex; justify-content: center; align-items: center; gap: 8px; padding-bottom: 50px; }
.agree a { color: inherit; }
.agree input { width: 17px; aspect-ratio: 1; accent-color: var(--gold); }

.form_btn { width: 60%; margin-left: auto; margin-right: auto; display: block; }

/*셀렉트 디자인*/

input[type="radio" i] {margin:0}

.select {
    width:100%;
}

.select input[type=radio]{
    display: none;
}

.select input[type=radio]+label{
    display: inline-block;
    cursor: pointer;
    height: 35px;
    width: calc(50% - 3px);
    /*border: 1px solid #333;*/
    line-height: 35px;
    text-align: center;
    font-weight:bold;
    font-size:15px;
}

.select input[type=radio]+label{
    background-color: #cccccc;
    color: #191919;
	border-radius: 5px;
}

.select input[type=radio]:checked+label{
    background-color: #ffcc00;
    color: #191919;
	border-radius: 5px;
}

.footer {
    padding: 20px 0;
    text-align: center;
    border-top: 1px dotted #ddd;
    font-weight: normal;
    background: #555;
    color: #999;
    font-size: 13px;
}

.box_gray { background-color:#f0f0f0; text-align:center; border:1px solid #cdcdcd; padding:10px 0px; margin:20px 20px }

.fixbtn{}

.fixbtn img{
    /*top: 0px;*/
    position: fixed;
    /*left: 0;*/
    object-fit: cover;
    z-index: 1000;
    height: auto;
}

.footer{padding-bottom:100px}

.blue{color:#036fb8; font-weight:700}

.lending_Tax{display: block;
    margin: 1em 2.5% 1.5em;
    text-align: justify;
    word-break: break-all;
    font-size: 18px;
    color: black;
    line-height: 1.6;
}

.smallfont{font-size:0.85rem}

.menu { padding: 0 0 40px 0; }
.menu ul { border-top: 1px solid #818181; border-bottom: 1px solid #818181; padding: 0; margin: 0; }
.menu ul li { float: left; width: calc( 100% / 6 ); }
.menu ul li a { display: inline-block; width: 100%; height: 60px; line-height: 60px; text-align: center; color: #818181; text-decoration: none; font-size: 20px; }
.menu ul li a:hover { background: #eaeaea; }
.menu ul li a.on { background: #1facff; color: #ffffff; }
.menu ul li a.on:hover { background: #1facff; }
.menu ul:after { clear: both; display: block; content:''; }

@media (max-width: 640px) {
    .order { width: 110px; height: 110px; }
    .order .order_no { top: 73px; right: 2px; height: 27px; line-height: 27px; font-size: 20px; letter-spacing: 18px; }
    .menu { padding: 0 0 20px 0; }
    .menu ul li a { height: 40px; line-height: 40px; font-size: 12px; }
}

.order { position: fixed; width: 220px; height: 190px; bottom: 50px; right: 10px; }

/*dropdown*/
.menu { padding: 0 0 20px 0; }
.menu ul li a { height: 40px; line-height: 40px; font-size: 12px; }

/* 문의사항 입력창 */
.inquiry-textarea {
    height: 100px !important;
    padding: 10px 12px;
    box-sizing: border-box;
    resize: none;
    font-family: inherit;
    line-height: 1.5;
}

/* 문의사항 글자를 입력창 위쪽에 맞춤 */
.inquiry-row th {
    vertical-align: top !important;
    padding-top: 15px !important;
}

/* form 타이틀 사이즈변경 */
.checkbox-group .custom-checkbox b {
    font-size: 18px;
}

/* form체크박스 항목 사이 간격 */
.checkbox-group > label:not(.custom-checkbox) {
    margin-right: 15px;
}

.checkbox-group > label:not(.custom-checkbox):last-child {
    margin-right: 0;
}

footer { width: 100%; background-color: #333; font-size: 14px; line-height: 2; color: white; padding-block: 50px; text-align: center; }

.scroll_banner { position: fixed; top:200px; right:100px; z-index:1000; text-align:center; }
.scroll_banner .close { position:absolute; top:8px; right:14px; color:#fff; line-height:30px; font-weight:400; font-size:1.4em; cursor: pointer; display: inline-block; }
.scroll_banner a { display:block; background-color:var(--gold-dark); border-radius:30px; width:150px; height:150px; padding-top:22px; color:#fff; font-size:20px; letter-spacing:-2px; }
.scroll_banner i { color:#fff; }

.floBanMob1 {
    position: fixed;
    bottom: 20px;
    right: 10px;
    z-index: 99;
}

@media screen and (min-width: 769px) {
    .floBanMob1 {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .scroll_banner { display: none; }
    form table > tbody > tr > th > label { padding-left: 0; }
    .agree { padding-bottom: 28px; }
    footer { font-size: 12px; }
    .top_btn { bottom: 150px; width: 40px; aspect-ratio: 1; }
    .top_btn img { width: 100%; }
}