/* ページヘッダー */
.page-header {
  position: relative;
  text-align: center;
  padding: 80px 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  margin-bottom: 40px;
  overflow: hidden;
}
.page-header::before {
  content: "COMPANY"; /* RECRUIT の場合は "RECRUIT" */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 10rem;
  font-weight: bold;
  color: rgba(0, 0, 0, 0.05);
  z-index: 0;
  white-space: nowrap;
}
.page-header h1 {
  font-size: 2.5rem;
  font-weight: bold;
  position: relative;
  z-index: 1;
  color: #333;
}
.page-header p {
  font-size: 1.2rem;
  color: #666;
  position: relative;
  z-index: 1;
  margin-top: 10px;
}
/* ============================== ヘッダーレスポンシブ ============================== */
@media (max-width:1250px) {
  .page-header::before {
    font-size: 15vw;
  }
  .page-header {
    padding: 5vw 20px;
  }
  .page-header h1 {
    font-size: 1.8rem;
  }
  .page-header p {
    font-size: 1.0rem;
  }
}
.slogan {
	font-size: 1.4rem;
	font-weight: bold;
}
/* 黒枠（社内取り組み、募集要項） */
.initiative-box, .recruit-box {
  border: 2px solid black;
  padding: 20px;
  background-color: #f9f9f9;
  margin-top: 20px;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th, td {
  border: 1px solid black;
  padding: 10px;
  text-align: left;
}
th {
  background-color: #ddd;
}
.company-info, .company-initiatives, .company-map {
  max-width: 60%;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}
.company-map iframe {
  width: 750px;
  height: 30%;
  aspect-ratio: 4 / 3; /* 高さの比率を維持したい場合 */
  max-width: 100%;
  border: 0;
  display: block;
  margin: 0 auto;
}
.company-map h2 {
  margin-bottom: 20px;
}
.companyinfo-image {
  align-items: center;
  width: 50vw;
  height: 25vw;
  overflow: hidden;
  position: relative;
  margin: 0 auto;
}
.companyinfo-image img {
  width: 100%;
  height: auto;
  position: absolute;
  top: -8vw;
  left: 0px;
}
.company-explain {
  margin: 30px auto;
  max-width: 800px;
  padding: 30px 10px 20px 10px;
  text-align: center;
}
.company-explain .explain-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 1.5em;
}
.sp-only {
  display: none;
}
@media (max-width: 1250px) {
  .company-info, .company-initiatives, .company-map {
    max-width: 95%;
    padding: 10px;
  }
}
/* レスポンシブ：1000px以下のときに <br class="sp-only"> を有効化し、文字サイズを少し小さく */
@media (max-width: 1000px) {
  .companyinfo-image {
    width: 80vw;
    height: 40vw;
  }
  .company-explain .explain-text {
    font-size: 0.95rem;
    line-height: 1.7;
  }
}
@media (max-width: 700px) {
	  .sp-only {
    display: inline;
  }
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}
th, td {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: left;
}
th {
  background-color: #f9f9f9;
}
.company-sdgs {
  padding: 40px 20px;
  background-color: #f0f8ff;
  text-align: center;
}
.company-sdgs h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #006400;
}
.company-sdgs p {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 30px;
}
.sdgs-image img {
  max-width: 600px;
  width: 100%;
  height: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}