/*
Theme Name: psimple
*/

@charset "UTF-8";

/** slider **/
#slider .anime{
    width: 100%;
    height: 60vh;
    margin: 0 20px;
    max-height: 600px;
}

#slider .anime.active{
    display: block;
}

#slider .anime1{
    background-image: url(./../img/top/top_slide_1.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#slider .anime2{
    background-image: url(./../img/top/top_slide_2.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#slider .anime3{
    background-image: url(./../img/top/top_slide_3.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#slider .slick-next{
    right: 100px;
}

#slider .slick-prev{
    left: 70px;
    z-index: 1;
}

#slider .slick-next::before,
#slider .slick-prev::before{
    content: '';
    width: 30px;
    height: 40px;
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
}

#slider .slick-next::before{
    background-image: url(./../img/top/slider-arrow.png);
}

#slider .slick-prev::before{
    background-image: url(./../img/top/slider-arrow.png);
    transform: rotate(180deg);
}

@media screen and (max-width: 768px){
    #slider .anime{
        margin: 0 10px;
    }

    #slider .slick-next{
        right: 16px;
    }
    
    #slider .slick-prev{
        left: -4px;
    }
    
    #slider .slick-next::before,
    #slider .slick-prev::before{
        width: 20px;
        height: 30px;
    }
}

#top-page h1{
    color: #00591c;
    font-size: 4.0rem;
    margin-bottom: 70px;
}

#top-page h1 span{
    display: inline-block;
    position: relative;
}

#top-page h1 span::before{
    content: '';
    position: absolute;
    width: 40px;
    height: 6px;
    background-color: #231815;
    left: 50%;
    transform: translateX(-50%);
    bottom: -20px;
}

#top-page h1 span::after{
    position: absolute;
    width: max-content;
    height: auto;
    left: 50%;
    transform: translateX(-50%);
    bottom: -50px;
    font-size: 1.6rem;
    color: #000000;
    letter-spacing: 0.5em;
}

#top-page h1 span.introduction::after{
    content: '財産区紹介';
}

#top-page h1 span.public-duty::after{
    content: '事業紹介';
}

#top-page h1 span.news::after{
    content: 'お知らせ';
}

#top-page h1 span.faq::after{
    content: 'よくある質問';
}

#top-page h2{
    font-size: 4.6rem;
}

@media screen and (max-width: 768px){
    #top-page h1{
        font-size: 2.4rem;
    }
           
    #top-page h1 span::after{
        font-size: 1.4rem;
    }

    #top-page h2{
        font-size: 2.6rem;
    }
}

/*** basics ***/
#basics .dp-flex{
    flex-wrap: nowrap;
}

#basics .left__box{
    width: 43%;
}

#basics .right__box{
    border-radius: 10px;
    width: 40%;
    background-image: url(./../img/top/basics.png);
    background-repeat: no-repeat;
    background-position: center;
    height: 500px;
}

@media screen and (max-width: 768px){
    #basics h1{
        text-align: center;
    }

    #basics .dp-flex{
        flex-direction: column;
    }
    
    #basics .left__box{
        width: 100%;
    }
    
    #basics .right__box{
        width: 100%;
        height: 350px;
    }
}

/** introduction **/
#introduction{
    padding-bottom: 150px;
}

#introduction .bg-image{
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60%;
    left: 0;
    background-image: url(./../img/top/introduction-bg.png);
    background-repeat: no-repeat;
    background-position: center;
}

#introduction .dp-flex{
    padding-top: 20px;
}

#introduction .box{
    border-radius: 20px;
    width: 30%;
    height: 350px;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    background-position: center;
}

#introduction .box::before{
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: #ffffff;
    width: 100%;
    height: 100px;
    z-index: 8;
    border-radius: 0 0 20px 20px;
}

#introduction .box .text{
    position: absolute;
    bottom: 38px;
    font-size: 2.0rem;
    left: 50%;
    transform: translateX(-50%);
    color: #00591c;
    z-index: 9;
}

#introduction .left__box{
    background-image: url(./../img/top/manager.png);
}

#introduction .center__box{
    background-image: url(./../img/top/management-policy.png);
}

#introduction .right__box{
    background-image: url(./../img/top/member.png);
}

@media screen and (max-width: 768px){
    #introduction{
        padding-bottom: 50px;
    }
    
    #introduction .bg-image{
        height: 80%;
        background-size: cover;
    }

    #introduction .dp-flex{
        flex-direction: column;
        padding-top: 0;
        align-items: center;
    }
    
    #introduction .box{
        width: 50%;
        min-width: 250px;
        height: 300px;
        margin: 10px 0;
    }
    
    #introduction .box::before{
        height: 70px;
    }
    
    #introduction .box .text{
        bottom: 22px;
        font-size: 1.4rem;
    }
}

/** public-duty **/
#public-duty{
    padding-bottom: 50px;
}

#public-duty .bg-image{
    position: absolute;
    top: 20px;
    height: 100%;
    width: 95%;
    left: 0;
    border-radius: 0 10px 10px 0;
    z-index: -1;
}

#public-duty .box{
    margin-bottom: 50px;
    padding-top: 20px;
}

#public-duty .box .left__box{
    width: 55%;
    height: 400px;
    background-repeat: no-repeat;
    background-size: cover;
}

#public-duty .business .left__box{
    background-image: url(./../img/top/business.png);
    border-radius: 0 10px 10px 0;
}

#public-duty .facility{
    flex-direction: row-reverse;
}

#public-duty .facility .left__box{
    background-image: url(./../img/top/facility.png);
    border-radius: 10px 0 0 10px;
}

#public-duty .box .right__box{
    flex: 1;
    margin-right: 10%;
    margin-left: 30px;
}

@media screen and (max-width: 768px){
    #public-duty{
        padding-bottom: 10px;
    }
    
    #public-duty .box{
        margin-bottom: 30px;
        padding-top: 0;
    }
    
    #public-duty .box .left__box{
        width: 70%;
        height: 300px;
    }
        
    #public-duty .box .right__box{
        flex: unset;
        width: 90%;
        margin: 0 auto;
        padding-top: 20px;
    }
}

/** news **/
#news h1{
    text-align: center;
}

#news .com-button{
    margin: 0 auto;
}

#news .box .left__box{
    width: 400px;
}

#news .box .right__box{
    flex: 1;
    margin-left: 30px;
}

#news .box .right__box .news__box{
    position: relative;
    padding: 10px 0;
    border-bottom: 1px solid #000000;
}

#news .box .right__box .news-date{
    font-size: 1.4rem;
}

#news .box .right__box .news__box::after{
    content: '';
    position: absolute;
    background-image: url(./../img/top/news-arrow.png);
    width: 24px;
    height: 24px;
    right: 0;
    top: 60%;
    transform: translateY(-50%);
    background-repeat: no-repeat;
    background-size: cover;
}

@media screen and (max-width: 768px){
    #news .dp-flex{
        flex-direction: column;    
    }

    #news .box .left__box{
        width: 100%;
    }
    
    #news .box .right__box{
        flex: unset;
        margin-left: 0;
        width: 100%;
    }
           
    #news .box .right__box .news__box::after{
        width: 18px;
        height: 18px;
    }

    #news .com-button{
        margin: 0 auto 30px auto;
    }
}

/** faq **/
#faq{
    padding: 70px 0;
    margin-bottom: 0;
}

#faq .bg-image{
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 0;
    width: 30%;
    height: 100%;
    background-position: center;
}

#faq .bg-image.right{
    background-image: url(./../img/top/faq-bg-right.png);
    right: 0;
}

#faq .bg-image.left{
    background-image: url(./../img/top/faq-bg-left.png);
    left: 0;
    background-position: left;
}

#faq .com-button{
    margin: 20px auto 0 auto;
}

@media screen and (max-width: 768px){
    #faq .bg-image{
        width: 50%;
    }

    #faq .bg-image.left{
        background-position: 22%;
    }

    #faq p,#faq a{
        background-color: rgba(255,255,255,0.7);
        padding: 4px;
    }
}

/** information **/
#information .information__container{
    width: 85%;
    margin: 100px auto;
}

#information .information-box li{
    position: relative;
    width: 47%;
    margin: 50px 0;
    border-bottom: 1px solid #70707080;
}

#information .information-box li::before{
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    background-color: #707070;
    transition: .3s ease-in-out;
}

#information .information-box li::after{
    content: '';
    position: absolute;
    top: 50%;
    right: 20px;
    width: 10px;
    height: 10px;
    background-color: #707070;
    border-radius: 50%;
    transform: translateY(-50%);
    transition: .3s ease-in-out;
}

#information .information-box li a{
    font-size: 2.4rem;
    transition: .3s ease-in-out;
    padding: 60px 0;
    display: block;
}

#information .information-box li a:after{
    content: '';
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    top: -50px;
    right: -50px;
    width: 180px;
    height: 180px;
    transition: .5s ease-in-out;
    opacity: 0;
    border-radius: 10px;
}

#information .information-box .information-effort a:after{
    background-image: url(./../img/chiiki.jpg);
}

#information .information-box .information-company a:after{
    background-image: url(./../img/TSbuil.jpg);
}

#information .information-box .information-tenant a:after{
    background-image: url(./../img/tenant.jpg);
}

#information .information-box .information-resident a:after{
    background-image: url(./../img/juukyo.jpg);
}

@media (hover: hover){
    #information .information-box li:hover:before{
        width: 100%;
    }

    #information .information-box li:hover:after{
        background-color: #000000;
    }
    
    #information .information-box li a:hover{
        padding-left: 20px;
    }

    #information .information-box li a:hover:after{
        right: 0;
        top: 0;
        opacity: 1;
    }
}


@media screen and (max-width: 768px){
    /** top-image **/
    #top-image{
        padding: 0 0 20px 0;
    }

    #top-image{
        padding: 20px 0;
    }

    #top-image .common-main-img__block.top-image{
        height: 160px;
    }

    /* .slick-slider .slick-track{
        height: 120px;
    }

    .slick-slider .slick-track li:before{
        height: 10px;
    } */

    /* .slick-slider .slick-track li:after{
        height: 10px;
    } */

    .anime:before{
        height: 10px;
    }

    .anime:after{
        height: 10px;
    }

    #top-image .top-image__container .left__block{
        height: 120px;
        width: 40%;
        align-self: center;
    }

    #top-image .top-image__container .right__block{
        width: 60%;
        padding: 0 6px;
        height: 160px;
    }

    /** news **/
    #news .news-caption__box{
        padding: 10px 0;
    }

    #news .news-caption__box .news-caption{
        margin: 0 auto;
        width: 90px;
    }

    #news p{
        font-size: 1.4rem;
    }

    #news .news__container{
        padding: 10px;
    }

    #news .news__container .news__box{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    #news .box-1{
        width: 100%;
        font-size: 1.2rem;
        order: 2;
    }

    #news .box-1 p{
        display: inline-block;
        padding-bottom: 10px;
    }

    #news .box-1 .news-category{
        padding: 2px 10px;
        margin: 0 10px;
    }

    #news .box-3{
        order: 1;
        margin-bottom: 20px;
    }

    #news .box-4{
        width: 100%;
        padding: 0;
        order: 3;
    }

    #news .box-4 .news-title{
        font-size: 1.8rem;
        padding-bottom: 20px;
    }

    #news .news__container .view-more{
        padding: 10px 60px 10px 0;
        font-size: 1.4rem;
    }

    #news .news__container .view-more::after{
        width: 50px;
        height: 10px;
        bottom: 20px;
        right: 13px;
    }

    /** information **/
    #information .information__container{
        margin: 50px auto;
    }

    #information .information-box{
        flex-direction: column;
    }

    #information .information-box li{
        width: 100%;
        margin: 20px 0;
    }

    #information .information-box li a{
        font-size: 2.0rem;
        padding: 30px 0;
    }

    #information .information-box li a:after{
        display: none;
    }
}



