* {
	box-sizing: border-box;
}
body {
	margin: 0;
	font-family: 'Noto Sans JP', sans-serif, 'Helvetica Neue', Helvetica, Arial, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "游ゴシック", "游ゴシック体", "YuGothic", "Yu Gothic", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
	font-size: 15px;
	color:#505050;
	line-height: 1.8em;
}
h1, h2, h3 {
	margin: 0;
}
h2 {
	height: 180px;
    text-align: center;
	padding-top:120px;
}
h3 {
    text-align: center;
    font-size: 1.5em;
    color: #007d4f;
	line-height:1.5em;
}
ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
dl, dd {
	margin: 0;
}
img {
	display: block;
	width: 100%;
}
a {
	text-decoration: none;
}
header {
	position: fixed;
	top: 0;
	left: 50%;
	-webkit-transform: translateX( -50% );
	-moz-transform: translateX( -50% );
	-ms-transform: translateX( -50% );
	transform: translateX( -50% );
	z-index: 10;
	width: 95%;
	max-width: 1200px;
	padding: 30px 0;
}
nav ul {
	display: flex;
	flex-wrap: wrap;
    justify-content: space-around;
}
nav li {
	width: calc( ( 100% - 30px ) / 4 );
	font-size: 14px;
	background: white;
	border: solid 1px #007d4f;
	border-radius: 1.2em;
}
/*nav li:not( :last-child ) {
	margin-right: 10px;
}*/
nav li a {
	display: block;
	padding: .5em;
	text-align: center;
	line-height: 1;
	color: #007d4f;
}
article {
	max-width: 1400px;
	margin: auto;
}
section {
	/*margin-bottom: 120px;*/
}
h2 img {
	width: auto;
	/*height: 95%;*/
	margin: auto;
}
.sub_title {
	margin: 10px 0 50px;
	text-align: center;
	font-size: 14px;
	font-weight: bold;
	line-height: 1.6em;
}
.attention {
	display: inline-block;
	color: red;
}
.link {
	display:none;
	position: fixed;
	top: 50vh;
	right: calc( ( ( 100% - 1400px ) / 2 ) + 50px );
	z-index: 1;
}
.link ul li:not( :last-child ) {
	margin-bottom: 10px;
}
.link ul li > a {
	display: block;
	width: 100%;
	height: 100%;
}
.left {
	float: left;
}
.right {
	float: right;
}
footer {
	width: 100%;
/*	max-width: 770px;*/
	margin: auto;
	padding: 30px 0;
	font-size: 9px;
	color: #007d4f;
	border-top: solid 1px #007d4f; 
}
.footer_logo {
	max-width: 640px;
	margin: 0 auto 20px;
	padding: 0 20px;
}
footer p {
	padding: 0 20px;
	text-align: center;
}
footer p > span {
	display: inline-block;
}
#page_top{
  width: 50px;
  height: 50px;
  position: fixed;
  right: 30px;
  bottom: 30px;
  background: rgba(0, 125, 79, .8);
  /*opacity: 0.6;*/
  border-radius: 50%;
}
#page_top a{
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  text-decoration: none;
}
#page_top a::before{
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f102';
  font-size: 25px;
  color: #fff;
  position: absolute;
  width: 25px;
  height: 25px;
  top: -5px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}


@media( max-width: 1400px ) {
	.link {
	    right: 50px;
	}
}


@media( max-width: 1120px ) {
	header {
		top: 10px;
		padding-top: 0;
	}
	nav li {
		width: calc( ( 100% - 60px ) / 2 );
	    margin: 0 0 10px;
	}
	.link {
	    right: 30px;
	}
}


@media( max-width: 510px ) {
	h2 {
		height: 155px;
	}
}


@media( max-width: 414px ) {
	header {
		width: 100%;
		top: 0;
		left: 0;
		-webkit-transform: none;
		-moz-transform: none;
		-ms-transform: none;
		transform: none;
		padding: 0;
	}
	nav {
		position: relative;
	}
	nav::before {
		content: "";
		position: absolute;
		top: 0;
		left: 50%;
		-webkit-transform: translateX(-50%);
		-moz-transform: translateX(-50%);
		-ms-transform: translateX(-50%);
		transform: translateX(-50%);
		display: block;
		height: 100%;
		border-left: solid 1px #007d4f;
	}
	nav li {
		width: 50%;
		margin: 0;
		border-top: none;
	    border-right: none;
	    border-left: none;
		border-radius: 0;
		font-size:10px;
	}
	nav li a {
		padding-top:10px;
		padding-bottom:10px;
	}

	section {
		margin-bottom:0;
	/*	margin-bottom: 60px;*/
	}
	h2 img{
		height:39px !important;
	}
	.link {
		top: auto;
		right: 15px;
		bottom: 15px;
	}
	.link li {
	    float: left;
	}
	.link ul li:not( :last-child ) {
		margin-right: 10px;
		margin-bottom: 0;
	}
	footer {
		padding-bottom: 80px;
	}
	footer p {
		text-align: left;
	}
}