@charset "UTF-8";

html {
	scroll-behavior: smooth;
	font-size: 62.5%;
}

body {
	color: #333333;
}

header {
	z-index: 10;
}

main{
	background: #fff;
	font-size: min(1.6rem, 1.171vw);
	padding-left: 0;
}

main .bg-col{
	background-color: #EDEDED;
}

main .bg-col2{
	background-color: #AFAFAF;
}

main .bg-wrap{
	max-width: 1040px;
	margin: 0 auto;
	padding-top: 45px;
	display: flex;
	justify-content: flex-start;
}

main .bg-wrap.pt140{
	padding-top: 140px;
}

main .bg-wrap .box1{
	width: 25%;
	padding-top: 10px;
}
main .bg-wrap .box2{
	width: 100%;
}

main .bg-wrap .box1 #sidebar{
	text-align: left;
}

main .bg-wrap .box1 #sidebar li{
	padding-bottom: 10px;
}

main .bg-wrap .box1 #sidebar a{
	color: #333333;
	font-family: "poppins", sans-serif;
	font-style: normal;
	font-size: 14px;
}
main .bg-wrap .box1 #sidebar a:hover{
	color: #E824C0;
	text-decoration: none;
}
main .bg-wrap .box1 #sidebar a:hover::after {
	content: '●';
	padding-left: 10px;
}

main .bg-wrap .box1 #sidebar.sticky{
	position: fixed;
	top: 10px;
}

/* サイドメニュー スクロール時に色変更 */
.col-scroll{
	color: #E824C0 !important;
}


@media screen and (max-width: 768px) {
	main{
		padding: 0;
	}

	main .bg-wrap {
		display: block;
		padding: 0 20px;
	}

	main .bg-wrap.pt140{
		padding-top: 0;
	}

	main .bg-wrap .box1{
		display: none;
	}  
}

/* -------------------
section01
------------------- */

#section01 {
	position: relative;
	text-align: left;
	padding-top: min(47.34%, 460px);
	background: linear-gradient(90deg, #4cbdee, #df72d6, #d0ed8d, #fafa92);
	background-size: 240% 1000%;
	animation: gradient-animation 10s ease infinite alternate;
}

#section01 h1{
	position: absolute;
	top: -10px;
	left: 32px;
	font-size: min(19.9rem, 14.568vw);
	color: transparent;
	background: linear-gradient(90deg, #a6def7, #efb8eb, #e8f6c6, #fdfdcc);
	-webkit-background-clip: text;
	background-clip: text;
	font-family: "poppins", sans-serif;
	font-weight: 600;
	font-style: normal;
	line-height: 1;
}

.history-intro {
	position: absolute;
	top: 42%;
	left: min(14%, 230px);
	color: #fff;
	font-size: min(1.8rem, 1.318vw);
	font-weight: 500;
	line-height: 50px;
	letter-spacing: 1.8px;
}


@media screen and (max-width: 768px) {
	#section01{
		padding-top: 380px;
	}
	#section01 h1{
		font-size: min(7rem, 18.667vw);
		top: 50px;
		left: 0;
	}
	#section01 ul{
		display: inline-block;
		width: 100%;
	}
	#section01 ul li{
		display: inline-block;
		width: 32%;
		font-size: 10px;
		margin-left: 0;
		margin-top: 5px;
	}
	.history-intro {
		top: 36%;
		left: 0;
		font-size: min(1.4rem, 3.733vw);
		line-height: 32px;
		padding: 0 15px;
	}
}

/* -------------------
section02
------------------- */

#section02.history-timeline {
	position: relative;
	box-sizing: border-box;
	width: calc(100% - 40px);
	max-width: 960px;
	margin: 0 auto;
	padding: 90px 0 160px 40px;
}

#section02.history-timeline::before {
	position: absolute;
	top: 118px;
	bottom: 110px;
	left: 0;
	width: 1px;
	background: linear-gradient(
		to bottom,
		#AFAFAF 0%,
		#AFAFAF calc(100% - 80px),
		rgba(255, 255, 255, 0) 100%
	);
	content: "";
}

.history-timeline__item {
	position: relative;
	display: grid;
	grid-template-columns: 180px minmax(0, 1fr);
	column-gap: 40px;
	align-items: start;
	min-height: 130px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.history-timeline__year::before {
	position: absolute;
	top: 50%;
	left: -44.5px;
	width: 10px;
	height: 10px;
	transform: translateY(-50%);
	border-radius: 50%;
	background-color: #E824C0;
	content: "";
}

.history-timeline__item--continuation {
	min-height: 140px;
}

.history-timeline__item--extra-gap {
	margin-bottom: 80px;
}

.history-timeline__item--continuation .history-timeline__year::before {
	display: none;
}

.history-timeline__year {
	position: relative;
	display: flex;
	align-items: center;
	color: #AFAFAF;
	font-family: "poppins", sans-serif;
	font-size: min(6rem, 4.392vw);
	font-weight: 500;
	line-height: 1;
}

.history-timeline__year-note {
	margin-left: 8px;
	font-size: min(2rem, 1.464vw);
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: 0;
}

.history-timeline__content {
	text-align: left;
	margin-top: -6px;
	padding-top: 0;
	color: #333;
	font-size: min(2rem, 1.464vw);
	font-weight: 500;
	line-height: 1.8;
	letter-spacing: 0.02em;
}

.history-timeline__content:not(:has(br)) {
	margin-top: 0;
	padding-top: 0.3em;
}

.history-timeline__date,
.history-timeline__milestone {
	color: #e824c0;
	font-weight: 600;
}

@media screen and (max-width: 768px) {
	#section02.history-timeline {
		width: calc(100% - 30px);
		padding: 60px 0 50px 25px;
	}

	#section02.history-timeline::before {
		top: 77px;
		bottom: 60px;
	}

	.history-timeline__item {
		grid-template-columns: 82px minmax(0, 1fr);
		column-gap: 16px;
		min-height: 100px;
	}

	.history-timeline__year::before {
		top: 50%;
		left: -28.5px;
		width: 9px;
		height: 9px;
	}

	.history-timeline__item--continuation {
		min-height: 75px;
	}

	.history-timeline__item--extra-gap {
		margin-bottom: 20px;
	}

	.history-timeline__item--sp-gap {
		margin-bottom: 30px;
	}

	.history-timeline__year {
		font-size: min(3.4rem, 9.067vw);
		line-height: 1;
	}

	.history-timeline__year-note {
		margin-left: 4px;
		font-size: min(1rem, 2.667vw);
	}

	.history-timeline__content {
		padding-top: 0;
		font-size: min(1.3rem, 3.467vw);
		line-height: 1.9;
	}

	.history-timeline__content:not(:has(br)) {
		padding-top: 5px;
	}
}



/* -------------------
footer
------------------- */

footer .wrap-contact .nav {
	font-size: 16px;
}
