@charset "utf-8";

.sp {
	display: none;
}

#topmessage .topmessage-title-box {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 300px;
	overflow: hidden;
	background-image: url(images/sdgs_img.jpg);
	background-size: 100% auto;
	background-position: top 55% center;
	margin: 4rem auto;
}

#topmessage .topmessage-title-box h2 {
	width: 100%;
	height: auto;
	text-align: center;
	padding: 2rem;
	background-color: rgba(0,0,0,0.15);
	font-size: 3rem;
	letter-spacing: 0.5rem;
	color: #fff;
}

.main-inner h3 {
	text-align: center;
        margin: 8rem auto 4rem;
	font-size: 3rem;
	font-weight: bold;
}

.main-contents {
        width: 1200px;
        margin: 0 auto;
	text-align: justify;
}

.main-message {
        margin: 4rem auto;
}

.main-message p {
	margin-bottom: 1.5rem;
}

.declaration-date {
	text-align: right;
}

.sdgs-img-box {
        width: 68%;
        margin: 0 auto;
}

.sdgs-img,
.sdgs-ico {
        width: 100%;
}

.sdgs-contents {
        margin: 4rem auto;
}

.sdgs-flex {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        width: 1200px;
        margin: 0 auto;
}

.sdgs-bgc {
        padding: 8rem 0;
}

.sdgs-bgc:nth-child(even) {
        background-color: #f7f7f7;
}

.sdgs-contents-img {
        width: 30%;
}

.ico-flex {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: space-between;
}

.ico-style {
        width: 24%;
}

.ico-flex::before{
	content:"";
	display: block;
	width:24%;
	order:1;
}

.ico-flex::after{
	content:"";
	display: block;
	width:24%;
}

.sdgs-ico-style {
        width: 49%;
}

.sdgs-contents-text {
        width: 68%;
        padding: 0 0 0 4rem;
}

.sdgs-contents-text h3 {
	margin: 1rem auto 2rem;
	font-size: 2.5rem;
	font-weight: bold;
}

.attempt {
	margin-top: 2rem;
	list-style-position: inside;
}

.SDGs-text-box {
	width: 1200px;
        margin: 0 auto;
	padding: 2rem;
	border: 1px solid #999999;
}

.SDGs-text-box h4 {
	font-size: 2rem;
}

.SDGs-Goals-box {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
}

.SDGs-Goals-box-left {
	width: 80%;
}

.SDGs-Goals-box-right {
	width: 18%;
}

.SDGs-Goals-box-right img {
	width: 100%;
}

@media only screen and (max-width: 768px) {
.sp {
	display: block;
}

/* ----------  ドロップダウンメニュー ---------- */

.top-title {
        width: 100%;
}

.top-title-box {
        margin-top: 1rem;
}

.top-title-box span.en {
        color: #999999;
        font-size: 2rem;
}

.top-title-box h2,
.top-title-box span.jp {
        font-size: 2.4rem;
        font-weight: bold;
}

.top-navi {
        width: 100%;
}

.top-navi li::before {
        display: none;
}

.content-top-body {
	display: flex;
	flex-direction: column;
}

.content-top-body .top-navi {
	order: 2;
	margin-top: 0;
}

.content-top-body .page-title {
	order: 3;
	margin: 0 auto;
	margin-top: 2rem;
}

.top-navi ul.navi2 {
	margin-top: 0;
}

#topmessage .topmessage-title-box {
	height: 20rem;
	background-size: cover;
	margin: 0 auto;
}

.main-inner h3 {
	margin: 1rem auto;
	font-size: 2rem;
}

.main-contents,
.SDGs-text-box {
        width: 94%;
}

.main-message {
	width: 100%;
	text-align: left;
}

.sdgs-img-box {
        width: 100%;
}

.sdgs-flex {
	flex-direction: column;
	width: 94%;
}

.sdgs-bgc {
	padding: 2rem 0;
}

.sdgs-contents-img {
        width: 100%;
	margin-top: 1.5rem;
	order: 1;
}

.sdgs-contents-text {
        width: 100%;
        padding: 0;
}

.sdgs-contents-text h3 {
	margin: 1rem auto 2rem;
	font-size: 1.8rem;
}

.ico-flex {
	justify-content: space-between;
}

.ico-style:last-child {
        margin-right: 0;
}

.SDGs-Goals-box {
	display: block;
}

.SDGs-Goals-box-left {
	margin-bottom: 1rem;
}

.SDGs-Goals-box-left,
.SDGs-Goals-box-right {
	width: 100%;
}

}

