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

.text-right{
    text-align: -webkit-right;
}
/* Header Banner */
.top-header {
    width: 100%;
    position: relative;
    background-size: cover;
    padding: 0px !important;
}

/* Dark overlay to improve text contrast over the banner */
.top-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.header-banner {
    position: relative;
    width: 100%;
    min-height: 787px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

/* Top Left: Logo and Service Info */
.header-top-left {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 3;
}

.header-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.header-logo {
    height: 120px;
    width: auto;
    object-fit: contain;
}

.header-service-info {
    display: flex;
    flex-direction: column;
    color: #FFFFFF;
}

.header-service-name {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    color: #FFFFFF;
}

.header-service-tagline {
    font-size: 32px;
    margin: 5px 0 0 0;
    line-height: 1.2;
    font-weight: 700;
    color: #FFFFFF;
}

.header-service-location {
    font-size: 32px;
    margin: 3px 0 0 0;
    line-height: 1.2;
    font-weight: 700;
    color: #FFFFFF;
}

/* Center: Main Headlines */
.header-center-content {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 3;
    width: 90%;
}

.header-main-headline {
    font-size: 64px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 20px 0;
    line-height: 1.4;
}

.header-sub-headline {
    font-size: 40px;
    color: #FFFFFF;
    margin: 0;
    line-height: 1.5;
}

/* Bottom Right: Achievement Badge */
.header-achievement-badge {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 188px;
    height: 188px;
    border-radius: 50%;
    background: transparent;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.header-achievement-badge::before {
    content: "";
    position: absolute;
    top: -12px;
    left: -11px;
    width: 110%;
    height: 110%;
    border-radius: 50%;
    border: 2px solid white;
    z-index: 3;
}

.achievement-label {
    font-size: 14px;
    color: white;
    margin: 0 0 10px 0;
    text-align: center;
}

.achievement-number {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin: 0;
    line-height: 1;
    text-align: center;
}

.achievement-suffix {
    font-size: 14px;
    color: white;
    margin: 10px 0 0 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-banner {
        min-height: 440px;
    }

    .header-top-left {
        top: 20px;
        left: 20px;
    }

    .header-logo {
        height: 40px;
    }

    .header-service-name {
        font-size: 16px;
    }

    .header-service-tagline {
        font-size: 16px;
        margin: 0px;
    }

    .header-service-location {
        font-size: 16px;
    }

    .header-main-headline {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .header-sub-headline {
        font-size: 16px;
    }

    .header-achievement-badge {
        top: 80%;
    }

    .header-center-content{
        top: 45%;
    }

    .achievement-label {
        font-size: 12px;
        margin: 0px;
    }

    .achievement-number {
        font-size: 28px;
    }

    .achievement-suffix {
        font-size: 12px;
        margin: 0px;
    }

    .page-banner-title {
        font-size: 32px;
    }

    .feature-button {
        font-size: 16px;
        padding: 10px 20px;
    }

    .page-banner-disclaimer {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .header-logo-wrapper {
        gap: 10px;
    }

    .header-logo {
        height: 35px;
    }

    .header-service-name {
        font-size: 18px;
    }

    .header-main-headline {
        font-size: 32px;
    }

    .header-sub-headline {
        font-size: 16px;
    }

    .header-achievement-badge {
        width: 95px;
        height: 95px;
    }

    .header-achievement-badge::before{
        top: -8px;
        left: -6px;
        width: 109%;
        height: 109%;
    }

    .achievement-number {
        font-size: 24px;
    }

    .page-banner-title {
        font-size: 24px;
    }

    .page-banner-features {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .feature-button {
        font-size: 14px;
        padding: 10px 18px;
        width: 100%;
        max-width: 300px;
    }

    .page-banner-disclaimer {
        font-size: 11px;
        text-align: center;
        padding-right: 0;
    }
}

/* Page Banner Content */
.page-banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 3;
    width: 90%;
    max-width: 1200px;
}

.page-banner-title {
    font-size: 52px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 30px 0;
    line-height: 1.4;
    text-align: left;
}

.highlight-yellow {
    color: #FFD700;
    font-weight: 700;
}

.page-banner-features {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.feature-button {
    background: #FFFFFF;
    color: #333;
    font-size: 24px;
    font-weight: 600;
    padding: 12px;
    border-radius: 8px;
    white-space: nowrap;
}

.page-banner-disclaimer {
    text-align: right;
    color: #FFFFFF;
    font-size: 22px;
    margin: 0;
    padding-right: 20px;
}

/* breacum */
.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;
}

.contact-section-breadcrumb {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    align-items: center;
}

/* =============================== select-lawyers section =============================== */
.select-lawyers-section {
    background: #FFF5E6;
    padding: 60px 20px;
}

.select-lawyers-container {
    max-width: 1100px;
    margin: 0 auto;
}

.select-lawyers-title {
    font-size: 48px;
    font-weight: 700;
    color: #FF6B35;
    text-align: center;
    margin: 0 0 40px 0;
}

/* Selection Cards */
.selection-cards-wrapper {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    margin-bottom: 30px;
}

.selection-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 40px 30px;
    flex: 1;
    min-width: 450px;
    max-width: 470px;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.selection-card:hover {
    transform: translateY(-5px);
}

.selection-card.active {
    border: 2px solid #FF6B35;
}

.card-icon-wrapper {
    flex-shrink: 0;
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon-brown {
    background: #8B4513;
}

.card-icon-green {
    background: #4CAF50;
}

.card-content {
    flex: 1;
}

.card-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0 0 10px 0;
}

.card-subtitle {
    font-size: 20px;
    color: #666;
    margin: 5px 0;
}

.card-checkbox {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
}

/* Feature Tags */
.feature-tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
    margin-bottom: 40px;
}

.feature-tag {
    padding: 10px 16px;
    border-radius: 40px;
    font-size: 18px;
    font-weight: 500;
    background: white;
    color:black;
    white-space: nowrap;
    line-height: normal;
    cursor: pointer;
}

.feature-tag-active {
    background: #E87B37;
    color: white;
}

/* Search Button */
.search-button-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

.search-lawyer-button {
    background: #DC143C;
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    padding: 18px 40px;
    font-size: 32px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.search-lawyer-button:hover {
    background: #B8122F;
    transform: translateY(-2px);
}

.search-icon {
    width: 32px;
    height: 32px;
}

/* Circular Features */
.circular-features-wrapper {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.circular-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 212px;
    height: 212px;
    border-radius: 50%;
    border: 3px solid #FFB366;
    background: #fffaf2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.circular-feature-icon {
    width: 54px;
    height: 54px;
}

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

.circular-feature-text {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    text-align: center;
    line-height: 1.5;
    margin: 0;
}

/* Disclaimer Bar */
.disclaimer-bar {
    background: white;
    border: 2px solid #DB6633;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    max-width: 1100px;
    margin: 0 auto;
}

.disclaimer-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
}

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

.disclaimer-link {
    color: #FF6B35;
    text-decoration: underline;
    font-weight: 600;
}

.disclaimer-link:hover {
    color: #DC143C;
}

.disclaimer-link-text {
    color: #FF6B35;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .select-lawyers-section {
        padding: 30px 10px;
    }

    .select-lawyers-title {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .selection-cards-wrapper {
        gap: 5px;
        margin-bottom: 10px;
    }

    .selection-card {
        min-width: unset;
        max-width: unset;
        padding: 15px 5px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
    }

    .card-title {
        font-size: 16px;
        margin: 0;
    }

    .card-content {
        flex: unset;
    }

    .card-subtitle {
        font-size: 14px;
        margin: 0;
    }

    .feature-tags-wrapper {
        gap: 8px;
    }

    .feature-tag {
        font-size: 12px;
        padding: 10px 15px;
        margin: 0;
    }

    .search-button-wrapper, .feature-tags-wrapper{
        margin-bottom: 20px;
    }

    .circular-feature {
        height: 75px;
        width: 75px;
        gap: 5px;
    }

    .circular-feature-icon {
        width: 30px;
        height: 30px;
    }

    .search-lawyer-button {
        padding: 15px 30px;
        font-size: 18px;
    }

    .circular-features-wrapper {
        gap: 10px;
    }

    .circular-feature-text {
        font-size: 10px;
    }

    .disclaimer-bar {
        padding: 15px;
    }

    .disclaimer-text{
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .select-lawyers-title {
        font-size: 24px;
    }

    .selection-card {
        text-align: center;
    }

    .card-icon {
        width: 50px;
        height: 50px;
    }
}

/* =============================== lawyers-list section =============================== */
.lawyers-list-section {
    background: white;
    padding: 60px 20px;
}

.lawyers-list-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Header Section */
.lawyers-list-header {
    text-align: center;
    margin-bottom: 50px;
}

.lawyers-list-title {
    font-size: 48px;
    font-weight: 700;
    color: #FF6B35;
    margin: 0 0 20px 0;
    line-height: 1.4;
}

.lawyers-list-subtitle {
    font-size: 20px;
    color: #333;
    margin: 0 0 30px 0;
    line-height: 1.6;
}

.lawyers-list-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0px;
    margin: 0 auto;
    max-width: 175px;
}

.divider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #FF6B35;
    flex-shrink: 0;
}

.divider-line {
    flex: 1;
    height: 2px;
    background: #FF6B35;
}

/* Lawyer Card */
.lawyer-card {
    background: white;
    border: 2px solid #FFE5CC;
    border-radius: 16px;
    padding: 20px;
    position: relative;
    margin-bottom: 30px;
}

.lawyer-favorite-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.lawyer-favorite-btn:hover {
    transform: scale(1.1);
}

.lawyer-card-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* Profile Image */
.lawyer-profile-image {
    flex-shrink: 0;
}

.profile-image-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #F5F5F5;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #FFE5CC;
    overflow: hidden;
}

.profile-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Lawyer Info */
.lawyer-info {
    flex: 1;
}

.lawyer-name {
    font-size: 28px;
    font-weight: 700;
    color: #FF6B35;
    margin: 0 0 20px 0;
    line-height: normal;
    max-width: 540px;
}

.lawyer-detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.detail-icon {
    flex-shrink: 0;
}

.detail-text {
    font-size: 20px;
    color: #3C3C3C;
}

.lawyer-detail-items {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-bottom: 10px;
}
/* Contact Buttons */
.lawyer-contact-buttons {
    display: flex;
    gap: 15px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.contact-btn {
    padding: 10px;
    border-radius: 8px;
    font-size: 24px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    flex: 1;
}

.contact-btn-blue {
    background: #206EFF;
    color: white;
}

.contact-btn-blue:hover {
    background: #357AE8;
    transform: translateY(-2px);
}

.contact-btn-orange {
    background: #E87B37;
    color: white;
}

.contact-btn-orange:hover {
    background: #E55A2B;
    transform: translateY(-2px);
}

/* Quote Block */
.lawyer-quote-block {
    background: #FEF4E4;
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
    position: relative;
}

.quote-mark {
    line-height: 1;
    position: absolute;
    top: -5px;
    left: 65px;
    font-family: serif;
}

.quote-text {
    font-size: 20px;
    color: #333;
    margin: 0;
    line-height: 1.8;
}

/* Features List */
.lawyer-features-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 25px 0;
    font-size: 20px;
    color: #666;
    border-top: 2px solid #E87B37;
    padding-top: 25px;
}

.feature-item {
    color: #333;
}

.feature-item.active {
    color: #E87B37;
    font-weight: 700;
}

.feature-separator {
    font-size:30px;
    color: #999;
    display: flex;
    font-size: 30px;
    color: #999;
    width: 10px;
    align-items: center;
    justify-content: center;
}

/* LINE Info */
.lawyer-line-info {
    margin: 25px 0;
    font-size: 20px;
    line-height: normal;
}

.line-info-text {
    font-size: 20px;
    color: #3ACD02;
    margin: 0;
    line-height: 1.6;
}

.youtube-info-text {
    font-size: 20px;
    color: #f04438;
    margin: 0;
    line-height: 1.6;
}

.normal-info-text{
    font-size: 20px;
    color: #3C3C3C;
    margin: 0;
    line-height: 1.6;
}

/* View Details Button */
.lawyer-view-details {
    margin-top: 30px;
    text-align: left;
    background: #FEF4E4;
    padding: 15px;
    border-radius: 8px;
}

.view-details-btn {
    color: #E87B37;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.view-details-btn svg {
    transition: transform 0.3s ease;
}

.view-details-btn:hover svg {
    transform: translateX(5px);
}

.mobile-contact-buttons {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .lawyers-list-section {
        padding: 20px 10px;
    }

    .lawyers-list-title {
        font-size: 32px;
    }

    .lawyer-favorite-btn {
        top: 0px;
        right: 0px;
    }
    .lawyers-list-subtitle {
        font-size: 18px;
    }

    .lawyer-card-content {
        gap: 15px;
    }

    .profile-image-placeholder {
        width: 80px;
        height: 80px;
    }

    .lawyer-detail-items {
        flex-direction: column;
        gap: 0px;
        margin-bottom: 0px;
    }

    .lawyer-contact-buttons {
        display: none;
    }

    .mobile-contact-buttons {
        display: flex;
        margin: 10px 0;
    }

    .lawyer-contact-buttons, .mobile-contact-buttons {
        flex-direction: column;
    }

    .contact-btn {
        width: auto;
        justify-content: center;
    }

    .lawyer-quote-block {
        margin: 10px 0;
        padding: 10px;
    }

    .quote-mark {
        left: 30px;
    }

    .quote-text {
        padding-left: 0px;
        font-size: 16px;
    }

    .lawyer-features-list {
        font-size: 14px;
        justify-content: flex-start;
    }
    
    .lawyer-line-info {
        font-size: 16px;
    }

    .lawyers-search-container {
        flex-direction: column;
        gap: 20px;
    }

    .filter-sidebar {
        width: 100%;
    }

    .results-count {
        font-size: 18px;
    }

    .results-count .highlight-orange {
        font-size: 22px;
    }

    .pagination {
        gap: 10px;
        margin-top: 30px;
    }

    .pagination-item {
        min-width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .pagination-next {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {

    .lawyer-card {
        padding: 10px;
    }

    .lawyer-name {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .view-details-btn {
        padding: 0px;
        font-size: 16px;
    }

    .filter-title {
        font-size: 20px;
    }

    .filter-section-title {
        font-size: 16px;
    }

    .filter-submit-btn {
        font-size: 16px;
        padding: 12px;
    }

    .results-count {
        font-size: 16px;
    }

    .results-count .highlight-orange {
        font-size: 20px;
    }

    .pagination {
        gap: 8px;
        margin-top: 25px;
    }

    .pagination-item {
        min-width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .pagination-ellipsis {
        font-size: 14px;
    }

    .pagination-next {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}

/* =============================== Lawyers Search Section =============================== */
.lawyers-search-section {
    background: #FFFFFF;
    padding: 40px 20px;
}

.lawyers-search-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* Filter Sidebar */
.filter-sidebar {
    width: 300px;
    flex-shrink: 0;
    background: #FFFFFF;
    border: 2px solid #FFE5CC;
    border-radius: 12px;
    padding: 25px;
}

.filter-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid #FF6B35;
}

.filter-section {
    margin-bottom: 30px;
}

.filter-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0 0 15px 0;
}

/* Radio Buttons */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 16px;
    color: #333;
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #CCCCCC;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.radio-label input[type="radio"]:checked + .radio-custom {
    border-color: #FF6B35;
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #FF6B35;
    border-radius: 50%;
}

.radio-text {
    flex: 1;
}

/* Checkboxes */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 16px;
    color: #333;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #CCCCCC;
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: #FF6B35;
    border-color: #FF6B35;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #FFFFFF;
    font-size: 14px;
    font-weight: bold;
}

.checkbox-text {
    flex: 1;
}

/* Filter Submit Button */
.filter-submit-btn {
    width: 100%;
    background: #206EFF;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    padding: 15px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.filter-submit-btn:hover {
    background: #357AE8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(32, 110, 255, 0.3);
}

/* Search Results */
.search-results {
    flex: 1;
    min-width: 0;
}

.results-header {
    margin-bottom: 30px;
}

.results-count {
    font-size: 20px;
    color: #333;
    margin: 0;
    line-height: 1.6;
}

.results-count .highlight-orange {
    color: #FF6B35;
    font-weight: 700;
    font-size: 24px;
}

.lawyers-cards-wrapper .lawyers-list-header {
    display: none;
}

.lawyers-cards-wrapper .lawyers-list-section {
    background: transparent;
    padding: 0;
}

.lawyers-cards-wrapper .lawyers-list-container {
    max-width: 100%;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
    padding: 20px 0;
}

.pagination-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    font-size: 18px;
    font-weight: 600;
    color: #FF6B35;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0 8px;
    cursor: pointer;
}

.pagination-item:hover {
    color: #DB6633;
}

.pagination-item.active {
    color: #FFFFFF;
    background: #FF6B35;
    border-bottom: none;
    padding-bottom: 0;
    cursor: default;
    border-radius: 4px;
}

.pagination-item.active:hover {
    color: #FFFFFF;
    background: #FF6B35;
}

.pagination-ellipsis {
    color: #DB6633;
    font-size: 18px;
    font-weight: 600;
    padding: 0 5px;
    letter-spacing: 2px;
}

.pagination-prev,
.pagination-next {
    width: 40px;
    height: 40px;
    background: #FFE5CC;
    border: none;
    border-radius: 8px;
    color: #DB6633;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
    text-decoration: none;
}

.pagination-prev:hover,
.pagination-next:hover {
    background: #FFD7B8;
}

.pagination-prev:hover {
    transform: translateX(-2px);
}

.pagination-next:hover {
    transform: translateX(2px);
}

.pagination-prev.pagination-disabled,
.pagination-next.pagination-disabled {
    background: #F5F5F5;
    color: #CCCCCC;
    cursor: not-allowed;
    opacity: 0.6;
}

.pagination-prev.pagination-disabled:hover,
.pagination-next.pagination-disabled:hover {
    background: #F5F5F5;
    transform: none;
}

/* =============================== guide section =============================== */
.guide-container-wrapper{
    background: #FEF4E4;
    padding: 60px 0px 20px;
}

.guide-explanation-container{
    background: #FFFFFF;
    padding: 20px 0px 60px;
}

.guide-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Section */
.guide-header {
    text-align: center;
    margin-bottom: 50px;
}

.guide-title {
    font-size: 48px;
    font-weight: 700;
    color: #E87B37;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.guide-subtitle {
    font-size: 48px;
    font-weight: 700;
    color: #E87B37;
    margin: 0 0 30px 0;
    line-height: 1.4;
}

.compensation-table-wrapper.claimable-table-mobile{
    display: none;
}

/* Main Content Block */
.guide-intro-block {
    background: white;
    border-radius: 16px;
    padding: 10px;
    margin-bottom: 40px;
}

.guide-intro-block .guide-explanation-container {
    background: transparent;
    padding: 0;
}

.guide-intro-block .guide-explanation-block {
    background: transparent;
    padding: 20px 0;
}

.guide-intro-content {
    display: flex;
    gap: 20px;
    align-items: center;
}

.guide-intro-image {
    flex-shrink: 0;
    width: 450px;
}

.intro-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

.guide-intro-text {
    flex: 1;
}

.guide-intro-text p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin: 0;
}

/* Detailed Explanation Block */
.guide-explanation-block {
    background: white;
    border-radius: 16px;
    padding: 20px 0px;
}

.guide-subheading-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    align-items: unset;
}

.guide-subheading-line {
    width: 6px;
    height: 40px;
    background: #E87B37;
    border-radius: 3px;
    flex-shrink: 0;
}

.guide-subheading {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

.guide-subheading-2 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 30px 0 15px 0;
    line-height: 1.4;
}

.guide-paragraph {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin: 0;
}

.highlight-orange {
    color: #E87B37;
    font-weight: 600;
}

/* Definition Box */
.guide-definition-box {
    background: #FEF4E4;
    border-radius: 12px;
    padding: 15px;
    margin: 30px 0;
}

.definition-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 0 0 10px 0;
}

.definition-title:not(:first-child) {
    margin-top: 10px;
}

.definition-text {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin: 0 0 10px 0;
}

.definition-list {
    margin: 0;
    padding-left: 25px;
}

.definition-list li {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 10px;
}

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

/* Evidence Grid */
.compensation-table-wrapper{
    margin: 30px auto;
}

.claimable-table{
    max-width: unset;
}

.compensation-th strong{
    font-size: 32px;
    font-weight: 700;
}

.compensation-table{
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    text-align: center;
    border: 2px solid #DB6633;
    border-radius: 8px;
    overflow: hidden;
    background: #FFFFFF;
    font-size: 24px;
}

.guide-bullet-list{
    margin: 0px;
    font-size: 18px;
}

.compensation-table-head{
    background: #F0893A;
    color: white;
    font-weight: 700;
}

.compensation-th{
    padding: 30px 10px;
    width: 50%;
    font-weight: 700;
}

.claimable-table .compensation-td {
    padding: 15px 10px;
    text-align: left;
}

.claimable-table .compensation-td p {
    margin: 0;
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.claimable-table .compensation-td ul {
    margin: 0;
    padding-left: 30px;
    font-size: 18px;
}
.compensation-th:first-child{
    border-radius: 8px 0px 0px 0px;
}

.compensation-th:last-child{
    border-radius: 0px 8px 0px 0px;
    border-left: 2px solid #DB6633;
}


.compensation-td{
    padding: 30px;
    border-top: 2px solid #DB6633;
}

.compensation-td:last-child{
    border-left: 2px solid #DB6633;
}

.evidence-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.evidence-card {
    background: #FEF4E4;
    border-radius: 12px;
    padding: 15px;
    transition: all 0.3s ease;
}

.evidence-card {
    grid-column: span 2;
}

.evidence-card:nth-child(-n+2) {
    grid-column: span 3;
}

.evidence-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 0 0 5px 0;
}

.evidence-list {
    margin: 0;
    padding-left: 10px;
    list-style: none;
}

.evidence-list li {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 5px;
    position: relative;
    padding-left: 20px;
}

.evidence-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: black;
    font-weight: bold;
    font-size: 20px;
}

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

/* Benefits Section */
.benefit-item {
    margin: 40px 0;
}

.benefit-content {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #FEF4E4;
}

.benefit-image {
    flex-shrink: 0;
    width: 388px;
}

.benefit-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.benefit-text {
    padding: 20px;
    flex: 1;
}

.benefit-number {
    font-size: 28px;
    font-weight: 700;
    color: #FF6B35;
    margin-bottom: 30px;
    line-height: 1;
}

/* Four Point Section */
.four-point-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.four-point-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.four-point-item:not(:last-child){
    border-right: 2px solid #E87B37;
    padding-right: 20px;
}

.evidence-label {
    background: #FEE2BC;
    color: #E87B37;
    font-family: 'Noto Serif JP', serif;
    font-size: 24px;
    font-weight: 700;
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    display: inline-block;
    width: fit-content;
}

.four-point-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 0 0 15px 0;
    line-height: 1.4;
    text-align: center;
}

/* ============================ Fee Table tweaks ============================ */
.fee-table .compensation-table {
    table-layout: fixed;
}

.fee-table .compensation-td + .compensation-td {
    border-left: 2px solid #DB6633;
}

.fee-table thead .compensation-table-head .compensation-th{
    background: #F0893A;
    color: #fff;
}

.fee-table{
    position: relative;
}

.fee-table-head .compensation-th:first-child::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 400px;
    height: 85px;
    background: white;
}

.fee-table tbody .compensation-td:first-child{
    background: #F0893A;
    color: #fff;
    font-weight: 700;
    text-align: center;
    border-right: 2px solid #DB6633;
}

.fee-table-note{
    margin: 15px auto 0;
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.four-point-paragraph{
    text-align: center;
}

/* FAQ Section */
.faq-section{
    background: #FEF4E4;
    padding: 60px 20px;
}

.faq-header {
    text-align: center;
    margin-bottom: 30px;
}

.faq-explanation-block{
    max-width: 1200px;
    margin: 0 auto;
}

.faq-title {
    font-size: 48px;
    font-weight: 700;
    color: #E87B37;
    margin: 0 0 20px 0;
    line-height: 1.4;
}

.faq-intro {
    text-align: center;
    margin-bottom: 40px;
}

.faq-item {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 2px solid #FDAF4F;
}

.faq-question {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.faq-answer {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.faq-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #FFFFFF;
}

.faq-icon-q {
    background: #009BE3;
}

.faq-icon-a {
    background: #E87B37;
}

.faq-question .faq-text {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.8;
    color: black;
    margin: 0;
    flex: 1;
}

.faq-answer .faq-text {
    font-size: 20px;
    line-height: 1.8;
    color: #2E2E2E;
    margin: 0;
    flex: 1;
}

.faq-answer-list {
    margin: 15px 0;
    padding-left: 25px;
    list-style: none;
}

.faq-answer-list li {
    font-size: 20px;
    line-height: 1.8;
    color: #2E2E2E;
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.faq-answer-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #FF6B35;
    font-weight: bold;
    font-size: 20px;
}

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

/* Recommended Cases Section */
.recommended-cases-block {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 30px;
}

.recommended-cases-content {
    display: flex;
    gap: 0px;
    align-items: flex-start;
    background: #F4F4F4;
}

.recommended-cases-text {
    flex: 1;
    border-radius: 12px;
    padding: 10px;
}

.recommended-cases-text p{
    font-size: 20px;
    margin: 0;
    line-height: 1.6;
}

.recommended-cases-text strong{
    color: black;
    font-weight: 700;
}

.recommended-cases-list {
    margin: 0;
    padding-left: 5px;
    list-style: none;
}

.recommended-cases-list li {
    font-size: 18px;
    line-height: 1.5;
    color: #333;
    position: relative;
    padding-left: 15px;
    margin: 0px;
}

.recommended-cases-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: black;
    font-weight: bold;
    font-size: 20px;
}

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

.recommended-cases-image {
    flex-shrink: 0;
    width: 400px;
    height: 244px;
}

.recommended-cases-img {
    width: 100%;
    height: fit-content;
    object-fit: cover;
}

/* Region Section */
.region-container{
    background: #F4F4F4;
    padding: 20px;
    max-width: 1200px;
    margin: 50px auto;
    border-radius: 16px;
}
.region-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 30px 0;
}

.region-block {
    display: flex;
    flex-direction: column;
}

.region-button {
    background: #FEE2BC;
    color: #E87B37;
    font-size: 20px;
    font-weight: 700;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    text-align: center;
    width: fit-content;
}

.prefecture-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 15px;
}

.prefecture-link {
    font-size: 20px;
    color: #333;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.prefecture-link:hover {
    color: #FF6B35;
}

/* Consultation Section */
.consultation-section {
    background: #F4F4F4;
    padding: 40px 0;
}

.consultation-container{
    background: #FFFFFF;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 16px;
}

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

.consultation-card {
    background: #FEF4E4;
    border-radius: 16px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.consultation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.consultation-card-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.consultation-icon-wrapper {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.consultation-icon-orange {
    background: #DB6633;
}

.consultation-icon-teal {
    background: #20B2AA;
}

.consultation-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.consultation-text {
    flex: 1;
}

.consultation-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.consultation-description {
    font-size: 18px;
    color: #333;
    margin: 5px 0;
    line-height: 1.6;
}

.consultation-arrow {
    font-size: 28px;
    color: #E87B37;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Detail lawyer section */

.body_text.clearfix h2{
    position: relative;
}

.body_text.clearfix h2 span{
    position: relative;
    font-size: 28px !important;
    font-weight: 700;
    color: #333;
    margin: 0;
    margin-left: 10px;
    line-height: 1.4;
}

.body_text.clearfix table td{
    border: 2px solid #E87B37 !important;
    padding: 10px !important;
}

.body_text.clearfix table{
    border: none !important;
    margin-top: 20px !important;
}

.body_text.clearfix p, .body_text.clearfix span{
    font-size: 20px;
}

.body_text.clearfix h2:before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 40px;
    background: #E87B37;
    border-radius: 3px;
}

.tn-footer__area {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.tn-footer__area:hover {
    color: #FFB366;
}

/* Responsive Design */
@media (max-width: 768px) {
    .lawyers-search-section {
        padding: 20px 10px;
    }

    .guide-subheading-wrapper{
        display: grid;
        grid-template-columns: 1px 1fr;
    }

    .guide-section {
        padding: 0px;
    }

    .region-container {
        margin: 0 auto;
    }

    .footer-logo .logo-image {
        width: 100px;
        height: auto;
    }

    .consultation-section{ 
        padding: 0px;
    }

    .guide-title {
        font-size: 32px;
        margin: 0;
    }

    .guide-subtitle {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .guide-header {
        margin-bottom: 30px;
    }

    .guide-intro-block {
        padding: 10px;
    }

    .guide-intro-content {
        flex-direction: column;
        gap: 25px;
    }

    .guide-intro-image {
        width: 100%;
    }

    .guide-intro-text p {
        font-size: 16px;
    }

    .guide-explanation-block {
        padding: 10px;
    }

    .compensation-table {
        font-size: 16px;
        line-height: normal;
    }

    .compensation-table th {
        font-size: 18px;
        padding: 10px 0px;
    }

    .guide-explanation-container {
        padding: 0px;
    }

    .compensation-table-wrapper.claimable-table{
        display: none;
    }

    .compensation-table-wrapper.claimable-table-mobile{
        display: block;
    }

    .compensation-th strong {
        font-size: 20px;
    }

    .compensation-td {
        padding: 10px;
    }

    .compensation-table p {
        margin: 0;
        text-align: left;
    }

    .fee-table-head .compensation-th:first-child::before{
        top: -2px;
        left: -1px;
        width: 133px;
        height: 77px;
    }

    .four-point-item:not(:last-child){
        border-right: none;
        padding-right: 0px;
        border-bottom: 2px solid #E87B37;
        padding-bottom: 20px;
    }

    .recommended-cases-content {
        flex-direction: column;
        gap: 0px;
    }

    .recommended-cases-text {
        padding: 20px;
    }

    .recommended-cases-image {
        width: 100%;
    }

    .recommended-cases-list li {
        font-size: 16px;
    }

    .guide-subheading {
        font-size: 24px;
    }

    .guide-subheading-2 {
        font-size: 20px;
    }

    .guide-paragraph {
        font-size: 16px;
    }

    .guide-bullet-list {
        font-size: 16px;
    }

    .guide-definition-box {
        padding: 20px;
    }

    .definition-title {
        font-size: 18px;
    }

    .definition-text,
    .definition-list li {
        font-size: 16px;
    }

    /* Stack cards on small screens */
    .evidence-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .evidence-card,
    .evidence-card:nth-child(-n+2) {
        grid-column: auto;
    }

    .evidence-grid {
        grid-template-columns: 1fr;
    }

    .evidence-card {
        padding: 20px;
    }

    .evidence-title {
        font-size: 18px;
    }

    .evidence-list li {
        font-size: 14px;
    }

    .benefit-content {
        flex-direction: column;
        gap: 20px;
    }

    .benefit-content-reverse {
        display: flex;
        flex-direction: column-reverse;
    }

    .benefit-image {
        width: 100%;
    }

    .benefit-title {
        font-size: 20px;
    }

    .four-point-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .four-point-title {
        font-size: 18px;
    }

    .region-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .region-button {
        font-size: 18px;
        padding: 12px 15px;
    }

    .prefecture-link {
        font-size: 14px;
    }

    .consultation-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .consultation-card {
        padding: 20px;
    }

    .consultation-icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .consultation-icon {
        width: 40px;
        height: 40px;
    }

    .consultation-title {
        font-size: 20px;
    }

    .consultation-description {
        font-size: 16px;
    }

    .faq-title {
        font-size: 32px;
    }

    .faq-answer {
        margin-left: 0;
    }

    .faq-icon {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }

    .faq-question .faq-text {
        font-size: 20px;
    }

    .faq-answer .faq-text {
        font-size: 16px;
    }

    .faq-question {
        align-items: center;
        margin-bottom: 10px;
    }

    .faq-item {
        margin-bottom: 20px;
        padding-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .logo-box {
        padding: 6px 12px;
    }

    .logo-dot {
        width: 10px;
        height: 10px;
    }

    .logo-text {
        font-size: 12px;
    }

    .guide-subheading-line {
        width: 4px;
        height: auto;
    }

    .evidence-card {
        padding: 15px;
    }

    .evidence-list li {
        font-size: 13px;
    }

    .recommended-cases-block {
        padding: 20px;
    }

    .recommended-cases-text {
        padding: 15px;
    }

    .recommended-cases-list li {
        font-size: 14px;
    }

    .benefit-number {
        font-size: 20px;
        line-height: normal;
        margin-bottom: 10px;
    }

    .benefit-text {
        padding: 10px;
    }

    .benefit-title {
        font-size: 18px;
    }

    .four-point-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .four-point-title {
        font-size: 16px;
    }

    .evidence-label {
        font-size: 18px;
    }

    .region-button {
        font-size: 16px;
        padding: 10px 12px;
    }

    .prefecture-link {
        font-size: 13px;
    }

    .consultation-card {
        padding: 15px;
    }

    .consultation-icon-wrapper {
        width: 50px;
        height: 50px;
    }

    .consultation-icon {
        width: 35px;
        height: 35px;
    }

    .consultation-title {
        font-size: 18px;
    }

    .consultation-description {
        font-size: 14px;
    }
    .process-step-item {
        padding: 10px !important;
        width: 95% !important;
        border-radius: 12px !important;
        align-items: flex-start !important;
    }
    .process-steps-container{
        gap: 20px !important;
    }
    .process-step-arrow {
        display: none;
    }
    .receive-compensation-content-2, .receive-compensation-content-1 {
        flex-direction: column-reverse !important;
    }
    
}

/* =============================== Footer =============================== */
.main-footer {
    background: #2E2E2E;
    color: #FFFFFF;
    padding: 40px 20px;
    position: relative;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo {
    flex-shrink: 0;
}

.logo-image {
    width: 190px;
    height: 144px;
    object-fit: contain;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 32px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 5px;
    line-height: normal;
}

.brand-subtitle {
    font-size: 32px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 3px;
    line-height: normal;
}

.brand-location {
    font-size: 32px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: normal;
}

.footer-nav {
    display: flex;
    gap: 100px;
    flex-wrap: wrap;
}

.footer-nav-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

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

.footer-nav-title {
    font-size: 24px;
    font-weight: 700;
    color: #FFB366;
}

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

.footer-copyright {
    text-align: center;
}

.footer-copyright p {
    font-size: 24px;
    color: #FFFFFF;
    line-height: 1.5;
    margin-top: 20px;
}

.footer-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    font-size: 24px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 30px 0 20px;
}

.footer-section-header {
    cursor: pointer;
    user-select: none;
}

.footer-section-header-icon {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.footer-section-header.active .footer-section-header-icon {
    transform: rotate(180deg);
}

.footer-cities {
    display: none;
    text-align: left;
    font-size: 16px;
    color: #FFFFFF;
    line-height: 2;
    margin-bottom: 20px;
}

.footer-cities.active {
    display: block;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #FF6B35;
    color: #FFFFFF;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.back-to-top:hover {
    background: #E87B37;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
    }

    .footer-nav {
        width: 100%;
        justify-content: space-between;
    }

    .footer-cities {
        font-size: 12px;
        line-height: 1.8;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 24px;
    }

    .brand-subtitle,
    .brand-location {
        font-size: 24px;
    }

    .footer-nav {
        flex-direction: column;
        gap: 20px;
    }

    .footer-section-header {
        font-size: 16px;
    }

    .footer-cities {
        font-size: 11px;
    }
}

/* =============================== Lawyer Detail Banner Section =============================== */

.lawyer-detail-banner-section {
    width: 100%;
    background: #FFFFFF;
}

.lawyer-detail-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Title Section */
.lawyer-detail-title {
    margin-bottom: 30px;
}

.lawyer-detail-title-orange {
    color: #E87B37;
    font-size: 40px;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.lawyer-detail-title-black {
    color: #E87B37;
    font-size: 40px;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
}

/* Banner Wrapper */
.lawyer-detail-banner-wrapper {
    display: flex;
    margin-bottom: 20px;
    gap: 20px;
}

/* Main Banner (Left) */
.lawyer-detail-main-banner {
    position: relative;
    min-height: 500px;
    border-radius: 8px;
    overflow: hidden;
    flex: 1.3;
}

.lawyer-detail-main-img {
    width: 100%;
    height: 100%;
    object-position: center;
}

/* Side Images (Right) */
.lawyer-detail-side-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 0.6;
}

.lawyer-detail-side-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.lawyer-detail-side-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Service Icons Section */
.lawyer-detail-services {
    background: #FFF3E0;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 15px;
    flex-wrap: wrap;
}

.lawyer-detail-service-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lawyer-detail-service-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.lawyer-detail-service-text {
    color: #3C3C3C;
    font-size: 24px;
    font-weight: bold;
}

.lawyer-detail-service-divider {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #D9D9D9;
}

/* Lawyer Detail Table */
.lawyer-detail-table-wrapper {
    margin-top: 20px;
    overflow: hidden;
    border-radius: 12px;
    border: 2px solid #DB6633;
}

.lawyer-detail-table-wrapper.lawyer-detail-table-wrapper-mobile {
    display: none;
}
.lawyer-detail-table-wrapper.lawyer-detail-table-wrapper-desktop {
    display: block;
}

.lawyer-detail-table {
    border-radius: 12px;
    width: 100%;
    border-collapse: collapse;
    border: 2px solid #DB6633;
}

.lawyer-detail-table th,
.lawyer-detail-table td {
    padding: 30px 14px;
    border: 2px solid #DB6633;
    font-size: 18px;
}

.claim-compensation-table th,
.claim-compensation-table td {
    text-align: center;
}


.office-info-table th{
    width: 240px;
}

.lawyer-detail-table-orange {
    color: white;
    font-size: 20px !important;
    font-weight: 700;
    line-height: 1.4;
    background: #E87B37;
    width: 95px;
    text-align: center;
}

.lawyer-detail-description {
    font-size: 20px;
    line-height: 1.5;
    color: black;
    font-weight: 500;
    margin-top: 20px;
}

/* =============================== Lawyer Detail Navigation Tabs =============================== */
.lawyer-detail-nav-section {
    width: 100%;
    background: #FFFFFF;
    padding: 30px 0 0;
}

.lawyer-detail-nav-top {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0px auto;
    margin-bottom: 30px;
    width: 90%;
}

.lawyer-detail-nav-button {
    background: white;
    color: black;
    border: none;
    border-radius: 14px;
    padding: 15px 30px;
    font-size: 28px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.lawyer-detail-nav-button.active {
    background: #E87B37;
    color: white;
}

.lawyer-detail-nav-tabs {
    display: flex;
    gap: 30px;
    padding-bottom: 10px;
    margin-bottom: 40px;
    margin-top: 30px;
}

.lawyer-detail-nav-tab {
    font-size: 24px;
    color: #7B7B7B;
    text-decoration: none;
    padding-bottom: 10px;
    position: relative;
    transition: color 0.3s ease;
    flex: 1;
    text-align: center;
    font-weight: 700;
}

.lawyer-detail-nav-tab:hover {
    color: #E87B37;
}

.lawyer-detail-nav-tab.active {
    color: #E87B37;
}

.lawyer-detail-nav-tab.active::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 0;
    right: 0;
    height: 3px;
    background: #E87B37;
}

/* =============================== Lawyer Consultation Section =============================== */
.lawyer-consultation-section {
    width: 100%;
    background: #FFFFFF;
    padding: 20px 0;
}

.lawyer-consultation-block {
    background: #FFFFFF;
    border: 3px solid #E87B37;
    border-radius: 12px;
    overflow: hidden;
    padding: 30px;
    margin-bottom: 30px;
}

.lawyer-consultation-header {
    background: #FEF4E4;
    padding: 20px 30px;
    text-align: center;
    border-radius: 12px;
}

.lawyer-consultation-title {
    color: #E87B37;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
}

.lawyer-consultation-content {
    padding: 30px 0px;
    margin-bottom: 30px;
    background: #FFFFFF;
    border-bottom: 3px solid #E87B37;
}

.lawyer-consultation-content:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.lawyer-consultation-notice {
    font-size: 24px;
    line-height: 1.8;
    color: #000000;
    font-weight: 700;
    margin: 20px 0 20px 0;
    text-align: center;
}

.lawyer-consultation-text {
    font-size: 20px;
    line-height: 1.5;
    color: #3C3C3C;
    font-weight: 400;
    margin: 0;
}

.lawyer-consultation-text:last-child {
    margin-bottom: 0;
}

.lawyer-consultation-warning-block{
    background: #fef3f2;
    padding: 20px;
    border-radius: 12px;
}

/* =============================== Operating Company Block =============================== */
.operating-company-block {
    background: white;
    border-radius: 16px;
    padding: 15px;
    margin-bottom: 40px;
}

.operating-company-text {
    font-size: 20px;
    line-height: 1.8;
    color: #333333;
    margin: 0 0 25px 0;
}

.operating-company-text:last-child {
    margin-bottom: 0;
}

.operating-company-highlight-text {
    color: #E87B37;
    font-weight: 700;
}

.operating-company-highlight {
    background: #FEF4E4;
    border-radius: 12px;
    padding: 25px 20px;
    margin-bottom: 25px;
}

.operating-company-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.operating-company-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    color: #3C3C3C;
    font-weight: 600;
}

.operating-company-check-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* Operating Company Info Block */
.operating-company-info-block {
    background: #FEF4E4;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.operating-company-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.operating-company-info-label {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    min-width: 120px;
    flex-shrink: 0;
}

.operating-company-arrow {
    color: #E87B37;
    font-size: 18px;
    flex-shrink: 0;
}

.operating-company-info-content {
    font-size: 20px;
    color: #000000;
    flex: 1;
}

.alert-block {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #FEF3F2;
    border-radius: 14px;
    transition: all 0.3s ease;
    margin: 20px 0px;
    font-size: 20px;
}

/* =============================== Lawyer FAQ Section =============================== */
.faq-block {
    margin-top: 30px;
}

.lawyer-faq-item {
    margin-bottom: 20px;
}

.lawyer-faq-question {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #FFFFFF;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lawyer-faq-question:hover {
    background: #F5F5F5;
}

.lawyer-faq-icon-wrapper {
    flex-shrink: 0;
}

.lawyer-faq-title {
    flex: 1;
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    margin: 0;
    line-height: 1.5;
}

.lawyer-faq-caret {
    flex-shrink: 0;
    color: #E87B37;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.lawyer-faq-item.active .lawyer-faq-caret {
    transform: rotate(180deg);
}

.lawyer-faq-answer {
    display: none;
    background: #FDECE7;
    border-radius: 8px;
    padding: 25px;
    margin-top: 10px;
    gap: 20px;
    align-items: flex-start;
}

.lawyer-faq-item.active .lawyer-faq-answer {
    display: flex;
}

.lawyer-faq-answer-img-wrapper {
    flex-shrink: 0;
}

.lawyer-faq-answer-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.lawyer-faq-answer-text {
    flex: 1;
    font-size: 18px;
    line-height: 1.8;
    color: #000000;
    margin: 0;
}

/* =============================== Lawyer Contact Section =============================== */
.lawyer-contact-section {
    margin-top: 40px;
    margin-bottom: 40px;
}

.lawyer-contact-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.lawyer-contact-badge {
    display: inline-block;
    background: #FEF4E4;
    color: #E87B37;
    font-size: 20px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
}

.lawyer-contact-hours {
    font-size: 20px;
    color: #000000;
    font-weight: 500;
}

.lawyer-contact-container {
    display: flex;
    gap: 40px;
    background: #FFFFFF;
    border: 2px solid #E87B37;
    border-radius: 12px;
    padding: 30px;
    align-items: center;
    justify-content: center;
}

.lawyer-contact-phone {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.lawyer-contact-label {
    font-size: 16px;
    color: #206EFF;
    font-weight: 500;
}

.lawyer-contact-phone-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    text-align: left;
}

.lawyer-contact-phone-icon {
    font-size: 32px;
    color: #206EFF;
}

.lawyer-contact-phone-text {
    font-size: 32px;
    font-weight: 700;
    color: #206EFF;
}

.lawyer-contact-phone-number {
    margin-top: 8px;
}

.lawyer-contact-phone-link {
    font-size: 24px;
    font-weight: 700;
    color: #4A90E2;
    text-decoration: none;
}

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

.lawyer-contact-email-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #E87B37;
    border-radius: 12px;
    padding: 10px 30px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    min-height: 120px;
}

.lawyer-contact-email-btn:hover {
    background: #DB6633;
}

.lawyer-contact-email-label {
    font-size: 16px;
    color: #FFFFFF;
    margin-bottom: 12px;
    font-weight: 500;
}

.lawyer-contact-email-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lawyer-contact-email-icon {
    font-size: 32px;
    color: #FFFFFF;
}

.lawyer-contact-email-text {
    font-size: 32px;
    font-weight: 700;
    color: #FFFFFF;
}


/* =============================== Operating Company Section =============================== */
.operating-company-section {
    width: 100%;
    background: #F4F4F4;
    padding: 20px 0;
    padding-bottom: 0px;
}

.operating-company-info-content{
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    color: #3C3C3C;
    font-weight: 600;
}

.operating-company-info-content i{
    font-size: 16px;
    color: white;
    font-weight: 600;
    background: #E87B37;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.operating-company-info-grid{
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.operating-company-info-grid .evidence-card:nth-child(1) {
    grid-column: span 2;
}

.operating-company-info-grid .evidence-card:nth-child(2) {
    grid-column: span 2;
}

.operating-company-info-grid .evidence-card:nth-child(3) {
    grid-column: span 2;
}

.operating-company-info-grid .evidence-card:nth-child(4) {
    grid-column: span 3;
}

.operating-company-info-grid .evidence-card:nth-child(5) {
    grid-column: span 3;
}

.operating-company-map{
    background: white;
    padding: 20px;
}

.operating-company-map-content{
    max-width: 1200px;
    margin: 0 auto;
}

/* =============================== Terms of Service Section =============================== */
.terms-of-service-text {
    font-size: 20px;
    line-height: 1.8;
    color: #3C3C3C;
    margin: 0;
}

.terms-article-block {
    background: white;
    padding: 0px;
    margin-bottom: 30px;
}

.terms-article-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.terms-article-content-reverse {
    flex-direction: row-reverse;
}

.terms-article-img {
    width: auto;
    height: auto;
    object-fit: contain;
}

.terms-article-icon {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.terms-article-icon-right{
    width: 418px;
}

.terms-article-text-wrapper {
    flex: 1;
    padding: 0px 10px;
}

.terms-article-title {
    color: #E87B37;
    font-size: 30px;
    font-weight: 700;
    margin: 10px 0;
    line-height: 1.4;
}

.terms-article-text {
    font-size: 20px;
    line-height: 1.8;
    color: #3C3C3C;
    margin: 0;
}

.terms-prohibited-list {
    margin: 0;
    padding-left: 15px;
    list-style: none;
    padding-bottom: 10px;
}

.terms-prohibited-list li {
    font-size: 18px;
    line-height: 1.8;
    color: #3C3C3C;
    margin-bottom: 0px;
    position: relative;
    padding-left: 25px;
}

.terms-prohibited-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: black;
    font-weight: bold;
    font-size: 24px;
}

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

.supplementary-provisions-block{
    text-align: right;
    padding-bottom: 30px;
}

.supplementary-provisions-text{
    font-size: 20px;
    font-weight: 400;
    color: #3C3C3C;
    margin: 0;
}

.supplementary-provisions-title{
    font-size: 32px;
    font-weight: 700;
    color: #000000;
    margin: 0;
    line-height: 1.6;
}

.supplementary-provisions-text{
    font-size: 20px;
    font-weight: 400;
    color: #3C3C3C;
    margin: 10px 0;
    line-height: 1.6;
}

/* =============================== Contact Form Section =============================== */
.contact-form-block {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 40px;
    margin-top: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form {
    width: 100%;
}

.contact-form-group {
    margin-bottom: 25px;
}

.contact-form-group:last-child {
    margin-bottom: 0;
}

.contact-form-label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #3C3C3C;
    margin-bottom: 8px;
    line-height: 1.5;
}

.contact-form-required {
    color: #E87B37;
    margin-left: 4px;
}

.contact-form-input,
.contact-form-textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    color: #3C3C3C;
    background: #FFFFFF;
    border: 1px solid #CCCCCC;
    border-radius: 6px;
    box-sizing: border-box;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.contact-form-input:focus,
.contact-form-textarea:focus {
    outline: none;
    border-color: #E87B37;
}

.contact-form-input::placeholder,
.contact-form-textarea::placeholder {
    color: #999999;
}

.contact-form-textarea {
    resize: vertical;
    min-height: 150px;
    line-height: 1.6;
}

.contact-form-checkbox-group {
    margin-top: 30px;
    margin-bottom: 30px;
}

.contact-form-checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 16px;
    color: #3C3C3C;
    line-height: 1.6;
}

.contact-form-checkbox {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: #E87B37;
}

.contact-form-checkbox-text {
    flex: 1;
}

.contact-form-link {
    color: #E87B37;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.contact-form-link:hover {
    color: #DB6633;
}

.contact-form-submit {
    width: 100%;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
    color: #FFFFFF;
    background: #206EFF;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: inherit;
}

.contact-form-submit:hover {
    background: #357ABD;
}

.contact-form-submit:active {
    background: #2E6DA4;
}


/* Responsive Styles */
@media (max-width: 968px) {
    .lawyer-detail-banner-wrapper {
        flex-direction: column;
    }

    .lawyer-detail-side-images {
        width: 100%;
        flex-direction: row;
    }

    .lawyer-detail-side-image {
        flex: 1;
        min-height: 190px;
    }

    .lawyer-detail-overlay-text-large {
        font-size: 28px;
    }

    .lawyer-detail-overlay-text-main {
        font-size: 32px;
    }
    .guide-container-wrapper{
        padding: 10px !important;
    }
    
    .lawyers-search-container {
        align-items: center;
    }

    .receive-compensation-explanation-block .faq-text, .faq-answer-list li, .recommended-cases-text p {
        font-size: 16px !important;
    }

    .recommended-cases-block .four-point-grid {
        grid-template-columns: 1fr !important;
    }

    .search-results {
        width: 100% !important;
    }

    .pagination {
        gap: 10px;
    }
    .pagination-item {
        min-width: 20px;
    }
    .guide-intro-block h1 {
        font-size: 24px !important;
    }

    .guide-intro-content.claim-compensation-step-content-2 {
        display: flex;
        flex-direction: column !important;
    }
    .recommended-cases-content.claim-compensation-content-2, .recommended-cases-content.claim-compensation-content-1 {
        flex-direction: column-reverse !important;
    }

    .lawyer-detail-container {
        padding: 10px;
    }

    .lawyer-detail-table-wrapper.lawyer-detail-table-wrapper-mobile {
        display: block;
    }
    .lawyer-detail-table-wrapper.lawyer-detail-table-wrapper-desktop {
        display: none;
    }
    .office-info-table th{
        width: 80px;
    }
    
    .lawyer-consultation-block {
        padding: 10px;
    }
    
    .body_text.clearfix h2:before {
        display: none;
    }
}

@media (max-width: 768px) {
    .lawyer-detail-title-orange {
        font-size: 22px;
    }

    .lawyer-detail-title-black {
        font-size: 20px;
    }

    .lawyer-detail-banner-image {
        width: 40%;
    }

    .lawyer-detail-banner-overlay {
        width: 60%;
    }

    .lawyer-detail-magenta-stripe {
        padding: 20px 10px;
    }

    .lawyer-detail-overlay-text-large {
        font-size: 24px;
    }

    .lawyer-detail-overlay-text-medium {
        font-size: 14px;
    }

    .lawyer-detail-overlay-text-main {
        font-size: 28px;
    }

    .lawyer-detail-bar-text {
        font-size: 14px;
    }

    .lawyer-detail-services {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 10px;
    }

    .lawyer-detail-service-item {
        width: 100%;
        justify-content: flex-start;
    }

    .lawyer-detail-service-divider {
        display: none;
    }

    .operating-company-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lawyer-detail-nav-section {
        padding: 20px 0 0;
    }

    .lawyer-detail-nav-button {
        font-size: 16px;
        padding: 12px 20px;
    }

    .lawyer-detail-nav-text {
        font-size: 16px;
    }

    .lawyer-detail-nav-tabs {
        gap: 15px;
        flex-wrap: wrap;
    }

    .lawyer-detail-nav-tab {
        font-size: 16px;
    }

    .lawyer-consultation-section {
        padding: 30px 15px;
    }

    .lawyer-consultation-header {
        padding: 15px 20px;
    }

    .lawyer-consultation-title {
        font-size: 20px;
    }

    .lawyer-contact-section {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .lawyer-contact-container {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .lawyer-contact-email-btn {
        min-height: 100px;
    }

    .lawyer-consultation-notice,
    .lawyer-consultation-text {
        font-size: 16px;
    }

    .lawyer-faq-title {
        font-size: 18px;
    }

    .lawyer-faq-answer {
        flex-direction: column;
        gap: 15px;
    }

    .lawyer-faq-answer-img {
        width: 60px;
        height: 60px;
    }

    .lawyer-faq-answer-text {
        font-size: 16px;
    }

    .terms-article-content {
        flex-direction: column;
        gap: 20px;
    }

    .terms-article-content-reverse {
        flex-direction: column;
    }

    .terms-article-image-left,
    .terms-article-image-right {
        width: 100%;
    }

    .terms-article-icon-left {
        width: 100px;
    }

    .terms-article-title {
        font-size: 24px;
    }

    .terms-article-text {
        font-size: 16px;
    }

    .terms-prohibited-list li {
        font-size: 16px;
    }

    .contact-form-block {
        padding: 25px 20px;
    }

    .contact-form-label {
        font-size: 15px;
    }

    .contact-form-input,
    .contact-form-textarea {
        font-size: 15px;
        padding: 10px 14px;
    }

    .contact-form-checkbox-label {
        font-size: 15px;
    }

    .contact-form-submit {
        font-size: 16px;
        padding: 14px 28px;
    }
}

@media (max-width: 480px) {
  
    .lawyer-detail-title-orange {
        font-size: 18px;
    }

    .lawyer-detail-title-black {
        font-size: 16px;
    }

    .lawyer-detail-main-banner {
        min-height: 150px;
        max-height: 150px;
    }

    .lawyer-detail-main-img {
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .lawyer-detail-banner-image {
        width: 35%;
    }

    .lawyer-detail-banner-overlay {
        width: 65%;
    }

    .lawyer-detail-magenta-stripe {
        padding: 15px 10px;
        margin-top: 10px;
    }

    .lawyer-detail-overlay-text-large {
        font-size: 20px;
        margin-bottom: 5px;
    }

    .lawyer-detail-overlay-text-medium {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .lawyer-detail-overlay-text-main {
        font-size: 24px;
    }

    .lawyer-detail-bottom-bar {
        padding: 15px 10px;
        flex-direction: column;
        gap: 10px;
    }

    .lawyer-detail-bar-divider {
        width: 80%;
        height: 1px;
    }

    .lawyer-detail-bar-text {
        font-size: 12px;
    }

    .lawyer-detail-service-text {
        font-size: 14px;
    }

    .lawyer-detail-nav-section {
        padding: 15px 0 0;
    }

    .lawyer-detail-nav-button {
        font-size: 14px;
        padding: 10px 18px;
        width: 100%;
    }

    .lawyer-detail-nav-text {
        font-size: 14px;
    }

    .lawyer-detail-nav-tabs {
        gap: 10px;
        overflow-x: auto;
    }

    .lawyer-detail-nav-tab {
        font-size: 14px;
        white-space: nowrap;
    }

    .lawyer-consultation-section {
        padding: 20px 0px;
    }

    .lawyer-consultation-header {
        padding: 15px;
    }

    .lawyer-consultation-title {
        font-size: 18px;
    }

    .lawyer-consultation-content {
        padding: 15px 0px;
    }

    .lawyer-consultation-notice,
    .lawyer-consultation-text {
        font-size: 14px;
        line-height: 1.6;
    }

    .lawyer-faq-question {
        padding: 15px;
        gap: 10px;
    }

    .lawyer-faq-icon-circle {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .lawyer-faq-title {
        font-size: 16px;
    }

    .lawyer-faq-caret {
        font-size: 16px;
    }

    .lawyer-faq-answer {
        padding: 20px;
        flex-direction: column;
        gap: 15px;
    }

    .lawyer-faq-answer-img {
        width: 50px;
        height: 50px;
    }

    .lawyer-faq-answer-text {
        font-size: 14px;
        line-height: 1.6;
    }

    .lawyer-contact-section {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .lawyer-contact-badge {
        font-size: 14px;
        padding: 6px 16px;
    }

    .lawyer-contact-hours {
        font-size: 14px;
    }

    .lawyer-contact-container {
        padding: 15px;
        gap: 15px;
    }

    .lawyer-contact-phone-text {
        font-size: 18px;
    }

    .lawyer-contact-phone-link {
        font-size: 20px;
    }

    .lawyer-contact-email-btn {
        min-height: 90px;
        padding: 15px 30px;
    }

    .lawyer-contact-email-text {
        font-size: 18px;
    }

    .operating-company-info-grid {
        grid-template-columns: 1fr;
    }

    .operating-company-info-grid .evidence-card:nth-child(4),
    .operating-company-info-grid .evidence-card:nth-child(5) {
        grid-column: span 2;
    }

    .terms-article-block {
        padding: 10px;
    }

    .terms-article-content {
        gap: 15px;
    }

    .terms-article-image-left,
    .terms-article-image-right {
        width: 100%;
    }

    .terms-article-icon-left {
        width: 80px;
    }

    .terms-article-title {
        font-size: 20px;
    }

    .terms-article-text {
        font-size: 14px;
    }

    .terms-prohibited-list {
        padding-left: 20px;
    }

    .terms-prohibited-list li {
        font-size: 14px;
        padding-left: 20px;
    }

    .contact-form-block {
        padding: 20px 10px;
        margin-top: 20px;
    }

    .contact-form-group {
        margin-bottom: 20px;
    }

    .contact-form-label {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .contact-form-input,
    .contact-form-textarea {
        font-size: 14px;
        padding: 10px 12px;
    }

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

    .contact-form-checkbox-group {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .contact-form-checkbox {
        width: 18px;
        height: 18px;
        margin-right: 8px;
    }

    .contact-form-checkbox-label {
        font-size: 14px;
    }

    .contact-form-submit {
        font-size: 16px;
        padding: 14px 24px;
    }
}

/* =============================== Topic List Section =============================== */

.topic-list {
    margin-top: 40px;
    margin-bottom: 40px;
}

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

.topic-card {
    background: #FFFFFF;
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

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

.topic-card-title {
    font-size: 24px;
    font-family: 'Noto Serif JP', sans-serif;
    font-weight: 700;
    color: black;
    margin: 0 0 12px 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.topic-card-date {
    font-size: 16px;
    color: #999999;
    margin-bottom: 16px;
}

.topic-card-description {
    background: #FEF4E4;
    padding: 10px;
    border-radius: 4px;
    font-size: 20px;
    color: #484848;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.topic-empty {
    text-align: center;
    padding: 60px 20px;
    color: #999999;
    font-size: 18px;
}

.consultation-button-container {
    background: #F4F4F4;
}

.consultation-button-container-inner {
    max-width: 1240px;
    margin: 0 auto;
    text-align: right;
    padding-bottom: 20px;
}

.consultation-button-container a {
    color: #E87B37;
    font-size: 24px;
}

/* Topic List Responsive */
@media (max-width: 1024px) {
    .topic-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .topic-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .topic-card {
        padding: 20px;
    }

    .topic-card-title {
        font-size: 16px;
    }

    .topic-card-description {
        font-size: 13px;
        padding: 12px;
    }
}

.topic-detail-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background: white;
}

.topic-detail-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
}

.topic-detail-title {
    font-size: 48px;
    color: #E87B37;
    font-weight: bold;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.topic-detail-date {
    font-size: 24px;
    color: #666;
    text-align: right;
}

.topic-detail-source {
    background: #FEF4E4;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.source-reference {
    color: #484848;
}

.source-title {
    font-size: 16px;
}

.source-isbn {
    font-size: 16px;
    font-weight: bold;
}

.topic-detail-body {
    line-height: 1.8;
}

.topic-content {
    font-size: 20px;
    color: #1C1C1C;
    margin-bottom: 40px;
}

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

.topic-section {
    margin-bottom: 40px;
}


@media (max-width: 768px) {
    .topic-detail-content {
        padding: 20px 10px;
    }
    
    .topic-detail-title {
        font-size: 24px;
    }
    
    .topic-detail-date {
        font-size: 16px;
    }

    .topic-content {
        font-size: 16px;
    }

    .contact-section-breadcrumb {
        padding: 10px;
    }

    /* Center: Main Headlines */
    .header-center-content {
        width: 95%;
    }

    .breadcrumb-title {
        max-width: 120px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .breadcrumb-detail-title {
        max-width: 130px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}