@charset "utf-8";
/*==================================================
	【トップ】ページ固有のスタイル
==================================================*/
#top_ttl {background: #e1ecfa;}
#top_ttl img {
	width: 100%;
}
/* 挨拶 */
#top_product::before {
	background: #e1ecfa;
	height: 620px;
}
#top_product .list a {
	display: block;
	width: 340px;
	position: relative;
}
#top_product .list a:hover {
	filter:alpha(opacity=100);
	-moz-opacity: 1;
	opacity: 1;
}
#top_product .list a .img {
	position: relative;
	display: block;
}
#top_product .list a:hover .img::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background : rgba(42, 129, 239, 0.5);
	z-index: 1;
}
#top_product .list a .img img {
	box-shadow: 0 0 10px rgba(42, 129, 239, 0.8);
}
#top_product .list a:hover .img img {
	box-shadow: none;
}
#top_product .list a h4 {
	position: absolute;
	top: -20px;
	right: 20px;
	background: #fff;
	border-top: 2px solid var(--color-primary);
	color: var(--color-secondary);
	-ms-writing-mode: tb-rl;
	writing-mode: vertical-rl;
	font-size: 39px;
	width: 70px;
	height: 365px;
	padding-top: 15px;
	display: flex;
	align-items: center;
	z-index: 2;
	white-space: nowrap;
}
#top_product .list a h4 span {
	display: block;
	font-size: 88%;
	margin-top: -16px;
}
#top_product .list a .link {
	margin: 10px 0;
	background: url("../img/arrow.png") no-repeat right top 17px;
	color: var(--color-secondary);
	font-size: 18px;
	padding: 5px 60px 5px 0;
	text-align: right;
}
#top_product .list a .txt {
	font-size: 110%;
	color: #5a687d;
}
#top_greeting {
	margin-bottom: 150px;
}
#top_greeting .img {
	position: absolute;
	left: calc(50% - 50vw);
	width: calc( (100vw - 1100px) / 2 + (1100px - 600px) );
}
@media only screen and (max-width: 1150px) {
	#top_greeting .img {
		left: -30px;
		width: 550px;
	}
}
#top_greeting .img img {
	width: 100%;
	height: 450px;
	object-fit: cover;
}
#top_greeting .info {
	width: 50%;
	margin-left: auto;
	position: relative;
}
#top_greeting .info::before {
	content: "";
	position: absolute;
	top: -50px;
	right: -150px;;
	z-index: -1;
	background: url("../img/top/hokkaido.png") no-repeat center / 100% auto;
	width: 420px;
	height: 350px;
}
#top_greeting .info .txt {
	font-size: 110%;
	margin-bottom: 50px;
}
#top_greeting .info .btn01 {
	text-align: right;
}
/* お知らせ */
#top_info::before {
	background: url("../img/top/bg-contact.png") no-repeat top / 100% auto;
}
#top_info .list {
	max-width: 900px;
	margin: 0 auto 50px;
}
#top_info dl {
	padding: 31px 0;
	border-top: 1px solid #e1e1e1;
}
#top_info dl:last-of-type {
	border-bottom: 1px solid #e1e1e1;
}
@media print, screen and (min-width: 769px){ /* PCのみ */
}
@media print, screen and (min-width: 641px){ /* PC・タブレット */
	/* お知らせ */
	#top_info dl {
		display: flex;
	}
	#top_info dt {
		width: 150px;
		text-align: center;
	}
	#top_info dd {
		width: calc(100% - 150px);
	}
}
@media only screen and (max-width: 768px) and (min-width: 641px){ /* タブレットのみ */
}
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	#top_product .list a {
		width: 32%;
	}
	#top_product .list a h4 {
		font-size: 25px;
		height: 236px;
		width: 40px;
		padding-right: 2px;
	}
	#top_product .list a h4 span {
		margin-top: -12px;
	}
	#top_product .list a .link {
		font-size: 16px;
		line-height: 1.4;
		background-position: right top 10px;
	}
	#top_product .list a .txt {
		font-size: 100%;
	}
	#top_greeting {
		margin-bottom: 120px;
	}
	#top_greeting .info {
		width: 100%;
	}
	#top_greeting .info::before {
		width: 300px;
		height: 250px;
		right: -50px;
	}
	#top_greeting .img {
		position: relative;
		left: auto;
		text-align: center;
		width: 350px;
		margin: 0 auto 20px;;
	}
	#top_greeting .img img {
		height: auto;
	}
	#top_greeting .info .txt {
		font-size: 100%;
		margin-bottom: 30px;
	}
	#top_greeting .info .btn01 {
		text-align: center;
	}
	#top_info::before {
		background-position: left top 50px;
	}
	#top_info dl {
		padding: 15px 0;
	}
	#top_info dt {
		width: 100px;
	}
	#top_info dd {
		width: calc(100% - 100px);
	}
}
@media only screen and (max-width: 640px){ /* スマホ */
	#top_product .list a {
		width: 100%;
		margin-bottom: 40px;
	}
	#top_product .list a:last-of-type {
		margin-bottom: 0;
	}
	#top_product .list a h4 {
		font-size: 22px;
		height: 216px;
	}
	#top_product .list a h4 span {
		margin-top: -10px;
	}
	#top_product .list a .img img {
		width: 100%;
		height: 250px;
		object-fit: cover;
	}
	#top_greeting {
		margin-bottom: 100px;
	}
	#top_greeting .info::before {
		width: 200px;
		height: 150px;
	}
	#top_greeting .img {
		width: 250px;
	}
	#top_info dl {
		padding: 10px 0;
	}
	#top_info dt, #top_info dd {
		width: 100%;
	}
}