@charset "utf-8";

/******** ページ全体 ********/
body {
	font-size: 16px;
	font-family: "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", sans-serif;
}
img {
	max-width: 100%;
	vertical-align: bottom;
}
a:link, a:visited { color: #333333; text-decoration: none; }
a:hover { color: #333333; text-decoration: underline; }
.red_b {
	color: #cc0000;
	font-weight: bold;
}

/******** ヘッダー ********/
.header_area {
	max-width: 1120px;
	margin: 5px auto;
	display: flex;
	justify-content: space-between;
}
.header_box {
	width: 45%;
	display: flex;
	align-items: center;
	margin-top: 0.5%;
}
.logo_mark {
	margin: 0 2% 0 0;
}
.main_visual {
	width: 100%;
	margin: -8.5% auto 2%;
	padding: 16% 0 6%;
	background-image: url("../img/main_visual.png");
	background-repeat: no-repeat;
	background-size: cover;
}

/******** ナビゲーション ********/
.globalnav-wrap {
	width: 100%;
	padding: 10px 0;
	background: #129bc5;
	background: -moz-linear-gradient( #46c1d8 0%, #129bc5 100%);
	background: -webkit-gradient(linear, left top, left bottom, from(#46c1d8), to(#129bc5));
	background: -webkit-linear-gradient( #46c1d8 0%, #129bc5 100%);
	background: -o-linear-gradient( #46c1d8 0%, #129bc5 100%);
	background: linear-gradient( #46c1d8 0%, #129bc5 100%);
	text-align: center;
}
.globalnav {
	max-width: 1120px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
}
.globalnav li {
	width: calc(100% / 4);
	border-right: 2px solid #ffffff;
	box-sizing: border-box;
}
.globalnav li:last-child {
	border-right: none;
}
.nav_item {
	display: flex;
	flex-direction: column;
}
.nav_item:link, .nav_item:visited { color: #ffffff; text-decoration: none; }
.nav_item:hover { background: #3c9dd0; color: #ffffff; text-decoration: none; }

.nav_item_text {
	margin: 0 0 10px 0;
}
.nav_item_en {
	line-height: 1.4em;
	font-size: 0.8em;
}
.globalnav .dropdown-btn {
	color: #ffffff;
	position: relative;
	display: inline-block;
	cursor: pointer;
}
.globalnav .dropdown-btn:hover {
	background: #3c9dd0;	
}
.globalnav .dropdown {
	z-index: 1000;
	background: #3c9dd0;
	position: absolute;
	left: 0;
	width: 100%;
	padding: 10px 20px;
	display: none;
}
.globalnav .dropdown li {
	width: 100%;
	margin: 10px 0;
	border: none;
}
.globalnav .dropdown li a {
	color: #fff;
}
.globalnav .nav-button-wrap,
.globalnav .open {
	display: block;
}
.globalnav .close {
	display: block;
}
/** 20241017 *********************/
.side_area img:hover {
	opacity: 0.5;
	transition-duration: 0.3s;
}
/*********************************/
@media screen and (max-width: 1500px) {
.main_visual {
    width: 100%;
    margin: -8.5% auto 2%;
    padding: 14% 0 6%;
}
.nav_item_text {
    margin: 0 0 1% 0;
}
.nav_item_icon {
    margin: 0 0 2% 0;
}
.globalnav-wrap {
    padding: 0.3% 0;
}
}
@media screen and (max-width: 768px) {
	.main_visual {
	    padding: 24% 0 6%;
	}
	header {
		position: relative;
		width: 100%;
	}
	.globalnav-wrap {
		padding: 0;
	}
	.nav-button-wrap {
		display: block;
		position: fixed;
		right: 0px;
		top: 0px;
		z-index: 1000;
		cursor: pointer;
		padding: 15px;
		height: 53px;
		background: #333333;
	}
	.globalnav {
		display: none;
	}
	.globalnav .close {
		display: none;
	}
	.globalnav-wrap.open .globalnav {
		display: block;
		padding: 40px 20px 0;
		position: fixed;
		left: 0;
		top: 0;
		background-color: rgba(0, 0, 0, 0.9);
		width: 100%;
		height: 100%;
		overflow-x: hidden;
		overflow-y: auto;
	}
	.globalnav .dropdown-btn {
		border-right: none;
		border-left: none;
		border-bottom: 1px dashed #ffffff;
	}
	.globalnav-wrap.open .globalnav li {
		width: 80%;
		margin-right: auto;
		margin-left: auto;
		margin-bottom: 20px;
		padding-bottom: 20px;
		display: block;
	}
	.globalnav-wrap.open .globalnav li:hover {
		background: transparent;
	}
	.globalnav-wrap.open .globalnav .dropdown {
		display: block;
		position: static;
		background: transparent;
	}
	.globalnav-wrap.open .globalnav .dropdown li {
		padding-bottom: 0;
	}
	.nav_item_icon {
		display: none;
	}
	.nav-button,
	.nav-button span {
		display: inline-block;
		transition: all 0.3s;
	}
	.nav-button {
		z-index: 20;
		width: 25px;
		height: 19px;
		position: relative;
	}
	.nav-button span {
		position: absolute;
		left: 0;
		width: 100%;
		height: 3px;
		background-color: #ffffff;
		border-radius: 4px;
	}
	.nav-button span:nth-of-type(1) {
		top: 0;
	}
	.nav-button span:nth-of-type(2) {
		top: 8px;
	}
	.nav-button span:nth-of-type(3) {
		bottom: 0;
	}
	.active .nav-button span:nth-of-type(1) {
		transform: translateY(10px) rotate(-45deg);
	}
	.active .nav-button span:nth-of-type(2) {
		opacity: 0;
	}
	.active .nav-button span:nth-of-type(3) {
		transform: translateY(-6px) rotate(45deg);
	}
}

/******** メイン ********/
main {
	max-width: 1120px;
	margin: 30px auto 50px;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.contents_area {
	width: 70%;
}
.side_area {
	width: 25%;
}

/******** フッター ********/
.footer_area {
	width: 100%;
	border-top: 5px solid #3c9dd0;
}
#page-top {
	position: absolute;
	top: -33px;
	right: 0;
}
.footer_box {
	max-width: 1120px;
	margin: 30px auto;
}
.footer_logo {
	width: 37%;
	display: flex;
	align-items: center;
}
.copy_area {
	width: 100%;
	background-color: #0a95c2;
}
.copy_box {
	max-width: 1120px;
	margin: 0 auto;
	line-height: 35px;
	text-align: center;
	color: #ffffff;
}

/******** トップページのみ ********/
.sub_tit {
	margin: 0 0 20px 0;
	font-size: 1.5em;
	color: #824408;
}
.news_box {
	width: 100%;
	margin: 0 0 30px 0;
}
.news_item {
	margin: 0 0 20px 0;
	padding: 20px 0;
	border-bottom: 1px dashed #cccccc;
	display: flex;
	align-items: center;
	line-height: 1.7;
}
.news_date, .news_cate {
	width: 15%;
}
.news_cate {
	text-align: center;
}
.news_ttl {
	width: 70%;
	line-height: 1.4em;
}
.news_btn {
	width: 250px;
	margin: 0 auto;
	color: #0658a9;
	text-align: center;
}
.news_btn a {
	padding: 10px;
	border: 1px solid #0658a9;
	border-radius: 30px;
	display: block;
}
.news_btn a:link, .news_btn a:visited { color: #0658a9; text-decoration: none; }
.news_btn a:hover { background: #0658a9; color: #ffffff; text-decoration: none; }

.link_box {
	width: 100%;
}
.link_item {
	margin: 0 0 20px 0;
	text-align: center;
}

/******** 下層ページ共通 ********/
.sub_nav_area {
	width: 60%;
	margin: 0 0 30px 0;
	background-color: #B5E4F8;
}
.sub_nav_box {
	width: 100%;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
}
.sub_nav_box li {
	width: calc(100% / 4);
	border-right: 2px solid #cccccc;
	text-align: center;
	box-sizing: border-box;
}
.sub_nav_box li:last-child {
	border-right: none;
}
.sub_nav_item {
	display: flex;
	flex-direction: column;
}
.sub_nav_item:link, .sub_nav_item:visited { color: #333333; text-decoration: none; }
.sub_nav_item:hover { color: #333333; text-decoration: none; }
.nav_item_icon {
	margin: 0 0 10px 0;
}

/** conpe/archive.php **/
.archive_list {
	margin: 0 0 50px 0;
}
.archive_list li {
	margin: 0 0 20px 0;
	padding: 5px;
	border: 1px solid #cccccc;
}
@media screen and (max-width: 1120px) {
	.header_area, main, .footer_box {
		width: 98%;
	}
}
@media screen and (max-width: 1024px) {
	.news_item {
		justify-content: flex-start;
		flex-wrap: wrap;
	}
	.news_date, .news_cate {
		width: 100px;
	}
	.news_ttl {
		width: 100%;
	}
}

@media screen and (max-width: 840px) { 
	.main_logo {
		width: 70%;
		margin: 0 auto 20px;
		text-align: center;
		position: relative;
	}
	.logo_mark {
		padding-bottom: 0;
		border-bottom: none;
	}
}

@media screen and (max-width: 640px) { 
	.header_box {
		width: 75%;
		margin: 0 auto;
	}
	.main_visual {
	    width: 100%;
	    margin: -1% auto 2%;
	    padding: 25% 0 10%;
	}
	.contents_area, .side_area {
		width: 98%;
		margin: 0 auto 10%;
	}
	.footer_logo {
		width: 75%;
		margin: 0 auto;
	}
}

@media screen and (max-width: 480px) {
	.sub_tit {
		text-align: center;
		font-size: 1.2em;
	}
}