@charset "utf-8";

/* CSS Variables */
:root {
    --main-color: #9ba233;
    --point-color: #c5d940;
    --text-dark: #222;
    --text-mid: #555;
    --text-light: #888;
    --border-color: #dedede;
    --bg-light: #f8f8f8;
}

/* Container */
.pdinner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
}

/* Wrap */
.wrap { position: relative; }

/* Header clearfix */
.d_clear { clear: both; height: 100px; }
.mainWrap .d_clear { height: 0; }

/* Sub-page visual banner */
.sub-visual {
    width: 100%;
    height: 200px;
    background: #e8eba0 url('/img/sub/sub_bg.jpg') center / cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sub-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
}
.sub-visual .sv-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}
.sub-visual h2 {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}
.sub-visual p {
    font-size: 15px;
    color: rgba(255,255,255,0.85);
    margin-top: 8px;
    font-weight: 300;
}

/* Breadcrumb */
.location {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
}
.location ul {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--text-light);
}
.location ul li { display: flex; align-items: center; gap: 5px; }
.location ul li::after { content: '>'; color: #bbb; }
.location ul li:last-child::after { display: none; }
.location ul li a:hover { color: var(--main-color); }
.location ul li.on { color: var(--main-color); font-weight: 600; }

/* Sub layout: LNB + content */
.sub-wrap {
    display: flex;
    gap: 40px;
    padding: 50px 0 80px;
}
.lnb {
    flex-shrink: 0;
    width: 220px;
}
.lnb .lnb-tit {
    background: var(--main-color);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    padding: 16px 20px;
    letter-spacing: -0.3px;
}
.lnb ul { border: 1px solid var(--border-color); border-top: 0; }
.lnb ul li a {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    color: var(--text-mid);
    border-bottom: 1px solid var(--border-color);
    transition: 0.2s;
    position: relative;
}
.lnb ul li:last-child a { border-bottom: 0; }
.lnb ul li a::before {
    content: '·';
    color: #bbb;
    margin-right: 6px;
    font-size: 16px;
}
.lnb ul li a:hover,
.lnb ul li.on a {
    background: #f8f8f8;
    color: #9ba233;
    font-weight: 700;
}
.lnb ul li a:hover::before,
.lnb ul li.on a::before { color: #9ba233; }

.sub-content { flex: 1; min-width: 0; }
.sub-content-tit {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--main-color);
    position: relative;
}

/* Footer */
#footer {
    background: #3a3a3a;
    color: rgba(255,255,255,0.75);
    font-size: 0.88em;
    padding: 40px 0 60px;
    position: relative;
    border-top: 3px solid var(--main-color);
}

.footer-link {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 20px;
    margin-bottom: 25px;
    text-align: right;
}
.footer-link .dropdown { display: inline-block; position: relative; }
.footer-link .dropdown-btn {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.8);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0 40px 0 15px;
    height: 36px;
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    position: relative;
    transition: 0.2s;
}
.footer-link .dropdown-btn::after {
    content: '';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 7px;
    height: 7px;
    border-right: 2px solid rgba(255,255,255,0.6);
    border-bottom: 2px solid rgba(255,255,255,0.6);
    transition: 0.2s;
}
.footer-link .dropdown-btn.active::after { transform: translateY(-30%) rotate(225deg); }
.footer-link .dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    bottom: 100%;
    background: #fff;
    border: 1px solid var(--border-color);
    min-width: 200px;
    z-index: 10;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
}
.footer-link .dropdown-content ul li a {
    display: block;
    padding: 10px 15px;
    font-size: 13px;
    color: #444;
    border-bottom: 1px solid var(--border-color);
    transition: 0.2s;
}
.footer-link .dropdown-content ul li:last-child a { border-bottom: 0; }
.footer-link .dropdown-content ul li a:hover { background: var(--bg-light); color: var(--main-color); font-weight: 600; }

#footer .pdinner { max-width: 1400px; }
#footer h5 {
    font-size: 16px;
    font-weight: 700;
    color: rgba(255,255,255,0.95);
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}
#footer .f_info {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 20px;
    margin-bottom: 15px;
}
#footer .f_info li {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
}
#footer .f_info li span {
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    margin-right: 5px;
}
#footer p {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    margin-top: 15px;
    line-height: 1.6;
}
#footer p b { color: rgba(255,255,255,0.5); font-weight: 600; }
#footer p a { color: rgba(255,255,255,0.5); }
#footer p a:hover { color: var(--point-color); }

/* Page-up button */
#pageup {
    position: fixed;
    right: 25px;
    bottom: 30px;
    z-index: 999;
}
#pageup .page_up {
    display: none;
    width: 45px;
    height: 45px;
    background: var(--main-color);
    cursor: pointer;
    border-radius: 50%;
    position: relative;
    transition: 0.2s;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}
#pageup .page_up:hover { background: #7a8128; }
#pageup .page_up::before {
    content: '';
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -60%) rotate(-45deg);
    width: 10px;
    height: 10px;
    border-left: 2px solid #fff;
    border-top: 2px solid #fff;
}

/* Utility */
.tac { text-align: center; }
.tal { text-align: left; }
.tar { text-align: right; }
.fwb { font-weight: 700; }
.fwl { font-weight: 300; }
.col-main { color: var(--main-color); }
.col-point { color: var(--point-color); }

.mt10 { margin-top: 10px; }
.mt20 { margin-top: 20px; }
.mt30 { margin-top: 30px; }
.mt40 { margin-top: 40px; }
.mt50 { margin-top: 50px; }
.mb10 { margin-bottom: 10px; }
.mb20 { margin-bottom: 20px; }
.mb30 { margin-bottom: 30px; }
.mb40 { margin-bottom: 40px; }
.mb50 { margin-bottom: 50px; }

/* Width helpers */
@media (min-width: 1080px) {
    .clearfix .left { float: left; }
    .clearfix .right { float: right; }
    .w50 { width: 50%; }
    .w60 { width: 60%; }
    .w40 { width: 40%; }
}

/* Responsive */
@media (max-width: 1199px) {
    .d_clear { height: 100px; }
    .sub-visual { height: 160px; }
    .sub-visual h2 { font-size: 26px; }
}

@media (max-width: 767px) {
    .pdinner { padding: 0 15px; }
    .d_clear { height: 80px; }
    .sub-visual { height: 120px; }
    .sub-visual h2 { font-size: 20px; }
    .sub-wrap { flex-direction: column; gap: 20px; padding: 25px 0 50px; }
    .lnb { width: 100%; }
    .sub-content-tit { font-size: 20px; }
}
