@charset "utf-8";

.mold-wrap{
    display: flex;
    gap: 2em 3em;
}
.mold-wrap .imagebox{
    width: 100%;
    max-width: 420px;
}
.mold-wrap .textbox{
    flex: 1;
}
@media (max-width:960px){
    .mold-wrap{
        flex-direction: column;
    }
    .mold-wrap .imagebox{
        margin-right: auto;
        margin-left: auto;
        max-width: 540px;
    }
}


.flow-comment{
    font-size: 180%;
    line-height: 1.2;
    margin-top: -.6em;
    margin-bottom: 1.5em;
    font-weight: bold;
    text-align: center;
    word-break: keep-all;
    overflow-wrap: anywhere;
}
@media (max-width:960px){
    .flow-comment{
        font-size: min(6vw, 160%);
        margin-top: 1em;
    }
}


.flowlist .block{
    position: relative;
}
.flowlist .block:not(:last-child){
    margin-bottom: 3em;
}
.flowlist .title{
    background: #58535E;
    color: #fff;
    font-weight: bold;
    padding: 0 30px;
    font-size: min(6vw, 140%);
    line-height: 1.4;
    display: flex;
    align-items: center;
    column-gap: .6em;
    width: 100%;
    max-width: 16em;
    height: 80px;
    position: relative;
    z-index: 2;
}
.flowinner{
    display: flex;
    flex-direction: row-reverse;
}
.flowinner .imagebox{
    width: 100%;
    max-width: 460px;
}
@media (max-width:1100px) and (min-width: 961px){
    .flowinner .imagebox{
        max-width: 36%;
    }
}
@media (min-width:961px){
    .flowinner .imagebox{
        margin-top: -80px;
    }
    .flowinner .textbox{
        flex: 1;
        font-size: 110%;
        margin: 2em 3em 0 4em;
    }
}
@media (max-width:960px){
    .flowinner{
        flex-direction: column;
        padding: 1em 0 0 4em;
        row-gap: 1em;
    }
}
@media (min-width:641px){
    .flowlist .block:not(:last-child)::before{
        content: "";
        display: block;
        position: absolute;
        width: 1px;
        background: #58535E;
        left: 2em;
        top: 0;
        height: calc(100% + 3em);
    }
}
@media (max-width:640px){
    .flowinner{
        padding-left: 0;
    }
}



.works-list{
    border-top: 1px solid #8c8891;
}
.works-list .block{
    display: flex;
    gap: 2em;
    border-bottom: 1px solid #8c8891;
    padding: 30px 10px;
}
.works-list .title{
    width: 10em;
    font-weight: bold;
}
.works-list .comment{
    flex: 1;
}



.faqblock{
    border-bottom: 1px solid #8c8891;
    padding-bottom: 2.5em;
    padding-right: 10px;
    padding-left: 10px;
}
.faqblock + .faqblock{
    margin-top: 2.5em;
}
.faqblock :is(.title, .comment){
    position: relative;
    padding-left: 40px;
}
.faqblock .comment{
    padding-top: 3px;
}
.faqblock .title::before,
.faqblock .comment::before{
    font-weight: bold;
    position: absolute;
    font-size: 30px;
    left: 0;
    top: 0;
    line-height: 1;
    font-family: "Oswald", sans-serif;
}
.faqblock .title{
    font-weight: bold;
    font-size: min(5vw, 125%);
    margin-bottom: .8em;
}
.faqblock .title::before{
    content: "Q.";
}
.faqblock .comment::before{
    content: "A.";
}

.faqblock.imgwrap{
    display: flex;
    gap: 2em 3em;
}
.faqblock.imgwrap .textbox{
    flex: 1;
}
.faqblock.imgwrap .imagebox{
    width: 100%;
    max-width: 360px;
}
@media (max-width:960px){
    .faqblock.imgwrap{
        flex-direction: column;
    }
    .faqblock.imgwrap .imagebox{
        margin-right: auto;
        margin-left: auto;
        max-width: 420px;
    }
}