/* 会社概要ページCSS */

.main-img {
  width: 100vw;
     height: 40vh; 
     position:relative;
     background-image: url(../images/company/content_img.jpg);
     background-size: cover;
     background-position: center;
	margin-top: -40px;
}
.main-img h2 {
  position: absolute;
  top:60%;
  left: 50%;
  transform: translate(-50%,-60%);
  color: #000;
  font-size: 1.8rem;
  text-shadow:0 0 5px #fff,0 0 5px #fff,0 0 5px #fff,0 0 5px #fff,0 0 5px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff;
}
@media screen and (max-width: 480px) {
	.main-img {
		margin-top: -40px;
	}
}

.company-profile {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.8;
  border-top: 1px solid #ccc;
}

.company-profile dt,
.company-profile dd {
  padding: 15px 10px;
  border-bottom: 1px solid #eee;
}

.company-profile dt {
  font-weight: bold;
  background-color: #f8f8f8;
  width: 100%;
  color: #333;
}

.company-profile dd {
  margin: 0;
  background-color: #fff;
  padding-left: 20px;
}

@media screen and (max-width: 768px) {
    .company-profile {
      font-size: 0.95rem;
    }
    main h3 {
      font-size: 1.1rem;
    }
    main p {
      font-size: 0.9rem;
    }
  }
  