.sec-faq {
padding-bottom: 120px;
@media screen and (max-width: 768px) {
padding-bottom: 64px;
}
}
.faq-nav { position: sticky;
top: var(--faq-header-h, 94px);
z-index: 20;
background: #fff;
border-bottom: 1px solid #d9dde3;
padding: 12px 0;
& .faq-nav__inner {
display: flex;
flex-direction: column;
align-items: stretch;
gap: 12px;
}
& .faq-nav__search {
position: relative;
}
& .faq-nav__search-icon {
position: absolute;
top: 50%;
left: 16px;
transform: translateY(-50%);
width: 18px;
height: 18px;
color: #8b95a3;
pointer-events: none;
}
& .faq-nav__search-input {
width: 100%;
padding: 14px 44px;
font-size: 0.875rem;
color: #333;
border: 1px solid #8b95a3;
border-radius: 8px;
background: #fff;
&:focus {
outline: none;
border-color: #0f7cba;
}
&::placeholder {
color: #8b95a3;
}
}
& .faq-nav__search-clear {
position: absolute;
top: 50%;
right: 12px;
transform: translateY(-50%);
width: 24px;
height: 24px;
font-size: 1.125rem;
line-height: 1;
color: #8b95a3;
background: none;
border: none;
cursor: pointer;
display: none;
&.is-visible {
display: block;
}
}
& .faq-nav__list {
display: flex;
gap: 32px; overflow-x: auto;
scrollbar-width: none;
&::-webkit-scrollbar {
display: none;
}
}
& .faq-nav__link {
display: inline-flex;
align-items: baseline;
gap: 6px;
padding: 4px 2px 8px;
font-size: 0.875rem;
font-weight: 700;
color: #333;
white-space: nowrap;
border-bottom: 2px solid transparent;
transition: border-color 0.2s;
&:hover,
&.is-active {
border-bottom-color: #0f7cba;
}
}
& .faq-nav__num {
font-size: 0.75rem;
font-weight: 700;
color: #0f7cba;
}
@media screen and (max-width: 768px) {
padding: 8px 0;
& .faq-nav__inner {
gap: 8px;
}
& .faq-nav__search-input {
padding: 12px 40px;
}
& .faq-nav__list {
gap: 20px;
padding-bottom: 4px;
}
& .faq-nav__link {
font-size: 0.75rem;
}
}
}
.faq-empty {
margin-top: 48px;
font-size: 1rem;
color: #555;
text-align: center;
}
.faq-section {
margin-top: 80px; scroll-margin-top: var(--faq-anchor-offset, 200px);
& .faq-section__header {
display: flex;
align-items: flex-start;
gap: 24px;
padding-bottom: 24px;
border-bottom: 2px solid #123465;
}
& .faq-section__num {
font-size: 3.5rem;
font-weight: 700;
line-height: 1;
color: #0f7cba;
}
& .faq-section__title {
font-size: 1.75rem;
font-weight: 700;
color: #123465;
line-height: 1.4;
}
& .faq-section__description {
margin-top: 8px;
font-size: 0.875rem;
color: #555;
}
@media screen and (max-width: 768px) {
margin-top: 48px;
& .faq-section__header {
gap: 16px;
padding-bottom: 16px;
}
& .faq-section__num {
font-size: 2.5rem;
}
& .faq-section__title {
font-size: 1.25rem;
}
}
}
.faq-list {
& .faq-item {
border-bottom: 1px solid #d9dde3;
&.is-hidden {
display: none;
}
}
& .faq-item__question {
display: flex;
align-items: center;
gap: 16px;
width: 100%;
padding: 24px 8px;
font-size: 1.125rem;
font-weight: 700;
color: #333;
text-align: left;
background: none;
border: none;
cursor: pointer;
}
& .faq-item__num {
flex-shrink: 0;
font-weight: 700;
color: #0f7cba;
}
& .faq-item__question-text {
flex-grow: 1;
line-height: 1.6;
}
& .faq-item__icon {
position: relative;
flex-shrink: 0;
width: 20px;
height: 20px;
&::before,
&::after {
content: "";
position: absolute;
top: 50%;
left: 50%;
width: 100%;
height: 2px;
background: #0f7cba;
transform: translate(-50%, -50%);
transition: transform 0.3s;
}
&::after {
transform: translate(-50%, -50%) rotate(90deg);
}
}
& .faq-item.is-open {
& .faq-item__icon::after {
transform: translate(-50%, -50%) rotate(0deg);
}
}
& .faq-item__answer {
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease;
}
& .faq-item__answer-inner {
padding: 0 8px 24px;
font-size: 1rem;
line-height: 1.8;
color: #555;
& a {
color: #0f7cba;
text-decoration: underline;
}
& p + p {
margin-top: 12px;
}
}
@media screen and (max-width: 768px) {
& .faq-item__question {
gap: 12px;
padding: 16px 4px;
font-size: 1rem;
}
& .faq-item__answer-inner {
padding: 0 4px 16px;
font-size: 0.875rem;
}
}
}