﻿
@-webkit-keyframes zoomUp {
	0% {
	-webkit-transform: scale(1.05);
	transform-origin: left;
	transform: scale(1.05);
	}
	100% {
	-webkit-transform: scale(1.05);
	transform-origin: right;
	transform: scale(1.05);
	}
}

@keyframes zoomUp {
	0% {
	-webkit-transform: scale(1.05);
	transform-origin: left;
	transform: scale(1.05);
	}
	100% {
	-webkit-transform: scale(1.05);
	transform-origin: right;
	transform: scale(1.05);
	}
}


.swiper-slide-active .slide-img,
.swiper-slide-duplicate-active .slide-img,
.swiper-slide-prev .slide-img {
	-webkit-animation: zoomUp 12s linear 0s;
	animation: zoomUp 12s linear 0s;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
}
.swiper-slide {
	overflow: hidden;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}
.slide-img {
	background-size: cover;
	background-position: center;
	height: 100%;
}
.main_top_area{
    margin: 0 auto;
}
.main_top_area img{
	max-width: inherit;
	width: 100%;
}
/* 共通 */
.content_title{
	margin-bottom: 25px;
}
.content_title .til{
	display: block;
	text-align: center;
}
.content_title .txt{
	display: block;
	text-align: center;
}

/* news_area */
.news_area{
	position: relative;
	padding: 45px 0 0;
}
.news_area .flx_box01{
	display: block;
	margin-bottom: 20px;
}
.news_area .flx_box02{
	margin-bottom: 25px;
}
.news_area .flx_box02 .news_box{
	display: none;
    margin: 0;
    padding: 20px 0;
    box-shadow: none;
    transition: box-shadow .4s, margin .4s;
    color: #333;
	border-top: 1px solid #E7E7E7;
}
.news_area .flx_box02 .news_box:last-child{
	border-bottom: 1px solid #E7E7E7;
}
.news_area .flx_box02 .news_box.top_cls{
	display: block;
	border-bottom: 1px solid #E7E7E7;
}
.news_area .news_box .day{
	margin-bottom: 10px;
	font-size: 14px;
	color: #999999;
}
.news_area .news_box .txt{
	line-height: 1.6;
}

.news_area .no_news_box{
	text-align: center;
	color: #BEBEBE;
	margin: auto;
}

/* 特別なお知らせ */
.extra_news_wrap{
	border: 1px solid #DEDEDE;
	margin-bottom: 100px;
	padding: 30px 0;
}

.extra_news{
	display: flex;
	flex-direction: column;
	width: 90%;
	margin: auto;
	padding: 20px 0px;
}
.extra_news.notlink{
	cursor: default;
}
.extra_news + .extra_news{
	border-top: 1px solid #F1F1F1;
}

.extra_news .img_area{
	overflow: hidden;
	max-width: 280px;
	margin: 30px auto 0;
}
.extra_news .img_area img{
	transition: transform .5s ease;
}
.extra_news .info_area{
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	font-size: 16px;
	line-height: 2;
	transition: opacity .3s;
}
.extra_news .info_area .date{
	font-size: 14px;
	color: #999;
}
.extra_news .info_area .title{
	font-weight: bold;
}
.extra_news .info_area .text{
	font-size: 14px;
}
.extra_news .info_area .list_link{
	margin-top: auto;
	transition: margin .3s;
}
.extra_news:hover .img_area img{
	transform: scale(1.05);
}
.extra_news:hover .info_area .list_link{
	margin-right: -5px;
}
.extra_news .for_pc{
	display: none;
}
/* aタグがない場合notlinkをつけるとhover時に文字色が変わらない */
.extra_news:not(.notlink):hover .info_area{
	opacity: 0.7;
}

/* 価格改定のお知らせ */
.special_info{
	display: flex;
	/* justify-content: center; */
	margin-bottom: 30px;
	padding: 30px 0;
	background: #f8f8f8;
	text-align: left;
}

.special_info:hover{
	opacity: 0.7;
}
.special_info .info_area{
	display: flex;
	flex-direction: column;
	justify-content: center;
	font-size: 16px;
	line-height: 2;
	transition: opacity .3s;
}
.special_info .special_info_inner{
	width: 90%;
	margin: 0 auto;
}
.special_info .info_area .title{
	padding-bottom: 12px;
	font-weight: bold;
}
.special_info .info_area a{
	text-decoration: underline;
}
.special_info .info_area .date{
	font-size: 14px;
	color: #999;
}

@media screen and (min-width: 640px){
	.extra_news{
		flex-direction: row;
	}
	.extra_news .for_pc{
		display: inherit;
	}
	.extra_news .img_area{
		max-width: 140px;
		margin: 0 0 0 40px;
	}


}


/* link_list_area */
.link_list_area{
	margin: 80px 0;
}
.link_list_area ul li{
	margin-bottom: 40px;
}
.link_list_area ul li:last-child{
	margin: 0;
}
.link_list_area ul li .img{
	position: relative;
	padding-top: 31%;
	margin-bottom: 13px;
	overflow: hidden;
}
.link_list_area ul li .img img{
	position: absolute;
	max-height: none;
	max-width: 100%;
	top: 50%;
	right: auto;
	bottom: auto;
	left: 50%;
	margin: auto;
	transform: scale(1) translate(-50%, -50%);
	transform-origin: 0% 0%;
	transition: transform .5s ease, transform-origin .5s ease;
}
.link_list_area .img_box a:hover .img img{
	transform: scale(1.05) translate(-50%, -50%);
	transform-origin: 0% 0%;
}
.link_list_area .img_box a:hover .list_link span{
	opacity: 0.7;
	margin-right: -5px;
	transition: margin .3s, opacity .3s;
}

/*  shelf_area  */
.shelf_area{
	padding: 50px 0;
	background: #F3F3F3;
}

.shelf_area .al_shelf .img_area{
	position: relative;
	width: 90%;
	margin: 0 auto;
}
.shelf_area .al_shelf .al_img{
	overflow: hidden;
	font-size: 0;
}
.shelf_area .al_shelf .al_img img{
	transform: scale(1);
	transition: transform 1s;
}
.shelf_area .al_shelf .al_img img:hover{
	transform: scale(1.07);
	transition: transform 1s;
}
.shelf_area .out_title{
	position: absolute;
    top: 0;
    left: 100%;
    max-width: 73px;
    width: 10%;
}
.shelf_area .al_shelf .txt_area{
	padding: 47px 0 0;
}
.shelf_area .al_shelf .content_title{
	margin-bottom: 30px;
}
.shelf_area .al_shelf .main_txt{
	margin-bottom: 30px;
	line-height: 1.6;
}
.shelf_area .al_shelf .al_center{
	width: calc( 90% - 30px );
	margin: 0 auto;
}
.shelf_area .al_shelf .al_center a{
	margin: 0 auto;
}

/*company_area*/
.company_area{
	padding: 35px 0 25px;
}
.company_area .flx_box{
	padding: 30px;
	background: #F3F3F3;
}
.company_area .flx_box .txt_area .content_title{
	margin-bottom: 32px;
}
.company_area .flx_box .txt_area .main_txt{
	margin-bottom: 30px;
	line-height: 1.6;
}
.company_area .flx_box .txt_area .al_center a{
	margin: 0 auto;
}
.company_area .flx_box .img_area{
	max-width: 300px;
	height: 100%;
    margin: 0 auto 35px;
    font-size: 0;
    overflow: hidden;
    text-align: center;
}
.company_area .flx_box .img_area img{
	transform: scale(1);
	transition: transform .6s;
}
.company_area .flx_box .img_area img:hover{
	transform: scale(1.07);
	transition: transform .6s;
}


@media screen and (min-width: 640px){

	/* header */
	#top #header.hd_scrl .flx_box {
		height: 95px;
		padding: 25px 40px 25px;
		transition: padding .3s, height .3s;
	}


	/* .main_top_area .swiper-container {
		max-height: 970px;
		min-height: 600px;
		height: calc( 100vh - 110px );
	} */

	/* -- news_area -- */
	.news_area {
		padding: 65px 0 0;
	}
	.news_area .content_title .til{
		font-size: 40px;
	}
	.news_area .content_title .til,
	.news_area .content_title .txt{
		display: inline-block;
	}
	.news_area .flx_box01{
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin-bottom: 40px;
	}
	.news_area .flx_box02{
		display: flex;
		justify-content: flex-start;
	}
	.news_area .flx_box02 .news_box,
	.news_area .flx_box02 .news_box:last-child{
		display: block;
		flex: 0 0 33%;
		padding: 25px 2% 40px 4%;
		border: 0;
	}
	.news_area .flx_box02 .news_box:hover{
		margin: -5px 5px 5px -5px;
		box-shadow: 15px 15px 25px #F0F0F0;
		transition: box-shadow .4s, margin .4s;
	}
	.news_area .flx_box02 .news_box.top_cls{
		border-bottom: 0;
	}
	.news_area .news_box .day{
		margin-bottom: 16px;
	}
	.news_area .news_box .txt{
		line-height: 2;
	}
	/* link_list_area */
	.link_list_area ul {
		display: flex;
		justify-content: space-between;
	}
	.link_list_area ul li{
		flex: 0 0 44%;
		margin-bottom: 0;
	}
	/* shelf_area */
	.shelf_area{
		padding: 100px 0 50px;
	}
	.shelf_area .inner{
		width: 80%;
	}
	.shelf_area .al_shelf .img_area{
		width: 100%;
	}
	.shelf_area .al_shelf .txt_area{
		padding: 47px 70px 70px;
		background: #fff;
	}
	.shelf_area .al_shelf .content_title{
		margin-bottom: 20px;
	}
	.shelf_area .al_shelf .main_txt{
		margin-bottom: 25px;
		line-height: 2;
	}

	/*company_area*/
	.company_area{
		padding: 50px 0 100px;
		background: #F3F3F3;
	}
	.company_area .flx_box{
		display: flex;
		justify-content: space-between;
		flex-flow: row-reverse;
		padding: 60px;
		border: 10px solid #fff;
		background: transparent;
	}
	.company_area .flx_box .txt_area{
		flex: 0 0 56%;
	}
	.company_area .flx_box .txt_area .content_title{
		margin-bottom: 38px;
	}
	.company_area .flx_box .txt_area .main_txt{
		max-width: 455px;
		margin-bottom: 48px;
		line-height: 2;
	}
	.company_area .flx_box .txt_area .al_center a{
		margin: 0;
	}
	.company_area .flx_box .img_area{
		margin: 0;
		flex: 0 0 38%;
	}

}

@media screen and (min-width: 960px){
	/* header */
	#top #header .h_logo {
		max-width: 450px;
	}
	#top #header.hd_scrl .h_logo{
		max-width: 265px;
	}
	#top #header .flx_box{
		height: 195px;
		padding: 60px 60px;
	}
	#top #header.hd_scrl .flx_box{
		padding: 25px 60px;
	}
	/* main */
	main{
		margin-top: 195px;
	}
	/* main_top_area */
	/* .main_top_area{
		height: calc( 100vh - 195px );
	} */

}
