/* CSS Document */

#h1_area
{
	background-image: url(images/h1_bg.jpg);

}

article section h3
{
	font-size: 38px;
	line-height: 1.2;
	color: var(--point-color);
	background-image: url(images/h2_bg.png);
	background-repeat: no-repeat;
	background-position: center bottom;
	text-align: center;
	margin-bottom: 30px;
	padding-bottom: 20px;
	font-weight: bold;
}

#about .head_area
{
	display: flex;
	gap: 10px;
	justify-content: space-between;
}

#about .head_area .text
{
	display: flow-root;
	width: 890px;
	position: relative;
}

#about .head_area .text h2
{
	font-size: 46px;
	line-height: 1.2;
}

#about .head_area .text  .photo_r
{
	margin-top: -120px;
}

#about .head_area .menu
{

}


#about .head_area .menu ul
{
	margin: 0px;
	padding: 0px;
}

#about .head_area .menu ul li
{
	background-image: url(images/menu_point.png);
	background-repeat: no-repeat;
	background-position: left center;
	list-style-type: none;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 20px;
	margin-left: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 32px;
}

#about .head_area .menu ul li a
{
	display: inline-block;
	line-height: 1;
	padding-top: 6px;
	padding-right: 0px;
	padding-bottom: 6px;
}


#about .after_link a:hover
{
	color: var(--page-color) !important;
}

#about .after_link a:after
{
	background: var(--page-color);
}

#about .main_comment
{
	display: flex;
	gap: 10px;
	justify-content: space-between;
}

#about .main_comment .text
{
	width: 660px;
}

#about .main_comment .text ul
{
	padding: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 20px;
	margin-left: 0px;
}

#about .main_comment .text ul li
{
	font-size: 26px;
	line-height: 1;
	font-weight: bold;	
	background-color: #f5fbf4;
	display: inline-block;
	margin-bottom: 20px;
	padding-top: 20px;
	padding-right: 30px;
	padding-bottom: 20px;
	padding-left: 30px;
	border: 1px solid #ebf5e9;
	border-radius: 6px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
}

#about .main_comment .text ul li strong
{
	color: var(--point-color);
	display: inline-block;
	margin-left: 10px;
	padding-right: 30px;
	padding-left: 30px;
	background: url(images/bold_left.png) no-repeat left top,
	url(images/bold_right.png) no-repeat right top;
}

#greeting
{
	position: relative;
	padding-top: 200px;
	padding-bottom: 300px;
}

#greeting .greeting_bg
{
	position: absolute;
	inset: 0;
	will-change: transform;
	background: url(images/bg_01.png) no-repeat calc(50% + 330px) top,
	url(images/bg_02.jpg) no-repeat center top;
}

#greeting h4
{
	font-size: 30px;
	line-height: 1.2;
	margin-bottom: 30px;
}

#company
{
	margin-bottom: 100px;

}

#company table
{
	width: 100%;
}

#company table th
{
	font-weight: normal;
	text-align: left;
	width: 200px;
	padding-top: 20px;
	padding-bottom: 20px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: var(--point-color);
}

#company table td
{
	padding-top: 20px;
	padding-bottom: 20px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #d9ead5;
}



#company .address
{
	display: flex;
	gap: 10px;
	justify-content: flex-start;
	position: relative;
	z-index: 1000;
}

#company .address .text
{
	margin-right: 100px;
}

#bg_box
{
	position: relative;
}

#bg_box .bg_box_bg
{
	position: absolute;
	inset: 0;
	will-change: transform;
	background: url(images/bg_03.png) no-repeat calc(50% + 330px)  400px,
	url(images/bg_04.jpg) no-repeat center 240px;
}


#history h3
{
	margin-bottom: 60px;
}


#history ul
{
	margin: 0px;
	padding: 0px;
}

#history ul li
{

	background: url(images/history_point.png)  no-repeat 160px  top,
	url(images/history_line.png) repeat-y 160px top;
	list-style-type: none;
	margin: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 40px;
	padding-left: 20px;

	display: flex;
	gap: 60px;
	align-items: flex-start;
	flex-direction: row;
	justify-content: lex-start;

}


#history ul li:last-child
{
	background: url(images/history_point.png)  no-repeat 160px  top;
}

#history ul li h4
{
	font-size: 28px;
	line-height: 1.2;
	text-align: center;
	width: 120px;
	padding: 0px;
	margin-top: -10px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}

#history ul li h4 small
{
	font-size: 18px;
	line-height: 1;
	display: block;
	font-weight: normal;
}

#history ul li p
{
	margin-top: -6px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}

#history ul li p strong
{
	color: var(--point-color);
	text-align: right;
	width: 3em;
	display: inline-block;
	margin-right: 10px;
}

#history .history_img
{
	display:none;
}


#qualification h4
{
	display: flex;
	gap: 10px;
	justify-content: space-between;
	margin-bottom: 10px;
}

#qualification h4 big
{
	color: var(--page-color);
	font-size: 22px;
	line-height: 1.2;
}

#qualification h4 small
{
	font-size: 18px;
	line-height: 1.2;
}



#qualification table
{
	width: 100%;
	margin-bottom: 90px;
	table-layout: fixed;
	border-top-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-left-style: solid;
	border-top-color: #ddd;
	border-left-color: #ddd;
}

#qualification table th
{
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-right-style: solid;
	border-bottom-style: solid;
	border-right-color: #ddd;
	border-bottom-color: #ddd;
	color: #FFF;
	background-color: var(--point-color);
	text-align: center;
	padding-top: 20px;
	padding-bottom: 20px;
}

#qualification table th:nth-child(2n)
{
	text-align: center;
	width: 80px;
}



#qualification table td
{
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-right-style: solid;
	border-bottom-style: solid;
	border-right-color: #ddd;
	border-bottom-color: #ddd;
	padding: 20px;
	background-color: #FFF;
	vertical-align: middle;
}

#qualification table td:nth-child(2n)
{
	text-align: center;
	width: 80px;

}

#access
{
	margin-bottom: 60px;
}


/* PCのみ設定  768 以上*/
@media screen and (min-width:1920px)
{
#greeting .greeting_bg
{
	background: url(images/bg_01.png) no-repeat calc(50% + 330px) top / auto auto,
	url(images/bg_02.jpg) no-repeat center top / 100% 100%;
}




}


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

#about .main_comment .photo
{
	margin-left: -50px;
}

}


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




}


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

#access .map_box
{
	width: 1000px;
	margin-right: auto;
	margin-left: auto;
}



}


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

article section h3
{
	font-size: 32px;
	line-height: 1.2;
	margin-top: -20px;
}


#about .head_area .text 
{
	width: 64%;
}

#about .head_area .text h2
{
	font-size: 36px;
	line-height: 1.2;
}

#about .head_area .text  .photo_r
{
	margin-top: 0px;
	max-width: 30%;
}

#about .main_comment .photo
{
	width: 36%;
}


#about .main_comment .text
{
	width: 60%;
}

#about .main_comment .text ul li strong
{
	display: block;
	margin-top: 8px;
}

#greeting .greeting_bg
{
	background: url(images/bg_01.png) no-repeat right 10px top 40px / auto auto,
	url(images/bg_02.jpg) no-repeat center top / 100% 100%;
}

#greeting .photo_r
{
	width: 40%;
}

#company table th
{
	width: 140px;
}


#company .address .text
{
	margin-right: 20px;
}

#history 
{
	padding-top: 0px;
}

#history .body
{
	display: block;
}

#history ul
{
	width: 100%;
}




}

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





}

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

#about .head_area .text h2
{
	font-size: calc(100vw * (24 / 360));
	line-height: 1.2;
	letter-spacing: 0em;
}



#about .head_area
{
	display: block;
}

#about .head_area .text 
{
	width: auto;
	margin-bottom: 20px;
}

#about .head_area .text .photo_r
{
	float: right;
	margin-bottom: 10px;
	margin-left: 10px;
	max-width: 40%;

}

#about .main_comment
{
	display:block;
}

#about .main_comment .photo,
#about .main_comment .text
{
	width:auto;
}

#about .main_comment .photo
{
	margin-bottom: 20px;
}


#about .main_comment .text ul li
{
	font-size: calc(100vw * (20 / 360));
	line-height: 1;
	display: block;
	margin-bottom: 20px;
	padding-top: 20px;
	padding-right: 10px;
	padding-bottom: 20px;
	padding-left: 10px;
	border: 1px solid #ebf5e9;
	border-radius: 6px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
}

#greeting .photo_r
{
	width: auto;
}

#greeting .photo_r img
{
	width: 80%;
}

#company table th
{
	display: block;
	margin-bottom: 10px;
	padding-bottom: 6px;
}

#company table td
{
	display: block;
	padding-top: 0px;
}

#company .address
{
	display: block;
}


#bg_box .bg_box_bg
{
	background: url(images/bg_04.jpg) no-repeat center center;
}



#history ul li,
#history ul li:last-child
{
	background-position: 10px top;
	padding-left: 40px;
	padding-right: 20px;
	display: block;
	margin: 0px;
	position: relative;
	padding-top: 60px;
}

#history ul li h4
{
	margin-top: 0px;
	margin-bottom: 10px;
	position: absolute;
	top: -10px;
}

#history ul li p
{
	margin-top: 0px;
}

#history ul li p strong
{
	display: block;
	text-align: left;
	width: auto;
}

#history .history_img
{
	display:block;
}


#qualification h4 big
{
	font-size: calc(100vw * (18 / 360));
	line-height: 1.2;
}

#qualification h4 small
{
	font-size: calc(100vw * (14 / 360));
	line-height: 1.2;
}


#qualification table
{
	margin-bottom: 30px;
}

#qualification table tr
{
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 0px;
}



#qualification table th,
#qualification table td
{
    box-sizing: border-box;
    width: 50%;
}

#qualification table th:nth-child(3),
#qualification table th:nth-child(4)
{
	display: none;
}


#qualification table th:nth-child(1),
#qualification table td:nth-child(1),
#qualification table th:nth-child(3),
#qualification table td:nth-child(3)
{
    width: calc(100% - 80px);
}

#qualification table th:nth-child(2),
#qualification table td:nth-child(2),
#qualification table th:nth-child(4),
#qualification table td:nth-child(4)
{
	width: 80px;

}


}