@charset "UTF-8";

/* =========================================
   下層ページ共通スタイル
========================================= */
.page-header {
    margin-top: 92px;
    background-color: var(--light-blue-bg);
    padding: 60px 0;
    text-align: center;
}
.page-title {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin: 0 0 10px 0;
    font-weight: 900;
}
.page-subtitle {
    font-family: var(--font-en);
    font-size: 1.2rem;
    color: var(--secondary-color);
    opacity: 0.8;
    margin: 0;
    font-weight: bold;
    letter-spacing: 0.1em;
}

.breadcrumb {
    background-color: var(--gray-25);
    padding: 15px 0;
    border-bottom: 1px solid var(--gray-100);
}
.breadcrumb ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--gray-600);
}
.breadcrumb li:not(:last-child)::after {
    content: ">";
    margin-left: 10px;
    color: var(--gray-250);
}
.breadcrumb a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .page-header { margin-top: 60px; padding: 30px 0; }
    .page-title { font-size: 1.5rem; }
    .page-subtitle { font-size: 1rem; }
}

/* =========================================
   FAQページ
========================================= */
.faq-section { background-color: var(--white); }
.faq-container {
    max-width: 800px; margin: 0 auto;
    margin-block-start: 0; margin-block-end: 0; padding-inline-start: 0;
}
.faq-item { border-bottom: 1px solid var(--gray-100); margin: 0; }
.faq-item:first-child { border-top: 1px solid var(--gray-100); }

.faq-question {
    padding: 20px 50px 20px 20px; font-weight: bold; font-size: 1.1rem;
    cursor: pointer; position: relative; color: var(--text-color); transition: background-color 0.3s;
    display: flex; align-items: flex-start; gap: 10px; margin: 0;
}
.faq-question::before {
    content: "Q."; color: var(--primary-color); font-weight: 900; font-family: var(--font-en); font-size: 1.3rem; line-height: 1.2;
}
.faq-question:hover { background-color: var(--gray-25); }
.faq-question::after {
    content: "\f078"; font-family: "Font Awesome 6 Free"; font-weight: 900;
    position: absolute; top: 50%; right: 20px; transform: translateY(-50%) rotate(0deg);
    transition: transform 0.3s; font-size: 1rem; color: var(--secondary-color);
}
.faq-item.active .faq-question::after { transform: translateY(-50%) rotate(180deg); }
.faq-item.active .faq-question { color: var(--primary-color); }

.faq-answer {
    max-height: 0; overflow: hidden; opacity: 0; transition: all 0.3s ease-out; padding: 0; background-color: var(--surface-tint); margin: 0;
}
.faq-item.active .faq-answer { opacity: 1; }
.faq-answer-inner { padding: 20px 20px 20px 50px; position: relative; border-top: 1px dashed var(--gray-200); }
.faq-answer-inner::before {
    content: "A."; position: absolute; top: 20px; left: 20px; color: var(--accent-color);
    font-weight: 900; font-family: var(--font-en); font-size: 1.3rem; line-height: 1.2;
}
.faq-answer p { margin: 0; font-size: 0.95rem; line-height: 1.6; }

@media (max-width: 768px) {
    .faq-question { font-size: 0.95rem; padding: 15px 35px 15px 10px; }
    .faq-question::before { font-size: 1rem; }
    .faq-answer-inner { padding: 15px 15px 15px 30px; }
    .faq-answer-inner::before { left: 10px; top: 15px; font-size: 1rem; }
    .faq-answer p { font-size: 0.9rem; }
}

/* =========================================
   スタッフ一覧ページ
========================================= */
.staff-list-section { background-color: var(--white); }
.staff-list-container { display: flex; flex-direction: column; gap: 40px; max-width: 900px; margin: 0 auto; }
.staff-list-item {
    display: flex; flex-direction: row; background: var(--white);
    border: 1px solid var(--gray-100); border-radius: 12px; overflow: hidden;
    box-shadow: var(--shadow-md); transition: 0.3s;
}
.staff-list-item:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.staff-list-img { width: 35%; min-width: 250px; position: relative; overflow: hidden; }
.staff-list-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.staff-list-body { width: 65%; padding: 30px; display: flex; flex-direction: column; justify-content: center; }
.staff-head { margin-bottom: 20px; border-bottom: 1px solid var(--gray-100); padding-bottom: 15px; }
.staff-role {
    display: inline-block; background-color: var(--light-blue-bg); color: var(--secondary-color);
    font-size: 0.85rem; font-weight: bold; padding: 4px 10px; border-radius: 4px; margin-bottom: 8px;
}
.staff-name { font-size: 1.5rem; color: var(--primary-color); margin: 0; font-weight: 900; }
.staff-name .en { font-size: 1rem; color: #999; font-weight: normal; font-family: var(--font-en); margin-left: 10px; }
.staff-info { margin-bottom: 20px; }
.staff-info dl { display: flex; flex-wrap: wrap; margin-bottom: 8px; }
.staff-info dt { font-weight: bold; color: var(--secondary-color); width: 80px; flex-shrink: 0; }
.staff-info dd { margin: 0; flex: 1; }
.staff-comment { background-color: var(--gray-25); padding: 15px; border-radius: 8px; font-size: 0.95rem; line-height: 1.8; margin: 0; }

@media (max-width: 768px) {
    .staff-list-item { flex-direction: column; }
    .staff-list-img { width: 100%; height: 250px; }
    .staff-list-body { width: 100%; padding: 20px; box-sizing: border-box; }
    .staff-name { font-size: 1.2rem; }
    .staff-role { font-size: 0.75rem; }
    .staff-info dl { flex-direction: column; gap: 2px; margin-bottom: 12px; }
    .staff-info dt { width: 100%; font-size: 0.9rem; }
    .staff-info dd { font-size: 0.9rem; }
}

/* =========================================
   会社概要ページ
========================================= */
.company-section { background-color: var(--white); }
.company-table-wrap { max-width: 800px; margin: 0 auto; }
.company-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--gray-200); }
.company-table th, .company-table td {
    padding: 20px; border-bottom: 1px solid var(--gray-200); text-align: left; vertical-align: top; font-size: 0.95rem;
}
.company-table th {
    width: 30%; background-color: var(--surface-tint); color: var(--secondary-color); font-weight: bold; white-space: nowrap;
}
.company-table td { width: 70%; color: var(--text-color); line-height: 1.8; }

.access-section { background-color: var(--gray-25); }
.access-map {
    max-width: 800px; margin: 0 auto 20px; box-shadow: var(--box-shadow);
    border: 5px solid var(--white); height: 450px;
}
.access-map iframe { width: 100%; height: 100%; }
.access-info { text-align: center; max-width: 800px; margin: 0 auto; font-weight: bold; line-height: 1.8; }

@media (max-width: 768px) {
    .company-table { border-top: none; }
    .company-table tr { display: block; margin-bottom: 20px; border-bottom: none; }
    .company-table th, .company-table td { display: block; width: 100%; padding: 10px; border-bottom: none; }
    .company-table th {
        background-color: transparent; color: var(--primary-color); padding-bottom: 5px; font-size: 0.95rem;
        border-left: 4px solid var(--secondary-color); padding-left: 10px; margin-bottom: 5px;
    }
    .company-table td { font-size: 0.9rem; padding-top: 0; padding-left: 15px; }
    .access-map { height: 300px; }
}

/* =========================================
   お問い合わせページ
========================================= */
.contact-intro-section { padding-bottom: 0; }
.contact-form-section { background-color: var(--white); }
.contact-form {
    max-width: 800px; margin: 0 auto; background-color: #fdfdfd;
    padding: 40px; border: 1px solid var(--gray-100); border-radius: 8px;
}
.form-group {
    display: flex; margin-bottom: 25px; border-bottom: 1px dashed var(--gray-100); padding-bottom: 25px;
}
.form-group:last-of-type { border-bottom: none; }
.form-label { width: 200px; font-weight: bold; flex-shrink: 0; padding-top: 10px; color: var(--secondary-color); }
.required {
    background-color: #ff5252; color: var(--white); font-size: 0.75rem; padding: 2px 6px;
    border-radius: 4px; margin-left: 5px; vertical-align: middle;
}
.any {
    background-color: var(--gray-300); color: var(--white); font-size: 0.75rem; padding: 2px 6px;
    border-radius: 4px; margin-left: 5px; vertical-align: middle;
}
.form-input { flex: 1; }
.form-input input[type="text"], .form-input input[type="tel"], .form-input input[type="email"],
.form-input select, .form-input textarea {
    width: 100%; padding: 12px; border: 1px solid var(--gray-250); border-radius: 4px; font-size: 1rem;
    box-sizing: border-box; background-color: var(--white);
}
.form-input input:focus, .form-input select:focus, .form-input textarea:focus {
    border-color: var(--primary-color); outline: none; box-shadow: 0 0 5px rgba(2, 136, 209, 0.2);
}
.form-note { font-size: 0.85rem; color: var(--gray-400); margin: 5px 0 0; }
.form-privacy { text-align: center; margin: 40px 0; }
.form-privacy a { color: var(--primary-color); text-decoration: underline; }
.form-submit { text-align: center; }
.btn-submit {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white); border: none; padding: 15px 60px; font-size: 1.2rem; font-weight: bold;
    border-radius: 50px; cursor: pointer; box-shadow: 0 5px 15px rgba(0,0,0,0.2); transition: 0.3s;
}
.btn-submit:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.3); }

@media (max-width: 768px) {
    .contact-form { padding: 20px; }
    .form-group { flex-direction: column; }
    .form-label { width: 100%; margin-bottom: 10px; padding-top: 0; font-size: 0.95rem; }
    .btn-submit { width: 100%; }
}

/* =========================================
   サービス詳細ページ
========================================= */
.service-detail { background-color: var(--white); }
.detail-h2 {
    font-size: 1.8rem; color: var(--primary-color); border-left: 6px solid var(--secondary-color);
    padding-left: 15px; margin-bottom: 40px;
}

.problem-box {
    display: flex; justify-content: space-between; align-items: center; gap: 40px;
    background-color: var(--gray-25); padding: 40px; border-radius: 12px;
}
.problem-list { flex: 1; list-style: none; padding: 0; margin: 0; }
.problem-list li { position: relative; padding-left: 30px; margin-bottom: 15px; font-size: 1.1rem; font-weight: bold; line-height: 1.5; }
.problem-list li::before {
    content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--accent-color);
    position: absolute; left: 0; top: 2px; font-size: 1.2rem;
}
.problem-img { flex: 1; max-width: 400px; }
.problem-img img { width: 100%; height: auto; border-radius: 8px; box-shadow: var(--box-shadow); }
.problem-solution { text-align: center; margin-top: 40px; font-size: 1.2rem; line-height: 1.8; }
.problem-solution strong { color: var(--primary-color); font-size: 1.5rem; background: linear-gradient(transparent 70%, #ffeb3b 70%); }

.feature-list { display: flex; flex-direction: column; gap: 60px; }
.feature-item {
    display: flex; align-items: center; gap: 40px; background-color: var(--white);
    padding: 40px; border-radius: 12px; box-shadow: var(--shadow-md);
}
.feature-item.reversed { flex-direction: row-reverse; }
.feature-img { flex: 1; }
.feature-img img { width: 100%; height: auto; border-radius: 8px; }
.feature-body { flex: 1; }
.feature-body h3 {
    font-size: 1.4rem; color: var(--primary-color); margin-bottom: 20px;
    border-bottom: 2px solid var(--light-blue-bg); padding-bottom: 10px;
}
.feature-body p { font-size: 1rem; line-height: 1.8; }

.price-table-wrap { max-width: 800px; margin: 40px auto 0; overflow-x: auto; }
.price-table { width: 100%; border-collapse: collapse; border: 1px solid var(--gray-200); }
.price-table th, .price-table td { padding: 15px; border: 1px solid var(--gray-200); text-align: center; }
.price-table th { background-color: var(--primary-color); color: var(--white); font-weight: bold; width: 60%; }
.price-table td { width: 40%; font-weight: bold; font-size: 1.1rem; }

.flow-list { display: flex; flex-direction: column; gap: 30px; max-width: 800px; margin: 0 auto; }
.flow-item {
    background-color: var(--white); padding: 30px; border-radius: 12px; position: relative;
    padding-left: 90px; box-shadow: var(--shadow-sm);
}
.flow-item::after {
    content: "\f0d7"; font-family: "Font Awesome 6 Free"; font-weight: 900;
    position: absolute; bottom: -35px; left: 50%; transform: translateX(-50%);
    font-size: 2rem; color: var(--secondary-color); z-index: 1;
}
.flow-item:last-child::after { display: none; }
.flow-num {
    position: absolute; top: 30px; left: 20px; font-size: 3rem; font-weight: 900;
    color: rgba(2, 136, 209, 0.1); font-family: var(--font-en); line-height: 1;
}
.flow-item h3 { font-size: 1.3rem; color: var(--primary-color); margin-bottom: 10px; }
.flow-item p { margin: 0; line-height: 1.6; }

@media (max-width: 768px) {
    .detail-h2 { font-size: 1.5rem; margin-bottom: 30px; }
    .problem-box { flex-direction: column-reverse; padding: 20px; gap: 20px; }
    .problem-list li { font-size: 0.95rem; padding-left: 25px; }
    .problem-list li::before { font-size: 1rem; top: 4px; }
    .problem-solution { font-size: 1rem; }
    .problem-solution strong { font-size: 1.2rem; }
    
    .feature-item, .feature-item.reversed { flex-direction: column; padding: 20px; gap: 20px; }
    .feature-body h3 { font-size: 1.2rem; }
    
    .flow-item { padding: 20px 20px 20px 70px; }
    .flow-num { font-size: 2.5rem; left: 15px; top: 20px; }
    .flow-item::after { font-size: 1.5rem; bottom: -25px; }
}

/* =========================================
   コラムアーカイブ (column.html) & 詳細 (column-detail.html)
========================================= */
.column-archive-section { background-color: var(--white); }
.column-categories { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; justify-content: center; }
.column-categories a {
    display: inline-block; padding: 8px 20px; border-radius: 50px; background-color: var(--gray-50);
    color: var(--text-color); font-size: 0.9rem; font-weight: bold; transition: 0.3s;
}
.column-categories a:hover, .column-categories a.current {
    background-color: var(--primary-color); color: var(--white);
}
.column-excerpt { font-size: 0.9rem; color: var(--text-color); margin: 10px 0 0; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pagination { margin-top: 60px; display: flex; justify-content: center; gap: 10px; }
.page-numbers {
    display: flex; justify-content: center; align-items: center; width: 40px; height: 40px;
    border-radius: 50%; background-color: var(--white); border: 1px solid var(--gray-200); color: var(--text-color);
    font-weight: bold; transition: 0.3s;
}
.page-numbers:hover, .page-numbers.current {
    background-color: var(--primary-color); color: var(--white); border-color: var(--primary-color);
}
.page-numbers i { font-size: 0.9rem; }

/* 詳細 */
.column-detail-section { background-color: var(--white); padding: 60px 0; }
.column-article { max-width: 800px; margin: 0 auto; }
.column-header { margin-bottom: 40px; text-align: center; }
.column-meta-top {
    display: flex; justify-content: center; align-items: center; gap: 15px; margin-bottom: 15px;
    color: var(--gray-400); font-size: 0.9rem;
}
.column-cat-label {
    background-color: var(--accent-color); color: var(--white); padding: 4px 12px; font-size: 0.8rem;
    font-weight: bold; border-radius: 4px;
}
.column-title { font-size: 1.8rem; font-weight: 900; line-height: 1.5; color: var(--text-color); margin: 0; }
.column-main-img { margin-bottom: 50px; }
.column-main-img img { width: 100%; height: auto; border-radius: 8px; box-shadow: var(--box-shadow); }
.column-content p { margin-bottom: 2em; line-height: 1.8; }
.column-content h2 {
    font-size: 1.6rem; color: var(--primary-color); border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px; margin-bottom: 25px; margin-top: 50px; font-weight: bold;
}
.column-content h3 {
    font-size: 1.35rem; color: var(--text-color); border-left: 6px solid var(--secondary-color);
    background-color: var(--surface-tint); padding: 10px 15px; margin-bottom: 20px; margin-top: 40px; font-weight: bold;
}
.column-content img { max-width: 100%; height: auto; border-radius: 8px; margin-bottom: 20px; }
.column-content figure { margin: 0 0 30px; }
.column-content figcaption { font-size: 0.9rem; color: var(--gray-400); margin-top: 5px; text-align: center; }
.column-check-list {
    list-style: none; padding: 20px; background-color: #fff8e1; border-radius: 8px; margin-bottom: 30px;
}
.column-check-list li { position: relative; padding-left: 25px; margin-bottom: 10px; line-height: 1.6; font-weight: bold; }
.column-check-list li:last-child { margin-bottom: 0; }
.column-check-list li::before {
    content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--accent-color);
    position: absolute; left: 0; top: 3px;
}
.column-step-list { counter-reset: step; list-style: none; padding: 0; margin-bottom: 30px; }
.column-step-list li { position: relative; padding-left: 40px; margin-bottom: 15px; line-height: 1.6; }
.column-step-list li::before {
    counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0;
    width: 28px; height: 28px; background-color: var(--secondary-color); color: var(--white);
    text-align: center; line-height: 28px; border-radius: 50%; font-weight: bold; font-size: 0.9rem; font-family: var(--font-en);
}
.column-point-box {
    border: 2px solid var(--primary-color); padding: 25px; border-radius: 8px; margin: 30px 0;
    position: relative; background-color: var(--white);
}
.point-title {
    position: absolute; top: -14px; left: 20px; background-color: var(--primary-color); color: var(--white);
    padding: 2px 15px; font-size: 0.9rem; font-weight: bold; border-radius: 20px; margin: 0;
}
.column-point-box p:last-child { margin-bottom: 0; }
.column-footer-cta {
    background-color: var(--brand-tint-2); padding: 30px; text-align: center; border-radius: 12px; margin-top: 60px;
}
.cta-msg { font-weight: bold; margin-bottom: 20px; font-size: 1.1rem; }
.btn-column-cta {
    display: inline-block; background-color: var(--accent-color); color: var(--white); padding: 12px 40px;
    border-radius: 50px; font-weight: bold; transition: 0.3s;
}
.btn-column-cta:hover { background-color: #ffa726; transform: translateY(-2px); }
.btn-column-cta i { margin-left: 10px; }

.column-navigation {
    display: flex; justify-content: space-between; align-items: center; margin-top: 60px;
    padding-top: 40px; border-top: 1px solid var(--gray-100);
}
.column-nav-link {
    display: inline-flex; align-items: center; gap: 10px; color: var(--text-color);
    font-size: 0.9rem; max-width: 35%; line-height: 1.4;
}
.column-nav-link:hover { text-decoration: underline; color: var(--primary-color); }
.column-nav-prev::before { content: "\f053"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--gray-250); }
.column-nav-next { text-align: right; justify-content: flex-end; }
.column-nav-next::after { content: "\f054"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--gray-250); }
.column-back-list {
    display: inline-block; padding: 10px 30px; background-color: var(--gray-50); color: var(--text-color);
    border-radius: 50px; font-size: 0.9rem; font-weight: bold; white-space: nowrap;
}
.column-back-list:hover { background-color: var(--gray-200); }
.column-nav-center { text-align: center; }

@media (max-width: 768px) {
    .column-title { font-size: 1.4rem; }
    .column-content h2 { font-size: 1.4rem; }
    .column-content h3 { font-size: 1.2rem; }
    .column-navigation { flex-direction: column; gap: 20px; align-items: center; }
    .column-nav-link { max-width: 100%; width: 100%; justify-content: center; order: 2; }
    .column-nav-center { order: 1; margin-bottom: 10px; }
    .column-nav-prev { order: 3; }
    .column-nav-next { order: 2; }
}

/* =========================================
   作業実績アーカイブ (works.html) & 詳細 (work-detail.html)
========================================= */
.works-archive-section { background-color: var(--white); }
.works-categories { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; justify-content: center; }
.works-categories a {
    display: inline-block; padding: 8px 20px; border-radius: 50px; background-color: var(--gray-50);
    color: var(--text-color); font-size: 0.9rem; font-weight: bold; transition: 0.3s;
}
.works-categories a:hover, .works-categories a.current {
    background-color: var(--primary-color); color: var(--white);
}
.works-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.works-card {
    display: block; background: var(--white); border-radius: 8px; overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08); transition: all 0.3s ease; border: 1px solid var(--gray-100);
}
.works-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.12); }
.works-thumb { position: relative; overflow: hidden; }
.works-thumb img { width: 100%; height: 200px; object-fit: cover; transition: 0.3s; }
.works-card:hover .works-thumb img { transform: scale(1.05); }
.works-tag {
    position: absolute; bottom: 0; left: 0; background: var(--primary-color); color: var(--white);
    padding: 5px 15px; font-size: 0.85rem; font-weight: bold;
}
.works-info { padding: 20px; }
.works-date { display: block; font-size: 0.85rem; color: var(--gray-400); margin-bottom: 8px; }
.works-name { font-size: 1.1rem; color: var(--primary-color); margin: 0 0 10px; line-height: 1.4; font-weight: bold; }
.works-text {
    font-size: 0.95rem; color: var(--text-color); margin: 0; line-height: 1.6;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.works-meta {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-bottom: 12px;
    border-top: 1px dashed var(--gray-100); border-bottom: 1px dashed var(--gray-100); padding: 10px 0;
}
.works-meta dl { margin: 0; text-align: center; border-right: 1px solid var(--gray-100); }
.works-meta dl:last-child { border-right: none; }
.works-meta dt { font-size: 0.75rem; color: var(--gray-400); margin-bottom: 2px; font-weight: normal; }
.works-meta dd {
    margin: 0; font-size: 0.85rem; font-weight: bold; color: var(--text-color);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* 詳細 */
.work-detail-section { background-color: var(--white); padding: 60px 0; }
.work-article { max-width: 800px; margin: 0 auto; }
.work-header { margin-bottom: 40px; text-align: center; }
.work-meta-top {
    display: flex; justify-content: center; align-items: center; gap: 15px; margin-bottom: 15px;
    color: var(--gray-400); font-size: 0.9rem;
}
.work-cat-label {
    background-color: var(--primary-color); color: var(--white); padding: 4px 12px;
    font-size: 0.8rem; font-weight: bold; border-radius: 4px;
}
.work-title { font-size: 1.8rem; font-weight: 900; line-height: 1.5; color: var(--primary-color); margin: 0; }
.work-main-img { margin-bottom: 50px; }
.work-main-img img { width: 100%; height: auto; border-radius: 8px; box-shadow: var(--box-shadow); }
.work-content p { margin-bottom: 2em; line-height: 1.8; }
.work-content h2 {
    font-size: 1.5rem; color: var(--secondary-color); border-bottom: 2px solid var(--light-blue-bg);
    padding-bottom: 10px; margin-bottom: 20px; margin-top: 40px;
}
.work-content h3 {
    font-size: 1.3rem; color: var(--text-color); border-left: 5px solid var(--primary-color);
    padding-left: 15px; margin-bottom: 20px; margin-top: 30px;
}
.work-content img { max-width: 100%; height: auto; border-radius: 8px; margin-bottom: 20px; }
.work-content figure { margin: 0 0 30px; }
.work-content figcaption { font-size: 0.9rem; color: var(--gray-400); margin-top: 5px; text-align: center; }
.work-data-table { width: 100%; border-collapse: collapse; margin: 40px 0; border: 1px solid var(--gray-100); }
.work-data-table th, .work-data-table td { padding: 15px; border: 1px solid var(--gray-100); text-align: left; }
.work-data-table th { background-color: var(--surface-tint); width: 30%; color: var(--secondary-color); font-weight: bold; }
.work-navigation {
    display: flex; justify-content: space-between; align-items: center; margin-top: 60px;
    padding-top: 40px; border-top: 1px solid var(--gray-100);
}
.work-nav-link {
    display: inline-flex; align-items: center; gap: 10px; color: var(--secondary-color);
    font-weight: bold; font-size: 0.9rem; max-width: 35%;
}
.work-nav-link:hover { text-decoration: underline; color: var(--primary-color); }
.work-nav-prev::before { content: "\f053"; font-family: "Font Awesome 6 Free"; font-weight: 900; }
.work-nav-next { text-align: right; justify-content: flex-end; }
.work-nav-next::after { content: "\f054"; font-family: "Font Awesome 6 Free"; font-weight: 900; }
.work-back-list {
    display: inline-block; padding: 10px 30px; background-color: var(--gray-50); color: var(--text-color);
    border-radius: 50px; font-size: 0.9rem; font-weight: bold; white-space: nowrap;
}
.work-back-list:hover { background-color: var(--gray-200); }
.work-nav-center { text-align: center; }

@media (max-width: 768px) {
    .work-title { font-size: 1.4rem; }
    .work-data-table th, .work-data-table td { display: block; width: 100%; box-sizing: border-box; }
    .work-data-table th { background-color: var(--brand-tint-2); }
    .work-navigation { flex-direction: column; gap: 20px; align-items: center; }
    .work-nav-link { max-width: 100%; width: 100%; justify-content: center; order: 2; }
    .work-nav-center { order: 1; margin-bottom: 10px; }
    .work-nav-prev { order: 3; }
    .work-nav-next { order: 2; }
}