:root {
    --primary: #1f8a84;
    --primary-2: #136b66;
    --accent: #f3b43a;
    --text: #1b2b34;
    --muted: #5b6b73;
    --bg: #f6fbfb;
    --card: #ffffff;
    --border: rgba(15, 50, 60, 0.12);
    --shadow: 0 10px 30px rgba(10, 35, 45, 0.10);
    --radius: 18px;
    --max: 1100px;
    --line1: #19c37d;
    --line2: #0ea95c;
    --fb1: #2f7cf6;
    --fb2: #165fe0;
    --ph1: #3a3f46;
    --ph2: #1f2328;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0 !important;
    font-family: "Noto Sans TC", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, var(--bg), #fff 45%);
    padding-top: 0 !important;
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
svg {
    display: block;
    max-width: 100%;
}

.container {
    width: min(var(--max), calc(100% - 32px));
    margin-inline: auto;
}

header {
    display: block;
    margin: 0 !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 50;
    background: rgba(223, 243, 241, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 12px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 180px;
}

.logo {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: #fff url("/logo.jpg") center/cover no-repeat;
    box-shadow: 0 10px 25px rgba(31, 138, 132, 0.25);
    overflow: hidden;
    flex: 0 0 auto;
}

.brand h1 {
    font-size: 16px;
    line-height: 1.2;
    margin: 0;
    letter-spacing: 0.5px;
}

.brand small {
    display: block;
    color: var(--muted);
    font-weight: 500;
    margin-top: 2px;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
    white-space: nowrap;
    background: #fff;
    color: var(--text);
}

.btn:hover {
    background: rgba(31, 138, 132, 0.06);
}

.site-main {
    padding: 0;
}

.hero {
    padding: 34px 0 12px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 22px;
    align-items: stretch;
}

.hero-card {
    background: linear-gradient(135deg, rgba(31, 138, 132, 0.12), rgba(255, 255, 255, 0.85));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(243, 180, 58, 0.22), rgba(243, 180, 58, 0) 60%);
    right: -220px;
    top: -220px;
    pointer-events: none;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(31, 138, 132, 0.25);
    background: rgba(255, 255, 255, 0.7);
    color: var(--primary-2);
    font-weight: 800;
    font-size: 13px;
}

.hero h2 {
    margin: 12px 0 8px;
    font-size: clamp(24px, 3vw, 40px);
    line-height: 1.25;
    letter-spacing: 0.3px;
}

.hero p {
    margin: 0;
    color: var(--muted);
    font-weight: 500;
    max-width: 52ch;
}

.badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    min-width: 160px;
}

.badge b {
    display: block;
    line-height: 1.2;
}

.badge span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.2;
    margin-top: 2px;
}

.badge svg {
    width: 18px;
    height: 18px;
}

.hero-media {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-rows: 1fr auto;
}

.hero-media .img {
    aspect-ratio: 4 / 3;
    min-height: auto;
    position: relative;
    overflow: hidden;
    --hero-img: url("https://hojenjen.com/wp-content/uploads/2017/10/1506964799-3fb5ed13afe8714a7e5d13ee506003dd.jpg");
}

.hero-media .img::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0)), var(--hero-img);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    transition: opacity 0.6s ease;
    opacity: 1;
}

.hero-media .img.is-fading::before {
    opacity: 0;
}

.caption {
    padding: 14px 16px;
    background: #fff;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.cap-title {
    margin: 0;
    font-weight: 800;
}

.cap-sub {
    margin: 2px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.mini {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(31, 138, 132, 0.25);
}

.dot:nth-child(2) {
    background: rgba(243, 180, 58, 0.55);
}

.dot:nth-child(3) {
    background: rgba(31, 138, 132, 0.55);
}

.section-tight {
    padding: 34px 0;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.section-head h3 {
    margin: 0;
    font-size: 22px;
    letter-spacing: 0.2px;
}

.section-head p {
    margin: 0;
    color: var(--muted);
    font-weight: 500;
    max-width: 60ch;
}

.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.news-list,
.news-list-empty {
    min-height: 400px;
}

.service-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: 0 10px 20px rgba(10, 35, 45, 0.06);
    height: 100%;
}

.service-card:hover {
    transform: none;
    box-shadow: 0 10px 20px rgba(10, 35, 45, 0.06);
}

.icon-badge {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(31, 138, 132, 0.10);
    display: grid;
    place-items: center;
    border: 1px solid rgba(31, 138, 132, 0.18);
}

.icon-badge svg {
    width: 22px;
    height: 22px;
    fill: var(--primary-2);
}

.service-card h4 {
    margin: 10px 0 6px;
    font-size: 18px;
}

.service-card p {
    margin: 0;
    color: var(--muted);
    font-weight: 500;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: stretch;
}

.about-photo {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0)), url("/logo.jpg");
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: auto;
}

.about-panel {
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: var(--shadow);
    padding: 18px;
}

.about-panel h3 {
    margin: 0;
    font-size: 22px;
}

.about-panel p {
    margin: 6px 0 0;
    color: var(--muted);
    font-weight: 500;
}

.check-list {
    display: grid;
    gap: 10px;
    margin-top: 10px;
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
}

.check-item strong {
    display: block;
    margin-bottom: 2px;
}

.check-mark {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    margin-top: 2px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
}

.float-wrap {
    position: fixed;
    right: 16px;
    bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 14px 28px rgba(10, 35, 45, 0.14);
    display: grid;
    place-items: center;
    transition: 0.2s ease;
    position: relative;
    user-select: none;
}

.float-btn:hover {
    transform: translateY(-2px);
}

.float-btn .label {
    position: absolute;
    right: 62px;
    background: rgba(15, 47, 51, 0.92);
    color: #fff;
    padding: 6px 10px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 800;
    opacity: 0;
    transform: translateX(6px);
    transition: 0.18s ease;
    pointer-events: none;
    white-space: nowrap;
}

.float-btn:hover .label {
    opacity: 1;
    transform: translateX(0);
}

.fillMark {
    width: 30px;
    height: 30px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 18px;
    letter-spacing: 0.5px;
    color: #fff;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.18);
    transform: translateY(-0.5px);
    font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

.fillMark.line {
    background: linear-gradient(135deg, var(--line1), var(--line2));
    box-shadow: 0 10px 18px rgba(0, 185, 0, 0.22);
}

.fillMark.fb {
    background: linear-gradient(135deg, var(--fb1), var(--fb2));
    box-shadow: 0 10px 18px rgba(24, 119, 242, 0.25);
}

.fillMark.ph {
    background: linear-gradient(135deg, var(--ph1), var(--ph2));
    box-shadow: 0 10px 18px rgba(15, 47, 51, 0.25);
}

.footer {
    background: #0f2f33;
    color: rgba(255, 255, 255, 0.92);
    padding: 26px 0;
    margin-top: 0;
    border-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
}

.footer-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 6px;
    font-size: 16px;
    letter-spacing: 0.4px;
}

.footer-title .logo {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    box-shadow: none;
}

.footer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 500;
    max-width: none;
}

.footer-icons {
    margin-top: 12px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-icons a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    transition: 0.18s ease;
    min-width: 210px;
}

.footer-icons a:hover {
    background: rgba(255, 255, 255, 0.10);
    transform: translateY(-1px);
}

.footer-icons .txt {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.footer-icons .txt b {
    color: #fff;
    font-size: 1rem;
}

.footer-icons .txt span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    font-weight: 600;
    margin-top: 4px;
}

.footer-mark {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    font-size: 22px;
}

.copyright {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
    font-weight: 600;
}

@media (max-width: 900px) {
    .hero-grid,
    .about-grid,
    .services {
        grid-template-columns: 1fr;
    }

    .badge {
        min-width: unset;
        flex: 1;
    }

    .header-inner {
        padding: 12px 0;
    }

    .footer-icons a {
        min-width: 100%;
    }
}

@media (max-width: 420px) {
    .btn {
        display: none;
    }

    .float-wrap {
        right: 12px;
        bottom: 12px;
    }

    .float-btn {
        width: 50px;
        height: 50px;
        border-radius: 16px;
    }

    .fillMark {
        width: 28px;
        height: 28px;
        border-radius: 10px;
        font-size: 17px;
    }
}






body > header {
    top: 0 !important;
}

main,
.site-main {
    margin-top: 0 !important;
    padding-top: 68px !important;
}







[id] {
    scroll-margin-top: 96px;
}



.news-table th {
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
    background: rgba(31, 138, 132, 0.06);
}

.news-table td {
    color: var(--muted);
    font-weight: 500;
}

.news-list-blocks {
    display: grid;
    gap: 14px;
}

.news-item {
    padding: 18px 20px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 20px rgba(10, 35, 45, 0.06);
}

.news-item-date {
    margin: 0 0 8px;
    color: var(--primary-2);
    font-size: 13px;
    font-weight: 700;
}

.news-item-title {
    margin: 0;
    color: var(--text);
    font-size: 18px;
    line-height: 1.5;
}

.news-pagination {
    margin-top: 20px;
}

.news-pagination nav {
    display: flex;
    justify-content: center;
}

.news-pagination .pagination {
    display: flex;
    gap: 8px;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-pagination .page-item {
    margin: 0;
}

.news-pagination .page-link,
.news-pagination .page-item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    font-weight: 700;
}

.news-pagination .page-item.active span {
    background: rgba(31, 138, 132, 0.12);
    color: var(--primary-2);
    border-color: rgba(31, 138, 132, 0.22);
}

.news-pagination .page-item.disabled span {
    opacity: 0.45;
}

.news-pagination {
    margin-top: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.news-pagination-summary {
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.news-pagination-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.news-page-numbers {
    display: flex;
    gap: 8px;
    align-items: center;
}

.news-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.news-page-btn:hover {
    background: rgba(31, 138, 132, 0.08);
    border-color: rgba(31, 138, 132, 0.22);
    color: var(--primary-2);
    transform: translateY(-1px);
}

.news-page-btn.is-active {
    background: rgba(31, 138, 132, 0.12);
    color: var(--primary-2);
    border-color: rgba(31, 138, 132, 0.22);
}

.news-page-btn.is-disabled {
    opacity: 0.45;
    cursor: default;
    pointer-events: none;
}

.news-page-arrow {
    font-size: 22px;
    line-height: 1;
}

@media (max-width: 768px) {
    .news-pagination {
        flex-direction: column;
        align-items: stretch;
    }

    .news-pagination-summary {
        text-align: center;
    }

    .news-pagination-controls {
        justify-content: center;
        flex-wrap: wrap;
    }
}
.news-item-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.news-item-link .news-item {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.news-item-link:hover .news-item {
    transform: translateY(-2px);
    border-color: rgba(31, 138, 132, 0.28);
    box-shadow: 0 16px 32px rgba(15, 47, 51, 0.08);
}

.news-detail-section {
    padding-bottom: 72px;
}

.news-detail-container {
    max-width: 880px;
}

.news-detail-header {
    display: grid;
    gap: 12px;
    margin-bottom: 24px;
}

.news-back-link {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: var(--primary-2);
    text-decoration: none;
    font-weight: 700;
}

.news-back-link:hover {
    text-decoration: underline;
}

.news-detail-date {
    margin: 0;
    color: var(--primary-2);
    font-size: 14px;
    font-weight: 700;
}

.news-detail-title {
    margin: 0;
    color: var(--text);
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.25;
}

.news-detail-card {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 20px 40px rgba(15, 47, 51, 0.08);
}

.news-detail-content {
    color: var(--text);
    line-height: 1.85;
    word-break: break-word;
}

.news-detail-content > :first-child {
    margin-top: 0;
}

.news-detail-content > :last-child {
    margin-bottom: 0;
}

.news-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
}

.news-detail-content table {
    width: 100%;
    display: block;
    overflow-x: auto;
}

@media (max-width: 768px) {
    .news-detail-section {
        padding-bottom: 56px;
    }

    .news-detail-card {
        padding: 20px;
        border-radius: 18px;
    }
}
