@charset "utf-8";

/***** FV *****/

.fv_area {
    padding: 0 1.9rem;
    position: relative;
}

.fv_area .fv_img {
    border-radius: 100px;
    width: 100%;
    max-height: 700px;
    margin: 0 auto;
    object-fit: cover;
    aspect-ratio: 16 / 9;
}

.fv_catchcopy {
    position: absolute;
    top: 40%;
    right: 15%;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
}

.fv_catchcopy div {
    padding: 1rem 1.2rem;
    height: 50vh;
    background-color: var(--sub-color);
    color: #fff;
    letter-spacing: 0.25em;
    margin-left: 1.9rem;
    text-align: center;
    border-radius: 16px;
    font-family: var(--font-point);
    font-size: clamp(1.2rem, 2.76vw, 3rem);
    font-weight: bold;
}

.fv_catchcopy div:nth-child(2) {
    transform: translateY(30px);
}

.fv_catchcopy div:nth-child(3) {
    transform: translateY(60px);
}

.fv_catchcopy div:nth-child(4) {
    transform: translateY(90px);
}

.fv_area article {
    position: absolute;
    bottom: -10%;
    left: -5%;
    text-align: center;
    display: inline-block;
}

.fv_area article a {
    border: 20px var(--point-color) solid;
    background-color: #fff;
    padding: 10px;
    border-radius: 30px;
    display: block;
    color: #1d1d1d;
}

.fv_area article a:hover {
    border: 20px var(--sub-color) solid;
}

.fv_area article h2 {
    color: var(--sub-color);
    font-size: clamp(1rem, 1.9vw, 1.2rem);
}

.fv_area article img {
    padding: 0 1rem;
    border-radius: 30px;
    margin: 10px auto;
    width: 350px;
    height: 225px;
    object-fit: cover;
}

.fv_area article p {
    width: 90%;
    margin-left: auto;
    padding: 0 2em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/***** 建築実績 *****/
.works {
    margin: 140px 0 140px auto;
    width: 90%;
}

.works .flex a:hover img {
    transform: scale(1.2);
    border-radius: 30px;
}

.works .flex a:hover {
    opacity: 0.7;
}

.works_area {
    background-color: #fff;
    border-radius: 500px 0 0 500px;
    padding: 5rem 0 10rem 12.5rem;
    margin-top: 5rem;
    position: relative;
}

.works_area::before {
    content: "";
    position: absolute;
    background: url(../image/works_visual_01.png) no-repeat;
    top: -50%;
    right: 2%;
    width: 450px;
    height: 300px;
    background-size: contain;
    display: inline-block;
}

.works .h_text {
    margin-bottom: 1.9rem;
}

.works .flex_item span {
    position: absolute;
    display: inline-block;
    background: #fff;
    padding: 0.8rem 1.2rem;
    font-weight: bold;
    font-size: clamp(1rem, 1.5vw, 1.5rem);
    color: var(--sub-color);
    border-radius: 0 0 30px 0;
    z-index: 2;
}

.works .flex {
    gap: 2rem;
    transform: translate(12.5rem, -47%);
}

.works .flex_item {
    width: calc(22% - 70px);
    aspect-ratio: 16 / 16;
    overflow: hidden;
    border-radius: 30px;
    transform-origin: center center;
}

.works .flex_item img {
    transition: all 0.3s ease;
    height: 100%;
    object-fit: cover;
}

.works .common_btn {
    margin-top: -2rem;
}

/***** 新築情報 *****/
.new_construction {
    margin: 14rem auto;
    position: relative;
    background-color: var(--point-color);
    padding: 0 10% 2% 10%;
}

.new_construction::before {
    content: "";
    position: absolute;
    background: url(../image/nami_01.png) no-repeat;
    top: -30%;
    right: 0;
    width: 100vw;
    background-size: contain;
    display: block;
    aspect-ratio: 14 / 9;
    z-index: -1;
}

.new_construction::after {
    content: "";
    position: absolute;
    background: url(../image/nami_02.png) no-repeat;
    bottom: -40%;
    right: 0;
    width: 100vw;
    background-size: contain;
    display: block;
    aspect-ratio: 14 / 9;
    z-index: -1;
}

.new_construction .h_text {
    margin-bottom: 2.5rem;
    position: relative;
}

.new_construction .h_text::after {
    content: "";
    position: absolute;
    background: url(../image/new_construction_visual_01.png) no-repeat;
    bottom: -30%;
    right: -65%;
    width: 100vw;
    height: 270px;
    background-size: contain;
    display: inline-block;
}

.new_construction .flex_item.slick-slide {
    margin-left: 20px;
    position: relative;
    height: 460px;
}

.flex.slider.slick-initialized.slick-slider {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 2.5rem;
}

.new_construction .flex_item.slick-slide img {
    border-radius: 30px;
    border: 12px solid #fff;
    height: 90%;
    object-fit: cover;
}

.new_construction .flex_item.slick-slide span {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, -115%);
    padding: 0.2rem 1rem;
    color: #fff;
    display: inline-block;
    text-align: center;
    border-radius: 4px;
    font-size: clamp(14px, 1vw, 1rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background-color: var(--accent-color);
}

.new_construction .flex_item.slick-slide p {
    margin-top: 1rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #1d1d1d;
}

.new_construction .common_btn::after {
    content: "";
    position: absolute;
    background: url(../image/new_construction_img_01.png) no-repeat;
    top: 30%;
    left: 100%;
    width: 100%;
    height: 320px;
    background-size: contain;
    display: inline-block;
    z-index: -1;
}

/***** 採用情報 *****/
.recruit {
    width: 90%;
    margin: 9rem auto;
}

.recruit::before {
    content: "";
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translate(-50%, -10%);
    width: 100vw;
    display: block;
    height: 140%;
    background-color: #D7F2FF;
    z-index: -2;
}

.recruit article h3 {
    margin-bottom: 0;
}

.recruit .h_lead_line::after {
    content: "";
    background-color: #fff;
}

.recruit article .h_lead_line::after {
    background-color: var(--point-color);
}

.recruit article+.common_btn {
    margin: 4rem auto;
}

.recruit .double_line {
    border-radius: 35px;
    border: 20px solid #fff;
    width: calc(40% - 4rem);
    transform: translateY(-180px);
}

.recruit_area {
    width: calc(60% - 4rem);
}

.recruit .flex {
    gap: 8rem;
    align-items: flex-start;
}

.recruit .common_btn {
    margin: 4rem 0 4rem auto;
}

.recruit article {
    background-color: #fff;
    padding: 3rem 5rem;
    border-radius: 50px;
    position: relative;
    width: 85%;
    margin: auto;
}

.recruit article .h_lead_line {
    font-size: clamp(1rem, 1.5vw, 1.5rem);
    font-weight: bold;
}

.recruit article::after {
    content: "";
    position: absolute;
    background: url(../image/recruit_img_02.png) no-repeat;
    bottom: 0;
    left: 75%;
    width: 30%;
    height: 350px;
    background-size: contain;
    display: inline-block;
}

/***** 企業情報 *****/
.company {
    width: 90%;
    margin: 9rem auto;
    max-width: 1440px;
}

.company .common_btn {
    margin: 3rem auto 0 0;
}

.company::after {
    content: "";
    position: absolute;
    background: url(../image/company_img_01.png) no-repeat;
    bottom: -10%;
    left: 72%;
    width: 100%;
    height: 500px;
    background-size: contain;
    display: inline-block;
    z-index: -1;
}


@media (max-width: 1280px) {
    .new_construction .common_btn::after {
        top: 90%;
        left: 78%;
        height: 280px;
    }

    .fv_catchcopy div {
        margin-left: 1rem;
    }

    .h_lead_line::after {
        height: 12px;
    }

    .fv_area article img {
        max-width: 200px;
        height: 150px;
    }

    .works .flex_item {
        width: calc(36% - 2rem);
    }

    .works .flex {
        gap: 2rem;
        transform: translate(6.5rem, -15%);
    }

    .works_area {
        padding: 5rem 0 10rem 6.5rem;
    }

    .works_area::before {
        top: -15%;
        width: 300px;
    }

    .new_construction .flex_item.slick-slide img {
        height: 80%;
    }

    .new_construction .flex_item.slick-slide span {
        transform: translate(-50%, -180%);
    }

    .new_construction .flex_item.slick-slide {
        height: 300px;
    }

    .recruit article::after {
        height: 300px;
        left: 90%;
    }

    .company::after {
        height: 400px;
        left: 57%;
        bottom: -65%;
    }

}

@media (max-width: 1024px) {
    .fv_area .fv_img {
        aspect-ratio: 16 / 11;
    }

    .fv_catchcopy div {
        height: 35vh;
    }

    .new_construction .h_text::after {
        bottom: -60%;
    }

    .recruit .flex {
        gap: 1rem;
    }

    .recruit_area {
        width: calc(70% - 1rem);
    }

    .recruit .double_line {
        width: 30%;
        transform: none;
        border: 12px solid #fff;
    }

    .new_construction .flex_item.slick-slide {
        height: 250px;
    }

    .works .flex {
        gap: 2rem;
        transform: translate(6.5rem, -22%);
    }


    .recruit article+.common_btn,
    .company .common_btn,
    .recruit .common_btn {
        margin: 2rem auto;
    }


    .company::after {
        left: 70%;
        height: 250px;
        bottom: -65%;
        width: 35%;
    }
}

@media (max-width: 768px) {
    article .h_lead_line::after {
        height: 10px;
    }

    .fv_area {
        padding: 0 1rem 0;
        position: relative;
    }

    .fv_catchcopy div {
        margin-left: 0.5rem;
        padding: 0.5rem 1rem;
        height: 25vh;
    }

    .fv_catchcopy {
        top: 20%;
    }

    .fv_area .fv_img {
        border-radius: 50px;
    }

    .fv_area article {
        position: unset;
        padding: 5px 10px;
        margin: 2rem auto 0;
        width: 70%;
        display: block;
    }

    .fv_area article p {
        padding: 0;
        font-size: 14px;
    }

    .fv_area article img {
        max-width: 200px;
        margin: 0 auto;
    }

    .works {
        width: 100%;
        margin: 2rem auto 0;
    }

    .works .h_lead {
        padding-left: 1rem;
        text-align: center;
    }

    .works_area {
        padding: 5rem 0 10rem 5rem;
    }

    .works .flex {
        transform: translate(1rem, -17%);
    }

    .works .flex_item {
        width: calc(50% - 2rem);

    }

    .works .common_btn {
        width: 90%;
        margin-top: -4rem;
        max-width: 400px;
    }

    .works_area::before {
        top: -10%;
        width: 250px;
        height: 200px;
    }

    .new_construction {
        padding: 5% 5%;
    }

    .new_construction .flex_item.slick-slide img {
        border-radius: 10px;
        border: 6px solid #fff;
    }

    .new_construction .flex_item.slick-slide span {
        padding: 0 0.3rem;
    }

    .new_construction .flex_item.slick-slide {
        height: 200px;
        margin-left: 10px;
    }

    .news {
        width: 90%;
    }

    .new_construction::before {
        top: -12%;
    }

    .new_construction::after {
        bottom: -25%;
    }

    .new_construction .h_text::after {
        bottom: 20%;
        height: 170px;
    }

    .new_construction .common_btn::after {
        left: 60%;
        top: 125%;
        height: 200px;
        width: 65%;
    }

    .new_construction .h_text {
        margin-bottom: 0.5rem;
    }

    .recruit h3 {
        text-align: center;
    }

    .recruit .double_line {
        display: none;
    }

    .recruit .flex {
        display: block;
    }

    .recruit article {
        width: 90%;
        padding: 1rem 2.5rem;
        border-radius: 20px;
    }

    .recruit_area {
        width: 100%;
    }

    .recruit article::after {
        content: none;
    }

    .news_area::before,
    .news_area::after {
        content: none;
    }

    .company::after {
        display: none;
    }
}

@media (max-width: 599px) {
    .fv_catchcopy {
        top: 17%;
        right: 12%;
    }

    .fv_area .fv_img {
        aspect-ratio: 16 / 12;
    }

    .fv_catchcopy div {

        height: 20vh;
    }

    .fv_catchcopy div:nth-child(2) {
        transform: translateY(20px);
    }

    .fv_catchcopy div:nth-child(3) {
        transform: translateY(40px);
    }

    .fv_catchcopy div:nth-child(4) {
        transform: translateY(60px);
    }

    .fv_area article {
        width: 100%;
    }

    .works_area::before {
        top: -16%;
        width: 200px;
        height: 200px;
    }

    .works .flex {
        gap: 1rem;
    }

    .works .h_lead {
        text-align: left;
    }

    .works .flex_item {
        width: calc(50% - 1rem);
    }

    .recruit article {
        width: 90%;
        padding: 1rem;
        border-radius: 20px;
    }

    .new_construction .h_text::after {
        bottom: 95%;
        height: 100px;
        right: -45%;
    }

    footer ul li {
        width: calc(100%);
        margin-bottom: 5px;
        border-bottom: 1px solid var(--sub-color);
        padding-right: 0;
        border-right: none;
        padding: 0.5rem;
    }

    footer ul li:nth-of-type(1n) {
        border-right: none;
    }

}

@media (max-width: 400px) {
    .works .flex {
        transform: translate(1rem, -35%);
    }

    .new_construction .h_text::after {
        bottom: 95%;
        height: 90px;
        right: -37%;
    }
}