@charset "utf-8";
/**
 *
 * lower: 下層ページ
 *
 */


.name {
	font-size:18px;
}

/*----------------------------
	Message
-----------------------------*/
#Message p {
	line-height:1.8;
}
@media all and (min-width: 1024px){
.greeting{
	display: flex;
}
.greeting >:first-child {
  flex-basis: 300px;
  flex-shrink: 0;
	margin-right: 30px;
}
}
.mb40{
	margin-bottom: 40px;
}
/*----------------------------
	Office
-----------------------------*/
#Office div.visual{
	width:100%;
	height:400px;
	text-align:center;
	background:url(../images/company/office-image.jpg) no-repeat center center;
}
#Office div.visual h2 {
	display:inline-block;
	padding:10px 15px;
	background:#fff;
}

#Office h4 {
	font-size:18px;
	position:relative;
	margin:40px 0 0 0;
	padding:10px 0 20px 20px;
	border-bottom:1px solid #ddd;
	border-left:2px solid #2b9041;
}
#Office h5 {
	font-size:16px;
	margin: 0 0 20px 0;
}
#Office .wrap.section {
	border-bottom:1px solid #ddd;
	padding:30px 0 20px 0;
}
#Office .images {
	padding:30px 0;
}
#Office .images img {
	width:100%;
	height:auto;
	margin:0 0 10px 0;
}
#Office .column3 li:nth-child(3n+1){
	padding:0 2% 0 0;
}
#Office .column3 li:nth-child(3n+2){
	padding:0 1%;
}
#Office .column3 li:nth-child(3n+3){
	padding:0 0 0 2%;
}

/*--------------------------------------------------------------------------
	Tablet
---------------------------------------------------------------------------*/
@media all and (max-width: 1024px){

}

/*--------------------------------------------------------------------------
	Smart Phone
---------------------------------------------------------------------------*/
@media all and (max-width: 767px){
#Office h4 {
	margin:30px 0 20px 0;
}
#Office div.visual{
	width:100%;
	height:200px;
	text-align:center;
	background:url(../images/company/office-image.jpg) no-repeat center center;
	background-size: cover;
}
#Office div.visual h2 {
	display:inline-block;
	padding:4px 10px;
	font-size: 15px;
	background:#fff;
}
#Office h5 {
	margin: 20px 0 15px 0;
}
#Office .wrap.section {
	border-bottom:none;
	padding:0;
}
#Office .column3 li:nth-child(3n+1){
	padding:0;
}
#Office .column3 li:nth-child(3n+2){
	padding:0;
}
#Office .column3 li:nth-child(3n+3){
	padding:0;
}
}