/* ----------------------------------------
ABOUT 私たちについて
---------------------------------------- */

.about {
    padding-top: var(--space-md);
}

.about::before {
    content: "";
    background-image: url(../../img/common/illust_6.webp);
    background-size: contain;
    background-repeat: no-repeat;
    display: block;
    width: clamp(200px, 26vw, 500px);
    aspect-ratio: 2346/2003;
    position: absolute;
    top: var(--space-6xl);
    left: 0;
}

.about::after {
    content: "";
    background-image: url(../../img/common/illust_7.webp);
    background-size: contain;
    background-repeat: no-repeat;
    display: block;
    width: clamp(180px, 23vw, 450px);
    aspect-ratio: 2606/2099;
    position: absolute;
    bottom: var(--space-6xl);
    right: 0;
}

.about__copy {
    --min-size: 24;
    --max-size: 38;
    font-size: var(--clamp-size);
    font-weight: var(--fontWeight-medium);
    letter-spacing: 0.2em;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 0.5em;
}

.about__text {
    text-align: center;
    line-height: 2.25;
    display: flex;
    flex-direction: column;
    gap: 1em;
}



@media (width < 768px) {
    .recruit-message__inner {
        flex-direction: column;
    }

    /* イラストの位置 */
    .about::before,
    .about::after {
        content: unset;
    }

    .about__text p:nth-child(1)::after {
        content: "";
        background-image: url(../../img/common/illust_6.webp);
        background-size: contain;
        background-repeat: no-repeat;
        display: block;
        width: clamp(10px, 90%, 400px);;
        aspect-ratio: 2346/2003;
        margin: 1em auto 0;
    }

    .about__text p:last-child::after {
        content: "";
        background-image: url(../../img/common/illust_7.webp);
        background-size: contain;
        background-repeat: no-repeat;
        display: block;
        width: clamp(10px, 75%, 360px);
        aspect-ratio: 2606/2099;
        margin: 1em auto 0;
    }

    .about__text {
        text-align: justify;
    }
}

@media (width < 480px) {
    .about__copy {
        font-size: clamp(16px, 5.8vw, 26px);
    }
}


/* ----------------------------------------
MISSION
---------------------------------------- */
.mission {
    padding-top: var(--space-9xl);
    background-color: var(--color-bg-l-pink);

    .heading02 {
        margin-bottom: var(--space-9xl);
    }
}

.mission__wrap {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: var(--space-xl);

    .mission__head {
        flex: 3.3;
    }

    .mission__title {
        --min-size: 20;
        --max-size: 29;
        font-size: var(--clamp-size);
        font-weight: var(--fontWeight-medium);
        letter-spacing: 0.1em;
        line-height: 1.63;
        margin-bottom: var(--space-lg);
        display: flex;
        flex-direction: column;
        gap: var(--space-xs);
        align-items: flex-start;
    }

    .mission__title::before {
        content: attr(data-en);
        display: block;
        --min-size: 14;
        --max-size: 17;
        font-size: var(--clamp-size);
        letter-spacing: 0.05em;
    }

    .mission__img {
        /* border-radius: 3.5cqi; */
        border-radius: var(--border-radius-lg);
        overflow: hidden;
        flex: 6.7;
        flex-shrink: 1;

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }

    @media (width < 768px) {
        flex-direction: column;
    }
}

.about__slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.about__slides {
    position: relative;
    width: 100%;
    height: 18.5vw;
}

@media (width < 1200px) {
    .about__slides {
        height: 24.6vw;
    }
}

@media (width < 768px) {
    .about__slides {
        height: 37.8vw;
    }
}

@media (width < 480px) {
    .about__slides {
        height: 74.5vw;
    }
}


/* ----------------------------------------
VALUE 大切にしていること
---------------------------------------- */

.value {
    /* background-color: var(--color-bg-l-pink); */
    /* margin-top: -1px; */
}

.value__inner {
    /* background-color: #fff;
    --min-size: 20;
    --max-size: 90;
    padding: var(--space-4xl) var(--clamp-size);
    border-radius: var(--border-radius-lg); */

    ol {
        display: flex;
        flex-direction: column;
        gap: var(--space-6xl);
        /* max-width: 800px; */
        margin-inline: auto;
    }

    li {
        display: flex;
        flex-direction: row-reverse;
        align-items: flex-end;
        gap: var(--space-3xl);
    }

    .value__contents {
        display: flex;
        align-items: flex-start;
        justify-content: flex-end;
        gap: var(--space-md);
        width: min(900px, 90%);
        margin-inline: auto;
        flex: 1;
    }

    .value__text {
        display: flex;
        flex-direction: column;
        gap: var(--space-sm);

    }

    h3 {
        --min-size: 19;
        --max-size: 27;
        font-size: var(--clamp-size);
        font-weight: var(--fontWeight-medium);
        text-align: left;
        display: flex;
        align-items: flex-start;
        line-height: 1.75;
    }

    /* ピンクの番号 */
    h3 .value__number {
        --min-size: 40;
        --max-size: 64;
        font-size: var(--clamp-size);
        color: var(--color-main);
        font-family: var(--fontFamily-en);
        font-weight: 300;
        font-style: italic;
        line-height: 1;
        display: inline-block;
        margin-right: 0.2em;
        margin-bottom: .1em;
        letter-spacing: -0.02em;
    }

    h3 strong{
            margin-top: calc(2px + clamp(5px, 1.1vw, 13px));
    }
}

.value__img {
    /* border-radius: 4cqi; */
    /* border-radius: var(--border-radius-lg); */
    /* overflow: hidden; */
    flex: 1;
    /* min-width: 400px; */
    aspect-ratio: 1/1;
    width: auto;
    height: auto;

    img {
        width: 100%;
        height: auto;
        object-fit: cover;
        aspect-ratio: 1 / 1;
        border-radius: var(--border-radius-lg);
        overflow: hidden;
    }
}

/* イラストの囲い線 */
.value ol li:first-of-type .value__img {
    /* border: 1.5px solid var(--color-base); */
}

@media (width < 1024px) {

    .value__inner {
        max-width: 80%;

        /* ピンクの番号 */
        /* h3 span {
            --min-size: 60;
            --max-size: 80;
            font-size: var(--clamp-size);
            color: var(--color-main);
            font-family: var(--fontFamily-en);
            font-weight: 300;
            font-style: italic;
            line-height: 1;
            display: inline-block;
        } */


        li {
            flex-direction: column-reverse;
            align-items: flex-end;
        }

        .value__contents {
            margin-inline: unset;
        }
    }
}

@media (width < 768px) {
    .value__inner {
        max-width: 100% !important;

        .value__contents {
            width: 100%;
            flex-direction: column;
        }
    }
}


/* ----------------------------------------
GREET ごあいさつ
---------------------------------------- */
.greet {
    background-color: var(--color-bg-l-pink);
    margin-top: -1px;
}

.greet__inner {
    /* background-color: #fff;
    --min-size: 20;
    --max-size: 90;
    padding: var(--space-4xl) var(--clamp-size);
    border-radius: var(--border-radius-lg); */
}

.greet__box {
    display: flex;
    justify-content: space-between;
    column-gap: var(--space-3xl);
    padding-top: var(--space-9xl);
    padding-bottom: var(--space-9xl);
    position: relative;
}

.greet__box:first-of-type::after {
    content: "";
    display: block;
    width: calc(100% + 6vw);
    height: 1px;
    background-color: var(--color-border-brown);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.greet__box:first-of-type {
    padding-top: 0;
}

.greet__box:last-child {
    padding-bottom: 0;
}

/* ········ 写真 ········ */

.greet__images {
    flex: 4;
}

.greet__contents {
    flex: 6;
}

.greet__img {
    /* border-radius: 3.75cqi; */
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    margin-bottom: 1em;
    max-width: 400px;

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.greet__name {

    display: flex;
    flex-direction: column;

    span {
        font-size: var(--fontSize-xl);
    }
}

/* ········ 紹介文········ */

/* コピー */
.greet__copy {
    --min-size: 19;
    --max-size: 27;
    font-size: var(--clamp-size);
    font-weight: var(--fontWeight-medium);
    letter-spacing: 0.06em;
    line-height: 1.7;
    margin-bottom: var(--space-md);
    font-feature-settings: normal;
}

.greet__text {
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--color-border-brown);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

/* プロフィール */

.greet__profile {
    padding-top: var(--space-xl);
}

/* ········ MOVIE ········ */

.greet__movie {
    margin: 0 auto var(--space-3xl);
    text-align: center;
    aspect-ratio: 16 / 9;
    width: min(100%, 900px);
    height: 100%;

    iframe {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

}

@media (width < 768px) {
    .greet__box {
        flex-direction: column;
    }

    .greet__images {
        margin-bottom: var(--space-3xl);
    }

    .greet__img {
        max-width: 340px;

    }

    .greet__contents {
        width: 100%;
    }
}

/* ----------------------------------------
COMPANY 会社概要
---------------------------------------- */

.company {
    background-color: var(--color-bg-beige);
}

.company__inner {
    padding: var(--space-4xl) var(--space-3xl);
    background-color: #fff;
    /* border-radius: 2.7cqi; */
    border-radius: var(--border-radius-lg);
}

.company__list {
    display: flex;
    flex-direction: column;
    max-width: 800px;
    margin: 0 auto;
}

.company__item {
    display: flex;
    column-gap: var(--space-xl);
    padding: 1em 0;
    border-bottom: 1px solid var(--color-border-brown);
}


.company__item:last-child {
    border-bottom: none;
}

.company__item dt {
    width: 4.5em;
}

.company__office {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.company__office dd {
    flex: 1;
    display: flex;
    justify-content: space-between;
    gap: 1em;
}

/* ········ 事業所情報 ········ */
.company__office dd:not(:last-child) {
    padding-bottom: 1em;
    border-bottom: 1px solid var(--color-border-brown);
}

.company__type {
    display: flex;
    align-items: center;
    gap: 0.5em;
}

/* 事業所前の四角 */
.company__type::before {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    background-color: var(--color-main);
}

.company__type-green::before {
    background-color: var(--color-green);
}

.company__type-brown::before {
    background-color: var(--color-brown);
}

.company__type-orange::before {
    background-color: var(--color-orange);
}

.company__type-black::before {
    background-color: var(--color-black);
}

.company__name,
.company__address,
.company__tel {
    margin-left: 1.5em;
}

/* ボタン */
.company__btns {

    .btn-small {
        font-size: var(--fontSize-sm);
        width: clamp(80px, 50vw, 110px);
        margin-top: 1em;
    }
}

.company__btns:not(:has(.btn-more)) {
    margin-top: 1em;
}

/* HOVER */
.company__btns-green .btn:hover {
    background-color: var(--color-green);
    border: 1px solid var(--color-green);
    color: #fff;
}

.company__btns-brown .btn:hover {
    background-color: var(--color-brown);
    border: 1px solid var(--color-brown);
    color: #fff;
}

.company__btns-orange .btn:hover {
    background-color: var(--color-orange);
    border: 1px solid var(--color-orange);
    color: #fff;
}


@media (width < 768px) {
    .company__item {
        flex-direction: column;
    }

    .company__office dd {
        display: flex;
        flex-direction: column;
        gap: 0.5em;
    }

    .company__tel {
        width: 100%;
    }

    .company__fax {
        display: block;
        margin-left: 1.5em;
    }

    .company__btns {
        display: flex;
        flex-direction: row;
        align-items: center;
        margin-left: auto;
        gap: 1em;
    }
}


.page-about .links {
    background-color: var(--color-bg-l-pink);

}