@charset "UTF-8";

/* firstview */

.firstviewImg__hover {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.firstviewImg {
    object-fit: cover;
    width: 100%;
    height: 100vh;
    transition: all 10s;
    /* position: relative; */
    object-position: center;
}

@keyframes zoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.animation {
    animation: zoom 10s;
}

.firstview__title {
    color: var(--primary-black, #333);
    background: url(../images/backgroundImg.jpg), var(--primary-yellow, #ffc587);
    background-blend-mode: screen, normal;
    text-align: center;
    font-family: "M PLUS 1p";
    display: inline-block;
    font-style: normal;
    font-weight: 600;
    line-height: 1.5;
    position: absolute;
    top: 55.5%;
    left: 50%;
    transform: translate(-50%, -55.5%);
    padding: 10px;
    white-space: nowrap;
}

/* 会社挨拶 */

.section--message {
    padding: var(--section-padding);
    background: url(../images/backgroundImg.jpg),var(--primary-white, #fff);
    background-blend-mode: lighten, normal;
    background-size: 100px, cover;
}

.message__title {
    color: var(--primary-black, #333);
    font-family: "M PLUS 1p";
    font-style: normal;
    font-weight: 500;
    line-height: 1.3;
    display: inline-block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.message__title::after {
    content: '';
    display: inline-block;
    background-image: url(../images/ranndoseru.png);
    background-size: contain;
    width: 70px;
    height: 70px;
    position: absolute;
    top: -3px;
    right: -10%;
    z-index: -1;
}

.messageImg {
    width: 50%;
    height: auto;
    aspect-ratio: 1/1;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    margin-top: 50px;
}

.message__txt {
    color: var(--primary-black, #333);
    font-family: "M PLUS 1p";
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.8;
    margin-top: 30px;
}

/* 会社挨拶　TAB */

.message__txt{
    margin-top: 50px;
}

/* 会社挨拶　pc */

@media screen and (min-width:1024px){
    .message__content{
        margin-top: 70px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8%;
    }

    .messageImg{
        width: 46%;
        margin-top: 0px;
        position: static;
        left: 0;
        transform: none;
    }

    .message__txt{
        margin-top: 0px;
        width: 100%;
    }
}

/* 当社について */

.section--about {
    padding: var(--section-padding);
    background: url(../images/backgroundImg.jpg),var(--primary-red, #FA5953);
    background-blend-mode: screen, normal;
    background-size: cover, cover;
    background-repeat: repeat, no-repeat;
}

.about__title {
    color: var(--primary-black, #333);
    font-family: "M PLUS 1p";
    font-style: normal;
    font-weight: 500;
    line-height: 1.3;
    display: inline-block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.about__title::after {
    content: '';
    display: inline-block;
    background-image: url(../images/ranndoseru.png);
    background-size: contain;
    width: 70px;
    height: 70px;
    position: absolute;
    top: -3px;
    right: -10%;
    z-index: -1;
}

.aboutImg {
    width: 50%;
    height: auto;
    aspect-ratio: 1/1;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    margin-top: 50px;
}

.about__txt {
    color: var(--primary-white, #fff);
    text-align: left;
    font-family: "M PLUS 1p";
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.8;
    margin-top: 30px;
}

.about__btnContent{
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* 当社について TAB */

@media screen and (min-width:768px){
    .about__txt{
        margin-top: 50px;
    }

    .about__btnContent{
        gap: 50px;
        margin-top: 70px;
    }

    .aboutImg{
        margin-top: 70px;
    }
}

/* 当社について pc */

@media screen and (min-width:1024px){
    .about__content{
        display: flex;
        margin-top: 70px;
        align-items: center;
        justify-content: center;
    }

    .aboutImg{
        width: 46%;
        margin-top: 0px;
        position: static;
        left: 0;
        transform: none;
        margin-right: 4%;
    }

    .about__txt{
        margin-top: 0px;
        text-align: left;
    }

    .about__btnContent{
        margin-top: 70px;
        gap: 50px;
    }

    .about__detail{
        width: 46%;
        margin-left: 4%;
    }
}


/* 当社について　ボタン */

.aboutBtn {
    position: relative;
    width: 95.5%;
    max-width: 360px;
    text-align: center;
    display: inline-block;
    transition: all 0.2s;
    background-color: var(--primary-yellow, #ffc587);
    cursor: pointer;
    z-index: 1;
    overflow: hidden;
    border-radius: 50px;
    left: 50%;
    transform: translateX(-50%);
}

.aboutBtn:after {
    background-color: var(--primary-red, #FA5953);
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    width: 100%;
    height: 100%;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
    z-index: -1;
    border-radius: 50px;
}

.aboutBtn:hover::after{
    transform: scale(1, 1);
}

.aboutBtn a{
    display: block;
    border-radius: 50px;
}

.aboutBtn p {
    color: var(--primary-black, #333);
    font-family: "M PLUS 1p";
    font-size: 2rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.8;
    padding: 20px;
}

/* 当社について　ボタン pc */

@media screen and (min-width:1024px){
    .aboutBtn{
        width: 360px;
    }
}