@charset "utf-8";



/***FV***/
.top_fv_sec {
    position: relative;
    overflow: hidden;
}
.top_fv_list {
    width: 60%;
    margin-left: auto;
}

.top_fv_sec .fv_image {
    position: relative;
    width: 100%;
    height: calc(100vh - 8.6rem);
    overflow: hidden;
}

.top_fv_sec .fv_image img {
    position: absolute;
    top: 0;
    left: 0;
    object-fit: contain;
    object-position: center right;
    width: 100%;
    height: 100%;
}


.top_fv_sec .fv_text_wrap {
    position: absolute;
    left: 8rem;
    top: 8rem;
}

.top_fv_sec .fv_text h2 {
    font-size: 6rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.top_fv_sec .fv_text h2 .first,
.top_fv_sec .fv_text h2 .second {
    margin: 0 2rem;
}
 



.top_fv_sec .fv_text h2 .second.wide {
    margin: 0 5rem;
}


.top_fv_sec .fv_text h2 .second.smallwide {
    margin: 0 4rem;
}

.top_fv_sec .fv_text h3 {
    color: var(--blue);
    font-style: italic;
    margin-bottom: 2.8rem;
}



.fv_text span,
.fv_text h2,
.fv_text h3,
.fv_text p {
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s ease;
}

.fv_text.show span,
.fv_text.show h2,
.fv_text.show h3,
.fv_text.show p {
  opacity: 1;
  transform: translateY(0);
}

.fv_text.show h2 {
    transition-delay: 0s;
}

.fv_text.show .first {
  transition-delay: 0.6s;
}
.fv_text.show .second {
  transition-delay: 0.9s;
}
.fv_text.show h3 {
  transition-delay: 1.8s;
}
.fv_text.show p {
  transition-delay: 2.0s;
}

@media screen and (max-width: 900px) {
    .top_fv_list {
        width: 100%;
       margin: 0 auto;
    }
    .top_fv_sec .fv_text_wrap {
        position: relative;
        left: 0;
        top: 0;
    }
    .top_fv_sec .fv_image {
        position: relative;
        width: 100%;
        height: 0;
        padding-bottom: 100%;
        overflow: hidden;
    }


    .top_fv_sec .fv_text {
        padding: 0 2rem;
    }

    .top_fv_sec .fv_text h2 {
        font-size: 3.3rem;
        margin-bottom: 1rem;
    }

        .top_fv_sec .fv_text h2 .first,
    .top_fv_sec .fv_text h2 .second {
        margin: 0 1rem;
    }
    



    .top_fv_sec .fv_text h2 .second.wide {
        margin: 0 3rem;
    }
    .top_fv_sec .fv_text h2 .second.smallwide {
        margin: 0 2rem;
    }
        
    .top_fv_sec .fv_text h3 {
        margin-bottom: 2.5rem;
        font-size: 2.2rem;
    }

    

}


/***top about***/
.top_about_sec {
    padding: 120px 0 60px;
}

.top_about_sec .wrapper {
    display: flex;
    gap: 8rem;
    align-items: center;
}

.top_about_sec .content {
    flex: 1;
}

.top_about_sec .image {
    width: 50%;
}
.top_about_sec .content {
    background-color: rgba(255,255,255, 0.3);
}

.top_about_sec .content h2 {
    color: var(--blue);
    font-size: 2.4rem;
    margin-bottom: 10px;
}
.top_about_sec .content h3 {
    font-size: 3.6rem;
    margin-bottom: 30px;
}

.top_about_sec .content .ex {
    margin-bottom: 40px;
}

.top_about_sec .content .base_btn a {
    margin-left: auto;
}

.top_about_sec .image .slick-dots {
    bottom: -8rem;
}

@media screen and (max-width: 900px) {
    .top_about_sec {
        padding: 4rem 0 6rem;
    }
    .top_about_sec .wrapper {
        flex-direction: column;
        gap: 3rem;
        margin-bottom: 5rem;
    }

    .top_about_sec .image {
        width: 100%;
    }

    .top_about_sec .content h2 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    .top_about_sec .content h3 {
        font-size: 2.4rem;
    }

    .top_about_sec .content .ex {
        margin-bottom: 0;
    }

    .top_about_sec > .base_btn a  {
        margin: 0 auto;
    }
    .top_about_sec .image .slick-dots {
        bottom: -4rem;
    }


}

/***service***/
.top_service_sec {
    padding: 120px 0;
    position: relative;
}

.top_service_list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.top_service_list li {
    width: calc(100% / 2 - 20px / 2);
    position: relative;
}

.top_service_list li a {
    width: 100%;
    display: block;
    position: relative;
}

.top_service_list li figure {
    width: 100%;
    height: 0;
    padding-bottom: 50%;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    background-color: black;
    transition: all 0.3s ease;
}

.top_service_list li a:hover figure {
    background-color: var(--blue);
}

.top_service_list li figure img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    object-position: center;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.top_service_list li a:hover figure img {
    opacity: 0.3;
}

.top_service_list li .title {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;

}

.top_service_list li .title h3,
.top_service_list li .title p {
    color: white;

}

.top_service_list li .title h3 {
    font-size: 2.4rem;
}

.top_service_list li .title p {
    font-size: 1.6rem;
    line-height: 1;
}

@media screen and (max-width: 900px) {

    .top_service_sec {
        padding: 4rem 0;
        overflow-x: hidden;
    }

    .top_service_list {
        justify-content: center;
    }
    
    .top_service_list li {
        width: 100%;
        max-width: 50rem;
    }

    .top_service_list li figure {
        padding-bottom: 62.5%;
    }
    .top_service_list li .title h3 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .top_service_list li .title p {
        font-size: 1.4rem;
    }

}

/***works***/
.top_archivement_sec {
    padding: 120px 0;
}

.top_archivement_sec .archivement_box {
    position: relative;
    padding-bottom: 80px;
}


.top_archivement_sec .archivement_box .title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--font-color);
    padding: 1.5rem 5rem;
    border-radius: 5rem;
    gap: 30px;
    margin-bottom: 5rem;
}
.top_archivement_sec .archivement_box .title::after {
    content: '';
    flex: 1;
    background-color: white;
    width: 100%;
    height: 0.2rem;
    display: block;
    order: 2;
    }

.top_archivement_sec .archivement_box .title h3 {
    color: white;
    font-size: 2.4rem;
    order: 1;
}

.top_archivement_sec .archivement_box .base_btn {
    order: 3;
}


.top_archivement_sec .archivement_box h4 {
    font-size: min(8.5vw, 12rem);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    color: transparent;
    -webkit-text-stroke: 1px var(--blue);
    text-stroke: 1px var(--blue);
    font-style: italic;
    z-index: 3;
}
.top_archivement_sec .archivement_box h4 span {
    cursor: default;
    transition: all 0.2s ease;
}
.top_archivement_sec .archivement_box h4 span:hover {
    color: var(--blue);
}



.archivement_slide figure {
    width: 70vw;
    max-width: 35rem;
    margin: 0 12px;
    height: 0;
    padding-bottom: 70%;
    position: relative;
    /* background-color: var(--back-gray); */
    border-radius: 1rem;
}

.archivement_slide figure img {
    width: 95%;
    height: 95%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: contain;
}

.archivement_slide .slick-track > .slick-slide:nth-of-type(2n) figure {
    margin-top: 50px;
}

@media screen and (max-width: 900px) {


    .top_archivement_sec {
        padding: 4rem 0;
    }
    .top_archivement_sec .archivement_box {
        position: relative;
        padding-bottom: 80px;
    }
    .top_archivement_sec .archivement_box .title {
        padding: 0.8rem;
        padding-left: 2.5rem;
        gap: 1rem;
        margin-bottom: 3rem;
    }
    .top_archivement_sec .archivement_box .title::after {
        display: none;
    }

    .top_archivement_sec .archivement_box .title h3 {
        color: white;
        font-size: 1.6rem;
        order: 1;
    }

    .top_archivement_sec .archivement_box .title .base_btn a {
        width: 12rem;
        padding: 0.8rem 1.2rem;
    }


    .top_archivement_sec .archivement_box h4 {
        font-size: min(15vw, 7rem);
        line-height: 1.3;
    }
    

}

/***news***/
.top_news_sec {
    padding: 12rem 0;
}

.top_news_sec .wrapper {
    display: flex;
    justify-content: space-between;
    gap: 7rem;
    align-items: stretch;
}

.top_news_sec .wrapper .left {
    width: 18rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.top_news_sec .wrapper .right {
    flex: 1;
}

.news_list li {
    border-bottom: 1px solid var(--border-gray);
    padding-bottom: 2rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.news_list li:not(:last-of-type) {
    margin-bottom: 2rem;
}


.news_list li .date {
    font-size: 1.8rem;
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-variation-settings: "wdth" 100;
    margin-right: 2rem;

}

.news_list li .category {
    background-color: var(--blue);
    color: white;
    font-size: 1.3rem;
    color: white;
    border-radius: 0.2rem;
    padding: 0.5rem 1rem;
    margin-right: 3rem;
}

.news_list li .title a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 900px) {

    .top_news_sec {
        padding: 4rem 0;
    }
    .top_news_sec .wrapper {
        flex-direction: column;
        gap: 0;
    }
    .top_news_sec .wrapper .left {
        width: 100%;
    }

    .news_list li {
        gap: 1rem 1.5rem;
    }
    .news_list li .date {
        
        font-size: 1.5rem;
        margin-right: 0;
    
    }
    .news_list li .category {
        font-size: 1.2rem;
    }

    .news_list li .title {
        width: 100%;
        font-size: 1.4rem;
    }
    
    .top_news_sec .base_btn {
        margin-top: 4rem;
    }

    .top_news_sec .base_btn a {
        margin: 0 auto;
    }

}

/***fv***/

.fly-1 {
    left: -200px;   /* 画面左の外 */
    bottom: -200px; /* 画面下の外 */
    animation: flyUpAnimation 5s ease-in-out infinite;
}

.fly-2 {
    left: -100px;   /* 画面左の外 */
    bottom: -200px; /* 画面下の外 */
    animation: flyUpAnimation 7s ease-in-out infinite;
animation-delay: 2s; /* ← 2秒後にスタート */
}



.fly-3 {
    right: 300px;   /* 画面左の外 */
    bottom: -200px; /* 画面下の外 */
    animation: flyUpAnimation 4s ease-in-out infinite;
animation-delay: 2s; /* ← 2秒後にスタート */
}


.fly-4 {
    left: -200px;   /* 画面左の外 */
    top: 300px; /* 画面下の外 */
    animation: flyUpAnimation 7s ease-in-out infinite;
animation-delay: 1s; /* ← 2秒後にスタート */
}



.fly-5 {
    left: -200px;   /* 画面左の外 */
    top: 350px; /* 画面下の外 */
    animation: flyUpAnimation 9s ease-in-out infinite;
animation-delay: 1s; /* ← 2秒後にスタート */
}

.fly-up {
    position: absolute;


    opacity: 0;
    pointer-events: none;
    z-index: -1;
  }
  
  @keyframes flyUpAnimation {
    0% {
      transform: translate(0, 0);
      opacity: 0;
    }
    10% {
      opacity: 1;
      transform: translate(0, 0);
    }
    40% {
        opacity: 1;
    }
    50% {
    opacity: 0;
    }
    90% {
      opacity: 0;
      transform: translate(160vw, -130vw); /* 斜めに遠くまで移動（45度） */
    }
    100% {
      opacity: 0;
      transform: translate(170vw, -140vw); /* 完全に画面外へ */
    }
  }



  #squareCanvas {
    z-index: -3;
    width: 100%;
    height: 100%;
  }
  @media screen and (max-width: 900px) {


  }


  /***サービス背景***/
.top_service_sec .back_decoration .deco {
    position: absolute;
    z-index: -2;
    transition: transform 0.2s ease-out;
    will-change: transform;
}

.top_service_sec .back_decoration .deco_1 {
    top: 100px;
    left: -150px;
}
.top_service_sec .back_decoration .deco_2 {
    top: 135px;
    left: -85px;
}
.top_service_sec .back_decoration .deco_3 {
    top: 380px;
    left: -15px;
}
.top_service_sec .back_decoration .deco_4 {
    bottom: -190px;
    right: -80px;
}
.top_service_sec .back_decoration .deco_5 {
    bottom: -60px;
    right: 20px;
}


@media screen and (max-width: 900px) {

    .top_service_sec .back_decoration .deco_1 {
        width: 24rem;
    }
    .top_service_sec .back_decoration .deco_2 {
        width: 12rem;
    }
    .top_service_sec .back_decoration .deco_3 {
        width: 12rem;
    }
    .top_service_sec .back_decoration .deco_4 {
        width: 30rem;
    }
    .top_service_sec .back_decoration .deco_5 {
        width: 12rem;
        bottom: -120px;
        right: 30px;
    
    }

}

