@charset "utf-8";

/*-------------------------------
	鎌ケ谷巧業の歴史
-------------------------------*/

.History-wrap{
	padding-top: var(--padding-topbottom);
	width: 100%;
	position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
.History__image-wrap{
	width: 50%;
	height: 100svh;
	position: sticky;
	top: 0;
}
.History__image{
	width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    overflow: hidden;
}
.History__image img{
	transition-timing-function: var(--transition-easing);
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.2);
}

.History-wrap__inner{
	width: 50%;
}

.History{
	width: 100%;
	padding-top: 0;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	flex-wrap: wrap;
}
.History__inner{
	/* padding-bottom: var(--padding-topbottom);
	padding-left: var(--padding-leftright);
	width: 50%;
	display: flex;
	align-items: flex-start;
	justify-content: flex-end;
	flex-wrap: wrap; */
	padding-left: var(--padding-leftright);
	padding-right: var(--padding-leftright);
	width: 100%;
	height: 100%;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	flex-direction: column;
}
.History__body{
	/* width: calc(var(--maxwidth-number) / 2);
	padding-right: 2.5rem; */
	width: calc(var(--maxwidth-number) / 2);
	max-width: 58.3rem;
	padding-left: 2.5rem;
}
.History-header{
	width: 100%;
	margin-bottom: 20rem;
	position: relative;
}
.History-header__title{
	font-size: 4rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: .01em;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
}
.History-header__year{
	width: fit-content;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
.History-header__year-number{
	text-shadow:1px 1px 0 var(--maincolor),-1px 1px 0 var(--maincolor),1px -1px 0 var(--maincolor),-1px -1px 0 var(--maincolor);
	font-family: var(--en);
	font-size: 20rem;
	padding-bottom: .8rem;
	font-weight: 600;
	line-height: .7;
	letter-spacing: -.022rem;
	color: #e5e5e5;
	display: block;
}
.History-header__year-arrow{
	border: 1px solid var(--maincolor);
	width: 10rem;
	height: 10rem;
	border-radius: 50%;
	margin-top: 4rem;
	margin-bottom: 4.8rem;
	align-self: flex-end;
	display: flex;
	align-items: center;
	justify-content: center;
}
.History-header__year-arrow span{
	width: 4.8rem;
	height: 5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}
.History-header__year-arrow span::before,
.History-header__year-arrow span::after{
	content: "";
	display: block;
}
.History-header__year-arrow span::before{
	background: var(--maincolor);
	width: 1px;
	height: 5rem;
}
.History-header__year-arrow span::after{
	border-right: 1px solid var(--maincolor);
	border-bottom: 1px solid var(--maincolor);
	width: 3.4rem;
	height: 3.4rem;
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translate(-50%,-.6rem) rotate(45deg);
}
.History-message__title{
	margin-bottom: 4rem;
}
.History-message__text{
	width: 100%;
	font-size: 1.8rem;
	padding-left: 5rem;
	font-weight: 400;
	text-align: justify;
}
/* .History__image{
	width: 50%;
	height: 100vh;
	padding-left: 2.5rem;
	position: sticky;
	top: 0;
}
.History__image img{
	width: 100%;
	height: 100%;
	object-fit: cover;
} */
.History-table{
	margin-top: 18rem;
}
.History-table__item{
	width: 100%;
	min-height: 10rem;
	padding-top: .8rem;
	padding-bottom: .8rem;
	border-bottom: 1px solid #ccc;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}
.History-table__item-title{
	font-family: var(--en);
	width: calc(100% - 42.5rem);
	font-size: 3rem;
	font-weight: 600;
	letter-spacing: .026em;
}
.History-table__item-body{
	width: 42.5rem;
}
.History-table__item-text{
	font-size: 1.4rem;
	letter-spacing: .05em;
	font-weight: 400;
}

.History__future{
	margin-top: var(--padding-topbottom);
	padding-bottom: var(--padding-topbottom);
}
.History__futureInner{
	display: block;
}
.History__future img{
	width: 100%;
}

#History1{
	padding-top: 0;
}
#History5{
	align-items: center;
}
#History5 .History__inner{
	padding-bottom: 0;
}

@media screen and (min-width:769px) , print{

	.History__image{
		transition: var(--transition);
	}

}
@media screen and (max-width:1380px) and (min-width: 769px){

	.History__body{
		width: 100%;
		padding-left: 0;
	}

}
@media screen and (max-width:1240px) and (min-width: 769px){

	/* .History__inner{
		width: 55%;
	}
	.History__body{
		width: 100%;
	}
	.History__image{
		width: 45%;
		height: 55.8rem;
	} */

}
@media screen and (max-width:1100px) and (min-width: 769px){

	.History-header__title{
		font-size: 3rem;
	}
	.History-header__year-number{
		font-size: 15rem;
	}
	.History-header__year-arrow{
		width: 7.5rem;
		height: 7.5rem;
		margin-top: 3rem;
		margin-bottom: 3.6rem;
	}
	.History-header__year-arrow span{
		width: 3.6rem;
		height: 4rem;
	}
	.History-header__year-arrow span::before{
		height: 4rem;
	}
	.History-header__year-arrow span::after{
		width: 2.6rem;
		height: 2.6rem;
	}
	.History-table__item{
		padding-top: 2.5rem;
		padding-bottom: 2.2rem;
		flex-direction: column;
		justify-content: center;
	}
	.History-table__item-title{
		width: 100%;
		line-height: 1;
		margin-bottom: .5rem;
	}
	.History-table__item-body{
		width: 100%;
	}

}
@media screen and (max-width:960px) and (min-width: 769px){
	
	.History-message__text{
		padding-left: 0;
	}

}
@media screen and (max-width:768px){

	.History-wrap{
		padding-top: 10rem;
	}
	.History-wrap__inner{
		width: 100%;
	}
	.History__inner{
		width: 100%;
		justify-content: flex-start;
	}
	.History__body{
		width: 100%;
		max-width: 100%;
		padding-left: 0;
	}
	.History-header{
		width: 100%;
		margin-bottom: 9rem;
		position: relative;
		display: flex;
		align-items: center;
		justify-content: space-between;
	}
	.History-header__inner{
		width: calc(50% + 2.5rem);
		position: relative;
	}
	.History-header__title{
		font-size: 4rem;
		letter-spacing: .01em;
	}
	.History-header__year-number{
		font-size: 13.5rem;
		padding-bottom: .6rem;
		letter-spacing: .01em;
	}
	.History-header__year-arrow{
		margin-top: 3rem;
		margin-bottom: 4rem;
	}
	.History-header__year-arrow span::after{
		width: 3.5rem;
		height: 3.5rem;
	}
	.History-message__title{
		margin-bottom: 4rem;
	}
	.History-message__text{
		font-size: 2.8rem;
		padding-left: 8rem;
	}
	.History__image{
		width: calc(50% - 2.5rem);
		max-width: 31rem;
		height: 40.8rem;
		padding-left: 0;
		position: static;
		overflow: visible;
	}
	.History__image img{
		width: calc(100% + var(--padding-leftright));
		transform: scale(1);
	}
	.History-table{
		margin-top: 8rem;
		padding-left: 8rem;
	}
	.History-table__item{
		min-height: auto;
		padding-top: 6rem;
		padding-bottom: 4.2rem;
		flex-direction: column;
	}
	.History-table__item:first-child{
		border-top: 1px solid #ccc;
	}
	.History-table__item-title{
		width: 100%;
		font-size: 6rem;
		margin-bottom: 1rem;
		line-height: .7;
		padding-bottom: .2rem;
		letter-spacing: .05em;
	}
	.History-table__item-body{
		width: 100%;
	}
	.History-table__item-text{
		font-size: 2.8rem;
		line-height: calc(4 / 2.8);
	}

	#History5 .History__body{
		padding-bottom: 3rem;
	}
	#History5 .History__image{
		margin-left: 8rem;
	}
	#History5 .History__image img{
		width: 100%;
	}

	.History__future{
		margin-top: 5rem;
	}
	.History__futureInner{
		padding-left: 8rem;
	}
	.History__futureInner img{
		width: calc(100% + var(--padding-leftright));
	}

}