#mainv {
  background: url("../../img/subdir_mainv2.png") no-repeat center;
  position: relative;
}

#mainv:after {
  content: " ";
  display: block;
  width: 100%;
  height: 298px;
  position: absolute;
  background-image: url(../../img/cover_page.png);
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: contain;
  bottom: 0;
  right: 0;
  /* -webkit-transform: translate(0, -100%);
	transform: translate(0, -100%); */
  z-index: 1;
}

.main-content {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}

#main-content-comin {
  display: flex;
  justify-content: center;
  gap: 20px 2%;
  flex-wrap: wrap;
}

.comany-detail-list {
  display: block;
  width: 100%;
  max-width: 350px;
  padding: 45px;
  background-color: #f7f7f7;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  position: relative;
}

.comany-detail-list::before {
	content: "";
	position: absolute;
	inset: 0;
	background: url("../../img/bg.jpg") center/cover no-repeat;
	opacity: 0.2;
	z-index: 0;
}


.comany-detail-list dl {
  margin: 0;
}

.comany-detail-list dt {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
  color: #297f01;
}

.comany-detail-list i {
  margin-right: 9px;
  border: 2px solid #43b30f;
  width: 17px;
  height: 20px;
  font-weight: bold;
  padding-left: 3px;
  text-align: center;
}

/* ホバーでdtを右にスライド */
.comany-detail-list:hover dt {
  transform: translateX(5px);
  opacity: 0.8;
}

.comany-detail-list dd {
  font-size: 1.5rem;
  margin: 0;
}

/* #main-content-comin {
	display: flex;
	justify-content: center;
	gap: 20px 2%;
}

.comany-detail-list {
	width: 100%;
	max-width: 350px;
	padding: 45px;
	background-color: #f7f7f7;
}

.comany-detail-list dt {
	font-size: 2rem;
	font-weight: bold;
	margin-bottom: 10px;
}

.comany-detail-list dt a {
	color: #17539e;
}

.comany-detail-list dt a:hover {
	opacity: 0.7;
}

.comany-detail-list dt a i {
	margin-right: 9px;
	border: 2px solid #ccc;
	width: 17px;
	height: 20px;
	font-weight: bold;
	padding-left: 3px;
	text-align: center;
}

.comany-detail-list dd {
	font-size: 1.5rem;
} */

/* #sub-dirconents #sidebar .sidebar-list-heading {
	background: url("../../img/icon-side-company.png") no-repeat 18px bottom;
	padding-left: 70px;
	margin-bottom: 20px;
	padding-top: 20px;
} */

@media screen and (max-width: 890px) {
  /* .contents {
    padding-left: 15px;
    padding-right: 15px
  } */

  .comany-detail-list {
    width: 100%;
  }

  #sub-dirconents #sidebar .sidebar-list-heading {
    margin-top: 15px;
    margin-left: 15px;
    padding-left: 50px;
    background-position: left center;
  }
}

@media (max-width: 500px) {
  .comany-detail-list {
    padding: 30px 20px;
  }
}