@charset "utf-8";

*, *:before, *:after {
    box-sizing: border-box;
}
body{
    padding: 0;
}
.wrap{
    max-width: 100%;
    margin: 0;
}
.body-wrap{
    width: min(100%,650px);
    margin: 0 auto;
    & img{
        width: 100%;
    }
}

/*動画*/
.movie{
    & a{
        transition: 0.3s;
        display: block;
        &[href=""]{
            pointer-events: none;
            /* display: none; */
        }
        &:hover{
            opacity: 0.8;
        }
    }
}

/*よくある質問*/
.faq{
    background: #efe8e2;
    padding-bottom: min(4vw, 20px);
    & img{
        display: block;
        /* margin-bottom: min(10vw, 93px); */
    }
}
.faq-con {
    width: 87.5%;
    display: block;
    margin: 0 auto;
}
.faq-title{
    position: relative;
    display: flex;
    cursor: pointer;
    margin: 0;
    font-family: "Noto Serif JP", serif;
    background: #f7f4ef;
    padding: min(2.5vw, 1.05rem) min(2.5vw, 1rem) min(2.5vw, 1.4rem) min(2.5vw, 1.5rem);
    border: 2px solid #a19b7c;
    gap: min(1.8vw, 0.55rem);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2), 0 4px 7px rgba(0, 0, 0, 0.15);
    &::before{
        content: "Q.";
        /* background: #bf995f; */
        /* color: #fff; */
        /* aspect-ratio: 1; */
        /* flex-shrink: 0; */
        /* display: flex; */
        /* align-items: center; */
        /* justify-content: center; */
        font-size: clamp(14px, 3vw, 30px);
        font-weight: 100;
        line-height: 1;
        /* width: 10.8%; */
        font-weight: 900;
        color: #a19b7c;
        position: relative;
        top: -0.15rem;
    }
    & span{
        /* padding: min(2.5vw, 1.35rem) min(7.5vw, 3.5rem) min(2.5vw, 1.2rem) min(2.5vw, 1.5rem); */
        /* padding: min(2.5vw, 1.35rem) min(2.5vw, 1.5rem) min(2.5vw, 1.2rem) min(2.5vw, 1.5rem); */
        font-size: 1.5vw;
        color: #221815;
        /* background: #f5efdf; */
        width: 100%;
        line-height: 1;
        font-size: clamp(14px, 3vw, 28px);
        font-weight: 900;
        color: #a19b7c;
        /* &::after{
            content: "";
            display: block;
            background: #bf995f;
            clip-path: polygon(0% 100%, 0% 0%, 0% 0%, 80% 50%);
            aspect-ratio: 1;
            width: min(3.1vw, 20px);
            height: auto;
            position: absolute;
            top: 53%;
            right: min(2.5vw, 1.25rem);
            transform: translatey(-50%) rotate(90deg);
            transition: 0.5s;
        } */
    }
    &.rot span::after{
        transform: translatey(-38%) rotate(32deg);
    }
}
.faq-text{
    color: #221815;
    font-weight: 400;
    font-size: clamp(13px, 3vw, 20px);
    font-family: "Zen Kaku Gothic New", sans-serif;
    display: none;
    /* margin: min(2.5vw, 20px) 0 min(9vw, 75px); */
    padding: min(2.5vw, 1.25rem) min(2.5vw, 1.5rem) min(2.5vw, 1.4rem) min(3.2vw, 1.5rem);
    line-height: 1.55;
    background: #f3eeea;
    & p{
        letter-spacing: min(0.45vw,0.15rem);
        & strong{
            font-weight: bold;
            display: block;
            margin-bottom: min(2vw, 0.8rem);
        }
    }
    & + .faq-title{
        margin-top: min(4vw, 30px);
    }
}
.faq-tt{
    position: relative;
    display: flex;
    gap: min(2vw, 1rem);
    &::before {
        content: "A.";
        font-size: clamp(14px, 3vw, 27px);
        font-weight: 100;
        line-height: 1;
        font-weight: 900;
        color: #990000;
        position: relative;
        top: 0.1rem;
        font-family: "Noto Serif JP", serif;
    }
}

/*ボタン*/
.purchase{
    /* background: #f3ecda;
    padding: min(1.5vw, 10px) min(3.5vw, 23px) min(5vw, 30px); */
    background: #000;
    padding: 0 0 min(2vw, 12px);
    & form{
        /* padding: 0 min(2.5vw, 17px); */
        width: calc(100% - min(2.5vw, 17px)*2);
        margin: 0 auto;
        position: relative;
        overflow: hidden;
        border-radius: 25rem;;
        &::after{
            content: "";
            position: absolute;
            width: 40px;
            height: 150%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .8), transparent);
            transform: rotate(25deg);
            pointer-events: none;
            animation: shine 1.5s infinite;
            left: 0;
            top: -26px;
            @media(width < 641px){
                animation: shine 2s infinite;
            }
        }
    }
    & input{
        background: none;
        border: none;
        padding: 0;
    }
    &:not(:has(img)){
        padding-bottom: min(5vw, 30px);
    }
}
.purchase-btn{
    display: block;
    text-decoration: none;
    transition: .2s all ease-in-out;
    -webkit-animation: anim_sc 1.5s infinite;
    animation: anim_sc 1.5s infinite;
    height: auto;
    width: 100%;
    filter: drop-shadow(5px 5px 10px rgb(0,0,0,0.2));
    -o-object-fit: contain;
    object-fit: contain;
}

@keyframes shine {
    0% {
        transform: translateX(-80px) rotate(25deg);
    }
    /* 20% {
        transform: translateX(80px) rotate(25deg);
    } */
    100% {
        /* transform: translateX(80px) rotate(25deg); */
        transform: translateX(1600%) rotate(25deg);
    }
}

/* @-webkit-keyframes anim_sc {
    0% {
        transform: scale(1)
    }
    30% {
        transform: scale(1)
    }
    40% {
        transform: scale(1.05)
    }
    50% {
        transform: scale(1)
    }
    60% {
        transform: scale(1.05)
    }
    70% {
        transform: scale(1)
    }
    100% {
        transform: scale(1)
    }
}
@keyframes anim_sc {
    0% {
        transform: scale(1)
    }
    30% {
        transform: scale(1)
    }
    40% {
        transform: scale(1.05)
    }
    50% {
        transform: scale(1)
    }
    60% {
        transform: scale(1.05)
    }
    70% {
        transform: scale(1)
    }
    100% {
        transform: scale(1)
    }
} */
