bodalab/src/scss/page/_contact.scss

494 lines
8.1 KiB
SCSS

@use "../base/variable" as *;
@use "../base/mixin" as *;
// Expertise
.expertise {
background: $color-bg;
padding: 100px 48px;
border-top: 1px solid rgba($color-white, 0.08);
}
.expertise__inner {
max-width: 1200px;
margin: 0 auto;
}
.expertise__desc {
margin-top: 20px;
margin-bottom: 64px;
font-size: 15px;
font-weight: 300;
color: rgba($color-white, 0.6);
}
.expertise__list {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 0;
border-top: 1px solid rgba($color-white, 0.12);
}
.expertise__item {
padding: 40px 32px 40px 0;
border-right: 1px solid rgba($color-white, 0.12);
&:last-child {
border-right: none;
}
}
.expertise__num {
display: block;
font-size: 12px;
font-weight: 400;
color: $color-cyan;
letter-spacing: 0.1em;
margin-bottom: 20px;
}
.expertise__name {
font-size: clamp(16px, 1.4vw, 20px);
font-weight: 400;
color: $color-white;
margin-bottom: 16px;
line-height: 1.3;
}
.expertise__text {
font-size: 13px;
font-weight: 300;
line-height: 1.7;
color: rgba($color-white, 0.55);
}
// Contact
.contact {
background: $color-bg;
display: flex;
flex-direction: column;
border-top: 1px solid rgba($color-white, 0.08);
}
.contact__inner {
display: flex;
align-items: stretch;
flex: 1;
min-height: 60vh;
}
.contact__left {
display: flex;
flex-direction: column;
justify-content: center;
gap: 40px;
width: 50%;
padding: 80px 80px 80px 48px;
}
.contact__greeting {
font-family: $font-serif;
font-style: italic;
font-size: clamp(36px, 5vw, 72px);
font-weight: 400;
line-height: 1.1;
color: $color-white;
}
.contact__greetingBrand {
display: block;
font-size: clamp(16px, 1.5vw, 22px);
font-family: $기본글꼴;
font-style: normal;
font-weight: 900;
letter-spacing: 0.15em;
text-transform: uppercase;
margin-top: 8px;
color: $color-cyan;
}
.contact__label {
font-size: 12px;
font-weight: 600;
letter-spacing: 0.1em;
text-transform: uppercase;
color: rgba($color-white, 0.5);
margin-bottom: 16px;
}
.contact__infoList {
display: flex;
flex-direction: column;
gap: 16px;
}
.contact__infoItem {
display: flex;
flex-direction: column;
gap: 4px;
}
.contact__infoLabel {
font-size: 12px;
font-weight: 600;
letter-spacing: 0.08em;
color: $color-cyan;
}
.contact__infoValue {
font-size: 14px;
font-weight: 300;
line-height: 1.7;
color: rgba($color-white, 0.85);
}
.contact__infoLink {
color: inherit;
transition: opacity 0.2s;
&:hover {
opacity: 0.7;
}
}
.contact__right {
width: 50%;
display: flex;
flex-direction: column;
justify-content: center;
padding: 80px 48px 80px 0;
gap: 24px;
}
.contact__map {
width: 100%;
aspect-ratio: 4 / 3;
background: #1a1a1a url("../../images/map.svg") center / cover no-repeat;
border: 1px solid rgba($color-white, 0.1);
overflow: hidden;
}
// Contact accordion
.contactAccordion {
border-top: 1px solid rgba($color-white, 0.08);
}
.contactAccordion__item {
border-bottom: 1px solid rgba($color-white, 0.08);
}
.contactAccordion__header {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
padding: 28px 48px;
background: none;
border: none;
cursor: pointer;
color: $color-white;
font-size: clamp(16px, 1.4vw, 20px);
font-weight: 400;
font-family: $기본글꼴;
text-align: left;
transition: opacity 0.2s;
&:hover {
opacity: 0.7;
}
}
.contactAccordion__icon {
width: 24px;
height: 24px;
flex-shrink: 0;
transition: transform 0.3s ease;
object-fit: unset;
}
.contactAccordion__item.is-open .contactAccordion__icon {
transform: rotate(180deg);
}
.contactAccordion__body {
overflow: hidden;
max-height: 0;
transition: max-height 0.4s ease;
&:not([hidden]) {
max-height: 800px;
}
&[hidden] {
display: block !important;
max-height: 0;
}
}
// 문의 폼
.contactForm {
padding: 8px 48px 48px;
display: flex;
flex-direction: column;
gap: 12px;
}
.contactForm__row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px;
}
.contactForm__input,
.contactForm__textarea {
width: 100%;
background: rgba($color-white, 0.04);
border: 1px solid rgba($color-white, 0.1);
color: $color-white;
font-family: $기본글꼴;
font-size: 14px;
font-weight: 300;
padding: 14px 16px;
outline: none;
transition: border-color 0.2s;
&::placeholder {
color: rgba($color-white, 0.35);
}
&:focus {
border-color: rgba($color-white, 0.3);
}
}
.contactForm__textarea {
resize: none;
height: 180px;
}
.contactForm__agree {
margin-top: 4px;
}
.contactForm__checkbox {
display: inline-flex;
align-items: center;
gap: 10px;
cursor: pointer;
font-size: 13px;
font-weight: 300;
color: rgba($color-white, 0.6);
}
.contactForm__checkboxInput {
display: none;
}
.contactForm__checkboxInput:checked + .contactForm__checkboxBox {
background: $color-cyan;
border-color: $color-cyan;
}
.contactForm__checkboxInput:checked + .contactForm__checkboxBox::after {
content: "";
display: block;
width: 10px;
height: 6px;
border-left: 1.5px solid $color-dark;
border-bottom: 1.5px solid $color-dark;
transform: rotate(-45deg) translateY(-2px);
}
.contactForm__checkboxBox {
width: 18px;
height: 18px;
border: 1px solid rgba($color-white, 0.3);
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: center;
transition:
background 0.2s,
border-color 0.2s;
}
.contactForm__submit {
display: flex;
justify-content: center;
margin-top: 8px;
}
.btnSend {
padding: 12px 48px;
background: $color-cyan;
border: none;
border-radius: 100px;
color: $color-dark;
font-family: $기본글꼴;
font-size: 14px;
font-weight: 700;
letter-spacing: 0.1em;
cursor: pointer;
transition: opacity 0.2s;
&:hover {
opacity: 0.8;
}
}
// 채용 태그
.careerTags {
display: flex;
flex-wrap: wrap;
gap: 12px;
padding: 8px 48px 48px;
}
.careerTag {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 10px 20px;
border: 1px solid rgba($color-white, 0.25);
border-radius: 100px;
font-size: 14px;
font-weight: 300;
color: $color-white;
transition:
border-color 0.2s,
color 0.2s;
&:hover {
border-color: $color-cyan;
color: $color-cyan;
}
}
.careerTag__icon {
width: 14px;
height: 14px;
flex-shrink: 0;
}
// Footer
.footer {
border-top: 1px solid rgba($color-white, 0.08);
padding: 32px 48px;
}
.footer__inner {
display: flex;
align-items: center;
justify-content: space-between;
gap: 24px;
flex-wrap: wrap;
}
.footer__brand {
font-size: clamp(18px, 2vw, 28px);
font-weight: 700;
letter-spacing: 0.08em;
color: rgba($color-white, 0.4);
line-height: 1.2;
text-transform: uppercase;
}
.footer__contact {
font-size: 13px;
font-weight: 300;
color: rgba($color-white, 0.5);
}
.footer__contactLink {
color: rgba($color-white, 0.5);
transition: color 0.2s;
&:hover {
color: $color-white;
}
}
.footer__copy {
font-size: 12px;
font-weight: 300;
color: rgba($color-white, 0.3);
letter-spacing: 0.03em;
}
@include mo {
.expertise {
padding: 60px 24px;
}
.expertise__desc {
margin-bottom: 40px;
font-size: 14px;
}
.expertise__list {
grid-template-columns: 1fr 1fr;
}
.expertise__item {
padding: 28px 20px 28px 0;
&:last-child {
border-right: 1px solid rgba($color-white, 0.12);
}
&:nth-child(2),
&:nth-child(4) {
border-right: none;
}
&:nth-child(3),
&:nth-child(4) {
border-top: 1px solid rgba($color-white, 0.12);
}
}
.contact__inner {
flex-direction: column;
min-height: unset;
}
.contact__left {
width: 100%;
padding: 60px 24px 40px;
gap: 32px;
}
.contact__right {
width: 100%;
padding: 0 24px 60px;
}
.contactAccordion__header {
padding: 22px 24px;
}
.contactForm {
padding: 8px 24px 40px;
}
.contactForm__row {
grid-template-columns: 1fr;
}
.careerTags {
padding: 8px 24px 40px;
}
.footer {
padding: 24px 20px;
}
.footer__inner {
flex-direction: column;
align-items: flex-start;
gap: 20px;
}
.footer__contact {
font-size: 12px;
}
}