
html,body{
    overflow-x: hidden;
}
.container{
    color: #333333;
    font-size: 16px;
    line-height: 28px;

}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }

section.residence-top-slider-section
,section.residence-top-about-section
,section.residence-top-newly-section
,section.residence-top-build-section{
    font-family: 'Hiragino Kaku Gothic Pro W3', 'ヒラギノ角ゴ Pro W3', 'Yu Gothic Medium', '游ゴシック Medium', 'Arial', 'メイリオ', Meiryo, sans-serif;
}


.residence-top-slider-section-slider {
    position: relative;
    width: 100%;
    height: calc(100vh - 90px);
    overflow: hidden;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.slide {
    width: 100vw;
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.3);
    overflow:hidden;
    transform-origin: center center;
    transition: opacity 1s ease-in-out;
    will-change: transform, opacity;
    filter: brightness(0.7);
}

.residence-top-slider-section-scroll{
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 10;
}

.residence-top-slider-section-title{
    position: absolute;
    top: 30px;
    left: 20px;
    z-index: 10;
}

.residence-top-slider-section-paragraph{
    margin-bottom: 40px;
    padding: 40px 20px 80px;
    color: #fff;
    background-color: #6D6966;
    font-size: 16px;
    font-weight: bold;
    line-height: 36px;
}

.residence-top-about-section{
    margin: 40px 0;
    padding: 0 20px;
}

.residence-top-about-section-list > li{
    margin-bottom: 40px;
}

.residence-top-about-section-title{
    margin-bottom: 40px;
}

.residence-top-about-section-list-img{
    display: block;
    width: 100%;
    height: auto;
    max-width: 640px;
    margin: 0 auto 20px;
}

.residence-top-about-section-list-title{
    margin-bottom: 10px;
    font-weight: bold;
}

.residence-top-newly-section{
    margin-bottom: 40px;
    padding: 40px 20px 80px;
    background-color: #6D6966;
}

.residence-top-newly-section-title{
    margin-bottom: 40px;
}

.residence-top-newly-section-link{
    display: inline-block;
    width: 100%;
    margin-bottom: 40px;
}

.residence-top-newly-section-link-img{
    width: 100%;
    height: auto;
    max-width: 497px;
    display: block;
    margin: 0 auto;
}

.residence-top-newly-section-article-description{
    color: #fff;
    margin-bottom: 40px;
}

.residence-top-newly-section-article-description-title{
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: bold;
}

.residence-top-newly-section-article-description-station{
    display: inline-block;
    margin: 0 0 20px 20px;
    position: relative;
    font-weight: bold;
}

.residence-top-newly-section-article-description-station::before{
    content: "";
    position: absolute;
    top: 3px;
    left: -15px;
    display: block;
    width: 4px;
    height: 21px;
}

.residence-top-newly-section-article-description-dl{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.residence-top-newly-section-article-description-dl > dt{
    width: 140px;
}

.residence-top-newly-section-article-description-dl > dd{
    width: calc(100% - 140px);
}

.residence-top-newly-section-article-note{
    margin-bottom: 40px;
}

.residence-top-newly-section-article-note-title{
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 20px;
    text-align: center;
    font-weight: bold;
    color: #fff;
}

.residence-top-newly-section-article-note-title::before,
.residence-top-newly-section-article-note-title::after{
    content: "";
    flex-grow: 1;
    height: 1px;
    background-color: #fff;
}

.residence-top-newly-section-article-note-title::before{
    margin: 0 10px 0 0;
}

.residence-top-newly-section-article-note-title::after{
    margin: 0 0 0 10px;
}

.residence-top-newly-section-article-note-paragraph{
    color: #fff;
}

.residence-top-newly-section-article-note-button{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    max-width: 320px;
    height: 55px;
    margin: 0 auto;
    padding: 3px 2vw;
    position: relative;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.2;
    text-align: left;
    border: none;
    color: #6D6966;
    background-color: #fff;
    appearance: none;
    cursor: pointer;
    border-radius: 28px;
}

.residence-top-newly-section-article-note-button-img{
    position: absolute;
    right: 20px;
}
.residence-top-build-section{
    padding: 40px 20px 80px;
}

.residence-top-build-section-title{
    width: 100%;
    margin-bottom: 40px;
}
.residence-top-build-section-ul{
    width: fit-content;
    margin: 0 auto;
}
.residence-top-build-section-ul > li{
    margin-bottom: 20px;
    position: relative;
}

.residence-top-build-section-ul > li.close{
    display: none;
}

.residence-top-build-section-ul-img{
    display: block;
    width: 100%;
    height: auto;
    max-width: 320px;
    margin: 0 auto;
    filter: brightness(0.7);
}

.residence-top-build-section-ul-paragraph{
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 20px;
    bottom: 15px;
    color: #fff;
}

.residence-top-build-section-ul-madori{
    position: absolute;
    color: #fff;
    top: 11px;
    right: 10px;
    font-weight: bold;
}

.residence-top-build-section-ul-madori > span{
    border: 1px solid #fff;
    padding: 0 5px;
}

.residence-top-build-section-ul-madori > span:not(:last-of-type){
    margin-right: 5px;
}


.residence-top-build-section-ul-span{
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: bold;
}

.residence-top-build-section-ul-station{
    position: relative;
    margin-left: 15px;
    font-size: 16px;
    font-weight: bold;
}

.residence-top-build-section-ul-station::before{
    content: "";
    position: absolute;
    top: 3px;
    left: -15px;
    display: block;
    width: 4px;
    height: 21px;
}

.nanboku.residence-top-newly-section-article-description-station::before,
.nanboku.residence-top-build-section-ul-station::before{
    background-color: #00976A;
}

.tozai.residence-top-newly-section-article-description-station::before,
.tozai.residence-top-build-section-ul-station::before{
    background-color: #FF8000;
}

.toho.residence-top-newly-section-article-description-station::before,
.toho.residence-top-build-section-ul-station::before{
    background-color: #0080C7;
}

.shiden.residence-top-newly-section-article-description-station::before,
.shiden.residence-top-build-section-ul-station::before{
    background-color: #999999;
}

.residence-top-build-section-button{
    display: block;
    margin: 0 auto;
    position: relative;
    background: transparent;
    border: none;
    font-size: 16px;
    font-weight: bold;
    font-family: 'Hiragino Kaku Gothic Pro W3', 'ヒラギノ角ゴ Pro W3', 'Yu Gothic Medium', '游ゴシック Medium', 'Arial', 'メイリオ', Meiryo, sans-serif;
}

.residence-top-build-section-button.open{
    margin-top: 40px;
}

.residence-top-build-section-button::after{
    position: absolute;
    top: 110%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%) rotate(135deg);
    content: "";
    display: block;
    width: 9px;
    height: 9px;
    border-top: 2px solid #333333;
    border-right: 2px solid #333333;
}

.residence-top-build-section-button.open::after{
    top: -20%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%) rotate(-45deg);
}

@media screen and (min-width: 1025px) {

    .residence-top-slider-section-scroll{
        right:calc((100vw - 1200px)/2 - 100px);
    }

    .residence-top-slider-section-slider {
        height: calc(100vh - 167px);
    }

    .residence-top-slider-section-title{
        left: calc((100vw - 1200px)/2 + 100px);
    }

    .residence-top-slider-section-paragraph {
        margin-bottom: 80px;
        padding: 40px calc((100vw - 1200px)/2 + 100px) 80px;
        font-size: 20px;
        line-height: 40px;
    }

    .residence-top-about-section {
        width: 1200px;
        margin: 40px auto 80px;
        padding: 0 100px;
        box-sizing: border-box;
    }

    .residence-top-about-section-list-img {
        width: 440px;
        height: auto;
        margin-right: 40px;
        margin-bottom: 40px;
    }
    .residence-top-about-section-list > li {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        height: 250px;
    }

    .residence-top-about-section-list-title{
        width: 520px;
        margin-bottom: 20px;
    }

    .residence-top-about-section-paragraph{
        width: 520px;
    }

    .residence-top-newly-section{
        width: 100%;
        margin: 40px auto 40px;
        padding: 40px calc((100vw - 1200px) / 2 + 100px)  80px;
        box-sizing: border-box;
    }

    .residence-top-newly-section-link {
        display: inline-block;
        width: 500px;
        margin: 0 80px 0 0;
    }

    .residence-top-newly-section-pc-wrapper{
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        width: 100%;
        height: 330px;
        margin-bottom: 80px;
    }

    .residence-top-build-section {
        width: 1200px;
        padding: 0 100px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .residence-top-build-section-ul{
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        margin-bottom: 40px;
    }

    .residence-top-build-section-ul > li {
        width: 320px;
        margin: 0;
        position: relative;
    }

    .smp{
        display: none;
    }


}

@media screen and (max-width: 1025px) {
    .pc{
        display: none;
    }
}

