@charset "UTF-8";

/* KV */
#kv {
	width: 100%;
	height: 100vh;
	margin: 0 auto;
	padding: 0;
	background: url(../images/common/kv_sp.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;
		width: 90%;
		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 h2 img {
			width: 100%;
			height: auto;
		}
	#kv h1 {
		opacity: 0;
		margin: 15% auto 0;
		padding: 0;
		font-size: 6.4vw;
		line-height: 150%;
		font-weight: var(--weight-nomal);
		color: #595454;
		white-space: nowrap;
		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: 3.4vw;
			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: 55% 5% 20%;
	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: 50px solid transparent;
		bottom: -50px;
		left: 0;
		z-index: 1;
	}
	#read div.read_txt {
		margin: 0 auto;
		padding: 0;
	}
		#read div.read_txt p {
			margin: 1.2em auto 0;
			padding: 0;
			font-size: 3.8vw;
			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: 30%;
		height: auto;
		top: 3em;
		left: 1%;
	}
	#read img.img2 {
		width: 25%;
		height: auto;
		top: 41em;
		left: 5%;
		z-index: 1;
	}
	#read img.img3 {
		width: 50%;
		height: auto;
		top: 42em;
		right: 0;
	}
	#read div.youtube {
		width: 100%;
		height: 13.0em;
		margin: 70% 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: 100%;
	margin: 0 auto;
	padding: 30% 3.5% 20%;
}
	#message h2 {
		margin: 0 auto;
		padding: 0;
		font-size: 4.0vw;
		line-height: 200%;
		font-weight: var(--weight-nomal);
		color: #A98000;
	}
	#message h3 {
		margin: 0.1em auto 0;
		padding: 0;
		font-size: 14vw;
		line-height: 120%;
		font-weight: var(--weight-nomal);
		font-family: "Cormorant Garamond", serif;
		font-optical-sizing: auto;
	}
	#message div.meg_cont {
		margin: 15% auto 0;
		padding: 0;
		display: flex;
		flex-direction: column-reverse
	}
		#message div.meg_cont .img {
			width: 70%;
			margin: 8% auto 0;
			padding: 0;
		}
			#message div.meg_cont .img img {
				width: 100%;
				height: auto;
			}
			#message div.meg_cont .img span {
				display: inline-block;
				margin: 0.5em auto 0;
				padding: 0;
				font-size: 3.6vw;
				line-height: 200%;
			}
		#message div.meg_cont p {
			margin: 1em 0 0;
			padding: 0;
			font-size: 3.8vw;
			line-height: 240%;
			text-align: left;
			font-family: "Noto Serif JP", serif;
		}
			#message div.meg_cont p:first-of-type {
				margin-top: 0;
			}

/* 睦屋の歩み */
#history_ttl {
	width: 100%;
	height: 20em;
	margin: 0 auto;
	padding: 0;
	background: url(../images/common/history_ttl_bg_sp.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: 4.0vw;
		line-height: 200%;
		font-weight: var(--weight-nomal);
		color: #C7AF72;
	}
	#history_ttl h3 {
		margin: 0.1em auto 0;
		padding: 0;
		font-size: 14vw;
		line-height: 120%;
		font-weight: var(--weight-nomal);
		font-family: "Cormorant Garamond", serif;
		font-optical-sizing: auto;
		color: #fff;
	}
	#history_ttl h4 {
		margin: 2.5em auto 0;
		padding: 0;
		font-size: 4.2vw;
		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 3.5%;
	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: 50px solid transparent;
		bottom: -50px;
		left: 0;
		z-index: -1;
	}
#history2 {
	width: 100%;
	margin: 0 auto;
	padding: 0 3.5% 60%;
	background: url(../images/common/history2_bg_sp.jpg) bottom center / 100% auto no-repeat;
}
	div.history_cont {
		width: 100%;
		margin: 0 auto;
		padding: 0;
	}
		div.history_cont dl {
			width: 100%;
			margin: 0 auto;
			padding: 0;
			position: relative;
		}
		div.history_cont dl {
			width: 100%;
			margin: 0 auto;
			padding: 0 0 5em;
			position: relative;
		}
			div.history_cont dl:first-of-type {
				padding-top: 5em;
			}
			#history2 div.history_cont dl:first-of-type {
				padding-top: 10em;
			}
			div.history_cont dl:after {
				position: absolute;
				content: '';
				display: block;
				width: 1px;
				height: 100%;
				margin: 0;
				padding: 0;
				background: #BAA767;
				top: 1.3em;
				left: 3px;
				z-index: 2;
			}
			#history1 div.history_cont dl:last-of-type:after {
				height: calc(100% + 10em);
			}
			#history1 div.history_cont dl:first-of-type:before {
				position: absolute;
				content: '';
				display: block;
				width: 1px;
				height: 6.3em;
				margin: 0;
				padding: 0;
				background: #F9F9F9;
				top: 0;
				left: 3px;
				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: 105%;
				margin: 0;
				padding: 0 0 0 4%;
				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: 1.3em;
					left: 0;
				}
				div.history_cont dl dt h5 {
					display: inline-block;
					margin: 0;
					padding: 0;
					font-size: 6.0vw;
					line-height: 160%;
					font-weight: var(--weight-nomal);
					text-align: left;
				}
				div.history_cont dl dt p {
					display: inline-block;
					margin: 0 0 0 0.5em;
					padding: 0;
					font-size: 5.0vw;
					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: 2em 0 0 10%;
			}
				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% / 2) - 1px);
						margin: 0 1px 1px 0;
						padding: 0;
					}
						div.history_cont dl dd ul li a {
							display: block;
							width: 100%;
							height: 13em;
							margin: 0;
							padding: 0;
							position: relative;
							transition: 0.2s linear;
						}
							div.history_cont dl dd ul li a img {
								display: block;
								width: 100%;
								height: 13em;
								margin: 0;
								padding: 0;
								object-fit: cover;
								transition: 0.2s linear;
							}
							div.history_cont dl dd ul li a div {
								position: absolute;
								width: 100%;
								height: 100%;
								margin: 0;
								padding: 0 0 0 5%;
								display: flex;
								flex-direction: column;
								justify-content: center;
								align-items: flex-start;
								background: rgba(0,0,0,0.5);
								top: 0;
								left: 0;
							}
									div.history_cont dl dd ul li a div p {
										height: 5em;
										margin: 0;
										padding: 0;
										font-size: 3.4vw;
										line-height: 200%;
										color: #fff;
										text-align: left;
									}
									div.history_cont dl dd ul li a div span {
										display: block;
										width: 60%;
										margin: 2em 0 0;
										padding: 0.6em 5%;
										font-size: 3.4vw;
										line-height: 120%;
										color: #333;
										background: #BAA767;
									}

				div.history_cont dl dd div.current {
					width: 100%;
					margin: 0 0 0 0;
					padding: 0;
					list-style: none;
					display: flex;
					flex-wrap: wrap;
				}
					div.history_cont dl dd div.current h6 {
						width: 100%;
						margin: 0;
						padding: 0;
						font-size: 4.4vw;
						line-height: 200%;
						font-weight: var(--weight-nomal);
						text-align: left;
						color: #AB8F45;
					}
					div.history_cont dl dd div.current p {
						width: 100%;
						margin: 1em 0 0;
						padding: 0;
						font-size: 3.6vw;
						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: 2em;
						}

/* 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%;
	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;
	flex-direction: column;
	width: 100%;
}

div.modal#history div.historyMain div.left {
	width: 100%;
}
	div.modal#history div.historyMain div.left p.img {
		width: 100%;
	}
		div.modal#history div.historyMain div.left p.img img {
			width: 100%;
			height: auto;
		}

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

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

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

div.modal#history div.historyMain p.link {
	margin: 0.5em 0 0;
	padding: 0;
	font-size: 3.6vw;
	line-height: 200%;
	text-align: left;
	font-family: "Noto Serif JP", serif;;
}
div.modal#history div.historyMain p.link a {
	background: #B9A666;
	text-decoration: none;
	color: #fff;
	margin-top: .5em;
	text-decoration: none;
	padding: .5em;
}

div.modal#history div.btnWrap {
	margin: 1px 0 0 auto;
	width: 161px;
	display: flex;
	justify-content: flex-end;
}

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

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

div.modal button.btnHistoryClose {
	margin: 0 0 1px auto;
	width: 45px;
	height: 45px;
}

/* NEXT STAGE */
#next_stage {
	width: 100%;
	margin: 0 auto;
	padding: 18% 3.5% 20%;
	position: relative;
}
	#next_stage h2 {
		opacity: 0;
		position: absolute;
		display: inline-block;
		margin: 0;
		padding: 0;
		font-size: 10.4vw;
		line-height: 100%;
		color: #F4F4F4;
		font-family: "Cormorant Garamond", serif;
		font-optical-sizing: auto;
		font-weight: var(--weight-nomal);
		top: 0;
		right: 0;
	}
		#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: 100%;
		margin: 8% 0 0;
		padding: 0;
		display: flex;
		flex-direction: column;
	}
		#next_stage .img img {
			width: 100%;
			height: auto;
			margin: 0;
			padding: 0;
		}
	#next_stage .txt {
		width: 100%;
		margin: 0;
		padding: 0;
		text-align: left;
	}
		#next_stage .txt h3 {
			margin: 0;
			padding: 0;
			font-size: 4.4vw;
			line-height: 200%;
			font-weight: var(--weight-nomal);
			color: #AB8F45;
		}
		#next_stage .txt p {
			margin: 1em 0 0;
			padding: 0;
			font-size: 3.8vw;
			line-height: 200%;
			text-align: left;
			font-family: "Noto Serif JP", serif;
		}
			#next_stage .txt p:first-of-type {
				margin-top: 2em;
			}






