@charset "utf-8";

/* 最大表示 */
body{
	width:100%;
	height:100%;
	margin:0 auto;
	padding:0;
	background:#fff;
	font-family: 'Noto Serif', "MS PGothic", "Osaka", sans-serif;
	font-weight:bold;
}
header{
	width:100%;
	height:10%;
	margin:0 auto;
	padding:0;
	top:0;
	left:0;
}
p{
	font-size:12px;
	color:#455A64;
	padding:0 1em;
}
h1, h2, h3{
	width:100%;
	height:auto;
	margin:0;
	padding:0;
	text-indent:0.5em;
}
h3{
	font-size:14px;
	line-height:2.5em;
	text-indent:0.5em;
}
a{
	color:green;
	text-decoration: none;
}
img{
	width:auto;
	height:auto;
	max-width:100%;
	max-height:100%;
	/*object-fit: contain;*/
}
/* iFrameコンテンツ調整 */
.ifs {
   position: relative;
 width: 100%;
    padding: 75% 0 0 0;
}
.ifs iframe {
    position: absolute;
 top: 0;
 left: 0;
    width: 100%;
    height: 100%;
}
#wrap{
	width:1024px;
	height:100%;
	margin:0 auto;
	padding:0;
}
#header{
	width:100%;
	height:84px;
	position:relative;
	z-index:1;
}
/*ナビゲーションメニュー*/
	nav {
		width:100%;
		
	}
	nav ul {
		width:65%;
		display: flex;
		justify-content: flex-end;
		flex-direction: row;
		align-items: center;
		padding: 0;
		list-style: none;
		margin: 0;
		float:right;
	}
	nav li {
		width: calc(100%/5);
		height: 40px;
		text-align: center;
		line-height: 2.5em;
	}
	nav a {
		text-decoration: none;
		color: #000000;
		font-weight: bold;
		display: block;
	}
	nav a:hover {
		color: #558877;
		background: #EEFF41;
		transform:translate(1px, 1px);
	}
/* ナビ装飾 */
	.menu_style {
		margin-left:2px;
		border-left: 6px solid #FFA000;
		background: #FFE082;
		color:#FFA000;
	}
/* メニューボタン非表示 */
	#menu_btn{
		background:#000000;
		color:ffffff;
		display: none;
	}
/* パンくずリスト */
	.breadcrumb {
		width:100%;
		font-size:8pt;
		font-weight:bold;
		background: #e9edf5;
		padding: 2px 0;
		overflow: hidden;
		margin:0;
		text-indent:1em;
	}
	.breadcrumb li{
		display:inline;
		list-style: none;
	}
	.breadcrumb li:after{
		content: '>';
		padding: 0 3px;
		color: #8186a0;
	}
	.breadcrumb li:last-child:after{
		content: '';
	}
	.breadcrumb li a {
		text-decoration: none;
		color: #273376;
	}
	.breadcrumb li a:hover {
		text-decoration: underline;
	}
/* トップイメージ */
	#topimg{
		width:100%;
		height:432px;
		position:relative;
		z-index:0;
	}
	#topimg img{
		width:100%;
		height:100%;
		position:absolute;
		z-index:0;
		top:0;
		left:0;
	}
/* コント：メイン */
	#cont{
		width:100%;
		height:100%;
		margin:0;
		margin-top:10px;
		padding:0;
		clear:both;
		display:flex;
	}
/* メインコンテンツ */
	#main{
		width:70%;
		height:100%;
		padding-right:1em;
		display:flex;
		flex-wrap: wrap;
		justify-content: flex-start;
		align-content: stretch;
	}
	#main_contents{
		width:100%;
		height:100%;
		display:flex;
		flex-wrap: wrap;
		justify-content: center;
		align-content: stretch;
	}
	#main_sub{
		width:100%;
		margin-left:15px;
	}
/* サブコンテンツ */
	#sub{
		width:30%;
		height:100%;
		display:flex;
		flex-direction: column;
		flex-wrap: wrap;
		justify-content: space-around;
		align-content: stretch;
	}
/* フッター */
	#footer{
		width:100%;
		height:auto;
		margin-top:5px;
	}
	#footer h2{
		font-size:14px;
		background:#7fffd4;
	}
	#foot{
		width:100%;
		height:auto;
		margin:0 auto;
		padding:0;
		display:flex;
		justify-content: center;
	}
/* コピーライト表示 */
	#copyr{
		width:100%;
		margin:0;
		padding:0;
		text-align:center;
		color:#fff;
		font-size:11px;
		font-weight:bold;
		background:green;
	}
	#toptext{
		text-shadow:-6px 3px 120px #000000;
		z-index:-1;
	}


/* コンテンツ書式 */
	.main_fmt{
		width:30%;
		margin:0;
		padding:0;
	}
	.main_fmt img{
		float:left;
	}
	.main_fmt p{
		margin:0;
		margin-bottom:20px;
	}
	.main_fmt a{
		display:block;
	}
	.main_fmt_link{
		margin:0;
		text-align:right;
	}
	#modal_content{
	}
/* サブコンテンツ書式 */
	.sub_fmt{
		width:100%;
		height:30%;
		margin:0;
		padding:0;
	}
/* フッターコンテンツ書式 */
	.foot_fmt{
		width:50%;
		height:100%;
		margin:0;
		padding:0;
	}
	.foot_fmt ul{
		color:gray;
		font-size:12px;
		font-weight:normal;
	}
	.foot_fmt a{
		color:#4CAF50;
	}
	.foot_fmt img{
		margin-left:35px;
		width:30px;
		height:30px;
	}
/* 閉じるボタン */
	.cancel_btn{
		float:right;
		top:-10px;
		display: inline-block;
		position: relative;
		margin: 0 20px 0 7px;
		padding: 0;
		width: 4px;
		height: 20px;
		background: #000;
		transform: rotate(45deg);
	}
		.cancel_btn:before{
		display: block;
		content: "";
		position: absolute;
		top: 50%;
		left: -8px;
		width: 20px;
		height: 4px;
		margin-top: -2px;
		background: #000;
	}

/* 768px */
@media only screen and (max-width: 768px) {
	h1{
		font-size:30px;
	}

/* 全体の幅/高さ */
	body{
		width:768px;
		height:auto;
	}
	#wrap{
		width:100%;
		height:100%;
	}
	header{
		height:auto%;
	}

/* ナビゲーションメニュー */
	nav ul{
		width:100%;
		flex-wrap: nowrap;
		flex-direction: row;
		justify-content:space-between;
	}
	nav li{
		width: calc(100%/5);
	}
/* フッターエリア */
	#footer{
		width:100%;
		height:auto;
	}
	#foot{
		width:100%;
		height:auto;
		flex-direction: column;
	}
	.foot_fmt{
		width:100%;
	}
}

/* 375px */
@media only screen and (max-width: 480px) {
	h1{
		font-size:28.5px;
	}
	h2{
		font-size:21px;
	}
	h3{
		font-size:16px;
	}
	p{
		font-size:14px;
	}
	textarea{
		width:90%;
	}
	img{
		width:100%;
	}

/* 全体の幅/高さ */
	body{
		width:375px;
		height:auto;
	}
	#wrap{
		width:100%;
		height:100%;
	}

/* ナビゲーションメニュー */
	#menu{
		background:#fff;
		color:000;
		display: none;
		
	}
	#menu li{
		width: 100%;
		float:right;
		background: #fff;
	}
	#menu_btn{
		display: block;
		width: 20%;
		float:right;
		color:000;
		background: #fff;
	}
	#menu_btn a{
		display: block;
		padding: 12px 0 10px;
		color: #000;
		text-align: center;
		text-decoration: none;
		clear:both;
	}
/* イメージエリア */
	#topimg{
		height:187px;
	}
/* コンテンツ全体 */
	#cont{
		display:block;
		height:auto;
		clear:both;
	}
/* mainエリア */
	#main{
		width:100%;
		flex-direction: column;
		padding:0;
	}
	#main_sub{
		margin:0;
	}
	.main_fmt{
		width:100%;
	}
/* subエリア */
	#sub{
		width:100%;
		flex-direction:column;
	}
	.sub_fmt{
		width:100%;
	}
/* フッターエリア */
	#footer{
		width:100%;
		height:auto;
	}
	#foot{
		width:100%;
		height:auto;
		flex-direction: column;
	}
	.foot_fmt{
		width:100%;
	}
}
/* 320px */
@media only screen and (max-width: 350px) {
/* 全体の幅/高さ */
	body{
		width:315px;
		height:auto;
	}
	.foot_fmt img{
		margin-left:25px;
	}
}
