@charset "utf-8";

.first-view{
    height: calc(100vh - 110px);
    background-image: url(../images/index/main-4.jpeg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    display: flex;
    align-items: center;
}

.first-view-text{
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 40px;
    padding-bottom: 80px;
    color: #ffffff;
    font-weight: bold;
    text-shadow: 3px 3px 10px #39200c;
}

.first-view-text h1{
    font-size: 56px;
    line-height: 72px;
}

.first-view-text p{
    font-size: 18px;
    margin-top:  20px;
}

.lead {
    max-width: 1200px;
    margin: 60px auto;
}

.lead p {
    line-height: 2;
    text-align: center;
}

.link-button-area {
    text-align: center;
    margin-top: 40px;
}


.site-menu a{
    font-size: 18px;
}

.about{
    padding:80px 40px;
}

.section-inner{
    max-width:1100px;
    margin: 0 auto;
}

.section-title{
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
font-size:36px;
color:#50b5a5;
letter-spacing:3px;
}

.section-title p{
    font-size: 14px;
    margin-top: 10px;
}

.section-content {
    display: flex;
    flex-direction: row-reverse;
    align-items:center;
    gap: 60px;
}

.section-image{
    width:35%;
}

.section-image img{
    width:100%;
    height: 35%;
    object-fit: cover;
}

.section-text{
flex: 1;
}

.section-text h3{
    font-size:24px;
    margin-bottom: 25px;
}

.section-text p {
    font-size: 16px;
    margin-bottom:25px;
    line-height: 2;
    margin-bottom: 30px;
}

.section-text p{
    display:inline-block;
    margin-top: 25px;
    color:#333;
    text-decoration: none;
}

.reverse {
    flex-direction: row-reverse;
}

.works .section-content{
    margin-bottom: 50px;
}

.works-list{
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top:50px;
}

.section-text p{
    display:inline-block;
    margin-top: 25px;
    color:#333;
    text-decoration: none;
}

.works-item{
    width:33%;
}

.works-item img{
    width: 100%;
    aspect-ratio:4/3;
    object-fit:cover;
}

.works-item h4{
    font-size: 18px;
    margin-top:10px;
    color:#333;
}

.works-item p{
font-size:14px;
margin-top:10px;
color:#777;
}

.works-button{
    text-align: center;
    margin-top: 50px;
}

.works-button a{
    display: inline-block;
    padding: 14px 40px;
    background-color:#50b5a5;
    color:#fff;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
}

.works .section-inner{
    max-width: 1200px;
    margin: 0 auto;
}

.works .section-title{
    text-align: center;
    margin-bottom: 50px;
}

.works .section-title h4{
    font-size: 36px;
    color: #50b5a5;
    letter-spacing: 3px;
}

.works .section-content{
    display:flex;
    flex-direction: row;
    justify-content: center;
    align-items:flex-start;
    gap: 30px;
}

.works-item{
    width: 30%;
    text-align:center;
}

.works .works-item img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

.works .works-item p{
    margin-top: 15px;
    font-size:16px;
    text-align: left;
}


.header-inner{
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width:1200px;
    margin:0 auto;
    padding: 10px 40px;
}

.header-logo{
    width: 100px;
    height: auto;
}

.header-site-menu{
    margin-left: auto;
}

.site-menu ul{
    display: flex;
    align-items:center;
    justify-content: flex-end;
    gap: 35px;
    margin: 0;
    padding:0;
    list-style: none;
}

.header .header-inner{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 10px 40px;
    box-sizing: border-box;
}

.header .header-logo{
    width: 120px !important;
    height: auto !important;
}

.header .header-site-menu{
    margin-left: auto;
}

.header .header-site-menu .site-menu ul{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 40px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header .header-site-menu .site-menu ul li a{
    font-size: 24px !important;
    position: relative;
    top: 5px;
}


@media(max-width:768px){

    .about.works {
        padding: 50px 20px;
    }

    .section-content{
        flex-direction: column;
        gap:25px;
    }

    .section-image{
        width:100%;
    }

    .section-image img{
        height:auto;
    }

    .section-text{
        width:100%;
    }

    .works{
        padding: 50px 20px;
    }

    .works-list{
            flex-direction: column;
            gap: 40px;
    }

    .works-item{
        width: 100%;
    }

    .header-logo{
        width: 60px;
    }

    .works .section-content{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .works-item{
        width: 100%;
        margin-bottom: 30px;
    }
}
