@charset "utf-8";

.eventlist {
    margin: 30px auto;
    width: calc(100% - 10px);
}

.newicon {
    font-family: "roboto";
    display: block;
    position: relative;
    font-size: 0.75rem;
    margin: 5px 0 5px auto;
    padding: 0 0;
    z-index: 2;
    width: 36px;
    text-align: center;
    color: #000;
    background: #ffff00;
	font-weight:400;
}

.newicon::after {
    content: '';
    position: absolute;
    left: 0;
    top: 100%;
    height: 0;
    width: 0;
    border-left: 18px solid #ffff00;
    border-right: 18px solid #ffff00;
    border-bottom: 5px solid transparent;
}

/* event */
.eventlist li {
    background: #f4f4f4;
    padding: 10px;
}

.eventlist li .photo {
    margin: -10px -10px 0;
}

.eventlist li .photo a{
	position: relative;
	margin: 0 auto;
}

.eventlist li .photo a:before{
	content: "";
	display: block;
	padding-top: 66.667%;
	background: linear-gradient(#FFF,#f4f4f4);
}

.eventlist li .photo img {
	margin: auto;
	width: 100%;
	object-fit: cover;
	/*height: 100%;*/
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	object-fit: cover;
	font-family: 'object-fit: cover;';
	height: 100% !important;
    /*max-height: 332px !important;*/
}

.eventlist li .eventtitle {
    font-weight: bold;
    font-size: 1rem;
}

.eventlist li .desc {
    color: #696969;
    font-size: 0.875rem;
    line-height: 1.6em;
    margin-bottom: .5em;
}

.eventlist li .detailbt,
.estatelist li .detailbt {
    background: #000;
	color: #FFF;
	width: 120px;
	text-align: center;
	/*border-radius: 3px;*/
	margin-left: auto;
	padding: 0.1em 1em;
	position: relative;
	letter-spacing: 0.1em;
}


.estatelist li .detailbt{
	margin: 1em 0 0 auto;
	text-align: right;
	padding: 0;
	width: auto;
	background-color: transparent;
}

.eventlist li .detailbt::after,
.estatelist li .detailbt a::after {
    content: '\f330';
	font-family: "Font Awesome 5 Pro";
	-webkit-font-smoothing: antialiased;
	display: inline-block;
	font-style: normal;
	font-variant: normal;
	text-rendering: auto;
	line-height: 1;
	font-size: 1.1em;
	font-weight: 600;
	position: absolute;
	height: 0.8em;
	top: 0;
	bottom: 0;
	right: 0.5em;
	left: auto;
	margin: auto;
}

.pagenation {
    text-align: center;
    margin: 0 10px 100px;
}

.pagenation li {
    text-align: center;
    display: inline-block;
    margin: 0 1px;
}

.pagenation li a {
    border: 1px solid #000;
    padding: 5px 10px;
    margin: 0;
    line-height: 1em;
}

/* estate */
.estatelist {
    margin: 30px auto;
    width: calc(100% - 10px);
}

.estatelist li {
    margin-bottom: 50px;
}

.estatelist a {
	color: #FFF;
	background: #000;
	width: 120px;
	display: block;
	margin: 0 0 0 auto;
	text-align: center;
	padding: 0.1em 1em;
}

.estatelist .estatetitle {
    background: #c94236;
    color: #fff;
    text-decoration: underline;
    font-size: 1.3rem;
    line-height: 1.4em;
    padding: 20px;
    font-weight: bold;
    position: relative;
}
/*
.estatelist .estatetitle:before {
    content: "";
    background: url(https://sendai.asahi-alex.co.jp/home/wp-content/uploads/2020/07/i_new.png) no-repeat top left;
    background-size: 35px auto;
    width: 35px;
    height: 50px;
    display: block;
    position: absolute;
    top: 0;
    left: 20px;
}
*/
/*.estatelist .estatetitle:after{
    content: "new";
	font-size: 0.75rem;
	position: absolute;
	font-family: "roboto";
	font-weight: 400;
	color: #000;
	top: 0;
	left: 28px;
	right: auto;
	bottom: auto;
	line-height: 1.7;
}
.estatelist .estatetitle:before{
	content: '';
	position: absolute;
	height: 1em;
	border-left: 18px solid #ff0;
	border-right: 18px solid #ff0;
	border-bottom: 5px solid transparent;
	width: auto;
	top: 0;
	left: 20px;
	bottom: auto;
	right: auto;
}*/







.estatelist .estatetitle a{
	background-color: transparent;
	width: auto;
	text-align: left;
	padding: 0;
	border-radius: 0;
	display: inline-block;
	margin: 0;
	text-decoration: underline;
}

.estatebox {
    margin-top: 10px;
}

.estatebox .photo {
    border: 1px solid #000;
	box-sizing:border-box;
	display: flex;
	flex-direction: column;
}

.estatebox .photo img {
    /*width: calc(100% - 2px);*/
	height: 100%!important;
 	width: 100%;
	max-width: 100%;
	display: block;
	margin: auto;
	object-fit: cover;
	font-family: 'object-fit: cover;';
}

.estatebox .spec {
    margin-top: 10px;
}

.estatebox .spec table {
    border-collapse: collapse;
    width: 100%;
}

.estatebox .spec table th,
.estatebox .spec table td {
    border: 1px solid #ccc;
    padding: 10px;
    line-height: 1.4em;
    font-size: 0.875rem;
}

.estatebox .spec table th {
    background: #f2f2f2;
    white-space: nowrap;
}

.estatebox .spec table td.price,
.estate_info table td.price {
    color: #c94236;
    font-weight: bold;
    font-size: 1.2rem;
}

/* news */
.newscont {
    margin: 30px auto;
    width: calc(100% - 10px);
}

.newslist li {
    padding: 10px 0;
}
.newslist li:nth-of-type(4) {clear: both;}
.newslist li:nth-of-type(7) {clear: both;}

.newslist li .info {
    font-family: 'Oswald', sans-serif;
    display: flex;
    justify-content: space-between;
}

.newslist li .info .date {
    font-size: 1.357em;
font-weight: 500;
    display: block;
}

.newslist li .info .cat {
    font-size: 0.786em;
	display: inline-block;
	padding: 5px 7px;
	line-height: 1em;
	border-radius: 5px;
	background-color: #C94236; color:#fff;
	font-weight: 400;
    margin: 1em 0 1em 0;
}


.newslist li .info .cat.sin { background-color: #FFFF00; color:#000; }

.newslist li .info .cat.information {
    background: #c94236; color: #FFF;
	font-size: 0.55rem; 
	font-weight: 400;
}

.newslist li .info .cat.recruit {
    background: #000000; color: #FFF;
}

.newslist li .info .cat.modelhouse {
    background:#366E22; color: #FFF;
}

.newslist li .info .cat.estate {
    background:#B56323; color: #FFF;
}

.newslist li .info .cat.event {
    background:#C94236; color: #FFF;
}

.newslist li .info .cat.case {
    background:#4C45A4; color: #FFF;
}

.newslist li .info .cat.blog {
    background: #36bdc9; color: #FFF;
}

.newslist li .info .cat.other {
    background: #4d4d4d; color: #FFF;
}

.newslist li .info .cat.building {
    background: #000; color: #FFF;
}

.newslist li .photo {}

.newslist li .photo img {
    /*border: 1px solid #000;*/
    width: calc(100% - 2px);
    height: auto;
    vertical-align: bottom;
}

.newslist li .text {
    font-weight: normal;
    margin-top: 10px;
    font-size: 1.286em;
}

.newslist li .text p {
    line-height: 1.6em;
    font-weight: 500;
    word-break: break-all;
}

.newslist li .detailbt {
    background: #000;
    color: #FFF;
    width: 120px;
    text-align: center;
    /*border-radius: 3px;*/
    margin-left: auto;
	padding: 0.1em 1em;
	position: relative;
	letter-spacing: 0.1em;
}

.newslist li .detailbt::after {
	content: '\f330';
	font-family: "Font Awesome 5 Pro";
	margin-left: 0.5em;
	-webkit-font-smoothing: antialiased;
	display: inline-block;
	font-style: normal;
	font-variant: normal;
	text-rendering: auto;
	line-height: 1;
	position: relative;
	font-size: 1.1em;
	font-weight: 600;
	position: absolute;
	height: 0.8em;
	top: 0;
	bottom: 0;
	right: 0.5em;
	left: auto;
	margin: auto;
}

.side {
    text-align: right;
}

.side h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.312rem;
    font-weight: bold;
}

.side ul {
    margin-bottom: 40px;
}

.sidecatlist li {
    width: 100%;
    display: block;
	line-height: 1.7;
}

.sidecatlist li a::before {
    content: "＞";
    color: #c94236;
    float: left;
}

.month-archive-list{
	display:none;
}

.archive-list li a {
    width: 100%;
    display: block;
	font-weight: 400;
}

.archive-list li{
	cursor:pointer;
	font-weight: bold;
}

.archive-list li::before{
    content: "＞";
    color: #c94236;
    float: left;
	transition: .2s;
}

.archive-list li.opened::before{
	transform: rotate(-90deg);
	transition: .2s;
}

.month-archive-list li a::before ,
.month-archive-list li::before {
	display:none;
}


footer {
    clear: both;
    margin-top: 50px;
}


@media (max-width: 575.98px) {
    /* SP portrait */
}

@media (min-width: 576px) {

    /* SP landscape */
    .newslist {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .newslist li {
        width: calc(50% - 5px);
    }
}

@media (min-width: 200px) and (max-width: 768px) {
    .newslist {
    display: block;
}
}
@media (min-width: 768px) {

    /* tablet */
    .eventlist {
        /*display: flex;
        flex-wrap: wrap;
        justify-content: space-between;*/
        max-width: 1080px;
    }

    .eventlist li {
        width: calc(50% - 1px - 20px);
        margin-bottom: 2px;
    }

    .estatelist {
        max-width: 1080px;
    }

    .estatelist .estatebox {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .estatelist .estatebox .photo {
        width: calc(40% - 5px);
    }

    .estatelist .estatebox .spec {
        margin-top: 0;
        width: calc(60% - 5px);
    }

    .newscont {
        margin: 30px auto;
        width: calc(100% - 10px);
        max-width: 1130px;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .c-both {
        clear: both;
    }
    .newslist {
        width: min(940px,84%);
        display: block;
    }
    @media (min-width: 768px) and (max-width: 1024px) {
        .newslist {
            width: 100%;
            display: block;
        }
    }
    .newslist ul {}

    .newslist li {
        width: 31%;
        float: left;
        margin-right: 3.5%;margin-bottom: 1em;
    }
    
    .newslist li:nth-of-type(3n) {
        margin-right: 0;
    }

    .newslist li a {
        width: calc(100%);
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        padding: 10px 0;
    }

    .newslist li .info {
        display: block;
width: 100%;
text-align: left;
margin-top: 1em;
    }

    .newslist li .info .date {
        line-height: 1em;
    }

    .newslist li .info .cat {
        clear: right;
    }


    .newslist li .text {
        margin: 0;
    }
}

/*20200819*/
.eventlist:after{
	clear: both;
	content: "";
	display: table;
}
.eventlist li{
	padding: 0 0 20px 0;
}
.eventlist li .photo{
	margin: 0;
	width: 100%;
}
.eventlist li .photo a{
	line-height:1;
}
.eventlist li .eventtitle,
.eventlist li .desc{
	width: calc(100% - 20px);
	padding: 0 10px;
}
.eventlist li a{
	display: block;
	height: 100%;
	width: 100%;
	color:#FFF;
}
.eventlist li .detailbt{
	margin:0 10px 0 auto;
	padding: 0.1em 0;
	width: 148px;
}
.newslist li .photo {
	width: 100%;
}
.newslist li .photo span{
	display:block;
	position: relative;
	margin: 0 auto;	
	overflow: hidden;
	/*border: 1px solid #000;
	box-sizing: border-box;*/
}
.newslist li .photo span:before{
	content: "";
	display: block;
	padding-top: 66.667%;
}
.newslist li .photo img{
	margin: auto;
	width: 100%;
	object-fit: cover;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	/*! right: 0; */
	/*! object-fit: cover; */
	/*! font-family: 'object-fit: cover;'; */
	/*! box-sizing:border-box; */
}

@media (min-width: 768px) {
	.eventlist{
		max-width: 1082px;
	}
	.eventlist li{
		float: left;
		position: relative;
		padding: 0 0 40px 0;
		width: calc(50% - 1px);
		max-width: 540px;
		margin: 0 2px 0 0;
	}	
	.eventlist li:nth-of-type(2n){
		margin-right:0;
		
	}
	.eventlist li a{
		padding:0;
	}/*
	.eventlist li .eventtitle,
	.eventlist li .desc{
		width: 96.5%;
	}*/
	.eventlist li .detailbt{
		position:absolute;
		bottom: 0.7em;
		top: auto;
		left: auto;
		right: 10px;
		margin:auto;
	}
}
@media (max-width: 1024px) {
	.side{
		text-align: left;
		width: 100%;
	}

	.side h3{
		border-bottom: 1px solid #c94236;
		margin-bottom: 0.5em;
		font-size: 1.7em;
	}
	
	.sidecatlist li{
		font-size: 15px;
		margin-bottom: 0.5em;
	}

	.archive-list li{
		display: inline-block;
		font-size: 15px;
	}
	
	.archive-list li a{
		font-size: 14px;
	}
	
	.sidecatlist li a::before,
	.archive-list li::before{
		margin-right: 0.5em;
	}
	.newslist li .info{
		display:block;
		font-weight: 400;
		margin-bottom: 0.5em;
	}
	.newslist li .info .date{
		display:inline-block;
	}
}
@media (max-width: 767px) {
    .newslist li {
        width: 100%;
    }
    .newslist li .photo {
        max-width: none;
    }
    .newicon {
        display: inline-block;
        margin-left: 10px;
    }
    .newslist li .photo span::before {    }
    .newslist li .photo img {
    }
    .newslist li .photo {
        width: 52%;
        float: left;
    }
    .newslist li .info {
        display: block;
        margin-bottom: 0.25em;
        width: 45%;
        float: right;
    }
    .newslist li .info .date {
        line-height: 1em;
        font-size: 1em;
        display: block;
    }
    .newslist li .info .cat {
        margin: 0.75em 0 0 0;
        font-size: 0.643em;
    }
    .newslist li {
        width: 100%;
        border-bottom: 1px dotted #dbdbdb;
        padding-bottom: 1em;
    }
    .sp_both {
        clear: both;
    }
    .newslist li .text {
        font-size: 1.143em;
        float: right;
        width: 45%;
        margin-top: 0;
    }
    .newslist li .text p {
        font-size: 0.929em;
        line-height: 1.3em;
}
    .newscont {
    margin: 0;
    width: 100%;
}
    .content {
    width: 100%;
    margin-top: 20px;
}
}