@charset "utf-8";

.title__text h1 {
    font-weight: 500;
}

.image__box {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: #333333;
    border-radius: 0 0 100px 100px;
    overflow: hidden;
}

.top__image__items {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.top__image__items img {
    height: 100vh;
    width: 100%;
    border-radius: 100px;
    transform: translateX(100%) translateY(0) scale(0.6);
    transition: all ease .5s;
}

.top__image__items img.slidein {
    height: 100vh;
    width: 100%;
    border-radius: 100px;
    transform: translateX(0) scale(0.6);
    transition: all ease .5s;
}

.top__image__items img.slidein.default__size {
    height: 100vh;
    width: 100%;
    border-radius: 0 0 100px 100px;
    transform: translateX(0) scale(1);
    transition: all ease .5s;
}

.top__image__items img.slidein.out__slide {
    height: 100vh;
    width: 100%;
    border-radius: 0 0 100px 100px;
    transform: translateX(-100%) scale(0.6);
    transition: all ease .5s;
}

.top__image__items img.slidein.out__slide.out__slide__under {
    height: 100vh;
    width: 100%;
    border-radius: 0 0 100px 100px;
    transform: translateX(-100%) translateY(100%) scale(0.6);
    transition: all ease .5s;
}

/* NEWS */
#news {
    background-color: #FFFFFF;
    padding: 0 0 5% 0;
}
.title__text {
    text-align: center;
}

.news__container {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

.news__lists {
    width: 33.3333%;
    text-align: center;
}

.news__lists__img img {
    border-radius: 40px;
    width: 200px;
    height: 200px;
    transition: all cubic-bezier(.73,0,.83,1)  .5s;
    transform: scale(1);
}

.news__lists__img img:hover {
    transform: scale(0.8);
}

.news__content {
    text-decoration: none;
    color: #333333;
}

.text__title {
    font-size: 28px;
    text-align: center;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.button__link {
    width: 100%;
    text-align: center;
    padding-top: 50px;
}

.button__link button {
    border-radius: 40px;
    box-shadow: 6px 6px 10px 0px rgba(0, 0, 0, 0.4);    
    border: none;
    background-color: #FFFFFF;
    transition: all cubic-bezier(.73,0,.83,1)  .2s;
    
}

.button__link button:hover {
    box-shadow: none;
}

.button__link button a {
    text-decoration: none;
    padding: 15px 100px 15px 100px; 
    color: #333333;
    position: relative;
    z-index: 1;
    display: block;
    overflow: hidden;
    border-radius: 40px;
}

.button__link button a p {
    font-weight: 800;
}

.button__link button a:hover {
    color: #FFFFFF;
    
}

.button__link button a::before {
    content: "";
    width: 200%;
    height: 200%;
    position: absolute;
    top: 0;
    left: -50%;
    z-index: -1;
    background: linear-gradient(to bottom right, #009ED3, #007FAA, #056187, #005EAC, #0459A0); /* 斜めのグラデーション */
    transform: rotate(45deg); /* 要素を45度回転させる */
    transform-origin: 0 0; /* 回転の中心を左上に設定 */
    transition: all cubic-bezier(.73,0,.83,1)  .2s;
}

.button__link button a:hover::before {
    transform: rotate(0);}

/* 会社概要 */

.company__container {
    display: flex;
    width: 100%;
    padding-top: 5%;
    padding-bottom: 5%;
    justify-content: center;
    align-items: center;
    background-image: url(../images/bg-1.webp);
    background-size: cover;
    background-attachment: fixed; 
    background-position: center;
    border-radius: 40px;
}

.company__text__box {
    width: 40%;
    margin-right: 50px;
}

.company__title__text {
    text-align: center;
    width: 200px;
    color: #ffffff;
}

.sub__title {
    padding: 20px 0;
}

.sub__title h2 {
    background: linear-gradient(to bottom right, #f39921, #e08349, #d79139, #ddae4c, #f6b462); /* 斜めのグラデーション */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.company__right {
    text-align: right;
}

.company__image {
    width: 40%;
    margin-left: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company__image img {
    border-radius: 10px;
    width: 500px;
    height: 400px;
}

.company_text_content p {
    text-wrap: balance;
    color: #ffffff;
}

/* SERVICE */

#service {
    background-color: #FFFFFF;
    padding-top: 5%;
}

.service__container {
    margin-bottom: 5%;
}

.service__content {
    display: flex;
    justify-content: center;
    padding-top: 5%;
}

.video__content {
    position: relative;
    display: block;
    text-align: center; /* テキストを中央揃えにする */
}

.video__content h2{
    display: none;
}

.video__content a {
    text-decoration: none;
    color: #333333;
}

.video__content video {
    border-radius: 50%;
    width: 300px;
    height: 300px;
    transition: all cubic-bezier(.73,0,.83,1)  .5s;    
}

.video__content:hover video {
    filter: grayscale(100%);
}

.video__content:hover::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 50px;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 2;
    opacity: 0;
    transition: all cubic-bezier(.73,0,.83,1)  .5s;    
    border-radius: 30px;
}

.video__content:hover h2 {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #0459A0;
    font-size: 20px;
    z-index: 3;
    opacity: 0;
    transition: all cubic-bezier(.73,0,.83,1)  .5s;    
}

.video__content:hover:before,
.video__content:hover h2 {
    opacity: 1;
    transition: all cubic-bezier(.73,0,.83,1)  .5s;    
}

.logo__image__product, .web__system {
    padding-left: 5%;
}

.image__open__close {
    width: 245px;
    height: 245px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0;
    transition: all cubic-bezier(.73,0,.83,1)  .5s;
    transform: scale(0.5);
}
/* contact */

#contact {
    background-image: url(../images//telephone.webp);
    background-size: cover;
    background-attachment: fixed; 
}

.contact__container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 0;
}

.contact__content {
    padding-right: 50px;
    width: 30%;
    text-align: right;
}

.contact__link {
    text-align: left;
}

.contact__link button a {
    padding: 15px 50px 15px 50px;
}

.contact__link button a::before{
    background: linear-gradient(to bottom right, #f39921, #e08349, #d79139, #ddae4c, #f6b462); /* 斜めのグラデーション */
}

.contact__text__box {
    padding-left: 50px;
    width:30%;
    text-align: left;
}

.contact__text  {
    padding-top: 30px;
    text-wrap: balance;
    color: #ffffff;
}

.contact__text__box h1 {
    background: linear-gradient(to bottom right, #f39921, #e08349, #d79139, #ddae4c, #f6b462); /* 斜めのグラデーション */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media screen and (max-width: 960px) {
    .news__container {
        display: block;
    }

    .news__lists  {
        width: 100%;
        padding: 0 0 50px 0;
    }

    #company {
        margin-top: 5%;
    }

    .company__container {
        flex-direction: column-reverse;
    }
    .company__image {
        margin-left: 0;
        width: 100%;
        padding: 50px 10px 50px 10px;
    }

    .company__text__box {
        margin-right: 0;
        width: 100%;
        padding: 50px 10px 50px 10px;
    }

    .company__right {
        text-align: center;
    }

    .service__container {
        margin-top: 50px;
    }

    .service__content {
        flex-direction: column;
        align-items: center;
    }

    .logo__image__product, .web__system {
        padding-left: 0;
    }

    .video__content h2{
        text-align: center;
        padding: 20px 0 50px 0;
        display: block;
    }

    .contact__content {
        display: none;
    }

    .contact__text__box {
        width: 100%;
        padding-left: 0;
    }

    .contact__container {
        padding-right: 5%;
        padding-left: 5%;
    }
}






