@charset "UTF-8";



/*--------------------
hero
---------------------*/
.hero {
    margin: 0 0 100px;
    position: relative;
    align-items: center;
    height: calc(100vh - 78px);
}

.hero-img {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85) contrast(0.9) saturate(0.9);
}

.hero-img::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: #fff;
    animation: fadeout 1s ease-in forwards;
    animation-delay: 1s;
    z-index: 100;
}

@keyframes fadeout {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.section-title {
    text-align: center;
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translateY(-50%) translateX(50%);
    z-index: 101;
}

.section-title span {
    background: linear-gradient(180deg, #f2b7d6, #9ad7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title__img {
    position: absolute;
    opacity: 0;
    animation: footfade 1s linear forwards;
}

@keyframes footfade {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.one {
    width: clamp(35px, 2.394vw, 45px);
    bottom: -40px;
    left: clamp(-60px, -3.191vw, -20px);
    rotate: -15deg;
    animation-delay: 0s;
}

.two {
    width: clamp(45px, 2.926vw, 55px);
    bottom: 50%;
    left: clamp(-100px, -5.319vw, -50px);
    transform: translateY(50%);
    rotate: 15deg;
    animation-delay: 0.2s;
}

.three {
    width: clamp(35px, 2.394vw, 45px);
    top: -40px;
    left: clamp(-40px, -2.191vw, -5px);
    rotate: -15deg;
    animation-delay: 0.4s;
}

/*------------------------
scroll
----------------------------*/
.scroll {
    position: absolute;
    bottom: 25px;
    left: 10.638vw;
}

.scroll-text {
    font-size: 1.8rem;
    font-family: "Crimson Text", serif;
    color: #fff;
    text-align: center;
    transform: rotate(90deg);
}

.scroll-border {
    position: relative;
    top: 25px;
    width: 1px;
    height: 90px;
    background: #fff;
    margin: auto;
    overflow: hidden;
}

.scroll-border::before {
    position: absolute;
    content: "";
    display: block;
    width: 1px;
    height: 90px;
    top: 0;
    left: 0;
    right: 0;
    background: #000;
    animation: scrollbar 2s ease-in-out infinite;
    margin: auto;
}

@keyframes scrollbar {
    0% {
        height: 0;
        top: 0;
    }

    30% {
        height: 100%;
    }

    100% {
        top: 100%;
    }
}

/*------------------------
case study
----------------------------*/
.case-container {
    display: flex;
    flex-wrap: wrap;
}

.case-inner {
    width: 50%;
    padding: clamp(20px, 2.66vw, 50px);
    position: relative;
}

.case-img {
    width: 100%;
    border: 1px solid #333;
    border-radius: 10px;
}

.case-title {
    font-size: clamp(2rem, 2.128vw, 4rem);
    margin-top: 5px;
}

.case-btn {
    width: clamp(30px, 3.191vw, 60px);
    height: 100%;
    position: absolute;
    right: clamp(50px, 7.979vw, 150px);
    transition: 0.5s ease;
}

.case-btn img {
    width: 100%;
    height: 100%;
}

.case-item__wrapper {
    display: flex;
    align-items: center;
}

.case-link:hover .case-btn {
    right: clamp(20px, 2.66vw, 50px);
}

.case-link {
    width: 100%;
    height: 100%;
    display: inline-block;
}

/*================
=================*/
@media (max-width: 899px) {
    .case-container {
        flex-direction: column;
    }

    .case-inner {
        width: 100%;
        padding-inline: clamp(20px, 5.562vw, 50px);
        transition: 0.3s ease;
    }

    .case-btn {
        display: none;
    }

    .case-inner:hover {
        transform: scale(1.04);
        opacity: 0.8;
    }
}


/*---------------------
contact
----------------------*/
.contact {
    width: 100%;
    padding: 80px 5%;
    border-radius: 40% 40% 0 0;
    background: linear-gradient(180deg, #ffd7e6, #d8ecff);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: clamp(10px, 2.66vw, 50px);
}

.contact-title img {
    width: 80px;
}

.contact-title {
    text-align: center;
    flex: 1;
}

.contact-text {
    flex: 1.2;
}

.c-text {
    margin-bottom: 40px;
    margin-left: 20px;
}

.link {
    background: #fff;
    border-radius: 40px;
    padding: 18px 49px;
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 20px;
    width: 600px;
    z-index: 0;
    overflow: hidden;
    position: relative;
}

.link::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #d7c1d0;
    transition: width 0.3s ease;
    z-index: -1;
}

.link:hover::before {
    width: 100%;
}

.link span {
    margin: 0 0 5px;
}

.link img {
    width: 40px;
}

.tel img {
    width: 40px;
}

.tel {
    background: #fff;
    border-radius: 40px;
    padding: 18px 49px;
    display: flex;
    align-items: center;
    gap: 44px;
    margin-bottom: 20px;
    width: 600px;
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.tel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #c8d3e7;
    transition: width 0.4s ease;
    z-index: -1;
}

.tel:hover::before {
    width: 100%;
}

.tel span {
    margin: 0 0 5px;
}

.link-arrow {
    position: relative;
}

.link-arrow::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -70px;
    transform: translateY(-50%) skewX(45deg);
    width: 70px;
    height: 4px;
    border-bottom: 1px solid #222;
    border-right: 1px solid #222;
    transition: 0.4s ease, border-color 0.4s ease;
    display: inline-block;
    z-index: 1;
}

/*-------------------
footer
--------------------*/
#footer {
    background: #c1d7e7;
    /* height: 600px; */
}

.logo img {
    width: 50px;
}

.logo {
    display: flex;
    font-size: 1rem;
    gap: 20px;
    padding: 30px;
}

.logo h1 {
    margin: 10px 0 0 0;
}

.footer-text-wrapper {
    width: 400px;
    margin: 0 auto;
}

.footer-text {
    text-align: left;
    margin-left: 30px;
}

.footer-text2 {
    text-align: right;
    margin-right: 30px
}

.right {
    border-right: none;
    width: 333px;
    height: 100%;
    margin: 40px auto 0;
    border-top: 1px dashed #222;
    text-align: center;
}

.right p {
    border-bottom: 1px dashed #222;
    padding: 30px 0;
}

.right a:hover {
    color: #ffffff;
    transition: 0.25s ease;
    border-color: #222;
}

.sns img {
    width: 30px;
    height: 30px;
}

.sns {
    display: none;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
}

/*-------------------
back to tpo
--------------------*/
.btn {
    z-index: 100;
    position: fixed;
    right: 30px;
    bottom: 20px;
}

.btn a {
    display: inline-block;
    position: relative;
    width: 100%;
    height: 100%;
}

.btn a::before {
    position: absolute;
    width: 10px;
    height: 10px;
    transform: rotate(-45deg);
    border-top: solid 1px #222;
    border-right: solid 1px #222;
    content: "";
    transform: rotate(-45deg) translateY(-40%);
    top: 50%;
    right: 110px;
}

/*========================
==========================*/

@media (max-width: 768px) {

    /*------------------
    contact
    -------------------*/
    .contact {
        flex-direction: column;
    }

    .c-text {
        text-align: center;
        padding: 20px 0 0;
    }
}

@media (max-width: 599px) {

    /*-----------------
    contact
    ----------------*/
    .link {
        width: 500px;
        margin: 0 auto 20px;
    }

    .tel {
        width: 500px;
        margin: 0 auto 20px;
    }
}

@media (max-width: 499px) {
    h1 {
        /* font-size: 2.8rem; */
    }

    h2 {
        font-size: 2.8rem;
    }

    .footer-text-wrapper {
        width: 100%;
        text-align: center;
    }

    .footer-text-wrapper>div {
        text-align: center;
        margin: 0;
    }

    /*-------------------
    contact
    -------------------*/
    .contact {
        border-radius: 100px 100px 0 0;
        background: linear-gradient(180deg, #ffd7e6, #d8ecff);
    }

    .link {
        flex-direction: column;
        width: 310px;
        height: 200px;
        position: relative;
    }

    .link-arrow::after {
        content: "";
        position: absolute;
        top: -10px;
        right: -33px;
        transform: translateY(-50%) skewX(45deg);
        width: 70px;
        height: 4px;
        border-bottom: 1px solid #222;
        border-right: 1px solid #222;
        transition: 0.4s ease, border-color 0.4s ease;
        display: inline-block;
        z-index: 1;
    }

    .tel {
        flex-direction: column;
        width: 310px;
        height: 160px;
    }
}

/*=========================
=========================*/