h4 {
	border-bottom: 0;
}

/***************** 代表者あいさつ *****************/
.greeting{
  margin-top: 5rem;
  margin-bottom: 5rem;
}
.greeting .box{
	display: flex;
	justify-content: space-between;
	line-height: 160%;
}
.greeting .box:last-of-type{
	padding-top: 4rem;
}
.greeting .box div p:not(:last-of-type){
	margin-bottom: 1rem;
}
.greeting .box div:first-of-type{
	flex-basis: 30%;
}
.greeting .box div:first-of-type p{
	text-align: center;
}
.greeting .box div:last-of-type{
	flex-basis: 60%;
}
.greeting .box div h4{
  text-align: center;
	font-size: 20px;
	padding-bottom: 2rem;
}
@media screen and (max-width: 767px) {
	.greeting .box{
		display: block;
	}
	.greeting .box div:last-of-type{
		margin-top: 3rem;
	}
	.greeting .box p {
		overflow-wrap: break-word;
		word-wrap: break-word;
		}
}

/***************** 会社概要、沿革、アクセス *****************/
.profile,
.history,
.access{
  margin-top: 5rem;
  margin-bottom: 5rem;
}
.profile table,
.history table,
.access table{
  width: 100%;
}
.profile table th,
.history table th,
.access table th{
  width: 8rem;
  color: #004c99;
  font-weight: bold;
  padding-right: 1rem;
  text-align: right;
}
.profile table td,
.history table td,
.access table td{
  text-align: justify;
  text-justify: inter-ideograph;
}
.profile table th,
.profile table td,
.history table th,
.history table td,
.access table th,
.access table td{
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  line-height: 160%;
}
@media screen and (max-width: 767px) {
  .profile table th {
    width: 30%;
  }
}

/***************** 会社概要 *****************/
.profile .box div{
  width: 35%;
	margin: 0 auto;
}
.profile .box ol{
	list-style-type: decimal;
	list-style-position: inside;
	padding-left: 1em;
	text-indent: -1em;
}
@media screen and (max-width: 767px) {
	.profile .box div{
	  width: 50%;
		margin: 0 auto;
	}
}

/***************** 組織・体制 *****************/
.organization,
.executives{
  margin-top: 5rem;
  margin-bottom: 5rem;
}
.organization img{
	margin-top: 2rem;
}
.executives table{
	width: 100%;
}
.executives table th,
.executives table td{
	padding: 0.5rem 0;
	border-right: 1px solid #fff;
	vertical-align: middle;
	line-height: 120%;
}
.executives table th{
	text-align: center;
	background-color: #4472c4;
	color: #fff;
	font-weight: bold;
}
.executives table td{
	padding: 1rem 0;
	border-top: 1px solid #fff;
}
.executives table tr:nth-of-type(even) td{
	background-color: #cfd5ea;
}
.executives table tr:nth-of-type(odd) td{
	background-color: #e9ebf5;
}
.executives table tr td:not(:nth-of-type(2)){
	padding-left: 1rem;
	padding-right: 1rem;
}
.executives table tr td:nth-of-type(2){
	text-align: center;
}
@media screen and (max-width: 767px) {
	.executives table tr td:first-of-type{
		font-size: 14px;
	}
	.executives table tr td:nth-of-type(2){
		width: 30%;
	}
	.executives table tr td:last-of-type{
		font-size: 12px;
	}
}

/***************** 事業所一覧 *****************/
.office{
  margin-top: 5rem;
}
.office .box-all{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 3rem;
}
.office .box-all .box{
  flex-basis: 48%;
  border: 1px solid #b1b1b1;
  margin-bottom: 2rem;
	text-align: center;
	position: relative;
	min-height: 170px;
}
.office .box-all .box:first-of-type{
  flex-basis: 100%;
}
.office .box-all .box a{
  display: block;
}
.office .box-all .box.fuku a.all-link{
  pointer-events: none;
  background-image:none;
}
.office .box-all .box.shizuoka a.all-link{
	pointer-events: none;
	background-image:none;
}
.office .box-all .box.nagoya a.all-link{
	pointer-events: none;
	background-image:none;
}
.office .box-all .box a.all-link{
	background-image:url("../img/img-blue-arrow.png");
	background-size: 2rem;
	background-repeat: no-repeat;
	background-position: 93% 85%;
	height: 100%;
}
.office .box-all .box:first-of-type a.all-link{
	background-image:url("../img/img-red-arrow.png");
	background-position: 97% 85%;
}
.office .box-all .box a.all-link:hover{
  background-color: #f0f0f0;
	color: #000;
}
.office .box-all .box a div{
  position: relative;
	padding-top: 2rem;
}
.office .box-all .box a div p{
	position: absolute;
	top: 2rem;
	left: 7rem;
	font-size: 14px;
	color: #fff;
	padding: 0.2rem 1rem;
	background-color: #004c99;
}
.office .box-all .box.fuku a div p{
	left: 6rem;
}
.office .box-all .box.shizuoka a div p{
	left: 6rem;
}
.office .box-all .box.nagoya a div p{
	left: 6rem;
}
.office .box-all .box:first-of-type a div p{
	background-color: #d4282e;
}
.office .box-all .box h4{
  margin-bottom: 0.5rem;
  font-weight: bold;
  font-size: 30px;
}
.office .box-all .box:not(:first-of-type) h4{
	color: #004c99;
}
.office .box-all .box p{
  font-size: 14px;
	display: inline-block;
	line-height: 160%;
}
.office .box-all .box a.map{
  width: 3.5rem;
	display: inline-block;
	position: absolute;
	top: 2.2rem;
	right: 8rem;
	background-image:url("../img/corporate-information/img-map-icon-back.jpg");
	background-size: 100%;
	background-repeat: no-repeat;
}
.office .box-all .box.fuku a.map{
  display: none;
}
.office .box-all .box.shizuoka a.map{
	display: none;
}
.office .box-all .box.nagoya a.map{
	display: none;
}
.office .box-all .box:first-of-type a.map{
	right: 20rem;
}
.office .box-all .box a.map:hover img{
	opacity: 0;
  filter: alpha(opacity=0);
  -ms-filter: "alpha(opacity=0)";
}
@media screen and (max-width: 1079px) {
	.office .box-all .box a div p{
		left: 17%;
	}
	.office .box-all .box a.map,
	.office .box-all .box:first-of-type a.map{
		right: 20%;
	}
}
@media screen and (max-width: 991px) {
	.office .box-all .box a div p{
		top: 0;
		left: 0 !important;
	}
	.office .box-all .box a.map,
	.office .box-all .box:first-of-type a.map{
		right: 8%;
	}
}
@media screen and (min-width: 768px) {
	.office .box-all .box:nth-of-type(6) a.all-link{
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
	}
}
@media screen and (max-width: 767px) {
	.office .box-all .box{
	  flex-basis: 100%;
	}
	.office .box-all .box a div p {
		position: relative;
		margin-bottom: 1rem;
	}
	.office .box-all .box a.all-link {
		margin-bottom: 2rem;
	}
}

.group-company{
  margin-top: 5rem;
	margin-bottom: 5rem;
}
.group-company .box{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 3rem;
}
.group-company .box div{
  flex-basis: 48%;
  border: 1px solid #b1b1b1;
	position: relative;
}
.group-company .box div a{
	display: block;
	padding: 2rem 6rem;
}
.group-company .box div a:hover{
	webkit-box-shadow: 0px 0px 0px 15px #f0f0f0 inset;
	-moz-box-shadow: 0px 0px 0px 15px #f0f0f0 inset;
	box-shadow: 0px 0px 0px 15px #f0f0f0 inset;
}
.group-company .box div a:hover img {
  opacity: 1;
  filter: alpha(opacity=100);
  -ms-filter: "alpha(opacity=100)";
}
@media screen and (max-width: 767px) {
	.group-company .box{
	  display: block;
	}
	.group-company .box div:first-of-type{
		margin-bottom: 1rem;
	}
}

/*********** アクセス **********************************/
.access table{
	margin-top: 1rem;
}
.access .gmap {
  height: 0;
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
}
.access .gmap iframe {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
}
@media screen and (max-width: 767px) {
	.access table th,
	.access table td {
    display: block;
    width: 100%;
	}
	.access table th {
    text-align: left;
		padding: 0;
	}
	.access table td {
		padding-top: 0;
    padding-bottom: 1rem;
	}
}
