@charset "utf-8";
/* ===========================================================

  Title: esg_top.css
  Created: 2026-03-04
  Scoped: #esg .esg-top

=========================================================== */

/* -----------------------------------------------------------
  Scope base (common.css / contents.css の影響を受けにくくする)
----------------------------------------------------------- */

#esg main h3,
#esg main h3 span,
#esg main h3::before,
#esg main h3::after {
  all: unset;
  display: inline;
}

#esg .esg-top {
  /* ページ専用の基準 */
  width: 100%;
  color: #1e1e1e;
  text-align: left;
  padding: 0;
}

.esg-top-inner {
  width: 100%;
}

/* このページ内だけ box-sizing を固定（common.css と同じだが、保険） */
#esg .esg-top,
#esg .esg-top *,
#esg .esg-top *::before,
#esg .esg-top *::after {
  box-sizing: border-box;
}

/* common.css の main section margin-bottom:40px !important 等に依存しないよう、必要に応じてこちらで管理 */
#esg .esg-top .main-content > section {
  margin-bottom: 0 !important;
}

#esg main article {
  width: 100%;
  padding: 0;
}

main.esg-top article {
  max-width: none;
}

/* -----------------------------------------------------------
  common.css の「main article h2」装飾（余白・ライン・擬似要素）を無効化
  ※ section-title を h2 で使っているため、ここが最重要
----------------------------------------------------------- */
#esg .esg-top h2.section-title {
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
  background: none !important;
}

#esg .esg-top h2.section-title::before,
#esg .esg-top h2.section-title::after {
  content: none !important;
  display: none !important;
}

/* common.css の a:link/a:visited の色・下線の影響を受けないように */
#esg .esg-top a,
#esg .esg-top a:link,
#esg .esg-top a:visited {
  text-decoration: none;
}

.topic-path {
  padding: 0 4vw;
}

/* -----------------------------------------------------------
  Hero Section
----------------------------------------------------------- */
#esg .esg-top .hero {
  width: 100%;
  height: 640px;
  position: relative;
  background: linear-gradient(135deg, #17479e 0%, #0d2a5e 100%);
  margin: 0;
}

#esg .esg-top .hero-overlay {
  position: absolute;
  inset: 0;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 640"><rect fill="%2317479e" width="1440" height="640"/></svg>');
  opacity: 0.8;
}

#esg .esg-top .hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 72px 96px;
  position: relative;
  z-index: 1;
  background: url(/assets/img/common/esg/esg_top_hero.jpg) center center
    no-repeat;
  background-size: cover;
}

#esg .esg-top .hero-title {
  margin: 0;
  padding: 0;
  font-size: 52px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2.032px;
  line-height: 1.3;
}

/* -----------------------------------------------------------
  Top Message Section
----------------------------------------------------------- */
#esg .esg-top .section-top-message {
  width: 100%;
  background-color: #fff;
  padding: 60px 128px 100px;
  display: flex;
  gap: 60px;
}

#esg .esg-top .top-message-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  flex: 1;
}

.top-message-img {
  border-radius: 16px;
  overflow: hidden;
  width: 400px;
  height: 400px;
  position: relative;
}

.top-message-img img {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#esg .esg-top .section-title {
  font-size: 32px;
  font-weight: 700;
  color: #282828;
  letter-spacing: 1.28px;
  line-height: 1.6;
}

#esg .esg-top .section-text {
  margin: 0 !important; /* contents.css の .contents p margin 等を遮断 */
  font-size: 22px;
  color: #282828;
  line-height: 1.7;
}

/* -----------------------------------------------------------
  Primary Button
----------------------------------------------------------- */
#esg .esg-top .btn-primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 256px;
  height: 64px;
  background-color: #17479e;
  border-radius: 64px;
  padding: 0 16px 0 32px;
  box-shadow: 0px 8px 28px 0px rgba(0, 0, 0, 0.18);
  color: #fff !important; /* common.css の a:link 色を完全に上書き */
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.72px;
  transition: transform 0.2s;
}

#esg .esg-top .btn-primary:hover {
  transform: translateY(-2px);
  text-decoration: none !important;
  color: #fff !important;
}

#esg .esg-top .btn-primary span {
  color: inherit;
}

#esg .esg-top .btn-icon {
  width: 24px;
  height: 24px;
  background-color: #fff;
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

#esg .esg-top .btn-icon svg {
  width: 5px;
  height: 10px;
  margin-left: 2px;
}

/* -----------------------------------------------------------
  ESG Section
----------------------------------------------------------- */
#esg .esg-top .section-esg {
  width: 100%;
  background-color: #eef8ff;
  padding: 64px 8px;
}

#esg .esg-top .esg-header {
  width: 100%;
  padding: 0 128px 40px;
  text-align: center;
}

#esg .esg-top .esg-cards {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 8px;
}

/* ESG Card */
#esg .esg-top .esg-card {
  flex: 1;
  height: 640px;
  border-radius: 16px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 0;
}

#esg .esg-top .esg-card-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
}

#esg .esg-top .esg-card-image-environment {
  background: url(/assets/img/common/esg/esg_top_img01.jpg) center center
    no-repeat;
  background-size: cover;
}

#esg .esg-top .esg-card-image-social {
  background: url(/assets/img/common/esg/esg_top_img02.jpg) center center
    no-repeat;
  background-size: cover;
}

#esg .esg-top .esg-card-image-governance {
  background: url(/assets/img/common/esg/esg_top_img03.jpg) center center
    no-repeat;
  background-size: cover;
}

#esg .esg-top .esg-card-content {
  background-color: #fff;
  border-radius: 16px;
  padding: 24px 24px;
  margin: 16px;
  position: relative;
  z-index: 1;
  min-height: 248px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  min-height: 280px;
}

#esg .esg-top .esg-card-title {
  display: flex;
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0;
  color: #5d5d5d;
}

#esg .esg-top .esg-card-title > span {
  display: flex;
}

#esg .esg-top .color-environment {
  color: #00a17c;
}
#esg .esg-top .color-social {
  color: #0160b1;
}
#esg .esg-top .color-governance {
  color: #733dae;
}

/* ESG List */
#esg .esg-top .esg-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#esg .esg-top .esg-list-item {
  display: flex;
  gap: 8px;
  align-items: center;
}

#esg .esg-top .list-marker {
  width: 12px;
  height: 1px;
  background-color: #282828;
  flex-shrink: 0;
}

#esg .esg-top .esg-list-item span {
  font-size: 14px;
  color: #282828;
}

/* -----------------------------------------------------------
  Reports Section
----------------------------------------------------------- */
#esg .esg-top .section-reports {
  width: 100%;
  background-color: #fff;
  padding: 100px 128px;
}

#esg .esg-top .reports-grid {
  max-width: 1200px;
  margin: 0 auto 40px;
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr 1fr;
}

.report-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

#esg .esg-top .report-card {
  background-color: #eef8ff;
  border-radius: 16px;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}

#esg .esg-top .report-card-large {
  flex: 1;
}

#esg .esg-top .report-title {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  color: #282828;
  letter-spacing: 1.28px;
  line-height: 1.6;
}

#esg .esg-top .report-text {
  margin: 0;
  font-size: 16px;
  color: #282828;
  line-height: 1.7;
}

/* Certifications */
#esg .esg-top .certifications {
  max-width: 1200px;
  margin: 0 auto;
  background-color: #eef8ff;
  border-radius: 16px;
  padding: 60px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

#esg .esg-top .certification-text {
  margin: 0;
  font-size: 16px;
  color: #282828;
  line-height: 1.7;
}

#esg .esg-top .certification-logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

#esg .esg-top .cert-logo {
  width: calc(16.666% - 16px);
  height: auto;
  border-radius: 8px;
  mix-blend-mode: multiply;
  padding: 4px;
}

#esg .esg-top .cert-logo img {
  width: 100%;
}

/* -----------------------------------------------------------
  Responsive (最低限)
----------------------------------------------------------- */
@media screen and (max-width: 1200px) {
  #esg .esg-top .hero-content {
    padding: 56px 16px;
  }
  #esg .esg-top .hero-title {
    font-size: 36px;
    letter-spacing: 1px;
  }

  #esg .esg-top .section-top-message {
    padding: 40px 16px 64px;
  }
  #esg .esg-top .section-esg {
    padding: 40px 16px;
  }
  #esg .esg-top .esg-header {
    padding: 0 0 24px;
  }

  #esg .esg-top .esg-cards {
    flex-direction: column;
    gap: 16px;
  }
  #esg .esg-top .esg-card {
    height: auto;
    min-height: 420px;
  }

  #esg .esg-top .section-reports {
    padding: 64px 16px;
  }
  #esg .esg-top .reports-grid {
    flex-direction: column;
    gap: 16px;
  }
  #esg .esg-top .report-card {
    padding: 32px;
    gap: 32px;
  }
  #esg .esg-top .certifications {
    padding: 32px;
    gap: 32px;
  }

  #esg .esg-top .certification-logos {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  #esg .esg-top .cert-logo {
    width: calc(33.333% - 16px);
  }
}

@media (max-width: 768px) {
  #esg .esg-top .cert-logo {
    width: calc(50% - 16px); /* 2列 */
  }
}
