@charset "utf-8";
/* CSS Document */

/* ===== Header / Footer ===== */
header {
    background-color: #fff;
    box-shadow:var(--shadow-md);
    /* position: sticky; top:0;
    z-index: 999; */
}
footer {background-color: var(--accent-color-02);}
.header__inner,.footer__inner {
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
}
.header__inner {padding: 16px 24px;justify-content: space-between;}
.footer__inner {padding: 40px 24px;justify-content: center;}

/* Logo 样式 */
.header__logo{height:clamp(32px, 4.5vw, 48px); display:inline-flex;}
.header__logo img{height:100%; width:auto;}

/* 右侧按钮组 */
.header__actions{display:flex; align-items:center; gap:8px;}
/* 按钮通用样式 */
.header__action {
    display: flex;
    align-items: center;
    gap:12px;
    padding: 12px 16px;
    border-radius: 4px;
    transition: transform 0.3s, background-color 0.3s;
    will-change:transform;
}
.header__action:active{transform:translateY(0);} /* 避免移动端误触放大 */
.header__action:hover{transform:translateY(-2px);}
/* 可访问性：键盘可见 */
.header__action:focus-visible{
    outline:2px solid #0000; /* 清默认 */
    box-shadow:var(--shadow-md);
}

.header__action--mail{background:var(--c-mail);}
.header__action--tel{ background:var(--c-tel);}
.header__action--line{background:var(--c-line);}
.header__action--mail:hover{background:var(--c-mail-hover);}
.header__action--tel:hover{ background:var(--c-tel-hover);}
.header__action--line:hover{background:var(--c-line-hover);}

.header__action--icon{inline-size:32px; block-size:32px; flex:0 0 32px;}
.header__action--icon > img{inline-size:100%; block-size:100%;}
.header__action--text{white-space:nowrap;}
.header__action--arrow{inline-size:16px; block-size:16px;}

/* 动画减少：尊重系统设置 */
@media (prefers-reduced-motion: reduce){
    .header__action{transition:none; transform:none !important;}
}

@media only screen and (max-width: 1024px) {
    .header__action{padding:12px;}
    .header__action--text,.header__action--arrow{display:none;}
    .header__action--icon{margin:0;}
}
@media only screen and (max-width: 576px) {
    .header__inner{padding: 8px 12px;justify-content: center;}
    .header__actions {display: none;}
    .footer__inner {padding: 40px 12px;}
}



/* floating-banner START - 使用您的样式 */
.floating-banner {
    position: fixed;
    bottom: -300px;
    left: 0;
    width: 100%;
    padding: 12px 0;
    background-color: rgba(0, 0, 0, 0.85);
    transition: bottom 0.3s;
}
.floating-banner.show {
    bottom: 0;
}
.floating-banner__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.floating-banner-title{
    margin-bottom: 8px !important;
}
.floating-banner-title > h4{
    color: #fff;
}
/* floating-banner END */

/* 汉堡菜单 */
.hamburger {
    position: fixed;
    bottom: -300px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: var(--accent-color-01);
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 999;
}
.hamburger.show {
    bottom: 18.75vh;
}
.menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    color: #fff;
    background: rgba(0, 0, 0, 0.95);
    box-shadow: -2px 0 5px rgba(0,0,0,0.3);
    transition: right 0.3s;
    z-index: 998;
}
.menu.open {
    right: 0;
}

@media only screen and (max-width: 768px) {
    .menu {
        right: -90%;
        width: 90%;
    }
}

/* title */
.title{
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}
.title > h2{
    font-size: 40px !important;
    font-weight: 600;
    line-height: 1.4;
}
.title > h3{
    font-size: 22px !important;
    font-weight: 600;
    margin-top: 40px;
}
.title > picture{
    width: 100%;
    max-width: 475px;
    margin: 40px auto 0;
}
.sp-item{display: none;}
@media only screen and (max-width: 768px) {
    .sp-item{display: block;}
    .title > span{
        font-size: 120%;
    }  
}
@media only screen and (min-width: 320px) and (max-width: 768px) {
    .title{
        margin-bottom: clamp(30.72px, calc(9.6000vw + 0.00px), 73.73px);
    }
    .title > h2{
        font-size: clamp(30.72px, calc(9.6000vw + 0.00px), 73.73px) !important;
    }
    .title > h3{
        margin-top: clamp(30.72px, calc(9.6000vw + 0.00px), 73.73px);
        font-size: clamp(13.65px, calc(4.2667vw + 0.00px), 32.77px) !important;
    }
    .title > picture{
        margin-top: clamp(30.72px, calc(9.6000vw + 0.00px), 73.73px);
    }
}

/* review START */
.review{
    background-color: var(--secondary-color-03);
}
.review-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
}

.review-content-group{
    display: flex;
    align-self: start;
}

.avatar-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 1.2rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.avatar-circle--red {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}
.avatar-circle--blue {
    background: linear-gradient(135deg, #3498db, #2980b9);
}
.avatar-circle--green {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.reviewer-info {
    flex: 1;
}

.reviewer-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.star-rating {
    display: flex;
    gap: 2px;
}

.star-icon {
    color: #f39c12;
    font-size: 1rem;
}

.review-content {
    color: #34495e;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.review-content.collapsed {
    max-height: 150px;
}

.review-content.expanded {
    max-height: 2000px;
}

.review-content.collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(transparent, white);
    pointer-events: none;
}

.review-content.expanded::after {
    display: none;
}

.expand-toggle {
    background: none;
    border: none;
    color: #3498db;
    cursor: pointer;
    font-size: 0.9rem;
    margin-top: 0.75rem;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 0.25rem;
}

.expand-toggle:hover {
    color: #2980b9;
    transform: translateX(4px);
}

.expand-toggle::after {
    content: '▼';
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.expand-toggle--expanded::after {
    transform: rotate(180deg);
}

@media (max-width: 640px) {
    .review-card {
        padding: 1rem;
    }
}
/* review END */

/* service-grid START */
.service-grid{
    background-color: #c4b5a0;
    padding-left: 12px;
    padding-right: 12px;
}
.service-grid-container {
    /* max-width: 750px; */
    /* margin: 0 auto; */
    background-color: #fff;
    /* border: 1px solid #c4b5a0;
    padding: 4px; */
    padding: 16px;
}

.service-grid__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    list-style: none;
    position: relative;
    overflow: hidden;
    transition: max-height 0.4s ease;
    /* border: 1px solid #c4b5a0; */
    /* padding: 16px 0 0; */
}
.service-grid-btn{
    /* display: inline-block; */
    max-width: 200px;
    margin: 24px auto 0;
    padding: 8px;
    background-color: #c4b5a0;
    color: #333;
}

.service-grid__list.collapsed {
    max-height: 200px;
}

.service-grid__list.expanded {
    max-height: 4000px;
}

.service-grid__list.collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(transparent, white);
    pointer-events: none;
}

.service-grid__list.expanded::after {
    display: none;
}

.service-grid__item {
    width: 100%;
}

.service-grid__button {
    width: 100%;
    padding: 8px 4px;
    background-color: var(--secondary-color-01);
    border: none;
    /* border-radius: 8px; */
    /* font-size: 16px;
    font-weight: 500; */
    color: #fff;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
}

/* .service-grid__button:hover {
    background-color: #d4c4ac;
    transform: translateY(-2px);
} */

/* .service-grid__button:active {
    transform: translateY(0);
} */


.service-grid .title{
    margin-bottom: 24px;
}
.service-grid .title >h2{
    font-size: 28px !important;
}
.service-grid-noto{
    margin-top: 16px;
}

@media (max-width: 768px) {
    .service-grid__list {
        grid-template-columns: repeat(2, 1fr);
    }
    .service-grid__button {
        font-size: 13px;
        letter-spacing: -1px;
    }
    .service-grid__list.collapsed {
        max-height: 300px;
    }
}

/* @media (max-width: 576px) {
    .service-grid {
        padding: 16px;
    }

    .service-grid__list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .service-grid__list.collapsed {
        max-height: 250px;
    }

    .service-grid__button {
        padding: 15px 10px;
        font-size: 14px;
    }
} */
/* service-grid END */

/* price START */
.price{
    background-color: var(--secondary-color);
    /* background-image: url("assets/images/back-01.webp"); */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
}
.price .note{
    margin-top: 16px;
}

.tab-navigation {
    display: flex;
    border-bottom: 1px solid #ddd;
    position: relative;
}
.navigation-button {
    flex: 1;
    padding: 16px;
    background: #c2c4c7;
    border: none;
    cursor: pointer;
    text-align: center;
    border-right: 1px solid #ddd;
    transition: all 0.2s ease;
}
.navigation-button:last-child {
    border-right: none;
}
.navigation-button.is-active {
    background: var(--primary-color-01);
    color: white;
}

.content-panels {
    position: relative;
    height: auto;
    overflow: hidden;
}
.content-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: all 0.3s ease;
    background: white;
}
.content-panel.is-visible {
    opacity: 1;
    transform: translateX(0);
    position: relative;
}

.basic-info-row {
    display: flex;
    /* 关键：让子项拉伸成等高 */
    align-items: stretch; /* 或者直接删掉 align-items 这一行 */
    border-bottom: 1px solid #ddd;
}
/* 两列内部用 flex 居中内容 */
.basic-info-label,
.basic-info-value{
    display: flex;
    align-items: center;      /* 垂直居中列内文字 */
    justify-content: center;  /* 可选：水平居中 */
    font-weight: 500;
    text-align: center;
}
/* 原来的宽度与内边距保持 */
.basic-info-label{
    width: 40%;
    padding: 24px;
    background-color: #e8e8e8;
}
.basic-info-value{
    width: 60%;
    padding: 24px;
    background-color: #fff;
}

.calculation-example-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.calculation-example {
    display: flex;
    align-items: center;
}
@media only screen and (min-width: 320px) and (max-width: 768px) {
    .navigation-button {
        padding: clamp(13.65px, calc(4.2667vw + 0.00px), 32.77px) 8px;
    }
    .basic-info-label{
        padding: clamp(13.65px, calc(4.2667vw + 0.00px), 32.77px)
                 clamp(10.24px, calc(3.2000vw + 0.00px), 24.58px);
    }
    .basic-info-value{
        padding: clamp(13.65px, calc(4.2667vw + 0.00px), 32.77px)
                 clamp(10.24px, calc(3.2000vw + 0.00px), 24.58px);
    }
}   
/* price END */

/* ===== FAQ ===== */
/* 容器：网格间距 */
.accordion { display: grid; gap: 8px; }
/* 单元外框 */
.accordion__item {
    overflow: hidden;
    border-radius: 8px;
    /* border: 1px solid #e5e5e5; */
}
.accordion__item:hover{
    box-shadow: var(--shadow-md);
}

/* 行内布局（触发与面板共用） */
.accordion__row {
    padding: 0 16px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 16px;
}
/* 触发区（可点击/可聚焦） */
.accordion__trigger {
    width: 100%;
    position: relative;
    cursor: pointer;
    transition: background-color .2s ease;
    background-color: #fff;
    /* background: #63f5ff; */
}
.accordion__trigger:hover { 
    background-color: #f0f0f0; 
}
.accordion__trigger::after {
    content: '+';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
}
.accordion__trigger.is-open::after { content: '−'; }
/* 面板（折叠内容，带高度过渡） */
.accordion__panel {
    height: 0;
    overflow: hidden;
    transition: height .3s ease;
    background-color: #fff;
    /* background-color: #bcff7e; */
}

/* 图标与文本 */
.accordion__icon {
    padding: 24px 0;  
}
.accordion__icon > p{
    width: 32px;
    height: 32px;
    border-radius: 4px;
    background-color: var(--accent-color-02);
    text-align: center;
    line-height: 32px;
    color: #fff;
}
.accordion__icon-a > p{
    background-color: var(--secondary-color-01);
}
.accordion__text {
    padding: 24px 40px 24px 0;
    min-height: 80px;
    display: flex;
    align-items: center; /* 短文字居中 */
}

@media only screen and (max-width: 768px) {
    .accordion__row {
        padding: 0 12px;
        gap: 8px;
    }
    .accordion__icon {
        padding: 16px 0;  
    }
    .accordion__icon > p{
        width: 24px;
        height: 24px;
        line-height: 24px;
    }
    .accordion__text {
        padding: 16px 40px 16px 0;
        min-height: 56px;
    }
}

/* 系统偏好：减少动画 */
@media (prefers-reduced-motion: reduce) {
  .accordion__panel { transition: none; }
  .accordion__trigger { transition: none; }
}

/* access START */
.office-card-container{
  display: table;
  table-layout: fixed;        /* 防内容撑破，按列分配更稳定 */
  border-collapse: separate;  /* 按需 */
}
.office-card__item {
    display: table-row;
}
.office-card__term {
    display: table-cell;
    width: 180px;
    padding: 24px;
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
    /* color: #fff; */
    background-color: #f3f3f3;
    border-bottom: 1px solid #c2c4c7;
}
.office-card__detail {
    display: table-cell;
    width: calc(100% - 180px);
    padding: 24px;
    vertical-align: middle;
    background-color: #f3f3f3;
    border-bottom: 1px solid #c2c4c7;
}
.office-card__item:last-child .office-card__term,
.office-card__item:last-child .office-card__detail {
    border-bottom: none;
}

.office-card__link--phone {
    color: #3182ce;
}
.office-card__link--email:hover {
    color: #3182ce;
}

@media only screen and (max-width: 768px) {
    .office-card__item {
        display: block;
    }
    .office-card__term {
        display: block;
        width: 100%;
        padding: 16px;
        margin: 0;
    }
    .office-card__detail {
        display: block;
        width: 100%;
        padding: 24px;
        text-align: center;
    }
}

.map-container > iframe{
    width: 100%;
    height: 320px;
    margin: 32px auto 16px;
}
/* access END */