@charset "utf-8";

/* break point */
/* ---------------------
  (max-width) 1390, 991, 781, 575
  (min-width) 1391, 992, 782, 576
--------------------- */

/* 共通
-----------------------------------------------*/
.en_title {
	font-size: 352%;
	font-weight: 700;
	color: #0f2f7c;
	line-height: 1.5;
}
.sub_title {
	font-size: 147%;
	font-weight: 700;
	margin-bottom: 1.5em;
}
.swiper-container {
	overflow: hidden;
}
@media screen and (max-width: 575px) {
	.en_title {
		font-size: 205%;
	}
	.sub_title {
		font-size: 135%;
	}
}

/* ファーストビュー
-----------------------------------------------*/
.top_firstview {
	display: flex;
	align-items: stretch;
}
.top_firstview .swiper {
	flex: 1;
	max-height: calc(100vh - 120px);
}
.top_firstview .swiper .slide-caption {
	position: absolute;
	right: 0;
	bottom: 0;
	z-index: 5;
	background: rgba(0,0,0,0.7);
	color: #fff;
	padding: 0.3em 0.8em;
	font-size: 88%;
}
.top_firstview .slide-img {
	height: 100%;
}
.top_firstview .slide-img img {
	object-fit: cover;
	width: 100%;
	height: 100%;
}
@keyframes zoomUp {
	0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}
.top_firstview .swiper-slide-active .slide-img,
.top_firstview .swiper-slide-duplicate-active .slide-img,
.top_firstview .swiper-slide-prev .slide-img {
	animation: zoomUp 10s linear 0s 1 normal both;  
}
@media screen and (max-width: 991px) {
	.top_firstview {
		display: block;
	}
	.top_firstview .swiper .slide-caption {
		font-size: 85%;
	}
}

/* お知らせ
-----------------------------------------------*/
.top_news {
	border-bottom: 1px solid #ccc;
	position: relative;
}
.top_news ul {
	padding-right: 7em;
}
.top_news li {
	margin: 1em 0;
}
.top_news .date {
    font-size: 70%;
    display: inline-block;
    background: #323232;
    color: #fff;
    padding: 0.2em 0.5em;
    margin-right: 1em;
    vertical-align: bottom;
}
.top_news .more {
	position: absolute;
	right: 20px;
	bottom: 15px;
	padding: 0;
	background: none;
}
.top_news .more a {
	font-size: 90%;
}
.top_news .more a::after {
	content: "";
	background: url("images/ft_arrow.png") no-repeat 0 0;
	background-size: contain;
	width: 15px;
	height: 11px;
	display: inline-block;
	margin-left: 0.5em;
}
@media (hover: hover) and (min-width: 992px) {
	.top_news a:hover {
		text-decoration: underline;
	}
}
@media screen and (max-width: 991px) {
	.top_news {
		font-size: 1.6rem;
	}
	.top_news ul {
		padding-right: 0;
	}
	.top_news .more {
		position: static;
		text-align: right;
		margin: 0 1em 0.8em 0;
	}
}

/* あたりまえの家づくり
-----------------------------------------------*/
.top_philosophy {
	display: flex;
	flex-direction: row-reverse;
	padding: 70px 0 100px;
}
.top_philosophy .Rbox {
	width: 55%;
	padding: 0 3%;
}
.top_philosophy .img {
	width: 45%;
}
.top_philosophy .img img {
	width: 100%;
}
.top_philosophy .content p {
	margin: 1.5em 0;
}
.top_philosophy .btn {
	margin-top: 2.5em;
}
@media screen and (max-width: 991px) {
	.top_philosophy {
		display: block;
		padding: 40px 0 70px;
	}
	.top_philosophy .Rbox {
		width: 100%;
		padding: 0 5%;
	}
	.top_philosophy .img {
		width: 100%;
		padding-left: 5%;
		margin-top: 50px;
	}
	.top_philosophy .img img {
		width: 100%;
	}
}

/* 施工実績
-----------------------------------------------*/
.top_works {
	padding-bottom: 100px;
	position: relative;
	background: url("images/works_bg.png") no-repeat left bottom #eefcff;
}
.top_works::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	z-index: 1;
	display: block;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 220px 2560px 0 0;
	border-color: #ffffff transparent transparent transparent;
}
.top_works .Lbox, .top_works .Rbox {
	position: relative;
	z-index: 2;
}
.top_works .Lbox {
	width: 42%;
	min-height: 410px;
}
.top_works .Rbox {
	width: 58%;
	position: absolute;
	top: 0;
	right: 0;
}
.top_works .content {
	margin: 0.5em auto 2em;
}
.top_works .swiper_1 {
	padding-left: 7vw;
}
.top_works .swiper_2 {
	padding-right: 7vw;
	margin-top: 10px;
}
.top_works .swiper {
	width: 100%;
}
.top_works .swiper-wrapper {
	transition-timing-function: linear;
}
.top_works .swiper-slide {
	padding-right: 10px;
	width: -webkit-max-content;
	width: -moz-max-content;
	width: max-content;
}
.top_works .swiper-slide a {
	overflow: hidden;
}
.top_works .swiper-slide img {
	width: 300px;
	height: 200px;
	object-fit: cover;
}
.top_works .hoverArea:hover .swiper-slide:not(:hover) {
	opacity: 0.5;
}
.top_works .nohoverArea {
	content: "";
	width: 7vw;
	height: 200px;
	display: block;
	z-index: 2;
	position: absolute;
}
.top_works .nohoverArea:nth-child(1) {
	top: 0;
	left: 0;
}
.top_works .nohoverArea:nth-child(2) {
	right: 0;
	bottom: 0;
}
@media screen and (max-width: 991px) {
	.top_works {
		display: block;
		padding-bottom: 90px;
	}
	.top_works .Lbox {
		min-height: auto;
		width: 100%;
		padding: 0 5%;
		position: relative;
	}
	.top_works .Rbox {
		position: static;
		width: 100%;
		margin-top: 2.5em;
	}
	.top_works .content {
		margin-top: 1.5em;
	}
	.top_works .btn {
		position: absolute;
		top: 0;
		right: 3%;
	}
	.top_works .swiper-slide img {
		width: 225px;
		height: 150px;
	}
	.top_works .swiper_1, .top_works .swiper_2 {
		padding: 0;
	}
	.top_works .nohoverArea {
		display: none;
	}
}
@media screen and (max-width: 575px) {
	.top_works .btn span {
		font-size: 1.5rem;
		padding-top: 0.6em;
		padding-bottom: 0.6em;
	}
	.top_works .swiper_2 {
		margin-top: 5px;
	}
	.top_works .swiper-slide {
		padding-right: 5px;
	}
	.top_works .swiper-slide img {
		width: 150px;
		height: 100px;
	}
}