@charset "utf-8";

:root {
    --main-color: #a01b1f;
}

.wrapper {
    width: 100%;
    max-width: 980px;
    margin: 20px auto;
    height: auto;
    overflow: visible;
}

.header_section {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
}

.header_section iframe,
.header_section video {
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.header_section video {
    object-fit: contain;
}

.header_section video::-webkit-media-controls-download-button {
    display: none;
}

.header_section video::-webkit-media-controls-enclosure {
    overflow: hidden;
}

.header_section video::-webkit-media-controls-panel {
    width: calc(100% + 30px);
}

@media (max-width: 767px) {
    .header_section iframe,
    .header_section video {
        border-radius: 0;
    }

    .header_section video::-webkit-media-controls-panel {
        width: calc(100% + 30px);
    }
}

.faq_title {
    text-align: center;
}

.inner_page {
    font-size: 34px;
    padding-bottom: 15px;
    letter-spacing: 1px;
    line-height: 1.3;
    word-break: break-word;
}

.faq_contents {
    width: 80%;
    margin: 0 auto 20px;
}

.sub_title {
    background-color: var(--main-color);
    border-radius: 15px;
    color: #fff;
    display: inline-block;
    font-size: 16px !important;
    font-weight: bold;
    margin-bottom: 10px;
    padding: 5px 13px !important;
}

.faq_items_inner {
    border: 1px solid #e5e5e5;
}

.faq_items_inner:first-child {
    border-radius: 10px 10px 0 0;
}

.faq_items_inner:last-of-type {
    border-radius: 0 0 10px 10px;
}

.faq_question {
    display: flex;
    justify-content: space-between;
    width: 100%;
    border: none;
    background: none;
    padding: 10px;
    text-align: justify;
    gap: 10%;
    cursor: pointer;
}

.faq_question>p {
    color: var(--main-color);
    line-height: 1.5em;
    font-weight: bold;
    font-size: 15px;
}

.faq_toggle {
    display: inline-block;
    transition: transform 0.6s ease;
}

.faq_toggle.open {
    transform: rotate(45deg);
}

.faq_answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease;
}

.faq_answer.open {
    max-height: 200px;
}

.faq_answer>p {
    line-height: 1.6;
    text-align: justify;
}

.faq_inner {
    padding: 15px 10px;
}

.faq_inner>p {
    line-height: 1.6;
    text-align: justify;
}
