
#mv h2{
  font-size: 28px;
  padding: 10px 40px 10px 40px;
}

@media screen and (max-width: 1300px) {
  #mv h2 {
    font-size: 20px;
    background: url(../../img/img/en_h2.png)left 10px center/48px 48px no-repeat #fff;
  }
}

@media screen and (max-width: 700px) {
  #mv h2 {
    background: url(../../img/img/en_h2.png) left 10px center / 38px 38px no-repeat #fff;
    padding: 10px 40px 10px 30px;
    font-size: 14px;
  }
}

/*********************

#health_mgmt

********************/

#health_mgmt{
  background: #99da65;
  border-radius: 16px;
  color: #ffffff;
  padding: 60px 40px 50px;
  width: calc(1200px - 80px);
  max-width: calc(90% - 80px);
  margin-bottom: 100px;
}

#health_mgmt h2{
  font-size: 28px;
  text-align: center;
  margin-bottom: 30px;
}

#health_mgmt p {
  text-align: center;
  width: 60%;
  margin: 0 auto 30px;
}

#health_mgmt ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: 18px;
  font-weight: bold;
  width: 900px;
  max-width: 100%;
  margin: 0 auto;
}

#health_mgmt ul li{
  width: 28%;
  text-align: center;
}

#health_mgmt ul img{
  margin: 0 auto 30px;
  display: block;
  width: 80%;
}

@media screen and (max-width: 700px) {

  #health_mgmt {
    padding: 60px 20px 50px;
    width: calc(1200px - 40px);
    max-width: calc(90% - 40px);
    margin-bottom: 50px;
  }

  #health_mgmt h2{ font-size: 20px; }
  #health_mgmt p{ width: 100%; }

  #health_mgmt ul{display: block;}
  #health_mgmt ul li{
    display: flex;
    width: 100%;
    margin-bottom: 14px;
    font-size: 14px;
  }
  #health_mgmt ul li:last-child{margin-bottom: 0;}
  #health_mgmt ul img{
    width: 24%;
    margin: 0 20px 0 0;
  }
}

/*********************

#health_mgmt_txt

********************/

#health_mgmt_txt{
  display: flex;
  justify-content: space-between;
  margin-bottom: 100px;
}

#health_mgmt_txt div{
  width: 39%;
  text-align: left;
}

#health_mgmt_txt h2{
  font-size: 28px;
  margin-bottom: 30px;
  color: #512701;
}

#health_mgmt_txt img{
  width: 529px;
  height: 348px;
}

@media screen and (max-width: 1100px) {
  #health_mgmt_txt img{ width: 510px; }
}


@media screen and (max-width: 1000px) {
  #health_mgmt_txt div{ width: 44%; }
  #health_mgmt_txt img{
    width: 50%;
    object-fit: contain;
  }
}

@media screen and (max-width: 700px) {
  #health_mgmt_txt{
    display: block;
    margin-bottom: 70px;
  }
  #health_mgmt_txt div{
    width: 100%;
    margin-bottom: 30px;
  }
  #health_mgmt_txt img{
    width: 100%;
    object-position: top;
    height: inherit;
  }
}

/*********************

#health_strategy

********************/

#health_strategy{margin-bottom: 100px;}

#health_strategy img{
  width: 100%;
  border-radius: 16px;
}

#health_strategy h2{
  font-size: 28px;
  text-align: center;
  margin: 60px auto 30px;
  color: #512701;
}

#health_strategy dl{
  background: #fcb134;
  border-radius: 16px;
  margin: 60px auto 100px;
  padding: 10px;
  display: flex;
}

#health_strategy dt{
  background: #ffffff;
  border-radius: 12px;
  color: #512701;
  padding: 50px 10px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  width: 250px;
}

#health_strategy dd{padding-top: 20px;}

#health_strategy dd p{
  margin: 0 0 10px 30px;
  color: #512701;
  font-weight: bold;
}
#health_strategy dd p::before{
  content: "";
  background: url(../img/health/maru.png)top center no-repeat;
  background-size: contain;
  width: 10px;
  height: 10px;
  display: inline-block;
  margin-right: 10px;
  vertical-align: 2px;
}
#health_strategy dd p:last-child{margin-bottom: 0;}

#health_strategy ul{
  display: flex;
  justify-content: space-between;
}

#health_strategy li { width: 48%; }

#health_strategy ul h2 { color: #fcb134; }


@media screen and (max-width: 1000px) {

  #health_strategy dt{width: 350px;}
  #health_strategy h2 {
    font-size: 20px;
    margin: 30px auto 20px;
  }

}

@media screen and (max-width: 700px) {

  #health_strategy {margin-bottom:60px;}

  #health_strategy img{
    height: 200px;
    object-fit: cover;
  }

  #health_strategy dl{
    display: block;
    padding: 10px 10px 24px 10px;
    margin: 30px auto 80px;
  }
  #health_strategy dt {
    width: calc(100% - 20px);
    padding: 20px 10px;
  }

  #health_strategy ul {
    display: block;
    max-width: 100%;
  }
  #health_strategy li {
    width: 100%;
    margin-bottom: 50px;
  }
  #health_strategy li:last-child{ margin-bottom: 0; }

}

/* Final override rules for text wrapping and spacing issues */
#header_mv ul, #header_link ul {
  margin-left: 60px !important;
  padding-left: 20px !important;
}

/* Ultra-specific targeting for dynamically loaded content */
[data-template="header_mv"] li.mv_ttl.eng,
#header_mv ul li.mv_ttl.eng,
#header_mv li.mv_ttl.eng,
li.mv_ttl.eng,
.mv_ttl.eng {
  white-space: nowrap !important;
  width: auto !important;
  min-width: 200px !important;
  max-width: none !important;
  overflow: visible !important;
  word-break: keep-all !important;
  word-wrap: normal !important;
  text-overflow: visible !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
  vertical-align: top !important;
}

/* Ensure template container doesn't constrain width */
[data-template="header_mv"],
[data-template="header_mv"] ul {
  width: auto !important;
  min-width: 300px !important;
}

/* Additional rule to handle post-load styling */
body li.mv_ttl.eng {
  white-space: nowrap !important;
  display: inline-block !important;
  width: auto !important;
}

/* Force re-render after template load */
[data-template="header_mv"]:not(:empty) li.mv_ttl.eng {
  white-space: nowrap !important;
  width: auto !important;
  min-width: max-content !important;
}
