.bg{
        background: #f1efe4;

}

/** メインビジュアル **/
.visual{
    margin-bottom: 10px;
    height: 100svh;
}
.visual .imgBox{
    position: fixed;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
}
.visual .imgBox img{
    object-fit: cover;
    object-position: 50% 50%;
    width: 100%;
    height: 100vh;
}
.visual .letterBox{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: #fff;
    width: 100%;
    text-shadow: #000 1px 0 10px;
}
.visual .letterBox .message{
    font-size: 42px;
    letter-spacing: 1px;
}
.visual .letterBox h1{
    font-size: 36px;
    margin-bottom: 20px;
}
.visual .letterBox p{
    font-size: 18px;
}
@media screen and (max-width: 500px) {
    .visual .letterBox .message{
        font-size: 38px;
    }
    .visual .letterBox h1 {
        font-size: 30px
    }
}



/** 施工事例 **/
.works{
    padding-top: 30px;
    padding-bottom: 160px;
}
.works .wrapper{
    padding-left: 0;
    padding-right: 0;
}
.works ul{
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
    padding-left: 30px;
    padding-right: 30px;
    box-sizing: border-box;
}
.works ul li{
    width: calc((100% - 30px) / 2);
    overflow: hidden;
    aspect-ratio: 4 / 5;
}
.works ul li a:hover{
    opacity: .6;
}
.works ul li img{
    object-fit: cover;
    object-position: 50% 50%;
    width: 100%;
    height: 100%;
}
.works  a .wrapLink{
    display: flex;
    gap: 4px;
    align-items: center;
    justify-content: center;
}
.works  a .wrapLink svg{
    width: 18px;
    position: relative;
    top: 1px;
}
.works  a:hover .wrapLink svg{
    fill: #fff;
    transition: .3s;
}
.works .btn-more{
    padding: 8px 0 14px;
    width: 200px;
    margin-top: 0;
}
.works .btnArea{
    margin-top: 40px;
}

/** ストーリー **/
.story {
    padding-bottom: 160px;
}
.story .storyMain{
    display: flex;
    gap: 30px;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 20px;
    width: 80%;
}
.story .storyMain .imgBox{
    overflow: hidden;
    aspect-ratio: 16 / 9;
}
.story .storyMain .imgBox img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.story .letterBox{
    writing-mode: vertical-rl;
    text-orientation: upright;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 80px;
}

.story .letterBox h2{
    font-size: 40px;
    margin-left: 10px;
}
.story .letterBox p{
    margin-top: 10px;
    line-height: 1.8rem;
}
@media screen and (min-width: 1501px) {
.story .storyMain{
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    margin-bottom: 30px;
}
.story .letterBox{
    padding: 0 40px;
}
}

@media screen and (max-width: 1500px) {
    .story .storyMain{
        width: unset;
        gap: 0;
    }
    .story .storyMain .imgBox{
        aspect-ratio: 5 / 4;
        width: 60%;
    }
}
@media screen and (max-width: 960px) {
    .story .storyMain{
        gap: 30px;
    }
    .story .storyMain .imgBox{
        width: 500px;
        height: 500px;
    }
    .story .storyMain .letterBox{
        padding: 0;
        padding-right: 30px;

    }
}
@media screen and (max-width: 500px) {
    .story .storyMain .imgBox{
        height: 390px;
    }
    .story .storyMain .imgBox img{
        object-position: right 35% bottom 0;
    }
    .story .storyMain{
        align-items: flex-start;
    }
    .story .letterBox h2{
        font-size: 32px;
    }
    .story .letterBox p {
        font-size: 15px;
    }
}


/** メニューリスト **/
.menuList .wrapper{
    width: 100%;
    max-width: 600px;
    margin-right: auto;
    margin-left: auto;
    box-sizing: border-box;
    position: relative;
    padding-bottom: 80px;
}
.menuList a{
    display: flex;
    width: 100%;
    box-sizing: border-box;
    padding: 40px 20px;
    color: #000;
    font-size: 24px;
    border-bottom: 1px solid #000;
    position: relative;
}
.menuList li:first-child a{
    border-top: 1px solid #000;
}
.menuList a::before{
    content: "";
    width: 40px;
    height: 40px;
    background-color: #e3e1cf;
    border-radius: 50%;
    position: absolute;
    right: 50px;
    top: calc(50% - 18px);
    transition: 0.3s;
}
.menuList a svg{
    position: absolute;
    right: 10px;
    top: calc(50% - 6px);
    transition: 0.3s;
}
.menuList a:hover::before{
    transform: scale(1.5);
}
.menuList a:hover svg{
    right: -10px;
}

@media screen and (max-width: 500px) {
    .menuList{
        margin-bottom: 0;
    }
    .menuList a {
    padding: 20px;
    }
    .menuList li:first-child a{
        border-top: none;
    }
    .menuList li:last-child a{
        border-bottom: none;
    }
    .menuList a::before{
        right: 70px;
    }
    .menuList a svg{
        right: 30px;
    }
    .menuList a:hover svg{
    right: 10px;
}
}
