@charset "UTF-8";
.fv__wrap{position: relative;}
.fv__wrap--img {
margin-left: auto;
margin-right: 0;
margin-top: 90px;
width: auto;
height:630px;
aspect-ratio: 1/0.759;
overflow: hidden;
}
.fv__wrap--img_sp{display: none;}
.fv__wrap--img img {width: 100%;height: auto;display: block;}
.fv{margin-top: -170px;}
.fv__wrap--left{max-width: 480px;position: absolute;top: 50%;}
.fv__wrap--left-copy{
letter-spacing: 0.2em;
line-height: 2em;
left: 45%;
font-size: 37px;
top: -110px;
position: relative;}
.fv__wrap--left-copy h5{font-weight: 500;line-height: 1.96em;}

.fv-blog__wrapper{
max-width: 510px;
display: flex;
justify-content: start;
align-items: center;
margin: 0 auto;
}
.fv-blog__wrapper--caption .frame-btn{width: 163px;height: 57px;}
.fv-blog{
padding: 50px;
border-radius: 0 50px 50px 0;
background-color: #fff;
width: 950px;
box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.1);
margin-left: 0;
margin-right: auto;
}
.fv-blog .wp-block-latest-posts__post-title{
font-weight: 500;
font-size: 14px;
line-height: 1em;
margin-top: 5px;
display: block;
}
.fv-blog .date_cat__category{margin-left: 10px;}
.fv-blog__wrapper--caption{margin-right: 50px;min-width: 150px;height: fit-content;}
.wp-block-latest-posts.wp-block-latest-posts__list li {
clear: both;
overflow-wrap: break-word;
border-bottom: 1px #000 dotted;
max-width: 300px;
width: 100%;
display: inline-block;
margin-bottom: 20px;
padding-bottom: 15px;
}
.fv-blog__wrapper--caption h2{margin-top: 0;}

.vision {
background-image: url(../images/message-bg-pc.webp);
background-repeat: no-repeat;
background-position: center;
background-size: contain;
position: relative;
max-width: 1200px;
margin:5.7rem auto 0 auto;
height: auto;
padding: 155px 0;
}
.vision h3{
letter-spacing: 0.01em;
max-width: 500px;
height: auto;
margin: 0 auto;
font-size: 16px;
text-align: center;
font-weight: 500;
line-height: 1.86em;
}

.works__contents--caption,.works__contents2--caption{max-width:450px ;width: 95%;}
.works__contents--img {position: absolute;right: -80px;max-width: calc(100% - 400px);}
.works__contents--img img,.works__contents2--img img{max-width: 680px;display: block;}
.works__contents,.works__contents2{display: flex;position: relative;align-items: end;padding-top: 80px;}
.works__contents{max-width: 1200px;margin: 0 auto;width: 95%;}
.works .common-title {text-align: left;}
.works{overflow-x: hidden;}
.works-bg{width: 100%;height: auto;position: relative;}
.works-bg:after{
content: "";
width: 100%;
background: linear-gradient(27deg, #D1FDFF 0%,#EAF6E7 30%, #f6fdf0 50%, #fefefe 100%);
height: 100vh;
margin: 0;
max-height: 600px;
position: absolute;
z-index:-1;
top: 0;
}
.works-bg2 {background: linear-gradient(27deg, #D1FDFF 0%, #EAF6E7 30%, #f6fdf0 50%, #fefefe 100%);height: 100vh;max-height: 600px;}
.works__object01{width: fit-content;position: relative;top: 70px;left: 3vw;}
.works__detail{
margin-left: auto;
margin-right: 0;
position: relative;
height: auto;
width: 95%;
background-color: #fff;
border-radius: 100px 0px 0px 100px;
padding: 50px;
margin-top: 50px;
}
.works__detail--wrap {
display: flex;
max-width: 840px;
justify-content: space-between;
margin: 0 auto;
flex-wrap: wrap;
gap: 20px;
}
.works__detail2--wrap{
display: flex;
max-width: 1050px;
justify-content: space-between;
max-width: 750px;
margin: 0 auto;
}
.works__contents2--img img{position: absolute;    margin: -110px 0 0 -80px;}
.works__contents2{align-items: start;justify-content: space-between;max-width: 1300px;}



.works__detail--img-wrap img,.works__detail2--img-wrap img{
max-height: 90px;
margin: 0 auto;
width: 100%;
max-width: 100px;
}
.works__detail--img-wrap p,.works__detail2--img-wrap p{
margin-top: 20px;
font-weight: 500;
font-size: 18px;
line-height: 1.4em;
}
.works__detail--wrap div:nth-child(2) p{font-size: 16px;}
.works__detail2{
margin-left: 0;
margin-right: auto;
position: relative;
top: -170px;
height: 260px;
max-width: 1220px;
width: 100%;
background-color: #fff;
border-radius: 0px 100px 100px 0px;
padding: 50px;
}
.works__detail--img{
text-align: center;
border-radius: 30px;
background-color: #fff;
width: 190px;
box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.1);
margin-left: 0;
margin-right: auto;
height: 210px;
}
.works__detail--wrap a{margin-bottom: 20px;}
.works__detail--img-wrap,.works__detail2--img-wrap{
height: 180px;
display: flex;
justify-content: end;
flex-direction: column;
}
.works__detail2--img{
padding: 30px;
text-align: center;
border-radius: 30px;
background-color: #fff;
width: 340px;
box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.1);
height: 210px;
}
.works__contents2 .common-title{text-align: end;}
.works__contents2--caption .frame-btn{margin: 20px auto 0;}
.works__contents--caption p{margin: 20px 0; }

.frame-btn a{color: #3C1405;text-decoration: none;font-weight: 500;}

.works__contents2--img{width: 100%;max-width: 500px;}
.works__object02{position: absolute;top: -30px;right: 0px;}
.works__object03{position: absolute;top: -30%;left: 5%;}

.blog{margin: 150px 0;position: relative;}
.blog .frame-btn{text-align: center;margin: 20px auto 0 auto;}

.fv__wrap--left .wp-block-latest-posts.wp-block-latest-posts__list li:last-child{border-bottom: none;margin-bottom: 0;padding-bottom: 0;}

.sp-btn{display: none;}
.under-page{display: none;}

.fadein-text {opacity: 0;transform: translateY(30px);transition: opacity 1s ease, transform 1s ease;}
.fadein-text.show {opacity: 1;transform: translateY(0);}

@media screen and (max-width: 1480px) {
    .fv__wrap--left-copy {left: 14%;}
    .fv-blog {max-width: 615px;}
}

@media screen and (max-width: 960px) {
    .fv-blog .frame-btn{width: auto;}
    .fv-blog__wrapper--caption h2{margin-bottom: 20px;}
    .fv__wrap--left-copy {left: 11%;}

    .vision{margin: 5rem 0;background-image: url(../images/message-bg-sp.webp);}

    .works__object01 {top: 250px;right: -70%;display: none;}
    .works__object01 img{max-height: 130px;}
    .works__object01 {top: 180px;}

    .works-bg {padding-bottom: 80px;}
    .works-bg:after {top: 3rem;}
    .works__contents {
    display: grid;
    justify-items: center;
    gap: 20px;
    padding-top: 0;
    max-width: 650px;
    }
    .works__contents--img {
    position: static;
    width: 95%;
    max-width: 730px;
    height: auto;
    }
    .works__contents--img img,.works__contents2--img img{width: 100%;max-width: none;}
    .works__contents--caption {order: 2;max-width: none;width: 95%;}
    .works__contents--caption .frame-btn{margin: 0 auto;}

    .works__detail {
    width: 100%;
    border-radius: 0;
    margin: 3rem 0 0 0;
    padding: 44px 2.5%;
    }
    .works__detail--wrap{max-width: 400px;margin:0 auto;}
    .works__detail--img{margin-top: 20px;}

    .works__contents2{flex-direction: column;margin: 0 auto; align-items: center;margin: 30% auto 0 auto;}
    .works__contents2--img {width: fit-content;max-width: inherit;margin: -25% auto 0 auto;}
    .works__detail2--wrap{flex-direction: column;align-items: center;}
    .works__detail2--img{margin-bottom: 20px;}
    .works-bg2 {
    background: linear-gradient(27deg, #D1FDFF 0%, #EAF6E7 30%, #f6fdf0 50%, #fefefe 100%);
    padding-bottom: 80px;
    height: inherit;
    max-height: inherit;
    }
    .works__object02 {
    position: absolute;
    top: -30px;
    right: inherit;
    left: 0%;
    top: -50px;
    }
    .works__detail2 {height:  inherit;}
    .works__object02 img{max-height: 75px;}
    .works__contents2--caption{position: relative;}
    .works__object03 {top: -5%;left: 5%;}

    .blog {margin-top: 100px;}
    .blog .blog-wrap{flex-direction: column;align-items: center;}
}

@media screen and (max-width: 820px) {
    .pc-btn{display: none;}
    .sp-btn {display: block;}
    .fv__wrap {padding-bottom: 5rem;}
    .fv__wrap--img_pc{display: none;}
    .fv__wrap--img_sp{display:block;}
    .fv__wrap--left{
    max-width: inherit;
    width: 95%;
    top: inherit;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    }
    .fv__wrap--left-copy{position: inherit;left: 8%;top: -160px;}
    .fv__wrap--left-copy h5{
    color: #fff;
    font-size: 26px;
    line-height: 1.7em;
    font-size: 36px;
    letter-spacing: 0.2em;
    }
    .fv-blog {
    width: 95%;
    margin: 0 auto;
    padding: 40px 25px;
    border-radius: 50px;
    }
    .fv-blog__wrapper {
    flex-direction: column;
    align-items: inherit;
    width: 100%;
    max-width: none;
    }
    .fv-blog__wrapper--list{margin-bottom: 20px;}
    .fv-blog .sp-btn{width: 300px;margin: 0 auto;}
    .fv__wrap--img{aspect-ratio: 15/22;width: 100%;height: auto;}
    .fv__wrap--img img {width: 100%;max-width: inherit;object-fit: cover;margin-top:90px;}
    .vision{margin:10rem 0 5rem 0;}
    .works__contents2 {width: 95%;}
    .wp-block-latest-posts.wp-block-latest-posts__list li {max-width: inherit;}

}

@media screen and (max-width: 480px) {
    .works-bg {padding-bottom: 50px;}

    .fv__wrap {padding-bottom: 270px;}
    .fv__wrap--img{height: 550px;}
    .fv__wrap--left-copy h5 {font-size: 23px;letter-spacing: 0.1em;}
    .fv__wrap--left-copy {position: inherit;left: 8%;top: -100px;}
    .works__object03 {top: -13%;}

    .works__detail--img-wrap p, .works__detail2--img-wrap p {font-size: 15px;}
    .works__detail--img {width: 160px;min-height: 140px;margin-top: 0px;}
    .works__detail--wrap div:nth-child(2) p{font-size: 13px;min-width: 140px;}
    .works__detail--img {margin-left: inherit;margin-right: inherit;}
}

@media screen and (max-width: 480px) {
    .works__detail--img-wrap p, .works__detail2--img-wrap p {margin-top: inherit;}

    .works__object03 {top: -5%;}
    .works__detail2--img {padding: 20px;height: 160px;}
    .works__detail--img-wrap, .works__detail2--img-wrap {justify-content: start;}
    .blog {margin-bottom: 80px;}

    .works__detail {padding: inherit;}
    .works__object03 img{max-height: 90px;}

    .works__detail--img {padding: 15px;width: 160px;height: 150px;}
    .works__detail--img-wrap img, .works__detail2--img-wrap img {height: 80px;width: 80px;}
    .works__detail--img-wrap, .works__detail2--img-wrap {justify-content: space-between;align-items: center;height: 110px;}
    .works__detail--wrap {justify-content: space-around;padding: 3rem 2.5% 0 2.5%;gap: 5vw;}
}