@charset "UTF-8";

/*
Theme Name: Goto Masakuni
Author: Edison system
Description: original theme
Version： 1.0.0
*/

html {
	scroll-behavior: smooth;
}
body {
    background: #fff; 
    color: #231815;
    text-align: center;
	font-family: "Noto Sans JP", sans-serif;
}
img {
	max-width:100%;
	height: auto;/*高さ自動*/
}
a {
    color: #004ea2;
}
a:hover { 
    color: #004ea2;
    text-decoration: none;
}
.button {
    margin: 1rem;
}
a:hover img {
	opacity: 0.7;
}
.center {
	text-align: center;
	margin-bottom: 4rem;
}
.right {
	text-align: right;
}
h1, h2, h3, h4, h5, h6 {
	font-size: 18px;
    font-weight: normal;
    line-height: 1.5;
    font-family: "Noto Sans JP", sans-serif;
}
p, div, dt, dd {
	font-size: 18px;
    font-weight: normal;
    line-height: 1.5;
    font-family: "Noto Sans JP", sans-serif;
}

@media screen and (max-width: 768px){
	h1, h2, h3, h4, h5, h6 {
		font-size: 16px;
	    font-weight: normal;
	    line-height: 1.5;
	}
	p, div, dt, dd {
		font-size: 16px;
	    font-weight: normal;
	    line-height: 1.5;
	}
}

.clearfix:after {
  content: "";
  display: block;
  clear: both;
} 
.clearfix:before {
  content: "";
  display: block;
  clear: both;
} 
.clearfix {
  display: block;
}
.clearboth {
	clear: both;
	display: block;
}

/*レスポンシブ
-------------------------------------*/
.show-pc {
	display: block;
}
.show-sp {
	display: none;
}

@media screen and (max-width: 768px){
	.show-pc {
		display: none;
	}
	.show-sp {
		display: block;
	}
}

/*アニメーション
-------------------------------------*/
.anime-fadein {
  animation: fade-in 3s;
  animation-fill-mode: forwards;
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/*全体のレイアウト
-------------------------------------*/
#wrapper {
	width: 100%;
	text-align: center;
	padding: 0;
	margin: 0;
}
#wrapper-in {
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	padding: 0;
}

/*ヘッダー
-------------------------------------*/
header {
	margin: 0;
	padding: 0;
	background: #0c78d0;
}
#header-navi {
	text-align: left;
}
#header-navi .show-pc {
	font-size: 18px;
	color: #fff;
	padding: 50px 5%;
}
#header-navi .show-pc a {
	font-size: 18px;
	color: #fff;
	text-decoration: none;
	display: inline-block;
	transition: transform 0.25s ease, color 0.25s ease;
	font-weight: 700;
}
#header-navi .show-pc a:hover {
	transform: scale(1.1);
	transform: scale(1.05) translateY(-1px);
}

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


}

/*スマホ用メニュー
-------------------------------------*/	
#overlay-button {
  position: absolute;
  right: 1em;
  top: 1em;
  padding: 26px 11px;
  z-index: 500000;
  cursor: pointer;
  user-select: none;
}
#overlay-button span {
  height: 2px;
  width: 35px;
  border-radius: 1px;
  background-color: #fff;
  position: relative;
  display: block;
  transition: all .2s ease-in-out;
}
#overlay-button span:before {
  top: -10px;
  visibility: visible;
}
#overlay-button span:after {
  top: 10px;
}
#overlay-button span:before, #overlay-button span:after {
  height: 2px;
  width: 35px;
  border-radius: 1px;
  background-color: #fff;
  position: absolute;
  content: "";
  transition: all .2s ease-in-out;
}
#overlay-button:hover span, #overlay-button:hover span:before, #overlay-button:hover span:after {
  background: #fff;
}
input[type=checkbox] {
  display: none; 
}
input[type=checkbox]:checked ~ #overlay {
  visibility: visible; 
}
input[type=checkbox]:checked ~ #overlay-button:hover span, input[type=checkbox]:checked ~ #overlay-button span {
  background: transparent;
}
input[type=checkbox]:checked ~ #overlay-button span:before {
  transform: rotate(45deg) translate(7px, 7px);
}
input[type=checkbox]:checked ~ #overlay-button span:after {
  transform: rotate(-45deg) translate(7px, -7px);
}
#overlay {
  height: 100vh;
  width: 100vw;
  background: #0055a8;
  z-index: 300000;
  visibility: hidden;
  position: fixed;
}
#overlay ul {
  text-align: center !important;
  margin: 10% 20% 0;
  list-style-type: none;
}
#overlay ul li {
  padding: 0.3em 0.5em;
}
#overlay ul li a {
  text-decoration: none;
  font-size: 26px;
  color: #fff;
  text-align: right !important;
  font-weight: 300;
}
#overlay ul li a:hover {
  color: #000!important;
}
#overlay .head-contact {
	text-align: center;
	margin-top: 10%;
	width: 100% !important;
}
#overlay .head-contact a {
	font-weight: 300;
	color: #fff;
	width: 100% !important;
}
#overlay .head-contact a span {
	font-size: 26px !important;
	width: 60% !important;
	padding: 5px !important;
	display: inline-block;
}

@media screen and (min-width: 768px){
	#overlay-input {
		display: none !important;
	}
	#overlay-button {
		display: none !important;
	}
}

/* 共通要素
-------------------------------------*/
.btn-base {
	text-align: center;
	margin-top: 30px;
}
.btn-base a {
	display: inline-block;
	max-width: 400px;
	width: 80%;
	padding: 20px;
	background: #004ea2;
	color: #fff;
	border-radius: 8px;
	font-weight: 700;
	text-decoration: none;
	transition: transform 0.25s ease, color 0.25s ease;
}
.btn-base a:hover {
	transform: scale(1.1);
	transform: scale(1.05) translateY(-1px);	
}

/* メインコンテンツ
-------------------------------------*/
main {
    margin: 8% auto 0 !important;
    padding: 0 0 5% !important;
    max-width: 960px;
    width: 100%;
    text-align: left;
}

.content860 {
	max-width: 860px;
	margin: auto;
}
.content1000 {
	max-width: 1000px;
	margin: auto;
}
.content1100 {
	max-width: 1100px;
	margin: auto;
}

@media screen and (max-width: 768px){
	main {
	    padding: 0 5% 5% !important;
	}
}


/*トップページ
-------------------------------------*/

/* hero */

#top-hero {
	background-image: url(img/bg-main.jpg);
	background-size: cover;
	background-position: center top;　
	max-height: 768px;
	height: auto;
}
#top-hero h1 {
	margin: 0;
	padding: 0;
	text-align: right;
}
#top-hero h1 img {
	width: 95%;
	margin-bottom: -10%;
	z-index: 200000;
}
#subpage-hero {
	background-image: url(img/bg-main.jpg);
	background-size: cover;
	background-position: center top;
	max-height: none;
	height: 350px;
}
#subpage-logo {
	margin: 0;
	padding: 0;
}

@media screen and (max-width: 768px){
	#subpage-hero {
		height: 160px;
	}
	#subpage-logo {
		padding: 50px 10% 0;
		text-align: center;
	}
	#subpage-logo img {
		max-width: 300px;
		margin: 0 auto;
	}
}


/* policy */

#sky-section {
	background: #0c78d0;
	padding: 15% 0 0;
	background-image: url(img/bg-sky.jpg);
	background-position: center bottom;
	background-size: cover;
}
#news {
	max-width: 1140px;
	background: #fff;
	border-radius: 32px;
	margin: 0 auto 50px;
	width: 90%;
	z-index: 3;
	text-align: left;
	position: relative;
	padding: 40px 0;
}
#news h2 {
	margin: 0 0 0 40px !important;
	width: auto;
	height: 37px;
	background-image: url(img/bg-ttl-profile.png);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: left top;
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	padding: 5px 0 0 30px;
}
.news-box {
	padding: 0 60px;
}
.news-box dl {
	margin: 0;
	padding: 20px 0;
	border-bottom: 1px solid #ddd;
}
.news-box dt {
	float: left;
	width: 120px;
	margin: 0 10px 0 0;
	padding: 0;
}
.news-box dd {
	float: left;
	margin: 0;
	padding: 0;
}
#policy {
	padding: 0 0 150px;
	position: relative;
}
#policy::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 10%;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0),
    rgba(255,255,255,1)
  );
  pointer-events: none;
  z-index: 1;
}
.policy-img img.show-pc {
	margin-left: 10%;
	width: 90%;
}

@media screen and (max-width: 768px){
	#news {
		border-radius: 24px;
		padding: 30px 0;
	}
	#news h2 {
		margin: 0 0 0 30px !important;
		width: auto;
		height: 30px;
		font-size: 16px;
		padding: 4px 0 0 20px;
	}
	.news-box {
		padding: 0 30px 10px;
	}
	.news-box dt {
		float: none;
		width: auto;
		margin-right: 10px;
	}
	.news-box dd {
		float: none;
	}
}

/* profile */

#profile {
	text-align: center;
	margin-top: -10%;
	z-index: 2;
	position: relative;
}
.profile-box {
	max-width: 1140px;
	background: #fff;
	border-radius: 32px;
	margin: 0 auto;
	width: 90%;
	z-index: 3;
	text-align: left;
	position: relative;
	padding: 40px 0;
}
.profile-box h2 {
	margin: 0 0 0 40px !important;
	width: auto;
	height: 37px;
	background-image: url(img/bg-ttl-profile.png);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: left top;
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	padding: 5px 0 0 7px;
}
.profile-box dl {
	margin: 20px 20px 50px 60px;
	background-image: url(img/img-standing.jpg);
	background-size: auto 95%;
	background-repeat: no-repeat;
	background-position: right bottom;
}
.profile-box dt {
	font-size: 30px;
	font-weight: 700;
	color: #004ea2;
	position: relative;
	padding: 0 0 0 17px !important;
	display: block;
	line-height: 1.5;
}
.profile-box dt::before {
  content: "";
  position: absolute;
  left: 0;
  top: 25px;
  width: 5px;
  height: 28px;
  background-color: #004ea2;
  transform: translateY(-50%);
}
.profile-box dt span {
	font-size: 20px;
	display: block;
}
.profile-box dd {
	font-size: 20px;
	font-weight: normal;
	margin: 0 0 20px;
	padding: 0 0 0 20px !important;
}
.profile-pict {
	padding: 20px 60px;
}
.profile-pict p {
	font-size: 18px;
}

@media screen and (max-width: 1200px){
	.profile-box dl {
		background-size: auto 70%;
	}
	.profile-box dt,
	.profile-box dd {
		width: 70%;
	}
}
@media screen and (max-width: 998px){
	.profile-box dl {
		background-image: none;
	}
	.profile-box dt,
	.profile-box dd {
		width: 100%;
	}
}
@media screen and (max-width: 768px){
	.profile-box {
		border-radius: 24px;
		padding: 30px 0;
	}
	.profile-box h2 {
		margin: 0 0 0 30px !important;
		width: auto;
		height: 30px;
		font-size: 16px;
		padding: 4px 0 0 6px;
	}
	.profile-box dl {
		margin: 20px 30px;
		background-image: none;
	}
	.profile-box dt {
		font-size: 24px;
		padding: 0 0 0 14px !important;
	}
	.profile-box dt::before {
	  left: 0;
	  top: 18px;
	  width: 5px;
	  height: 24px;
	}
	.profile-box dt span {
		font-size: 16px;
		display: block;
	}
	.profile-box dd {
		font-size: 16px;
		font-weight: normal;
		margin: 0 0 15px;
		padding: 0 0 0 15px !important;
	}
	.profile-pict {
		padding: 20px;
	}
	.profile-pict p {
		font-size: 16px;
	}
}

/* サブページ
-------------------------------------*/
#news-list h1 {
	font-weight: 700;
	text-align: center;
	font-size: 36px;
	align-items: center;
	display: flex;
	margin-bottom: 5%;
}
#news-list h1::before,
#news-list h1::after {
  background-color: #004ea2;
  content: "";
  flex-grow: 1;
  height: 3px;
}
#news-list h1::before {
  margin-right: 20px;
}
#news-list h1::after {
  margin-left: 20px;/
}
#news-list .news-box {
	padding: 0;
}
.news-pager {
	text-align: center;
	margin-top: 5%;
}
.news-pager a {
	padding: 8px;
	text-decoration: none;
	border: 1px solid #004ea2;
}
.news-pager a:hover {
	padding: 8px;
	text-decoration: none;
	border: 1px solid #004ea2;
	color: #fff;
	background: #004ea2;
}
.breadcrumbs {
	font-size: 14px;
	margin-bottom: 3%;
}
.news-date {
	font-size: 16px;
	text-align: right;
	margin-bottom: 3%;
}
#article h1 {
	font-size: 30px;
	font-weight: 700;
	margin-bottom: 5%;
}
.eyecatch {
	margin-bottom: 5%;
}
.article-links {
	margin-top: 8%;
}
.article-links a {
	text-decoration: none;
}
.article-links a:hover {
	text-decoration: none;
	opacity: 0.7;
}
.article-links a img {
	width: 30px;
	height: auto;
	margin: 0 10px;
}
.link-left {
	float: left;
}
.link-right {
	float: right;
}

@media screen and (max-width: 768px){
	#news-list h1 {
		font-size: 24px;
		align-items: center;
		display: flex;
		margin-bottom: 5%;
	}
	#article h1 {
		font-size: 24px;
	}
}

/* wp-pagenavi */
.wp-pagenavi a, .wp-pagenavi span {
	text-decoration: none;
	border: none !important;
	width: 30px !important;
	height: 30px !important;
	margin: 4px !important;
	display: inline-block !important;
	padding: 2px 0 0 !important;
	font-size: 14px;
}
.wp-pagenavi a:hover {
	border: 1px solid #004ea2 !important;
	background: #004ea2 !important;
	color: #fff;
	opacity: 1;
}
.wp-pagenavi span.current {
	font-weight: bold;
	border: 1px solid #004ea2 !important;
}


/*共通スタイル
-------------------------------------*/
.table-basic {
	width: 100%;
	font-size: 14px;
	margin: 0 0 30px;
}
.table-basic tr {
	border-top: 1px solid #fff;
	border-bottom: 1px solid #fff;
}
.table-basic th {
	padding: 11px 15px;
	vertical-align: top;
	width: 125px;
}
.table-basic td {
	padding: 10px 15px;
	vertical-align: top;
}
.map {
	margin-bottom: 70px;
}

@media screen and (max-width: 768px){
	.map {
		margin-top: 30px;
	}
}



/*フッター
-------------------------------------*/
footer {
	width: 100%;
	margin: 10% 0 0;
	padding: 0;
}
#footer-content {
	background-image: url(img/bg-footer.png);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center top;
	width: 100%;
	height: auto;
	max-height: 480px;
	text-align: center;
	position: relative;
	margin: 0 !important;
}
.footer-img {
	position: absolute;
	width: 28%;
	top: -30%;
	left: 5%;
	z-index: 300000;
}
.footer-btns {
	max-width: 1140px;
	margin: 0 auto;
	width: 90%;
	z-index: 3;
	text-align: left;
	position: relative;
	padding: 40px 0;	
}
.footer-btns ul {
	padding: 13% 0 0 30%;
	list-style: none;
}
.footer-btns ul li {
	width: 40%;
	float: left;
	margin-left: 5%;
}
.footer-btns ul li a img {
	transition: transform 0.25s ease, color 0.25s ease;
}
.footer-btns ul li a:hover img {
	opacity: 1;
	transform: scale(1.1);
	transform: scale(1.05) translateY(-1px);
}
#footer-navi {
	margin: -3% 0 0 !important;
	padding: 3% 3% 1%;
	background-image: url(img/bg-footer2.jpg);
	background-size: cover;
	background-repeat: repeat-y;
	color: #fff;
}
#footer-navi p {
	text-align: left;
	font-size: 14px;
	padding-bottom: 0;
	margin-bottom: 5px;
}
#footer-navi p strong {
	font-size: 22px;
}
.footer-navi-left {
	float: left;
	text-align: left;
	font-size: 14px;
}
#footer-navi a {
	color: #fff;
	text-decoration: none;
}
.footer-navi-left a:hover {
	text-decoration: underline;
}
.copyright {
	float: right;
	text-align: right;
	font-size: 12px;
}


@media screen and (max-width: 768px){
	#footer-content {
		background-image: url(img/bg-main.jpg);
		background-repeat: no-repeat;
		background-size: cover;
		background-position:left top;
		width: 100%;
		height: auto;
		max-height: none;
		text-align: center;
		position: relative;
		margin: 0 !important;
	}
	#footer-content .show-sp {
		padding-top: 5%;
	}
	.footer-img {
		position: static;
		float: right;
		width: 36%;
		margin: 10% 3% 3% 0;
	}
	.footer-btns {
		margin: 0 auto;
		width: 60%;
		z-index: 3;
		text-align: left;
		float: left;
		position: relative;
		padding: 0 20px;	
	}
	.footer-btns ul {
		padding: 0;
	}
	.footer-btns ul li {
		width: 100%;
		float: none;
		margin: 5% 0;
	}
	.footer-btns ul li a img {
		transition: transform 0.25s ease, color 0.25s ease;
	}
	.footer-btns ul li a:hover img {
		opacity: 1;
		transform: scale(1.1);
		transform: scale(1.05) translateY(-1px);
	}
	.footer-navi-left {
		float: none;
	}
	.copyright {
		float: none;
		text-align: right;
		padding: 20px 0 10px;
		font-size: 12px;
	}
}
