@charset "UTF-8";
.contents-wrapper {
    background-color: white;
    max-width: 900px;
    padding: 50px 30px;
    margin: 0 auto 30px;
    border-radius: 8px;
}

.fc-main {
    color: var(--main-color);
}

h2 {
    font-size: 3.2rem;
    font-weight: bold;
    padding: 10px;
    margin-bottom: 30px;
    color: white;
    text-align: center;
    background-color: var(--main-color);
    border-radius: 35px;
    margin-top: 70px;
}

#target .target-table-wrapper {
    display: flex;
    box-sizing: border-box;
    font-size: 1.4rem;
    margin: 50px auto 0;
}

#target .target-table-wrapper .title,
#target .target-table-wrapper .description {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    border: 1px solid black;
    padding: 7px;
    margin-top: -1px;
    margin-left: -1px;
}

#target .target-table-wrapper .title {
    background-color: #8FC002;
    color: white;
    justify-content: center;
    text-align: center;
}

#target .target-table-wrapper .title-col {
    width: calc(15% + 1px);
}

#target .target-table-wrapper .col1 {
    width: calc(32% + 1px);
}

#target .target-table-wrapper .col2 {
    width: calc(53% + 1px);
}

#target .target-table-wrapper .col3 {
    display: flex;
}

#target .target-table-wrapper .col3 .title,
#target .target-table-wrapper .col3 .description {
    width: calc(50% + 1px);
}

#target .target-table-wrapper .row1 {
    min-height: 60px;
}

#target .target-table-wrapper .row2 {
    min-height: 150px;
}

#target .target-table-wrapper .row3 {
    min-height: 150px;
}

#target .target-table-wrapper .row4 {
    min-height: 65px;
}

@media (max-width: 790px) {
    h2 {
        font-size: 1.8rem;
        padding: 10px 5px;
    }

    #target .target-table-wrapper {
        width: 100%;
        flex-wrap: wrap;
    }

    #target .target-table-wrapper .title-col {
        width: 30%;
    }

    #target .target-table-wrapper .col1,
    #target .target-table-wrapper .col2 {
        width: 70%;
    }

    #target .target-table-wrapper .title-col.u-sp,
    #target .target-table-wrapper .col1 {
        margin-top: 50px;
    }

    #target .target-table-wrapper .row1 {
        min-height: 80px;
    }

    #target .target-table-wrapper .row2 {
        min-height: 200px;
    }

    #target .target-table-wrapper .row3 {
        min-height: 200px;
    }

    #target .target-table-wrapper .row4 {
        min-height: 100px;
    }
}

#target .head_title,
#how-to .title {
    background-color: var(--main-bg-color);
    font-size: 1.8rem;
    font-weight: bold;
    padding: 10px 20px;
    border-left: 10px solid var(--main-color);
    margin-bottom: 25px;
}

#how-to .title span {
    color: red;
}

#how-to ul {
    padding-inline-start: 20px;
}

#how-to ul li {
    font-size: 1.6rem;
    list-style: disc;
    margin-bottom: 20px;
}

#how-to .sub-title {
    color: var(--main-color);
    font-size: 1.8rem;
    font-weight: bold;
    border-bottom: 2px dotted var(--main-color);
}

#how-to .qr {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F6F6F6;
    width: 40%;
    flex-direction: column;
}

#how-to .qr .link {
    width: 90%;
    text-align: center;
}

#how-to .qr .link a {
    color: #1447FF;
    font-size: 1.5rem;
}

#how-to .qr .img {
    width: 50%;
    padding: 10px;
}

#how-to .qr .img img {
    width: 100%;
}

@media (max-width: 790px) {
    #how-to .qr {
        width: 100%;
        flex-direction: column;
    }

    #how-to .qr .link {
        padding-top: 10px;
    }
}

.faq {
    background-color: var(--main-bg-color);
}

.faq .contents-wrapper {
    background-color: inherit;
}

/* FAQ アコーディオン */
.faq-title {
    margin: 0 0 20px 0 !important;
    margin-top: 0 !important;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.faq-q {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 40px;
    background-color: white;
    cursor: pointer;
    user-select: none;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1.8rem;
    font-weight: bold;
}

.faq-q-label {
    color: var(--main-color);
    font-weight: bold;
    flex-shrink: 0;
}

.faq-q-text {
    flex: 1;
    color: #333;
}

.faq-chevron {
    flex-shrink: 0;
    position: relative;
    width: 14px;
    height: 10px;
    transition: transform 0.2s ease;
}

.faq-chevron::before,
.faq-chevron::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 2px;
    height: 12px;
    background-color: #333;
    border-radius: 1px;
}

.faq-chevron::before {
    left: 6px;
    transform-origin: bottom left;
    transform: rotate(-45deg);
}

.faq-chevron::after {
    right: 7px;
    transform-origin: bottom right;
    transform: rotate(45deg);
}

.faq-item.is-open .faq-chevron {
    transform: rotate(180deg);
}

.faq-a {
    padding: 14px 40px 18px;
    border-top: 1px solid #e0e0e0;
}

/* hidden のときは必ず非表示（display: flex より優先する） */
.faq-a[hidden] {
    display: none !important;
}

/* 表示時のみ flex で A とリストを横並びに */
.faq-a:not([hidden]) {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.faq-a-label {
    flex-shrink: 0;
    color: var(--main-color);
    font-weight: bold;
    font-size: 2rem;
}

.faq-a-text {
    flex: 1;
    min-width: 0;
    font-size: 1.6rem;
    line-height: 1.8;
}

.faq-a-list {
    margin: 0;
    padding-left: 20px;
    list-style: disc;
}

.faq-a-list li {
    margin-bottom: 12px;
}

.faq-a-list li:last-child {
    margin-bottom: 0;
}

.faq-note {
    display: block;
    margin-top: 4px;
    padding-left: 1em;
    font-size: 0.95em;
    color: #555;
}

@media (max-width: 790px) {
    .faq-q {
        padding: 15px 10px;
        font-size: 1.6rem;
    }

    .faq-a {
        padding: 14px 10px 18px;
    }
}
