You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
545 lines
12 KiB
545 lines
12 KiB
@charset "UTF-8";
|
|
.main-contact {
|
|
background: var(--color-white);
|
|
}
|
|
|
|
.c-intro {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 2.5rem;
|
|
padding-top: calc(var(--header-h) + 7.5rem);
|
|
padding-bottom: 3rem;
|
|
}
|
|
.c-intro__title {
|
|
margin: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
color: var(--color-text);
|
|
font-family: "MiSans VF", "PingFang SC", sans-serif;
|
|
font-size: var(--font-48);
|
|
font-weight: 400;
|
|
line-height: var(--font-64);
|
|
}
|
|
.c-intro__hotline {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
flex-shrink: 0;
|
|
max-width: 25rem;
|
|
}
|
|
.c-intro__hotline-label {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
color: var(--color-text);
|
|
font-family: "MiSans VF", "PingFang SC", sans-serif;
|
|
font-size: var(--font-20);
|
|
font-weight: 400;
|
|
line-height: var(--font-28);
|
|
}
|
|
.c-intro__hotline-label img {
|
|
display: block;
|
|
width: 2rem;
|
|
height: auto;
|
|
}
|
|
.c-intro__phone {
|
|
color: var(--color-text);
|
|
font-family: "D-DIN-PRO", "MiSans VF", "PingFang SC", sans-serif;
|
|
font-size: var(--font-48);
|
|
font-weight: 600;
|
|
line-height: 1;
|
|
text-decoration: none;
|
|
transition: color var(--duration-fast) var(--easing);
|
|
}
|
|
.c-intro__phone:hover {
|
|
color: var(--color-primary);
|
|
}
|
|
.c-intro__hours {
|
|
margin: 0;
|
|
color: var(--color-text-muted);
|
|
font-family: "MiSans VF", "PingFang SC", sans-serif;
|
|
font-size: var(--font-18);
|
|
font-weight: 400;
|
|
line-height: var(--font-24);
|
|
}
|
|
|
|
.c-banner {
|
|
position: relative;
|
|
height: 45rem;
|
|
overflow: hidden;
|
|
}
|
|
.c-banner__media {
|
|
position: absolute;
|
|
inset: 0;
|
|
}
|
|
.c-banner__media img {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
object-position: center 0;
|
|
}
|
|
.c-banner__cards {
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 3.125rem;
|
|
z-index: 1;
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.c-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2.5rem;
|
|
min-height: 12rem;
|
|
padding: 2.5rem;
|
|
border-radius: 1.5rem;
|
|
background: rgba(255, 255, 255, 0.8);
|
|
backdrop-filter: blur(1.25rem);
|
|
-webkit-backdrop-filter: blur(1.25rem);
|
|
text-decoration: none;
|
|
color: var(--color-text);
|
|
transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
|
|
}
|
|
.c-card:hover {
|
|
transform: translateY(-0.25rem);
|
|
background: rgba(255, 255, 255, 0.92);
|
|
box-shadow: 0 0.75rem 2rem rgba(46, 53, 58, 0.08);
|
|
}
|
|
.c-card__head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 1rem;
|
|
}
|
|
.c-card__title {
|
|
font-family: "MiSans VF", "PingFang SC", sans-serif;
|
|
font-size: var(--font-32);
|
|
font-weight: 400;
|
|
line-height: var(--font-40);
|
|
}
|
|
.c-card__icon {
|
|
display: block;
|
|
width: 3rem;
|
|
height: 3rem;
|
|
flex-shrink: 0;
|
|
}
|
|
.c-card__desc {
|
|
margin: 0;
|
|
font-family: "MiSans VF", "PingFang SC", sans-serif;
|
|
font-size: var(--font-18);
|
|
font-weight: 400;
|
|
line-height: var(--font-24);
|
|
}
|
|
|
|
.c-form-section {
|
|
display: grid;
|
|
grid-template-columns: minmax(17.5rem, 34.8125rem) minmax(0, 67.5rem);
|
|
gap: 2.5rem;
|
|
align-items: start;
|
|
justify-content: space-between;
|
|
padding-top: 7.5rem;
|
|
padding-bottom: 7.5rem;
|
|
}
|
|
.c-form-section__title {
|
|
margin: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
color: var(--color-text);
|
|
font-family: "MiSans VF", "PingFang SC", sans-serif;
|
|
font-size: var(--font-48);
|
|
font-weight: 400;
|
|
line-height: var(--font-64);
|
|
}
|
|
|
|
.c-form {
|
|
margin-top: 8rem;
|
|
width: 100%;
|
|
max-width: 67.5rem;
|
|
justify-self: end;
|
|
}
|
|
.c-form__grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 2rem 2.5rem;
|
|
}
|
|
.c-form__agree {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
margin-top: 2rem;
|
|
color: var(--color-text-link);
|
|
font-family: "MiSans VF", "PingFang SC", sans-serif;
|
|
font-size: var(--font-18);
|
|
font-weight: 400;
|
|
line-height: var(--font-24);
|
|
cursor: pointer;
|
|
user-select: none;
|
|
}
|
|
.c-form__agree input {
|
|
width: 1rem;
|
|
height: 1rem;
|
|
margin: 0;
|
|
accent-color: var(--color-primary);
|
|
cursor: pointer;
|
|
}
|
|
.c-form__submit {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 7.375rem;
|
|
height: 2.625rem;
|
|
margin-top: 2.5rem;
|
|
padding: 0.5625rem 0.625rem 0.5625rem 0.625rem;
|
|
border: 0;
|
|
border-radius: 1.875rem;
|
|
background: var(--color-primary);
|
|
color: var(--color-white);
|
|
font-family: "MiSans VF", "PingFang SC", sans-serif;
|
|
font-size: var(--font-18);
|
|
font-weight: 400;
|
|
line-height: var(--font-24);
|
|
cursor: pointer;
|
|
transition: background 0.25s ease, opacity 0.25s ease;
|
|
}
|
|
.c-form__submit:hover {
|
|
background: var(--color-primary-hover);
|
|
}
|
|
|
|
.c-field {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
min-width: 0;
|
|
}
|
|
.c-field--full {
|
|
grid-column: 1/-1;
|
|
}
|
|
.c-field__label {
|
|
color: var(--color-text);
|
|
font-family: "MiSans VF", "PingFang SC", sans-serif;
|
|
font-size: var(--font-24);
|
|
font-weight: 400;
|
|
line-height: var(--font-32);
|
|
}
|
|
.c-field__input {
|
|
width: 100%;
|
|
height: 4.875rem;
|
|
padding: 0;
|
|
border: 0;
|
|
border-bottom: 1px solid rgb(223, 224, 226);
|
|
border-radius: 0;
|
|
background: transparent;
|
|
color: var(--color-text);
|
|
font-family: "MiSans VF", "PingFang SC", sans-serif;
|
|
font-size: var(--font-20);
|
|
font-weight: 400;
|
|
line-height: var(--font-28);
|
|
outline: none;
|
|
transition: border-color var(--duration-fast) var(--easing);
|
|
}
|
|
.c-field__input::placeholder {
|
|
color: rgb(175, 181, 185);
|
|
}
|
|
.c-field__input:focus {
|
|
border-bottom-color: var(--color-primary);
|
|
}
|
|
.c-field__select {
|
|
appearance: none;
|
|
-webkit-appearance: none;
|
|
cursor: pointer;
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23AFB5B9' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
|
|
background-repeat: no-repeat;
|
|
background-position: right 0 center;
|
|
background-size: 0.75rem 0.5rem;
|
|
padding-right: 1.5rem;
|
|
}
|
|
.c-field__select:invalid {
|
|
color: rgb(175, 181, 185);
|
|
}
|
|
.c-field__select option {
|
|
color: var(--color-text);
|
|
}
|
|
|
|
/* 自定义下拉 */
|
|
.c-custom-select {
|
|
position: relative;
|
|
width: 100%;
|
|
}
|
|
.c-custom-select__native {
|
|
position: absolute;
|
|
inset: 0;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
appearance: none;
|
|
-webkit-appearance: none;
|
|
}
|
|
.c-custom-select__trigger {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
width: 100%;
|
|
height: 4.875rem;
|
|
padding: 0 1.5rem 0 0;
|
|
border: 0;
|
|
border-bottom: 1px solid rgb(223, 224, 226);
|
|
border-radius: 0;
|
|
background: transparent;
|
|
color: var(--color-text);
|
|
font-family: "MiSans VF", "PingFang SC", sans-serif;
|
|
font-size: var(--font-20);
|
|
font-weight: 400;
|
|
line-height: var(--font-28);
|
|
cursor: pointer;
|
|
outline: none;
|
|
transition: border-color var(--duration-fast) var(--easing);
|
|
text-align: left;
|
|
}
|
|
.c-custom-select__trigger::after {
|
|
content: "";
|
|
flex-shrink: 0;
|
|
width: 0.75rem;
|
|
height: 0.5rem;
|
|
background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23AFB5B9' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% 100% no-repeat;
|
|
transition: transform var(--duration-fast) var(--easing);
|
|
}
|
|
.c-custom-select__trigger.is-placeholder {
|
|
color: rgb(175, 181, 185);
|
|
}
|
|
.c-custom-select__trigger.is-open {
|
|
border-bottom-color: var(--color-primary);
|
|
}
|
|
.c-custom-select__trigger.is-open::after {
|
|
transform: rotate(180deg);
|
|
}
|
|
.c-custom-select__dropdown {
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
top: calc(100% + 0.25rem);
|
|
z-index: 20;
|
|
max-height: 15rem;
|
|
overflow-y: auto;
|
|
overscroll-behavior: contain;
|
|
padding: 0.5rem 0;
|
|
border-radius: 0.75rem;
|
|
background: var(--color-white);
|
|
box-shadow: 0 0.5rem 2rem rgba(46, 53, 58, 0.12);
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
transform: translateY(-0.5rem);
|
|
transition: all 0.2s var(--easing);
|
|
}
|
|
.c-custom-select__dropdown.is-visible {
|
|
opacity: 1;
|
|
visibility: visible;
|
|
transform: translateY(0);
|
|
}
|
|
.c-custom-select__option {
|
|
display: block;
|
|
width: 100%;
|
|
padding: 0.75rem 1.5rem;
|
|
border: 0;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
color: var(--color-text);
|
|
font-family: "MiSans VF", "PingFang SC", sans-serif;
|
|
font-size: var(--font-18);
|
|
font-weight: 400;
|
|
line-height: var(--font-24);
|
|
text-align: left;
|
|
cursor: pointer;
|
|
transition: background var(--duration-fast) var(--easing), color var(--duration-fast) var(--easing);
|
|
}
|
|
.c-custom-select__option:hover {
|
|
color: var(--color-white) !important;
|
|
background: var(--color-primary);
|
|
}
|
|
.c-custom-select__option.is-active {
|
|
color: var(--color-primary);
|
|
font-weight: 500;
|
|
}
|
|
|
|
@media (max-width: 1439px) {
|
|
.c-intro {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
padding-top: calc(var(--header-h) + 40Px);
|
|
padding-bottom: 32Px;
|
|
}
|
|
.c-intro__title {
|
|
font-size: 36Px;
|
|
line-height: 48Px;
|
|
}
|
|
.c-intro__phone {
|
|
font-size: 36Px;
|
|
}
|
|
.c-intro__hours {
|
|
font-size: 16Px;
|
|
}
|
|
.c-banner {
|
|
height: 560Px;
|
|
}
|
|
.c-banner__cards {
|
|
bottom: 32Px;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 16Px;
|
|
}
|
|
.c-card {
|
|
min-height: 0;
|
|
gap: 24Px;
|
|
padding: 28Px;
|
|
}
|
|
.c-card__title {
|
|
font-size: 24Px;
|
|
line-height: 32Px;
|
|
}
|
|
.c-card__icon {
|
|
width: 40Px;
|
|
height: 40Px;
|
|
}
|
|
.c-card__desc {
|
|
font-size: 16Px;
|
|
}
|
|
.c-form-section {
|
|
grid-template-columns: 1fr;
|
|
gap: 40Px;
|
|
padding-top: 72Px;
|
|
padding-bottom: 80Px;
|
|
}
|
|
.c-form-section__title {
|
|
font-size: 36Px;
|
|
line-height: 48Px;
|
|
}
|
|
.c-form {
|
|
justify-self: stretch;
|
|
max-width: none;
|
|
margin-top: 0;
|
|
}
|
|
.c-form__grid {
|
|
gap: 24Px 32Px;
|
|
}
|
|
.c-field__label {
|
|
font-size: 20Px;
|
|
line-height: 28Px;
|
|
}
|
|
.c-field__input {
|
|
height: 64Px;
|
|
font-size: 18Px;
|
|
}
|
|
.c-custom-select__trigger {
|
|
height: 64Px;
|
|
font-size: 18Px;
|
|
}
|
|
.c-custom-select__option {
|
|
font-size: 16Px;
|
|
}
|
|
}
|
|
@media (max-width: 576px) {
|
|
.c-intro {
|
|
padding-top: calc(var(--header-h) + 24Px);
|
|
padding-bottom: 24Px;
|
|
gap: 24Px;
|
|
}
|
|
.c-intro__title {
|
|
font-size: 28Px;
|
|
line-height: 38Px;
|
|
}
|
|
.c-intro__hotline-label {
|
|
font-size: 16Px;
|
|
}
|
|
.c-intro__phone {
|
|
font-size: 28Px;
|
|
}
|
|
.c-intro__hours {
|
|
font-size: 14Px;
|
|
line-height: 22Px;
|
|
}
|
|
.c-banner {
|
|
height: auto;
|
|
min-height: 0;
|
|
overflow: visible;
|
|
}
|
|
.c-banner__media {
|
|
position: relative;
|
|
inset: auto;
|
|
height: 280Px;
|
|
}
|
|
.c-banner__cards {
|
|
position: relative;
|
|
bottom: auto;
|
|
margin-top: 40Px;
|
|
padding-bottom: 24Px;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 12Px;
|
|
padding: 0 16Px;
|
|
}
|
|
.c-card {
|
|
gap: 20Px;
|
|
padding: 20Px 16Px;
|
|
border-radius: 16Px;
|
|
backdrop-filter: blur(20Px);
|
|
background: rgba(255, 255, 255, 0.8);
|
|
border: 1Px solid rgb(223, 224, 226);
|
|
}
|
|
.c-card__title {
|
|
font-size: 16Px;
|
|
line-height: 21Px;
|
|
}
|
|
.c-card__icon {
|
|
width: 24Px;
|
|
height: 24Px;
|
|
}
|
|
.c-card__desc {
|
|
font-size: 12Px;
|
|
line-height: 16Px;
|
|
}
|
|
.c-form-section {
|
|
padding-top: 48Px;
|
|
padding-bottom: 56Px;
|
|
gap: 28Px;
|
|
}
|
|
.c-form-section__title {
|
|
font-size: 28Px;
|
|
line-height: 38Px;
|
|
}
|
|
.c-form {
|
|
margin-top: 0;
|
|
}
|
|
.c-form__grid {
|
|
grid-template-columns: 1fr;
|
|
gap: 20Px;
|
|
}
|
|
.c-form__agree {
|
|
margin-top: 28Px;
|
|
font-size: 14Px;
|
|
}
|
|
.c-form__submit {
|
|
margin-top: 20Px;
|
|
min-width: 100Px;
|
|
height: 40Px;
|
|
font-size: 16Px;
|
|
}
|
|
.c-field__label {
|
|
font-size: 18Px;
|
|
line-height: 24Px;
|
|
}
|
|
.c-field__input {
|
|
height: 56Px;
|
|
font-size: 16Px;
|
|
}
|
|
.c-custom-select__trigger {
|
|
height: 56Px;
|
|
font-size: 16Px;
|
|
}
|
|
.c-custom-select__option {
|
|
font-size: 14Px;
|
|
padding: 10Px 16Px;
|
|
}
|
|
.c-custom-select__dropdown {
|
|
max-height: 200Px;
|
|
}
|
|
}
|