@charset "UTF-8";

/*
ブレイクポイント
SP 〜519px
tab 520px ~ 959px (min-width:520px)
pc 960px~ (min-width:960px)
*/

section {
    max-width: 80%;
    margin: 0 auto 80px;
}

.about-inner {
    margin-bottom: 4.8rem;
}

.about-text {
    font-size: 1.6rem;
    font-family: var(--font-hiragino);
    text-align: center;
    margin-bottom: 1.8rem;
}

.about-text p {
    margin-bottom: 4rem;
}

.about-text div {
    display: block;
    width: 1px;
    height: 4.5rem;
    background: var(--text-color);
    margin: 0 auto;
}

.about-picture {
    width: 100%;
    height: 30rem;
    position: relative;
    margin-bottom: var(--section-gutter);
    overflow: hidden; /* パララックス効果のために追加 */
    padding: 10rem 0;
}

.about-picture__item {
    position: absolute;
    transition: transform 0.3s ease-out; /* より滑らかな動きに調整 */
}

.about-picture__item img {
    border-radius: 1rem;
}

/* パララックス効果用のクラス */
.about-picture__item--parallax-slow {
    transform: translateY(0px);
}

.about-picture__item--parallax-medium {
    transform: translateY(0px);
}

.about-picture__item--parallax-fast {
    transform: translateY(0px);
}

.about-picture__item--top {
    top: 0;
    left: 3%;
    width: 18rem;
    height: 13rem;
}

.about-picture__item--middle {
    top: 5%;
    right: 0;
    width: 14rem;
    height: 14rem;
}

.about-picture__item--bottom {
    bottom: 0;
    left: 0;
    width: 25rem;
    height: 15rem;
}

.about-profire__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column-reverse;
    gap: 4.8rem;
}


.about-profire__item p {
    font-size: var(--size-md);
    line-height: 1.8;
    margin-bottom: var(--size-xl);
}

.about-profire__item div {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 1.6rem;
    font-size: 1.6rem;
    font-weight: bold;
    font-family: var(--font-hiragino);
}

.company-title {
    margin-bottom: var(--section-gutter);
}

.company-contents {
    position: relative;
    padding: 2rem 0;
}

.company-contents__border {
    position: absolute;
    top: 0;
    left: 6.8rem;
    display: block;
    width: 0.15rem;
    height: 100%;
    background: var(--text-color);
}

.company-item {
    display: flex;
    gap: 3rem;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 3rem;
}

.company-item:last-child {
    margin-bottom: 0;
}

.company-item dt {
    flex-shrink: 0;
    width: 5.2rem;
    text-align: right;
}

/* ===============ここからmin-width:520px=============== */
@media screen and (min-width:520px) {
}

/* ===============ここまでmin-width:520px=============== */

/* ===============ここからmin-width:960px=============== */
@media screen and (min-width:960px) {



    .about-inner {
        margin-bottom: 17.5rem;
    }

    .about-text {
        font-size: 4.8rem;
        margin-bottom: 8rem;
    }

    .about-text p {
        margin-bottom: 13.4rem;
    }

    .about-text div {
        height: 16.4rem;
    }

    .about-picture {
        max-width: 120rem;
        height: 80rem;
        margin: 0 auto;
        margin-bottom: 15rem;
    }


    .about-picture__item {
        position: absolute;
    }

    .about-picture__item--top {
        width: 50rem;
        height: 30rem;
    }

    .about-picture__item--middle {
        width: 50rem;
        height: 50rem;
    }

    .about-picture__item--bottom {
        width: 72rem;
        height: 43rem;
    }

    .about-profire__container {
        max-width: 110rem;
        flex-direction: row;
        gap: 9.5rem;
        margin: 0 auto;
    }

    .about-profire__pic {
        width: 51rem;
        height: 31rem;
        flex-shrink: 0;
    }

    .about-profire__item div {
        gap: 6.4rem;
        font-size: 3rem;
    }


    .company-title {
        margin-bottom: var(--section-gutter);
    }

    .company-contents {
        padding: var(--size-xl) 27rem;
    }

    .company-contents__border {
        left: 39.4rem;
    }

    .company-item {
        gap: 6rem;
        font-size: var(--size-md);
        margin: 0 auto;
        margin-bottom: 6rem;
    }

    .company-item:last-child {
        margin-bottom: 0;
    }

    .company-item dt {
        width: 9.4rem;
    }
}

/* ===============ここまでmin-width:960px=============== */