/*---------------------------------------
	 * 共通項目
	---------------------------------------*/ 
	* {
	box-sizing:border-box;
	color:#404040;
	position:relative;}
	
	body {margin:0; padding:0;margin:0; padding:0; -webkit-text-size-adjust: 100%;}
	
	body {font-family:"Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif; -webkit-text-size-adjust: 100%;}
	
	#wrap {overflow:hidden; min-width:320px;}
	
	h2 {
		min-width:100%;
		background-color: #ad0003;
		display:inline-block;
		color:#fff;
		padding:0.3em 1em 0.3em 1em;
		/*font-family: "M PLUS 1p";*/
		font-size:30px;
		font-weight:bold;
		margin-bottom:1em;
		border-radius:100px;
		}
	
/*	h2::after {
		content: '';
		width:0.4em;
		height:0.4em;
		
		border-left:solid 4px #ad0003;
		display:block;
		position:absolute;
		bottom: -0.4em;
		left:50%;
		margin-left:-6px;
		background-color:#fff;
		transform:skewX(-45deg);
		
		}*/
		
	
	h3 {
		position:relative;
		color:#000;
		/*font-family: "M PLUS Rounded 1c", sans-serif;*/
		font-weight:bold;
		font-size:150%;
		margin:0px 40px 18px ;
		padding:1em 0 0 0;
	}
	
	h3 span.kakko { display:inline !important;}
		
	h3 span.kakko::before {
		 content: '';
		 width:0.8em;
		 height:1.3em;
		  border:solid 3px #ad0003;
		  
		 border-right:none;
		 border-bottom:none;
		 position:absolute;
		 top:-0.4em;
		 left:-1.5em;
	}
	
	h3 span.kakko::after {
		 content: '';
		 width:0.8em;
		 height:1.3em;
		 border:solid 3px #ad0003;
		 border-left:none;
		 border-top:none;
		 position:absolute;
		 bottom:-0.2em;
		right:-1.5em;
		
	}
	
	h3 + p {
		text-align:left;
		margin-bottom:2em;
		clear:both;
		font-weight:bold;
		font-size:120%;
	}
	
	.tac {text-align:center;}
	.tal {text-align:left;}
	.tar {text-align:right;}
	
	.mini {font-size:80%;}
	
	.time {color:#ad0003; font-weight:bold;}
	.time span {padding-left:0.5em; color:inherit;}
	
	h2 + .time {font-size:150%; padding-left:1em; line-height:1.4em;}
	.btnArea > .time {font-size:17px; margin-bottom:1em;}

	/*---------------------------------------
	 * section
	---------------------------------------*/ 
	
	section{
		width: 100%;
		min-width:320px;
		margin:0 auto;
		padding:0;
		position:relative;
		/*border-top:1px solid rgba(255, 0, 0, 0.2);*/
		overflow:hidden;
	}
	
	section::after {
		content: "";
		display: block;
		clear: both;
	}
	
	section .inner{
		width: calc(100% - 30px);
		max-width: 940px;
		margin: 40px auto 40px;
		/*background-color:rgba(200, 200, 200, 0.1);*/
	}


	
	
	/*---------------------------------------
	 * ヘッダー
	---------------------------------------*/ 
	header {
		width:100%;
		height:70px;
	}
	
	header .inner { 
		width:100%;
		max-width:1024px;
		margin:0 auto;
		padding:0;
	}

	header .inner .logo {
		width:22%;
		display: inline-block;
		position:absolute;
		top:17px;
		left:0;
		max-width:1024px;
		margin:0 auto;
		padding:0;
		z-index:10;
	}
	
		header .inner .logo a {
		display: block;;
	}
	
	header .inner .logo img {
		width:100%;
	}
	
	
	/*---------------------------------------
	 * スキップボタン
	---------------------------------------*/ 	
	#skip {
	position:absolute;
	top:20px;
	right:10px;
	z-index:100;
	width:auto;
	height:30px;
	z-index:20;
	}
	
	#skip a {
	display:block;
	color:#ad0003;
	padding:0em 1em;
	text-decoration:none;
	border:1px solid #ad0003;
	font-size:12px;
	text-align:center;
	line-height:30px;
	background-color:#fff;
	}
	
	#skip a::after {
		content: '▶︎';
		margin-left:0.5em;
	}
	
	p.insert {
		line-height:1.2em; 
		/*font-family: "M PLUS 1p";*/
		}
		
	/*---------------------------------------
	 * グローバルナビ
	---------------------------------------*/ 	
	nav {
		width:100%;
		margin:0 auto 40px;
		padding:0px;
	}
	
	nav .inner {
		width:100%;
		max-width:1024px;
		margin:0 auto;
	}
	
	nav ul{
		display:flex;
        justify-content: space-between;
		width:100%;
		max-width:1024px;
		border-bottom:1px solid #333;
		padding:0 0 0 24%;
	}
	
	nav ul li {
		width:auto;
		height:50px;
		margin:0;
		color:#fff;
		text-align:center;
		display:table;
	}
	
	nav .inner li a {
		display:table-cell;
		vertical-align:middle;
		height:100%;
		padding:1em;
		text-decoration:none;
		font-weight:bold;
		color:#333;
		font-size:14px;
		z-index: 2;
    	position: relative;
		white-space:nowrap;
	}
	
	nav .inner li a::after {
	  position: absolute;
	  bottom: -1px;
	  left: 0;
	  content: '';
	  width: 100%;
	  height: 3px;
	  background: #ad0003;
	  transform: scale(0, 1);
	  transform-origin: left top;
	  transition: transform .3s;
	}
	
	nav .inner li a:hover {
		color:#787878;
	}
	
	nav .inner li a:hover::after {
	  transform: scale(1, 1);
	}
	

	
	/*---------------------------------------
	 * コンテンツプログラム
	---------------------------------------*/ 
	
	.program { display:block;}
	.program div {
		width:90%;
		display:block;
		margin:0 auto;
		line-height:1.4em;
		color:#fff;
	}
	
	.program div.detail {
		width:90%;
		display:block;
		margin:0 auto;
		text-align:center;
		line-height:1.4em;
	}
	
	.program div img{ width:100%;}
	.program div p {
	}
	
	
	.program div.detail h3 {
		color:#ad0003;
		margin:1em 0;
		display:inline-block;
		text-align:left;
		float:left;
	}
	
	.program div.detail p {
		text-align:left;
		margin-bottom:2em;
		clear:both;
	}
	
	.program + .program { margin-top:4em;}
	
	/*---------------------------------------
	 * 参加方法
	---------------------------------------*/ 
	#participate { display:flex;}
	#participate > div {width:30%; margin-left:5%; }
	#participate div:first-child {margin-left:0; }
	
	#participate div .step{ display:table; width:100%; position:relative;}
	#participate div .step .glay {
		display:table-cell;
		width:100%;
		height:4em;
		vertical-align:middle;
		text-align:center;
		padding:1em;
		color:#FFF;
		background-color:#999;
		margin-bottom:1em;
		border-radius:10px;
		box-shadow: 5px 5px 5px 1px rgba(0,0,0,0.2);
	}
	
	#participate div .text{ width:100%; clear:both; text-align:center; padding:1em;
  display:inline-block;
  color:#ffffff;                 /* 文字のサイズ */
  letter-spacing:2px;
  font-weight:bold;
  line-height:1.4em;                /* 文字間 */
  text-shadow:1px  1px 1px #f76e12,
  -1px  1px 1px #f76e12,
  1px -1px 1px #f76e12,
  -1px -1px 1px #f76e12,
  1px  0px 1px #f76e12,
  0px  1px 1px #f76e12,
  -1px  0px 1px #f76e12,
   0px -1px 1px #f76e12;        /* 文字の影 */
	}
	
	#participate div .text img{ width:45%;        /* メールアイコン */
	}
	
	#participate div p {clear:both; text-align:center;}
	
	#participate div .step p.arrow {
		display:block;
		width:12%;
		height:auto;
		position:absolute;
		right:-15%;
		top:50%;
		margin:-5% 0 0 0;
		}
		
	#participate div .step p.arrow img {
		display:block;
		width:100%;
		}
		
	#movie {
		width:670px;
		height:376px;
		background-color:#CCC;
		margin:0 auto;
		padding:0;
	}



section.btn .inner{
		width: calc(100% - 30px);
		max-width: 940px;
		margin: 40px auto 100px;

	}
section.btn ul { display:flex}
section.btn ul li { width:50%;}

/*--------------------
自治体の詳細ボタン
--------------------*/

	#jichitai {
		display: table;
		width:80%;
		height:100%;
		margin:0 auto;
		min-width:240px;
		position:relative;
	}
	#jichitai a {
		display: table-cell;
		width:100%;
		height:100%;
		margin:0;
		padding:0.5em 3em;
		background-color:#fff;
		color:#ad0003;
		text-align:center;
		text-decoration:none;
		
		transition: all .5s ease;
		position:relative;
		border:4px solid #ad0003;
		border-radius:20px;
		font-size:120%;
		font-weight:bold;
		line-height:1.4em;
		vertical-align:middle;
	}
	
	
	#jichitai a::before {
		content: '';/*何も入れない*/
		display: inline-block;/*忘れずに！*/
		width: 100px;/*画像の幅*/
		height: 88px;/*画像の高さ*/
		background-image: url(../img/jichitai.png);
		background-size: 100% 100%;
		vertical-align: middle;
		position:absolute;
		top:-35px;
		left:-50px;
	}
	
	
	#jichitai a::after {
	  content: ">";
	  position:absolute;
	  right:1em;
	  top:35%;
	}
	
	
	#jichitai a:hover {
		background-color:#ad0003;
		color:#fff;
	}
	
	
	#jichitai a span {
		display:inline-block;
		color:inherit;
	}
	
/*--------------------
返礼ボタン
--------------------*/

	#henrei {
		display:block;
		width:80%;
		margin:0 auto;
		min-width:240px;
		position:relative;
	}
	#henrei a {
		display: table-cell;
		width:100%;
		height:100%;
		margin:0;
		padding:0.5em 3em;
		background-color:#fff;
		color:#ad0003;
		text-align:center;
		text-decoration:none;
		
		transition: all .5s ease;
		position:relative;
		border:4px solid #ad0003;
		border-radius:20px;
		font-size:120%;
		font-weight:bold;
		line-height:1.4em;
	}
	
	
	#henrei a::before {
		content: '';/*何も入れない*/
		display: inline-block;/*忘れずに！*/
		width: 100px;/*画像の幅*/
		height: 88px;/*画像の高さ*/
		background-image: url(../img/henrei.png);
		background-size: 100% 100%;
		vertical-align: middle;
		position:absolute;
		top:-35px;
		left:-50px;
	}
	
	
	#henrei a::after {
	  content: ">";
	  position:absolute;
	  right:1em;
	  top:35%;
	}
	
	
	#henrei a:hover {
		background-color:#ad0003;
		color:#fff;
	}
	
	
	#henrei a span {
		display:inline-block;
		color:inherit;
	}
	
	
	
	/*-------------------------
		エントリーボタン
	-------------------------*/
	
	.entry {
		width:100%;
		text-align:center;
	}
	
	.entry a{
		width:100%;
		max-width:480px;
		background-color:#ad0003;
		color:#fff;
		padding:1em 3em 1em 2em;
		border-radius:0.5em;
		text-decoration:none;
		font-size:100%;
		font-weight:bold;
		transition: all .5s ease;
	}
	.entry a::after {
	  content: ">";
	  position:absolute;
	  right:1em;
	  top:50%;
	  margin-top:-0.5em;
	}
	
	.entry a:hover{
		background-color:#f3d9d9;
		color:#ad0003;
	}
	
	/*-------------------------
		注意事項
	-------------------------*/
	
	.notes {
		width:100%;
		text-align:center;
	}
	
	.notes h2 {
		font-size:160%;
		line-height:1.4em;
	}
	
	.notes h3 {
		color:#fff;
		background-color:#ad0003;
		padding:0.5em 1em;
		
		border-radius:10px;
		line-height:1.4em;
	}
	
	
	.notes .modalCover {
	  margin: 0 -1.5em 2em;
	  display:flex;
	}
	
	.notes .modalCover div {
		padding:1em;
		width:50%;
	}
	
	.notes .modalCover div p {
		display:inline-block;
		height:10vh;
		margin-bottom:0;
		padding:0 1em;
		min-height:100px;
		font-weight:bold;
		text-align:left;
		line-height:1.4em;
	}
	
	.notes .modalCover div p span {
		color:#ad0003;
		}
		
	.notes #scroll {
		height:40vh;
		max-height:300px;
		margin-bottom:3em;
		padding:1em;
		text-align:left;
		overflow-y: scroll;
		
		-webkit-overflow-scrolling: touch;
		overflow-scrolling: touch;
		border:1px solid #ccc;
	}
	
	
	.notes #scroll section {
		margin-bottom: 3em;
	
	}


	.notes #scroll h4 {
		font-size:120%;
		font-weight:bold;
		margin-bottom: 1em;
		line-height: 1.4;
	}
	
	.notes p {
	  margin-bottom: 1em;
	  line-height: 1.7;
	}
	
	.notes #scroll ul {
		margin-left:1.5em;
	}
	.notes #scroll ul li {
		list-style:disc;
		margin-bottom:1em;
		line-height:1.4em;
	}


/*<!--チェックが入ったら、ボタンを押せる-->*/

.notes_required {
  text-align: center;
  border: 2px solid #ccc;
  margin:0 auto;
  padding: 30px 20px;
  max-width:500px;
}
.notes_required .check_text_b {
  font-size: 16px;
  margin:0;
}
.notes_required .checkBtn_area  {
  max-width: 400px;
  margin: 15px auto 10px;
  border-radius: 12px;
  background: #f5f5f5;
  padding: 20px 0;
  transition-duration: 0.2s;
}

.notes_required label {
  color: #333;
  font-size: 120%;
  border-bottom: 1px solid rgba(255, 255, 255, 0);
  cursor: pointer;
  transition-duration: 0.3s;
  position: relative;
}
.notes_required label .label_inner {
  padding-left: 32px;
}
.notes_required label .label_inner:before {
  content: "";
  width: 24px;
  height: 24px;
  background: #fff;
  border: 3px solid #737373;
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 0;
  margin-top: -13px;
}
.notes_required._check label .label_inner:after {
  content: '';
  width: 20px;
  height: 12px;
  border-top: 6px solid #d6042e;
  border-right: 6px solid #d6042e;
  -webkit-transform: rotate(130deg);
  transform: rotate(130deg);
  position: absolute;
  top: 50%;
  left: 0;
  margin-top: -.9em;
}
.notes_required label input {
  position: relative;
  z-index: -1;
}
@media screen and (min-width: 768px) {
  .notes_required label:hover {
    /*border-bottom: 2px solid #ff7600;*/
  }
}
@media screen and (max-width: 1024px) {
  .notes_required label {
    font-size: 18px;
  }
  .notes_required .check_text_b {
    font-size: 14px;
  }
  .notes_required label .label_inner {
    padding-left: 32px;
  }
  .notes_required label .label_inner:before {
    width: 20px;
    height: 20px;
    margin-top: -10px;
  }
  .notes_required._check label .label_inner:after {
    width: 16px;
    height: 8px;
    margin-top: -0.8em;
  }
}
@media screen and (max-width: 767px) {
  .notes_required {
    padding: 20px 15px;
  }
  .notes_required .check_text_b {
    font-size: 13px;
  }
  .notes_required._check label .label_inner:after {
    width: 16px;
    height: 8px;
    margin-top: -0.8em;
  }
}


/*------------------------------------------------------------
.btnArea
------------------------------------------------------------*/

.btnArea,
#btn_jichitai-link {
  max-width: 400px;
  margin: 30px auto 0;
  position: relative;
}
.btnArea input[type="submit"]  {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 0;
  background: rgba(255, 255, 255, 0);
  padding: 0;
  z-index: -1;
  transition-duration: 0.3s;
  box-sizing: border-box;
  -webkit-appearance: none;
}
.btnArea input[type="submit"] {
  cursor: default;
  z-index: +1;
  outline: none;
}
.btnArea._check input[type="submit"]  {
  z-index: -1;
}

.btnArea + p {
	margin-top:1em;
}


a.btn_one {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #969696;
  border-radius: 6px;
  box-sizing: border-box;
  box-shadow: 0px 0px 0px 0px #00407b;
  width: 100%;
  padding: 1em 2em;
  color: #ffffff;
  font-size: 20px;
  font-weight: bold;
  text-align: left;
  text-decoration: none;
  position: relative;
  transition-duration: 0.2s;
  top:5px;
  
  pointer-events:none;
}
a.btn_one:before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 12px;
  border-color: transparent transparent transparent #ffffff;
  position: absolute;
  top: 50%;
  right: 8%;
  margin-top: -11px;
}
._check a.btn_one._a {
  background: #3475b1;
  box-shadow: 0px 5px 0px 0px #104575;
  top:0px;
  pointer-events:auto;
}
a.btn_one._a:hover {
  background: #228bc8;
  opacity: 1;
}
._check a.btn_one._b {
  background: #459d3c;
  box-shadow: 0px 5px 0px 0px #255720;
}
a.btn_one._b:hover {
  background: #63b559;
  opacity: 1;
}

	
	
	/*---------------------------------------
	 * フッター
	---------------------------------------*/ 
	footer {
		background-color:#ad0003;
	}
	
	footer .inner{
		width: calc(100% - 30px);
		max-width: 940px;
		margin: 0 auto;
		padding:1em 0;
		text-align:center;
	}
	
	
	footer ul {
		display:block;
		margin:0 auto 1em;
	}
	footer ul li{
		display:inline-block;
	}
	
	footer ul li:first-child{
		border-right:1px solid #fff;
	}
	
	footer ul li a{
		display:block;
		color:#fff;
		padding:0 1em;
		text-decoration:none;
		font-size:80%;
	}
	
	
	footer ul li a:hover{
	}
	
	footer ul li a::after {
	  position: absolute;
	  bottom: -5px;
	  left: 0;
	  content: '';
	  width: 100%;
	  height: 1px;
	  background: #fff;
	  transform: scale(0, 1);
	  transform-origin: center top;
	  transition: transform .3s;
	}
	
	footer ul li a:hover::after {
	  transform: scale(1, 1);
	}
	
	
	footer small {
		padding: 0.3em 0;
		color:#fff;
		font-size:90%;
		display:inline-block;
		font-weight:bold;
		font-family:Arial, Helvetica, sans-serif;
	}
	
	

@media screen and (max-width: 1024px) {
	
	/*---------------------------------------
	 * グローバルナビ
	---------------------------------------*/ 	
	nav .inner li div a {
		font-size:1.5vw;
	}
	
	.sanka .right p {
		font-size:2.5vw;
	}
	/*---------------------------------------
	 * SNS
	---------------------------------------*/ 
	#sns .hash .innerbox {font-size:2.4vw;}
	
	
	
	#movie {
		width:68%;
		height:auto;
		
		padding-bottom:40%;
	}
	
}

@media screen and (max-width: 840px) {


	header .inner .logo {
		width:auto;
		height:80px;
		display: block;
		position:relative;
		top:5px;
		left:0;
		max-width:1024px;
		margin:0 auto;
		padding:0;
		z-index:10;
	}

header .inner .logo img {
	width:auto;
		height:80px;
	}
	
	
nav ul{
		padding:0;
	}
	


/*-------------------------
		自治体リンクボタン
	-------------------------*/

	#btn {
		display:block;
		width:20%;
		margin:0;
		position:absolute;
		bottom:10px;
		right:10px;
	}
	#btn a {
		display:block;
		width:100%;
		margin:0;
		padding:0;
		transition: all .5s ease;
		position:relative;
	}
	
	
	#btn a img{
		width:100%;
	}


	
	
	
}


@media screen and (max-width: 780px) {
	
	
	/*---------------------------------------
	 * SNS
	---------------------------------------*/ 
	#sns .hash .innerbox {font-size:2vw;}
	
	
}



@media screen and (max-width: 680px) {
	
	
	#btn {
		width:130px;
	}
	
	
	
	section.btn {}
	section.btn ul { display:block}
	section.btn ul li { width:100%; margin-bottom:3em;}
	
	#jichitai a,
	#henrei a {display: block;}

	/*---------------------------------------
	 * コンテンツプログラム
	---------------------------------------*/ 
	
	.program { display:block;}
	.program div {
		width:100%;
		display:block;
		line-height:1.4em;
		clear:both;
	}
	
	.program div img{ width:100%; margin-bottom:1em;}
	
	.program div p { }
	
	.program + .program { margin-top:4em;}
	
	
	/*---------------------------------------
	 * 注意事項
	---------------------------------------*/ 
	
	.notes .modalCover {
    margin: 0 -1em 1em;
	display:block;
	  }
	
	  .notes .modalCover div {
		  width:100%;
	  }
	
	  .notes .modalCover div p {
		  height:auto;
	  }

}



@media screen and (max-width: 480px) {
	h2 {
		font-size:7.2vw;
	}
	h2 div{
		width:90%;
	}
	.sanka {
		width:100%;
		max-width:800px;
		margin:0 auto 3em;
	}
	
	#movie {
		width:100%;
		padding-bottom:56%;
	}

/*--------------------
返礼ボタン
--------------------*/

	#jichitai,
	#henrei {
		display:block;
		width:60%;
		margin:0 auto;
		min-width:200px;
		position:relative;
		font-size:80%;
	}

}



@media screen and (max-width: 320px) {
	h2 {
		font-size:22px;
	}
}