@charset "UTF-8";

/* KV */
#kv {
	width: 100%;
	height: 100vh;
	min-height: 480px;
	margin: 0 auto;
	padding: 0;
	background: url(../images/common/kv.jpg) center / cover no-repeat;
	background-attachment: fixed;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: relative;
	z-index: 2;
}
	#kv h2 {
		opacity: 0;
		margin: 0 auto;
		padding: 0;
	}
		#kv h2.scrollin {
			-webkit-animation: blur 1s ease-out 0s 1 forwards;
			animation: blur 1s ease-out 0s 1 forwards;
		}
	#kv h1 {
		opacity: 0;
		margin: 150px auto 0;
		padding: 0;
		font-size: 40px;
		line-height: 150%;
		font-weight: var(--weight-nomal);
		color: #595454;
		letter-spacing: 0.05em;
	}
		#kv h1.scrollin {
			-webkit-animation: bottomIn 0.4s ease-out 1s 1 forwards;
			animation: bottomIn 0.4s ease-out 1s 1 forwards;
		}
		#kv h1 strong {
			font-weight: var(--weight-nomal);
			color: #A98000;
		}
	#kv .kv_scroll {
		position: absolute;
		margin: 0;
		padding: 0;
		display: flex;
		flex-direction: column;
		align-items: center;
		bottom: -17px;
		left: 50%;
		transform: translateX(-50%);
		-webkit- transform: translateX(-50%);
		z-index: 1;
	}
		#kv .kv_scroll span {
			margin: 0 0 5px;
			padding: 0;
			font-size: 16px;
			line-height: 120%;
			font-weight: var(--weight-nomal);
			font-family: "Cormorant Garamond", serif;
			font-optical-sizing: auto;
			color: #333;
		}
		#kv .kv_scroll p {
			margin: 0;
			padding: 0;
			width: 1px;
			height: 36px;
			background: #333333;
			position: relative;
		}
			#kv .kv_scroll p:before {
				position: absolute;
				content: '';
				display: block;
				width: 7px;
				height: 7px;
				margin: auto;
				padding: 0;
				background: #333333;
				border-radius: 50%;
				top: 0;
				left: -3px;
				animation: scroll 1.8s infinite;
			}
@keyframes scroll {
  0% {
    opacity: 1;
    transform: translate(0, 0);
  }
  90% {
    opacity: 1;
	transform: translate(0, 36px);
  }
  91% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* リード */
#read {
	width: 100%;
	margin: 0 auto;
	padding: 150px 0 145px;
	background: #F9F9F9;
	position: relative;
	z-index: 1;
}
	#read:after {
		position: absolute;
		content: '';
		display: block;
		width: 0;
		height: 0;
		margin: 0;
		padding: 0;
		border-top: 0px solid transparent;
		border-right: 0px solid transparent;
		border-left: 100vw solid #F9F9F9;
		border-bottom: 100px solid transparent;
		bottom: -100px;
		left: 0;
		z-index: 1;
	}
	#read div.read_txt {
		margin: 0 auto;
		padding: 0;
	}
		#read div.read_txt p {
			margin: 30px auto 0;
			padding: 0;
			font-size: 20px;
			line-height: 280%;
		}
	#read img {
		opacity: 0;
		position: absolute;
		display: block;
		margin: 0;
		padding: 0;
	}
		#read img.scrollin {
			-webkit-animation: blur 0.5s ease-out 0.2s 1 forwards;
			animation: blur 0.5s ease-out 0.2s 1 forwards;
		}
	#read img.img1 {
		width: 210px;
		height: auto;
		top: 93px;
		right: calc(50% + 470px);
	}
@media screen and (max-width:1360px) {
	#read img.img1 {
		right: calc(100% - 210px);
	}
}
	#read img.img2 {
		width: 133px;
		height: auto;
		top: 378px;
		left: calc(50% + 546px);
		z-index: 1;
	}
@media screen and (max-width:1360px) {
	#read img.img2 {
		left: calc(100% - 133px);
	}
}
	#read img.img3 {
		width: 210px;
		height: auto;
		top: 555px;
		left: calc(50% + 430px);
	}
@media screen and (max-width:1280px) {
	#read img.img3 {
		left: calc(100% - 210px);
	}
}
	#read div.youtube {
		width: 1000px;
		height: 563px;
		margin: 205px auto 0;
		padding: 0;
		position: relative;
	}
		#read div.youtube iframe {
			position: absolute;
			display: block;
			width: 100%;
			height: 100%;
			top: 0;
			left: 0;
		}

/* 創業150周年の挨拶 */
#message {
	width: 1000px;
	margin: 0 auto;
	padding: 190px 0 220px;
}
	#message h2 {
		margin: 0 auto;
		padding: 0;
		font-size: 23px;
		line-height: 200%;
		font-weight: var(--weight-nomal);
		color: #A98000;
	}
	#message h3 {
		margin: 10px auto 0;
		padding: 0;
		font-size: 100px;
		line-height: 120%;
		font-weight: var(--weight-nomal);
		font-family: "Cormorant Garamond", serif;
		font-optical-sizing: auto;
	}
	#message div.meg_cont {
		margin: 130px auto 0;
		padding: 0;
	}
		#message div.meg_cont .img {
			width: 355px;
			margin: 0;
			padding: 0 ;
			float: right;
		}
			#message div.meg_cont .img span {
				display: inline-block;
				margin: 10px auto 0;
				padding: 0;
				font-size: 16px;
				line-height: 200%;
			}
		#message div.meg_cont .txt {
			margin: 0;
			padding: 0;
		}
			#message div.meg_cont .txt p {
				margin: 20px 0 0;
				padding: 0;
				font-size: 17px;
				line-height: 240%;
				text-align: left;
				font-family: "Noto Serif JP", serif;
			}
				#message div.meg_cont .txt p:first-of-type {
					margin-top: 0;
				}
				/*#message div.meg_cont .txt p:nth-of-type(5) {
					margin-top: 50px;
				}*/

/* 睦屋の歩み */
#history_ttl {
	width: 100%;
	height: 660px;
	margin: 0 auto;
	padding: 0;
	background: url(../images/common/history_ttl_bg.jpg) center / cover no-repeat;
	background-attachment: fixed;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: relative;
	z-index: 3;
}
	#history_ttl h2 {
		margin: 0 auto;
		padding: 0;
		font-size: 23px;
		line-height: 200%;
		font-weight: var(--weight-nomal);
		color: #C7AF72;
	}
	#history_ttl h3 {
		margin: 10px auto 0;
		padding: 0;
		font-size: 100px;
		line-height: 120%;
		font-weight: var(--weight-nomal);
		font-family: "Cormorant Garamond", serif;
		font-optical-sizing: auto;
		color: #fff;
	}
	#history_ttl h4 {
		margin: 50px auto 0;
		padding: 0;
		font-size: 20px;
		line-height: 120%;
		font-weight: var(--weight-nomal);
		font-family: "Cormorant Garamond", serif;
		font-optical-sizing: auto;
		color: #fff;
	}
#history1 {
	width: 100%;
	margin: 0 auto;
	padding: 0;
	background: #F9F9F9;
	position: relative;
	z-index: 1;
}
	#history1:after {
		position: absolute;
		content: '';
		display: block;
		width: 0;
		height: 0;
		margin: 0;
		padding: 0;
		border-top: 0px solid transparent;
		border-right: 0px solid transparent;
		border-left: 100vw solid #F9F9F9;
		border-bottom: 100px solid transparent;
		bottom: -100px;
		left: 0;
		z-index: -1;
	}
#history2 {
	width: 100%;
	margin: 0 auto;
	padding: 0 0 120px;
	background: url(../images/common/history2_bg.jpg) center / cover no-repeat;
}
	div.history_cont {
		width: 100%;
		max-width: 1280px;
		margin: 0 auto;
		padding: 0;
	}
		div.history_cont dl {
			width: 100%;
			margin: 0 auto;
			padding: 140px 0 0;
			position: relative;
		}
		div.history_cont dl {
			width: 100%;
			margin: 0 auto;
			padding: 0 0 140px;
			position: relative;
		}
			div.history_cont dl:first-of-type {
				padding-top: 140px;
			}
			#history2 div.history_cont dl:first-of-type {
				padding-top: 210px;
				padding-bottom: 0;
			}
			div.history_cont dl:after {
				position: absolute;
				content: '';
				display: block;
				width: 1px;
				height: 100%;
				margin: 0;
				padding: 0;
				background: #BAA767;
				top: 34px;
				left: 40px;
				z-index: 2;
			}
			#history1 div.history_cont dl:last-of-type:after {
				height: calc(100% + 210px);
			}
			#history1 div.history_cont dl:first-of-type:before {
				position: absolute;
				content: '';
				display: block;
				width: 1px;
				height: 175px;
				margin: 0;
				padding: 0;
				background: #F9F9F9;
				top: 0;
				left: 40px;
				z-index: 3;
			}
				#history2 div.history_cont dl:after,
				#history2 div.history_cont dl:first-of-type:before {
					display: none;
				}
			div.history_cont dl dt {
				width: 100%;
				margin: 0;
				padding: 0 0 0 80px;
				display: flex;
				align-items: center;
				position: relative;
				z-index: 4;
			}
				div.history_cont dl dt:before {
					position: absolute;
					content: '';
					display: block;
					width: 7px;
					height: 7px;
					margin: 0;
					padding: 0;
					background: #BAA767;
					border-radius: 50%;
					top: 34px;
					left: 37px;
				}
				div.history_cont dl dt h5 {
					display: inline-block;
					margin: 0;
					padding: 0;
					font-size: 44px;
					line-height: 160%;
					font-weight: var(--weight-nomal);
					text-align: left;
				}
				div.history_cont dl dt p {
					display: inline-block;
					margin: 0 0 0 35px;
					padding: 0;
					font-size: 34px;
					line-height: 120%;
					color: #AB8F45;
					font-family: "Cormorant Garamond", serif;
					font-optical-sizing: auto;
					font-weight: var(--weight-nomal);
				}
					div.history_cont dl dt p span.y1875.scrollin {
						counter-set: countUp var(--count);
						animation: countUp1 1.5s 1;
						animation-fill-mode: forwards;
						animation-timing-function: cubic-bezier(1, 0.4, 0.5, 1);
						font-variant-numeric: tabular-nums;
					}
					div.history_cont dl dt p span.y1921.scrollin {
						counter-set: countUp var(--count);
						animation: countUp2 1.5s 1;
						animation-fill-mode: forwards;
						animation-timing-function: cubic-bezier(1, 0.4, 0.5, 1);
						font-variant-numeric: tabular-nums;
					}
					div.history_cont dl dt p span.y1960.scrollin {
						counter-set: countUp var(--count);
						animation: countUp3 1.5s 1;
						animation-fill-mode: forwards;
						animation-timing-function: cubic-bezier(1, 0.4, 0.5, 1);
						font-variant-numeric: tabular-nums;
					}
					div.history_cont dl dt p span.y1975.scrollin {
						counter-set: countUp var(--count);
						animation: countUp4 1.5s 1;
						animation-fill-mode: forwards;
						animation-timing-function: cubic-bezier(1, 0.4, 0.5, 1);
						font-variant-numeric: tabular-nums;
					}
					div.history_cont dl dt p span.y2010.scrollin {
						counter-set: countUp var(--count);
						animation: countUp5 1.5s 1;
						animation-fill-mode: forwards;
						animation-timing-function: cubic-bezier(1, 0.4, 0.5, 1);
						font-variant-numeric: tabular-nums;
					}
						div.history_cont dl dt p span.scrollin:after {
							content: counter(countUp);
						}
@property --count {
	syntax: "<integer>";
	inherits: false;
	initial-value: 1000;
}
@keyframes countUp1 {
	100% {
		--count: 1875;
	}
}
@keyframes countUp2 {
	100% {
		--count: 1921;
	}
}
@keyframes countUp3 {
	100% {
		--count: 1960;
	}
}
@keyframes countUp4 {
	100% {
		--count: 1975;
	}
}
@keyframes countUp5 {
	100% {
		--count: 2010;
	}
}
			div.history_cont dl dd {
				width: 100%;
				margin: 0;
				padding: 85px 0 0 140px;
			}
				div.history_cont dl dd ul {
					width: 100%;
					margin: 0;
					padding: 0;
					list-style: none;
					display: flex;
					flex-wrap: wrap;
				}
					div.history_cont dl dd ul li {
						width: calc((100% / 4) - 1px);
						margin: 0 1px 0 0;
						padding: 0;
					}
						div.history_cont dl dd ul li a {
							display: block;
							width: 100%;
							height: 350px;
							margin: 0;
							padding: 0;
							position: relative;
							transition: 0.2s linear;
						}
							div.history_cont dl dd ul li a img {
								display: block;
								width: 100%;
								height: 350px;
								margin: 0;
								padding: 0;
								object-fit: cover;
								transition: 0.2s linear;
							}
@media screen and (max-width:1140px) {
						div.history_cont dl dd ul li a {
							height: 320px;
						}
							div.history_cont dl dd ul li a img {
								height: 320px;
							}
}
							div.history_cont dl dd ul li a div {
								position: absolute;
								width: 100%;
								height: 100%;
								margin: 0;
								padding: 0 0 0 20px;
								display: flex;
								flex-direction: column;
								justify-content: center;
								align-items: flex-start;
								background: rgba(0,0,0,0);
								transition: 0.2s linear;
								top: 0;
								left: 0;
							}
								div.history_cont dl dd ul li a:hover div {
									background: rgba(0,0,0,0.5);
								}
									div.history_cont dl dd ul li a div p {
										opacity: 0;
										height: 5em;
										margin: 0;
										padding: 0;
										font-size: 24px;
										line-height: 200%;
										color: #fff;
										text-align: left;
									}
@media screen and (max-width:1140px) {
									div.history_cont dl dd ul li a div p {
										font-size: 19px;
										line-height: 200%;
									}
}
									div.history_cont dl dd ul li a div span {
										opacity: 0;
										display: block;
										width: 160px;
										margin: 45px 0 0;
										padding: 12px 5px;
										font-size: 18px;
										line-height: 120%;
										color: #fff;
										background: #BAA767;
										transition: 0.2s linear;
									}
										div.history_cont dl dd ul li a:hover div p {
											opacity: 1;
										}
										div.history_cont dl dd ul li a:hover div span {
											opacity: 1;
										}
										div.history_cont dl dd ul li a:hover div span:hover {
											color: #333;
										}

				div.history_cont dl dd div.current {
					width: 100%;
					margin: 0;
					padding: 0;
					list-style: none;
					display: flex;
					flex-wrap: wrap;
				}
					div.history_cont dl dd div.current h6 {
						width: 600px;
						margin: 0;
						padding: 0;
						font-size: 24px;
						line-height: 200%;
						font-weight: var(--weight-nomal);
						text-align: left;
						color: #AB8F45;
					}
					div.history_cont dl dd div.current p {
						width: 630px;
						margin: 1em 0 0;
						padding: 0;
						font-size: 17px;
						line-height: 200%;
						text-align: left;
						font-family: "Noto Serif JP", serif;
					}
						div.history_cont dl dd div.current p:first-of-type {
							margin-top: 45px;
						}

/* MODAL */
div.modal {
	position: fixed;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: 300;
	display: flex;
	align-content: center;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s ease, visibility 0.4s ease;
}

div.modal.open {
	opacity: 1;
	visibility: visible;
}

div.modal span.bg {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	background: rgba(238, 238, 238, 0.9);
}

div.modal#history div.inner {
	width: 96%;
	max-width: 1200px;
	min-width: 1036px;
	position: relative;
	z-index: 1;
	transform: translateY(15px);
	transition: transform 0.5s ease;
}

div.modal#history.open div.inner {
	transform: translateY(0);
}

div.modal#history div.historyMain {
	background: #FFF;
	display: flex;
	width: 100%;
	min-height: 500px;
	position: relative;
}

div.modal#history div.historyMain div.left {
	width: 50%;
}
	div.modal#history div.historyMain div.left p.img {
		width: 100%;
		height: 100%;
		position: relative;
	}
		div.modal#history div.historyMain div.left p.img img {
			position: absolute;
			display: block;
			width: 100%;
			height: 100%;
			object-fit: cover;
		}

div.modal#history div.historyMain div.right {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	width: 50%;
	vertical-align: middle;
	padding: 65px 50px 80px;
	text-align: left;
}

div.modal#history div.historyMain p.historyDescription {
	margin: 20px 0 0;
	padding: 0;
	font-size: 17px;
	line-height: 200%;
	text-align: left;
	font-family: "Noto Serif JP", serif;
}

div.modal#history div.historyMain h5 {
	margin: 0;
	padding: 0;
	font-size: 30px;
	line-height: 160%;
	font-weight: var(--weight-nomal);
	text-align: left;
	color: #B9A666;
}

div.modal#history div.historyMain p.link {
	margin: 10px 0 0;
	padding: 0;
	font-size: 17px;
	line-height: 200%;
	text-align: left;
	font-family: "Noto Serif JP", serif;;
}
div.modal#history div.historyMain p.link a {
	display: inline-block;
	background: #B9A666;
	color: #fff;
	margin-top: .5em;
	text-decoration: none;
	padding: .5em 1.5em
}
div.modal#history div.historyMain p.link a:hover {
	color: #333;
}

div.modal#history div.btnWrap {
	position: absolute;
	margin: 1px 0 0;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	bottom: 0;
	right: 0;
}

div.modal#history div.btnWrap button:first-child {
	margin-right: 1px;
}

div.modal div.btnWrap button {
	background: none;
	border: none;
	border-radius: 0;
	margin: 0;
	padding: 0;
	cursor: pointer;
	display: block;
	width: 80px;
	height: 50px;
}

div.modal button.btnHistoryClose {
	position: absolute;
	background: none;
	border: none;
	border-radius: 0;
	margin: 0;
	padding: 0;
	cursor: pointer;
	display: block;
	margin: 0 0 1px auto;
	width: 45px;
	height: 45px;
	top: 10px;
	right: 10px;
}

/* NEXT STAGE */
#next_stage {
	width: 100%;
	max-width: 1160px;
	margin: 0 auto;
	padding: 140px 0 170px;
	display: flex;
	flex-direction: row-reverse;
	justify-content: space-between;
	align-items: center;
	position: relative;
}
	#next_stage h2 {
		opacity: 0;
		position: absolute;
		display: inline-block;
		margin: 0;
		padding: 0;
		font-size: 100px;
		line-height: 100%;
		color: #F4F4F4;
		font-family: "Cormorant Garamond", serif;
		font-optical-sizing: auto;
		font-weight: var(--weight-nomal);
		top: 0;
		right: calc(50% - 640px);
	}
		#next_stage h2.scrollin {
			-webkit-animation: slideInRight2 0.4s ease-out 0s 1 forwards;
			animation: slideInRight2 0.4s ease-out 0s 1 forwards;
		}
	#next_stage .img {
		width: 50%;
		margin: 0;
		padding: 0 20px;
		display: flex;
		flex-direction: column;
	}
		#next_stage .img img {
			width: 100%;
			height: auto;
			margin: 0;
			padding: 0;
		}
	#next_stage .txt {
		width: 50%;
		margin: 0;
		padding: 0 10px 0 80px;
		text-align: left;
	}
		#next_stage .txt h3 {
			margin: 0;
			padding: 0;
			font-size: 24px;
			line-height: 200%;
			font-weight: var(--weight-nomal);
			color: #AB8F45;
		}
		#next_stage .txt p {
			margin: 1em 0 0;
			padding: 0;
			font-size: 17px;
			line-height: 200%;
			text-align: left;
			font-family: "Noto Serif JP", serif;
		}
			#next_stage .txt p:first-of-type {
				margin-top: 40px;
			}






