/* CSS Document */
nav ul li:nth-child(4) a
{
	color: var(--link-color);
	pointer-events:none;
}

#sp_navi ul li:nth-child(4) a
{
	color: var(--link-color) !important;
}

#head 
{
	margin-bottom: 0px;
	padding-bottom: 0px;
}

#head .body
{
	text-align: center;
}

#head h2
{
	text-align: center;
	font-size: 48px;
	line-height: 1.6;
	color: #00a0e9;
	border-bottom-width: 6px;
	border-bottom-style: dotted;
	border-bottom-color: #00a0e9;
	display: inline-block;
	margin-bottom: 60px;
}

#head h2 big
{
	display: block;
}

#supplement ul
{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	column-gap: 40px; /* 横のスペース */
	row-gap: 40px; /* 縦のスペース */
	align-items: stretch; /* 子要素をセルの高さに合わせて引き伸ばす */
	margin: 0px;
	padding: 0px;
}

#supplement ul li
{
	margin: 0px;
	padding: 20px;
	list-style-type: none;
	border: 4px dotted #18426f;
	border-radius: 6px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
}

#supplement ul li h4
{
	font-size: 24px;
	line-height: 1;
	background-image: url(images/h4_bg.gif);
	background-repeat: repeat-x;
	background-position: center center;
	display: flex;
	gap: 30px;
	align-items: stretch;
	align-items: flex-start;
	padding-left: 20px;
	margin-bottom: 20px;
}

#supplement ul li h4 span
{
	display: inline-block;
	padding-top: 10px;
}

#galley
{
	background-image: url(images/back_image.jpg);
	background-repeat: repeat-x;
	background-position: center;
	padding-top: 60px;
	padding-bottom: 0px;
	-ms-background-size: auto 100%;
	-o-background-size: auto 100%;
	-webkit-background-size: auto 100%;
	-moz-background-size: auto 100%;
	background-size: auto 100%;

}

#galley h3
{
	text-align: center;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}

#galley .kanazawa,
#galley .komatsu
{
  width: 100%;
  max-width: 1000px;
  aspect-ratio: 12 / 6; /* 比率固定 */
  margin: 0 auto;
}


/* PCのみ設定  768 以上*/
@media screen and (min-width:768px)
{



}

/* タブレットレイアウト : 768 px 〜 959 px*/
@media screen and (max-width:1199px)
{

#head h2
{
	font-size: 32px;
}


#supplement ul
{
	column-gap: 20px; /* 横のスペース */
	row-gap: 20px; /* 縦のスペース */
}

#supplement ul li h4
{
	font-size: 20px;
	line-height: 1;
	gap: 10px;
	padding-left: 20px;
	margin-bottom: 20px;
}


#galley .kanazawa,
#galley .komatsu
{
    max-width: 80%;
	margin-right: auto;
	margin-left: auto;
	aspect-ratio: 12 / 10; /* 比率固定 */

}


}

/* スマホ設定  768 以下*/
@media screen and (max-width:767px)
{

#head h2
{
	font-size: 32px;
	letter-spacing: 0em;
}




}


/* スマホ設定  599 以下*/
@media screen and (max-width:599px)
{

#supplement ul
{
	grid-template-columns: repeat(1, 1fr);
	column-gap: 0px; /* 横のスペース */
	row-gap: 20px; /* 縦のスペース */
	align-items: stretch; /* 子要素をセルの高さに合わせて引き伸ばす */
	margin: 0px;
	padding: 0px;
}


#supplement ul li h4
{
	padding-left: 10px;
	margin-bottom: 20px;
}


}
