@charset "utf-8";
/****** ヒストリーCSS ******/
/*========= pc 全画面(1280px～960px） ===============*/
#history{
	width: 100%;
	margin: 0px auto 0px auto;
	padding: 0px 0px 60px 0px;
}

/*=========　見出し　=========*/
#history .lead{
	width: 100%;
	text-align: center;
	background-color: #ffffff;
	padding: 160px 0px 40px 0px;
}
#history h2{
	font-size:2rem;
	line-height: 3.4rem;
	text-align: center;
	font-weight: normal;
}
#history h2 span.eng{
	font-size:4rem;
	font-weight: normal;
}
#history .historyLead{
	width: 80%;
	max-width: 640px;
	margin: 40px auto 0px auto;
	text-align: center;
}

/*=========　ヒストリー　=========*/
/* サイドバーPC */
#history .sidebarBox{
	display: none;
}
#history .sidebar {
	position:fixed;
	top:50%;
	margin:20px 20px 0 20px;
	transform:translateX(0) translateY(-50%);
	z-index:3;
	transition:transform 1s ease;
	overflow-x: hidden;
	overflow-y: hidden;
}
.start .fixed .none {
    opacity: 0;
    z-index: -1;
}
#history .sidebar:after {
	content:"";
	position:absolute;
	top:0;
	left:3px;
	width:4px;
	height:100%;
	background:#c6c6c6;
	opacity:.5;
	display:block;
	z-index: 0;
}
#history .sidebarList {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: calc(100% + 17px);
	overflow-y: scroll;
	height: 85vh;
	padding: 10px 0;
}
#history .sidebarItem {
	margin:0px 0px;
}
#history .sidebarLink {
	display:flex;
	align-items:center;
}
#history .sidebarIcon {
	margin-right:10px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background:#c6c6c6;
	display:block;
	transition:background .5s ease;
}
#history .sidebarText {
	color:#c6c6c6;
	font-size: 14px;
	line-height: 26px;
	transition:opacity .35s ease,transform .35s ease,color .35s ease;
	transform:translateX(0);
	opacity:1;
}
#history .sidebarItem:first-child {
	margin-top:-0.5em;
}
#history .sidebarItem:last-child {
	margin-bottom:-0.5em;
}
#history .sidebarBtn.is-active .sidebarIcon {
	background:#f96482;
	z-index: 2;
}
#history .sidebarBtn.is-active .sidebarText {
	font-size: 1rem;
	font-weight: bold;
	color:#f96482;
}

/* コンテンツ */
#history .historyContents{
	padding: 0px 0px 60px 0px;
}
#history .backImage {
	display: flex;
	position: relative;
}
#history .historyBox {
	width: 100%;
	margin: 0px 0px 20px 0px;
	padding: 200px 10px 60px 10px;
	display: flex;
	flex-direction: column;
	gap: 80px;
}
#history .historyBox .year {
	text-align: center;
}
#history .historyBox .year img {
	width: 30%;
	max-width: 380px;
	filter: drop-shadow(2px 6px 8px rgba(0,0,0,0.4));
}
#history .historyBox .itemBox{
	width: 70%;
	max-width: 800px;	
	margin: 0px auto 40px auto;
	display: flex;
	flex-direction: column;
	color: #ffffff;
}
#history .historyBox p.topic{
	font-size: 1.4rem;
	line-height: 1.6rem;
	background-color: rgba(42,33,21,0.8);
	padding: 5px 10px 3px 10px;
	margin: 5px 0px 10px 0px;	
}
#history .historyBox p.text{
	font-size: 1.0rem;
	padding: 10px 10px 20px 10px;
	filter: drop-shadow(2px 6px 6px rgba(0,0,0,1));
}
#history .historyBox img{
	width: 50%;
	height: auto;
	vertical-align: top;
	margin: 0 auto 0 auto;
}
#history #secEnd{
	padding: 0px 0px 500px 0px;
}
/* ヒストリー背景 */
#history .bg {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	opacity: 0;
	transition: all 0.5s ease 0s;
	z-index: -1;
}
#history .back-show .bg {
	opacity: 1;
}
#history .back1975 {
	background-image: url("../images/history_back_bee.jpg");
}
#history .back1990 {
	background-image: url("../images/history_back_chlorella.jpg");
}
#history .back2000 {
	background-image: url("../images/history_back_blueberry.jpg");
}
#history .back2010 {
	background-image: url("../images/history_back_marigold.jpg");
}
#history .back2020 {
	background-image: url("../images/history_back_manuka.jpg");
}


/*========= tablet_L（960px～768px） ===============*/
@media screen and (max-width:960px){
/* コンテンツ */
#history .historyBox p.topic{
	font-size: 1.2rem;
	line-height: 1.4rem;
}
#history .historyBox p.text{
	font-size: 1.0rem;
}
#history .historyBox img{
	width: 60%;
}
}

/*========= tablet_S（768px～480px） ===============*/
@media screen and (max-width:768px){
#history .historyLead{
	line-height: 1.6rem;
	text-align: left;
}
	
/* サイドバー */
#history .sidebar {
	margin:20px 4px 0 4px;
}
#history .sidebar:after {
	left:2px;
	width:4px;
	height:100%;
}
#history .sidebarIcon {
	margin-right:5px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background:#c6c6c6;
	display:block;
	transition:background .5s ease;
}
#history .sidebarText {
	color:#c6c6c6;
	font-size: 14px;
	line-height: 26px;
}
#history .sidebarText .spHide {
	display: none;
}
#history .sidebarBtn.is-active .sidebarIcon {
	background:#f96482;
	z-index: 2;
}
#history .sidebarBtn.is-active .sidebarText {
	font-size: 16px;
	font-weight: bold;
	color:#f96482;
}
	
/* コンテンツ */
#history .historyContents{
	padding: 0px 0px 40px 0px;
}
#history .historyBox {
	width: 92%;
	margin: 0px 0px 20px 35px;
	padding: 200px 0px 20px 10px;
	gap: 60px;
}
#history .historyBox .year img {
	width: 45%;
}
#history .historyBox .itemBox{
	width: 90%;
	margin: 0px auto 40px auto;
}
#history .historyBox p.topic{
	font-size: 1.2rem;
	line-height: 1.4rem;
}
#history .historyBox p.text{
	font-size: 1.0rem;
	padding: 10px 10px 20px 10px;
}
#history .historyBox img{
	width: 60%;
}
}

/*========= sp（480px～360px）===============*/
@media screen and (max-width:480px) {
/* コンテンツ */
#history .historyContents{
	padding: 0px 0px 40px 0px;
}
#history .historyBox {
	width: 88%;
	margin: 0px 0px 20px 35px;
	padding: 200px 0px 20px 10px;
	gap: 60px;
}
#history .historyBox .year img {
	width: 60%;
}
#history .historyBox .itemBox{
	width: 90%;
	margin: 0px auto 40px auto;
}
#history .historyBox p.topic{
	font-size: 1rem;
	line-height: 1.2rem;
}
#history .historyBox p.text{
	font-size: 0.9rem;
	padding: 10px 10px 20px 10px;
}
#history .historyBox img{
	width: 80%;
}
}
