@charset "utf-8";

/* 苺へのこだわり
=======================================================*/
.kodawari {
}
.kodawari .contents {
    position: relative;
    width: 80%;
    margin: -11.5% auto 15% 0;
    padding: 8% 14%;
    border-radius: 0 6.94vw 6.94vw 0;
    background-color: var(--color_1);
}

.kodawari .contents h2 {
    margin-bottom: 2em;
}

.kodawari__inner {
    width: 80%;
}

.kodawari__imgWrap {
    position: absolute;
    top: 50%;
    right: -13%;
    transform: translateY(-45%);
    width: 35%;
    height: auto;
    display: flex;
    flex-direction: column;
}
.kodawari__imgWrap > div {
    width: 80%;
    height: auto;
    opacity: 0;
}
.kodawari__imgWrap > div:first-of-type {
    margin-left: 14%;
}
.kodawari__imgWrap > div:nth-of-type(2) {
    margin: 5% auto 20% 0;
}
.kodawari__imgWrap > div:last-of-type {
    margin-left: 20%;
}

/*スクロール時*/
.kodawari .scroll-active-left > .kodawari__imgWrap > div:first-of-type  {
    opacity: 1;
    transition: 1s;
    transition-delay: 1.5s;
}
.kodawari .scroll-active-left > .kodawari__imgWrap > div:nth-of-type(2)  {
    opacity: 1;
    transition: 1s;
    transition-delay: 2s;
}
.kodawari .scroll-active-left > .kodawari__imgWrap > div:last-of-type  {
    opacity: 1;
    transition: 1s;
    transition-delay: 2.5s;
}

@media screen and (min-width: 1600px) {
    .kodawari__imgWrap {
        position: absolute;
        top: 50%;
        right: -13%;
        transform: translateY(-50%);
        width: 30%;
    }
}

@media screen and (max-width: 1024px) {
    .kodawari__imgWrap {
        right: -20%;
        width: 40%;
    }
    .kodawari__inner {
        width: 90%;
    }
}
@media screen and (max-width: 896px) {
    .kodawari .contents {
        width: 90%;
        margin: -21.5% auto 15% 0;
        padding: 10%;
    }
    .kodawari__inner {
        width: 80%;
    }
    
    .kodawari__imgWrap {
        right: -10%;
        transform: translateY(-50%);
        width: 33%;
        height: 100%;
        padding: 10% 0;
        justify-content: center;
    }
    .kodawari__imgWrap > div:last-of-type {
        margin-top: 30%;
    }
}

@media screen and (max-width: 600px) {
    .kodawari .contents {
        width: 94%;
        padding: 10% 4% 10% 10%;
    }
    .kodawari__inner {
        width: 100%;
    }
    .kodawari__imgWrap {
        position: relative;
        right: 0;
        display: block;
        transform: translateY(0);
        width: 100%;
        height: auto;
        padding: 10% 0 0;
    }
    .kodawari__imgWrap > div {
        width: 70%;
    }
    .kodawari__imgWrap > div:first-of-type {
        margin: 0 0 0 auto;
    }
    .kodawari__imgWrap > div:nth-of-type(2) {
        margin: 3% auto 15% 0;
    }
    .kodawari__imgWrap > div:last-of-type {
        margin: 15% 5% 0 auto;
    }
}

@media screen and (max-width: 480px) {
}

/* 代表メッセージ
=======================================================*/
.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;
    padding: 0 10%;
}
.family__wrap p {
    position: relative;
    width: calc(100% / 4 - 3%);
    height: auto;
    aspect-ratio: 1 / 1.3;
    font-size: 70%;
}

.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: -15%;
}

.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: 0;
    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: -23%;
    }
}


@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 - 15%);
        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: 7%;
    }
    .family__wrap p:nth-of-type(2) span {
        top: 7%;
        left: 0;
    }
    .family__wrap p:nth-of-type(3) span {
        left: 15%;
        top: 10%;
    }
    .family__wrap p:last-of-type span {
        bottom: auto;
        right: -5%;
        top: 0;
    }
    .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: 760px) {
    .family__wrap p {
        width: calc(100% / 2 - 8%);
    }
    .family__wrap p:first-of-type span {
        left: 3%;
    }
    .family__wrap p:nth-of-type(3) span {
        left: 12%;
        top: 10%;
    }
    .family__wrap p:last-of-type span {
        right: -10%;
    }
}

@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: 55%;
    }
    .family__wrap p span {
        border-radius: 3vw;
    }
}

@media screen and (max-width: 480px) {
    .family__wrap p {
        width: 80%;
        font-size: 100%;
    }
    .team__wrap .team__img {
        width: 90%;
    }
    .team__wrap p {
        font-size: 98%;
    }
}
@media screen and (max-width: 380px) {
    .family__wrap p:first-of-type span {
        left: -2%;
    }
    .family__wrap p:nth-of-type(2) span {
        top: 7%;
        left: -10%;
    }
    .family__wrap p:nth-of-type(3) span {
        left: 3%;
        top: 10%;
    }
    .family__wrap p:last-of-type span {
        right: -20%;
    }
}


/* 会社概要
=======================================================*/
.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%;
    }
}