/* CSS 遊ぶ学ぶコンクールページ */
/* ---------------------------------------------- */

/* コンクールのタイトル画像部分*/
.contest {
	max-width: 1280px;
	margin-left:auto;
	margin-right:auto;
    background-color: white;
	display:block;
	min-height: 0;
	text-align: center;
}

@media (max-width: 767px) {
.contest img  {
	width: 100%;
	padding: 0 10;
  }
}

/* ---------------------------------------------- */
/* ここからメインコンテンツ-------------------------- */

.main2 {
	max-width: 1280px;
	margin-left:auto;
	margin-right:auto;
    background-color: #fff;
}

.main2 .post {
	max-width: 1000px;
	margin-left:auto;
	margin-right:auto;
	text-align: center;
}

main2 .post p {/*  記事本文*/
	max-width: 700px;/*  左右幅小さめ*/
	margin-left:auto;
	margin-right:auto;
	padding-top: 10px;
	padding-bottom: 10px;	
	font-size: 100%;
	color: #3c3c3c;
	line-height: 1.8;
	text-align:justify;
}

/* 下ページのナビ-------------------------- */
.main2　.post .small-nav {
	padding-top:20px;
	text-align:center;
}

.main2 .post .small-nav p {
	color: #fff;
	display:inline-block;
	margin-bottom: 10px;
	margin-left: 20px;
	padding: 5px 15px;
	background-color: #f89b02;
	border: solid 1px #f89b02;
	border-radius: 5px;
	font-size: 16px;
	vertical-align: middle;
	text-decoration: none;
	line-height: normal;
}

.main2 .post .small-nav a {
	color: #f89b02;
	display: inline-block;
	margin-bottom: 10px;
	margin-left: 20px;
	padding: 5px 15px;
	border: solid 1px currentColor;
	border-radius: 5px;
	border-color: #f89b02;
	font-size: 16px;
	vertical-align: middle;
	text-decoration: none;
}
.main2 .small-nav a:hover {
	color: #fc9604;
	background-color:#fee8b3;
	display: inline-block;
	margin-bottom: 10px;
	margin-left: 20px;
	padding: 5px 15px;
	border: solid 1px currentColor;
	border-radius: 5px;
	font-size: 16px;
	vertical-align: middle;
	text-decoration: none;
	
}


/*  冒頭の導入 introduction--------------------------------*/

.main2 .post .introduction {
	max-width: 800px;
	margin-left:auto;
	margin-right:auto;
	margin-bottom: 10px;
	padding-top: 10px;
	p
	text-align: center;
	vertical-align: middle;
	border-bottom: dotted 2px #fdb405;
}
.main2 p.contesttitle {/* コンテストタイトル--*/
	padding-top: 20px;
	text-align: center;
	font-size: 150%;
	font-weight: bolder;
	color: #030303;
	}
.main2 p.contesttitle-result {/* 結果発表--*/
	padding-top: 0px;
	text-align: center;
	color: #F65053;
	font-size: 150%;
	font-weight: bolder;
	}

@media (min-width: 768px) {/* スマホのみ改行--*/
.main2 p.contesttitle br  {
	display: none;
  }
}

.main2 .post .introduction p {
	padding-bottom: 20px;
	padding-top: 10px;
	font-family: "M PLUS Rounded 1c", sans-serif;
	color: black;
	font-weight: 200;
	font-size: 100%;
	text-align: justify;
	line-height: 1.5;
	color: #303030;
	}
.main2 .post .introduction p rt {
	transform: translateY(4px); /* ルビ位置4px移動 */
	font-size: 50%;
    }

.main2 .introduction p.emphasis {/* 赤字--*/
		color:#F65053;
	}
@media (max-width: 767px) {
.introduction p.emphasis  {
	padding: 0 2em;
  }
}

/*  subhead--------------------------------*/
.main2 .post .subhead img {/*  小見出しのアイコンの上下*/
	margin-top: 0px;
}
.main2 .post p.subhead {/* 小小見出し*/
	font-size: 120%;
	padding-top: 20px;
	text-align: center;
	color: green;
	padding: 0;
}

.main2 .subhead h1 {/*  小見出し*/
	font-size: 180%;
	font-weight: 500;
	color: #468f89;
	line-height: 1.8;
	font-family: "M PLUS Rounded 1c", sans-serif;
	margin-bottom: 10px;
	padding-top: 10px;
}

@media (min-width: 768px) {
.main2 .subhead h1 br  {
	display: none;
  }
}

 /* --コンテスト要項、審査結果--*/

.main2 p.question, p.ranking  { /* -青字小小見出し--*/
		font-family: "M PLUS Rounded 1c", sans-serif;
		color: #0168b7;
		font-weight: 500;
		font-size: 130%;
		text-align: center;
		line-height: 1;
	}

@media (max-width: 767px) {
.main2 p.question, p.ranking  {
	padding: 0 0 0 20;
  }
}

/*応募要項-----------------*/

.post .application {/* 黄地---*/
	max-width: 850px;
	margin-left:auto;
	margin-right:auto;
	margin-top: 20px;
	margin-bottom: 20px;
	padding-top: 20px;
	padding-bottom: 20px;
	background-color: #fffcdb;
	border-radius: 20px;
}

.post .application p.textcenter {/* いっしょに読んで---*/
	text-align: center;
	color: #0168b7;
	font-size: 100%;
	font-weight: 600;
	}
@media (min-width: 768px) {
.post .application p.textcenter br  {
	display: none;
  }
}
@media (max-width: 767px) {
/* 左揃えの中央にする */
.post .application p.textcenter {
	text-align: center;
}
.post .application p.textcenter {
	text-align: left;
	display: inline-block;
	padding-bottom: 10px;
	}
}
/*-----------------*/	
.post .application table{
	border-collapse:collapse;
	color: #3c3c3c;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 20px;
}

.post .application th {/*左側トラック囲み指定*/
	text-align:center;
	vertical-align: middle;
	word-break:normal;
	display: block;
	color: #fff;
	padding: 0.5em;
	font-family: "M PLUS Rounded 1c", sans-serif;
	font-size: 95%;
	font-weight: lighter;
	background:#62b7b5;
	border-radius: 30px;
}

.post .application td {
	padding-top: 1em;
	padding-bottom: 1em;
	padding-left: 2em;
	padding-right: 2em;
	font-size: 95%;
	line-height: 1.6em;
	border-bottom: solid 1px cadetblue;
	text-align: justify;
}

@media (max-width: 767px) {
	
.post .application {/*スマホでは左右にアキ*/
    margin: 0 1em;
  }
.post .application th {/*トラック囲み中央*/
	margin-left: auto;
	margin-right: auto;
  }
.post .application td {/*下線非表示*/
	width: 90%;
	border-bottom:none;
	padding-bottom: 10;
  }
}

/*ダウンロード-----------------*/

.post .download a {
	color: #fff;
	display:inline-block;
	margin-bottom: 30px;
	margin-left: 30px;
	padding: 2px 1em;
	background-color: #F07808;
	border: solid 1px #F07808;
	border-radius: 10px;
	font-family: "M PLUS Rounded 1c", sans-serif;
	font-size: 100%;
	text-decoration: none;
}

.post .download a:hover {
	color: #fff;
	background-color: #F7AA05;
	border: solid 1px #F7AA05;

	text-decoration: none;
}

@media (max-width: 767px) {
.post .download a {/*スマホではアキを詰める*/
	margin-bottom: 10px;
	margin-left: 10px;
	margin-right: 10px;
	}
}

/*クレジット-----------------*/

.application p.credit {
	font-size: 85%;
	padding: 0 0 0 4em;
	text-indent: -3em;
}

@media (max-width: 767px) {	
.application p.credit {
	text-indent: -3em;
  	padding-left: 6em;
	padding-right: 2em;
}
}

/* 画像を横並べ 受賞作-------------------------------------------------------------------- */
.main2 .post .image-wrap {
	max-width: 800px;
	text-align:center;
	margin-left:auto;
	margin-right:auto;
	margin-top: 0;
	justify-content:center;
}
.main2 .post .image-wrap2 {/* 佳作のみ*/
	max-width: 1000px;
	text-align:center;
	margin-left:auto;
	margin-right:auto;
	margin-top: 0;
	justify-content:center;
}

.main2 .prize p.caption {/* クレジット*/
	padding-top: 0;
	padding-bottom: 30px;
	font-size:90%;
	text-align: center; 
	}
 .main2 .prize p.caption2 {/* 佳作クレジット*/
	padding: 0;
	font-size:70%;
	text-align: left; 
	}
.main2 .prize p.statement {/* 作文*/
	padding-top: 0;
	padding-bottom: 20px;
	font-size:90%;
	text-align: justify; 
	}

.main2 .prize p.kasaku_list{/* 審査結果佳作リスト*/
	font-size:90%;
	text-align: center; 
	}

.bold-text {
  font-weight: bold;
	font-size: 105%;
}

/* image-wrap並ぶ画像それぞれ指定*/

.main2 .post .images {/* image-wrapで括ったひとつひとつ div*/
	padding-left: 5px;
	padding-right: 5px;
}
.main2 .post .image-one {/* image-wrapで括ったひとつひとつ div*/
	padding-left: 10px;
	padding-right: 10px;
}

.main2 .post .images2 {
	padding-left: 10px;
	padding-right: 10px;
}

.main2 .post .images3 {/* 縦画像 */
	padding-top: 0px;
	padding-left: auto;
	padding-right: auto;
}

@media (max-width: 767px) {/* スマホのみ */
 .main2 .prize p.caption2 {/* 佳作クレジット*/
	font-size:80%;
	text-align: center; 
	}
.main2 .images img{
		width: 80%;
		text-align:center;
		padding-bottom: 5px;
	}
.main2 .images2 img{
		width: 50%;
		text-align:center;
		padding-bottom: 5px;
	}
.main2 .image-wrap2 .imges {
		text-align:center;
	}
.main2 .image-wrap2 img {
		width: 50%;
		padding-bottom: 5px;
	}
.main2 .image-wrap2 .images3 img {
		hight: 50%;
		padding-bottom: 5px;
	}
.main2 .image-wrap2 .images3 .caption2 {
	font-size:80%;
	text-align: center; 
	
	}
}
	

/* 画像を横並べにする　レスポンシブ-------------------------------------------------------------------- */

@media (min-width: 768px) {
main2 .image-wrap, .image-wrap2 {
		display: flex;
	width: 100%;
	}
}

@media (max-width: 767px) {/* スマホのみ縦並びに */
main2 .images img{
		width: 80%;
		text-align:center;
		padding-bottom: 5px;
	}
main2 .image-wrap2 .images img{
		width: 50%;
		text-align:center;
		padding-bottom: 5px;
	}
}
	

/*  結果速報佳作リスト表組--------------------------------*/


.post .kasakulist table.table2 {
    max-width: 100%; /* テーブルの横幅を指定する */
	margin-left:auto;
	margin-right:auto;
	padding-bottom: 40px;
}
.post .kasakulist table.table2 th,
.post .kasakulist table.table2 td {
	padding: 3px 0px; /* セルの余白を指定する(上下左右) */
	border-bottom: none; /* セルの境界線を実線で指定する */
	font-size: 75%;
}
.post .kasakulist table.table2 th {
	width: 45%; /* テーブルのタイトル枠の横幅を指定する */
	text-align: right; /* セル内のテキストの位置を指定（右側に）する */
	padding-right: 1em;
	vertical-align: middle;
}
@media(min-width:768px){
.post .kasakulist table.table2 td  br{
	display: none;
	}
}

@media(max-width:767px){           
.post .kasakulist table.table2 tr, th, td{
	display: inline-block;
    }
	.post .kasakulist table.table2 th{
	margin-top: 10;
    }
.post .kasakulist table.table2 th {
	width: 100%; /* テーブルのタイトル枠の横幅を指定する */
	text-align: center; /* セル内のテキストの位置を指定（右側に）する */
	margin-top: 30;
}

.post table.table2 td	{
	width: 100%; 
	text-align: center; 
	padding: 0;
}
}

/*  ポスターギャラリーgrid指定--------------------------------------------------------------------*/
/*  上に新しい画像を入れれば、自動的に流し込んでいく--------------------------------*/

.post .grid-container {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 30px;
	padding-top: 10px;
	padding-bottom: 50px;
}

.post .box2{
  width:100%;
  display:flex;
  flex-direction: column; 
	justify-items: center;
	align-items: center;
}
.box2 img {
  max-width:240px;
	filter: drop-shadow(1px 3px 5px rgba(0, 0, 0, 0.3));
}
.box2 p.caption {
	font-size: 80%;
	padding-top: 5;
	padding-bottom: 0;
}
.box2 a {
	font-size: 80%;
	text-decoration: none;
	color: chocolate;

}

@media (max-width: 767px) {/* スマホのみ縦並びに */
.post .grid-container {
	display: grid;
	grid-template-columns: 1fr;
	text-align: center;
	padding-left: auto;
	padding-right: auto;
	}
.box2 p.caption {
	font-size: 100%;
	padding-top: 10;
	padding-bottom: 0;
	}
.box2 a {
	font-size: 100%;
	}
}
	

