@charset "UTF-8";

.qa-wrapper {
    width: 100%;
    overflow-x: hidden;
    background-color: #FFFFFF;
    font-family: 'Noto Sans JP', sans-serif;
    color: #444A4D;
}

.qa-wrapper * {
    box-sizing: border-box;
}

.qa-hero-section {
    position: relative;
    width: 100%;
    height: 380px;
    background: #E8F1FF;
    background-image:
            linear-gradient(rgba(167, 202, 255, 0.4) 1px, transparent 1px),
            linear-gradient(90deg, rgba(167, 202, 255, 0.4) 1px, transparent 1px);
    background-size: 60px 60px;
}

.qa-hero-inner {
    width: 100%;
    max-width: 1440px;
    height: 380px;
    margin: 0 auto;
    position: relative;
}

.qa-title-group {
    position: absolute;
    left: 120px;
    top: 190px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
}

.qa-sub-title {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-weight: 900;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #444A4D;
    margin: 0;

    transition: opacity 0.75s, translate 0.75s;
    opacity: 0;
    translate: 0 16px;
}

.qa-sub-title.slideIn {
    opacity: 1;
    translate: 0 0;
}

.qa-main-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 72px;
    line-height: 1;
    font-variant: all-small-caps;
    color: #238DEB;
    margin: 0;
	
    transition: clip-path 1s;
    transition-delay: 0.5s;
    clip-path: inset(0 100% 0 0);

}

.qa-main-title.showFromLeft {
    clip-path: inset(0);
}

.qa-content-section {
    padding: 140px 0 160px;
    background-color: #FFFFFF;
    display: flex;
    justify-content: center;
}

.qa-container {
    width: 880px;
    max-width: 100%;
}

.qa-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.qa-item {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    border-bottom: none;
    padding: 0;
    transition: opacity 1.25s, translate 1.25s;
    transition-delay: 0.5s;
    translate: 0 5vw;
    opacity: 0;
}

.qa-item.slideIn {
    translate: 0 0;
    opacity: 1;
}

.qa-question {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 16px 24px;
    gap: 24px;
    width: 100%;
    min-height: 68px;
    background: #F7F7F7;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    transition: background-color 0.2s ease;
}

.qa-question:hover {
    background-color: #EEEEEE;
}

.qa-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 18px;
    color: #FFFFFF;
}

.q-icon {
    background: #4D9EE8;
}

.a-icon {
    background: #FFB301;
}

.qa-text {
    flex-grow: 1;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #444A4D;
    margin: 0;
}

.qa-toggle-icon {
    width: 16px;
    height: 16px;
    position: relative;
    flex-shrink: 0;
    margin-left: auto;
}

.qa-toggle-icon::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #444A4D;
    transform: translateY(-50%);
}

.qa-toggle-icon::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background-color: #444A4D;
    transform: translateX(-50%);
    transition: transform 0.3s ease;
}

.qa-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease-out, opacity 0.4s ease;
}

.qa-answer-inner {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0 26px;
    gap: 24px;
    width: 100%;
    padding-bottom: 10px;
}

.qa-text-body {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0.02em;
    color: #444A4D;
    margin: 0;
    padding-top: 5px;
}

.qa-text-body p {
    margin: 0;
}

.qa-item.open .qa-answer {
    max-height: 1000px;
    opacity: 1;
}

.qa-item.open .qa-toggle-icon::after {
    transform: translateX(-50%) rotate(90deg);
}

@media (max-width: 1200px) {

    .qa-hero-section {
        position: relative;
        height: 400px;
    }

    .qa-hero-inner {
        width: 100%;
        max-width: 375px;
        margin: 0 auto;
        position: relative;
    }

    .qa-title-group {
        position: absolute;
        left: 0;
        top: calc(50% - 60px / 2 + 41px);
        width: 100%;
        padding: 0 20px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .qa-sub-title {
        font-size: 14px;
        height: 14px;
        line-height: 1;
    }

    .qa-main-title {
        font-size: 56px;
        line-height: 1;
    }

    .qa-content-section {
        max-width: 375px;
        margin: 0 auto;
        padding: 80px 20px 100px;
        gap: 56px;
    }

    .qa-container {
        width: 335px;
        max-width: 335px;
    }

    .qa-list {
        gap: 32px;
    }

    .qa-item {
        gap: 24px;
    }

    .qa-question {
        padding: 14px 20px;
        gap: 20px;
        min-height: 74px;
    }

    .qa-icon-box {
        width: 30px;
        height: 30px;
        font-size: 16px;
        line-height: 1;
    }

    .qa-text {
        font-size: 15px;
        line-height: 1.5;
    }

    .qa-answer-inner {
        padding: 0 20px;
        gap: 20px;
        padding-bottom: 10px;
    }

    .qa-text-body {
        font-size: 15px;
        line-height: 1.6;
        padding-top: 5px;
    }

    .qa-toggle-icon {
        width: 16px;
        height: 16px;
    }
}
