@charset "UTF-8"; 
@import url(../css/sub.css); 
@import url(../css/header.css);

:root {
    --main-bg-color: #63BDEE;
    --window-padding: 50px;
    --vertical-window-padding: 100px;
    --font-family: "Inter";
    --font-family2: "Viga";
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-weight: 400;
    font-style: normal;
    line-height: 1.5;
}

body p {
    line-height: 1.5;
}

.pd-tb {
    padding-top: var(--vertical-window-padding);
    padding-bottom: var(--vertical-window-padding);
}

.pd-b {
    padding-bottom: var(--vertical-window-padding);
}

.pd-lr {
    padding-left: var(--window-padding);
    padding-right: var(--window-padding);
}

.w100 {
    width: 100%;
}

.mb20 {
    margin-bottom: 20px;
}

.mb30 {
    margin-bottom: 30px;
}

.mb40 {
    margin-bottom: 40px;
}

.mb50 {
    margin-bottom: 50px;
}

.mb100 {
    margin-bottom: 100px;
}

.mb0 {
    margin-bottom: 0 !important;
}

.center {
    text-align: center;
}

.btn01 {
    background-color: var(--main-bg-color);
    color: #fff;
    border-radius: 100vh;
    width: 100%;
    max-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    position: relative;
    padding: 15px 6% 15px 3%;
    font-weight: 600;
    border: solid 1px var(--main-bg-color);
}

.btn01.white {
    background-color: #fff;
    color: #000;
    border: solid 1px #fff;
}

.btn01.center {
    margin: 0 auto;
}

.btn01::after {
    content: "＞";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 17%;
}

.inner {
    max-width: 1200px;
    margin: 0 auto;
}

.hv {
    transition: 0.5s ease;
}

.hvbb:hover {
    border: solid 1px #fff;
}

.hvbbblue:hover {
    border: solid 1px var(--main-bg-color);
}

.hvbbblack:hover {
    border: solid 1px #000;
    opacity: 0.7;
}

.hv:hover {
    opacity: 0.7;
}

/* header-end */

.section_ttl {
    font-size: 100px;
    color: var(--main-bg-color);
    font-family: var(--font-family2);
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-style: italic;
    width: fit-content;
    line-height: 55px;
    font-weight: 100;
}

.section_ttl.center {
    text-align: center;
    margin: 0 auto 30px;
}

.section_ttl span {
    font-size: 20px;
    color: #000;
    font-style: normal;
    font-weight: 600;
}

.section_ttl span.white {
    color: #fff;
}

.mv {
    height: 100vh;
    /* background-image: url(../img/top_mv.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 100% 30%; */
    position: relative;
}

.mv video {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
}

.mv .inner {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1700px;
}

.mv_text {
    position: absolute;
    left: 100px;
    bottom: 60px;
}

.mv_text p {
    font-size: 80px;
    color: #fff;
    filter: drop-shadow(1px 1px 2px #3338);
    line-height: 90px;
    font-weight: 600;
    font-family: var(--font-family);
}

.sp {
    display: none;
}

#page_top {
    position: fixed;
    bottom: 10px;
    right: 10px;
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    z-index: 69;
    border-radius: 50%;
    background-color: var(--main-bg-color);
    border: 2px solid white;
}

#page_top a::before {
    font-weight: 900;
    content: ">";
    font-size: 20px;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(270deg);
}

/* top news */
.top_news .inner {
    display: flex;
    gap: 50px;
}

.top_news .inner .section_ttl {
    align-items: center;
    margin: 0 auto 30px;
}

.top_news .inner .section_ttl span {
    padding-left: 3%;
}

.top_news .inner .news__list {
    width: 100%;
}

.top_news .inner .news_yt {
    width: 100%;
    padding: 30px 30px 50px;
    background-color: #fff;
    filter: drop-shadow(3px 3px 6px #0005);
}

.top_news .inner .news_yt h3 {
    font-size: 32px;
}

.top_news .inner .news__list ul li a {
    color: #000;
    border-bottom: solid 1px;
    display: flex;
    gap: 20px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    font-weight: 600;
}

/* top about */
.top_about {
    background-image: url(../img/top/about/topabout_bg.png);
    background-repeat: no-repeat;
    background-position: 100% 20%;
    background-size: cover;
    color: #fff;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.top_about .wrap {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.top_about .wrap a {
    color: #fff;
    display: flex;
    border: solid 1px;
    border-radius: 100vh;
    padding: 10px 3%;
    width: 100%;
    max-width: 300px;
    position: relative;
    justify-content: center;
}

.top_about .wrap a:hover {
    border: solid 1px var(--main-bg-color);
}

.top_about .wrap a::after {
    content: "＞";
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 21px;
}

/* top service */
.top_service {
    background-color: #D0EBFA;
}

.top_service .wrap {
    display: flex;
    gap: 20px;
}

.top_service .card {
    width: 100%;
    background-color: #fff;
    filter: drop-shadow(0px 0px 6px #0004);
}

.top_service .card a {
    display: flex;
    overflow: hidden;
}

.top_service .card a img {
    transform: scale(1);
    transition: all 0.4s;
}

.top_service .card a img:hover {
    transform: scale(1.1);
    transition: all 0.4s;
}

.top_service .card p {
    padding: 0 3%;
    text-align: center;
    font-weight: 600;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* works */
.top_works .inner {
    max-width: unset;
}

.top_works .section_ttl-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3%;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto 50px;
}

.top_works .section_ttl-box .section_ttl {
    margin-bottom: 0;
}

.top_works .slider01 .slider-card {
    color: #000;
    filter: drop-shadow(0px 0px 5px #0005);
    text-decoration: none; /* optional if they were links before */
}

.top_works .slider01 .slider-card .img_box {
    overflow: hidden;
    position: relative;
}

.top_works .slider01 .slider-card .img_box img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
    transition: all 0.4s;
}

.top_works .slider01 .slider-card .img_box img:hover {
    transform: scale(1.1);
    transition: all 0.4s;
}

.top_works .slick-initialized .slick-slide {
    margin: 0 15px;
}

.top_works .slider01 .slider-card p {
    background-color: #fff;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 600;
    font-size: 18px;
}

.top_works .slick-slider .slick-track {
    padding-bottom: 150px;
}

.top_works .slick-prev,
.top_works .slick-next {
    position: absolute;
    cursor: pointer;
}

.top_works .slick-prev {
    bottom: 0;
    left: 40%;
    transform: translateX(-50%);
    z-index: 2;
}

.top_works .slick-next {
    right: 0;
    bottom: 0;
    right: 40%;
    transform: translateX(50%);
}

/* recruit */
.top_recruit {
    background-image: url(../img/top/recruit/bg.png);
    background-position: center;
    background-size: cover;
}

.top_recruit .wrap {
    background-color: #fff;
    padding: 50px 100px 50px 50px;
    width: fit-content;
    margin: 0 auto 0 5%;
}

.top_recruit .wrap h3 {
    font-size: 32px;
    margin-bottom: 30px;
    line-height: 1.4;
}

.top_recruit .wrap p {
    margin-bottom: 30px;
}

.top_recruit .img_box-sp {
    display: none;
}

.top_recruit .section_ttl {
    filter: drop-shadow(5px 5px 4px #0003);
}

/* links */
.top_links .wrap {
    display: flex;
    gap: 20px;
    justify-content: center;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.top_links .wrap a {
    display: flex;
    width: 100%;
}
/* contactbnr */
.contactbnr {
    background-color: var(--main-bg-color);
}

.contactbnr .section_ttl {
    color: #fff;
}

.contactbnr .section_ttl span {
    color: #fff;
}

.contactbnr .wrap {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.contactbnr .wrap .contact_btn {
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 20px;
}

.contactbnr .wrap .contact_btn:nth-child(1) {
    border-right: solid 2px #fff;
}

.contactbnr .wrap .contact_btn img {
    width: 150px;
    margin: 0 auto;
}

.contactbnr .wrap .contact_btn .btncontact {
    color: #fff;
    font-size: 50px;
    font-weight: 700;
    letter-spacing: 10px;
    transition: all 0.5s;
}

.contactbnr .wrap .contact_btn .btncontact:hover {
    color: #000;
    transition: all 0.5s;
}

.contactbnr .wrap .contact_btn .btn01 {
    max-width: 400px;
    padding: 20px 50px 20px 25px;
    transition: all 0.5s;
}

.contactbnr .wrap .contact_btn .btn01::after {
    right: 10%;
}

/* footer */
.footer {
    padding-top: 30px;
    padding-bottom: 30px;
    border-top: solid 1px #3333;
}

.footer .inner {
    display: flex;
    margin-bottom: 20px;
    max-width: 1100px;
}

.footer_nav {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 40px;
}

.footer_nav-sp {
    padding-top: 0;
}

.footer_nav ul {
    width: 40%;
}

.footer_nav ul li {
    width: 100%;
    padding: 0 0 10px;
}

.footer_nav ul li a {
    color: #000;
    font-size: 15px;
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
}

.footer_nav ul li a::before {
    content: "";
    border-bottom: solid 2px #000;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    transition: all 0.5s;
}

.footer_nav ul li a:hover::before {
    width: 100%;
    transition: all 0.5s;
}

.footer_nav ul li a span {
    margin-right: 10px;
}

.footer_logo {
    width: 100%;
    text-align: end;
}

.footer_logo .logo img {
    width: 100%;
    max-width: 300px;
    margin-bottom: 10px;
}

.footer_logo .address {
    line-height: 20px;
    font-size: 15px;
    font-weight: 500;
    color: #000;
}

.copyright {
    text-align: center;
    color: #000;
    font-size: 15px;
}

.footer .footer_btns {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.footer .footer_btns a {
    display: flex;
    width: 100%;
    background-color: var(--main-bg-color);
    color: #fff;
    padding: 20px;
    justify-content: center;
    font-weight: 600;
    border: solid 1px var(--main-bg-color);
    transition: all 0.5s;
}

.footer .footer_btns a:hover {
    border: solid 1px #000;
    transition: all 0.5s;
    opacity: 0.7;
}

/* footer */
@media screen and (max-width: 1400px) {
    :root {
        --vertical-window-padding: 80px;
    }

    .btn01 {
        height: 50px;
        max-width: 200px;
        padding: 0 3%;
    }

    .btn01::after {
        right: 8%;
    }
    
    .top_service .btn01,
    .top_works .btn01,
    .top_links .btn01 {
        max-width: 250px;
    }

    .inner {
        max-width: 1000px;
    }

    .mv {
        height: 100%;
        min-height: 628px;
    }

    .mv_text p {
        font-size: 60px;
        line-height: 70px;
    }

    .section_ttl {
        font-size: 80px;
    }

    .top_service .card p {
        height: 70px;
        font-size: 14px;
    }

    .top_works .section_ttl-box {
        max-width: 1200px;
    }

    .top_works .slider01 .slider-card p {
        font-size: 16px;
    }

    .top_recruit .inner {
        max-width: 1200px;
    }

    .top_news .inner {
        max-width: 700px;
    }

    .top_recruit {
        background-position: 100% 100%;
    }

    .top_service .inner {
        max-width: unset;
    }

    .top_news .inner .news__list ul li a {
        gap: 150px;
    }

    .top_news .inner .news_yt video {
        height: auto;
        aspect-ratio: 1.7 / 1;
        object-fit: fill;
        object-position: center;
    }

    .top_news .inner .news_yt {
        padding: 20px 20px 40px;
    }

    .top_about .wrap a {
        padding: 10px;
    }

    .footer_nav ul {
        width: 50%;
    }

    .footer_nav ul li a, .footer_logo .address {
        font-size: 14px;
        line-height: 25px;
    }
}

@media (max-width: 1400px) and (min-height: 519px) {
    .mv {
        height: 100%;
        min-height: 519px;
        background-size: 100%;
        background-position: 0px 10%;
    }

    .mv_text p {
        font-size: 55px;
        line-height: 70px;
    }
}

@media (max-width: 1250px) and (min-height: 519px) {
    .mv {
        height: 100%;
        min-height: 519px;
        background-size: cover;
        background-position: center;
    }
}

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

@media screen and (max-width: 1100px) {
    .mv_text p {
        font-size: 50px;
    }

    .mv_text {
        left: 3%;
        bottom: 100px;
    }
}