@charset "utf-8";

/* 基本設定 */

@font-face {
	font-family: 'nichiufont';
	font-style: normal;
	src: url('../font/nichiu.eot'); /* IE9 Compat Modes */
	src: url('../font/nichiu.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
	url('../font/nichiu.woff') format('woff'), /* Modern Browsers */
	url('../font/nichiu.ttf')  format('truetype'); /* Safari, Android, iOS */
}

html,body {
	height: 100%;
}

html {
	font-size: 16px;
}

body {
	width: 100%;
	background: #F9F3F3;
	color: #55595A;
	font-family: 'nichiufont','Lucida Grande','Hiragino Kaku Gothic ProN', Meiryo, "メイリオ", sans-serif;
}

a {
	text-decoration: none;
	color: rgb(60,166,250)
}

/* ヘッダー部分 */

header {
	display: flex;
	display: -webkit-flex;
	display: -ms-flexbox;
	justify-content: space-between;
	-webkit-justify-contet: space-between;
	position: fixed;
	top: 0;
	width: 100%;
	height: 80px;
	margin: 0;
	padding: 0;
	background: #EEE;
	z-index: 20;
}

 header::before {
	display: block;
	content: " ";
	width: 0px;
	border-right: 20px solid rgba(247,72,78,1);
	border-left: 20px solid #FFF;
}

header::after {
	display: block;
	content: " ";
	width: 0px;
	border-right: 20px solid #F3DE21;
	border-left: 20px solid #3CA6FA;
	}

header h1 {
	width: 100%;
	padding-left: 1rem;
	font-size: 1.4rem;
	letter-spacing: 12px;
}

/* グローバルナビゲーション */
header nav {
	width: 500px;
}

#main-nav {
	display: flex;
	display: -webkit-flex;
	display: -ms-flexbox;
	justify-content: space-between;
	flex-wrap: wrap;
	width: 100%;
	margin: 20px 0 0 0;
	padding: 0;
	border-radius: 3px;
}

#main-nav li {
	padding: 0;
	border: 2px solid #ccc;
	border-radius: 5px;
	background: #FFFFFF;
	font-size: 12px;
	text-align: center;
}

#main-nav a {
	display: block;
	width: 40px;
	height: 16px;
	margin: 0;
	padding: 3px;
	color: #626154;
	line-height: 1.7;
	text-decoration: none;
}

#main-nav li:hover {
	transition: all 0.8s 0.1s;
	background: rgba(247,72,78,1);
	color: #FFF;
	box-shadow: inset 0 0 0 3px #ddd;
}

#main-nav a[href="#"] {
	border: 2px solid #3CA6FA;
	border-radius: 5px;
	background: #f3de21;
}

#main-nav li:nth-of-type(5) {
	width: 80px;
	background: #f3de21;
	border-color: #3ca6fa;
}

#main-nav li {
	list-style-type: none;
}

.navIcon {
	display: none;
}

/* カバーページのみ */

#cover {
	display: grid;
	grid-template-columns: 50px 1fr 1fr 50px;
	grid-template-rows: 80px 1fr 2rem;
}

#cover header {
	grid-column: 1 / 5;
	grid-row: 1 / 2;
}

#cover-contents {
	display: flex;
	display: -webkit-flex;
	display: -ms-flexbox;
	grid-column: 1 / 5;
	grid-row: 2 / 3;
	position: relative;
	/* top: 60px; */
	width: 100%;
	width: 50%\9;/* ie10???O??*/
	height: 100%;
	min-height: 100%;
	z-index: 10;
}

#cover-contents section {
	position: relative;
	margin: 0 auto;
	background: #FFF;
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none){
	#cover-contents section {
		width: 500px;
	}
}
#cover-contents section:nth-child(1) {
	background: url(../images/logo.svg) right -50px  bottom / 100px no-repeat , url(../images/bg-japan.jpg) center center / cover no-repeat fixed;
	width: 100%;
}

#cover-contents section:nth-child(2) {
	background: url(../images/logo.svg) left -50px  bottom / 100px no-repeat ,url(../images/bg-ukraine.jpg) center center / cover no-repeat fixed;
	width: 100%;
}

@media only screen and (max-width: 767px) {
	#cover-contents section:nth-child(1) {
		background: url(../images/logo.svg) right -50px  bottom / 100px no-repeat, url(../images/mobile-bg-japan.jpg) / cover;
	}
	#cover-contents section:nth-child(2) {
		background: url(../images/logo.svg) left -50px  bottom / 100px no-repeat, url(../images/mobile-bg-ukraine.jpg) / cover;
	}
}

#cover-contents section:nth-child(1) h2,#cover-contents section:nth-child(2) h2 {
	box-sizing: border-box;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 140px;
	height: 3em;
	margin: auto;
}

#cover-contents section:nth-child(1) h2{
	background-color: rgba(255,255,255,0.6);
	color: rgba(247,72,78,1);
	text-shadow: 1px 0px 0px rgba(255,255,255,1), 0px 1px 0px rgba(255,255,255,1), -1px 0px 0px rgba(255,255,255,1), 0px -1px 0px rgba(255,255,255,1);
	text-align: center;
}

#cover-contents section:nth-child(2) h2{
	background-color: rgba(60,166,250,0.4);
	color: rgba(243,222,33,1);
	text-shadow: 1px 0px 0px rgba(60,166,250,1), 0px 1px 0px rgba(60,166,250,1), -1px 0px 0px rgba(60,166,250,1), 0px -1px 0px rgba(60,166,250,1);
	text-align: center;
}

#cover-contents  section:nth-child(1) a {
	position: absolute;
	top: 0.9em;
	right: 0;
	left: 0;
	margin: auto;
	text-decoration: none;
	color: rgba(247,72,78,1);
}

#cover-contents  section:nth-child(2) a {
	position: absolute;
	top: 0.9em;
	right: 0;
	left: 0;
	margin: auto;
	text-decoration: none;
	color: rgba(243,222,33,1);
}

#cover footer {
	grid-column: 1 / 5;
	grid-row: 3 / 4;
}

/* フッター部分 */

footer {
 	position: fixed;
	bottom: 0;
	width: 100%;
	height: 2rem;
	margin: 0;
	padding: 0;
	background: #EEE;
	text-align: left;
	z-index: 20;
}

footer p {
 	position: relative;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	margin: 0;
	padding: 0 2rem;
	font-size: 0.8rem;
}

/* トップページコンテンツ */

#top-contents {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	width: 80%;
	width: 30%\9;/* ie10用の設定 */
	margin: 60px auto 0 auto;
	margin: 60px auto 0 3%\9;/* ie10用の設定 */
}

#top-contents section {
	-webkit-flex: 1;
	flex-grow: 1;
	width: 100%;
	padding: 10px;
}

/* トップページコンテンツの見出し */

#top-contents h2 {
	box-sizing: border-box;
	width: 100%;
	height: 3.5rem;
	margin: 20px auto;
	position: relative;
	padding: 5px;
	border: 1px solid rgb(247,72,78);
	text-align: center;
	line-height: 2.2;
	font-size: 1.2rem;
}

#top-contents h2::before{
	content:" ";
	position: absolute;
	top: -8px;
	left: -1px;
	width: 50px;
	border-width: 0 12px 8px 0;
	border-style: solid;
	border-color: transparent;
	border-bottom-color: rgb(247,72,78);
}
#top-contents a {
	color: rgb(247,72,78);
	text-decoration: none;
}

/* トップページコンテンツの文章 */

#top-contents p {
	box-sizing: border-box;
	width: 100%;
	margin: 0 auto;
	padding: 5px;
	line-height: 1.7;
	letter-spacing: 2px;
}

/* トップページコンテンツのsvgアイコンの設定 */
.svg-icon {
	display: block;
	width: 100%;
	height: 8em;
	margin: 0 auto;
}

.svg-icon path,
.svg-icon polygon,
.svg-icon rect {
	fill: rgb(247,72,78);
}

.svg-icon circle {
	stroke: rgb(247,72,78);
	stroke-width: 1;
}

/* トップページコンテンツのギャラリーの設定 */

aside h3 {
	box-sizing: border-box;
	width: 150px;
	margin: 10px auto;
	position: relative;
	padding: 5px;
	border: 2px solid rgb(60,166,250);
	font-size: 0.9rem;
	color: rgb(243,222,33);
	text-align: center;
	text-shadow: 2px 2px 1px rgb(60,166,250),-2px 2px 1px rgb(60,166,250),2px -2px 1px rgb(60,166,250),-2px -2px 1px rgb(60,166,250);
}

aside h3::before{
	content:" ";
	position: absolute;
	top: -8px;
	left: -2px;
	width: 30px;
	border-width: 0 8px 6px 0;
	border-style: solid;
	border-color: transparent;
	border-bottom-color: rgb(60,166,250);
}

aside h3 .svg-icon {
	display: block;
	position: absolute;
	top: 2px;
	left: 5px;
	width: 2em;
	height: 2em;
}

aside h3 .svg-icon path,
aside h3 .svg-icon polygon,
aside h3 .svg-icon rect {
	fill: rgb(60,166,250);
}

aside h3 .svg-icon circle {
	stroke: rgb(60,166,250);
	stroke-width: 1;
}

.gallery {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content: space-between;
	-moz-justify-content: space-between;
	-ms-justify-content: space-between;
	justify-content: space-between;
	width: 80%;
	margin: 30px auto 30px;
}
/* 
@media screen and (max-width: 700px) {
	.gallery {
		flex-direction: column;
	}
}
 */

 /* 国家コンテンツのスタイル */

 .kokka {
	 height: 25rem;
	 width: 100%;
 }

 .kokka p {
	 text-align: center;
 }
 /* トップページコンテンツにある動画　*/

 .movie-wrap {
	 margin: 50px auto;
	 width: 80%;
 }

.movie-wrap div {
	position: relative;
	padding-bottom: 56.25%; /*アスペクト比 16:9の場合の縦幅*/
	height: 0;
	overflow: hidden;
}

.movie-wrap div iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* トップページの緊急声明 */

#kinkyuseimei {
	background-color: rgb(236, 238, 236);
	border-bottom: 5px solid rgb(252, 252, 252);
	border-left: 5px solid rgb(247,72,78);
	border-right: 5px solid rgb(243,222,33);
	border-top: 5px solid rgb(60,166,250);
	margin: 50px auto;
	padding: 1rem;
	position: relative;
	top: 50px;
	width: 80%;
}

#kinkyuseimei > p:nth-of-type(4), #kinkyuseimei > p:nth-of-type(5) {
	text-align: right;
}

/* トップページの募金案内 */

.bokin {
	background-color: rgb(236, 238, 236);
	border-bottom: 5px solid rgb(252, 252, 252);
	border-left: 5px solid rgb(247,72,78);
	border-right: 5px solid rgb(243,222,33);
	border-top: 5px solid rgb(60,166,250);
	margin: 50px auto;
	padding: 1rem;
	position: relative;
	top: 50px;
	width: 80%;
}

.bokin figure img {
	width: 100%;
}

/* カイロプロジェクトの中の動画の設定 */

.bokin video {
	display: block;
	margin: 1rem auto;
}

.movie-yoko {
	width: 80%;
}

.movie-tate {
	width: 40%;
}

/* カイロプロジェクトの中の写真の設定 */

.bokin-sasie {
	text-align: center;
}

.bokin-sasie img {
	width: 80%;
}

.movie-tate + .bokin-sasie {
	margin: 0 auto;
	width: 50%;
}

/* 国家 */

.kokka {
	padding-bottom: 3rem;
	text-align: center;
}

/* ページ上に戻るボタン設定 */
.pagetop {
	display: none;
	position: fixed;
	bottom: 40px;
	right: 1.4em;
	z-index: 50;
}

.pagetop a {
	display: block;
	width: 30px;
	height: 30px;
	padding: 10px;
	background-color: rgb(60,166,250);
	text-align: center;
	color: rgb(243,222,33);
	font-size: 20px;
	text-decoration: none;
	z-index: 50;
}

/* ページナビゲーションの設定 */
#sub-nav {
	position: relative;
	top: 80px;
	z-index: 10
}

#sub-nav ul{
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	position: relative;
	width: 90%;
	margin: 0 auto;
}

#sub-nav li {
	width: 100%;
	list-style-type: none;
	background: rgb(247,72,78);
}

/*#sub-nav li:not(:first-child){
	border-left: 3px solid rgb(60,166,250);
}
*/
#sub-nav a {
	display: block;
	height: 18px;
	margin: 0 2px;
	padding: 3px;
	color: #626154;
	font-size: 0.9em;
	text-align: center;
	text-decoration: none;
	background: #FFF;
	border-radius: 5px;
}

/* 内容の共通設定 */

#main-contents {
	position: relative;
	top: 80px;
	width: 1025px;
	min-height: 100%;
	margin: 0 auto;
	padding: 0 0 60px 0;
	background: #F9F3F3;
	z-index: 5;
	letter-spacing: 2px;
}

#main-contents section {
	position: relative;
	margin-bottom: 20px;
}

#main-contents a::after {
	display: inline;
	position: relative;
	right: -0.5rem;
	content: url("../images/link.svg");
}

#main-contents h2 {
	width: 90%;
	height: 4rem;
	margin-top: -30px;
	padding-top: 80px;
	padding-left: 2rem;
	font-size: 1.4rem;
}

#main-contents h2::before {
	display: block;
	content: " ";
	position: relative;
	top: -10px;
	left: -45px;
	width: 15px;
	height: 15px;
	border: 3px solid rgb(60,166,250);
	transform: rotate(-45deg);
	-webkit-transform: rotate( -45deg );
	-ms-transform: rotate( -45deg );
}

#main-contents h2::after {
	display: block;
	content: " ";
	position: relative;
	top: -55px;
	left: -35px;
	width: 102%;
	height: 60px;
	border-top: 3px solid rgba(243,222,33,1);
	border-left: 3px solid rgba(243,222,33,1);
}

#main-contents h3 {
	margin: 40px 0 40px 2rem;
	padding: 0.2rem 0 0.5rem 1.5rem;
	background: #f3de21; /* Old browsers */
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,#f3de21), color-stop(79%,#ffffff)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(left,  #f3de21 0%,#ffffff 70%); /* Chrome10+,Safari5.1+ */
	background: linear-gradient(to right,  #f3de21 0%,#f9f3f3 70%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f3de21', endColorstr='#ffffff',GradientType=1 ); /* IE6-9 */
}

#main-contents h3::before {
	display: block;
	content: " ";
	position: relative;
	width: 50px;
	height: 6px;
	top: 0rem;
	left: -2.5rem;
	background: rgba(60,166,250,0.4);
	transform: rotate(-45deg);
}

#main-contents dl,#main-contents p,#main-contents ul{
	width: 90%;
	margin-left: 2rem;
	line-height: 1.8;
}

#main-contents dl {
	line-height: 2;
}

#main-contents dt {
	font-weight: bold;
}

#main-contents table {
	width: 100%;
	margin: 50px auto;
}

#main-contents table caption {
	margin-bottom: 10px;
	font-weight: bold;
}

#main-contents table caption::before {
	display: block;
	content: " ";
	position: relative;
	top: 15px;
	left: -100px;
	width: 5px;
	height: 10px;
	border-right: 2px solid rgb(247,72,78);
	border-left: 2px solid rgb(247,72,78);
	transform: rotate(-45deg);
}

#main-contents table caption::after {
	display: block;
	content: " ";
	position: relative;
	top: -18px;
	left: 95px;
	width: 5px;
	height: 10px;
	border-right: 2px solid rgb(247,72,78);
	border-left: 2px solid rgb(247,72,78);
	transform: rotate(-45deg);
}

#main-contents dt{
	float: left;
	clear: left;
}

.sasiebun {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: flex;
}

.bunItem {
	flex-basis: 400px;
	margin: 0 auto 0 auto;
}

.sasie img{
	width: 300px;
}

.sasie::before{
	content: " ";
	display: block;
	width: 100px;
	height: 30px;
	position: relative;
	top: 10px;
	margin: auto;
	background: rgba(243,222,33,0.4);
	-webkit-box-shadow: 0px 1px 3px rgba(0,0,0,0.4);
	-moz-box-shadow: 0px 1px 3px rgba(0,0,0,0.4);
	box-shadow: 0px 1px 3px rgba(0,0,0,0.4);
	transform: rotate(-5deg)
}

.modoru {
	width: 100%;
	text-align: left;
	font-size: 1.2rem;
}

.modoru::before {
	display: inline-block;
	content: " ";
	position: relative;
	right: 10px;
	width: 10px;
	height: 10px;
	border-top: 2px solid rgb(247,72,78);
	border-left: 2px solid rgb(247,72,78);
	transform: rotate(-45deg);
}

.modoru::after {
	display: inline-block;
	content: " ";
	position: relative;
	right: 70px;
	width: 10px;
	height: 10px;
	border-top: 2px solid rgb(247,72,78);
	border-left: 2px solid rgb(247,72,78);
	transform: rotate(-45deg);
}

.modoru > a::after{
	display: inline-block;
	content: " ";
}

/* 協会の内容 */

#main-org {
}

/* 組織の内容 */

#member dl {
	margin: 30px 0 60px 0;
}

#member dt {
	width: 21rem;
	padding-left: 2rem;
	border-bottom: 1px dotted #fcb;
	background: rgb(241,248,255);
}

#member dd {
	width: 18rem;
	padding-left: 21rem;
	border-bottom: 1px dotted #fcb;
	background: rgb(255,250,233);
}

#location dd {
	padding-left: 4rem;
}

#location iframe {
	width: 640px;
	height: 400px;
	margin: 40px;
}

.mailat::after {
	content: '@nichiu.org'
}

/* 活動の内容 */

#nitteihyo tbody {
	border-top: 4px solid rgb(60,166,250);
	border-bottom: 4px solid rgb(60,166,250);
}

#nitteihyo td {
	padding: 10px 0;
	border-bottom: 2px solid rgb(243,222,33);
	line-height: 1.8;
}

#nitteihyo td:nth-child(1) {
	width: 4rem;
	text-align: center;
}

#nitteihyo td:nth-child(2) {
	width: 6rem;
	padding-left: 1rem;
}

#nitteihyo td:nth-child(3) {
	padding-left: 1rem;
}

#koenhyo th {
	padding-left: 1rem;
	text-align: left;
}

#koenhyo tbody tr {
	border-bottom: 2px dotted rgb(243,222,33);
	line-height: 2.5;
}

/* 活動記録の写真 */

#gallery-katsudokiroku {
	display: flex;
	flex-wrap: wrap;
}

#gallery-katsudokiroku img {
	max-width: 45%;
}

/* 活動の中のタイムライン */

#timeline {
	margin: 0 auto;
	background: #F9F3F3;
}

.cd-timeline-content h3 {
	margin: 0;
	background-color: #ffffff ;
	font-size: 0.9rem;
}

.cd-timeline-content h3::before {
	display: block;
	position: absolute;
	left: 10px;
	content: " ";
	width: 10px;
	height: 10px;
	border-top: 2px solid rgb(60,166,250);
	border-left: 2px solid rgb(243,222,33);
	transform: rotate(-60deg)
}

.cd-timeline-content h3::after {
	display: block;
	position: relative;
	top: -18px;
	left: -20px;
	content: " ";
	width: 10px;
	height: 10px;
	border-top: 2px solid rgb(60,166,250);
	border-left: 2px solid rgb(243,222,33);
	transform: rotate(120deg)
}

.timelinephoto {
	width: 100%;
}