@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Headland+One&display=swap');

/* ==================================================================
	modelhouse.css
	
=================================================================== */

/* --------------------------------
   □ general
-------------------------------- */ 
.contents{
	padding-bottom: 0;
}

.contents main .accentArea{
	background-image:url("../../images/modelhouse/tahi-comfy/accent.jpg");
}

.contents main .vertical{
	-webkit-writing-mode: vertical-rl;
	-ms-writing-mode: tb-rl;
	writing-mode: vertical-rl;
}

section#feature,
section#gallery,
section#access,
div.cvArea {
    padding: 80px 0;
    margin-bottom: 0;
}
section#feature {
    padding: 0 0 80px;
}

.tahi-comfy .contents main section h2.title {
    font-size: 1.5rem;
    text-align: left;
    margin-bottom: 52px;
    letter-spacing: 0.1em;
    text-align: left;
}
.tahi-comfy .contents main section h2.title span.en {
    font-family: 'Headland One', serif;
    font-size: 4rem;
    display: block;
    font-weight: normal;
    margin-bottom: 16px;
    text-align: left;
}

@media only screen and
    (max-width : 767px) {

        .contents main .accentArea h1 em.en {
            font-size: 3.8rem
        }

        section#feature,
        section#gallery,
        section#access {
            padding: 60px 0;
        }
        section#feature {
            padding: 20px 0 60px;
        }
        div.cvArea {
            padding: 60px 4%;
        }
        .tahi-comfy .contents main section h2.title span.en {
            font-size: 3.2rem;
        }
}


/*==========================
#accent
==========================*/
#accent {
    margin-top: 90px;
}
#accent h2 {
    text-align: center;
    margin-bottom: 32px;
}
#accent h2 span {
    font-size: 1.5rem;
    font-weight: normal;
    display: block;
    margin-bottom: 20px;
}

#accent p {
    text-align: center;
    line-height: 2;
}

#accent p em {
    font-size: 1.9rem;
}

#accent p.img {
    margin-top: 52px;
}

@media only screen and
    (max-width : 767px) {

        #accent {
            margin-top: 32px;
        }
        #accent h2 span {
            margin-bottom: 16px;
        }
        #accent p em {
            font-size: 1.7rem;
        }
        #accent h2 img {
            width: 52%;
        }
}

/*------------
.eventBnr
------------*/
.eventBnr {
    width: 600px;
    margin: 40px auto 0;
}
.eventBnr img {
    width: 100%;
}
@media only screen and
    (max-width : 767px) {

    .eventBnr {
        width: auto;
        margin: 0 auto 60px;
    }
}


/*------------
.point
------------*/
#accent .point {
    margin-top: 90px;
}
#accent .point ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
#accent .point ul li {
    width: 524px;
}
#accent .point ul li dd {
    padding: 32px 28px;
}
#accent .point ul li dd h3 {
    text-align: left;
    font-size: 1.9rem;
    margin-bottom: 24px;
}
#accent .point ul li dd p.txt {
    text-align: left;
    font-size: 1.5rem;
    line-height: 1.7;
}

@media only screen and
    (max-width : 767px) {

    #accent .point {
        margin-top: 60px;
    }
    #accent .point ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    #accent .point ul li {
        width: 100%;
    }
    #accent .point ul li dd {
        padding: 28px 20px 32px;
    }
    #accent .point ul li dd h3 {
        text-align: left;
        margin-bottom: 12px;
        line-height: 1.5;
    }
    #accent .point ul li dd p.txt {
        text-align: left;
        line-height: 1.7;
    }
}


/*==========================
#feature
==========================*/

#feature {
    z-index: 1;
    position: relative;
}
#feature:before {
    content: "";
    /*background: var(--bg-color-lightgray, #F3F3F3);*/
    width: 100%;
    height: 100%;
    background-size: cover;
    top: 0;
    left: 0;
    display: block;
    position: absolute;
}
#feature h2 {
    z-index: 2;
    position: relative;
}
#feature dl {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 40px;
    z-index: 2;
    position: relative;
}
#feature dl:last-child {
    margin-bottom: 0;
}
#feature dl dt {
    width: 246px;
    display: table;
    background: #222;
}
#feature dl dt p {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    color: #fff;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
}
#feature dl dt .en-hind {
    display: block;
    font-size: 2.8rem;
    font-weight: 500;
}
#feature dl dd {
    width: calc(100% - 246px);
    padding-left: 78px;
    box-sizing: border-box;
}
#feature dl dd li {
    margin-bottom: 20px;
    line-height: 1.7;
    position: relative;
}
#feature dl dd li:before {
    content: "";
    background: url(../../images/modelhouse/tahi-comfy/icon-check.svg);
    width: 15px;
    height: 12px;
    background-size: cover;
    top: 0.5em;
    left: -24px;
    display: block;
    position: absolute;
}
#feature dl dd li:last-child {
    margin-bottom: 0;
}

@media only screen and
    (max-width : 767px) {

    #feature {
        padding: 60px 0;
        z-index: 1;
        position: relative;
    }
    #feature:before {
        width: 100%;
    }
    #feature dl {
        display: block;
        margin-bottom: 40px;
    }
    #feature dl:last-child {
        margin-bottom: 0;
    }
    #feature dl dt {
        width: 100%;
        padding: 16px 0;
        margin-bottom: 20px;
    }
    #feature dl dt .en-hind {
        font-size: 2.2rem;
    }
    #feature dl dd {
        width: 100%;
        padding-left: 28px;
    }
    #feature dl dd li {
        margin-bottom: 16px;
    }

}


/*==========================
#gallery
==========================*/
#gallery {
	position:relative;
	overflow:hidden;
}

    #gallery h2,
	#gallery h2 span.en {
        text-align: center;
	}
	
	#gallery h3 span{
		display:block;
		margin-top:5px;
	}

#gallery ul.list{
	position:relative;
}



#gallery ul.list {
    width: 700px;
    margin: 0 auto;
}
#gallery ul.list li {
    margin-bottom: 32px;
}
#gallery ul.list li img {
    width: 100%;
}
#gallery ul.list li p {
    text-align: center;
    margin-top: 4px;
}

#gallery ul.images{
    display: none;
    opacity: 0;
	-webkit-animation-fill-mode:both;
	-ms-animation-fill-mode:both;
	animation-fill-mode:both;
	-webkit-animation-duration:1s;
	-ms-animation-duration:1s;
	animation-duration:1s;
	-webkit-animation-name: fadeInDown;
	animation-name: fadeInDown;
}

#gallery ul.images.slick-initialized {
    display: block;
    opacity: 1;
  }

#gallery .slick-list {
    position: relative;
    display: block;
    overflow: visible;
    margin: 0;
    padding: 0;
}
#gallery .slick-list img{
    max-width: 100%;
    height: auto;
}

@media only screen and
    (max-width : 767px) {
    #gallery ul.list{
        width: auto;
        margin: 20% auto 0;
    }
    #gallery ul.list li p {
        text-align: left;
    }
    #gallery .slick-list img{
        max-width: 95%;
        height: auto;
    }

    #gallery .arrows .slick-prev, #gallery .arrows .slick-next {
        width: 6%!important;
        top: 38%;
    }
    #gallery .arrows .slick-next {
        right: 0;
    }
    #gallery .arrows .slick-prev {
        left: 0;
    }
}

/*==========================
#access
==========================*/
#access {
	position:relative;
	overflow:hidden;
}
#access .container{
	text-align:center;
}
#access h2,
#access h2 span.en {
    text-align: center;
}
#access:before{
	content:"";
	position:absolute;
	height:530px;
	width:100%;
	top:0;
	left:0;
	background: var(--bg-color-lightgray, #F3F3F3);
	z-index:-1;
}
#access p.navbtn {
    text-align: center;
    margin-top: 40px;
}
#access p.navbtn a {
    width: auto;
}
#access dl.address{
	margin-top:35px;
	margin-bottom:20px;
	text-align:center;
}
	
	#access dl.address dt{
		font-size: 2rem;
		font-weight:700;
		margin-bottom:18px;
	}
	
	#access dl.address dd{
		line-height:2;
	}
    @media only screen and
        (max-width : 767px) {

            #access iframe {
                width:100%;
                height:445px;
            }
        
            #access .navbtn{
            }
            #access dl.address{
                margin-top:20px;
            }
            #access dl.address dt{
                font-weight:700;
                margin-bottom:12px;
            }
            #access dl.address dt a {
            }
                #access dl.address dd{
                    line-height: 1.7;
                }
    }
				
	
/*==========================
#cvArea
==========================*/
.cvArea {
    background: var(--bg-color-lightgray, #F3F3F3);
}
.cvArea p.txt {
    text-align: center;
    margin-bottom: 40px;
}
.cvArea ul {
    width: 1080px;
    margin: 0 auto;
    overflow: hidden;
}
.cvArea ul li.buttonStyle {
    display: block;
    width: 48%;
    margin-right: 4%;
    float: left;
}
.cvArea ul li.buttonStyle:last-child {
    margin-right: 0;
}
.cvArea ul li.buttonStyle a {
    width: 100%;
    padding: 28px 0!important;
    text-align: center;
}


@media only screen and
(max-width : 767px) {
    .cvArea p.txt {
        font-size: 1.5rem;
    }
    .cvArea ul {
        width: auto;
    }
    .cvArea ul li.buttonStyle {
        width: 100%;
        margin-right: 0;
        float: none;
        margin-bottom: 4%;
        text-align: center;
    }
    .cvArea ul li.buttonStyle:last-child {
        margin-bottom: 0;
    }
    .cvArea ul li.buttonStyle a {
        width: 100%;
        padding: 7% 0!important;
    }


}
