@charset "UTF-8";

/*====================
header
====================*/
.header {
    width: 100vw;
}

.header__fixed {
    background-color: rgba(254, 250, 250, 0.8);
    height: 66px;
    width: 100vw;
    padding: 20px 5.3% 0;
    display: flex;
    top: 0;
    z-index: 10;
}

.header__logo {
    font-family: "Klee One";
    line-height: 1.25;
}

.header__logo .spanIzen {
    font-size: 1.6rem;
    margin-left: 5px;
}

/* header pc */
@media screen and (min-width: 769px) {
    .header {
        width: 100vw;
        display: block;
    }

    .header__fixed {
        display: none;
    }

    .nav {
        display: block;
    }

    .nav {
        width: 23.6%;
        min-width: 340px;
        height: 100vh;
        padding: 40px 2.7%;
        border-right: 1px solid var(--color--warmGray);
        position: fixed;
        top: 0;
        left: 0;
    }

    /* pc 769px */
}

/*====================
main
====================*/
/* faq */
.section--faq {
    width: 100%;
    padding: 146px 5.3% 0;
}

.faq__title {
    width: 174px;
    text-align: center;
    margin: 0 auto;
    font-family: "Klee One";
    font-size: 2.8rem;
    font-weight: 600;
    line-height: 1;
    background-size: 8px 3px;
    background-image: linear-gradient(to right, var(--color--blewGreen) 3px, transparent 3px);
    background-position: left bottom;
    background-repeat: repeat-x;
    padding-bottom: 5px;
}

.faq__message {
    margin-top: 80px;
}

.faq__imgSp {
    position: relative;
}

.faq__imgSp::before {
    content: '';
    background-color: var(--color--warmGray);
    width: 180px;
    height: 180px;
    position: absolute;
    left: -168px;
    bottom: -30px;
    border-radius: 5px;
    display: block;
    z-index: -1;
}

.faq__imgPc {
    display: none;
}

.catchTxt {
    text-shadow: 0px 0px 5px var(--color--blewGreen);
}

.faq__list {
    border-top: 1px solid var(--color--yomogiGray);
    margin: 80px 0;
}

.faq__details {
    border-bottom: 1px solid var(--color--yomogiGray);
    padding-top: 10px;
    padding-bottom: 10px;
}

.faq__question {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;

    padding-right: 32px;

    line-height: 1.75;

    cursor: pointer;
    /* Safari以外のブラウザ用のデフォルト三角を消す */
    list-style: none;
}

/* Safariで表示されるデフォルト三角を消す */
.faq__question::-webkit-details-marker {
    display: none;
}

/* Qアイコン */
.faq__question::before {
    content: "Q";

    flex-shrink: 0;

    display: grid;
    place-items: center;

    width: 30px;
    height: 30px;

    border-radius: 50%;

    background: var(--color--warmGray);
    color: var(--color--blewGreen);

    font-family: "Fraunces";
    font-size: 1.5rem;
}

/* + - アイコン */
.faq__question::after {
    content: "";
    background-image: url(../images/faq-plus.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 20px;
    height: 30px;
    position: absolute;
    top: 0;
    right: 0;
}

/* 開いた時 */
.faq__details[open] {
    border-bottom: none;
    padding-bottom: 0;
}

.faq__details[open] .faq__question::after {
    content: "";
    background-image: url(../images/faq-minus.svg);
}

.faq__content {
    overflow: hidden;
    max-height: 0;

    transition: max-height 0.4s ease;
}

/* 回答 */
.faq__answer {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;

    margin-top: 10px;
    padding: 10px 32px 10px 0;

    background: var(--color--warmGray);

    line-height: 1.75;
}

/* Aアイコン */
.faq__answer::before {
    content: "A";

    display: grid;
    place-items: center;
    flex-shrink: 0;

    width: 30px;
    height: 30px;

    border-radius: 50%;

    background: var(--color--whitePink);
    color: var(--color--blewGreen);

    font-family: "merienda";
    font-weight: 600;
    font-size: 1.5rem;
}


/* faq pc */
@media screen and (min-width: 769px) {
    .section--faq {
        width: 76.4%;
        margin: 0 0 0 auto;
        padding: 80px 6.6% 0;
    }

    .faq__title {
        width: 240px;
        font-size: 3.6rem;
        /* font-size: 4rem; */
        letter-spacing: 0.1em;
        padding-bottom: 8px;
    }

    .faq__imgSp {
        display: none;
    }

    .faq__imgPc {
        display: block;
        position: relative;
    }

    .faq__imgPc::before {
        content: '';
        background-color: var(--color--warmGray);
        width: 300px;
        height: 300px;
        position: absolute;
        left: -270px;
        bottom: -80px;
        border-radius: 5px;
        display: block;
        z-index: -1;
    }

    .faq__list {
        margin: 140px 0 100px;
    }

    .faq__details {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .faq__question {
        gap: 20px;
        margin: 0 1.65% 0;
    }

    .faq__answer {
        gap: 20px;
        margin-top: 20px;
        padding: 20px 6.6% 20px 1.65%;
    }

    /* pc 769px */
}