@charset "utf-8";

/* !!! НЕ ПРАВИТЬ РУКАМИ: файл сгенерирован из public_html/assets/css/health.css скриптом scratch/build-sustainability-css.py (rem->px, обёртка div.ccm-page) */

body {
    background-color: #EEF3F9;
}

div.ccm-page {
.main {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.bg-decoration{
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.circle {
    position: absolute;
    background: #DFEDF3;
    width: 350px;
    height: 350px;
    border-radius: 50%;
}

.circle1 {
    z-index: 1;
    position: absolute;
    top: 900px;
    right: 50%;
    animation: float 70s ease-in-out infinite;
}

.circle2 {
    position: absolute;
    top: 1100px;
    left: 60%;
    animation: float 40s ease-in-out infinite;
}

.main__content {
    position: relative;
    z-index: 1;
}

.main__visual {
    position: relative;
    width: 100%;
    height: 250px;
    background-image: url(../images/health.jpg);
    background-size: cover;
    background-position: center;
    border-radius: 0 0 50% 50% / 0 0 50% 45%;
    overflow: hidden;
    z-index: 0;
    margin-bottom: 55px;
}

.main__title {
    position: absolute;
    top: 190px;
    right: 7.7%;
    color: #334C8B;
    text-align: center;
    font-family: 'Noto Serif JP';
    font-weight: 700;
}

.title {
    font-size: 32px;
}

.title__en {
    font-size: 16px;
}

.health_declaration {
    background-color: #ffffff;
    padding: 30px 10%;
    text-align: center;
}

.declaration {
    font-family: 'Noto Serif JP';
}

.declaration__title {
    color: #334C8B;
    font-size: 20px;
    font-weight: 700;
}

.declaration__txt {
    margin-top: 20px;
}

.certification__img {
    margin-top: 30px;
}

.certification__txt {
    margin-top: 10px;
}

.organization {
    padding: 50px 9%;
    text-align: center;
}

.organization__title {
    background-image: url(../images/wave_wh.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    font-size: 20px;
    font-weight: 700;
    color: #334C8B;
}

.organization__img {
    margin-top: 20px;
    background-color: #ffffff;
    padding: 8px 15px;
}

.map,
.map__img {
    display: none;
}

.strategy-banner {
  display: flex;
  align-items: center;
  text-decoration: none;
  width: 100%;
  max-width: 190px;
  margin: 30px auto;
}

.label-bg {
  background-color: #CBD2E3; 
  padding: 15px 7.7% 10px;
  flex-shrink: 0;
}

.text {
  color: #334C8B;
  font-size: 12px;
  font-weight: bold;
  white-space: nowrap;
}

.line-part {
  flex-grow: 1;
  position: relative;
  height: 2px;
  background-color: #334C8B;
  margin-top: 25px;
  z-index: 2;
}

.custom-arrow {
  position: absolute;
  right: 0;
  bottom: 10px;
  width: 15px;
  height: 2px;
  background-color: #334C8B;
}

.custom-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -2px;
  width: 7px;
  height: 7px;
  border-top: 2px solid #334C8B;
  border-right: 2px solid #334C8B;
  transform: rotate(45deg);
}

.strategy-banner:hover {
  opacity: 0.8;
}

.strategy-banner:hover .custom-arrow {
  transform: translateX(10px);
  transition: 0.3s;
}

.top__btn {
    background-color: #334C8B;

}

@media screen and (min-width: 769px) {
.circle {
    width: 1000px;
    height: 1000px;
}

.circle1 {
    top: 1800px;
    right: 50%;
}

.circle2 {
    top: 2900px;
    left: 60%;
}

.main__visual {
    position: relative;
    width: 100%;
    height: 1000px;
    border-radius: 0 0 50% 50% / 0 0 50% 45%;
    overflow: hidden;
    z-index: 0;
    margin-bottom: 100px;
}

.main__title {
    position: absolute;
    top: 750px;
    right: 6.5%;
}

.title {
    font-size: 96px;
}

.title__en {
    font-size: 40px;
}


/* 健康経営宣言 */
.health_declaration {
    padding: 50px 7.8%;
    text-align: center;
}

.declaration__title {
    font-size: 32px;
}

.declaration__txt {
    font-size: 20px;
    line-height: 2.0;
    margin-top: 50px;
}

.spbr {
    display: none;
}

.certification {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    align-items: center;
    margin-top: 78px;
    gap: 10px;
}

.certification__img {
    width: 670px;
    margin: 0;
}

.certification__txt {
    margin-top: 0;
    font-size: 20px;
    line-height: 2.0;
    text-align: start;
}

/* 健康経営推進体制 */
.organization {
    padding: 150px 2.6%;
}

.organization__title {
    font-size: 32px;
}

.organization__img {
    background-color: #ffffff;
    max-width: 1240px;
    margin: 0 auto;
    margin-top: 20px;
    padding: 50px 8.6%;
}

/* 戦略マップ */
.strategy-banner {
    display: none;
}

.map,
.map__img {
    display: block;
}

.map {
    background-image: url(../images/wave_wh.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    color: #334C8B;
    font-size: 32px;
    font-weight: 700;
}

.map__img {
    background-color: #ffffff;
    max-width: 1240px;
    margin: 0 auto;
    margin-top: 20px;
    padding: 17px 2.6%;
}

.top__btn:hover {
    background-color: #FFF;
    color: #334C8B;
}

}
}

@keyframes float {
    0% { transform:translateX(0) translateY(0);}
    50% {transform:translateX(-100px) translateY(100px);}
    100% {transform:translateX(0) translateY(0);}
}
