@charset "UTF-8";

/* ヘッダー */

.article__header {
    padding: 100px 0 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(../images/firstviewImg01.jpg);
    background-size: cover;
    background-position: center;
    background-color: rgba(255, 255, 255, 0.7);
    background-blend-mode: overlay;
}

.header__content {
    color: var(--primary-black);
    font-family: "M plus 1p";
    font-style: normal;
    font-weight: 600;
    line-height: 1.8;
    text-shadow: 0px 0px 0px rgba(255, 255, 255, 1);
}

/* header pc */

@media screen and (min-width:1024px) {
    .article__header {
        padding: 150px 0 60px;
    }
}

/* 会社概要 */

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

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

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

.information__table {
    margin: 50px auto 0;
    width: 100%;
    max-width: 480px;
}

.table__content {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}

.table__name {
    background-color: var(--primary-yellow);
    color: var(--primary-white);
    text-align: center;
    font-family: "M plus 1p";
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.8;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--primary-black);
    padding: 10px;
}

.table__txt {
    color: var(--primary-black);
    background-color: var(--primary-white, #fff);
    text-align: center;
    font-family: "M plus 1p";
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.8;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--primary-black);
    padding: 10px;
}

/* 会社概要 pc */

@media screen and (min-width:1024px) {

    .information__table {
        margin: 70px auto 0;
        max-width: 1284px;
    }

    .table__content {
        flex-direction: row;
        justify-content: center;
    }

    .table__name {
        width: 16%;
        padding: 15px;
    }

    .table__txt {
        width: 62.5%;
        padding: 15px;
    }
}

/* 当社の魅力 */

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

.charm__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;
    z-index: 0;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

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

.charm__content {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 5%;
    align-items: center;
}

.charm__item {
    margin-top: 20px;
    max-width: 480px;
    height: 635px;
    position: relative;
    background-color: var(--primary-yellow, #ffc587);
    margin-top: 100px;
    padding: 20px 5.9%;
    border-radius: 50px;
}

.charmImg {
    width: 80%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    left: 50%;
    transform: translate(-50%);
}

.charm__name {
    color: var(--primary-white, #fff);
    background-color: var(--primary-red, #FA5953);
    font-family: "M PLUS 1p";
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.8;
    margin-top: 50px;
    text-align: center;
    border-radius: 100px;
    padding: 10px 0;
    width: 100%;
    max-width: 480px;
    position: relative;
    left: 50%;
    transform: translate(-50%);
}

.charm__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;
    text-align: left;
}

/* 当社の魅力 pc */

@media screen and (min-width:1024px) {
    .charm__content {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 5%;
        justify-content: center;
    }

    .charm__item {
        width: 30%;
        padding: 50px 2.3%;
    }
}

/* 当社の魅力 */

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

.question__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;
    z-index: 0;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

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

.question__item {
    position: relative;
    padding: 20px 5.9%;
}

.question__name {
    color: var(--primary-black, #333);
    background-color: var(--primary-yellow, #ffc587);
    font-family: "M PLUS 1p";
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.8;
    margin-top: 50px;
    text-align: center;
    border-radius: 100px;
    padding: 20px;
    display: inline-block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

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

.questionImg{
    width: 100%;
    max-width: 360px;
    object-fit: contain;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

/* 当社の魅力 pc */

@media screen and (min-width:768px) {
    .question__item {
        margin-top: 0;
        padding: 0;
        display: flex;
        gap: 4%;
        align-items: center;
        justify-content: space-between;
    }

    .question__name {
        padding: 30px;
        margin-top: 50px;
        position: static;
        transform: none;
        left: 0;
    }

    .question__answer {
        padding: 30px;
        margin-top: 30px;
        text-align: left;
    }

    .questionImg{
        position: static;
        transform: none;
        left: 0;
        width: 30%;
    }
}

@media screen and (min-width:1024px){
    .question__name{
        margin-top: 70px;
    }

    .question__answer{
        margin-top: 50px;
    }
}