/* Accordion */

.accordion-item-wrap {
    border-bottom: 2px solid var(--main-black);
    margin-bottom: 20px;
}
.accordion-thumb {
    display: block;
}
.accordion-thumb h2 {
    margin: 0;
    padding: 20px 100px 20px 0;
    transition: var(--main-acc-ease);
    font-size: 60px;
    line-height: 1;
    font-weight: 500;
    position: relative;
}
.accordion-thumb h2::before {
    content: "";
    position: absolute;
    right: 50px;
    top: 50%;
    transform-origin: center;
    transform: translateY(-50%) rotate(-45deg);
    border-right: 2px solid var(--main-black);
    border-bottom: 2px solid var(--main-black);
    width: 30px;
    height: 30px;
    transition: var(--main-easing);
}
.accordion-thumb.active-thumb h2::before {
    transform: translateY(-50%) rotate(45deg);
}
.accordion-thumb:hover h2 {
    color: var(--main-acc-border-color)
}
.accordion-thumb:hover {
    cursor: pointer;
}
.accordion-panel-wrapper {
    max-height: 0;
    overflow: hidden;
}
.accordion-text {
    padding: 20px 0;
    position: relative;
}
.accordion-text::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 1px;
    width: 100%;
    height: 1px;
    background: var(--main-acc--darker-bg-color);
    transform: scaleX(0);
    transition: all 1s ease-in-out;

}
.accordion-panel-wrapper.open .accordion-text::before {
    transform: scaleX(1);
}

@media only screen and (max-width: 1440px) {
	.accordion-thumb h2 {font-size: 42px;}
}
@media only screen and (max-width: 1024px) {
	.accordion-thumb h2 {font-size: 32px;}
}
@media only screen and (max-width: 781px) {
	.accordion-thumb h2 {font-size: 24px;}
}
@media only screen and (max-width: 520px) {
	.accordion-thumb h2 {font-size: 20px;}
}