/* =============================== begin header =============================== */
/* General Body Styles */
body {
    font-family: 'Noto Sans JP';
    margin: 0;
    padding: 0;
    line-height: 150%;
}

.mobile-only {
    display: none;
}

.desktop-only {
    display: inline-block;
}

.span-dot {
    display: inline-block;
}

/* breacum */
.contact-section-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 0px;
    justify-content: flex-start;
    align-items: center;
    gap: 0;
}

.contact-section-breadcrumb p, .contact-section-breadcrumb a {
    display: flex;
    font-size: 18px;
    color: #1C1C1C;
    white-space: normal;
    word-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
    line-height: 1.4;
    text-decoration: none;
}

.contact-section-breadcrumb a {
    color: #00C8B4;
}

.contact-section-banner {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.contact-section-banner .banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.contact-section-banner-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.contact-section-banner-content .section-title {
    color: #FFFFFF;
}

.top-nav {
    padding: 25px 0;
    position: relative;
    z-index: 10;
}

.nav-container {
    max-width: 1800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    font-size: 32px;
    color: #2d5016;
    filter: hue-rotate(0deg) saturate(1.2);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 32px;
    font-weight: bold;
    color: #008D72;
    line-height: 1.2;
}

.logo-location {
    font-size: 24px;
    color: #008D72;
    line-height: 1.2;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 10px;
}

.nav-menu li {
    margin: 0;
}

/* Hide mobile menu on desktop */
.nav-menu-mobile,
.lawyer-background-image-mobile {
    display: none;
}

.nav-menu-mobile-overlay,
.nav-menu-mobile-content {
    display: none;
}

.nav-link {
    display: block;
    padding: 10px 20px;
    color: #515151;
    text-decoration: none;
    font-size: 18px;
    border-radius: 8px;
    transition: all 0.3s;
}

.nav-link:hover {
    background: rgba(45, 80, 22, 0.1);
}

.nav-link.active {
    background: #008D72;
    color: white;
}

.header-container {
    background: url('../images/header/homepage-banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    height: 100%;
}

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

.header-content-not-home {
    width: 1400px;
    margin: 0 auto;
    text-align: left;
}

.header-content-not-home-content {
    text-align: center;
    padding: 50px 0 0;
}

.header-content-not-home-content h2 {
    font-size: 54px;
    color: #008D72;
    font-weight: bold;
    line-height: normal;
    margin: 0 0 20px 0;
}

.header-left {
    padding-top: 150px;
    padding-bottom: 150px;
    width: 1400px;
    margin: 0 auto;
    color: #333;
}

.header-left-content {
    width: 974px;
}

.header-left h1 {
    font-size: 64px;
    line-height: normal;
    font-weight: bold;
    margin: 0 0 20px 0;
    color: #008D72;
    text-shadow: 
    -1px -1px 0 #FFF,  
     1px -1px 0 #FFF,  
    -1px  1px 0 #FFF,  
     1px  1px 0 #FFF,  
    0 0 5px #FFF; 
}

.header-left p {
    font-size: 24px;
    line-height: normal;
    margin: 0 0 20px 0;
    width: 91%;
}

.header-left strong {
    font-size: 28px;
    color: black;
    font-weight: bold;
    margin: 0 0 20px 0;
    line-height: normal;
}

.header-right {
    flex: 1;
    text-align: center;
}

.header-image {
    max-width: 100%;
    height: auto;
}

/* Contact Bar at Bottom */
.header-contact-bar {
    background: #083012;
    padding: 15px 40px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 10;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
}

.header-contact-bar.fixed {
    width: -webkit-fill-available;
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.contact-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-bar-left {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.clock-icon {
    font-size: 20px;
}

.footer-contact-bar .contact-text {
    font-size: 18px;
    color: white;
    font-weight: normal;
}

.contact-bar-right {
    display: flex;
    align-items: center;
}

/* =============================== begin ranking table =============================== */

.ranking-table-section {
    background: white;
}

.ranking-table {
    max-width: 1400px;
    margin: 0 auto;
    background: white;
    padding: 50px;
}

.ranking-table h2 {
    font-size: 56px;
    font-weight: bold;
    color: black;
    margin: 0 0 50px 0;
    text-align: center;
    line-height: normal;
}

.ranking-table-content {
    display: grid;
    grid-template-columns: 360px 145px 131px 131px 131px 131px 320px;
    gap: 10px;
}

.column-table {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.column-table-header {
    background: #ACE7DF;
    color: #009E83;
    text-align: center;
    padding: 10px 0px;
}

.column-table-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
    line-height: normal;
}

.column-table-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.column-table-row {
    background: #EFFFFE;
    color: #434343;
    padding: 5px;
    max-height: 120px;
    min-height: 96px;
    font-size: 16px;
}

.brand-row {
    display: flex;
    align-items: flex-start;
    gap: 0px;
}

.brand-row a {
    font-size: 24px;
    color: #1C1C1C;
    line-height: normal;
}

.brand-row img {
    margin-top: 12px;
}

.rating-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.rating-row span {
    font-size: 28px;
    color: #D7172A;
    line-height: normal;
    font-weight: bold;
}

.rating-stars {
    display: flex;
    gap: 4px;
}

.rating-stars img {
    object-fit: contain;
}

.project-row, .support-row, .area-row, .time-row {
    text-align: center;
    font-size: 16px;
}

.ranking-table-footer {
    display: grid;
    grid-template-columns: 360px auto;
    gap: 10px;
    margin-top: 10px;
}

.ranking-table-footer-left, .ranking-table-footer-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ranking-table-footer-left-item, .ranking-table-footer-right-item {
    background: #EFFFFE;
    color: #000000;
    padding: 10px;
    font-size: 16px;
    font-weight: medium;
}

.ranking-table-footer-left-item {
    font-size: 20px;
}

/* =============================== ranking detail =============================== */
.ranking-detail-section {
    background: #F5F5F5;
    padding: 40px 0 60px;
}

.ranking-detail {
    max-width: 1100px;
    margin: 0 auto;
    background: #F5F5F5;
    padding: 0 20px;
}

.ranking-detail-inner {
    padding: 20px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-radius: 24px;
    margin-bottom: 50px;
}

.ranking-detail-inner:last-child {
    margin-bottom: 0;
}

.ranking-detail-title {
    font-size: 40px;
    font-weight: 700;
    color: #1c1c1c;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.ranking-detail-star-icon {
    position: absolute;
    left: 46px;
    top: 12px;
}

.ranking-detail-hero {
    background: #F5F5F5;
    border-radius: 16px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ranking-detail-hero-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ranking-detail-hero-text-double {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.ranking-detail-hero-main {
    font-size: 38px;
    font-weight: 800;
    color: #c25200;
    line-height: 1.1;
}

.ranking-detail-hero-sub {
    font-size: 24px;
    font-weight: 700;
    color: #2c1c3c;
    line-height: 1.2;
}

.ranking-detail-points {
    background: #EFFFFE;
    padding: 16px;
    border-radius: 6px;
}

.ranking-detail-points ul,
.ranking-detail-free ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ranking-detail-points li,
.ranking-detail-free li {
    position: relative;
    padding-left: 30px;
    font-size: 20px;
    color: #1C1C1C;
    line-height: 1.5;
}

.ranking-detail-points li::before,
.ranking-detail-free li::before {
    content: url('../images/rankingDetail/purpleCheck.svg');
    position: absolute;
    left: 0;
    top: 3px;
    line-height: 1.5;
}

.ranking-detail-free ul {
    padding-left: 16px;
}

.ranking-detail-free-title {
    font-size: 20px;
    font-weight: 700;
    color: #1C1C1C;
    margin: 0 15px 10px 0;
    line-height: 1.5;
}

.ranking-detail-table {
    width: 100%;
}

.ranking-detail-table-left {
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ranking-detail-table-row {
    display: grid;
    grid-template-columns: 290px 1fr;
    min-height: 40px;
    gap: 10px;
}

.ranking-detail-table-cell {
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 20px;
    color: #1c1c1c;
    background: #EFFFFE;
}

.ranking-detail-table-cell.heading {
    font-weight: 700;
    color: #000000;
    font-size: 20px;
    background: #ACE7DF;
    justify-content: center;
}

.ranking-detail-review {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ranking-detail-rating-stars img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.ranking-detail-rating-score {
    font-size: 20px;
    font-weight: 700;
    color: #d7172a;
}

.ranking-detail-buttons {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

.ranking-detail-button {
    max-width: 1100px;
    margin: 0 auto;
    text-align: right;
    margin-top: 30px;
}

.btn-ranking-detail-more {
    color:#009BE3;
    font-size: 32px;
    font-weight: 700;
    cursor: pointer;
}

.ranking-detail-more {
    display: none;
}

.ranking-detail-more.show {
    display: block;
}

.btn-ranking-detail-tel,
.btn-ranking-detail-official {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 18px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 20px;
    text-decoration: none;
    color: #008D72;
    min-width: 180px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    border: 1px solid #008D72;
}

.btn-ranking-detail-tel {
    background: white;
}

.btn-ranking-detail-official {
    background: #008D72;
    color: white;
}

/* =============================== lawyers section =============================== */
.lawyers-section {
    background: #ffffff;
    padding: 60px 0;
}

.lawyers-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.lawyers-title-area {
    margin-bottom: 30px;
}

.lawyers-main-title {
    font-size: 40px;
    font-weight: 700;
    color: #1c1c1c;
    line-height: 1.4;
    margin: 0;
}

.title-brand-ai {
    position: relative;
    font-weight: bold;
}

.title-brand-highlight {
    position: absolute;
    left: -20px;
    top: 16px;
    width: 100%;
    height: 100%;
}

.title-brand-highlight {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.lawyers-description {
    margin-bottom: 40px;
}

.lawyers-content {
    color: #1c1c1c;
    font-size: 20px;
    line-height: 1.8;
}

.lawyers-content p {
    margin: 0;

}

.lawyers-content p:first-child strong,
.lawyers-content p:first-child span {
    font-weight: 700;
    color: #00c8b4;
}

.lawyers-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.lawyer-card {
    display: flex;
    flex-direction: row;
    text-decoration: none;
    color: inherit;
    background: #ffffff;
    overflow: hidden;
    gap: 0;
}

.card-image {
    width: 200px;
    min-width: 200px;
    height: auto;
    overflow: hidden;
    background: #f5f5f5;
    position: relative;
    flex-shrink: 0;
    border-radius: 8px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-content {
    padding: 0px 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-title {
    font-size: 24px;
    font-weight: 700;
    color: #1c1c1c;
    margin: 0 0 15px 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
}

.card-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: #000000;
    text-decoration: none;
}

.meta-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.meta-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.meta-text {
    color: #008D72;
    font-weight: 500;
}

.meta-text-date {
    color: #666;
    font-weight: 400;
}

.lawyers-see-more {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
}

.btn-see-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: #00C8B4;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 24px;
    transition: background 0.3s ease;
}

.btn-see-more:hover {
    background: #3bc5d8;
}

.topics-see-more-link {
    text-align: center;
    margin-top: 30px;
}

.topics-see-more-link-text {
    color: #FE4BA0;
    font-size: 24px;
    font-weight: 600;
    text-decoration: none;
}

/* Hide L and M badges if they exist */
.lawyers-section .badge-l,
.lawyers-section .badge-m,
.lawyers-section [class*="badge-l"],
.lawyers-section [class*="badge-m"] {
    display: none !important;
}


/* =============================== main footer =============================== */
.main-footer {
    background: #434343;
    padding: 30px 40px;
    color: #fff;
    position: relative;
}

.footer-inner {
    max-width: 1520px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-logo img {
    width: 97px;
    height: 84px;
    object-fit: contain;
}

.footer-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-title {
    font-size: 32px;
    font-weight: bold;
    color: #00C8B4;
    margin: 0;
    line-height: normal;
}

.footer-location {
    font-size: 24px;
    color: #00C8B4;
    margin: 0;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 40px;
}

.footer-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 22px;
    transition: color 0.3s;
}

.footer-nav-link:hover {
    color: #B3E5FC;
}

.footer-nav-separator {
    color: #666;
    font-size: 14px;
}

.footer-contact-bar-wrapper {
    display: flex;
    gap: 10px;
}

.footer-contact-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
}

.btn-email {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}

.footer-contact-bar .contact-text {
    font-size: 18px;
}

/* =============================== column lawyers listing =============================== */
.column-lawyers-page {
    padding: 0px 0px 30px;
}

.lawyer-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.page-nav {
    padding: 8px 14px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    color: #126826;
    text-decoration: none;
    font-size: 13px;
}

.page-nav.disabled {
    pointer-events: none;
    opacity: 0.4;
}

.page-numbers {
    display: flex;
    gap: 8px;
}

.page-number {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    display: grid;
    place-items: center;
    text-decoration: none;
    color: #009E83;
    font-size: 13px;
}

.page-number.active {
    background: #009E83;
    color: #fff;
    border-color: #009E83;
}

.page-ellipsis {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    color: #666;
    font-size: 13px;
    user-select: none;
}

/* =============================== column lawyers detail page =============================== */
.column-lawyers-detail-page {
    padding: 0;
    background: transparent;
    position: relative;
}

.column-lawyers-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding-top: 30px;
    z-index: 5;
    background: transparent;
    padding-bottom: 60px;
}

.column-lawyers-detail-page .card-title {
    font-size: 40px;
    font-weight: bold;
    color: #008D72;
    margin: 0;
    line-height: 1.6;
    padding: 10px 0px;
}

.column-lawyers-detail-page .card-meta {
    margin-bottom: 10px;
}

.column-lawyers-detail-page .meta-date {
    font-size: 20px;
    color: #4D4D4D;
}

.column-lawyers-detail-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.column-lawyers-detail-content-left {
    flex: 1;
    min-width: 0;
}

.column-lawyers-detail-content-left p,
.column-lawyers-detail-content-left h1,
.column-lawyers-detail-content-left h2,
.column-lawyers-detail-content-left h3,
.column-lawyers-detail-content-left h4,
.column-lawyers-detail-content-left h5,
.column-lawyers-detail-content-left h6,
.column-lawyers-detail-content-left ul,
.column-lawyers-detail-content-left ol,
.column-lawyers-detail-content-left li,
.column-lawyers-detail-content-left span {
    font-family: 'Noto Sans JP', sans-serif !important;
}

.column-lawyers-detail-content-left li {
    white-space: normal !important;
}

.column-lawyers-detail-content-left-image {
    margin-bottom: 0;
}

.column-lawyers-detail-content-left-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 30px;
    display: block;
}

.column-lawyers-detail-content-left-image p {
    font-size: 20px;
    line-height: 1.8;
    color: #333;
    margin: 0 0 20px 0;
}

.column-lawyers-detail-content-left-image p:last-child {
    margin-bottom: 0;
}

.card-footer .meta-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.card-footer .meta-row .meta-text {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #262626;
    font-size: 28px;
    font-weight: bold;
    line-height: normal;
    text-decoration: none;
    cursor: pointer;
}

.card-footer .meta-row .meta-text img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}
 
/* ranking card inside column lawyers detail */
.ranking-card {
    margin: 30px 0;
    background: #F5F5F5;
    border-radius: 18px;
    overflow: hidden;
    max-width: 550px;
    margin: 0 auto;
}

.ranking-card-header {
    background: #ACE7DF;
    text-align: center;
    padding: 18px 20px 14px;
}

.ranking-card-header p {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #008D72;
    line-height: 1.4;
}

.ranking-card-title-main {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
}

.ranking-card-title-sub {
    margin: 4px 0 0 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

.ranking-card-body {
    padding: 16px 24px 20px;
}

.ranking-card-list {
    margin: 0;
    padding-left: 24px;
    list-style: decimal;
}

.ranking-card-list li {
    margin-bottom: 4px;
    font-size: 18px;
    color: #1C1C1C;
    line-height: 1.6;
}

.ranking-card-list li:last-child {
    margin-bottom: 0;
}

.ranking-card-list a {
    color: inherit;
    text-decoration: none;
}

.ranking-card-list a:hover {
    text-decoration: underline;
}

/* choose office tips */
.choose-office-section {
    padding: 30px 0 30px;
    background: #ffffff;
}

.choose-office-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px;
}

.choose-office-tips-page {
    background: #F5F5F5;
    padding: 30px 0;
}

.choose-office-hero, .preparation-tips-hero {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
    background: white;
    border-radius: 8px;
    padding: 16px;
}

.preparation-tips-top-hero, .cost-saving-tips-top-hero, .choose-office-hero {
    grid-template-columns: 396px 1fr;
    align-items: stretch;
}

.cost-saving-tips-top-hero .choose-office-hero-image img {
    height: -webkit-fill-available;
}

.choose-office-hero.reverse {
    grid-template-columns: 1fr 1fr;
}

.preparation-tips-hero.reverse {
    grid-template-columns: 720px 1fr;
}

.choose-office-hero.reverse .choose-office-hero-image, .preparation-tips-hero.reverse .choose-office-hero-image {
    order: 2;
}

.choose-office-hero.reverse .choose-office-hero-text, .preparation-tips-hero.reverse .choose-office-hero-text {
    order: 1;
}

.choose-office-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    object-fit: cover;
}

.choose-office-hero-text p {
    margin: 0;
    font-size: 20px;
    line-height: 1.6;
    color: #1c1c1c;
}

.choose-office-title-block {
    text-align: center;
}

.choose-office-title {
    font-size: 48px;
    font-weight: 800;
    color: #008D72;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.choose-office-subtitle {
    font-size: 48px;
    font-weight: 800;
    color: #008D72;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.choose-office-lead {
    font-size: 20px;
    color: #444;
    line-height: 1.6;
    margin: 0;
}

.choose-office-tip {
    margin-top: 30px;
}

.choose-office-tip-text {
    font-size: 16px;
}

.choose-office-tip-heading {
    font-size: 28px;
    font-weight: 700;
    color: #008D72;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.choose-office-tip-heading-number {
    font-size: 28px;
    font-weight: 700;
    color: #008D72;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #DEF5F3;
    border-radius: 50%;
    border: 4px solid #008D72;
}

.choose-office-tip-lead {
    margin: 0 0 10px 0 !important;
    font-size: 20px;
    line-height: 1.7;
}

.choose-office-tip-subtitle {
    margin: 12px 0 6px 0;
    font-weight: 700;
    font-size: 20px;
}

.choose-office-tip-note {
    margin: 10px 0 0 0;
    font-size: 20px;
    color: #555;
}

.choose-office-tip-list {
    margin: 0;
    margin-bottom: 10px;
    padding-left: 0;
    list-style: none;
}

.choose-office-tip-list li {
    position: relative;
    padding-left: 30px;
    font-size: 20px;
    line-height: 1.7;
}

.choose-office-tip-list li + li {
    margin-top: 4px;
}

.choose-office-tip-list-good li::before,
.choose-office-tip-list-bad li::before,
.choose-office-tip-list li::before {
    position: absolute;
    left: 0;
    top: 5px;
}

.choose-office-tip-list-good li::before {
    content: url('../images/chooseOfficeTips/checkmark.png') !important;
}

.choose-office-tip-list-bad li::before {
    content: url('../images/chooseOfficeTips/crossmark.png') !important;
}

.choose-office-tip-list li::before {
    content: url('../images/chooseOfficeTips/chevronmark.png');
}

/* Summary block */
.choose-office-summary {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 16px;
    background: white;
}

.choose-office-summary-box {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #FFCEA3;
    color: #FF7800;
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    position: relative;
}

.choose-office-summary-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.choose-office-summary-title {
    font-size: 24px;
    font-weight: 700;
    color: #FF7800;
}

.choose-office-summary-text {
    font-size: 20px;
    line-height: 1.7;
    color: #1c1c1c;
    margin: 0;
}

/* Hide L and M badges */
.choose-office-summary .badge-l,
.choose-office-summary .badge-m,
.choose-office-summary [class*="badge-l"],
.choose-office-summary [class*="badge-m"] {
    display: none !important;
}

/* checkpoints block */
.choose-office-checkpoints-section {
    padding: 60px 0 80px;
    background: #ffffff;
}

.choose-office-checkpoints-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 582px 1fr;
    gap: 40px;
    align-items: flex-start;
    padding: 0 20px;
}

.choose-office-checkpoints-title {
    font-size: 54px;
    font-weight: 800;
    color: #008D72;
    line-height: 1.4;
    margin: 0 0 16px 0;
}

.choose-office-checkpoints-lead {
    font-size: 24px;
    line-height: 1.8;
    color: #1c1c1c;
    margin: 0;
}

.choose-office-checkpoints-right {
    background: #ffffff;
}

.choose-office-checkpoints-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.choose-office-checkpoints-list li {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-radius: 10px;
    padding: 16px;
}

.choose-office-checkpoints-list li:last-child {
    margin-bottom: 0;
    padding: 0;
}

.checkpoint-item-light {
    background: #DEF5F3;
}

.checkpoint-item-white {
    background: #F5F5F5;
}

.checkpoint-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.checkpoint-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #DEF5F3;
    color: #008D72;
    border: 4px solid #008D72;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    flex-shrink: 0;
}

.checkpoint-title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: black;
    line-height: 1.4;
}

.checkpoint-text {
    margin: 0;
    font-size: 20px;
    color: #404040;
    line-height: 1.6;
}

.choose-office-checkpoints-section .badge-l,
.choose-office-checkpoints-section .badge-m,
.choose-office-checkpoints-section [class*="badge-l"],
.choose-office-checkpoints-section [class*="badge-m"] {
    display: none !important;
}

.preparation-tips-hero-text {
    padding: 20px;
    border: 1px solid #DCDCDC;
    border-radius: 8px;
}

.preparation-tips-hero-text-white {
    background: white;
    padding: 20px;
    border-radius: 8px;
}

.preparation-tips-hero {
    grid-template-columns: 1fr 720px;
    padding: 0px;
    background: transparent;
    margin-top: 0;
    align-items: stretch;
}

.preparation-tips-hero .choose-office-hero-image img {
    height: -webkit-fill-available;
    border-radius: 8px;
}

.preparation-tips-section {
    padding: 40px 0px;
}

.preparation-tips-summary-hero {
    background: white;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #DCDCDC;
}

.preparation-tips-summary-hero .preparation-tips-hero-text-white {
    padding: 0;
}

.preparation-tips-summary {
    border: 1px solid #DCDCDC;
    border-radius: 12px;
    padding: 10px;
}

.summary-title {
    font-size: 28px;
    font-weight: 700;
    color: #008D72;
    margin: 0 0 10px 0;
}

.cost-saving-tips-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
}

.cost-saving-tips-hero-text {
    background: #F9F9F9;
}

/* Cost saving fee comparison table */
.cost-saving-fee-table {
    margin-top: 20px;
    border: 1px solid #00C8B4;
    padding: 10px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: white;
}

.cost-saving-fee-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.cost-saving-fee-row:last-child {
    border-bottom: none;
}

.cost-saving-fee-cell {
    padding: 12px 0px;
    font-size: 18px;
    line-height: 1.6;
    color: #1c1c1c;
    text-align: center;
    background: #EFFFFE;
}

.cost-saving-fee-cell:last-child {
    border-right: none;
}

.cost-saving-fee-header .cost-saving-fee-cell {
    font-weight: 700;
    font-size: 20px;
    color: #009E83;
    background: #ACE7DF;
}

/* Cost saving conclusion block */
.cost-saving-conclusion {
    border-radius: 8px;
}

.cost-saving-conclusion-title {
    font-size: 24px;
    font-weight: 700;
    color: #008D72;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.cost-saving-conclusion-statement {
    font-size: 20px;
    font-weight: 700;
    color: #008D72;
    margin: 0 0 15px 0;
    line-height: 1.6;
}

.cost-saving-conclusion-intro {
    font-size: 18px;
    color: #1c1c1c;
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.cost-saving-conclusion-list-box {
    background: #ffffff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.cost-saving-conclusion-list {
    margin: 0;
    padding-left: 0;
    counter-reset: conclusion-counter;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cost-saving-conclusion-item {
    counter-increment: conclusion-counter;
    position: relative;
    padding-left: 35px;
    font-size: 20px;
    font-weight: 700;
    color: #008D72;
    line-height: 1.8;
}

.cost-saving-conclusion-item::before {
    content: counter(conclusion-counter);
    position: absolute;
    left: 0;
    top: 7px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #00AC91;
    font-size: 20px;
    font-weight: 700;
    color: #00AC91;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cost-saving-conclusion-note {
    font-size: 18px;
    color: #1c1c1c;
    margin: 0;
    line-height: 1.6;
}

.review-lead {
    padding: 10px;
    background: #FF8D28;
    color: #ffffff !important;
    font-weight: 700;
    width: fit-content;
}

/* Review criteria box */
.review-criteria-box {
    display: flex;
    gap: 0;
    background: white;
    border-radius: 12px;
    padding: 25px 16px;
    margin-top: 20px;
    border: 1px solid #E1E5EA;
}

.review-criteria-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: center;
    padding: 0 15px;
    position: relative;
    gap: 16px;
}

.review-criteria-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #E0E0E0;
}

.review-criteria-number {
    width: 56px;
    height: 56px;
    background: #DEF5F3;
    color: #008D72;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 33px;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
}

.review-criteria-number::after {
    content: '';
    position: absolute;
    right: 10px;
    bottom: 13px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #008D72;
}

.review-criteria-title {
    margin: 0;
    font-size: 18px;
    color: #2A303A;
    font-weight: normal;
    line-height: 1.4;
    text-align: left;
}

/* Review cards */
.review-cards-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.review-card {
    background: #F5F5F5;
    border-radius: 12px;
    padding: 20px;
    position: relative;
}

.review-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.review-card-rank-badge {
    background: #FF8C42;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 20px;
    font-weight: 700;
    white-space: nowrap;
}

.review-card-title {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    color: #1c1c1c;
    line-height: 1.4;
    flex: 1;
}

.review-card-title-ai {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: url('../images/review/doubleStar.png') center center no-repeat;
    background-size: contain;
}

.review-card-quote-box {
    background: #ffffff;
    border-radius: 8px;
    padding: 16px;
    padding-top: 25px;
    position: relative;
}

.review-card-quote-icon {
    height: 32px;
    object-fit: contain;
}

.review-card-quote-text {
    margin: 16px 0px;
    font-size: 20px;
    line-height: 1.6;
    color: #1c1c1c;
}

.review-card-user {
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-card-user-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.review-card-user-name {
    font-size: 24px;
    font-weight: bold;
    color: #1C1C1C;
}

/* company section */

.company-section {
    padding: 0px 0px 30px;
    padding-bottom: 60px;
    background: #ffffff;
}

.company-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.company-info-table {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    gap: 10px;
}

.company-info-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    min-height: 50px;
    gap: 10px;
}

.company-info-label {
    background: #ACE7DF;
    color: #008D72;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    border-right: 1px solid #ACE7DF;
}

.company-info-value {
    background: #EFFFFE;
    color: #1c1c1c;
    padding: 12px 16px;
    font-size: 16px;
    line-height: 1.6;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Policy section */
.policy-section {
    padding: 0px 0px 30px;
    background: #ffffff;
}

.policy-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.policy-title {
    font-size: 40px;
    font-weight: 700;
    color: #008D72;
    margin: 0 0 30px 0;
    line-height: 1.4;
}

.policy-intro {
    margin-bottom: 40px;
}

.policy-intro p {
    font-size: 20px;
    line-height: 1.8;
    color: #1c1c1c;
    margin: 0;
}

.policy-section-block {
    background: #F5F5F5;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 30px;
}

.policy-section-title {
    font-size: 32px;
    font-weight: 700;
    color: #00C8B4;
    margin: 0 0 20px 0;
    line-height: 1.4;
}

.policy-list {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.policy-list li {
    position: relative;
    padding-left: 24px;
    font-size: 20px;
    line-height: 1.8;
    color: #1c1c1c;
    margin-bottom: 12px;
}

.policy-list li:last-child {
    margin-bottom: 0;
}

.policy-list li::before {
    content: '›';
    position: absolute;
    left: 0;
    top: -12px;
    color: #00C8B4;
    font-weight: 700;
    font-size: 31px;
    line-height: 1.8;
}

.policy-sublist {
    margin: 12px 0 12px 20px;
    padding-left: 0;
    list-style: none;
}

.policy-sublist li {
    position: relative;
    padding-left: 20px;
    font-size: 20px;
    line-height: 1.8;
    color: #1c1c1c;
    margin-bottom: 8px;
}

.policy-sublist li:last-child {
    margin-bottom: 0;
}

/* Topics Section - 3 Cards Layout */
.topics-section {
    padding: 60px 0;
    background-color: #fff;
}

.topics-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    grid-template-areas:
        "card1 card2"
        "card3 .";
}

.topics-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.topics-card:nth-child(1) {
    grid-area: card1;
}

.topics-card:nth-child(2) {
    grid-area: card2;
}

.topics-card:nth-child(3) {
    grid-area: card3;
}

.topics-card-title {
    font-size: 32px;
    font-weight: 700;
    color: #1c1c1c;
    margin: 0 0 20px 0;
}

.topics-card-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.topics-card-item {
    background-color: #DEF5F3;
    border-radius: 8px;
    padding: 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease;
}

.topics-card-item:hover {
    background-color: #D0EBE8;
}

.topics-card-item-date {
    font-size: 16px;
    color: #666;
    margin-bottom: 8px;
}

.topics-card-item-title {
    font-size: 20px;
    color: #1c1c1c;
    line-height: 1.5;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
}

.topics-card-more {
    margin-top: 20px;
    text-align: right;
}

.topics-card-more-link {
    color: #008D72;
    font-size: 24px;
    font-weight: 700;
    transition: color 0.3s ease;
}

.topics-card-more-link:hover {
    color: #00A896;
}

@media (max-width: 768px) {
    .topics-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "card1"
            "card2"
            "card3";
    }
    
    .topics-card {
        padding: 20px;
    }
    
    .topics-card-title {
        font-size: 20px;
    }
}

/* Topics Type Section - Grid Layout */
.topics-type-section {
    padding: 60px 0;
    background-color: #fff;
}

.topics-type-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.topics-type-title {
    font-size: 32px;
    font-weight: 700;
    color: #1c1c1c;
    margin-bottom: 40px;
    text-align: center;
}

.topics-type-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.topics-type-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.topics-type-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.topics-type-card-title {
    font-size: 24px;
    font-weight: 700;
    color: #008D72;
    margin: 0 0 12px 0;
    line-height: 1.4;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
}

.topics-type-card-date {
    font-size: 12px;
    color: #828282;
    margin-bottom: 12px;
}

.topics-type-card-description {
    font-size: 16px;
    color: #1c1c1c;
    line-height: 1.6;
    margin: 0 0 16px 0;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
}

.topics-type-card-source {
    margin-top: auto;
    padding: 10px;
    border-radius: 8px;
    background: #DEF5F3;
}

.topics-type-card-source-text {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    margin: 0 0 8px 0;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
}

.topics-type-card-isbn {
    font-size: 12px;
    color: #666;
    margin: 0;
}

/* Pagination */
.topics-type-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
}

.topics-type-pagination-btn {
    padding: 10px 20px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    color: #1c1c1c;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.topics-type-pagination-btn:hover:not(.topics-type-pagination-disabled) {
    background-color: #00C8B4;
    color: #fff;
    border-color: #00C8B4;
}

.topics-type-pagination-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.topics-type-pagination-numbers {
    display: flex;
    gap: 8px;
    align-items: center;
}

.topics-type-pagination-number {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    color: #1c1c1c;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.topics-type-pagination-number:hover {
    background-color: #009E83;
    color: #fff;
    border-color: #009E83;
}

.topics-type-pagination-active {
    background-color: #009E83;
    color: #fff;
    border-color: #009E83;
    font-weight: 700;
}

.topics-type-pagination-ellipsis {
    padding: 0 8px;
    color: #666;
}

@media (max-width: 1024px) {
    .topics-type-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .topics-type-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .topics-type-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .topics-type-card {
        padding: 16px;
    }
    
    .topics-type-card-title {
        font-size: 18px;
    }
    
    .topics-type-pagination {
        flex-wrap: wrap;
    }
    
    .topics-type-pagination-numbers {
        flex-wrap: wrap;
    }
}

/* Topic Detail Section */
.topic-detail-section {
    padding: 60px 0;
    background-color: #fff;
}

.topic-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.topic-detail-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

.topic-detail-main {
    min-width: 0;
}

.topic-detail-title {
    font-size: 48px;
    font-weight: 700;
    color: #008D72;
    margin: 0 0 20px 0;
    line-height: 1.4;
}

.topic-detail-date {
    font-size: 24px;
    text-align: right;
    color: #4D4D4D;
    margin-bottom: 20px;
}

.topic-detail-source {
    margin-bottom: 30px;
    padding: 16px;
    background-color: #DEF5F3;
    border-radius: 8px;
}

.topic-detail-source-text {
    font-size: 18px;
    color: #000000;
    line-height: 1.6;
    margin: 0 0 8px 0;
}

.topic-detail-source-isbn {
    font-size: 18px;
    color: #000000;
    margin: 0;
}

.topic-detail-content {
    font-size: 20px;
    color: #1c1c1c;
    line-height: 1.8;
    margin-bottom: 40px;
}

.topic-detail-content h2,
.topic-detail-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #008D72;
    margin: 30px 0 20px 0;
}

.topic-detail-content h3 {
    font-size: 20px;
}

.topic-detail-content p {
    margin-bottom: 16px;
}

.topic-detail-content ol,
.topic-detail-content ul {
    margin: 20px 0;
    padding-left: 30px;
}

.topic-detail-content li {
    margin-bottom: 12px;
    line-height: 1.8;
}

.topic-detail-content strong {
    font-weight: 700;
}

/* Sidebar */
.topic-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #FAFAFA;
    padding: 16px;
}

.topic-detail-related-card {
    background-color: #FFFFFF;
    border-radius: 8px;
    padding: 16px;
    text-decoration: none;
    display: block;
}


.topic-detail-related-title {
    font-size: 18px;
    font-weight: 700;
    color: #008D72;
    margin: 0 0 12px 0;
    line-height: 1.4;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
}

.topic-detail-related-date {
    font-size: 12px;
    color: #828282;
    margin-bottom: 12px;
}

.topic-detail-related-description {
    font-size: 14px;
    color: #1c1c1c;
    line-height: 1.6;
    margin: 0 0 16px 0;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
}

.topic-detail-related-source {
    padding: 10px;
    border-radius: 8px;
    background: #DEF5F3;
}

.topic-detail-related-source-text {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    margin: 0 0 8px 0;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
}

.topic-detail-related-isbn {
    font-size: 12px;
    color: #666;
    margin: 0;
}

@media (max-width: 1024px) {
    .topic-detail-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .topic-detail-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .topic-detail-title {
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .topic-detail-content h2 {
        font-size: 20px;
    }
    
    .topic-detail-content h3 {
        font-size: 18px;
    }
    
    .topic-detail-sidebar {
        gap: 16px;
        padding: 0px;
        display: none;
    }
    
    .topic-detail-related-card {
        padding: 16px;
    }
}

.policy-sublist li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: -12px;
    color: black;
    font-weight: 700;
    font-size: 31px;
    line-height: 1.8;
}

/* Contact form section */
.contact-section {
    padding: 60px 0;
    background: #ffffff;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    align-items: flex-start;
}

.contact-left {
    display: flex;
    flex-direction: column;
}

.contact-right {
    flex: 1;
}

.contact-title {
    font-size: 40px;
    font-weight: 700;
    color: #1c1c1c;
    margin: 0 0 30px 0;
    line-height: 1.4;
}

.contact-intro {
    margin-bottom: 0;
}

.contact-intro p {
    font-size: 16px;
    line-height: 1.8;
    color: #1c1c1c;
    margin: 0;
}

.contact-link-ranking {
    color: #00C8B4;
    text-decoration: none;
    font-weight: 500;
}

.contact-link-ranking:hover {
    text-decoration: underline;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-label {
    font-size: 16px;
    font-weight: 500;
    color: #1c1c1c;
}

.contact-required {
    color: #d7172a;
    font-size: 14px;
}

.contact-input,
.contact-textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid #E0E0E0;
    border-radius: 6px;
    background: #F5F5F5;
    color: #1c1c1c;
    font-family: inherit;
    box-sizing: border-box;
}

.contact-input:focus,
.contact-textarea:focus {
    outline: none;
    border-color: #00C8B4;
    background: #ffffff;
}

.contact-textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-radio-group {
    display: flex;
    gap: 24px;
    margin-bottom: 12px;
}

.contact-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.contact-radio {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #00C8B4;
}

.contact-radio-text {
    font-size: 16px;
    color: #1c1c1c;
}

.contact-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.contact-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #00C8B4;
}

.contact-checkbox-text {
    font-size: 16px;
    color: #1c1c1c;
}

.contact-form-submit {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.contact-submit-btn {
    background: #008D72;
    color: #ffffff;
    border: none;
    padding: 12px 40px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-submit-btn:hover {
    background: #007c66;
}

.g-recaptcha {
    margin: 20px 0;
}

/* Hyperlinks Section */
.hyperlinks-section {
    padding: 60px 0;
    background-color: #FAFAFA;
}

.hyperlinks-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hyperlinks-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 40px;
    align-items: start;
}

.hyperlinks-main {
    min-width: 0;
    background: white;
    border-radius: 8px;
    padding: 24px;
}

.hyperlinks-type-section {
    margin-bottom: 60px;
}

.hyperlinks-type-section:last-child {
    margin-bottom: 0;
}

.hyperlinks-type-title {
    font-size: 32px;
    font-weight: 700;
    color: #008D72;
    margin: 0 0 30px 0;
    line-height: 1.4;
}

.hyperlinks-content-block {
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 20px;
    position: relative;
}

.hyperlinks-content-block:last-child {
    margin-bottom: 0;
}

.hyperlinks-block-heading {
    font-size: 28px;
    font-weight: 700;
    color: #1c1c1c;
    margin: 0 0 16px 0;
    line-height: 1.4;
}

.hyperlinks-block-description {
    font-size: 16px;
    color: #1c1c1c;
    line-height: 1.8;
    margin: 0 0 20px 0;
    line-height: 1.8;
}

.hyperlinks-block-action {
    text-align: right;
}

.hyperlinks-more-btn {
    display: inline-block;
    background-color: #008D72;
    color: #fff;
    padding: 10px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.hyperlinks-more-btn:hover {
    background-color: #007c66;
}

/* Sidebar */
.hyperlinks-sidebar {
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 24px;
    position: sticky;
    top: 20px;
}

.hyperlinks-sidebar-title {
    font-size: 32px;
    font-weight: 700;
    color: #1c1c1c;
    margin: 0 0 20px 0;
}

.hyperlinks-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hyperlinks-sidebar-item {
    margin-bottom: 12px;
}

.hyperlinks-sidebar-item:last-child {
    margin-bottom: 0;
}

.hyperlinks-sidebar-link {
    display: block;
    padding-left: 24px;
    position: relative;
    color: #1c1c1c;
    text-decoration: none;
    font-size: 20px;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.hyperlinks-sidebar-link::before {
    content: '•';
    position: absolute;
    left: 0;
    font-size: 32px;
    line-height: 1.6;
    top: -10px;
}

.hyperlinks-sidebar-link.active {
    color: #008D72;
    font-weight: 700;
}

.hyperlinks-sidebar-link.active::before {
    color: #008D72;
}

.hyperlinks-sidebar-link:hover {
    color: #008D72;
}

@media (max-width: 1024px) {
    .hyperlinks-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hyperlinks-sidebar {
        position: static;
        order: -1;
    }
}

@media (max-width: 768px) {
    .hyperlinks-type-title {
        font-size: 24px;
    }
    
    .hyperlinks-content-block {
        padding: 20px;
    }
    
    .hyperlinks-block-heading {
        font-size: 18px;
    }
    
    .hyperlinks-block-description {
        font-size: 14px;
    }
}

/* Hyperlinks Detail Section */
.hyperlinks-detail-section {
    padding: 60px 0;
    background-color: #f5f5f5;
}

.hyperlinks-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hyperlinks-detail-title {
    font-size: 32px;
    font-weight: 700;
    color: #1c1c1c;
    margin: 0 0 20px 0;
    text-align: left;
    line-height: 1.4;
}

.hyperlinks-detail-description {
    margin-bottom: 40px;
    text-align: left;
}

.hyperlinks-detail-description p {
    font-size: 16px;
    color: #515151;
    line-height: 1.8;
    margin: 0;
    line-height: 1.8;
}

.hyperlinks-detail-section-block {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
}

.hyperlinks-detail-section-block:last-child {
    margin-bottom: 0;
}

.hyperlinks-detail-section-title {
    font-size: 24px;
    font-weight: 700;
    color: #1c1c1c;
    margin: 0 0 24px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hyperlinks-detail-section-bar {
    width: 4px;
    height: 24px;
    background-color: #008D72;
    border-radius: 2px;
    display: inline-block;
}

.hyperlinks-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

.hyperlinks-detail-grid-item {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 12px 16px;
    text-align: center;
    text-decoration: none;
    color: #1c1c1c;
    font-size: 14px;
    transition: all 0.3s ease;
    display: block;
}

.hyperlinks-detail-grid-item:hover {
    background-color: #008D72;
    color: #fff;
    border-color: #008D72;
}

.hyperlinks-detail-train-section {
    margin-bottom: 30px;
}

.hyperlinks-detail-train-section:last-child {
    margin-bottom: 0;
}

.hyperlinks-detail-train-title {
    font-size: 18px;
    font-weight: 700;
    color: #1c1c1c;
    margin: 0 0 16px 0;
}

.hyperlinks-detail-train-title.active {
    color: #008D72;
}

@media (max-width: 768px) {
    .hyperlinks-detail-title {
        font-size: 24px;
    }
    
    .hyperlinks-detail-section-block {
        padding: 20px;
    }
    
    .hyperlinks-detail-section-title {
        font-size: 20px;
    }
    
    .hyperlinks-detail-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }
    
    .hyperlinks-detail-grid-item {
        padding: 10px 12px;
        font-size: 12px;
    }
}


/* Contact Bar at Bottom */
.header-contact-bar {
    background: url('../images/footerFixBg.png') no-repeat center center;
    background-size: cover;
    padding: 0px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 10;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
}

.header-contact-bar.fixed {
    width: -webkit-fill-available;
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.contact-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-bar-left {
    display: flex;
    align-items: center;
    gap: 10px;
    color:#000000;
}

.clock-icon {
    font-size: 20px;
}

.contact-text {
    font-size: 20px;
    line-height: 1.5;
    font-weight: 700;
    color: #000000;
}

.contact-bar-right {
    display: flex;
    align-items: center;
}

.btn-ranking-again {
    display: inline-block;
    background: #00C8B4;
    color: white;
    padding: 10px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
    transition: background 0.3s;
}

.btn-ranking-again:hover {
    background: #357abd;
}

.contact-success-title {
    font-size: 32px;
    font-weight: 700;
    color: #008D72;
    margin: 0 0 20px 0;
    text-align: center;
    line-height: 1.4;
}

/* Toast Messages */
#toast-container {
    position: fixed;
    bottom: 16px;
    right: 20px;
    z-index: 10000;
    max-width: 490px;
    transition: bottom 0.3s ease;
}

.toast-message-inner {
    display: flex;
    gap: 10px;
}

.toast-message.rank-1 .toast-highlighted {
    color: #F067A3;
}

.toast-message.rank-2 .toast-highlighted {
    color: #EC008C;
}

.toast-message.rank-3 .toast-highlighted {
    color: #00AEEF
}

.toast-message.rank-4 .toast-highlighted {
    color: #FDC202;
}

.toast-message.rank-5 .toast-highlighted {
    color: #F067A3;
}

.toast-message.rank-6 .toast-highlighted {
    color: transparent;
    background: linear-gradient(to right, #EE5770, #FF7840);
    background-clip: text;
}

.toast-message.rank-7 .toast-highlighted {
    color: transparent;
    background: linear-gradient(to right, #6BE3FF, #EB8B1D);
    background-clip: text;
}

.toast-highlighted {
    font-weight: bold;
}

.toast-message {
    background: #F5F5F5;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    transform: translateX(100%);
    transition: all 0.3s ease;
    position: relative;
}

.toast-message.toast-show {
    opacity: 1;
    transform: translateX(0);
}

.toast-message.toast-hide {
    opacity: 0;
    transform: translateX(100%);
}

.toast-medal {
    flex-shrink: 0;
}

.toast-medal-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 48px;
}

.toast-medal-icon img {
    width: 100%;
    object-fit: cover;
}

.toast-content {
    flex: 1;
    min-width: 0;
}

.toast-message-text {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
    color: #333;
}

.toast-action {
    flex-shrink: 0;
    margin-top: 0;
}

.toast-action i {
    color: #096DD9;
    font-size: 16px;
    margin-right: 5px;
}

.toast-call-link {
    display: inline-block;
    color: #096DD9;
    text-decoration: underline;
    font-size: 16px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.toast-call-link:hover {
    color: #096DD9;
    text-decoration: underline;
}

/* =============================== Lawyer Popup =============================== */
.lawyer-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lawyer-popup--active {
    opacity: 1;
    visibility: visible;
}

.lawyer-popup__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.lawyer-popup__container {
    position: relative;
    background-color: #FFFFFF;
    border: 1.354px solid #D9DBE9;
    border-radius: 12px;
    box-shadow: 0px 19px 57px rgba(8, 15, 52, 0.06);
    padding: 32px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lawyer-popup--active .lawyer-popup__container {
    transform: scale(1);
}

.lawyer-popup__content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* Popup Card (Left Side) */
.lawyer-popup__card {
    flex-shrink: 0;
    width: 200px;
    background-color: #FFFFFF;
    border: 1px solid #B8BFCA;
    border-radius: 12px;
    overflow: hidden;
}

.lawyer-popup__card-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #F5F7FA;
    overflow: hidden;
}

.lawyer-popup__card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lawyer-popup__card-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.lawyer-popup__card-type {
    font-family: var(--font-inter), var(--font-noto-sans);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    color: #64738B;
}

.lawyer-popup__card-name {
    font-family: var(--font-noto-sans);
    font-weight: 700;
    font-size: 24px;
    line-height: 1.5;
    color: #2A303A;
    margin: 0;
    text-align: center;
}

/* Popup Details (Right Side) */
.lawyer-popup__details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

.lawyer-popup__intro {
    font-family: var(--font-noto-sans);
    font-size: 24px;
    line-height: 1.5;
    color: #2A303A;
}

.lawyer-popup__intro .profile,
.lawyer-popup__intro p {
    margin: 0;
}

.lawyer-popup__intro ul {
    margin: 0;
    padding-left: 24px;
}

.lawyer-popup__intro li {
    font-weight: 400;
}

.lawyer-popup__description {
    padding-top: 24px;
    border-top: 1px solid #E1E5EA;
}

.lawyer-popup__description,
.lawyer-popup__description .row,
.lawyer-popup__description .l-txt,
.lawyer-popup__description p {
    font-family: var(--font-noto-sans);
    font-weight: 500;
    font-size: 24px;
    line-height: 1.5;
    color: #2A303A;
    margin: 0;
}

/* Close Button */
.lawyer-popup__close {
    position: absolute;
    top: 32px;
    right: 32px;
    width: 24px;
    height: 24px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.lawyer-popup__close:hover {
    opacity: 0.7;
}

.lawyer-popup__close svg {
    width: 24px;
    height: 24px;
}

/* Popup Responsive */
@media screen and (max-width: 768px) {
    .lawyer-popup__container {
        padding: 24px;
        width: 95%;
        max-height: 85vh;
    }

    .lawyer-popup__content {
        flex-direction: column;
        gap: 24px;
    }

    .lawyer-popup__card {
        width: 160px;
        align-self: center;
    }

    .lawyer-popup__card-type {
        font-size: 14px;
    }

    .lawyer-popup__card-name {
        font-size: 18px;
    }

    .lawyer-popup__intro,
    .lawyer-popup__description,
    .lawyer-popup__description .row,
    .lawyer-popup__description .l-txt,
    .lawyer-popup__description p {
        font-size: 16px;
    }

    .lawyer-popup__close {
        top: 16px;
        right: 16px;
    }
}

@media screen and (max-width: 480px) {
    .lawyer-popup__container {
        padding: 16px;
        padding-top: 48px;
    }

    .lawyer-popup__card {
        width: 140px;
    }

    .lawyer-popup__card-type {
        font-size: 12px;
    }

    .lawyer-popup__card-name {
        font-size: 16px;
    }

    .lawyer-popup__intro,
    .lawyer-popup__description,
    .lawyer-popup__description .row,
    .lawyer-popup__description .l-txt,
    .lawyer-popup__description p {
        font-size: 14px;
    }

    .lawyer-popup__details {
        gap: 16px;
    }

    .lawyer-popup__description {
        padding-top: 16px;
    }
}