header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 1rem;
	width: 100%;
	height: 70px;
    background-color: white;
/*    color: #333;*/
    position: fixed;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-sp-only {
	border: 0; 
	clip: rect(0 0 0 0); 
	height: 1px; 
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

.header-menu-item.current {
	color: #0E62A9;
	font-weight: bold;
}

@media (min-width: 769px){
	.nav-button,
	.nav-img,
	.footer-menu-list li
	 {
		display: none;
	}
	
	.logo img{
		width: 219px;
		height: 54.3px;
	}
	
	.nav {
		position: relative;
		left: auto;
		width: auto;
		height: 100%;
	}
	
	.header-menu-list {
		display: flex;
		align-items: center;
		list-style: none;
		justify-content: center;
		padding: 0;
		margin: 0;
		height: 70px;
	}
	
	.header-menu-list li {
		height: 100%;
		position: relative;
	}
	
	.header-menu-list>li>a {
		display: block;
		padding: 0.5rem 1rem;
		color: #222222;
		text-decoration: none;
		text-align: center;
		padding-top: 1.5rem;
		font-family: 'Noto Sans','Hiragino Sans', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', 'メイリオ', 'Meiryo', 'MS Pゴシック', 'MS PGothic', 'Arial';
		font-weight: 500;
		font-size: 16px;
		line-height: 21.79px;
		letter-spacing: 0%;
		text-align: center;
  transition: filter 0.2s ease;
	}
	.header-menu-list>li>a:hover {
  		filter: brightness(1.2);
		color: #0E62A9;
	}

	.header-menu-list>li:not(:first-child):not(:last-child)::before {
		content: '';
		position: absolute;
		top: 50%;
		left: 0;
		transform: translateY(-50%);
		width: 0;
		height: 50%;
		border-left: 1px solid #ADADAD;
	}

	.header-menu-list li:nth-child(3) >a::after {
		content: url(../images/link.png);
		margin-left: 0.2rem;
	}

	.header-menu-list li:last-child {
		background-color: #0E62A9;
  transition: filter 0.2s ease;
	}
	.header-menu-list li:last-child:hover {
  		filter: brightness(1.2);
	}

	.header-menu-list li:last-child a {
		color: #FFFFFF;
	}
}

.header-menu-list li:last-child>a::before {
	content: url(../images/header-contact-icon.png);
	margin-right: 0.2rem;
}

@media (max-width: 1080px) {

	.header-menu-list>li>a {
		padding-top: 0.7rem;
	}

	.header-menu-list li:nth-child(6) >a {
		padding-top: 1.5rem;
	}
}

@media (max-width: 864px) {

	.header-menu-list>li>a {
		padding: 0.5rem 0.2rem;
	}
}

@media (max-width: 768px) {
	.nav-img {
		display: block;
		width: 150px;
		height: auto;
		margin: 20% auto 10%;
	}

	header {
		height: 60px;
	}

	.logo img{
		width: 150px;
		height: auto;
	}

	/* ナビゲーションメニュー（閉じた状態） */
	.nav {
		width: 100%;
		height: 100%;
		position: absolute;
		left: 100%;
		overflow: hidden;
		color: transparent;
		transition: all .6s;
	}

	/* ナビゲーションボタン */
	.nav-button {
		display: block;
		box-sizing: content-box;
		padding: 0 1rem 0 0 ;
		outline: none;
		border: none;
		background: none;
		width: 29px;
		height: 20px;
		overflow: visible; /* IE対応 */
		cursor: pointer;
		color: #0E62A9;
	}

	.nav-button::before,
	.nav-button::after {
		content: '';
		display: block;
		height: 1px;
		background-color: currentColor;
		transform: translateY(10px);
		transition: 0.3s ease-in-out;
	}

	.nav-button::before {
		transform: translateY(-10px);
		box-shadow: 0 10px currentColor;
	}

	/* ナビゲーションボタン（閉じるボタン） */
	.open .nav-button {
		z-index: 1000;
	}
	.open .nav-button::before {
		transform: rotate(-45deg);
		box-shadow: none;
	}
	.open .nav-button::after {
		transform: rotate(45deg);
		box-shadow: none;
	}

	/* ナビゲーションメニュー: （開いた状態） */
	html.open, .open body {
		height: 100%;
		overflow-y: scroll;
	}

	.open .header {
		position: relative;
		margin-bottom: -100px;
	}

	.open .nav {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		background: #ECF5FC;
		color: #ECF5FC;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}

	.open .nav ul {
		margin-bottom: 5vh;
		list-style: none;
		display: flex;
		flex-direction: column;
		align-items: flex-start;
	}

	.open .header-menu-list a {
		font-family: 'Noto Sans','Hiragino Sans', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', 'メイリオ', 'Meiryo', 'MS Pゴシック', 'MS PGothic', 'Arial';
		font-weight: 700;
		font-size: 18px;
		line-height: 20px;
		letter-spacing: 0%;
		color: #0E62A9;
		display: inline-block;
		padding-left: 5rem;
		position: relative;
	}

	.open .header-menu-list li:not(:last-child)>a::before {
		position: absolute; /* 絶対指定 */
		top: 50%;
		border-top: 2px solid #0E62A9;
		content: "";
		width: 25px;  /* 横線の幅 */
		height: 1px;  /* 横線の高さ */
		left: 1.5rem;
	}
	.open .header-menu-list li:nth-child(3) >a::after {
		content: url(../images/link-blue.png);
		margin-left: 0.2rem;
		color:red;
	}

	.open .header-menu-list li:last-child>a::before {
		margin-right: 1rem;
	}

	.open .header-menu-list li:not(:last-child) {
		margin-bottom: 0.7rem;
	}

	.header-menu-list li:nth-child(6) >a {
		padding-top: 0.5rem;
	}

	.open .header-menu-list li:last-child>a {
		font-family: 'Zen Kaku Gothic Antique';
		font-weight: 700;
		font-size: 18px;
		line-height: 26.06px;
		letter-spacing: 0%;
		text-align: center;
		color: #FFFFFF;
		display: block;
		padding: 0.4rem 3rem;
		
	}

	.contact-btn {
		margin: 2rem 0 -1rem;
		width: 260px;
		height: 40px;
		background-color: #0E62A9;
		border-radius: 30px;
	}

	.open .footer-menu-list {
		margin-top: 0;
	}

	.open .footer-menu-list li{
		display: block;
		margin-bottom: 1rem;
	}

	.open .footer-menu-list a {
		font-family: "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;;
		font-weight: 500;
		font-size: 14px;
		line-height: 16.8px;
		letter-spacing: 0%;
		color: #0E62A9;
	}
}

@media (max-width: 480px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}