@charset "UTF-8";

/*-----------------------------------
	headline (デザイン画像に基づき英語を大、日本語を小へ)
-----------------------------------*/
#headline {
    background-image: url(../img/faq/mv.jpg);
}

#headline h1::after {
    content: "FAQ";
}

/*-----------------------------------
	faq_block以降（既存の囲みデザインを維持）
-----------------------------------*/
#faq_block {
    padding-bottom: 100px;
}

.faq_category {
    margin-top: 55px;
}

.faq_main_title {
    text-align: center;
    margin-bottom: 10px;
}

.faq_main_title .en {
    display: block;
    font: 700 1.5rem/1 var(--fEn);
    color: var(--mClr1);
    margin-bottom: 12px;
}

.faq_main_title .jp {
    font: 700 3.7rem/1 var(--fJa);
    position: relative;
    padding-bottom: 15px;
}

.faq_main_title .jp::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 42px;
    height: 2px;
    background: var(--mClr1);
}

.cat_ttl {
    font: 700 2.4rem/1.5 var(--fJa);
    position: relative;
    padding: 10px 25px;
    margin-bottom: 40px;
    border-left: 6px solid var(--mClr1);
}


.faq_card {
    background: #F4F9F8;
    border-radius: 16px;
    padding: 25px 30px;
    margin-bottom: 25px;
}

.faq_q {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.q_icon {
    background: var(--mClr1);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font: 700 2.4rem var(--fEn);
    margin-right: 25px;
    flex-shrink: 0;
    transform: translateY(-2px);
}

.faq_q p {
    font-weight: 700;
    font-size: 1.9rem;
    color: #333;

    line-height: 1.4;
}

.faq_a {
    display: flex;
    align-items: center;
}

.flex_start {
    align-items: flex-start;
}

.a_icon {
    border: 1px solid var(--mClr1);
    color: var(--mClr1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font: 700 2.4rem var(--fEn);
    margin-right: 25px;
    flex-shrink: 0;
    margin-top: 2px;
}

.a_content {
    font-size: 1.6rem;
    line-height: 1.75;
    font-weight: 600;
}

/* ボタンとQRコードのデザイン */
.faq_action_area {
    display: flex;
    align-items: center;
    gap: 35px;
    margin-top: 35px;
}

.btns {
    border-radius: calc(1px/0);
}

.btns:first-child a {
    background-color: var(--mClr1);
    border: 1px solid #FFF;
    color: #fff;
}

.btns:nth-child(2) a {
    background-color: #231815;
    border: 1px solid #FFF;
    color: #fff;
}

.btn_entry {
    padding: 18.5px 70px 18.5px 45px;
    font: 700 1.5rem / 1 var(--fJa);
    line-height: 1.3;
    text-box: trim-both cap alphabetic;
    letter-spacing: 0.03em;
    text-align: left;
    border-radius: calc(1px / 0);
    background-image: url(../img/common/icon_arrow_bwag.svg);
    background-repeat: no-repeat;
    background-position: calc(100% - 5px) center;
    background-size: 38px;
}


.qr_box {
    background: var(--mClr1);
    padding: 10px 10px 5px 10px;
    border-radius: 10px;
    text-align: center;
    width: 130px;
}

.qr_img {
    background: #fff;
    border-radius: 5px;
    margin-bottom: 6px;
}

.qr_img img {
    width: 100%;
    border-radius: 5px;
    display: block;
}

.qr_box span {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
}

.a_content ul {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
    font-family: var(--fJa);
}

.a_content ul li {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    font-size: 1.6rem;
    font-weight: bold;
}

.a_content ul li::before {
    counter-increment: step-counter;
    /* 番号を1ずつ増やす */
    content: counter(step-counter);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 21px;
    height: 21px;
    background-color: var(--mClr1);
    color: #fff;
    border-radius: 50%;
    margin-right: 8px;
    font-family: var(--fJa);
    font-size: 1.4rem;
    line-height: 1;
    padding-top: 3px;
    /* 視覚的に下にズレて見える場合のみ微調整 */
}

.a_content ul li:not(:last-child)::after {
    content: "↓";
    /* 矢印を文字で指定（SVGなどでも可） */
    position: absolute;
    top: 30px;
    /* 数字の下に配置 */
    left: 60px;
    /* 数字の中央に合わせる */
    color: var(--mClr1);
    font-size: 1.6rem;
}

@media screen and (max-width: 840px) {
    .faq_action_area {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 10px;
        margin-top: 25px;
    }

    .faq_category {
        margin-top: 60px;
    }

    .cat_ttl {
        margin-bottom: 30px;

    }

    .faq_q {
        margin-bottom: 25px;
    }

    .a_content {
        font-size: 1.4rem;
    }

    .faq_q p {
        font-size: 1.6rem;
    }

    .btn_entry {
        padding: 15px 45px 15px 20px;
        font-size: 1.4rem;
        background-size: 32px;
    }
}

@media screen and (max-width: 640px) {
    .faq_main_title .jp {
        font-size: 2.5rem;
        padding-bottom: 10px;
        margin-bottom: 0px;
    }

    .faq_main_title .en {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    .faq_action_area {
        margin-top: 10px;
    }

    .faq_category {
        margin-top: 40px;
    }

    .cat_ttl {
        font: 700 1.8rem/1.5 var(--fJa);
        position: relative;
        padding: 5px 25px;
        margin-bottom: 20px;
        border-left: 4px solid var(--mClr1);
    }

    .btn_entry {
        padding: 15px 45px 15px 20px;
        font-size: 1.2rem;
        background-size: 28px;
    }

    #faq_block {
        padding-bottom: 50px;
    }

    .faq_a {
        display: flex;
        align-items: flex-start;
    }

    .faq_card {
        padding: 25px 15px;
    }

    .q_icon {
        width: 30px;
        height: 30px;
        font: 700 1.8rem var(--fEn);
        margin-right: 15px;
    }

    .a_icon {
        width: 30px;
        height: 30px;
        font: 700 1.8rem var(--fEn);
        margin-right: 15px;
    }

    .a_content ul li {
        margin-bottom: 25px;
        font-size: 1.4rem;
        line-height: 28px;
    }

    .a_content ul li::before {
        padding-top: 1px;
    }

    .a_content ul li:not(:last-child)::after {
        top: 23px;
        left: 50px;
    }
}