@charset "utf-8";
/*フォント・文字色の一括設定--------------------*/

*{
	box-sizing: border-box;
}

body{
	font-family: 'Noto Sans JP', sans-serif;
	color: #1C2116;
	margin: 0;
	padding: 0;
}

.blue-sq{
	width: calc(100% - 30px);
	background: #CDE1FF;
	margin: 0;
	font-size: 22px;
	padding: 6px 0 6px 40px;
	font-family: 'Noto Serif JP', serif;
	font-weight: 600;
}
/*フォント・文字色の一括設定end----------------*/


/*カーソルの一括設定-------------------------*/
body:hover{
	cursor: default;
}
/*カーソルの一括設定-------------------------*/





/*====================トップページ=============================*/

/*----------------------header-------------------------------*/
header{
	position: fixed;
	display: flex;
	width: 100%;
	justify-content: left;
	align-items: center;
	padding: 10px 20px;
	margin: 0 auto;
	height: 80px;
	top: 0;
	left: 0;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
	background: #fff;
	z-index: 50;
}

.logo{
	height: 40px;
	margin: 0 40px 0 0;
}

nav{
	display: inline-block;
	gap: 10px;
	z-index: 75;
}

nav ul{
	list-style: none;
	display: flex;
	gap: 20px;
}

nav ul li a{
	text-decoration: none;
	font-size: 1em;
	color: #1C2116;
}

.contact-hamburger{
	display: none;
}

.contact{
	position: fixed;
	right: 10px;
	top: 10px;
	height: 60px;
	display: flex;
	align-items: center;
	background-color: #ff9914;
	padding: 4px 16px;
	border-radius: 20px;
}

.contact p{
	font-size: 0.9em;
	text-align: center;
	color: #fff;
	margin-right: 10px;
	margin-block: 0;
}

.contact span{
	font-size: 1.6em;
	line-height: 1.1em;
}

.contact-content{
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	border-left:1px solid #fff;
	padding-left: 10px;
}

.phone, .mail{
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 2px 0;
}

.contact-img{
	display: inline-block;
	height: 18px;
}

input[type="checkbox"]{
	display: none;
}

.hamburger-icon{
	width: 30px;
	height: 30px;
	top: 22px;
	right: 20px;
	cursor: pointer;
	display: none;
	position: relative;
}

.hamburger-icon span{
	display: block;
	height: 3px;
	margin: 6px 0;
	background: #333;
	border-radius: 2px;
	transition: 0.4s;
}

/*------------------------headerend--------------------------*/


/*------------------------top-banner-------------------------*/
main{
	margin-top: 80px;
}

#top-banner{
	position: relative;
	height: 50vh;
}

.cover-photo{
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ppl{
	height: 18vh;
	position: absolute;
}

.ppl-1{
	top: 3vh;
	right: 8%;
}

.ppl-2{
	top: 3vh;
	left: 8%;
}

.ppl-3{
	bottom: 3vh;
	right: 13%;
}

.ppl-4{
	bottom: 3vh;
	left: 13%;
}

.catch-copy{
	font-size: 30px;
	font-family: 'Shippori Mincho B1', serif;
	font-weight: 400;
	position: absolute;
	top: 42%;
	left: 50%;
	-webkit-transform : translate(-50%,-50%);
	transform : translate(-50%,-50%);
	padding: 5px 10px;
	color: #fff;
	background: rgba(0, 56, 139, 0.2);
	display: block;
	text-align: center;
}

/*-----------------------top-bannerend-----------------------*/


/*----------------------------main---------------------------*/

/*flexboxの設定*/
.container{
	display: flex;
	justify-content: space-between;
	margin: 20px 0;
}

/*左側メイン部分の幅指定*/
.flex-box{
	width: 78%;
	margin: 0;
}

/*左側メイン部分のフォーマット指定*/
.top-content{
	padding: 0 30px 50px 50px;
	font-size: 15px;
	line-height: 27px;
}

/*左側メイン部分箇条書き部分*/
.top-content ul{
	list-style-type: "・";
	margin: 5px 0 5px 12px;
}

.top-content ul li{
	padding-left: 5px;
	line-height: 25px;
}

/*メイン部分の写真サイズ指定*/
.writing{
	width: 25vh;
	float: right;
}

.construction{
	width: 25vh;
	float: right;
}

/*---------------------------mainend ------------------------*/


/*---------------------------新着情報-------------------------*/

/*右側新着情報部分の幅・高さ指定*/
aside{
	width: 20%;
	margin-right: 10px;
}

/*新着情報の文言*/
aside h5{
	font-size: 22px;
	font-weight: lighter;
	font-family: 'Noto Serif JP', serif;
	margin-bottom: 10px;
	margin-block: 0;
	padding: 6px 0 6px 10px;
	border-bottom: 1px solid #bababa;
	border-left: 3px solid #bababa;
}

/*新着情報の内容設定*/
.aside-content{
	height: 70vh;
	width: 100%;
	overflow-y: scroll;
}

article{
	padding: 20px 10px;
	padding-bottom: 20px;
	width: 100%;
	word-wrap: break-word;
	border-bottom: 1px dotted #bababa;
}

.news-day{
	font-size: 16px;
}

.news-title{
	font-size: 16px;
	width: 100%;
}

article p{
	width: 100%;
	font-size: 13px;
}

/*--------------------------新着情報end-----------------------*/

/*---------------------------footer--------------------------*/
footer{
	height: 180px;
	background: #eee;
	position: absolute;
	text-align: center;
	width: 100%;
}

/*フッター内メニューボタン*/
footer ul{
	list-style-type: none;
	display: flex;
	justify-content: center;
}

footer li{
	margin: 20px 0;
	padding: 0 10px;
}

footer a{
	text-decoration: none;
	color: #000;
}

/*コピーライト*/
.copy-right{
	position: relative;
	margin: 0 auto;
	padding-top: 40px;
	font-size: 13px;
}
/*----------------------footerend----------------------------*/

/*==============メディアクエリ(max-width 1050px)===============*/
@media (max-width: 1050px) {
	
	header{
		justify-content: space-between;
	}

	.logo{
		margin: 0 20px 0 0;
	}

	nav{
		margin: 0;
		padding: 0;
		width: 30%;
		height: 100%;
		position: fixed;
		top: 0;
		right: -30%;
		background: #0c3a7f;
		transition: 0.3s;
		opacity: 0.95;
	}

	nav ul{
		display: block;
		width: 90%;
		text-align: left;
		margin: 100px auto;
		padding: 0;
	}

	nav ul li {
		margin: 30px auto;
	}

	nav ul li a{
		color: #fff;
		border-left: 4px solid #fff;
		padding-left: 6px;
	}

	nav ul li a:hover{
		color: #CDE1FF;
		border-left: 2px solid #CDE1FF;
		transition: 0.3s;
	}

	.divider{
		display: none;
	}

	.hamburger-icon{
		display: block;
		z-index: 100;
	}

	/* アイコンがクリックされたらメニューを表示 */
	#hamburger-menu:checked ~ nav {
  		right: 0;/* メニューを画面に入れる */
	}

	#hamburger-menu:checked ~ .hamburger-icon span{
		background: #fff;
	}

	label[for="hamburger-menu"]{
		display: block;
		position: fixed;
		top: 25px;
		right: 26px;
		cursor: pointer;
		z-index: 99;
	}

	.contact-hamburger{
		display: block;
		align-items: center;
		background-color: #ff9914;
		padding: 10px;
		border-radius: 20px;
		margin: 0 auto;
		width: 90%;
	}

	.contact-top{
		padding-bottom: 6px;
		border-bottom: 1px solid #fff;
	}

	.contact-hamburger p{
		font-size: 0.9em;
		text-align: center;
		color: #fff;
		margin: 0 0 10px 0;
	}

	.contact-hamburger span{
		font-size: 1.4em;
		line-height: 1em;
	}

	.contact-hamburger .contact-content{
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		border: none;
		margin-top: 6px;
		padding: 0;
	}

	.contact-hamburger .phone,
	.contact-hamburger .mail {
		display: flex;
		align-items: center;
		gap: 4px;
	}
	
	.contact-hamburger .contact-img {
		display: block;
		height: 18px;
	}

	.contact-hamburger p {
		margin: 0;
		line-height: 1;
	}

	.contact{
		position: relative;
		margin-right: 60px;
		top: auto;
	}

	/*トップバナー内文章のサイズと位置調整*/
	.catch-copy{
		font-size: 26px;
		top: 44%;
	}
	
	/*トップバナー内丸写真の位置調整*/
	.ppl{
		height: 14vh;
	}
	
	.ppl-3{
		right: 8%;
	}
	
	.ppl-4{
		left: 8%;
	}
	
	.writing, .construction{
		width: 200px;
		margin-left: 20px;
	}
	
	/*新着情報を右→下へ移動したいのでフレックスボックスをやめる*/
	.container{
		display: block;
	}
	
	/*メイン部分の幅を全面へ*/
	.flex-box{
		width: 100%;
	}
	
	/*新着情報が下に移動したため、幅を全面に*/
	aside{
		width: 90%;
		padding: 0 5px;
		margin: 60px auto;
	}
	
	.aside-content{
		height: 40vh;
	}

	footer{
		height: 70px;
	}

	footer ul{
		display: none;
	}

	.copy-right{
		padding-top: 20px;
	}

}

/*==============メディアクエリ(max-width 750px)===============*/
@media (max-width: 750px) {
	
	/*基準とするフォントサイズの変更*/
	body{
		font-size: 12px;
	}
	
	.blue-sq{
		font-size: 17px;
		width: calc(100% - 10px);
		padding-left: 14px;
	}

	/*max750pxのトップページ------------------------------*/

	header{
		height: 60px;
		padding: 10px 14px;
	}

	.contact{
		display: none;
	}
	
	nav{
		width: 50%;
		right: -50%;
	}

	nav ul li a{
		font-size: 1.2em;
	}
	.contact-hamburger{
		width: 80%;
	}
	.contact-hamburger p{
		font-size: 1.2em;
	}

	label[for="hamburger-menu"]{
	top: 14px;
	right: 14px;
}

	/*トップバナーの調整*/
	main{
		margin-top: 60px;
	}
	
	#top-banner{
		height: 35vh;
	}
	
	.ppl{
		height: 10vh;
		position: absolute;
	}
	
	.ppl-1{
		top: 1vh;
		right: 3%;
	}

	.ppl-2{
		top: 1vh;
		left: 3%;
	}

	.ppl-3{
		bottom: 1vh;
		right: 10%;
	}

	.ppl-4{
		bottom: 1vh;
		left: 10%;
	}
	
	.catch-copy{
		font-size: 18px;
		width: 90%;
		top: 42%;
	}
	
	/*メイン部分の文章調整*/
	.top-content{
		padding: 10px 10px 30px 14px;
		font-size: 11px;
		line-height: 19px;
	}
	
	.top-content ul{
		margin: 3px 0 3px 10px;
	}

	.top-content ul li{
		padding-left: 3px;
		padding-bottom: 3px;
		line-height: 19px;
	}

	/*メイン部分の写真サイズ調整*/
	.writing{
		width: 20vh;
		float: right;
		margin-left: 5px;
	}

	.construction{
		width: 20vh;
		float: right;
		margin-left: 5px;
	}
	
	aside h5{
		font-size: 16px;
	}
	
	.news-day,.news-title{
		font-size: 14px;
	}
	
	article p{
		font-size: 12px;
	}
	
	footer li{
		margin: 10px 0px;
	}
	
	footer li a{
		font-size: 8px;
	}
}	
/*============メディアクエリ(max-width 750px)end===============*/

/*============メディアクエリ(max-width 414px)==================*/
@media (max-width: 414px) {
	
	.logo{
		height: 30px;
	}

	nav{
		width: 100%;
		right: -100%;
	}

	nav ul li a{
		font-size: 1.2em;
	}

	.contact-hamburger p{
		font-size: 1.2em;
	}
	
	/*トップバナー内文章のフォント変更*/
	.catch-copy{
		font-size: 15px;
		top: 42%;
	}
	
	/*フッター内メニューボタンの調整*/
	footer li{
		margin: 10px 5px;
	}
	
	footer li a{
		font-size: 10px;
	}
	
	/*フッター内コピーライトの調整*/
	.copy-right{
		font-size: 10px;
	}
}
/*============メディアクエリ(max-width 414px)end===============*/