/* 认证导购页面 */
html {
    scroll-behavior: smooth;
}

.csa-page {
    overflow-x: hidden;
    background: #ffffff;
    color: #222222;
    font-family: "Noto Sans CJK JP", sans-serif;
    /* font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif; */
}

.csa-page *,
.csa-page *::before,
.csa-page *::after {
    box-sizing: border-box;
}

.csa-page img {
    max-width: 100%;
    height: auto;
    vertical-align: top;
}

.csa-page a {
    text-decoration: none;
}

.csa-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 顶部导航覆盖全局店铺页样式 */
.csa-page .agent_box {
    width: 100%;
}

.csa-page .agent_box_show .agent_top {
    height: auto;
    line-height: 1;
    padding: 0 20px;
    box-sizing: border-box;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.16);
    position: static;
    overflow: visible;
}

.csa-page .agent_box_show .agent_top .agent_nav {
    width: 100%;
    max-width: 1400px;
    height: auto;
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
    position: static;
    transform: none;
    display: block;
    margin: 0 auto;
    overflow: visible;
}

.csa-page .agent_box_show .agent_top .agent_nav p {
    padding: 0;
}

.csa-page .agent_box_show .agent_top .agent_nav p a {
    margin: 0 24px;
    box-sizing: border-box;
    padding: 40px 0;
}

/* Hero */
.csa-hero {
    position: relative;
    min-height: 680px;
    background-color: #ffffff;
    background-image: url("../images/banner.jpg");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 1920px 680px;
}

.csa-hero-inner {
    max-width: 1920px;
    min-height: 680px;
    margin: 0 auto;
    padding: 72px 8% 80px;
    display: flex;
    align-items: center;
}

.csa-hero-content {
    width: 735px;
    max-width: 100%;
}

.csa-hero-brand {
    display: flex;
    align-items: center;
    margin-bottom: 36px;
}

.csa-hero-logo {
    width: 58px;
    height: 55px;
    object-fit: contain;
}

.csa-hero-brand-line {
    display: inline-block;
    width: 1px;
    height: 22px;
    margin: 0 14px;
    background: #cfcfcf;
}

.csa-hero-brand-text {
    font-size: 30px;
    font-weight: 700;
    color: #000000;
    letter-spacing: 0.04em;
}

.csa-hero-title {
    margin: 0 0 20px;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.5;
    color: #111111;
}

.csa-hero-desc {
    margin: 0 0 36px;
    font-size: 24px;
    line-height: 1.5;
    color: #666666;
}

.csa-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.csa-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 240px;
    height: 48px;
    padding: 0 20px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

 .csa-hero-actions .csa-hero-btn--solid {
    background: #0e97ff;
    border: 1px solid #0e97ff;
    color: #ffffff;
    font-size: 18px;
}

.csa-hero-actions .csa-hero-btn--solid:hover {
    background: #007ee0;
    border-color: #007ee0;
    color: #ffffff;
}

.csa-hero-btn--outline {
    background: #ffffff;
    border: 1px solid #0e97ff;
    color: #0e97ff;
}

.csa-hero-btn--outline:hover {
    background: #0e97ff;
    color: #ffffff;
}

.csa-btn-icon {
    display: inline-block;
    width: 16px;
    height: 18px;
    margin-right: 8px;
    flex-shrink: 0;
}

.csa-btn-icon--local {
    background-color: #ffffff;
    -webkit-mask: url("../images/icon_local.png") center / contain no-repeat;
    mask: url("../images/icon_local.png") center / contain no-repeat;
}

.csa-btn-icon--person {
    background-color: #0e97ff;
    -webkit-mask: url("../images/icon_person.png") center / contain no-repeat;
    mask: url("../images/icon_person.png") center / contain no-repeat;
}

.csa-hero-btn--outline:hover .csa-btn-icon--person {
    background-color: #ffffff;
}

.csa-hero-visual {
    display: none;
}

/* 认证说明 */
.csa-about {
    padding: 88px 0 40px;
    /* background: #ffffff; */
}

.csa-heading {
    margin: 0 0 20px;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.4;
    color: #111111;
    text-align: center;
}

.csa-heading--line {
    display: table;
    margin: 0 auto 48px;
    padding-bottom: 10px;
    border-bottom: 3px solid #222222;
}

.csa-lead {
    margin: 0 auto 48px;
    max-width: 760px;
    font-size: 24px;
    line-height: 1.5;
    color: #666666;
    text-align: center;
}

.csa-process {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 48px 36px 40px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(17, 24, 39, 0.08);
}

.csa-process-item {
    width: 28%;
    text-align: center;
}

.csa-process-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 231px;
    height: 231px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #0e97ff;
}

.csa-process-icon img {
    width: auto;
    max-width: 92px;
    max-height: 92px;
}

.csa-process-copy {
    width: 100%;
}

.csa-process-title {
    margin: 0 0 12px;
    font-size: 24px;
    font-weight: 700;
    color: #000000;
    text-align: center;
}

.csa-process-text {
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
    color: #666666;
    text-align: center;
}

.csa-process-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 60px;
    flex-shrink: 0;
    margin-bottom: 90px;
}

.csa-process-arrow img {
    width: 62px;
    height: auto;
}

/* 咨询主题 / 等级 / 顾问介绍 共用背景 */
.csa-main-bg {
    padding: 48px 0 100px;
    background-color: #f6f8fb;
    background-image: url("../images/bg.jpg");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% 100%;
}

.csa-topics {
    padding-top: 24px;
}

.csa-topic-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.csa-topic-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 148px;
    padding: 24px 10px 18px;
    background: #ffffff;
    border-radius: 30px;
    text-align: center;
}

.csa-topic-item img {
    width: auto;
    height: 61px;
    margin-bottom: 18px;
    object-fit: contain;
}

.csa-topic-item span {
    font-size: 18px;
    line-height: 1.3;
    color: #666666;
    font-weight: 600;
    text-align: center;
}

/* 认证等级 */
.csa-rank {
    padding-top: 88px;
}

.csa-rank-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.csa-rank-card {
    display: flex;
    align-items: center;
    min-height: 188px;
    padding: 28px 32px;
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 16px;
}

.csa-rank-card--expert {
    border-color: #e8d48b;
}

.csa-rank-badge {
    width: 200px;
    flex-shrink: 0;
    text-align: center;
    border-right: 1px solid #e6e6e6;
}

.csa-rank-badge img {
    width: 98px;
    height: auto;
    margin-bottom: 8px;
}

.csa-rank-en {
    margin: 0;
    font-size: 36px;
    font-weight: 700;
    color: #000;
}

.csa-rank-ja {
    margin: 2px 0 0;
    font-size: 30px;
    color: #000000;
}

.csa-rank-body {
    flex: 1;
    padding-left: 32px;
}

.csa-rank-body ul {
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}

.csa-rank-body li {
    position: relative;
    padding: 0 0 10px 0;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.3;
    color: #222222;
}

.csa-rank-body li:last-child {
    padding-bottom: 0;
}

.csa-rank-card--expert .csa-rank-body li::before {
    background: #d4b84a;
}

.csa-rank-note {
    margin: 16px 0 0;
    font-size: 18px;
    line-height: 1.7;
    color: #666;
}

/* 顾问介绍 */
.csa-advisor {
    padding-top: 88px;
    scroll-margin-top: 90px;
}

.csa-advisor-card {
    display: flex;
    overflow: hidden;
    background: #F8F8F8;
    border-radius: 13px;
    padding: 40px 50px;
    box-shadow: 0 10px 36px rgba(17, 24, 39, 0.08);
}

.csa-advisor-photo {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 42%;
    min-height: 320px;
}

.csa-advisor-photo img {
    width: 100%;
}

.csa-advisor-info {
    position: relative;
    flex: 1;
    padding-left: 40px;
}

.csa-advisor-rank {
    position: absolute;
    top: 28px;
    right: 36px;
    width: 64px;
    height: auto;
}

.csa-advisor-meta {
    margin-bottom: 24px;
    padding-right: 72px;
}


.csa-advisor-meta p {
    font-size: 20px;
    line-height: 1.5;
    color: #666666;
}

.csa-advisor-meta .csa-advisor-name{
  font-size: 26px;
  color: #000;
  margin: 0 0 20px;
}

.csa-advisor-name {
    font-weight: 700;
}

.csa-advisor-name ruby {
    ruby-position: over;
}

.csa-advisor-name rt {
    font-size: 18px;
    font-weight: 400;
    color: #666;
}

.csa-advisor-message {
    position: relative;
    margin: 0 0 28px;
    padding: 18px 22px;
    background: #EEF5FF;
    border-radius: 12px;
    font-size: 18px;
    line-height: 1.4;
    color: #000000;
    text-align: center;
    border: 2px solid #CAD5FE;
}

.csa-advisor-message::before {
    content: "";
    position: absolute;
    left: 36px;
    bottom: -9px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #cad5fe;
}

.csa-advisor-message::after {
  content: "";
  position: absolute;
  left: 36px;
  bottom: -10px;
  transform: translateY(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #eef5ff;
}

.csa-advisor-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.csa-advisor-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.csa-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.csa-social-link img {
    width: 36px;
    height: auto;
}

.csa-social-link:hover {
    opacity: 0.8;
}

.csa-advisor-actions .csa-store-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    height: 57px;
    padding: 0 24px;
    border: 2px solid #2282ED;
    border-radius: 8px;
    background: #ffffff;
    color: #2282ED;
    font-size: 24px;
    font-weight: 700;
    transition: background-color 0.2s ease, color 0.2s ease;
    box-sizing: border-box;
}

.csa-advisor-actions .csa-store-btn:hover {
    background: #2282ED;
    color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .csa-hero-btn,
    .csa-store-btn {
        transition: none;
    }
}

@media screen and (min-width: 1921px) {
    .csa-hero {
        background-size: cover;
        background-position: right center;
    }
}

@media screen and (max-width: 1680px) {
    .csa-hero {
        background-size: cover;
        background-position: right center;
    }
}

@media screen and (max-width: 1440px) {
    .csa-hero-title {
        font-size: 36px;
    }

    .csa-hero-brand-text{
      font-size: 24px;
    }

    .csa-hero-desc{
      font-size: 16px;
    }

    .csa-heading {
        font-size: 28px;
    }

    .csa-process {
        padding: 40px 24px 32px;
    }
}

@media screen and (max-width: 1200px) {
    .csa-hero-inner {
        padding: 64px 5% 72px;
    }

    .csa-hero-content {
        width: 480px;
    }

    .csa-topic-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .csa-advisor-info {
        padding: 32px 28px 28px 16px;
    }
}

@media screen and (max-width: 960px) {
    .csa-page .agent_box_show .agent_top .agent_nav p a {
        margin: 0 12px;
        padding: 24px 0;
    }
}

@media screen and (max-width: 768px) {
    .csa-inner {
        padding: 0 16px;
    }

    .csa-page .agent_box_show .agent_top {
        padding: 0;
    }

    .csa-page .agent_box_show .agent_top .agent_nav p a {
        margin: 0 8px;
        padding: 16px 0;
        font-size: 13px;
    }

    /* Hero：文案居中，banner_mob 顶部留白与文案衔接 */
    .csa-hero {
        position: relative;
        min-height: 0;
        background-image: none;
        background-color: #ffffff;
    }

    .csa-hero-visual {
        display: block;
        width: 100%;
        margin-top: -28px;
    }

    .csa-hero-visual img {
        display: block;
        width: 100%;
    }

    .csa-hero-inner {
        position: relative;
        z-index: 2;
        min-height: 0;
        padding: 18px 16px 8px;
        display: block;
        background: linear-gradient(180deg, #ffffff 0%, #ffffff 78%, rgba(255, 255, 255, 0) 100%);
    }

    .csa-hero-content {
        width: 100%;
        text-align: center;
    }

    .csa-hero-brand {
        justify-content: center;
        margin-bottom: 18px;
    }

    .csa-hero-logo {
        width: 32px;
        height: 32px;
    }

    .csa-hero-brand-line {
        height: 16px;
        margin: 0 10px;
    }

    .csa-hero-brand-text {
        font-size: 15px;
        letter-spacing: 0.02em;
    }

    .csa-hero-title {
        margin-bottom: 12px;
        font-size: 20px;
        line-height: 1.55;
    }

    .csa-hero-desc {
        margin-bottom: 18px;
        font-size: 12px;
        line-height: 1.75;
        color: #666666;
    }

    .csa-hero-actions {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 8px;
    }

    .csa-hero-btn {
        flex: 1;
        min-width: 0;
        height: 40px;
        padding: 0 8px;
        border-radius: 8px;
        font-size: 11px;
        white-space: nowrap;
    }

    .csa-btn-icon {
        width: 13px;
        height: 15px;
        margin-right: 4px;
    }

    /* 认证说明：浅灰底 + 横向胶囊卡片 */
    .csa-about {
        padding: 40px 0 8px;
        /* background: #f7f8fa; */
    }

    .csa-heading {
        margin-bottom: 12px;
        font-size: 20px;
    }

    .csa-heading--line {
        margin-bottom: 24px;
        padding-bottom: 6px;
        border-bottom-width: 2px;
    }

    .csa-lead {
        margin-bottom: 24px;
        font-size: 13px;
        line-height: 1.8;
    }

    .csa-lead br {
        display: block;
    }

    .csa-process {
        flex-direction: column;
        align-items: stretch;
        padding: 0;
        background: transparent;
        border-radius: 0;
        box-shadow: none;
    }

    .csa-process-item {
        display: flex;
        align-items: center;
        width: 100%;
        max-width: none;
        text-align: left;
        padding: 14px 18px 14px 14px;
        background: #ffffff;
        border-radius: 999px;
        box-shadow: 0 6px 18px rgba(17, 24, 39, 0.06);
    }

    .csa-process-icon {
        width: 56px;
        height: 56px;
        margin: 0 12px 0 0;
        flex-shrink: 0;
    }

    .csa-process-icon img {
        max-width: 32px;
        max-height: 30px;
    }

    .csa-process-copy {
        flex: 1;
        min-width: 0;
    }

    .csa-process-title {
        margin: 0 0 4px;
        font-size: 15px;
    }

    .csa-process-text {
        font-size: 11px;
        line-height: 1.55;
        color: #777777;
    }

    .csa-process-arrow {
        width: 100%;
        height: 22px;
        margin: 6px 0;
        transform: rotate(90deg);
    }

    .csa-process-arrow img {
        width: 16px;
    }

    /* 咨询主题 / 等级 / 顾问 */
    .csa-main-bg {
        padding: 32px 0 56px;
        background-size: cover;
        background-position: center top;
    }

    .csa-topics {
        padding-top: 16px;
    }

    .csa-topic-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .csa-topic-item {
        min-height: 120px;
        padding: 16px 8px 12px;
        border-radius: 10px;
    }

    .csa-topic-item img {
        height: 40px;
        margin-bottom: 10px;
    }

    .csa-topic-item span {
        font-size: 12px;
    }

    .csa-rank,
    .csa-advisor {
        padding-top: 40px;
    }

    .csa-rank-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .csa-rank-card {
        align-items: center;
        min-height: 0;
        padding: 18px 16px;
        border-radius: 12px;
    }

    .csa-rank-card--advance {
        border-color: #cfe8ff;
    }

    .csa-rank-badge {
        width: 82px;
    }

    .csa-rank-badge img {
        width: 48px;
        margin-bottom: 4px;
    }

    .csa-rank-en {
        font-size: 14px;
    }

    .csa-rank-ja {
        font-size: 11px;
    }

    .csa-rank-body {
        padding-left: 16px;
        margin-top: 0;
        border-left: 1px solid #e6e6e6;
    }

    .csa-rank-body li {
        padding: 0 0 6px 0;
        font-size: 14px;
    }

    .csa-rank-note {
        margin-top: 8px;
        font-size: 12px;
        line-height: 1.6;
    }

    .csa-advisor {
        scroll-margin-top: 72px;
    }

    .csa-advisor-card {
        display: grid;
        grid-template-columns: 96px 1fr;
        column-gap: 12px;
        row-gap: 14px;
        padding: 16px;
        border-radius: 12px;
    }

    .csa-advisor-photo {
        grid-area: 1 / 1;
        width: 96px;
        min-height: 0;
        padding: 0;
        align-items: center;
    }

    .csa-advisor-photo img {
        width: 100%;
        max-width: none;
        border-radius: 8px;
    }

    .csa-advisor-info {
        display: contents;
        padding: 0;
    }

    .csa-advisor-rank {
        display: none;
    }

    .csa-advisor-meta {
        grid-area: 1 / 2;
        margin-bottom: 0;
        padding-right: 0;
    }

    .csa-advisor-meta .csa-advisor-name{
      font-size: 18px;
      margin-bottom: 10px;
    }

    .csa-advisor-meta p {
        margin: 0 0 6px;
        font-size: 12px;
        line-height: 1.55;
    }

    .csa-advisor-name {
        font-size: 13px;
    }

    .csa-advisor-name rt {
        font-size: 12px;
    }

    .csa-advisor-message {
        grid-area: 2 / 1 / 3 / 3;
        margin: 0;
        padding: 12px 14px;
        text-align: center;
        font-size: 12px;
        line-height: 1.7;
        border-radius: 10px;
    }

    .csa-advisor-actions {
        grid-area: 3 / 1 / 4 / 3;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .csa-social-link {
        width: 32px;
        height: 32px;
    }

    .csa-social-link img {
        width: 30px;
    }

    .csa-advisor-actions .csa-store-btn {
        width: auto;
        min-width: 0;
        flex: 1;
        max-width: 168px;
        height: 36px;
        padding: 0 12px;
        font-size: 13px;
    }
}

@media screen and (max-width: 768px) {
    .csa-hero-inner {
        padding: 14px 12px 4px;
    }

    .csa-hero-visual {
        margin-top: -200px;
    }

    .csa-hero-title {
        font-size: 22px;
        text-align: center;
    }

    .csa-hero-desc {
        font-size: 14px;
        margin-bottom: 14px;
    }

    .csa-hero-actions .csa-hero-btn {
        height: 36px;
        font-size: 12px;
        padding: 0 6px;
    }

    .csa-heading {
        font-size: 18px;
    }

    .csa-process-item {
        padding: 12px 14px 12px 12px;
    }

    .csa-process-icon {
        width: 48px;
        height: 48px;
        margin-right: 10px;
    }

    .csa-process-title {
        font-size: 14px;
        text-align: left;
    }

    .csa-process-text {
        font-size: 12px;
        text-align: left;
    }

    .csa-advisor-card {
        grid-template-columns: 84px 1fr;
        padding: 14px;
    }

    .csa-advisor-photo {
        width: 84px;
    }
}
