/* object/project/company.css */
/* 豕穂ｺｺ讎りｦ√・繝ｼ繧ｸ蝗ｺ譛峨・繧ｹ繧ｿ繧､繝ｫ */

/* =========================================================
   蜈ｱ騾壹ち繧､繝医Ν繝ｻ繧ｹ繝壹・繧ｷ繝ｳ繧ｰ
========================================================= */
.section-title-main {
  font-size: 2.4rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 3rem;
  letter-spacing: 0.05em;
  color: var(--color-text);
  position: relative;
  z-index: 2;
}

/* 豎守畑繧ｹ繝壹・繧ｷ繝ｳ繧ｰ */
.mt-100 {
  margin-top: 100px;
}

.mb-100 {
  margin-bottom: 100px;
}

/* =========================================================
   莉｣陦ｨ謖ｨ諡ｶ繧ｻ繧ｯ繧ｷ繝ｧ繝ｳ
========================================================= */
.greeting-section {
  background-color: #F4F4F4;
  padding-top: 150px;
  padding-bottom: 150px;
}

.greeting-block {
  margin-bottom: 120px;
}

.greeting-image-wrapper {
  width: 100%;
  margin-bottom: 2rem;
}

.greeting-main-image {
  width: 100%;
  height: auto;
  border-radius: 0;
}

.greeting-heading {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.4;
}

.greeting-text-content p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.greeting-heading-sub {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.ceo-signature {
  font-size: 1.1rem;
  font-weight: 600;
}

/* --- 逕ｻ蜒上・荳ｦ縺ｳ・亥ｰ代＠縺壹ｉ縺励※驟咲ｽｮ・・--- */
.greeting-images-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 荳雁・逕ｻ蜒上ｒ蟾ｦ蟇・○ */
.stack-image-primary {
  width: 100%;
  align-self: flex-start;
}

.stack-image-primary img {
  border-radius: 0;
  width: 300px;
}

/* 荳句・逕ｻ蜒上ｒ蜿ｳ蟇・○ */
.stack-image-secondary {
  align-self: flex-end;
}

.stack-image-secondary img {
  width: 300px;
  border-radius: 0;
}

/* =========================================================
   謾ｯ謠ｴ縺ｸ縺ｮ諠ｳ縺・そ繧ｯ繧ｷ繝ｧ繝ｳ
========================================================= */
.thoughts-section {
  background-color: #FFFFFF;
  padding-top: 150px;
  padding-bottom: 150px;
  overflow-x: hidden;
}

.thoughts-grid {
  position: relative;
  z-index: 1;
}

.thoughts-grid::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 550px;
  height: 550px;
  max-width: 60vw;
  transform: translateX(-50vw);
  background: url("../../../images/company/Vector.png") left bottom no-repeat;
  background-size: contain;
  z-index: -1;
}

.thoughts-grid::after {
  content: "";
  position: absolute;
  top: 0;
  right: 50%;
  width: 550px;
  height: 550px;
  max-width: 60vw;
  transform: translateX(50vw);
  background: url("../../../images/company/Vector-1.png") right top no-repeat;
  background-size: contain;
  z-index: -1;
}

.thoughts-card {
  padding: 2rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

/* 蜿ｳ繧ｫ繝ｼ繝峨ｒ荳九↓縺壹ｉ縺呵｣・｣ｾ */
.offset-md-top {
  margin-top: 200px;
}

.thoughts-heading {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.thoughts-heading-large {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.text-accent {
  color: #D4C390;
}

.staff-image {
  border-radius: 0;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.tree-icon-large {
  width: 120px;
  height: auto;
  opacity: 0.6;
}

/* =========================================================
   證ｮ繧峨＠繧ゅ∪繧九＃縺ｨ 閭梧勹陬・｣ｾ
========================================================= */
.kurashi-bg {
  padding: 60px 40px;
  position: relative;
  z-index: 1;
}

.kurashi-bg::before {
  content: "";
  position: absolute;
  top: -50px;
  bottom: -8.5rem;
  left: 50%;
  transform: translateX(-50%) scaleX(-1);
  width: 100vw;
  background-image:
    url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 100" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><path fill="%23F4F4F4" d="M0,50 C 480,120 960,-20 1440,50 L 1440,100 L 0,100 Z"></path></svg>'),
    linear-gradient(#F4F4F4, #F4F4F4);
  background-size: 100% 231px, 100% calc(100% - 230px);
  background-repeat: no-repeat, no-repeat;
  background-position: top center, bottom center;
  z-index: -1;
}

@media (max-width: 767px) {
  .kurashi-bg {
    padding: 40px 20px;
  }
}

/* =========================================================
   豕穂ｺｺ讎りｦ√ユ繝ｼ繝悶Ν繧ｻ繧ｯ繧ｷ繝ｧ繝ｳ
========================================================= */
.company-section {
  background-color: #F4F4F4;
  padding-top: 150px;
  padding-bottom: 150px;
  margin-bottom: 0;
}

.company-content-box {
  background-color: #ffffff;
  padding: 100px;
}

.company-table-wrapper {
  margin-top: 2rem;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table th,
.company-table td {
  padding: 1.5rem 1rem;
  vertical-align: top;
  letter-spacing: 0.08em;
  line-height: 1.8;
}

.company-table th {
  width: 30%;
  font-weight: 600;
  color: var(--color-text-light);
  text-align: center;
  border-bottom: 1px solid #333333;
}

.company-table td {
  color: var(--color-text);
  border-bottom: 1px solid #cccccc;
}

/* 譛€蠕後・陦後・荳狗ｷ壹↑縺・*/
.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: none;
}

/* 豕穂ｺｺ讎りｦ√Ο繧ｴ */
.company-section-logo {
  max-width: 200px;
  height: auto;
  margin: 0 auto;
}

.company-union-transition {
  width: 100%;
  aspect-ratio: 2800 / 542;
  background-image: url("../../../images/company/Union.png");
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  position: relative;
  margin-bottom: -1px; /* 隙間対策 */
}

.company-tree-image {
  position: absolute;
  bottom: 0;
  right: 15%;
  width: 15vw;
  max-width: 150px;
  height: auto;
  z-index: 2;
}

/* =========================================================
   繝ｬ繧ｹ繝昴Φ繧ｷ繝冶ｪｿ謨ｴ
========================================================= */

/* --- 繧ｿ繝悶Ξ繝・ヨ蟇ｾ蠢・(Bootstrap md莉･荳・ --- */
@media (max-width: 991.98px) {
  .greeting-section,
  .thoughts-section,
  .company-section {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .section-title-main {
    font-size: 2rem;
    margin-bottom: 3.5rem;
  }

  .company-content-box {
    padding: 60px 40px;
  }

  .mt-100 {
    margin-top: 60px;
  }

  .mb-100 {
    margin-bottom: 60px;
  }

  .offset-md-top {
    margin-top: 0;
  }
}

/* --- 繝｢繝舌う繝ｫ蟇ｾ蠢・(Bootstrap sm莉･荳・ --- */
@media (max-width: 767.98px) {
  .greeting-section,
  .thoughts-section,
  .company-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .company-content-box {
    padding: 40px 20px;
  }

  .thoughts-heading {
    font-size: 1.4rem;
  }

  .section-title-main {
    font-size: 1.6rem;
    margin-bottom: 2.5rem;
  }

  .greeting-block {
    margin-bottom: 60px;
  }

  .greeting-heading {
    font-size: 1.4rem;
  }

  .greeting-heading-sub {
    font-size: 1.3rem;
  }

  .greeting-text-content p {
    font-size: 0.9rem;
  }

  .greeting-images-stack {
    margin-top: 3rem;
    padding-bottom: 0;
  }

  .stack-image-primary,
  .stack-image-secondary {
    width: 100%;
    position: static;
    margin-bottom: 1rem;
  }

  .stack-image-primary img,
  .stack-image-secondary img {
    width: 100%;
  }

  .thoughts-heading {
    font-size: 1.3rem;
  }

  .thoughts-heading-large {
    font-size: 1.5rem;
  }

  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
    padding: 0.75rem 0;
  }

  .company-table th {
    border-bottom: none;
    padding-bottom: 0;
    text-align: left;
  }
}
