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

/* 縦置きの場合 */
@media (orientation: portrait)
{
#h1_area{	background-image: url(images/h1_bg_sp.jpg);}
}

article section:nth-of-type(2n)
{
	background-color: transparent;
}

section h2
{
	padding-left: 40px;
   	border-left: solid 10px var(--base-color01);
}

#greeting_bg
{
    background: url(images/photo_01_pc.jpg) no-repeat center center;
	-ms-background-size: cover;
	-o-background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
    min-height: calc(100vw * (860/1920));
    padding-top: 50px;
    padding-bottom: 50px;
}

#greeting .text
{
    width: 520px;
    margin-left: auto;
}

#greeting .img
{
    text-align: center;
    padding-top: 30px;
    margin-bottom: 40px;
}

#greeting .photo
{
    display: none;
}

.philosophy .body
{
    display: flex;
    column-gap: 40px;
	align-items: flex-start; 
}

.philosophy .body h2
{
    flex-shrink: 0;
}

.philosophy .body .img_box
{
    position: relative;
    margin-left: auto;
	margin-right: calc((100vw - 1400px) / -2);
    width: calc(100vw * (1150 / 1920));
	background-color: var(--body-bg-color);
	padding-top: 20px;
	padding-bottom: 20px;
	padding-left: 40px;
}

#about .photo
{
	text-align: center;
	margin-bottom: 30px;
}

#about .photo img
{
	width: 100%;
	height: auto;
}

#about .table
{
	max-width: 1000px;
	margin-bottom: 60px;
}

#about .table > table
{
	width: 100%;
}

#about .table > table > tbody > tr:nth-of-type(2n) > th,
#about .table > table > tbody > tr:nth-of-type(2n) > td
{
	background-color: var(--body-bg-color);
}

#about .table > table > tbody > tr > th,
#about .table > table > tbody > tr > td
{
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 40px;
	padding-right: 20px;
}

#about .table > table > tbody > tr > th
{
	font-weight: normal;
	vertical-align: top;
	width: 200px;
}

#about .table > table > tbody > tr > td > table th
{
	font-weight: normal;
}

#about .table > table > tbody > tr > td > table td
{
	text-align: right;
	padding-left: 20px;
}

/* 画面が2画面分になったとき */
@media screen and (min-width:1920px)
{

}



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



}

/* デフォルトサイズ以下 */
@media screen and (max-width: 1399px) 
{
#greeting .text
{
    width: calc(100vw * (520 / 1400));
    margin-left: auto;
}

.philosophy .body .img_box
{
    position: relative;
    margin-left: auto;
	margin-right: -20px;
    width: calc(100vw * (1150 / 1920));
}

.philosophy .body
{
    column-gap: 20px;
}
.philosophy .body .img_box
{
 	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 20px;
}

}

/* タブレット以下 */
@media screen and (max-width: 1199px) 
{

#greeting_bg
{
    background: none;
    padding-top: 0px;
    padding-bottom: 0px;
}

#greeting .photo
{
    display: block;
    max-width: 50%;
    float: right;
    padding-top: 0px;
    margin-left: 20px;
    margin-bottom: 20px;
}

#greeting .img
{
    display: block;
    max-width: 50%;
    float: left;
    padding-top: 0px;
    margin-right: 20px;
    margin-bottom: 20px;
}


#greeting .text
{
    width: auto;
}

.philosophy .body .img_box
{
    margin-left: auto;
	margin-right: -20px;
    width: 60%;
	position: static;
}

}

/* 横置きの場合 */
@media (max-width: 1199px) and (orientation: landscape)
{
}

/* 縦置きの場合 */
@media (max-width: 1199px) and (orientation: portrait)
{

section h2 small
{
	display: block;
}

}



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


}


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

section h2
{
	padding-left: 20px;
}

section h2 small
{
	display: block;
}

#about .table > table > tbody > tr > th
{
	width: 160px;
}

}

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

#greeting_bg .body
{
    padding-left: 0px;
    padding-right: 0px;
}

#greeting_bg .text p
{
    padding-left: 20px;
    padding-right: 20px;
}

#greeting .photo
{
    display: block;
    max-width:initial;
    float:none;
    padding-top: 20px;
    margin-left: 0px;
    margin-bottom: 30px;
}

#greeting .img
{
    display: block;
    max-width:initial;
    float: none;
    padding-top: 20px;
    margin-right: 0px;
    margin-bottom: 30px;
}

.philosophy .body
{
	display: block;
}

.philosophy .body .img_box
{
    position: static;
    margin-left: auto;
    margin-right: auto;
    width: auto;
    text-align: center;
    margin-bottom: 20px;
}

#about .table > table > tbody > tr > th
{
	font-weight: bold;
	display: block;
	width: auto;
	padding-bottom: 0px;
	padding-left: 10px;
	padding-right: 10px;
}

#about .table > table > tbody > tr > td
{
	display: block;
	width: auto;
	padding-top: 0px;
	padding-left: 10px;
	padding-right: 10px;
}



}