/* -----------------------------------------------
fvセクション
----------------------------------------------- */
.fv_section {
    background-color: #F7F7F7;
}

.fv_wrap {
    display: flex;
}

.fv_main {
    width: 65%;
    padding: 15% 6%;
}

.main_slide {
    margin-bottom: 20vw;
}

.fv_content {
    width: 100%;
}

.fv_content:nth-child(1) {
    transform: rotate(-8deg);
    z-index: 3;
}

.fv_content:nth-child(2) {
    transform: rotate(8deg);
    z-index: 2;
}

.fv_content:nth-child(3) {
    transform: rotate(-8deg);
    z-index: 1;
}

.fvContent_outline {
    width: 100%;
    padding-bottom: 56.25%;
    position: relative;
    box-shadow: 0px 3px 5px 1px rgba(0, 0, 0, 0.35);
    border-radius: 10px;
    overflow: hidden;
}

.main_slide .fvContent_outline img {
    transition: all 0.3s ease-out;
}

.main_slide a:hover .fvContent_outline img {
    transform: scale(1.05) rotate(1deg) translate(-50%, -45%);
}

.message_outline {
    width: 100%;
    padding-bottom: 40%;
}

.fv_side {
    width: 23%;
    background-color: #efefef;
}

.side_inner {
    position: sticky;
    top: 0;
    right: 30px;
    height: 130vh;
    padding: 10% 5%;
    overflow: hidden;
}

/* スライダーのwrapper */
.side_inner .service_swiper .swiper-wrapper {
    transition-timing-function: linear;
}

.circle_outline {
    width: 63%;
    padding-bottom: 63%;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 3px 5px 1px rgba(0, 0, 0, 0.35);
}

.square_outline {
    width: 68%;
    padding-bottom: 68%;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 5px 1px rgba(0, 0, 0, 0.35);
    transform: rotate(-8deg);
}

.rectangle_outline {
    width: 60%;
    padding-bottom: 80%;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 5px 1px rgba(0, 0, 0, 0.35);
    transform: rotate(8deg);
}

.micro2Square_outline {
    width: 43%;
    padding-bottom: 43%;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 5px 1px rgba(0, 0, 0, 0.35);
    transform: rotate(8deg) translate(40%, 0);
}

.micro2Square_outline:nth-child(2) {
    width: 64%;
    padding-bottom: 36%;
    transform: rotate(-8deg) translate(-5%, -10%);
}

.micro3Square_outline {
    width: 55%;
    padding-bottom: 30%;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 5px 1px rgba(0, 0, 0, 0.35);
    transform: rotate(-4deg) translate(-35%, 0);
    margin-bottom: -13%;
}

.micro3Square_outline:nth-child(2) {
    transform: rotate(4deg) translate(35%, 0);
    margin-bottom: -13%;
}

.micro3Square_outline:nth-child(3) {
    transform: rotate(-4deg) translate(-35%, 0);
    margin-bottom: 10%;
}

.fv_side {
    transition: transform 0.3s ease-out;
}

@media screen and (max-width: 768px) {
    .fv_wrap {
        display: flex;
        position: relative;
    }

    .fv_main {
        width: 88%;
        padding: 25% 6% 10%;
    }

    .fv_content {
        overflow-wrap: anywhere;
    }

    .fv_side {
        width: 23%;
        background-color: transparent;
        position: absolute;
        right: 3vw;
        top: 3vw;
        z-index: 50;
    }

    .swiper-wrapper {
        position: relative;
        width: 100%;
        height: unset;
        z-index: 1;
        display: flex;
        transition-property: transform;
        box-sizing: content-box;
        flex-flow: column;
    }

    .swiper_box .mb-60 {
        margin-bottom: 3vw;
    }

    .swiper_box .f-20 {
        font-size: 3vw;
    }

    .message_outline {
        padding-bottom: 50%;
    }
}

/* -----------------------------------------------
videoセクション
----------------------------------------------- */
.video_section {
    border-radius: 60px 60px 0 0;
    overflow: hidden;
}

.video_wrap {
    position: relative;
    width: 100%;
    padding-bottom: 63%;
}

/* -----------------------------------------------
serviceセクション
----------------------------------------------- */
.service_section {
    border-radius: 60px 60px 0 0;
    overflow: hidden;
    margin-top: -5vw;
    background-color: white;
}

.service_title_wrap {
    padding: calc(270 / 1440 * 100vw) calc(100 / 1440 * 100vw);
}

.service_title_box {
    display: flex;
    justify-content: space-between;
    align-items: end;
}

.detail {
    width: 15%;
    padding-bottom: 1.1vw;
    border-bottom: 1px solid black;
    padding-left: 2vw;
    transition: all .3s;
}

.detail::before {
    content: '';
    background: url(../img/arrow.png) no-repeat;
    background-size: contain;
    position: absolute;
    top: 19%;
    right: 11%;
    width: 0.8vw;
    height: 0.8vw;
    transition: all .3s;
}

.detail:hover {
    opacity: 0.5;
}

.detail:hover::before {
    right: 7%;
}

.title_contents {
    width: 70%;
    padding-bottom: 1em;
}

.service_wrap {
    width: 100%;
}

.service_box {
    display: flex;
    align-items: stretch;
}

.service_outline {
    width: calc(1040 / 1440 * 100vw);
    padding-bottom: 34%;
    position: relative;
}

.service_item {
    padding: calc(85 / 1440 * 100vw) calc(50 / 1440 * 100vw);
    background-color: #222222;
    width: calc(300 / 1440 * 100vw);
}

.detail.grey {
    width: 50%;
    color: #AAAAAA;
    border-color: #AAAAAA;
    padding-bottom: 0.5vw;
}

.detail.grey::before {
    background: url(../img/arrow_grey.png) no-repeat;
    background-size: contain;
}

@media screen and (max-width: 768px) {
    .service_title_wrap {
        padding: calc(270 / 1440 * 100vw) calc(50 / 1440 * 100vw);
    }

    .service_title_box {
        align-items: start;
        flex-flow: column-reverse;
        margin-top: 5vw;
    }

    .title_contents {
        width: 100%;
    }

    .detail {
        width: 40%;
        margin: 5vw 0;
    }

    .detail::before {
        width: 2vw;
        height: 2vw;
    }
    .service_box {
        flex-flow: column;
    }
    .service_outline {
        width: 100%;
        padding-bottom: 48%;
    }
    .service_item {
        padding: 7% 5%;
        width: 90%;
    }
    .detail.grey {
        width: 40%;
        padding-bottom: 1.5vw;
    }
}

/* -----------------------------------------------
infoセクション
----------------------------------------------- */
.info_section {
    background-color: white;
    padding: calc(200 / 1440 * 100vw) calc(50 / 1440 * 100vw);
}

.info_title {
    padding: 0 3vw;
}

.info_wrap {
    display: flex;
    align-items: start;
    flex-wrap: wrap;
}

.info_box {
    width: 48%;
}

.tag {
    border-radius: 60px;
    border: 1px solid black;
    width: 6em;
}

.info_outline {
    width: 100%;
    padding-bottom: 56%;
    position: relative;
}

.info_box:nth-child(2n) {
    margin-left: 4%;
}

.toList {
    width: 13em;
    border-radius: 60px;
    border: 1px solid black;
}
@media screen and (max-width: 768px) {
    .info_section {
        background-color: white;
        padding: calc(400 / 1440 * 100vw) calc(50 / 1440 * 100vw);
    }
    .info_section .detail{
        margin-left: auto;
    }
    .info_wrap {
        flex-flow: column;
    }
    .info_box {
        width: 100%;
    }
    .info_box:nth-child(2n) {
        margin: unset;
    }

}

/* -----------------------------------------------
companyセクション
----------------------------------------------- */
.company_section {
    border-radius: 60px;
    background-color: #222222;
    padding-bottom: 8vw;
}

.topImage_guide {
    width: 70%;
    position: absolute;
    top: -5vw;
    left: 50%;
    transform: translateX(-50%);
}

.company_topImage {
    width: 100%;
    padding-bottom: 38vw;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    transform: rotate(0deg);
}

.company_wrap {
    width: 70%;
    padding-top: 36vw;
}

.company_wrap .detail.grey {
    width: 15%;
    transform: rotate(-6deg);
}

.president_outline {
    width: 100%;
    padding-bottom: 30%;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.flex_wrap {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding-bottom: 32vw;
}

.flex_box {
    display: flex;
    width: 1700px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 5vw;
}

.flex_outline {
    width: calc(100% / 3);
    padding-bottom: 17.5%;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.flex_outline.one {
    transform: rotate(-8deg) translate(3vw, 3vw) scale(1.1);
}

.flex_outline.two {
    transform: rotate(4deg) translate(0, -1vw) scale(1.1);
    z-index: 3;
    box-shadow: 0px 3px 5px 1px rgba(0, 0, 0, 0.35);
}

.flex_outline.three {
    transform: rotate(-8deg) translate(-4vw, 0vw) scale(1.1);
}
@media screen and (max-width: 768px) {
    .company_wrap {
        width: 100%;
        padding-top: 36vw;
    }
    .topImage_guide {
        width: 93%;
        top: -8vw;
    }
    .company_topImage {
        padding-bottom: 53vw;
    }
    .company_wrap {
        padding-top: 54vw;
    }
    .company_wrap .detail.grey {
        width: 30%;
        margin-left: auto;
        margin-right: 5vw;
        margin-bottom: 16vw;
    }
    .president_outline {
        padding-bottom: 60%;
    }
    .company_wrap h3, .company_wrap p {
        margin: 0 5vw;
        margin-bottom: 5vw;
    }
    .flex_wrap {
        overflow: unset;
        padding-bottom: 48vw;
    }
    .flex_box {
        width: 130%;
    }
}



@media screen and (max-width: 480px) {
    .service_section {
        border-radius: 20px 20px 0 0;
    }
    .video_section {
        border-radius: 20px 20px 0 0;
    }
    .company_section {
        border-radius: 20px;
    }
}
