@charset "UTF-8";

.mainvisual {
    height: 600px;
    margin-bottom: 120px;
    position: relative;
}

.mainvisual .fade-img img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.mainvisual .fade-img li {
    width: 70%;
    position: absolute;
    right: 0;
    opacity: 0;
    animation: fade 15s infinite;
}

.mainvisual .fade-img li:nth-child(1) {
    animation-delay: 0s;
}

.mainvisual .fade-img li:nth-child(2) {
    animation-delay: 5s;
}

.mainvisual .fade-img li:nth-child(3) {
    animation-delay: 10s;
}

@keyframes fade {
    0% {
        opacity: 0;
    }
    15%{
        opacity: 1;
    }
    30%{
        opacity: 1;
    }
    45%{
        opacity: 0;
    }
    100%{
        opacity: 0;
    }
}

.mainvisual .catch {
    font-family: 'Zen Old Mincho', serif;
    font-size: 48px;
    text-shadow: 1px 1px 3px #fff;
    position: absolute;
    top: 190px;
    left: 3%;
  }

.sectiontitle {
    color: #202872;
    font-size: clamp(50px,7vw,50px);
    font-weight: 700;
    letter-spacing: 0.05em;
}

.construction {
    margin-bottom: 120px;
}

.construction .sectiontitle {
    margin: 0 0 -3vw 4vw;
    position: relative;
}

.construction .flex {
    display: flex;
    align-items: center;
    margin-top: 40px;
}

.construction .flex .img {
    width: 65%;
}

.construction .flex .img img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.construction .flex .text {
    width: 35%;
    background-color: #fff;
    padding: 5% 2% 5% 2%;
}

.construction .flex .text2 {
    width: 35%;
    background-color: #fff;
    padding: 5% 2% 5% 2%;
    text-align: right;
    
}

.construction .flex .title {
    font-family: 'Zen Old Mincho',serif;
    font-size: 25px;
    margin-bottom: 40px;
}

.construction .text .description {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 40px;
}


.construction .text2 .description {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 40px;
}



.works  {
    display: flex;
    justify-content: space-between;
    margin-bottom: 100px;
    position: relative;
}

.works::after   {
    content: "";
    width: 100%;
    height: 96%;
    min-height: 420px;
    background-color: #fafafa;
    display: block;
    position: absolute;
    top: 6vw;
    left: 0;
    z-index: -10;
}

.works .text    {
    padding: 0 6% 0 4%;
}

.works .text .description   {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
    margin-top: 30px;
}

.works .text .btn   {
    margin-top: 30px;
}

.works .workslist   {
    max-width: 1000px;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 5px;
    margin-top: 110px;
}

.works .workslist li    {
    max-width: 500px;
}

.achievements   {
    display: flex;
    justify-content: space-between;
    padding: 0 5% 80px;
}

.achievements .item {
    width: 48%;
    position: relative;
}

.achievements .item::before {
    content: "";
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,rgba(0,0,0,0)50%,rgba(0,0,0,0)50%,rgba(255,255,255,1));
    position: absolute;
    top: 0;
    left: 0;
}

.achievements .item .title   {
    color: #202872;
    position: absolute;
    left: 25px;
    bottom: 20px;
}

.achievements .item .title .en  {
    display: block;
    font-size: 3vw;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.achievements .item .title .ja  {
    display: block;
    font-size: 18px;
}

#footer{
    background-color: #202872;
    color: #FFF;
    padding: 50px 5%;
}


@media screen and (max-width:1024px) {
    .mainvisual {
        height: 400px;
        margin-bottom: 60px;
    }

    .mainvisual .fade-img img {
        height: 400px;
    }
    .mainvisual .fade-img li {
        width: 100%;
    }
    
    .mainvisual .catch {
        color: #fff;
        text-shadow: 1px 1px 1px #777;
        font-size: 28px;
        top: 300px;
        left: 6%;
    }

    .construction .text .description {
        font-size: 20px;
    }

    .construction .text2 .description {
        font-size: 20px;
    }

    #header .navi .menu {
        font-size: 22px;
    }

    .works .text .description   {
    font-size: 20px;
    }

    .works .workslist   {
    max-width: 1000px;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 5px;
    margin-top: 80px;
}


}