@charset "UTF-8";

/* ==========================
header
============================= */

.mainvisual {
    content: "";
    background-image: url(../images/mainvisual_company.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 118vw;
    position: relative;
    margin-top: calc(10 * (100vw/375));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* これはcommon化してない */
}

.maintxt {
    padding: calc(24 * (100vw/375)) calc(16 * (100vw/375));
}

/* ==========================
pc
============================= */
@media screen and (min-width:769px) {
    .mainvisual {
        height: calc(561 * (100vw/1440));
        margin-top: calc(8 * (100vw/1440));

    }

    .maintxt {
        width: calc(563 * (100vw/1440));
        font-size: calc(48 * (100vw/1440));
        padding: 0;
        padding: calc(37 * (100vw/1440)) calc(72 * (100vw/1440));
    }
}

/* ==========================
message
============================= */

.message_container {
    padding: 8% calc(17 * (100vw/375)) 32% calc(17 * (100vw/375));
    position: relative;
}

.message_container::after {
    /* content: ""; */
    background-image: url(../images/company_decoration4_animated.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 22vw;
    height: 26vw;
    position: absolute;
    bottom: 0;
    right: 0;
    transform: translateY(-87%);
    z-index: 1;
    opacity: 0.5;
}

.topic_business::before {
    /* content: ""; */
    background-image: url(../images/company_decoration1_animated.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 22vw;
    height: 26vw;
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-20%, -31%);
    opacity: 0.5;
}

.message_img {
    margin-top: calc(28 * (100vw/375));
    text-align: center;

}

.message_img img {
    border-radius: calc(40 * (100vw/375));
    max-height: calc(228 * (100vw/375));
}

.topic_business {
    position: relative;
}

.topic_eng {
    color: var(--primary-bluetxt);
    font-size: calc(17 * (100vw/375));
    line-height: normal;
}

.topic_txt {
    color: var(--primary-bluetxt);
    font-size: calc(22 * (100vw/375));
    font-weight: 700;
    line-height: normal;
    letter-spacing: calc(1.76 * (100vw/375));
    position: relative;
}

.topic_txts {
    font-size: calc(15 * (100vw/375));
    line-height: calc(28 * (100vw/375));
    margin-top: calc(15 * (100vw/375));
}

.topic_txts1 {
    margin-top: calc(28 * (100vw/375));
}

.topic_txts_group {
    position: relative;
}

.topic_txts2 {
    margin-top: calc(15 * (100vw/375));
}

/* ==========================
pc
============================= */
@media screen and (min-width:769px) {

    .message {
        position: relative;
    }

    .message_img {
        position: relative;
        width: calc(1321 * (100vw/1440));
        height: calc(540*(100vw/1440));
        margin: calc(28 * (100vw/375)) auto 0;
    }

    .message_img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top;
        border-radius: calc(40 * (100vw/1440));
    }

    .message_container {
        padding: 5% calc(52 * (100vw/1440)) 20% calc(52 * (100vw/1440));
    }

    .topic_eng {
        font-size: calc(18 * (100vw/1440));
    }

    .topic_txt {
        font-size: calc(40 * (100vw/1440));
        letter-spacing: calc(3.2 * (100vw/1440));
    }

    .topic_txts1 {
        margin-top: 0 !important;
    }

    .topic_txts2 {
        margin-top: 0 !important;
    }

    .topic_txts {
        font-size: calc(16 * (100vw/1440));
        margin-top: calc(16 * (100vw/1440));
        line-height: calc(36 * (100vw/1440));
    }

    .topic_txts_groups {
        display: flex;
        gap: calc(72 * (100vw/1440));
        padding-top: calc(48 * (100vw/1440));
    }

    .topic_business::before {
        background-image: url(../images/company_decoration1_pc_animated.svg);
        width: calc(291 * (100vw/1440));
        height: calc(343 * (100vw/1440));
        transform: translate(-33%, -22%);
    }

    .topic_txts_group::before {
        position: absolute;
        /* content: ""; */
        background-repeat: no-repeat;
        background-size: contain;
        background-image: url(../images/company_decoration2_pc_animated.svg);
        width: 6vw;
        height: 23vw;
        left: 0;
        transform: translate(-113%, -14%);
        opacity: 0.5;
    }

    .message_container::after {
        background-image: url(../images/company_decoration4_pc_animated.svg);
        width: 20vw;
        height: 23vw;
        transform: translateY(-46%);
    }

    .message_container::before {
        position: absolute;
        /* content: ""; */
        background-image: url(../images/company_decoration3_pc_animated.svg);
        background-repeat: no-repeat;
        background-size: contain;
        width: calc(91 * (100vw/1440));
        height: calc(330 * (100vw/1440));
        top: calc(133 * (100vw/1440));
        right: 0;
        z-index: 1;
    }

}

/* ==========================
company info
============================= */
.company_info_container {
    display: flex;
    padding-bottom: calc(30 * (100vw/375));
    gap: 10%;
    background-color: var(--primary-yellow);
    position: relative;
    justify-content: center;
}

.company_info_container::before {
    content: "";
    background-image: url(../images/Vector_upper_sp.png);
    background-repeat: no-repeat;
    background-size: cover;
    display: block;
    width: 100%;
    height: calc(80 * (100vw/375));
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(-100%);
    /* heightは80/375*100でvwで指定　widthは100% */
}

.company_info_title {
    color: var(--primary-bluetxt);
    font-size: calc(18 * (100vw/375));
    font-weight: 700;
    line-height: normal;
    margin-top: calc(20 * (100vw/375));
}

.company_info_title.is_sp {
    display: block;
}

.company_info_title.is_pc {
    display: none;
}

.company_info_title:first-of-type {
    margin-top: 0;
}

.company_info_title span {
    color: var(--primary-black);
    font-size: calc(16 * (100vw/375));
    font-weight: 400;
    line-height: normal;
    margin-top: calc(22 * (100vw/375));
    margin-left: calc(32 * (100vw/375));
}

.company_info_title3 span span {
    margin-left: calc(115 * (100vw/375));
}

.company_info_title4 span,
.company_info_title5 span {
    margin-left: calc(32 * (100vw/375));
}

.company_info_title5 span span {
    margin-left: calc(104 * (100vw/375));
}

.company_info_txt:first-of-type {
    margin-top: 0;
}

.iframe {
    height: 52vw;
}

/* ==========================
pc
============================= */
@media screen and (min-width:769px) {
    .company_info_container {
        justify-content: center;
        padding: 0 0 calc(40 * (100vw/1440));
    }

    .company_info_container::before {
        background-image: url(../images/vector_upper_pc.png);
        height: calc(150 * (100vw/1440));
        /* transform: translateY(-53%); */
    }

    .company_info_title3 span span {
        margin-left: 0;
    }

    .company_info_title5 span span {
        margin-left: 0;
    }

    .company_info_titles {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .company_info_title.is_sp {
        display: none;
    }

    .company_info_title.is_pc {
        display: block;
    }

    .company_info_title {
        margin-top: 7%;
        font-size: calc(20 * (100vw/1440));
    }

    .company_info_title span {
        font-size: calc(18 * (100vw/1440));
    }

    .company_info_title4 {
        margin-top: 0;
    }

    .iframe {
        height: 44vw;
    }
}



/* ==========================
contact
============================= */
.contact {
    background-color: var(--primary-yellow);
}

.contact_title {
    color: var(--primary-bluetxt);
    text-align: center;
    font-size: calc(20 * (100vw/375));
    font-weight: 500;
    line-height: normal;
    padding-top: calc(30 * (100vw/375));
    position: relative;
}

.contact_title::after {
    content: "";
    background-image: url(../images/sns_decoration.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 55vw;
    height: calc(44 * (100vw/375));
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(41%, 217%);
    z-index: 1;
}

.sns {
    margin-top: calc(81 * (100vw/375));
    position: relative;
}

.sns_container {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
}

.sns_name {
    color: var(--primary-black);
    font-size: calc(18 * (100vw/375));
    font-weight: 700;
    line-height: normal;
}

.sns_icon img {
    width: calc(40 * (100vw/375));
    height: calc(40 * (100vw/375));
}

.sns_container:last-of-type {
    margin-top: calc(20 * (100vw/375));
}

.sns::after {
    content: "";
    background-image: url(../images/Vector_under_sp.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
    height: 22vw;
    position: absolute;
    left: 0;
    bottom: calc(2 * (100vw/375));
    transform: translateY(100%);
}

.sns_icon a:hover {
    opacity: 0.5;
    transition: 0.4s;
}

/* ==========================
pc
============================= */
@media screen and (min-width:769px) {
    .contact_group {
        display: flex;
        align-items: center;
        padding-top: calc(40 * (100vw/1440));
        gap: calc(74 * (100vw/1440));
        justify-content: center;
        position: relative;
    }

    .contact_group::after {
        content: "";
        background-image: url(../images/vector_under_pc.png);
        background-repeat: no-repeat;
        background-size: cover;
        width: 100%;
        height: calc(150 * (100vw/1440));
        position: absolute;
        left: 0;
        bottom: calc(1 * (100vw/1440));
        transform: translateY(100%);
    }

    .contact_title::after {
        background-image: url(../images/sns_decoration_pc.png);
        width: calc(35 * (100vw/1440));
        height: calc(100 * (100vw/1440));
        top: 0;
        left: 103%;
        transform: translate(0, 0);
    }

    .sns_container {
        display: flex;
        flex-direction: row-reverse;
    }

    .sns_container:last-of-type {
        margin-top: calc(20 * (100vw/1440));
    }

    .sns_name {
        font-size: calc(24 * (100vw/1440));
    }

    .sns_icon img {
        width: calc(70 * (100vw/1440));
        height: calc(70 * (100vw/1440)) ;
    }

    .sns:after {
        display: none;
    }

    .sns {
        margin-top: 0;
    }

    .contact_title {
        padding-top: 0;
        font-size: calc(28 * (100vw/1440));
    }
}