:root {
    --color-gray: #333333;
    --color-yellow: #E6FF00;
    --color-blue: #1E2D4F;
    --color-orange: #EF5B1E;
    --color-light-orange: rgba(239, 91, 30, 0.9);
    --color-lightgray: #E5E5E5;
    --color-theme: #2370a4;
    --color-light-theme: #3190d0;

    --color-white: #FFF;
    --color-black: #000;

    --margin-normal: 1rem;
    --margin-large: 2rem;
    --margin-40: 2.3rem;
    --padding-normal: 10px;

    --line-height-normal: 1.5;

    --font-size-normal: 1rem;
    --font-size-middle: 1.25rem;
    --font-size-large: 1.5rem;
}
* {
    margin: 0;
    padding: 0;
}
body {
    overflow-x: hidden;
}
.center-box {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.self-response-width {
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(100% - calc(100% - 90rem));
}

.marginRight25 {
    margin-right: .5rem !important;
}
.form-box .input-box input {
    max-width: 35rem;
}
.padding-lr-normal {
    padding: 0;
}
.margin-bottom-48 {
    margin-bottom: 3rem;
}
.padding-10 {
    padding: 0 10px;
}
.padding-top-40 {
    padding-top: 3rem;
}
@media padding-top-40 {
    padding-top: 0;
}
.margin-bottom-normal {
    margin-bottom: var(--margin-normal);
}

.swiper-pagination .swiper-pagination-bullet-active {
    background: var(--color-theme);
    width: 25px;
}
.swiper-pagination .swiper-pagination-bullet {
    width: 24px;
    background: #000;
    height: 10px;
    border-radius: 30px;
}
.swiper-pagination span {
    margin: 0 .4rem;
}
.swiper-slide {
    transition: all 1s;
}
.background-white {
    background: var(--color-white);
}

@media (max-width: 768px) {
    .self-response-width {
        width: 100%;
    }
    .center-box {
        box-sizing: border-box;
    }
    .padding-lr-normal {
        padding: 0 var(--padding-normal);
    }
    .common-title.font-size-1 {
        font-size: 1.5rem;
    }
    .common-title.font-size-1.m-size {
        font-size: 1.45rem;
    }
    .common-title.font-size-2 {
        font-size: 1.25rem;
    }
}

/* top banner */
.top-banner {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    height: 300px;
}
.top-banner picture {
    height: 100%;
}
.top-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (max-width: 768px) {
    .top-banner {
        height: auto;
        margin-top: 60px;
    }
    .top-banner img {
        aspect-ratio: 790 / 240;
    }
}

.header-container {
    width: 100%;
    margin-top: var(--margin-normal);
}
.common-title,
.single-title
{
    font-size: 2rem;
    color: var(--color-theme);
    position: relative;
    box-sizing: border-box;
    text-align: center;
    line-height: var(--line-height-normal);
}
.sub-title {
    font-size: 1.5rem;
    color: var(--color-theme);
    text-align: center;
    line-height: var(--line-height-normal);
}
@media (max-width: 768px) {
    .single-title {
        font-size: 1.5rem;
    }
    .sub-title {
        font-size: 1rem;
        text-indent: 2em;
    }
}
.common-title::after {
    content: "";
    width: 5rem;
    height: 4px;
    background: var(--color-blue);
    position: absolute;
    left: calc((100% - 5rem) / 2);
    bottom: -1rem;
}

.sub-title sup {
    vertical-align: super;
    font-size: 0.8em;
    margin-left: 2px;
    line-height: 0;
}
.common-description {
    font-size: 1rem;
    line-height: var(--line-height-normal);
    margin-bottom: var(--margin-normal);
}
.margin-top-40 {
    margin-top: var(--margin-40);
}
.margin-bottom-40 {
    margin-bottom: var(--margin-40);
}
.margin-top-normal {
    margin-top: var(--margin-normal);
}
.swiper-slide:hover {
    transform: none !important;
}
.pc-break-line {
    display: block;
}
h2,h3 {
    line-height: var(--line-height-normal);
}
/* part 1 start*/
.wrapper {
    width: 100%;
}
@media (max-width: 768px) {
    .wrapper {
        box-sizing: border-box;
        padding: 0 var(--padding-normal);
    }
}
p.description {
    font-size: 1.125rem;
    color: #3A3C42;
    line-height: 1.5;
    margin-bottom: var(--margin-normal);
}
p.description strong {
    font-size: 1.5rem;
}
p.mb-2 {
    margin-bottom: 0;
}
.text-image-wrapper {
    display: flex;
    gap: 1rem;
}
@media (max-width: 768px) {
    .text-image-wrapper {
        display: block;
    }
}

.text-image-wrapper .image-wrapper {
    max-width: 32rem;
}
.image-wrapper img {
    width: 32rem;
    height: auto;
    object-fit: contain;
    border-radius: .5rem;
}
@media (max-width: 768px) {
    .image-wrapper img {
        width: 100%;
    }
}
.hover-cursor:hover {
    cursor: pointer;
}

/* part 2 start */
.skill-explain {
    display: grid;
    grid-template-columns: 2fr 3fr 5fr;
    column-gap: 2px;
}
.skill-explain > * {
    width: 100%;
    height: 100%;
    min-height: 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 1.5;
}
@media (max-width: 768px) {
    .skill-explain > * {
        max-height: 10rem;
        overflow: auto;
    }
    .skill-explain .justify-start {
        display: block;
    }
    .skill-name,
    .skill-scope,
    .skill-desc p {
        font-size: 0.875rem;
        line-height: 1.4;
    }
}
.skill-explain .th {
    background-color: var(--color-theme);
    height: 6rem;
    color: var(--color-white);
    text-align: center;
}
.row-add-bg {
    background-color: #FFFFFF;
}
.row-even-bg {
    background-color: #ECF7FF;
}
.align-center {
    text-align: center;
}
.p-4 {
    box-sizing: border-box;
    padding: 1rem;
}

/* part 3 start */
.grid-table {
    display: grid;
    grid-template-columns: max-content auto max-content;
    gap: 2px;
    background-color: #FFFFFF;
    margin-bottom: 2rem;
    width: 100%;
}
@media (max-width: 768px) {
    .grid-table {
        grid-template-columns: max-content auto 1fr;
        width: auto;
    }
}
.grid-row {
    display: contents;
}
.grid-table .grid-row:nth-child(odd) .cell {
    background-color: #E1FAF2;
    color: white;
}
.grid-table .grid-row:nth-child(even) .cell {
    background-color: #f5f5f5;
    color: #333;
}
.grid-table  .cell {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
section h2 {
    color: #2370A4;
    margin-bottom: 2rem;
}
@media (max-width: 768px) {
    section h2 {
        text-align: center;
    }
}
.vs-grid-table {
    display: grid;
    grid-template-columns: 1fr 10rem 1fr;
    grid-template-rows: 2rem 1fr 1fr 1fr 1fr 1fr 2rem;
    row-gap: 2px;
    margin-bottom: 2rem;
}
@media (max-width: 768px) {
    .vs-grid-table {
        grid-template-rows: 2rem auto auto auto auto auto 2rem;
        grid-template-columns: 1fr 6rem 1fr;
    }
}
.c11 {
    grid-column: 1;
    grid-row: 2;
    font-weight: bold;
}
.c12 {
    grid-column: 2;
    grid-row: 2;
    background: linear-gradient(90deg, #ECF7FF 0%, #FFFFFF 50%, var(--color-theme) 100%);
}
.c13 {
    grid-column: 3;
    grid-row: 2;
    font-weight: bold;
}
.c21 {
    grid-column: 1;
    grid-row: 3;
}
.c22 {
    grid-column: 2;
    grid-row: 3;
}
.c23 {
    grid-column: 3;
    grid-row: 3;
}
.c31 {
    grid-column: 1;
    grid-row: 4;
}
.c32 {
    grid-column: 2;
    grid-row: 4;
}
.c33 {
    grid-column: 3;
    grid-row: 4;
}
.c41 {
    grid-column: 1;
    grid-row: 5;
}
.c42 {
    grid-column: 2;
    grid-row: 5;
}
.c43 {
    grid-column: 3;
    grid-row: 5;
}

.c51 {
    grid-column: 1;
    grid-row: 6;
}
.c52 {
    grid-column: 2;
    grid-row: 6;
    background: linear-gradient(90deg, #ECF7FF 0%, #FFFFFF 50%, var(--color-theme) 100%);
}
.c53 {
    grid-column: 3;
    grid-row: 6;
}

.c11, .c21, .c31, .c41, .c51 {
    background-color: #ECF7FF;
    line-height: 1.5;
}
.c13, .c23, .c33, .c43, .c53 {
    background-color: var(--color-theme);
    color: #FFFFFF;
    line-height: 1.5;
}

.grid-vs {
    grid-row: 1 / -1;
    grid-column: 2;
    display: grid;
    box-shadow: 0 3px 6px 1px rgba(0,0,0,0.16);
    border-radius: 6rem;
    background-color: #FFFFFF;
    align-items: start;
}
@media (min-width: 769px) {
    .grid-vs {
        min-height: 45rem;
    }
}
.grid-vs .cell,
.vs-grid-table .grid-row .cell{
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 0 .5rem;
}

.vs-grid-table .grid-row .cell {
    padding: 0 1rem;
}
@media (max-width: 768px) {
    .vs-grid-table .grid-row .cell {
        padding: .5rem;
        max-height: 8rem;
        overflow: auto;
        font-size: .875rem;
        line-height: 1.3;
        text-align: left;
        box-sizing: unset;
        justify-content: unset;
        align-items: unset;
    }
}

.grid-vs .vs {
    font-weight: bold;
    color: var(--color-theme);
    font-size: 5rem;
    padding-top: 2rem;
}
@media (max-width: 768px) {
    .grid-vs .vs {
        font-size: 2rem;
    }
}
.grid-vs .vs-item {
    font-weight: bold;
    color: var(--color-theme);
    font-size: 1.125rem;
}

@media (max-width: 768px) {
    .grid-vs .vs-item {
        font-size: .875rem;
        font-weight: 600;
    }
}

.suggestion-box {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
}
@media (max-width: 768px) {
    .suggestion-box {
        grid-template-columns: 1fr;
    }
}
.suggestion-box img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: .5rem;
}
.image-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* part 4 */
p.desc {
    line-height: 1.5;
}
p strong.red {
    color: #FF1139;
    font-size: 1.125rem;
}
img.symptom {
    max-width: 42rem;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}
@media (max-width: 768px) {
    img.symptom {
        width: 100%;
    }
}
/* part 5 */
ul.u-list li {
    line-height: 1.5;
    margin-bottom: .5rem;
    padding-left: 1rem;
    margin-left: 1rem;
}
ul.u-list li::before {
    content: '•';
    color: var(--color-theme);
    font-weight: bold;
    display: inline-block;
    width: 1.5em;
    margin-left: -1.5em;
}

/* part 6 start */
.faq-container {
    width: 100%;
}
details {
    padding: 1.125rem;
    margin-bottom: 2rem;
    background-color: white;
    border-radius: 3rem;
}

summary {
    font-size: 1.125rem;
    font-weight: bold;
    cursor: pointer;
    padding: 1.25rem 1rem;
    outline: none;
    position: relative;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 1.5;
}
summary::-webkit-details-marker {
    display: none;
}
summary::after {
    content: '+';
    font-size: 1.125rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}
details[open] summary::after {
    content: '-';
    transform: rotate(180deg);
}
details[open] summary {
    margin-bottom: 1rem;
}
.content {
    line-height: 1.6;
    padding-left: 0.875rem;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-0.875rem);
    transition: max-height 0.5s ease,
    padding 0.5s ease,
    opacity 0.5s ease,
    transform 0.5s ease;
}
details[open] .content {
    max-height: 60rem;
    overflow: auto;
    opacity: 1;
    transform: translateY(0);
}
details[open]  {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.content p {
    line-height: 1.6;
}
.color-red {
    color: #FF1139;
}


/*文本显示隐藏*/
@media (max-width: 768px) {
    .mobile-expandable-content {
        max-height: 17rem;
        overflow: hidden;
        position: relative;
        transition: max-height 0.3s ease;
    }

    .mobile-expandable-content::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 8rem;
        background: linear-gradient(to top, white, transparent);
        pointer-events: auto;
    }

    .mobile-expandable-content.expanded {
        max-height: 1000px; /* 足够大的值以显示全部内容 */
    }

    .mobile-expandable-content.expanded::after {
        display: none;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 2px;
    height: 2px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background: #ECF7FF;
    border-radius: 2px;
}
