/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Kosugi&family=Kosugi+Maru&display=swap');


body
{
	background-attachment: fixed;
	background-image: url(images/bg.jpg);
	background-repeat: no-repeat;
	background-position: center center;
	padding-top: 50px;
}

article *
{
	font-family: "Kosugi Maru", sans-serif;
}

article img
{
	width:auto;
	height:auto;

}

#eyecatch
{
	text-align: center;
	margin-bottom: 40px;
}

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

#about h2
{
	background: rgba(255, 255, 255, 0.6);
	font-size: 42px;
	line-height: 1;
	text-align: center;
	margin-bottom: 60px;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-right: 10px;
	padding-left: 10px;
	display: block;
}

#about h2 small
{
	font-style: italic;
	font-size: 100%;
}


#about .msg_box
{
	display: inline-block;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 60px;
}

#about .msg_box p
{
	font-size: 24px;
	line-height: 1.6;
	font-weight: bold;
}

#about ul
{
	background: rgba(255, 255, 255, 0.6);
	display: block;
	padding-top: 20px;
	padding-right: 20px;
	padding-bottom: 20px;
	padding-left: 120px;
	border-radius: 6px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
}

#about ul li
{
	font-size: 42px;
	line-height: 1.2;
	color: #F00;
	margin-bottom: 8px;
	text-align: justify;
	font-weight: bold;
}

#about ul li:last-child
{
	margin-bottom: 0px;
}

#start_up h2
{
	font-size: 42px;
	line-height: 1;
	text-align: center;
	margin-bottom: 80px;
}

#start_up h2:before
{
	font-family: "Font Awesome 6 Free";
	content: '\f715';
	font-weight: 900;
	margin-right: 10px;
	display: inline-block;

}

#start_up h2:after
{
	font-family: "Font Awesome 6 Free";
	content: '\f715';
	font-weight: 900;
	margin-right: 10px;
	transform: scaleX(-1);
	display: inline-block;
}

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

}

#start_up ul li
{
	margin: 0px;
	padding: 0px;
	list-style-type: none;
	text-align: center;
	position: relative;

}

#start_up ul li a
{
	position: relative;
	width: 100%;
	display: block;
	text-align: center;
}


#start_up ul li a .off,
#start_up ul li a .on
{
	position: absolute;
	top: 0;
	transition: opacity 0.5s ease, transform 0.5s ease;
	display: block;
	text-align: center;
	margin-right: auto;
	margin-left: auto;
	left: 0px;
	right: 0px;
}

#start_up ul li a .off
{
  opacity: 1;
  z-index: 1;
}


#start_up ul li a .on
{
  opacity: 0;
  z-index: 2;
}

#start_up ul li a img
{
	transition: 1s all;
}

#start_up ul li a:hover img
{
	transform: scale(1.04);
	transition:1s all;
}

#start_up ul li a:hover .off
{
	opacity: 0;
	transition:1s all;

}

#start_up ul li a:hover .on
{
	opacity: 1;
	transition:1s all;

}

#content h2
{
	text-align: center;
	margin: 60px;

}

#content h3
{
	font-size: 32px;
	line-height: 1.2;
	border-bottom-style: none;
	margin: 0px;
	letter-spacing: 0em;
}

#content .msg_box
{
	background: rgba(255, 255, 255, 0.6);
	padding-top: 20px;
	padding-right: 40px;
	padding-bottom: 20px;
	padding-left: 40px;
	border-radius: 6px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	margin-bottom: 80px;
}

#content .msg_box ul li
{
	font-size: 24px;
	line-height: 1.2;
	margin-bottom: 4px;
	font-weight: bold;
}

#content .photo_box 
{
	background-image: url(images/bg_02.png);
	background-repeat: no-repeat;
	background-position: left bottom;
}

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

#content .photo_box ul li
{
	margin: 0px;
	padding: 0px;
	list-style-type: none;
}

#content .photo_box ul li:nth-child(3)
{
	grid-column: 1 / span 2; /* 1列目から2列分使う */
	justify-self: center;    /* 水平方向に中央寄せ */

}

/* 横置き */
@media (orientation: landscape) 
{

body
{
	-ms-background-size: 100% auto;
	-o-background-size: 100% auto;
	-webkit-background-size: 100% auto;
	-moz-background-size: 100% auto;
	background-size: 100% auto;
}

	
}

/* 縦置き */
@media (orientation: portrait) 
{
body
{
	-ms-background-size: auto 100%;
	-o-background-size: auto 100%;
	-webkit-background-size: auto 100%;
	-moz-background-size: auto 100%;
	background-size: auto 100%;
}

}


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



}

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


#about .msg_box
{
	display: block;
}

#about ul
{
	padding-left: 60px;
}

#about ul li
{
	font-size: 32px;
	line-height: 1.2;
	margin-bottom: 8px;
}


#start_up h2
{
	font-size: 32px;
	line-height: 1;
	text-align: center;
	margin-bottom: 60px;
	letter-spacing: 0em;
}

#content .msg_box
{
	padding-top: 20px;
	padding-right: 20px;
	padding-bottom: 20px;
	padding-left: 20px;
}

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

#content .photo_box ul li
{
	text-align: center;

}

#content .photo_box ul img
{
	width: 44vw;
}

}


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

#eyecatch
{
	text-align: center;
	margin-bottom: 20px;
}



#about h2
{
	font-size: 32px;
	line-height: 1;
	text-align: justify;
	margin-bottom: 20px;
}

#about .msg_box
{
	margin-bottom: 0px;
}


#about .msg_box p
{
	font-size: 18px;
	line-height: 1.4;
}

#about ul
{
	padding-left: 40px;
}

#about ul li
{
	font-size: 24px;
	line-height: 1.2;
}

#start_up h2
{
	font-size: 32px;
	line-height: 1;
	text-align: center;
	margin-bottom: 30px;
}

}


/* スマホ設定  599 以下*/
@media screen and (max-width:599px)
{
#start_up h2
{
	padding-right: 40px;
	padding-left: 40px;
	position: relative;
	font-size: 28px;
	line-height: 1.4;
	letter-spacing: 0em;
}


#start_up h2:before
{
	position: absolute;
	left: 0px;
	top: 0px;
	bottom: 0px;
	font-size: 24px;
	line-height: 1;
	height: 24px;
	margin-top: auto;
	margin-bottom: auto;
}

#start_up h2:after
{
	position: absolute;
	top: 0px;
	right: 0px;
	bottom: 0px;
	font-size: 24px;
	line-height: 1;
	height: 24px;
	margin-top: auto;
	margin-bottom: auto;

}
#start_up ul
{
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	column-gap: 0px; /* 横のスペース */
	row-gap: 20px; /* 縦のスペース */

}

#start_up ul li a .off,
#start_up ul li a .on
{
	position: relative;
}

#start_up ul li a .on
{
	display:none;
}

#start_up ul li a:hover .off
{
	opacity: 1;
}

#content h2
{
	margin-bottom: 30px;
}

#content h3
{
	font-size: 28px;
	line-height: 1.2;
}

#content .msg_box 
{
	margin-bottom: 30px;
}

#content .msg_box ul
{
	padding-left: 20px;
	margin-bottom: 0px;
}



#content .msg_box ul li
{
	font-size: 20px;
	line-height: 1.2;
	margin-bottom: 10px;
}

#content .photo_box
{
	padding-bottom: 240px;
	background-position: center bottom;
}

#content .photo_box ul
{
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	column-gap: 0px; /* 横のスペース */
	row-gap: 20px; /* 縦のスペース */

}
#content .photo_box ul img
{
	width: auto;
}

#content .photo_box ul li:nth-child(3)
{
	grid-column: auto;

}


}
