/* =============================== Global Reset =============================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Mobile-only break line - ẩn trên desktop, hiển thị trên mobile */
.mobile-br {
    display: none;
}

/* =============================== begin header =============================== */
.top-header {
    background-color: #ffffff;
    top: 0;
    z-index: 1000;
}

/* Header Top Section */
.header-top-section {
    padding: 24px 0;
}

.header-container {
    max-width: 1920px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}

/* Header Left - Logo và Text */
.header-left {
    display: flex;
    align-items: center;
    gap: 13.634px;
    flex-shrink: 0;
    margin-left: 130px;
}

.header-home-link {
    display: flex;
    align-items: center;
    gap: 13.634px;
    text-decoration: none;
    color: inherit;
}

.header-home-link:hover {
    text-decoration: none;
}

.logo {
    flex-shrink: 0;
    width: 81.805px;
    height: 86px;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.site-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 31.298px;
    font-weight: 900;
    color: #612500;
    line-height: 1.2;
    white-space: nowrap;
    margin: 0;
}

.site-location {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 31.298px;
    font-weight: 900;
    color: #fa8c16;
    line-height: 1.2;
    white-space: nowrap;
    margin: 0;
}

/* Mobile header menu toggle (hidden on desktop) */
.header-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    padding: 0;
    margin-left: auto;
    width: 28px;
    height: 28px;
    cursor: pointer;
}

.header-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #1c1c1c;
    margin: 3px 0;
}

/* Header Menu Section */
.header-menu-section {
    border-top: 1px solid #d1d1d6;
    width: 100%;
}

.header-menu-container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 128px;
    width: 100%;
}

.header-menu-section .header-nav {
    display: flex;
    justify-content: center;
    padding: 12px 0;
    width: 100%;
}

.header-menu-section .nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 24px;
    align-items: center;
}

.header-menu-section .nav-menu li {
    margin: 0;
}

.header-menu-section .nav-link {
    text-decoration: none;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.85);
    line-height: 28px;
    padding: 13px 20px;
    white-space: nowrap;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.header-menu-section .nav-link.active {
    color: #fa8c16;
}

.header-menu-section .nav-link.active::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 0;
    width: 0;
}

.header-menu-section .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #fa8c16;
}

 .header-menu-section .nav-link:hover {
    color: #fa8c16;
}


/* =============================== Hero Section (Desktop) =============================== */
.hero-section {
    position: relative;
    background-image: url('../bgr_b1.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 128px 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.05) 50%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-container {
    position: relative;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 128px;
    display: flex;
    justify-content: center;
}

.hero-card {
    position: relative;
    background-color: #fa8c16;
    border-radius: 24px;
    padding: 48px;
    max-width: 880px;
    width: 100%;
    color: #ffffff;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    border-radius: 1000px;
    background-color: #40a9ff;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 40px;
    margin-bottom: 24px;
}

.hero-main-title {
    font-family: 'Dela Gothic One';
    font-weight: 400;
    font-size: 64px;
    line-height: 1.2;
    margin: 0 0 24px;
    color: #ffffff;
}

.hero-location {
    color: #ffffff;
}

.hero-main-highlight {
    color: #ffec3d;
}

.hero-description {
    font-family: 'Hiragino Kaku Gothic Pro';
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 32px;
    color: #ffffff;
}

.hero-description p {
    margin: 0 0 8px;
}

.hero-description p:last-child {
    margin-bottom: 0;
}

.hero-location-inline {
    color: #ffffff;
}

.hero-description-highlight {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    color: #ffec3d;
}

.hero-cta-btn {
    display: inline-block;
    margin-top: 24px;
    padding: 19px 32px;
    border-radius: 12px;
    background-color: #52c41a;
    border: 1px solid #52c41a;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
    position: relative;
    z-index: 1;
}

.hero-cta-btn:hover {
    background-color: #3f9c14;
    text-decoration: none;
    opacity: 0.95;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
    transform: translateY(-1px);
}

.hero-trophy {
    position: absolute;
    right: 80px;
    top: -77px;
    width: 305px;
    height: auto;
}

.hero-trophy-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Hero Section – mobile (Figma 101:739) */
@media (max-width: 768px) {
    /* Mobile-only break line - hiển thị trên mobile */
    .mobile-br {
        display: inline;
    }

    .hero-section {
        padding: 0;
        background-position: center top;
        background-size: 206%;
        min-height: 100vh;
        position: relative;
    }

    .hero-overlay {
        background: linear-gradient(180deg, rgba(250, 140, 22, 0) 0%, rgba(250, 140, 22, 0.15) 25%, rgba(250, 140, 22, 0.4) 45%, rgba(250, 140, 22, 0.7) 65%, rgba(250, 140, 22, 0.9) 85%, rgba(250, 140, 22, 1) 100%);
        z-index: 1;
    }

    .hero-container {
        max-width: 430px;
        padding: 0 24px;
        justify-content: flex-start;
        position: relative;
        min-height: 100vh;
    }

    .hero-card {
        position: relative;
        margin-top: 250px;
        padding: 24px;
        border-radius: 18px;
        max-width: 382px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        background: transparent;
        box-shadow: none;
        z-index: 2;
    }

    .hero-badge {
        padding: 8.926px 7.438px;
        font-size: 18px;
        line-height: 23.802px;
    }

    .hero-main-title {
        font-size: 42.152px;
        line-height: 1.2;
    }

    .hero-description {
        font-family: 'Noto Sans JP', sans-serif;
        font-size: 14px;
        line-height: 20.826px;
        margin-bottom: 24px;
    }

    .hero-cta-btn {
        font-size: 18px;
        line-height: 23.802px;
        padding: 14.388px 18.851px;
        width: 100%;
        max-width: 382px;
    }

    .hero-trophy {
        display: none;
    }
}


/* =============================== Worries Section =============================== */
.worries-section {
    position: relative;
    background-color: #fff7e6;
    background-image: url('../images/bgr_3.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 80px 0;
    overflow: hidden;
}

.worries-bg-circle {
    display: none;
}

.worries-bg-circle-left {
    left: -120px;
    top: -180px;
}

.worries-bg-circle-right {
    right: -200px;
    top: 200px;
}

.worries-container {
    position: relative;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 128px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.worries-card {
    background-color: #0050b3;
    border-radius: 48px;
    padding: 48px 64px 40px;
    color: #ffffff;
    max-width: 960px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.worries-heading {
    text-align: center;
    margin-bottom: 32px;
}

.worries-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 64px;
    line-height: 1.4;
    margin: 0 0 12px;
    color: #ffec3d;
}

.worries-location {
    color: #ffec3d;
}

.worries-subtitle {
    font-family: 'Hiragino Kaku Gothic Pro', 'Noto Sans JP', sans-serif;
    font-size: 24px;
    line-height: 32px;
    color: #ffffff;
    margin: 0;
}

.worries-list {
    list-style: none;
    margin: 32px 0 32px;
    padding: 0;
}

.worries-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 0;
    position: relative;
}

.worries-item::after {
    content: '';
    position: absolute;
    left: 96px;
    right: 0;
    bottom: 0;
    border-bottom: 2px dashed rgba(255, 255, 255, 0.7);
}

.worries-item-last::after {
    border-bottom: none;
}

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

.worries-icon-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.worries-text {
    font-family: 'Hiragino Kaku Gothic Pro', 'Noto Sans JP', sans-serif;
    font-weight: 600;
    font-size: 36px;
    line-height: 32px;
    color: #ffffff;
    margin: 0;
    white-space: nowrap;
}

.worries-note {
    margin-top: 24px;
    background-color: #ffe7ba;
    border-radius: 12px;
    padding: 24px 48px;
}

.worries-note-text {
    font-family: 'Hiragino Kaku Gothic Pro', 'Noto Sans JP', sans-serif;
    font-size: 24px;
    line-height: 32px;
    color: rgba(0, 0, 0, 0.85);
    margin: 0;
}

.worries-note-highlight {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    color: #0050b3;
}

.worries-illustration {
    position: absolute;
    bottom: -20px;
    width: 360px;
}

.worries-illustration-left {
    left: 80px;
}

.worries-illustration-right {
    right: 80px;
}

.worries-illustration-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Worries bottom illustration (男女イラスト) */
.worries-people-illustration {
    margin-top: 0;
    padding: 24px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 12px;
    max-width: 100%;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    background-color: #fff7e6;
}

.worries-people-illustration-image {
    display: block;
    height: 180px;
    width: auto;
    max-width: 48%;
    object-fit: contain;
    object-position: bottom;
    flex: 0 1 auto;
}

/* Ẩn illustration này trên desktop, chỉ hiển thị trên mobile */
@media (min-width: 769px) {
    .worries-people-illustration {
        display: none;
    }
}

/* Worries Section – mobile (Figma 101:755) */
@media (max-width: 768px) {
    .worries-section {
        padding: 32px 0 0;
        background-position: center top;
    }

    .worries-container {
        max-width: 430px;
        padding: 0 24px;
    }

    .worries-card {
        padding: 48px 24px;
        border-radius: 12px;
    }

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

    .worries-subtitle {
        font-size: 14px;
        line-height: 22px;
    }

    .worries-list {
        margin: 24px 0 24px;
    }

    .worries-item {
        gap: 10px;
        padding: 12px 0;
    }

    .worries-icon {
        width: 48px;
        height: 48px;
    }

    .worries-item::after {
        left: 70px;
    }

    .worries-text {
        font-size: 20px;
        line-height: 28px;
        white-space: normal;
    }

    .worries-note {
        padding: 24px;
    }

    .worries-note-text {
        font-size: 20px;
        line-height: 28px;
    }

    .worries-people-illustration {
        padding: 24px;
        gap: 12px;
        background-color: #fff7e6;
        display: flex;
        justify-content: center;
        align-items: flex-end;
    }

    .worries-people-illustration-image {
        height: 180px;
        max-width: 48%;
        width: auto;
        object-fit: contain;
        object-position: bottom;
    }
}

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


/* =============================== Footer =============================== */
.main-footer {
    background: #2c2c2c;
    color: #FFFFFF;
    padding: 48px 0 24px;
    width: 100%;
    overflow-x: hidden;
}

.footer-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-top-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
    width: 100%;
    max-width: 100%;
}

.footer-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 13.634px;
}

.footer-logo {
    width: 81.805px;
    height: 86px;
    object-fit: contain;
    flex-shrink: 0;
}

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

.footer-title p {
    margin: 0;
}

.footer-site {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 900;
    font-size: 31.3px;
    color: #FFFFFF;
    line-height: 1.2;
}

.footer-location {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 900;
    font-size: 31.3px;
    color: #fa8c16;
    line-height: 1.2;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.footer-link {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
    color: #FFFFFF;
    text-decoration: none;
}

.footer-link:hover {
    opacity: 0.8;
}

.footer-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.footer-email {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.footer-email-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 1.5;
    color: #FFFFFF;
}

.footer-email-mobile {
    display: none;
}

.footer-content-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    max-width: 100%;
}

.footer-heading {
    position: relative;
    border-bottom: 2px solid #fa8c16;
    padding-bottom: 15px;
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.footer-heading-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
    color: #fa8c16;
    text-decoration: underline;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.footer-cities {
    font-family: 'Hiragino Kaku Gothic Pro', 'Hiragino Sans', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
    color: #FFFFFF;
    width: 100%;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

.footer-cities a {
    color: inherit;
    text-decoration: none;
}

.footer-toggle-icon {
    width: 34px;
    height: 34px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.footer-toggle-icon.rotated {
    transform: rotate(180deg);
}

.footer-cities {
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
    max-height: 1000px;
    opacity: 1;
    overflow: hidden;
}

.footer-cities.collapsed {
    max-height: 0;
    opacity: 0;
    padding: 0;
    margin: 0;
}

.footer-bottom {
    padding-top: 23px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
}

.footer-copyright {
    font-family: 'Hiragino Kaku Gothic Pro', 'Hiragino Sans', sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 22px;
    color: #FFFFFF;
    text-align: center;
    margin: 0;
    width: 100%;
}
.footer-useful-info {
    display: none;
}

@media (max-width: 768px) {
    .main-footer {
        padding: 24px 0 0;
    }

    .footer-container {
        padding: 0 24px;
        gap: 40px;
    }

    .footer-top-section {
        flex-direction: column;
        gap: 48px;
        align-items: flex-start;
        width: 100%;
    }

    .footer-left {
        gap: 24px;
        width: 100%;
        align-items: flex-start;
    }

    .footer-brand {
        gap: 11.692px;
    }

    .footer-logo {
        width: 70.154px;
        height: 73.752px;
    }

    .footer-site {
        font-family: 'Noto Sans JP', sans-serif;
        font-weight: 900;
        font-size: 26.84px;
        line-height: 1.2;
    }

    .footer-location {
        font-family: 'Noto Sans JP', sans-serif;
        font-weight: 900;
        font-size: 26.84px;
        line-height: 1.2;
    }

    .footer-links {
        gap: 24px;
    }

    .footer-link {
        font-family: 'Noto Sans JP', sans-serif;
        font-weight: 700;
        font-size: 20px;
        line-height: 28px;
    }

    .footer-right {
        display: none;
    }

    .footer-email-mobile {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .footer-email-mobile .footer-email-icon {
        width: 24px;
        height: 24px;
    }

    .footer-email-mobile .footer-email-text {
        font-size: 16px;
    }

    .footer-content-section {
        gap: 24px;
        width: 100%;
    }

    .footer-heading {
        padding-bottom: 10px;
        height: auto;
    }

    .footer-heading-text {
        font-family: 'Noto Sans JP', sans-serif;
        font-weight: 700;
        font-size: 18px;
        line-height: 26px;
    }

    .footer-cities {
        font-family: 'Hiragino Kaku Gothic Pro', 'Hiragino Sans', sans-serif;
        font-weight: 300;
        font-size: 16px;
        line-height: 24px;
    }

    .footer-toggle-icon {
        width: 28px;
        height: 28px;
    }

    .footer-bottom {
        padding-top: 23px;
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .footer-copyright {
        font-family: 'Hiragino Kaku Gothic Pro', 'Hiragino Sans', sans-serif;
        font-weight: 300;
        font-size: 14px;
        line-height: 22px;
        margin-bottom: 0;
    }

    .footer-useful-info {
        display: block;
        font-family: 'Hiragino Kaku Gothic Pro', 'Hiragino Sans', sans-serif;
        font-weight: 300;
        font-size: 14px;
        line-height: 22px;
        color: #FFFFFF;
        text-align: center;
        margin: 0;
        white-space: pre;
    }
}

/* =============================== Ranking Table =============================== */
.ranking-title-section {
    max-width: 1650px;
    margin: 0 auto;
    padding: 64px 30px 24px;
    text-align: center;
}

.ranking-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    border-radius: 1000px;
    background-color: #40a9ff;
    font-family: 'Hiragino Kaku Gothic Pro', 'Noto Sans JP', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 40px;
    color: #ffffff;
}

.ranking-title {
    font-size: 64px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%;
    margin-top: 0.3em
}

.location-highlight {
    color: #fa8c16;
}

.ranking-table-container {
    max-width: 1650px;
    margin: 0 auto 60px;
    padding: 0 30px;
    overflow-x: auto;
}

.ranking-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.ranking-table thead {
    background-color: #fa8c16;
}

.ranking-table th {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    padding: 16px 12px;
    text-align: center;
    white-space: nowrap;
}

.ranking-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
}

.ranking-table tbody tr:last-child {
    border-bottom: none;
}

.ranking-table tbody tr.even-row {
    background-color: #ffffff;
}

.ranking-table tbody tr.odd-row {
    background-color: #ffffff;
}

/* Row 1 - Cam đậm, text đậm */
.ranking-table tbody tr.rank-row-1 {
    background-color: #ffd591;
}

.ranking-table tbody tr.rank-row-1 .agency-name,
.ranking-table tbody tr.rank-row-1 .features-text,
.ranking-table tbody tr.rank-row-1 .area-text,
.ranking-table tbody tr.rank-row-1 .rating-number {
    font-family: "Hiragino Kaku Gothic Pro", sans-serif;
    font-size: 30px;
    font-style: normal;
    font-weight: 600;
    line-height: 140%;
    color: #000000;
    text-align: center;
}

/* Row 2 - Cam nhạt hơn row 1 */
.ranking-table tbody tr.rank-row-2 {
    background-color: #ffe7ba;
}

/* Row 3 - Cam nhạt nhất */
.ranking-table tbody tr.rank-row-3 {
    background-color: #fff7e6;
}

/* Các row khác (không phải row 1) - Style chung */
.ranking-table tbody tr:not(.rank-row-1) .agency-name,
.ranking-table tbody tr:not(.rank-row-1) .features-text,
.ranking-table tbody tr:not(.rank-row-1) .area-text,
.ranking-table tbody tr:not(.rank-row-1) .rating-number {
    font-size: 24px;
    font-style: normal;
    font-weight: 300;
    line-height: 32px;
}


/* remove inner border between 2位 rows */
.ranking-table tbody tr.double-row-top {
    border-bottom: none;
}

.ranking-table td {
    padding: 20px 12px;
    text-align: center;
    vertical-align: middle;
}

.rank-col {
    width: 80px;
}

.agency-col {
    width: 280px;
    text-align: left;
}

.features-col {
    width: 250px;
    text-align: left;
}

.rating-col {
    width: 180px;
}

.area-col {
    width: 150px;
}

.details-col {
    width: 150px;
}

.rank-cell {
    font-weight: 700;
}

.medal-icon {
    display: inline-block;
    width: auto;
    height: 80px;
    object-fit: contain;
    vertical-align: middle;
}

.rank-number {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #333333;
}

.agency-name {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #333333;
    line-height: 1.5;
    text-align: left;
}


.features-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
    text-align: left;
}


.rating-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.stars {
    display: inline-flex;
    gap: 2px;
    align-items: center;
}

.star {
    font-size: 20px;
    line-height: 1;
    color: #ffc107;
}

.star-full {
    color: #ffc107;
}

.star-half {
    color: #ffc107;
    opacity: 0.7;
}

.star-empty {
    color: #e0e0e0;
}

.rating-number {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #333333;
}

.area-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    color: #666666;
}


.detail-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #fa8c16;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.3s ease, opacity 0.3s ease;
    white-space: nowrap;
}

.detail-btn:hover {
    background-color: #d46b08;
    text-decoration: none;
    color: #ffffff;
    opacity: 0.9;
}

/* Hidden rows (initially hidden) */
.hidden-row {
    display: none;
}

/* More button row */
.more-button-row {
    background-color: transparent !important;
    border-bottom: none !important;
}

.more-button-cell {
    padding: 40px 20px !important;
    text-align: right !important;
}

.ranking-more-btn {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.5;
    color: #d7172a;
    background: transparent;
    border: none;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    text-underline-position: from-font;
    padding: 0;
    transition: opacity 0.3s ease;
}

.ranking-more-btn:hover {
    opacity: 0.8;
}

.ranking-more-btn.active {
    display: none;
}

/* special styling for row 2 (two entries in one row) */
.agency-cell-double .agency-name:not(:last-child),
.features-cell-double .features-text:not(:last-child),
.area-cell-double .area-text:not(:last-child),
.details-cell-double .detail-btn:not(:last-child) {
    margin-bottom: 8px;
}

.rating-cell-double .rating-wrapper + .rating-wrapper {
    margin-top: 4px;
}

/* Responsive styles for ranking table */
@media (max-width: 768px) {
    .comparison-banner-content {
        padding: 0 15px;
    }

    .comparison-badge {
        font-size: 16px;
    }

    .ranking-title-section {
        padding: 24px 15px 20px;
    }

    .ranking-badge {
        padding: 8px 16px;
        font-size: 14px;
        line-height: 20px;
    }

    .ranking-title {
        font-size: 24px;
        line-height: 1.4;
    }

    .ranking-table-container {
        padding: 0 15px;
        margin-bottom: 40px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .ranking-table {
        font-size: 12px;
        min-width: 600px;
    }

    .ranking-table thead {
        display: table-header-group;
    }

    .ranking-table th {
        font-size: 11px;
        padding: 10px 6px;
        white-space: nowrap;
    }

    .ranking-table td {
        padding: 12px 6px;
        vertical-align: top;
    }

    .rank-col {
        width: 50px;
        min-width: 50px;
    }

    .agency-col {
        width: 180px;
        min-width: 180px;
    }

    .features-col {
        width: 150px;
        min-width: 150px;
    }

    .rating-col {
        width: 100px;
        min-width: 100px;
    }

    .area-col {
        width: 80px;
        min-width: 80px;
    }

    .details-col {
        width: 90px;
        min-width: 90px;
    }

    .agency-name {
        font-size: 12px;
        line-height: 1.4;
        word-break: break-word;
    }

    .features-text {
        font-size: 10px;
        line-height: 1.4;
        word-break: break-word;
    }

    .rating-wrapper {
        flex-direction: column;
        gap: 4px;
        align-items: center;
    }

    .stars {
        gap: 1px;
    }

    .star {
        font-size: 14px;
    }

    .rating-number {
        font-size: 10px;
    }

    .area-text {
        font-size: 10px;
        word-break: break-word;
    }

    .detail-btn {
        padding: 6px 10px;
        font-size: 10px;
        white-space: nowrap;
    }

    .medal-icon {
        width: auto;
        height: 50px;
        max-width: 100%;
    }

    .rank-number {
        font-size: 12px;
    }

    /* Row 1 mobile styles */
    .ranking-table tbody tr.rank-row-1 .agency-name,
    .ranking-table tbody tr.rank-row-1 .features-text,
    .ranking-table tbody tr.rank-row-1 .area-text,
    .ranking-table tbody tr.rank-row-1 .rating-number {
        font-size: 14px;
        line-height: 1.4;
    }

    /* Row 4-10 mobile styles - font giống row 3 */
    .ranking-table tbody tr.even-row:not(.rank-row-1) .agency-name,
    .ranking-table tbody tr.even-row:not(.rank-row-1) .features-text,
    .ranking-table tbody tr.even-row:not(.rank-row-1) .area-text,
    .ranking-table tbody tr.even-row:not(.rank-row-1) .rating-number,
    .ranking-table tbody tr.odd-row:not(.rank-row-1) .agency-name,
    .ranking-table tbody tr.odd-row:not(.rank-row-1) .features-text,
    .ranking-table tbody tr.odd-row:not(.rank-row-1) .area-text,
    .ranking-table tbody tr.odd-row:not(.rank-row-1) .rating-number {
        font-size: 12px;
        line-height: 1.4;
        font-weight: 300;
    }

    /* More button mobile styles */
    .more-button-cell {
        padding: 24px 15px !important;
        text-align: center !important;
    }

    .ranking-more-btn {
        font-size: 16px;
        font-weight: 500;
        line-height: 1.5;
    }
}

/* =============================== Ranking Detail Section =============================== */
.ranking-detail-section {
    max-width: 1440px;
    margin: 0 auto;
    padding: 64px 32px;
}

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

.ranking-detail-card {
    background-color: #ffffff;
    border-radius: 24px;
    padding: 48px;
    border: 2px solid #ff0000;
}

.ranking-detail-card-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 48px;
    padding: 24px;
    background-color: #FF2D55;
    border-radius: 16px;
}

.ranking-detail-medal {
    width: 101.136px;
    height: 120px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ranking-detail-medal-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ranking-detail-heading-text {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
}

.ranking-detail-rank-label {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.5;
    margin: 0;
}

.ranking-detail-subtitle {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 28px;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.5;
    margin: 0;
}

.ranking-detail-body {
    display: flex;
    gap: 48px;
    align-items: flex-start;
}

.ranking-detail-left {
    width: 615px;
    flex-shrink: 0;
}

.ranking-detail-image-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 9.681px;
    justify-content: flex-start;
    align-items: flex-start;
}

.ranking-detail-grid-item {
    width: calc((615px - 5 * 9.681px) / 6);
    height: 124.654px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.ranking-detail-grid-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ranking-detail-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ranking-detail-feature-block {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ranking-detail-feature-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #ff2d55;
    margin: 0 0 24px;
    line-height: normal;
}

.ranking-detail-feature-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ranking-detail-feature-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
}

.ranking-detail-feature-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    object-fit: contain;
}

.ranking-detail-feature-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #000000;
    line-height: normal;
    white-space: nowrap;
}

.ranking-detail-feature-divider {
    height: 1px;
    background-color: #ff2d55;
    margin: 16px 0;
    width: 100%;
}

.ranking-detail-description {
    margin: 0;
}

.ranking-detail-description-content {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
}

.ranking-detail-description-image {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 108.921px;
    height: 130px;
}

.ranking-detail-child-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: rotate(180deg) scaleY(-1);
    display: block;
}

.ranking-detail-description p {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 28px;
    font-weight: 400;
    color: #2e2e2e;
    line-height: 1.5;
    margin: 0;
    letter-spacing: -0.308px;
    flex: 1;
    padding: 10px;
}

.ranking-detail-cta-wrapper {
    margin-top: 0;
}

.ranking-detail-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9.297px;
    padding: 11.156px 22.312px;
    background-color: #ff2d55;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0px 1.859px 0px 0px rgba(0, 0, 0, 0.04);
    transition: background-color 0.3s ease, opacity 0.3s ease;
}

.ranking-detail-cta-button:hover {
    background-color: #e0244a;
    text-decoration: none;
    opacity: 0.95;
}

.ranking-detail-cta-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 22.312px;
    font-weight: 700;
    color: #ffffff;
    line-height: 29.749px;
    white-space: nowrap;
}

.ranking-detail-cta-icon {
    width: 22.312px;
    height: 22.312px;
    flex-shrink: 0;
    object-fit: contain;
}

/* Ranking Detail Section – mobile (Figma 101:1314) */
@media (max-width: 768px) {
    .ranking-detail-section {
        padding: 32px 16px;
    }

    .ranking-detail-card {
        padding: 24px 16px;
        border-radius: 16px;
    }

    .ranking-detail-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 24px;
        padding: 16px;
    }

    .ranking-detail-medal {
        width: 72px;
        height: 86px;
    }

    .ranking-detail-rank-label {
        font-size: 20px;
        line-height: 1.5;
    }

    .ranking-detail-subtitle {
        font-size: 14px;
        line-height: 1.6;
    }

    .ranking-detail-body {
        flex-direction: column;
        gap: 24px;
    }

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

    .ranking-detail-image-grid {
        justify-content: center;
    }

    .ranking-detail-grid-item {
        width: calc((100% - 5 * 8px) / 5);
        height: 72px;
    }

    .ranking-detail-right {
        gap: 16px;
    }

    .ranking-detail-feature-title {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .ranking-detail-feature-icon {
        width: 24px;
        height: 24px;
    }

    .ranking-detail-feature-text {
        font-size: 14px;
        white-space: normal;
    }

    .ranking-detail-feature-divider {
        margin: 12px 0;
    }

    .ranking-detail-description-content {
        flex-direction: column;
        align-items: center;
    }

    .ranking-detail-description-image {
        width: 80px;
        height: 96px;
    }

    .ranking-detail-description p {
        font-size: 14px;
        padding: 0;
    }

    .ranking-detail-cta-button {
        width: 100%;
    }

    .ranking-detail-cta-text {
        font-size: 14px;
    }

    .ranking-detail-cta-icon {
        width: 18px;
        height: 18px;
    }
}

/* =============================== Ranking Detail Section 2 (サレ夫探偵 & サレ妻探偵) =============================== */
.ranking-detail-section-2 {
    max-width: 1440px;
    margin: 0 auto;
    padding: 64px 32px;
}

.ranking-detail-container-2 {
    width: 100%;
}

.ranking-detail-card-2 {
    background-color: #ffffff;
    border: 3px solid #fa8c16;
    border-radius: 12px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.ranking-detail-2-top {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.ranking-detail-2-medal {
    width: 113.72px;
    height: 120px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ranking-detail-2-medal-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ranking-detail-2-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.ranking-detail-2-service-card {
    border-radius: 12px;
    padding: 24px;
}

.ranking-detail-2-service-card-blue {
    background-color: #40a9ff;
}

.ranking-detail-2-service-card-orange {
    background-color: #fa8c16;
}

.ranking-detail-2-service-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ranking-detail-2-service-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.5;
    margin: 0;
}

.ranking-detail-2-service-subtitle {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 28px;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.5;
    margin: 0;
}

.ranking-detail-2-description {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 28px;
    font-weight: 400;
    color: #2e2e2e;
    line-height: normal;
    margin: 0;
}

.ranking-detail-2-buttons-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 32px;
}

.ranking-detail-2-trademark-image-wrapper-mobile {
    display: none;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
    align-items: center;
}

.ranking-detail-2-trademarks {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ranking-detail-2-trademark-image {
    width: 171px;
    height: 36px;
    object-fit: contain;
    display: block;
}

.ranking-detail-2-buttons {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 406px;
    align-items: center;
}

.ranking-detail-2-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9.297px;
    padding: 11.156px 22.312px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0px 1.859px 0px 0px rgba(0, 0, 0, 0.04);
    transition: background-color 0.3s ease, opacity 0.3s ease;
    width: 100%;
}

.ranking-detail-2-cta-button-blue {
    background-color: #40a9ff;
}

.ranking-detail-2-cta-button-blue:hover {
    background-color: #1890ff;
    text-decoration: none;
    opacity: 0.95;
}

.ranking-detail-2-cta-button-orange {
    background-color: #fa8c16;
}

.ranking-detail-2-cta-button-orange:hover {
    background-color: #d46b08;
    text-decoration: none;
    opacity: 0.95;
}

.ranking-detail-2-cta-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 22.312px;
    font-weight: 700;
    color: #ffffff;
    line-height: 29.749px;
    white-space: nowrap;
}

.ranking-detail-2-cta-icon {
    width: 22.312px;
    height: 22.312px;
    flex-shrink: 0;
    object-fit: contain;
}

.ranking-detail-2-divider {
    height: 1px;
    background-color: transparent;
    border: none;
    margin: 0;
    width: 100%;
    border-top: 1px dashed #fa8c16;
}

.ranking-detail-2-features-block {
    display: flex;
    gap: 48px;
    align-items: flex-start;
}

.ranking-detail-2-features-image {
    width: 322px;
    height: 298px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.ranking-detail-2-features-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ranking-detail-2-features-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ranking-detail-2-features-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: normal;
    margin: 0;
}

.ranking-detail-2-features-title-blue {
    color: #1890ff;
}

.ranking-detail-2-features-title-orange {
    color: #fa8c16;
}

.ranking-detail-2-features-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ranking-detail-2-features-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ranking-detail-2-features-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    object-fit: contain;
}

.ranking-detail-2-features-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #000000;
    line-height: normal;
}

.ranking-detail-2-features-divider {
    height: 0;
    width: 100%;
    margin: 0;
    border: none;
}

.ranking-detail-2-features-divider-blue {
    border-top: 1px dashed #1890ff;
}

.ranking-detail-2-features-divider-orange {
    border-top: 1px dashed #fa8c16;
}

/* Ranking Detail Section 2 – mobile (Figma 101:2092) */
@media (max-width: 768px) {
    .ranking-detail-section-2 {
        padding: 32px 16px;
    }

    .ranking-detail-card-2 {
        padding: 24px 16px;
        gap: 24px;
        border-radius: 16px;
    }

    .ranking-detail-2-top {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .ranking-detail-2-medal {
        width: 72px;
        height: 86px;
    }

    .ranking-detail-2-service-title {
        font-size: 20px;
    }

    .ranking-detail-2-service-subtitle {
        font-size: 14px;
    }

    .ranking-detail-2-description {
        font-size: 14px;
        line-height: 1.6;
    }

    .ranking-detail-2-buttons-section {
        display: none;
    }

    .ranking-detail-2-trademark-image-wrapper-mobile {
        display: flex;
    }

    .ranking-detail-2-trademark-image-wrapper-mobile .ranking-detail-2-trademark-image {
        width: 120px;
        height: 28px;
    }

    .ranking-detail-2-trademark-image-wrapper-mobile .ranking-detail-2-cta-button {
        width: 100%;
    }

    .ranking-detail-2-trademarks {
        flex-direction: row;
        gap: 12px;
    }

    .ranking-detail-2-trademark-image {
        width: 120px;
        height: 28px;
    }

    .ranking-detail-2-buttons {
        width: 100%;
    }

    .ranking-detail-2-cta-text {
        font-size: 14px;
        white-space: nowrap;
    }

    .ranking-detail-2-cta-icon {
        width: 18px;
        height: 18px;
    }

    .ranking-detail-2-divider {
        margin: 16px 0;
    }

    .ranking-detail-2-features-block {
        flex-direction: column;
        gap: 16px;
    }

    .ranking-detail-2-features-image {
        width: 100%;
        height: 200px;
    }

    .ranking-detail-2-features-title {
        font-size: 18px;
    }

    .ranking-detail-2-features-text {
        font-size: 14px;
    }

    .ranking-detail-2-features-icon {
        width: 24px;
        height: 24px;
    }
}

.ranking-detail-2-features-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #000000;
    line-height: normal;
}

.ranking-detail-2-features-divider {
    height: 0;
    width: 100%;
    margin: 0;
    border: none;
}

.ranking-detail-2-features-divider-blue {
    border-top: 1px dashed #1890ff;
}

.ranking-detail-2-features-divider-orange {
    border-top: 1px dashed #fa8c16;
}

/* =============================== Ranking Detail Section (共通スタイル for 3–6) =============================== */


.ranking-detail-card {
    background-color: #ffffff;
    border: 3px solid transparent;
    border-radius: 12px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.ranking-detail-header {
    background-color: transparent;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.ranking-detail-medal {
    width: 109.487px;
    height: 120px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ranking-detail-medal-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ranking-detail-header-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}

.ranking-detail-title-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.ranking-detail-title-icon {
    width: 22px;
    height: 28px;
}

.ranking-detail-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.5;
    margin: 0;
}

.ranking-detail-subtitle {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 28px;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.5;
    margin: 0;
}


.ranking-detail-content-wrapper {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 8px 32px;
}

.ranking-detail-icon {
    width: 130px;
    height: 130px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ranking-detail-icon-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.ranking-detail-description {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 10px;
}

.ranking-detail-description p {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 28px;
    font-weight: 400;
    color: #2e2e2e;
    line-height: normal;
    margin: 0 0 8px;
}

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

.ranking-detail-cta-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 32px;
}

.ranking-detail-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9.297px;
    padding: 11.156px 22.312px;
    background-color: transparent;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0px 1.859px 0px 0px rgba(0, 0, 0, 0.04);
    transition: background-color 0.3s ease, opacity 0.3s ease;
}

.ranking-detail-cta-button:hover {
    background-color: inherit;
    text-decoration: none;
    opacity: 0.95;
}

.ranking-detail-cta-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 22.312px;
    font-weight: 700;
    color: #ffffff;
    line-height: 29.749px;
    white-space: nowrap;
}

.ranking-detail-cta-icon {
    width: 22.312px;
    height: 22.312px;
    flex-shrink: 0;
    object-fit: contain;
}

.ranking-detail-divider {
    height: 1px;
    width: 100%;
    border-top: 3px dashed transparent;
    margin: 0;
}

.ranking-detail-theme-1 .ranking-detail-cta-button {
    background-color: #ff2d55;
}

/* =============================== Ranking Detail Sections 3–8 Themes =============================== */

/* 3位 ひまわり探偵事務所 – Yellow theme */
.ranking-detail-theme-3 .ranking-detail-card {
    border-color: #ffec3d;
}

.ranking-detail-theme-3 .ranking-detail-header,
.ranking-detail-theme-3 .ranking-detail-cta-button {
    background-color: #ad8b00;
}

.ranking-detail-theme-3 .ranking-detail-divider {
    border-top-color: #ad8b00;
}

/* 4位 弁護士推奨あい探偵事務所 – Pink theme */
.ranking-detail-theme-4 .ranking-detail-card {
    border-color:  #ff2d55;
}

.ranking-detail-theme-4 .ranking-detail-header,
.ranking-detail-theme-4 .ranking-detail-cta-button {
    background-color: #ff2d55;
}

.ranking-detail-theme-4 .ranking-detail-divider {
    border-top-color: #ff2d55;
}

/* 5位 ベリーグッド探偵事務所 – Blue / Orange theme */
.ranking-detail-theme-5 .ranking-detail-card {
    border-color: #fa8c16;
}

.ranking-detail-theme-5 .ranking-detail-header,
.ranking-detail-theme-5 .ranking-detail-cta-button {
    background-color: #fa8c16;
}

.ranking-detail-theme-5 .ranking-detail-divider {
    border-top-color: #fa8c16;
}

/* 6位 ピーチ探偵社 – Deep Orange theme */
.ranking-detail-theme-6 .ranking-detail-card {
    border-color: #d46b08;
}

.ranking-detail-theme-6 .ranking-detail-header,
.ranking-detail-theme-6 .ranking-detail-cta-button {
    background-color: #d46b08;
}

.ranking-detail-theme-6 .ranking-detail-cta-button:hover {
    background-color: #ad4e00;
}

.ranking-detail-theme-6 .ranking-detail-divider {
    border-top-color: #d46b08;
}

/* 7位 MR探偵事務所 – Dark Red theme */
.ranking-detail-theme-7 .ranking-detail-card {
    border-color: #872229;
}

.ranking-detail-theme-7 .ranking-detail-header,
.ranking-detail-theme-7 .ranking-detail-cta-button {
    background-color: #872229;
}

.ranking-detail-theme-7 .ranking-detail-divider {
    border-top-color: #872229;
}

/* 8位 株式会社AMUSE – Deep Blue theme */
.ranking-detail-theme-8 .ranking-detail-card {
    border-color: #0B00A0;
}

.ranking-detail-theme-8 .ranking-detail-header,
.ranking-detail-theme-8 .ranking-detail-cta-button {
    background-color: #0B00A0;
}

.ranking-detail-theme-8 .ranking-detail-divider {
    border-top-color: #0B00A0;
}
/* 9位 HAL探偵社 – Pink theme */
.ranking-detail-theme-9 .ranking-detail-card {
    border-color: #EA638E;
}

.ranking-detail-theme-9 .ranking-detail-header,
.ranking-detail-theme-9 .ranking-detail-cta-button {
    background-color: #EA638E;
}

.ranking-detail-theme-9 .ranking-detail-divider {
    border-top-color: #EA638E;
}

/* 10位 FUJIリサーチ – Yellow theme */
.ranking-detail-theme-10 .ranking-detail-card {
    border-color: #FFA901;
}

.ranking-detail-theme-10 .ranking-detail-header,
.ranking-detail-theme-10 .ranking-detail-cta-button {
    background-color: #FFA901;
}

.ranking-detail-theme-10 .ranking-detail-divider {
    border-top-color: #FFA901;
}

/* Ranking Detail Section – mobile (Figma 101:2406, 3–6 共通) */
@media (max-width: 768px) {
    .ranking-detail-title-icon {
        width: 12px;
        height: 18px;
    }

    .ranking-detail-section {
        padding: 32px 24px;
    }

    .ranking-detail-card {
        padding: 24px;
        gap: 24px;
    }

    .ranking-detail-header {
        padding: 24px;
        gap: 16px;
        align-items: flex-start;
        flex-direction: column;
    }

    .ranking-detail-medal {
        width: 70px;
        height: 76px;
    }

    .ranking-detail-title {
        font-size: 20px;
        line-height: 28px;
    }

    .ranking-detail-subtitle {
        font-size: 20px;
        line-height: 28px;
    }

    .ranking-detail-content-wrapper {
        flex-direction: column;
        align-items: center;
        padding: 16px 0 0;
        gap: 16px;
    }

    .ranking-detail-icon {
        width: 130px;
        height: 130px;
    }

    .ranking-detail-description {
        padding: 0;
    }

    .ranking-detail-description p {
        font-family: 'Hiragino Kaku Gothic Pro', 'Noto Sans JP', sans-serif;
        font-size: 16px;
        line-height: 24px;
        text-align: left;
    }

    .ranking-detail-cta-wrapper {
        padding: 0;
    }

    .ranking-detail-cta-button {
        width: 100%;
        padding: 9.138px 18.276px;
        gap: 7.615px;
    }

    .ranking-detail-cta-text {
        font-size: 18.276px;
        line-height: 24.368px;
        white-space: nowrap;
        text-align: center;
    }

    .ranking-detail-cta-icon {
        width: 18.276px;
        height: 18.276px;
    }
}


/* =============================== Ranking Detail Section 6 (ピーチ探偵社) =============================== */

/* More Button Below Ranking 6 */
.ranking-6-more-btn-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 32px;
    margin-bottom: 32px;
}

.ranking-6-more-btn {
    display: inline-block;
    padding: 19px 32px;
    border-radius: 12px;
    background-color: #52c41a;
    border: 1px solid #52c41a;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
    cursor: pointer;
    outline: none;
}

.ranking-6-more-btn:hover {
    background-color: #73d13d;
    border-color: #73d13d;
    text-decoration: none;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0px 4px 12px rgba(82, 196, 26, 0.3);
}

.ranking-6-more-btn:active {
    transform: translateY(0);
}

/* Collapse button for rankings 7-10 */
.ranking-collapse-btn-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 32px;
    margin-bottom: 32px;
}

.ranking-collapse-btn {
    display: inline-block;
    padding: 19px 32px;
    border-radius: 12px;
    background-color: #FA8C16;
    border: 1px solid #FA8C16;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
    cursor: pointer;
    outline: none;
}

.ranking-collapse-btn:hover {
    background-color: #ff7875;
    border-color: #ff7875;
    text-decoration: none;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0px 4px 12px rgba(255, 77, 79, 0.3);
}

.ranking-collapse-btn:active {
    transform: translateY(0);
}

/* =============================== Ranking Detail Section 10 Specific Styles =============================== */

.ranking-detail-10-features {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 16px;
}

.ranking-detail-10-features-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    color: #2e2e2e;
    line-height: 1.5;
    margin: 0 0 16px 0;
}

.ranking-detail-10-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
}

.ranking-detail-10-feature-item:not(:last-child) {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 12px;
    margin-bottom: 4px;
}

.ranking-detail-10-feature-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    object-fit: contain;
}

.ranking-detail-10-feature-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 28px;
    font-weight: 400;
    color: #2e2e2e;
    line-height: 1.5;
}

/* =============================== Evaluation Criteria Section =============================== */
.evaluation-criteria-section {
    background-color: #FAFAFA;
    padding: 128px 448px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.evaluation-criteria-container {
    display: flex;
    flex-direction: column;
    gap: 48px;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.evaluation-criteria-title-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
    width: 100%;
}

.evaluation-criteria-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 64px;
    font-weight: 700;
    color: #fa8c16;
    line-height: 1.4;
    text-align: center;
    white-space: nowrap;
    margin: 0;
}

.evaluation-criteria-location {
    color: #fa8c16;
}

.evaluation-criteria-table-wrapper {
    max-width: 1040px;
    width: 100%;
    flex-shrink: 0;
    box-shadow: 0px 4px 20px 0px rgba(145, 213, 255, 0.25);
}

.evaluation-criteria-table {
    width: 100%;
    max-width: 1040px;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 24px;
    overflow: hidden;
    background-color: #ffffff;
}

.evaluation-criteria-header-row {
    width: 100%;
}

.evaluation-criteria-header-cell {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    line-height: 28px;
    text-decoration: underline;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    padding: 24px;
    background-color: #fa8c16;
    white-space: nowrap;
    text-align: left;
}

.evaluation-criteria-header-cell-left {
    width: 278px;
    border-top-left-radius: 24px;
}

.evaluation-criteria-header-cell-right {
    border-top-right-radius: 24px;
}

.evaluation-criteria-row {
    width: 100%;
}

.evaluation-criteria-label-cell {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    line-height: 28px;
    text-decoration: underline;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    padding: 24px;
    width: 278px;
    white-space: nowrap;
    text-align: left;
    border-bottom: 1px solid #fa8c16;
}

.evaluation-criteria-row-last .evaluation-criteria-label-cell {
    border-bottom: none;
    border-bottom-left-radius: 24px;
}

.evaluation-criteria-content-cell {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #000000;
    line-height: 28px;
    padding: 24px;
    white-space: nowrap;
    text-align: left;
    border-bottom: 1px solid #fa8c16;
}

.evaluation-criteria-row-last .evaluation-criteria-content-cell {
    border-bottom: none;
    border-bottom-right-radius: 24px;
}

/* Evaluation Criteria – mobile (Figma 101:3371) */
@media (max-width: 768px) {
    .evaluation-criteria-section {
        padding: 48px 24px;
    }

    .evaluation-criteria-container {
        gap: 24px;
        max-width: 430px;
    }

    .evaluation-criteria-title {
        font-size: 32px;
        line-height: 1.4;
        white-space: normal;
    }

    .evaluation-criteria-table-wrapper {
        max-width: 382px;
        width: 100%;
    }

    .evaluation-criteria-header-cell {
        font-size: 20px;
        line-height: 28px;
        padding: 16px 20px;
        width: 50%;
    }

    .evaluation-criteria-label-cell,
    .evaluation-criteria-content-cell {
        font-size: 16px;
        line-height: 24px;
        padding: 16px 20px;
        white-space: normal;
        width: 50%;
    }

    .evaluation-criteria-header-cell-left,
    .evaluation-criteria-header-cell-right {
        border-radius: 0;
    }

    .evaluation-criteria-row-last .evaluation-criteria-label-cell,
    .evaluation-criteria-row-last .evaluation-criteria-content-cell {
        border-bottom: 1px solid #fa8c16;
    }
}

/* =============================== FAQ Section =============================== */
.faq-section {
    background-color: #fa8c16;
    padding: 128px 448px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 48px;
    align-items: center;
    justify-content: center;
    max-width: 1024px;
    width: 100%;
}

.faq-title-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
    width: 100%;
}

.faq-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 64px;
    font-weight: 700;
    color: #ffec3d;
    line-height: 1.4;
    text-align: center;
    margin: 0;
}

.faq-items-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    width: 100%;
    flex-shrink: 0;
}

.faq-item {
    background-color: #ffffff;
    border-radius: 24px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    width: 100%;
    flex-shrink: 0;
}

.faq-question-row {
    display: flex;
    align-items: flex-start;
    width: 100%;
    flex-shrink: 0;
}

.faq-answer-row {
    display: flex;
    align-items: flex-start;
    width: 100%;
    border-top: 1px solid #cccccc;
    padding-top: 12px;
    padding-bottom: 12px;
    flex-shrink: 0;
}

.faq-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50px;
    padding-top: 9.2px;
    padding-bottom: 9.8px;
    flex-shrink: 0;
    font-family: 'Hiragino Kaku Gothic Pro', 'Noto Sans JP', sans-serif;
    font-size: 18px;
    line-height: 30.6px;
    text-align: center;
    white-space: nowrap;
    font-style: normal;
}

.faq-badge-q {
    background-color: #d46b08;
    color: #ffffff;
}

.faq-badge-a {
    background-color: #f3f3f3;
    color: #333333;
}

.faq-question-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-left: 20px;
    padding-right: 0;
    padding-top: 12px;
    padding-bottom: 12px;
    flex: 1;
    flex-shrink: 0;
    font-family: 'Hiragino Kaku Gothic Pro', 'Noto Sans JP', sans-serif;
    font-size: 18px;
    line-height: 30.6px;
    color: #333333;
    white-space: nowrap;
    font-style: normal;
}

.faq-answer-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-left: 20px;
    padding-right: 0;
    padding-top: 12px;
    padding-bottom: 12px;
    flex: 1;
    flex-shrink: 0;
    font-family: 'Hiragino Kaku Gothic Pro', 'Noto Sans JP', sans-serif;
    font-size: 18px;
    line-height: 30.6px;
    color: #333333;
    font-style: normal;
}

/* FAQ Section – mobile (Figma 101:3405) */
@media (max-width: 768px) {
    .faq-section {
        padding: 48px 24px;
    }

    .faq-container {
        max-width: 430px;
        gap: 24px;
    }

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

    .faq-items-wrapper {
        gap: 12px;
    }

    .faq-item {
        padding: 20px;
        border-radius: 24px;
    }

    .faq-question-text,
    .faq-answer-text {
        font-size: 16px;
        line-height: 24px;
        white-space: normal;
    }
}

/* Hero Guide Section */
.hero-guide-section {
    position: relative;
    width: 100%;
    padding: 128px 50px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    background-color: #ffffff;
}

.hero-guide-bg-circle {
    position: absolute;
    width: 1350px;
    height: 1350px;
    z-index: 0;
}

.hero-guide-bg-circle-left {
    left: -878px;
    top: -836.94px;
    background: radial-gradient(circle, rgba(255, 231, 186, 0.3) 0%, transparent 70%);
}

.hero-guide-bg-circle-right {
    left: 1185px;
    top: 1528.06px;
    background: radial-gradient(circle, rgba(255, 231, 186, 0.3) 0%, transparent 70%);
}

.hero-guide-container {
    position: relative;
    z-index: 1;
    flex: 1;
    max-width: 1154px;
}

.hero-guide-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    width: 100%;
}

.hero-guide-badge {
    background-color: #40a9ff;
    border-radius: 1000px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-guide-badge-text {
    font-family: 'Hiragino Kaku Gothic Pro', 'Noto Sans JP', sans-serif;
    font-weight: 600;
    font-size: 40px;
    line-height: 1.4;
    color: #ffffff;
    margin: 0;
    white-space: pre;
}

.hero-guide-title-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero-guide-main-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 64px;
    line-height: 1.4;
    color: #fa8c16;
    text-align: center;
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
}

.hero-guide-location {
    color: #fa8c16;
}

.hero-guide-subtitle {
    display: flex;
    flex-direction: column;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    color: #000000;
    text-align: center;
    width: 100%;
    margin: 0;
}

.hero-guide-subtitle p {
    margin: 0;
}

.hero-guide-description {
    font-family: 'Hiragino Kaku Gothic Pro', 'Noto Sans JP', sans-serif;
    font-weight: 300;
    font-size: 24px;
    line-height: 32px;
    color: #000000;
    text-align: center;
    width: 100%;
}

.hero-guide-description p {
    margin: 0;
}

.hero-guide-highlight-red {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    color: #873800;
}

.hero-guide-main-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    align-items: center;
}

.hero-guide-point {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    align-items: flex-start;
}

.hero-guide-point-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    color: #fa8c16;
    margin: 0 0 0 0;
}

.hero-guide-point-text {
    font-family: 'Hiragino Kaku Gothic Pro', 'Noto Sans JP', sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 22px;
    color: #000000;
    margin: 24px 0 0 0;
}

.hero-guide-text-highlight {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    color: #ad4e00;
}

.hero-guide-comparison-box {
    box-shadow: 0px 4px 20px 0px rgba(145, 213, 255, 0.25);
    width: 100%;
    margin-top: 24px;
    margin-bottom: 0;
    border-radius: 24px;
    overflow: hidden;
    background-color: #ffffff;
}

.hero-guide-comparison-header {
    display: flex;
    width: 100%;
}

.hero-guide-comparison-header-cell {
    flex: 1;
    padding: 24px;
    display: flex;
    align-items: center;
    width: 50%;
}

.hero-guide-comparison-header-good {
    background-color: #fa8c16;
}

.hero-guide-comparison-header-bad {
    background-color: #fa8c16;
}

.hero-guide-comparison-header-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
    color: #ffffff;
    text-decoration: underline;
    margin: 0;
    white-space: normal;
}

.hero-guide-comparison-row {
    display: flex;
    width: 100%;
    border-bottom: 1px solid #91d5ff;
}

.hero-guide-comparison-row:last-child {
    border-bottom: none;
}

.hero-guide-comparison-row:last-child .hero-guide-comparison-cell:last-child {
    border-bottom-right-radius: 24px;
}

.hero-guide-comparison-cell {
    flex: 1;
    padding: 24px;
    display: flex;
    align-items: center;
    width: 50%;
    border-right: 1px solid #91d5ff;
}

.hero-guide-comparison-cell:last-child {
    border-right: none;
}

.hero-guide-comparison-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
    text-decoration: underline;
    margin: 0;
    white-space: normal;
}

.hero-guide-comparison-text-good {
    color: #52c41a;
}

.hero-guide-comparison-text-bad {
    color: #ff4d4f;
}

.hero-guide-note {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    color: #000000;
    margin: 24px 0 0 0;
}

.hero-guide-note-label {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
}

.hero-guide-note-highlight {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    color: #ad4e00;
}

.hero-guide-summary-box {
    background-color: #fff7e6;
    border: 1px solid #ffa940;
    padding: 24px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-guide-summary-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
    color: #000000;
    text-decoration: underline;
    margin: 0;
    width: 100%;
}

.hero-guide-summary-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.hero-guide-summary-item {
    display: flex;
    gap: 8px;
    align-items: center;
    width: 100%;
}

.hero-guide-summary-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.hero-guide-summary-text {
    font-family: 'Hiragino Kaku Gothic Pro', 'Noto Sans JP', sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 22px;
    color: #000000;
    margin: 0;
    white-space: pre;
}

.hero-guide-cta-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero-guide-cta-button {
    background-color: #52c41a;
    border: 1px solid #52c41a;
    border-radius: 24px;
    padding: 19px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.hero-guide-cta-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: #ffffff;
    text-align: center;
    white-space: pre;
    margin: 0;
}

.hero-guide-image-left {
    position: relative;
    width: 251px;
    height: 300px;
    z-index: 1;
    flex-shrink: 0;
}

.hero-guide-image-left img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.hero-guide-image-right {
    position: relative;
    width: 317px;
    height: 362px;
    z-index: 1;
    flex-shrink: 0;
    align-self: flex-end;
}

.hero-guide-image-right img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.hero-guide-image-mobile {
    display: none;
}

.hero-guide-image-mobile img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Hero Guide – mobile (Figma 101:3513) */
@media (max-width: 768px) {
    .hero-guide-section {
        padding: 48px 24px 0;
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .hero-guide-container {
        max-width: 430px;
    }

    .hero-guide-content {
        gap: 24px;
    }

    .hero-guide-badge {
        padding: 8.926px 7.438px;
    }

    .hero-guide-badge-text {
        font-size: 18px;
        line-height: 23.802px;
    }

    .hero-guide-main-title {
        font-size: 32px;
        line-height: 1.4;
    }

    .hero-guide-subtitle {
        font-size: 20px;
        line-height: 28px;
    }

    .hero-guide-description {
        font-size: 14px;
        line-height: 22px;
    }

    .hero-guide-point-title {
        font-size: 24px;
        line-height: 32px;
    }

    .hero-guide-point-text {
        font-size: 14px;
        line-height: 22px;
        margin-top: 16px;
    }

    .hero-guide-comparison-box {
        margin-top: 16px;
        border-radius: 24px;
    }

    .hero-guide-comparison-header-cell {
        padding: 16px 20px;
    }

    .hero-guide-comparison-header-text {
        font-size: 20px;
        line-height: 28px;
        white-space: normal;
    }

    .hero-guide-comparison-cell {
        padding: 16px 20px;
    }

    .hero-guide-comparison-text {
        font-size: 20px;
        line-height: 28px;
        white-space: normal;
    }

    .hero-guide-note {
        font-size: 14px;
        line-height: 22px;
        margin-top: 16px;
    }

    .hero-guide-summary-box {
        padding: 24px;
    }

    .hero-guide-summary-title {
        font-size: 20px;
        line-height: 28px;
    }

    .hero-guide-summary-text {
        font-size: 14px;
        line-height: 22px;
    }

    .hero-guide-cta-button {
        width: 100%;
    }

    .hero-guide-cta-text {
        font-size: 16px;
        line-height: 24px;
    }

    .hero-guide-image-mobile {
        display: block;
        width: 100%;
        max-width: 346px;
        margin: 24px auto 0;
    }

    .hero-guide-image-left,
    .hero-guide-image-right {
        display: none;
    }
}

/* Summary Hero Section */
.summary-hero-section {
    background-color: #fff7e6;
    width: 100%;
}

.summary-hero-container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 128px 448px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

.summary-hero-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 64px;
    line-height: 1.4;
    color: #fa8c16;
    text-align: center;
    margin: 0;
    padding: 0;
}

.summary-hero-text {
    width: 100%;
    text-align: center;
}

.summary-hero-text p {
    font-family: 'Hiragino Kaku Gothic Pro', 'Noto Sans JP', sans-serif;
    font-weight: 300;
    font-size: 24px;
    line-height: 32px;
    color: #000000;
    margin: 0;
    padding: 0;
}

.summary-hero-text .summary-text-bold {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    color: #873800;
}

.summary-hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.summary-btn {
    display: inline-block;
    padding: 13px 25px;
    border-radius: 24px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.summary-btn:hover {
    opacity: 0.9;
}

.summary-btn-green {
    background-color: #52c41a;
    border: 1px solid #52c41a;
}

.summary-btn-orange {
    background-color: #fa8c16;
    box-shadow: 0px 2px 0px 0px rgba(0, 0, 0, 0.04);
}

.summary-hero-image-left {
    position: absolute;
    left: 104px;
    top: 342.8px;
    width: 370px;
    height: 445px;
    z-index: 1;
}

.summary-hero-image-left img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.summary-hero-image-right {
    position: absolute;
    left: 1318px;
    top: 340.8px;
    width: 488px;
    height: 472px;
    z-index: 1;
}

.summary-hero-image-right img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Summary Hero – mobile (Figma 101:3442) */
@media (max-width: 768px) {
    .summary-hero-container {
        max-width: 430px;
        padding: 48px 24px;
        gap: 24px;
    }

    .summary-hero-title {
        font-size: 32px;
        line-height: 1.4;
    }

    .summary-hero-text p {
        font-size: 14px;
        line-height: 22px;
    }

    .summary-hero-buttons {
        gap: 18.53px;
        width: 100%;
    }

    .summary-btn {
        font-size: 18.53px;
        line-height: 24.706px;
        padding: 10.265px 19.53px;
        width: 100%;
        max-width: 382px;
    }

    .summary-hero-image-left {
        display: none;
    }

    .summary-hero-image-right {
        position: static;
        width: 336px;
        height: 324.984px;
    }
}

/* Detective Columns Section */
.detective-columns-section {
    width: 100%;
    padding: 96px 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #ffffff;
}

.detective-columns-container {
    display: flex;
    flex-direction: column;
    gap: 64px;
    align-items: center;
    max-width: 1656px;
    width: 100%;
}

.detective-columns-header {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    text-align: center;
    width: 100%;
}

.detective-columns-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 64px;
    line-height: 1.4;
    color: #ec6400;
    margin: 0;
    width: 100%;
}

.detective-columns-description {
    font-family: 'Hiragino Kaku Gothic Pro', 'Noto Sans JP', sans-serif;
    font-weight: 300;
    font-size: 24px;
    line-height: 32px;
    color: #000000;
    width: 100%;
}

.detective-columns-description p {
    margin: 0;
}

.detective-columns-desc-normal {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    color: #2e2e2e;
}

.detective-columns-desc-highlight {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    color: #ff8d28;
}

.detective-columns-grid {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    width: 100%;
    justify-content: center;
}

.detective-column-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.detective-column-card-link:hover .detective-column-card {
    transform: translateY(-4px);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.08);
}

.detective-column-card {
    display: flex;
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
    width: 336px;
    flex-shrink: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.detective-column-image {
    background-color: #000000;
    height: 245px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.detective-column-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 428px;
    height: 285px;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
}

.detective-column-placeholder {
    width: 100%;
    height: 100%;
    background-color: #cccccc;
}

.detective-column-card-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    color: #1c1c1c;
    margin: 0;
    width: 100%;
    min-height: 96px;
}

.detective-column-card-description {
    font-family: 'Hiragino Kaku Gothic Pro', 'Noto Sans JP', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
    color: #000000;
    width: 100%;
    height: 50px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.detective-column-author {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 100%;
    gap: 8px;
}

.detective-column-author-name,
.detective-column-author-office {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5;
    color: #ec6400;
    margin: 0;
    text-align: right;
}

.detective-column-author-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    vertical-align: middle;
}

.detective-columns-footer {
    display: flex;
    justify-content: center;
    width: 100%;
    position: relative;
}

.detective-columns-more-btn {
    background-color: #fa8c16;
    border-radius: 24px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0px 2px 0px 0px rgba(0, 0, 0, 0.04);
}

.detective-columns-more-btn-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    color: #ffffff;
    text-align: center;
    white-space: pre;
    margin: 0;
}

.detective-columns-useful-info {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-top: 0;
}

.detective-columns-useful-info-link {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
    color: #d46b08;
    text-decoration: underline;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

/* Detective Columns Section – mobile (Figma 101:3616) */
@media (max-width: 768px) {
    .detective-columns-section {
        padding: 48px 24px;
    }

    .detective-columns-container {
        gap: 24px;
        max-width: 430px;
    }

    .detective-columns-header {
        gap: 10px;
    }

    .detective-columns-title {
        font-size: 32px;
        line-height: 1.4;
    }

    .detective-columns-description {
        font-size: 14px;
        line-height: 22px;
        max-width: 392px;
    }

    .detective-columns-desc-highlight {
        color: #fa541c;
    }

    .detective-columns-grid {
        flex-direction: column;
        gap: 48px;
        align-items: flex-start;
    }

    .detective-column-card {
        width: 336px;
    }

    .detective-columns-useful-info {
        margin-top: 0;
    }

    .detective-columns-useful-info-link {
        font-size: 20px;
        line-height: 28px;
    }
}

/* =============================== Company Section =============================== */
.company-section {
    background-color: #fff7e6;
    padding: 128px 248px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.company-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1440px;
}

.company-title-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    padding: 0 48px;
    width: 100%;
}

.company-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 64px;
    line-height: 1.4;
    color: #fa8c16;
    text-align: center;
    margin: 0;
    width: 100%;
}

.company-image-wrapper {
    height: 568px;
    overflow: hidden;
    position: relative;
    width: 886px;
    max-width: 100%;
}

.company-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Responsive styles for company section */
@media (max-width: 1440px) {
    .company-section {
        padding: 128px 128px;
    }
}

@media (max-width: 1024px) {
    .company-section {
        padding: 96px 64px;
    }
    
    .company-title {
        font-size: 48px;
    }
    
    .company-image-wrapper {
        height: auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .company-section {
        padding: 64px 32px;
    }
    
    .company-title {
        font-size: 40px;
    }
    
    .company-title-wrapper {
        padding: 0 24px;
    }
    
    .company-container {
        gap: 20px;
    }
}

/* =============================== Company Info Table Section =============================== */
.company-info-section {
    padding: 128px 448px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.company-info-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1440px;
}

.company-info-table {
    background-color: #ffffff;
    border-radius: 24px;
    box-shadow: 0px 4px 20px 0px rgba(145, 213, 255, 0.25);
    width: 100%;
    overflow: hidden;
}

.company-info-row {
    display: flex;
    align-items: center;
    width: 100%;
    border-bottom: 1px solid #ffa940;
}

.company-info-row:last-child {
    border-bottom: none;
}

.company-info-header-row {
    background-color: #fa8c16;
    border-bottom: none;
}

.company-info-label {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
    color: #000000;
    padding: 24px;
    width: 433px;
    flex-shrink: 0;
    white-space: nowrap;
}

.company-info-header-label {
    color: #ffffff;
}

.company-info-value {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
    color: #000000;
    padding: 24px;
    flex: 1;
    min-width: 0;
}

.company-info-header-value {
    color: #ffffff;
}

/* Responsive styles for company info section */
@media (max-width: 1440px) {
    .company-info-section {
        padding: 128px 248px;
    }
}

@media (max-width: 1024px) {
    .company-info-section {
        padding: 96px 64px;
    }
    
    .company-info-label {
        width: 300px;
        font-size: 18px;
    }
    
    .company-info-value {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .company-info-section {
        padding: 64px 32px;
    }
    
    .company-info-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .company-info-label {
        width: 100%;
        padding: 20px 20px 12px;
        font-size: 18px;
    }
    
    .company-info-value {
        padding: 0 20px 20px;
        font-size: 16px;
        width: 100%;
    }
    
    .company-info-header-row {
        flex-direction: row;
    }
    
    .company-info-header-label {
        padding: 24px;
    }
    
    .company-info-header-value {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .company-info-section {
        padding: 48px 24px;
    }

    .company-info-container {
        gap: 24px;
    }

    .company-info-table {
        box-shadow: 0px 4px 20px 0px rgba(145, 213, 255, 0.25);
        border-radius: 24px;
    }

    .company-info-row {
        display: flex;
        flex-direction: row;
        align-items: center;
        border-bottom: 1px solid #FFA940;
    }

    .company-info-row:last-child {
        border-bottom: none;
    }

    .company-info-label {
        width: 120px;
        min-width: 120px;
        font-size: 14px;
        line-height: 28px;
        font-weight: 400;
        padding: 24px 12px 24px 24px;
        color: #000000;
    }

    .company-info-value {
        font-size: 12px;
        line-height: 1.2;
        font-weight: 400;
        padding: 24px 24px 24px 12px;
        color: #000000;
        flex: 1;
        width: auto;
    }

    .company-info-header-row {
        background-color: #FA8C16;
        border-bottom: none;
        flex-direction: row;
    }

    .company-info-header-row .company-info-label {
        background-color: #FA8C16;
        border-top-left-radius: 24px;
    }

    .company-info-header-row .company-info-value {
        background-color: #FA8C16;
        border-top-right-radius: 24px;
    }

    .company-info-header-label {
        font-size: 15px;
        line-height: 1.2;
        color: #FFFFFF;
        padding: 24px;
    }

    .company-info-header-value {
        font-size: 15px;
        line-height: 1.2;
        color: #FFFFFF;
        padding: 24px;
    }
}

/* =============================== Summary & Next Action Section =============================== */
.summary-action-section {
    background-color: #ffffff;
    padding: 128px 448px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.summary-action-container {
    display: flex;
    flex-direction: column;
    gap: 48px;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.summary-action-header {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    width: 100%;
}

.summary-action-title-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    width: 100%;
}

.summary-action-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 64px;
    line-height: 1.4;
    color: #fa8c16;
    text-align: center;
    margin: 0;
    white-space: pre;
    width: 100%;
}

.summary-action-description {
    font-family: 'Hiragino Kaku Gothic Pro', 'Noto Sans JP', sans-serif;
    font-weight: 300;
    font-size: 24px;
    line-height: 32px;
    color: #000000;
    text-align: center;
    width: 100%;
}

.summary-action-description p {
    margin: 0;
}

.summary-action-columns {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    width: 100%;
}

.summary-action-column {
    flex: 1;
    display: flex;
    gap: 12px;
    align-items: center;
    min-width: 0;
}

.summary-action-column-bar {
    width: 15px;
    flex-shrink: 0;
    align-self: stretch;
}

.summary-action-column-bar-green {
    background-color: #52c41a;
}

.summary-action-column-bar-orange {
    background-color: #fa8c16;
}

.summary-action-column-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
}

.summary-action-column-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 32px;
    text-align: center;
    white-space: pre;
    margin: 0;
}

.summary-action-column-title-green {
    color: #73d13d;
}

.summary-action-column-title-orange {
    color: #fa8c16;
}

.summary-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.summary-action-button {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    text-decoration: none;
    overflow: hidden;
}

.summary-action-button-green {
    background-color: #52c41a;
    border: 1px solid #52c41a;
    padding: 13px 25px;
}

.summary-action-button-orange {
    background-color: #fa8c16;
    border: 1px solid #fa8c16;
    padding: 12px 24px;
    box-shadow: 0px 2px 0px 0px rgba(0, 0, 0, 0.04);
}

.summary-action-button-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    color: #ffffff;
    text-align: center;
    white-space: pre;
    margin: 0;
}

/* Responsive styles for summary action section */
@media (max-width: 1440px) {
    .summary-action-section {
        padding: 128px 248px;
    }
}

@media (max-width: 1024px) {
    .summary-action-section {
        padding: 96px 64px;
    }

    .summary-action-title {
        font-size: 48px;
    }

    .summary-action-description {
        font-size: 20px;
        line-height: 28px;
    }
}

@media (max-width: 768px) {
    .summary-action-section {
        padding: 64px 32px;
    }

    .summary-action-columns {
        flex-direction: column;
        gap: 48px;
    }

    .summary-action-title {
        font-size: 36px;
    }

    .summary-action-description {
        font-size: 18px;
        line-height: 26px;
    }

    .summary-action-button-text {
        font-size: 18px;
        line-height: 24px;
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .summary-action-section {
        padding: 48px 24px;
    }

    .summary-action-container {
        gap: 24px;
    }

    .summary-action-header {
        gap: 10px;
        align-items: center;
    }

    .summary-action-title-wrapper {
        align-items: center;
    }

    .summary-action-title {
        font-size: 32px;
        line-height: 1.4;
        white-space: normal;
    }

    .summary-action-description {
        font-size: 14px;
        line-height: 22px;
        text-align: center;
    }

    .summary-action-columns {
        flex-direction: column;
        gap: 48px;
        width: 100%;
    }

    .summary-action-column {
        display: flex;
        flex-direction: row;
        gap: 12px;
        align-items: stretch;
        width: 100%;
    }

    .summary-action-column-bar {
        width: 15px;
        min-width: 15px;
        height: auto;
        flex-shrink: 0;
    }

    .summary-action-column-content {
        gap: 12px;
        flex: 1;
    }

    .summary-action-column-title {
        font-size: 36px;
        line-height: 32px;
    }

    .summary-action-buttons {
        gap: 12px;
    }

    .summary-action-button {
        padding: 10px 20px;
        border-radius: 24px;
    }

    .summary-action-button-green {
        padding: 10px 20px;
    }

    .summary-action-button-orange {
        padding: 9px 19px;
    }

    .summary-action-button-text {
        font-size: 18px;
        line-height: 24px;
        white-space: normal;
    }
}

/* =============================== Topic Hero Section =============================== */
/* =============================== Privacy Policy Hero Section =============================== */
.policy-hero-section {
    width: 100%;
    padding: 48px 132px;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.policy-hero-container {
    width: 100%;
    max-width: 100%;
}

.policy-hero-box {
    background-color: #fa8c16;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    padding: 48px;
    border-radius: 24px;
    width: 100%;
}

.policy-hero-title {
    font-family: 'Dela Gothic One', sans-serif;
    font-weight: 400;
    font-size: 64px;
    line-height: 1;
    color: #ffffff;
    margin: 0;
    display: flex;
    flex-direction: row;
}

.policy-hero-title span {
    display: inline;
}

.policy-hero-description {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    color: #ffffff;
    width: 100%;
    margin-top: 30px;
}

.policy-hero-description p {
    margin: 0 0 0 0;
}

.policy-hero-description p:last-child {
    margin-bottom: 0;
}

/* =============================== Privacy Policy Content Section =============================== */
.policy-content-section {
    box-sizing: border-box;
    width: 100%;
    padding: 128px 448px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.policy-content-container {
    width: 100%;
    max-width: 100%;
}

.policy-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 48px;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
}

.policy-section {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.policy-section-header {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-bottom: 0;
}

.policy-section-bar {
    background-color: #ffa940;
    width: 15px;
    height: 64px;
    flex-shrink: 0;
}

.policy-section-title {
    font-family: 'Hiragino Kaku Gothic Pro', 'Noto Sans JP', sans-serif;
    font-weight: 600;
    font-size: 36px;
    line-height: 32px;
    color: #000000;
    margin: 0;
    white-space: pre;
}

.policy-section-content {
    font-family: 'Hiragino Kaku Gothic Pro', 'Noto Sans JP', sans-serif;
    font-weight: 300;
    font-size: 24px;
    line-height: 32px;
    color: #333333;
    width: 100%;
    margin-top: 30px;
}

.policy-section-content p {
    margin: 0 0 0 0;
}

.policy-section-content p:last-child {
    margin-bottom: 0;
}

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

.policy-list li {
    margin-left: 36px;
    margin-bottom: 0;
    line-height: 32px;
}

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

/* ================================== begin breacum ================================== */

/* breacum */
.contact-section-breadcrumb-container {
    background: #F7F7F7;

}

.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;
    gap: 20px;
    align-items: center;
    background: #F7F7F7;
    /* padding: 10px 20px; */
}

.contact-section-breadcrumb .breadcrumb-link,
.contact-section-breadcrumb .breadcrumb-home-link {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

.contact-section-breadcrumb .breadcrumb-link:hover,
.contact-section-breadcrumb .breadcrumb-home-link:hover {
    opacity: 0.7;
}

.breadcrumb-home-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-home-link img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    /* Header - mobile (Figma Top Nav mobile) */
    .header-top-section {
        padding: 16px 20px;
        border-bottom: 1px solid #f4f4f4;
    }

    .header-container {
        padding: 0;
        justify-content: space-between;
    }

    .header-left {
        margin-left: 0;
        gap: 7.407px;
    }

    .logo {
        width: 44.443px;
        height: 46.722px;
    }

    .site-title,
    .site-location {
        font-family: 'Noto Sans JP', sans-serif;
        font-size: 17.004px;
        font-weight: 900;
        line-height: 1.2;
        white-space: nowrap;
    }

    .site-title {
        color: #612500;
    }

    .site-location {
        color: #fa8c16;
    }

    .header-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        z-index: 1002;
        position: relative;
    }

    /* Mobile Menu Toggle X Icon */
    .header-menu-toggle.is-active span {
        display: none;
    }

    .header-menu-toggle.is-active::before,
    .header-menu-toggle.is-active::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: #1c1c1c;
        top: 50%;
        left: 0;
    }

    .header-menu-toggle.is-active::before {
        transform: rotate(45deg);
    }

    .header-menu-toggle.is-active::after {
        transform: rotate(-45deg);
    }

    /* Mobile Menu Overlay */
    .top-header {
        position: relative;
    }

    /* Mobile Menu Backdrop (behind everything) */
    .mobile-menu-backdrop {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .mobile-menu-backdrop.is-open {
        display: block;
        opacity: 1;
    }

    /* Full Screen Mobile Menu */
    .header-menu-section {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1001;
        overflow: hidden;
        flex-direction: column;
    }

    .header-menu-section.is-open {
        display: flex;
    }

    .header-menu-container {
        padding: 80px 24px 24px 24px;
        height: 100%;
        overflow-y: auto;
        background-color: #ffffff;
    }

    .header-menu-section .header-nav {
        justify-content: flex-start;
    }

    .header-menu-section .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .header-menu-section .nav-link {
        width: 100%;
        padding: 20px 0;
        text-align: left;
        font-size: 18px;
        border-bottom: 1px solid #f0f0f0;
    }

    .header-menu-section .nav-menu li:last-child .nav-link {
        border-bottom: none;
    }

    /* Lock body scroll when menu is open */
    body.menu-open {
        overflow: hidden !important;
        position: fixed !important;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
    }

    /* Alternative: lock when header-menu-section has is-open class */
    body:has(.header-menu-section.is-open) {
        overflow: hidden !important;
    }

    .contact-section-breadcrumb {
        gap: 8px;
        padding: 12px 16px;
        flex-wrap: wrap;
        align-items: center;
    }

    .contact-section-breadcrumb p {
        margin: 0;
        padding: 0;
        display: flex;
        align-items: center;
    }

    .contact-section-breadcrumb p svg {
        width: 6px;
        height: 10px;
    }

    .breadcrumb-home-link {
        font-size: 12px;
        gap: 4px;
    }

    .breadcrumb-home-link img {
        width: 16px;
        height: 16px;
    }

    .breadcrumb-title {
        font-size: 12px;
        line-height: 1.4;
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .breadcrumb-title.breadcrumb-last {
        color: #6d6d6d;
        font-weight: 400;
    }

    .breadcrumb-link {
        font-size: 12px;
    }

    /* Policy Hero Section - Mobile */
    .policy-hero-section {
        padding: 0 24px 24px;
    }

    .policy-hero-box {
        padding: 48px;
        border-radius: 24px;
        gap: 24px;
    }

    .policy-hero-title {
        font-size: 36px;
        line-height: 1;
        display: flex;
        flex-direction: column;
    }

    .policy-hero-title span {
        display: block;
    }

    .policy-hero-description {
        font-size: 20px;
        line-height: 28px;
        margin-top: 0;
    }

    /* Policy Content Section - Mobile */
    .policy-content-section {
        padding: 128px 24px;
    }

    .policy-content-wrapper {
        gap: 48px;
    }

    .policy-section-bar {
        width: 9px;
        height: 64px;
    }

    .policy-section-header {
        gap: 24px;
        margin-bottom: 2em;
    }

    .policy-section-title {
        font-family: 'Noto Sans JP', sans-serif;
        font-weight: 400;
        font-size: 36px;
        line-height: 32px;
        color: #000000;
        white-space: normal;
    }

    .policy-section-content {
        font-family: 'Hiragino Kaku Gothic Pro', 'Noto Sans JP', sans-serif;
        font-weight: 300;
        font-size: 24px;
        line-height: 32px;
        color: #333333;
        margin-top: 0;
    }

    .policy-list li {
        margin-left: 36px;
        line-height: 32px;
    }
}

/* ================================== end breacum ================================== */