/* 特設ページ　サスティナブル CSS　Ver.1.0.0 */

:root {
	--mainColor: rgba(21, 69, 0, 1.0);
	--mainColor_hover: rgba(42, 120, 0, 1.0);
}

.pankuzu {
	width: 100%;
	position: fixed;
	top: 48px;
	left: 0;
	z-index: -2;
}
#sustainable-header {
	width: 100%;
	position: fixed;
	top: 70px;
	left: 50%;
	transform: translateX(-50%);
	z-index: -1;
}
#sustainable-header h2 {
	font-size: 2.4rem;
	color: rgba(255, 255, 255, 1.0);
	text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
	position: absolute;
	top: 50%;
	left: 5%;
	transform: translateY(-50%);
}
#sustainable-index #sustainable-header h2 {
	font-family: 游明朝,"Yu Mincho",YuMincho,"Hiragino Mincho ProN","Hiragino Mincho Pro",HGS明朝E,メイリオ,Meiryo,serif;
}
#main-content {
	background-color: rgba(255, 255, 255, 1.0);
}

.sustainable-menu-item-wrap {
	align-items: center;
}
.sustainable-menu-item {
	width: 33.2%;
	text-align: center;
	background-color: var(--mainColor);
}
.sustainable-menu-item a, 
.sustainable-menu-item a:visited {
	width: 100%;
	padding: 1.5em 0.25em;
	color: rgba(255, 255, 255, 1.0);
	background-color: var(--mainColor);
	display: block;
	transition: 0.25s ease;
}
.sustainable-menu-item a:hover {
	background-color: var(--mainColor_hover);
}

.sustainable-sec {
	padding-top: 100px;
}
.sustainable-sec:last-child {
	padding-bottom: 100px;
}
.sustainable-sec h3 {
	margin-bottom: 8px;
	padding-bottom: 5px;
	font-size: 1.65rem;
	font-weight: bold;
	text-align: center;
	color: var(--mainColor);
	border-bottom: 1px solid rgba(0, 0, 0, 1.0);
}
.sustainable-sec-read {
	text-align: center;
}
.sustainable-conte {
	margin-top: 20px;
}
.sustainable-csr-link {
	font-size: 13px;
	text-decoration: underline;
	color: rgba(0, 0, 0, 0.75);
}

/* 投稿（Post）設定 */
.sustainable-loop {
	width: 100%;
}
.sustainable-post {
	width: 33.333%;
	padding: 30px 15px;
}
.sustainable-post > a:hover {
	opacity: 0.65;
	color: var(--mainColor_hover);
}
.sustainable-post-date {
	padding: 0.5em 0.5em 0.35em;
	line-height: 1.0;
	text-align: center;
	color: rgba(255, 255, 255, 1.0);
	background-color: var(--mainColor);
	display: block;
}
.sustainable-post h4 {
	font-weight: bolder;
}
.sustainable-post-ph {
	height: 224px;
	margin: 1px 0 8px;
	display: block;
	overflow: hidden;
	background-color: rgba(240, 240, 240, 1.0);
	position: relative;
}
.sustainable-post-ph img {
	width: auto;
	height: auto;
	max-height: 100%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.sustainable-post-text {
	margin-top: 5px;
	font-size: 12.5px;
}
/*
.txt-limit {
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	line-clamp: 3;
	-webkit-line-clamp: 3;
	max-height: calc(1.5em * 3);
}
*/
.txt-limit {
	position: relative;
	max-height: calc(1.5em * 3);/* 行間 x 行数 */
	overflow: hidden;
}
.txt-limit:after {
	content: ". . .";
	position: absolute;
	bottom: 0;
	right: 0;
	padding: 0 10px 0 1em;
	background: white; /* 背景色 */
}
.sustainable-post-permalink {
	margin-top: 10px;
}
.sustainable-post-permalink a, 
.sustainable-post-permalink a:visited {
	font-size: 11px;
	color: var(--mainColor);
}
.sustainable-post-permalink a:hover {
	color: var(--mainColor_hover);
}

/*-- Single Page ------------*/
.sust-single-post {
	padding-top: 100px;
	padding-bottom: 50px;
}
#sustainable-header h2 span {
	font-size: 0.65em;
	display: block;
}
.sust-single-post h3 {
	margin-bottom: 8px;
	padding: 0 15px 5px;
	font-size: 1.65rem;
	font-weight: bold;
	border-bottom: 1px solid rgba(0, 0, 0, 1.0);
}
.sust-single-post-date {
	font-size: 13px;
	color: rgb(90, 90, 90);
}
.sust-single-body {
	margin-top: 50px;
}
.sust-single-box {
	width: 50%;
	padding: 15px;
}
.sust-single-box.post-ph span {
	height: 280px;
	display: block;
	background-color: rgba(150, 150, 150, 1.0);
}
.sust-single-box p {
	font-size: 17px;
	line-height: 2.0;
}
.sust-single-box p:not(:first-child) {
	margin-top: 34px;
}
.sust-single-navi {
	padding-bottom: 100px;
}
.sust-single-navi-inner {
	padding-top: 10px;
	border-top: 1px solid rgba(0, 0, 0, 1.0);
}
.sust-single-navi-box {
	width: 32%;
}
.sust-single-navi a, 
.sust-single-navi a:visited {
	padding: 0.4em 0.65em 0.25em;
	color: rgba(255, 255, 255, 1.0);
	background-color: var(--mainColor);
	display: inline-block;
}
.sust-single-navi a:hover {
	background-color: var(--mainColor_hover);
}
.sust-single-navi-prev {
	border-radius: 20px 0 0 20px;
}
.sust-single-navi-next {
	border-radius: 0 20px 20px 0;
}



/*=================================
タブレット設定（768px〜1024px）
=================================*/
@media only screen and (max-width: 1024px) {

	.sustainable-post-ph {
		height: 186px;
	}

}


/*=================================
スマホ設定-1（〜767px）
=================================*/
@media only screen and (max-width: 767px) {

	#sustainable-header h2 {
		font-size: 7vw;
		line-height: 1.35;
		text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.75);
		top: 20px;
		transform: translateY(0);
	}
	#sustainable-header h2 span {
		padding-bottom: 5px;
	}
	#sustainable-menu-button {
		padding: 18px 5px 15px;
		font-weight: bold;
		text-align: center;
		color: rgba(255, 255, 255, 1.0);
		background-color: var(--mainColor_hover);
		border-top: 2px solid rgba(255, 255, 255, 1.0);
		border-bottom: 1px solid rgba(255, 255, 255, 1.0);
		position: relative;
		cursor: pointer;
	}
	#sustainable-menu-button::after {
		font-family: 'Material Icons';
		content: '\e145';
		font-size: 24px;
		font-weight: normal;
		position: absolute;
		top: 50%;
		right: 20px;
		transform: translateY(-50%);
	}
	#sustainable-menu-button.slide-down::after {
		content: '\e5cd';
	}
	.sustainable-menu-item {
		width: 100%;
		border-top: 1px solid rgba(255, 255, 255, 1.0);
	}
	.sustainable-menu-item a, 
	.sustainable-menu-item a:visited {
		width: 90%;
		margin: 0 auto;
		padding: 1.0em 0.25em;
	}
	.sustainable-menu-item a:hover {
		background-color: var(--mainColor);
	}
	.sustainable-loop {
		justify-content: space-between;
	}
	.sustainable-post {
		width: 48%;
		padding: 30px 0;
	}

	/*-- Single Page ------------*/
	.sust-single-post h3 {
		padding: 0 5px 5px;
		font-size: 1.35rem;
	}
	.sust-single-box {
		width: 100%;
		padding: 0;
	}
	.sust-single-box:not(:first-child) {
		margin-top: 40px;
	}
	.sust-single-box p {
		font-size: 16.5px;
		line-height: 2.0;
	}

}


/*=================================
スマホ設定-1（〜560px）
=================================*/
@media only screen and (max-width: 560px) {

	.sustainable-post {
		width: 100%;
	}
	.sustainable-post-ph {
		height: 274px;
	}

}
