/* ===== base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --primary: #2b1a1a;
    --secondary: #3d2424;
    --accent: #ff7675;
    --gold: #ffeaa7;
    --light: #f0f0f0;
    --gray: #888;
    --radius: 20px;
    --shadow: 0 8px 32px rgba(0,0,0,0.18);
    --font: "Segoe UI", "PingFang SC", "Microsoft YaHei", Roboto, sans-serif;
    --transition: 0.3s cubic-bezier(.4,0,.2,1);
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); background: #fafafa; color: #222; line-height: 1.7; font-size: 16px; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
img { display: block; max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.sec { padding: 70px 0; }
.alt { background: #f5f7fa; }
.tc { text-align: center; }
.sec-title { font-size: 32px; font-weight: 700; color: var(--primary); margin-bottom: 12px; line-height: 1.3; }
.sec-title span { color: var(--accent); }
.sec-sub { color: #666; max-width: 680px; margin-bottom: 40px; }
.tc .sec-sub { margin-left: auto; margin-right: auto; }

/* ===== breadcrumb ===== */
.bc { background: #f5f5f5; padding: 10px 0; font-size: 13px; color: #666; }
.bc a { color: #666; }
.bc a:hover { color: var(--accent); }
.bc .bc-sep { margin: 0 8px; color: #bbb; }

/* ===== friend links ===== */
.flinks { background: #f7f8fa; padding: 32px 0; border-top: 1px solid #e8ecf2; }
.flinks .fl-title { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 14px; }
.flinks ul { list-style: none; display: flex; flex-wrap: wrap; gap: 9px 24px; }
.flinks a { color: #666; font-size: 13px; }
.flinks a:hover { color: var(--accent); }
.flinks.g2 ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 26px; }
.flinks.g2 a { position: relative; padding-left: 13px; }
.flinks.g2 a::before { content: ''; position: absolute; left: 0; top: 50%; margin-top: -2px; width: 4px; height: 4px; background: var(--accent); border-radius: 50%; }
.flinks.col ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 11px 22px; }
.flinks.col a { display: block; padding: 7px 12px; background: #fff; border-radius: calc(var(--radius) - 4px); border: 1px solid #e8ecf2; }
.flinks.col a:hover { border-color: var(--accent); }
@media (max-width: 768px) {
    .flinks.g2 ul, .flinks.col ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ===== modal ===== */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.75); display: flex; align-items: center; justify-content: center; z-index: 2000; opacity: 0; pointer-events: none; transition: opacity var(--transition); padding: 20px; }
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-box { background: #fff; border-radius: var(--radius); max-width: 560px; width: 100%; padding: 30px; position: relative; max-height: 90vh; overflow-y: auto; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border: none; background: #f0f0f0; border-radius: 50%; cursor: pointer; font-size: 18px; line-height: 1; color: #444; }
.modal-box h2 { font-size: 24px; margin-bottom: 8px; color: var(--primary); }
.modal-box .m-year { color: #888; margin-bottom: 16px; }
.modal-box .m-desc { color: #555; line-height: 1.8; margin-bottom: 16px; }
.modal-box .m-meta { color: var(--accent); font-size: 14px; font-weight: 600; }

/* ===== demo -> detail links (works cards / faq questions become real anchors) ===== */
a.wk1-btn { display: inline-block; text-align: center; }
.fq1-link { color: inherit; }
.fq1-link:hover { color: var(--accent); }

.nv1-bar { position: sticky; top: 0; z-index: 1000; background: var(--primary); border-bottom: 3px solid var(--accent); box-shadow: 0 2px 18px rgba(0,0,0,0.28); }
.nv1-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 64px; }
.nv1-logo { display: flex; align-items: center; gap: 9px; color: #fff; text-decoration: none; flex-shrink: 0; }
.nv1-ico { font-size: 22px; line-height: 1; }
.nv1-kw { font-size: 21px; font-weight: 800; letter-spacing: 1px; white-space: nowrap; }
.nv1-kw em { font-style: normal; color: var(--gold); }
.nv1-brand { font-size: 12px; color: rgba(255,255,255,0.5); padding-left: 9px; border-left: 1px solid rgba(255,255,255,0.22); white-space: nowrap; }
.nv1-menu { display: flex; align-items: center; gap: 4px; list-style: none; flex-wrap: wrap; }
.nv1-menu a { display: block; padding: 8px 15px; font-size: 14px; color: rgba(255,255,255,0.86); border-radius: 999px; text-decoration: none; }
.nv1-menu a:hover { background: rgba(255,255,255,0.14); color: #fff; }
@media (max-width:768px) {
    .nv1-inner { flex-wrap: wrap; justify-content: center; gap: 8px; padding: 10px 0; }
    .nv1-kw { font-size: 18px; }
    .nv1-ico { font-size: 19px; }
    .nv1-brand { font-size: 11px; }
    .nv1-menu { justify-content: center; gap: 2px; width: 100%; }
    .nv1-menu a { padding: 6px 10px; font-size: 13px; }
}
.hr2-hero {
    padding: 76px 0;
    background: linear-gradient(120deg, #ffffff 0%, #ffffff 52%, var(--light) 100%);
}
.hr2-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}
.hr2-copy {
    max-width: 560px;
}
.hr2-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    margin-bottom: 20px;
    border-left: 3px solid var(--accent);
    background: var(--light);
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
}
.hr2-title {
    margin-bottom: 18px;
    color: var(--primary);
    font-size: 44px;
    font-weight: 800;
    line-height: 1.22;
}
.hr2-title em {
    color: var(--accent);
    font-style: normal;
}
.hr2-desc {
    margin-bottom: 30px;
    color: #555;
    font-size: 16px;
    line-height: 1.9;
}
.hr2-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.hr2-btn {
    padding: 13px 34px;
    border-radius: var(--radius);
    background: var(--primary);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    transition: background 0.3s ease, transform 0.3s ease;
}
.hr2-btn:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
}
.hr2-link {
    padding-bottom: 2px;
    border-bottom: 2px solid var(--gold);
    color: var(--primary);
    font-size: 15px;
    font-weight: 600;
}
.hr2-link:hover {
    color: var(--accent);
}
.hr2-figure {
    position: relative;
}
.hr2-figure::before {
    content: '';
    position: absolute;
    top: -18px;
    right: -18px;
    width: 58%;
    height: 58%;
    border-top: 6px solid var(--accent);
    border-right: 6px solid var(--accent);
    border-radius: 0 var(--radius) 0 0;
}
.hr2-img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.hr2-tag {
    position: absolute;
    z-index: 2;
    left: 20px;
    bottom: 20px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,0.94);
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
}
@media (max-width: 768px) {
    .hr2-hero {
        padding: 46px 0;
    }
    .hr2-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .hr2-title {
        font-size: 28px;
    }
    .hr2-desc {
        margin-bottom: 22px;
        font-size: 15px;
        line-height: 1.75;
    }
    .hr2-figure::before {
        display: none;
    }
    .hr2-btn {
        padding: 11px 24px;
        font-size: 14px;
    }
    .hr2-label {
        font-size: 12px;
        margin-bottom: 14px;
    }
}
.it7-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 0; align-items: stretch; }
.it7-data { display: flex; flex-direction: column; justify-content: center; padding-right: 44px; border-right: 1px solid rgba(0, 0, 0, .08); }
.it7-data .it1-stat { display: block; padding: 22px 0; background: none; border: 0; border-left: 0; border-radius: 0; border-bottom: 1px dashed rgba(0, 0, 0, .14); }
.it7-data .it1-stat:first-child { padding-top: 0; }
.it7-data .it1-stat:last-child { padding-bottom: 0; border-bottom: 0; }
.it7-data .it1-num { display: block; font-size: 44px; line-height: 1.05; font-weight: 800; color: var(--accent); }
.it7-data .it1-lbl { display: block; margin-top: 6px; font-size: 13px; color: #666; }
.it7-text { padding-left: 46px; }
.it7-text .sec-sub { color: #666; max-width: none; margin-bottom: 20px; }
.it7-text p { color: #555; line-height: 1.95; font-size: 15px; margin-bottom: 14px; }
.it7-text p:last-child { margin-bottom: 0; }
.it7-text p strong { color: var(--primary); }
@media (max-width: 768px) {
    .it7-wrap { grid-template-columns: 1fr; }
    .it7-data { flex-direction: row; flex-wrap: wrap; padding-right: 0; padding-bottom: 22px; border-right: 0; border-bottom: 1px solid rgba(0, 0, 0, .08); }
    .it7-data .it1-stat { flex: 1 1 30%; padding: 0; border-bottom: 0; }
    .it7-data .it1-num { font-size: 26px; }
    .it7-text { padding-left: 0; padding-top: 24px; }
}
.wk6-layout { display:grid; grid-template-columns:1.6fr 1fr; grid-template-rows:repeat(3,minmax(0,1fr)); gap:20px }
.wk6-layout .wk1-item { background:#fff; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow) }
.wk6-layout .wk1-item:first-child { grid-column:1; grid-row:1 / span 3; display:flex; flex-direction:column }
.wk6-layout .wk1-item:first-child .wk1-thumb { position:relative; flex:1 1 auto; min-height:240px; overflow:hidden; background:var(--light) }
.wk6-layout .wk1-item:first-child .wk1-thumb img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .5s ease }
.wk6-layout .wk1-item:first-child:hover .wk1-thumb img { transform:scale(1.05) }
.wk6-layout .wk1-item:first-child .wk1-info { display:flex; flex-direction:column; align-items:flex-start; padding:20px 22px 22px }
.wk6-layout .wk1-item:first-child .wk1-head { display:flex; align-items:center; justify-content:space-between; gap:12px; width:100% }
.wk6-layout .wk1-item:first-child .wk1-title { margin:0; font-size:24px; line-height:1.35; color:var(--primary) }
.wk6-layout .wk1-item:first-child .wk1-tag { flex:none; padding:3px 12px; border-radius:999px; background:var(--gold); color:#1f2937; font-size:12px }
.wk6-layout .wk1-item:first-child .wk1-meta { margin-top:10px; font-size:13px; color:var(--gray) }
.wk6-layout .wk1-item:first-child .wk1-desc { margin:10px 0 16px; font-size:14px; line-height:1.75; color:var(--gray) }
.wk6-layout .wk1-item:first-child .wk1-btn { padding:10px 26px; border:none; border-radius:var(--radius); background:var(--accent); color:#fff; font-size:14px; cursor:pointer; transition:background .25s ease }
.wk6-layout .wk1-item:first-child .wk1-btn:hover { background:var(--primary) }
.wk6-layout .wk1-item:not(:first-child) { display:grid; grid-template-columns:150px minmax(0,1fr); gap:14px; align-items:center; padding:12px }
.wk6-layout .wk1-item:not(:first-child) .wk1-thumb { position:relative; height:100px; overflow:hidden; border-radius:var(--radius); background:var(--light) }
.wk6-layout .wk1-item:not(:first-child) .wk1-thumb img { display:block; width:100%; height:100%; object-fit:cover }
.wk6-layout .wk1-item:not(:first-child) .wk1-desc { display:none }
.wk6-layout .wk1-item:not(:first-child) .wk1-head { display:flex; align-items:center; justify-content:space-between; gap:8px }
.wk6-layout .wk1-item:not(:first-child) .wk1-title { margin:0; font-size:16px; line-height:1.4; color:var(--primary) }
.wk6-layout .wk1-item:not(:first-child) .wk1-tag { flex:none; color:var(--accent); font-size:12px }
.wk6-layout .wk1-item:not(:first-child) .wk1-meta { margin-top:6px; font-size:12px; color:var(--gray) }
.wk6-layout .wk1-item:not(:first-child) .wk1-btn { margin-top:8px; padding:5px 14px; border:1px solid var(--accent); border-radius:999px; background:transparent; color:var(--accent); font-size:12px; cursor:pointer; transition:background .25s ease, color .25s ease }
.wk6-layout .wk1-item:not(:first-child) .wk1-btn:hover { background:var(--accent); color:#fff }
.wk6-layout .wk1-badge { position:absolute; top:10px; left:10px; padding:4px 10px; border-radius:var(--radius); background:var(--accent); color:#fff; font-size:12px }
.wk6-layout .wk1-idx { position:absolute; top:10px; right:12px; color:#fff; font-size:13px; letter-spacing:1px }
@media (max-width:768px) {
    .wk6-layout { grid-template-columns:minmax(0,1fr); grid-template-rows:auto; gap:14px }
    .wk6-layout .wk1-item:first-child { grid-column:auto; grid-row:auto }
    .wk6-layout .wk1-item:first-child .wk1-thumb { flex:none; aspect-ratio:16/9; min-height:0 }
    .wk6-layout .wk1-item:first-child .wk1-title { font-size:19px }
    .wk6-layout .wk1-item:first-child .wk1-desc { font-size:13px; margin:8px 0 12px }
    .wk6-layout .wk1-item:not(:first-child) { grid-template-columns:120px minmax(0,1fr); gap:12px; padding:10px }
    .wk6-layout .wk1-item:not(:first-child) .wk1-thumb { height:80px }
}
.ad4-big{display:grid;grid-template-columns:repeat(3,1fr);gap:40px 42px}
.ad4-big > .ad1-item{padding-left:24px;border-left:3px solid var(--accent);background:none;border-radius:0;box-shadow:none}
.ad4-big .ad1-toggle{display:none}
.ad4-big .ad1-num{display:none}
.ad4-big .ad1-label{display:inline}
.ad4-big .ad1-icon{font-size:28px;line-height:1;margin-bottom:16px}
.ad4-big .ad1-title{font-size:27px;font-weight:800;color:var(--primary);line-height:1.3;margin:0 0 12px;letter-spacing:-.5px}
.ad4-big .ad1-desc{font-size:14px;line-height:1.85;color:#666;margin:0}
@media (max-width:768px){
  .ad4-big{grid-template-columns:1fr;gap:26px}
  .ad4-big > .ad1-item{padding-left:16px}
  .ad4-big .ad1-icon{font-size:22px;margin-bottom:10px}
  .ad4-big .ad1-title{font-size:21px;margin-bottom:8px}
  .ad4-big .ad1-desc{font-size:13px;line-height:1.75}
}
.nw5-cols { column-count:2; column-gap:48px; column-rule:1px solid #e8ecf2 }
.nw5-cols .nw1-item { display:flex; align-items:baseline; gap:14px; padding:15px 2px; border-bottom:1px solid #eef1f6; text-decoration:none; break-inside:avoid; -webkit-column-break-inside:avoid; page-break-inside:avoid; transition:padding .25s ease, background .25s ease, border-color .25s ease }
.nw5-cols .nw1-date { flex:none; width:88px; font-size:12px; letter-spacing:.5px; color:var(--gray); transition:color .25s ease }
.nw5-cols .nw1-title { flex:1; min-width:0; font-size:15px; line-height:1.55; font-weight:600; color:var(--primary); transition:color .25s ease }
.nw5-cols .nw1-idx { flex:none; font-size:12px; line-height:1.6; color:#c9d2dd; transition:color .25s ease }
.nw5-cols .nw1-item:hover { padding-left:10px; background:#f7f9fc; border-bottom-color:var(--accent) }
.nw5-cols .nw1-item:hover .nw1-title { color:var(--accent) }
.nw5-cols .nw1-item:hover .nw1-date { color:var(--primary) }
.nw5-cols .nw1-item:hover .nw1-idx { color:var(--accent) }
@media (max-width:768px) {
    .nw5-cols { column-count:1; column-gap:0; column-rule:none }
    .nw5-cols .nw1-item { gap:10px; padding:12px 2px }
    .nw5-cols .nw1-date { width:76px; font-size:11px }
    .nw5-cols .nw1-title { font-size:14px }
    .nw5-cols .nw1-idx { font-size:11px }
    .nw5-cols .nw1-item:hover { padding-left:6px }
}
.faq7-flow { max-width: 960px; margin: 0 auto; }
.faq7-flow .fq1-item { position: relative; padding: 24px 0 24px 104px; border-top: 1px solid rgba(0, 0, 0, .1); }
.faq7-flow .fq1-item:last-child { border-bottom: 1px solid rgba(0, 0, 0, .1); }
.faq7-flow .fq1-no { position: absolute; top: 22px; left: 0; display: block; font-size: 40px; line-height: 1; font-weight: 800; letter-spacing: -.02em; color: rgba(0, 0, 0, .12); transition: color .3s ease; }
.faq7-flow .fq1-item.open .fq1-no { color: var(--accent); }
.faq7-flow .fq1-q { position: relative; padding-right: 34px; font-size: 17px; line-height: 1.6; font-weight: 700; color: var(--primary); cursor: pointer; transition: color .3s ease; }
.faq7-flow .fq1-item.open .fq1-q { color: var(--accent); }
.faq7-flow .fq1-q::after { content: "+"; position: absolute; top: -2px; right: 0; color: var(--gray); font-size: 22px; line-height: 1.3; transition: transform .3s ease, color .3s ease; }
.faq7-flow .fq1-item.open .fq1-q::after { color: var(--accent); transform: rotate(45deg); }
.faq7-flow .fq1-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq7-flow .fq1-item.open .fq1-a { max-height: 440px; }
.faq7-flow .fq1-a-in { margin: 14px 34px 2px 0; padding: 16px 20px; border-radius: var(--radius); background: var(--light); font-size: 14px; line-height: 1.9; color: var(--gray); }
@media (max-width: 768px) {
    .faq7-flow .fq1-item { padding: 18px 0 18px 62px; }
    .faq7-flow .fq1-no { top: 16px; font-size: 28px; }
    .faq7-flow .fq1-q { padding-right: 26px; font-size: 15px; }
    .faq7-flow .fq1-q::after { font-size: 20px; }
    .faq7-flow .fq1-item.open .fq1-a { max-height: 620px; }
    .faq7-flow .fq1-a-in { margin: 10px 26px 2px 0; padding: 12px 14px; font-size: 13px; }
}
.cm4-wall { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:26px; text-align:center }
.cm4-wall .cm1-item { position:relative; display:flex; flex-direction:column; align-items:center; padding:26px 18px 22px; background:#fff; border-radius:var(--radius); box-shadow:var(--shadow); transition:transform .3s ease }
.cm4-wall .cm1-item:hover { transform:translateY(-6px) }
.cm4-wall .cm1-head { display:flex; flex-direction:column; align-items:center; gap:10px }
.cm4-wall .cm1-av { width:76px; height:76px; border-radius:50%; object-fit:cover; border:3px solid var(--light); background:var(--light); box-shadow:0 8px 18px rgba(15,23,42,.14) }
.cm4-wall .cm1-who { display:flex; flex-direction:column; align-items:center; gap:4px; min-width:0 }
.cm4-wall .cm1-name { font-size:15px; font-weight:700; color:var(--primary) }
.cm4-wall .cm1-date { font-size:12px; color:var(--gray) }
.cm4-wall .cm1-text { margin:12px 0 0; font-size:13px; line-height:1.8; color:#4b5563 }
.cm4-wall .cm1-idx { position:absolute; top:14px; left:16px; font-size:12px; letter-spacing:1px; color:#c3cad6 }
.cm4-wall .cm1-initial { position:absolute; top:10px; right:14px; font-size:40px; font-weight:700; line-height:1; color:var(--light); pointer-events:none }
@media (max-width:768px) {
    .cm4-wall { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px }
    .cm4-wall .cm1-item { padding:18px 12px 16px }
    .cm4-wall .cm1-item:hover { transform:none }
    .cm4-wall .cm1-av { width:56px; height:56px; border-width:2px }
    .cm4-wall .cm1-name { font-size:14px }
    .cm4-wall .cm1-text { margin-top:10px; font-size:12px; line-height:1.75 }
    .cm4-wall .cm1-idx { top:10px; left:12px; font-size:11px }
    .cm4-wall .cm1-initial { font-size:28px; top:8px; right:10px }
}
.ft5-foot { background: var(--light); border-top: 1px solid rgba(0,0,0,0.1); padding: 32px 0; }
.ft5-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; gap: 20px; }
.ft5-left { display: flex; align-items: center; justify-content: flex-start; }
.ft5-logo { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); text-decoration: none; }
.ft5-ico { font-size: 19px; line-height: 1; }
.ft5-kw { font-size: 18px; font-weight: 800; letter-spacing: 1px; white-space: nowrap; }
.ft5-kw em { font-style: normal; color: var(--accent); }
.ft5-brand { font-size: 11px; font-weight: 500; color: var(--gray); padding-left: 8px; border-left: 1px solid rgba(0,0,0,0.14); white-space: nowrap; }
.ft5-nav { display: flex; justify-content: center; }
.ft5-menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; list-style: none; }
.ft5-menu a { font-size: 13px; color: #5b6470; text-decoration: none; }
.ft5-menu a:hover { color: var(--primary); }
.ft5-right { text-align: right; }
.ft5-line { font-size: 12px; line-height: 1.8; color: #6b7280; }
.ft5-dom { display: block; margin-top: 4px; font-size: 12px; font-weight: 700; letter-spacing: 1px; color: var(--primary); }
@media (max-width:768px) {
    .ft5-foot { padding: 24px 0; }
    .ft5-grid { grid-template-columns: 1fr; gap: 14px; }
    .ft5-left { justify-content: center; }
    .ft5-ico { font-size: 17px; }
    .ft5-kw { font-size: 16px; }
    .ft5-brand { font-size: 10px; }
    .ft5-menu { gap: 6px 14px; }
    .ft5-menu a { font-size: 12px; }
    .ft5-right { text-align: center; }
    .ft5-line { font-size: 11px; }
    .ft5-dom { font-size: 11px; }
}
[class$="-kw"] { font-size: 18px; }
@media (max-width:768px) { [class$="-kw"] { font-size: 16px; } }


@media (max-width: 768px) {
    .sec { padding: 50px 0; }
    .sec-title { font-size: 26px; }
}
