.company_wrap {
  position: relative;
  overflow: hidden;
  background: #F4F4F1;
}

.company_bg_layer {
  position: fixed;
  left: 50%;
  top: 260px;
  width: 100vw;
  --company_bg_pad: min(56px, 6vw);
  transform: translateX(-50%);
  z-index: 0;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
  padding: 0 var(--company_bg_pad);
  pointer-events: none;
  opacity: 0.22;
  transition: opacity 0.6s ease, visibility 0.6s ease, transform 0.6s ease;
}

.company_bg_layer img {
  display: block;
  width: 100%;
  height: auto;
  flex-shrink: 0;
}

/* JSで company_profile とビューポートの関係が確定するまで装飾背景を描画しない（再読込時の一瞬露出を防止） */
.company_wrap:not(.company_bg_init_done) .company_bg_layer {
  opacity: 0;
  visibility: hidden;
}

/* SVG実寸比 294 : 687 : 331 を保ちつつ列幅へ同一比率で伸縮（gap は fr 分割後から差し引き） */
.company_bg_row {
  display: grid;
  grid-template-columns: 294fr 687fr 331fr;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  gap: clamp(12px, 2.5vw, 48px);
}

.company_bg_takumi {
  min-width: 0;
  transform: translateY(-150px);
}

.company_bg_mark {
  min-width: 0;
  transform: translateY(50px);
}

.company_bg_matcha {
  min-width: 0;
  transform: translateY(-50px);
}

.company_wrap.is_bg_hidden .company_bg_layer {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(20px);
}

.company_wrap .contents_mv,
.company_wrap .container {
  position: relative;
  z-index: 1;
}

.company_wrap.archive .container {
  max-width: 1040px;
}

.company_about,
.company_value,
.company_profile {
  font-family: "Noto Sans JP", sans-serif;
}

.company_about {
  text-align: center;
  padding: 64px 0 56px;
}

.company_about_sub {
  margin: 0 0 56px;
}

.company_about_sub img {
  width: 93px;
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

.company_about_ttl {
  margin-top: 14px;
  text-align: center;
}

.company_about_ttl img {
  width: 380px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.company_value {
  padding-bottom: 80px;
}

.company_value_list {
  width: 100%;
}

.company_value_item {
  display: flex;
  align-items: center;
  gap: 80px;
  border-bottom: 1px solid #cccccc;
  padding: 76px 0;
}

.company_value_visual {
  position: relative;
  flex: 0 0 auto;
  width: 230px;
  max-width: 100%;
  min-width: 0;
}

.company_value_img {
  margin: 0;
}

.company_value_img img {
  width: 230px;
  max-width: 100%;
  object-fit: cover;
  display: block;
}

.company_value_ttl {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.45;
  color: #477141;
  z-index: 2;
}

.company_value_body {
  flex: 1;
  margin-bottom: 0;
  text-align: left;
  font-family: "Noto Serif JP", serif;
  font-size: 27px;
  font-weight: 600;
  line-height: 2;
  letter-spacing: 0.08em;

}

.company_profile {
  padding-bottom: 88px;
}

.company_profile_ttl {
  margin: 0 0 28px;
  text-align: left;
  line-height: 0;
}

.company_profile_ttl img {
  width: 278px;
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

.company_profile_table {
  width: 100%;
  border-collapse: collapse;
}

.company_profile_table th,
.company_profile_table td {
  border-bottom: 1px solid #cccccc;
  padding: 24px 0;
  font-size: 15px;
  line-height: 1.9;
  text-align: left;
}

.company_profile_table th {
  width: 24%;
  font-weight: 500;
  padding-right: 20px;
}

.company_banner {
  background-image: url("../../common/img/company/company_banner_pc.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  padding: 80px 40px;
}

.company_banner_inner {
  margin: 0 auto;
  justify-content: center;
  display: flex;
  align-items: center;
  gap: 48px;
}

.company_banner_circle {
  width: 200px;
  height: 200px;
  border: 1px solid #477141;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(2px);
}

.company_banner_circle_txt {
  font-family: "Lora", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 30px;
  line-height: 1.5;
  color: #477141;
  text-align: center;
}

.company_banner_txt {
  color: #111;
}

.company_banner_ttl {
  font-family: "Noto Serif JP", serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.7;

  margin: 0 0 8px;
}

.company_banner_desc {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 2;

  margin: 0;
}



@media screen and (max-width: 767px) {
  .company_bg_layer {
    top: 160px;
    width: 100vw;
    --company_bg_pad: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 16px;
    opacity: 0.26;
  }
  .company_bg_takumi,
  .company_bg_matcha {
    display: none;
  }
  .company_bg_row {
    display: flex;
    justify-content: center;
    grid-template-columns: none;
    gap: 0;
    width: auto;
    max-width: min(687px, 100%);
  }
  .company_bg_mark {
    width: 100%;
    max-width: 100%;
  }
  .company_about {
    padding: 48px 0 36px;
  }
  .company_about_sub{
    margin: 0 0 23px;
  }
  .company_about_ttl {
    margin-top: 10px;
  }
  .company_about_ttl img {
    width: 240px;
  }
  .company_value {
    padding-bottom: 64px;
  }
  .company_value_item {
    display: block;
    padding: 24px 0;
  }
  .company_value_visual {
    flex: none;
    width: 180px;
    max-width: 100%;
    margin: 0 auto 40px;
  }
  .company_value_img img {
    width: 180px;
    max-width: 100%;
    height: auto;
  }
  .company_value_ttl {
    font-size: 18px;
  }
  .company_value_body {
    font-family: "Noto Serif JP", serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 2;
  }
  .company_profile {
    padding-bottom: 64px;
  }
  .company_profile_ttl {
    margin-bottom: 20px;
  }
  .company_profile_ttl img {
    width: 240px;
  }
  .company_profile_table th,
  .company_profile_table td {
    display: block;
    width: 100%;
  }
  .company_profile_table th {
    border-bottom: none;
    padding-bottom: 0;
  }
  .company_profile_table td {
    padding-top: 4px;
  }

    .company_banner {
      background-image: url("../../common/img/company/company_banner_sp.webp");
  
      padding: 56px 24px;
    }
  
    .company_banner_inner {
      flex-direction: column;
      gap: 32px;
    }
  
    .company_banner_circle {
      width: 170px;
      height: 170px;
    }
  
    .company_banner_circle_txt {
      font-size: 24px;
    }
  
    .company_banner_ttl {
      font-size:20px;
      line-height: 2;
    }
  
  
}