@charset "UTF-8";

#search-area-wrapper {
    container-type: inline-size;
    width: 100%;
    max-width: 767px;
    box-sizing: border-box;
}

#search-area-wrapper .search-box-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: calc(100cqw * 15 / 375);
    background: var(--color-white);
    border: var(--border-thick) solid var(--color-gray-dark);
    border-radius: var(--border-radius-l);
    padding: calc(100cqw * 30 / 375) calc(100cqw * 20 / 375);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05);
}

#search-area-wrapper .search-form-row {
    display: flex;
    align-items: center;
    gap: calc(100cqw * 10 / 375);
    width: 100%;
    max-width: 100%;
}

#search-area-wrapper .search-input-wrap {
    position: relative;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

#search-area-wrapper .search-input-icon {
    position: absolute;
    left: calc(100cqw * 10 / 375);
    width: calc(100cqw * 20 / 375);
    height: calc(100cqw * 20 / 375);
    pointer-events: none;
    opacity: 0.6;
}

#search-area-wrapper .search-input-field {
    width: 100%;
    height: calc(100cqw * 44 / 375);
    padding: 0 calc(100cqw * 10 / 375) 0 calc(100cqw * 36 / 375);
    border: var(--border-thin) solid var(--color-gray-dark);
    border-radius: var(--border-radius-m);
    background: var(--color-white);
    box-sizing: border-box;
    color: var(--color-black);
}

#search-area-wrapper .search-input-field::placeholder {
    color: var(--color-gray-medium);
}

#search-area-wrapper .search-submit-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100cqw * 44 / 375);
    padding: 0 calc(100cqw * 20 / 375);
    background-color: var(--color-red);
    color: var(--color-white);
    border: none;
    border-radius: var(--border-radius-m);
    cursor: pointer;
    transition: opacity 0.3s;
    white-space: nowrap;
}

#search-area-wrapper .search-submit-btn:hover {
    opacity: 0.8;
}

#search-area-wrapper .acod-link-list {
    display: flex;
    flex-wrap: wrap;
    gap: calc(100cqw * 10 / 375);
    margin-top: calc(100cqw * 10 / 375);
    opacity: 0; 
    transition: opacity 0.3s ease;
}

#search-area-wrapper .common-acod.is-active + .acod-content .acod-link-list {
    opacity: 1;
}

#search-area-wrapper .acod-link-item {
    width: 100%;
    border-bottom: 1px dashed var(--color-gray-light);
    padding: 8px 0;
}

#search-area-wrapper .acod-link-item a {
    display: block;
    color: var(--color-black);
    text-decoration: none;
    transition: color 0.3s;
}

#search-area-wrapper .acod-link-item a:hover {
    color: var(--color-red);
}

#search-area-wrapper .title-area-custom {
    width: 100%;
    margin-bottom: calc(100cqw * 10 / 375);
    display: flex;
    flex-direction: column;
    align-items: center; 
}

#search-area-wrapper .title-area-custom .title {
    width: 100%;
}

#search-area-wrapper .title-area-custom .speach-bubble {
    width: calc(100cqw * 101 / 375);
    height: calc(100cqw * 26 / 375);
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: calc(100cqw * 20 / 375);
    margin-bottom: calc(100cqw * 10 / 375);
    position: relative;
}

#search-area-wrapper .title-area-custom .speach-bubble p {
    margin: 0;
    line-height: 1;
    white-space: nowrap;
}

#search-area-wrapper .speach-bubble.custom-arrow::after {
    content: "";
    position: absolute;
    border-style: solid;
    border-width: calc(100cqw * 6 / 375) calc(100cqw * 5 / 375) 0 calc(100cqw * 5 / 375);
    bottom: calc(100cqw * -5 / 375);
    left: 50%;
    transform: translateX(-50%);
    border-color: var(--color-red) transparent transparent transparent;
}