@charset "utf-8";

/* お問い合わせから納品まで
=======================================================*/
.flow {
    position: relative;
    padding: 5% 0 15%;
    background-color: var(--color_1);
}
.flow::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 6vw;
    height: 3vw;
    background-color: var(--color_4);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.flow .contents {
    position: relative;
    width: 100%;
    margin-top: -5%;
    padding: 0 14%;
    background-color: var(--color_1);
    text-align: center;
}

.flow .contents h2 {
    margin: 0 auto 2em;
}

.flow .contents h2 > br {
    display: none;
}

.flow__inner {
    width: 80%;
    margin: 0 auto;
}

.flow__item {
    width: 100%;
    margin-bottom: 8%;
    border: var(--color_3) 0.1388vw solid;
    border-radius: 1.388vw;
}
.flow__item:last-of-type {
    margin-bottom: 0;
}

.item__title {
    position: relative;
}
.item__title p.number {
    position: absolute;
    top: 0;
    left: 0;
    width: fit-content;
    height: auto;
    padding: 1.5% 2%;
    text-align: center;
    color: var(--color_1);
    background-color: var(--color_3);
    border-radius: 1.388vw 0 1.388vw 0;
    line-height: 0.8em;
}
.item__title p.number::first-line {
    font-size: 50%;
}

.item__title h3 {
    width: 100%;
    padding: 2%;
    color: var(--color_3);
    font-weight: bold;
    text-align: center;
    border-radius: 1.388vw 1.388vw 0 0;
}

.item__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 2% 8% 3%;
    line-height: 1.8em;
}
.item__inner > p {
    width: 75%;
}
.item__inner > div {
    width: 18%;
}

.flow__item:last-of-type .item__inner > div {
    width: 14%;
    padding-right: 4%;
}

@media screen and (max-width: 1024px) {
    .flow__inner {
        width: 100%;
    }

}
@media screen and (max-width: 896px) {
    .flow {
        padding: 10% 0 20%;
    }
    .flow::before {
        width: 10vw;
        height: 6vw;
    }
    .flow .contents {
        padding: 0 10%;
    }
    .item__inner {
        padding: 2% 5% 3%;
    }
}

@media screen and (max-width: 480px) {
    .flow {
        padding: 15% 0 25%;
    }
    .flow::before {
        width: 12vw;
        height: 6vw;
    }
    .flow .contents h2 {
        line-height: 1.2em;
        text-align: center;
    }
    .flow .contents h2 > br {
        display: block;
    }
    .flow .contents {
        position: relative;
        padding: 0 5%;
    }
    .flow__item {
        margin-bottom: 10%;
        border-radius: 3.47vw;
    }
    .item__title p.number {
        padding: 3%;
        border-radius: 3.47vw 0 3.47vw 0;
    }
    .item__title h3 {
        padding: 3%;
        border-radius: 3.47vw 3.47vw 0 0;
    }
    .item__inner {
        display: block;
        width: 100%;
        padding: 5% 8%;
    }
    .item__inner > p {
        width: 100%;
    }
    .item__inner > div {
        width: 55%;
        margin: 8% auto 3%;
    }
    .flow__item:last-of-type .item__inner > div {
        width: 35%;
        padding-right: 0;
    }
}

/* 代表メッセージ
=======================================================*/
.message {
}

.message .contents {
    width: 80%;
    margin: -11.5% 0 10% auto;
    padding: 8% 14% 8% 10%;
    border-radius: 6.94vw 0 0 6.94vw;
    background-color: var(--color_1);
}

.message .contents h3 {
    margin: 0 auto 2em 0;
}

.message__imgWrap {
    position: relative;
    width: 80%;
    margin-bottom: 5%;
}
.message__imgWrap::before {
    content: "";
    position: absolute;
    bottom: -5%;
    right: -14%;
    width: 22%;
    height: 25%;
    background: url(../img/message-strawberry-img.png) no-repeat;
    background-position: right bottom;
    background-size: contain;
}

.message__inner {
    width: 80%;
}

.message__inner > h4 {
    line-height: 2em;
    margin-bottom: 5%;
}
.message__inner h4 span {
    font-size: 150%;
}

/*team境部分*/
.message .team {
    position: relative;
    padding: 0 14%;
    background-color: var(--color_1);
    z-index: 1;
}
.message .team::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 85%;
    background-color: var(--color_4);
    z-index: -1;
}

.message .team h4 {
    width: fit-content;
    height: auto;
    margin-bottom: 3%;
    padding: 0 5%;
    background-color: var(--color_1);
    font-weight: bold;
    line-height: 1.8em;
    filter: drop-shadow(#333333 0 5px 10px);
    clip-path: polygon(0 0, 100% 0, 95% 50%, 100% 100%, 0 100%, 5% 50%);
    transform: rotate(-5deg);
}

.message .team h4 span {
    color: var(--color_3);
}

.family__wrap {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.family__wrap p {
    position: relative;
    width: calc(100% / 4 - 3%);
    height: auto;
    aspect-ratio: 1 / 1.3;
}

.family__wrap p span {
    position: absolute;
    left: 0;
    display: block;
    width: fit-content;
    height: fit-content;
    padding: 7% 11%;
    line-height: 1.6em;
    letter-spacing: 0.14em;
    font-weight: bold;
    background-color: var(--color_1);
    border-radius: 1.388vw;
}
.family__wrap p:first-of-type span {
    bottom: 45%;
}
.family__wrap p:nth-of-type(2) span {
    bottom: 68%;
}
.family__wrap p:nth-of-type(3) span {
    bottom: 66%;
    left: auto;
    right: 25%;
}
.family__wrap p:last-of-type span {
    bottom: 40%;
    left: auto;
    right: -10%;
}

.family__wrap p img {
    position: absolute;
}

.family__wrap p:first-of-type img {
    bottom: 0;
    right: 7%;
    width: 68%;
}
.family__wrap p:nth-of-type(2) img {
    bottom: 10%;
    right: -5%;
    width: 85%;
}
.family__wrap p:nth-of-type(3) img {
    bottom: 18%;
    right: 0;
    width: 80%;
}
.family__wrap p:last-of-type img {
    bottom: 0;
    left: 7%;
    width: 64%;
}

.team__wrap {
    margin: 10% auto 0;
}

.team__wrap p {
    margin-bottom: 1em;
    font-family: "Kaisei Opti", serif;
    font-weight: bold;
    text-align: center;
    color: var(--color_3);
}

.team__wrap .team__img {
    width: 80%;
    height: auto;
    margin: 0 auto;
    aspect-ratio: 1 / 0.4;
    overflow: hidden;
}

.team__wrap .team__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media screen and (max-width: 1300px) {
    .family__wrap p:first-of-type span {
        left: -8%;
    }
    .family__wrap p:nth-of-type(2) span {
        left: -8%;
    }
    .family__wrap p:last-of-type span {
        bottom: 45%;
        right: -18%;
    }
}

@media screen and (max-width: 1024px) {
    .message .team {
        padding: 0 10%;
    }
    .family__wrap p:first-of-type span {
        left: -8%;
    }
    .family__wrap p:nth-of-type(2) span {
        left: -8%;
    }
    .family__wrap p:last-of-type span {
        bottom: 45%;
        right: -18%;
    }
}


@media screen and (max-width: 896px) {
    .message .contents {
        width: 90%;
        margin: -26.5% 0 10% auto;
        padding: 10%;
    }
    .message__imgWrap {
        width: 90%;
        margin-bottom: 8%;
    }
    .message__inner {
        width: 90%;
    }
    .family__wrap {
        justify-content: space-around;
    }
    .family__wrap p {
        width: calc(100% / 2 - 10%);
        margin-bottom: 8%;
        aspect-ratio: 1 / 1;
    }
    .family__wrap p span {
        bottom: auto;
        top: 0;
        left: 0;
    }
    .family__wrap p:first-of-type span {
        left: 0;
    }
    .family__wrap p:nth-of-type(2) span {
        left: -5%;
    }
    .family__wrap p:nth-of-type(3) span {
        left: 10%;
        top: 15%;
    }
    .family__wrap p:last-of-type span {
        bottom: auto;
        right: -5%;
        top: 15%;
    }
    .family__wrap p:first-of-type img {
        right: 0;
        width: 70%;
    }
    .family__wrap p:nth-of-type(2) img {
        bottom: -12%;
        right: -5%;
        width: 88%;
    }
    .family__wrap p:nth-of-type(3) img {
        bottom: 0;
        right: 0;
        width: 82%;
    }
    .family__wrap p:last-of-type img {
        left: 0;
        width: 62%;
    }
}

@media screen and (max-width: 600px) {
    .message .contents {
        width: 94%;
        padding: 10% 2% 10% 7%;
    }
    .message .contents h3 {
        margin: 0 auto 1.5em 0;
    }
    .message .team {
        padding: 10% 5%;
    }
    .message .team::before {
        height: 93%;
    }
    .family__wrap p {
        width: 75%;
        margin: 8% auto 0;
    }
}

@media screen and (max-width: 480px) {
    .family__wrap p {
        width: 80%;
    }
    .team__wrap .team__img {
        width: 90%;
    }
    .team__wrap p {
        font-size: 98%;
    }
}


/* 会社概要
=======================================================*/
.overview {
    padding: 10% 0;
    background-color: var(--color_1);
}

.overview .contents {
    padding: 0 10%;
}

.overview__inner {
    width: 80%;
    margin: 5% auto 0;
}

.overview__inner dl {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.overview__inner dl div {
    width: 48%;
}

.overview__inner dl div dt {
    padding: 1.5% 5%;
    background-color: var(--color_4);
}

.overview__inner dl div dd {
    margin-bottom: 5%;
    padding: 5% 5% 2.5%;
    line-height: 1.4em;
}

.overview__inner dl div dd .br__tab {
    display: none;
}

@media screen and (max-width: 1200px) {
    .overview__inner {
        width: 90%;
    }
}

@media screen and (max-width: 1024px) {
    .overview__inner {
        width: 100%;
        margin: 10% auto 0;
    }
}

@media screen and (max-width: 896px) {
    .overview__inner {
        width: 100%;
    }
    .overview__inner dl div dd .br__tab {
        display: block;
    }
}

@media screen and (max-width: 600px) {
    .overview .contents {
        padding: 10%;
    }
    .overview__inner dl div {
        width: 100%;
    }
    .overview__inner dl div dt {
        padding: 1.5% 8%;
    }
    .overview__inner dl div dd {
        padding: 5% 8% 2.5%;
    }
}