.w3l-feature-9 .grids-feature {
    background-color: #353441;
}

body {
    font-family: 'Noto Sans JP', sans-serif; /* 全体をゴシック体 */
}

  .catchphrase {
  font-family: 'Zen Old Mincho', serif; /* トップのコピーだけ明朝体 */
  font-weight: 900; /* 文字を太くする */
}

::-moz-selection {
    background: #acacac;
    /* WebKit/Blink Browsers */ }
  
  ::selection {
    background: #acacac;
    /* WebKit/Blink Browsers */ }
  
  ::-moz-selection {
    background: #acacac;
    /* Gecko Browsers */ }

.w3l-hero-headers-14 .hh14-text h6 {
    font-style: normal;
    font-weight: normal;
    font-size: 22px;
    line-height: 30px;
    color: var(--white-color); }

.w3l-content-with-photo-4 .cwp4-text h4 {
    font-size: 30px;
    line-height: 32px;
    color: var(--tittle-color);
    font-weight: 700; }

.w3l-content-with-photo-4 .cwp4-text p {
    font-style: normal;
    font-weight: normal;
    font-size: 20px;
    line-height: 30px;
    color: var(--text-color);
    margin: 25px 0; }

.w3l-feature-9 .grids-feature p {
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 24px;
    color: rgba(227, 227, 227, 0.95); }

.w3l-covers-9-main p.para-cover-9 {
    font-weight: normal;
    font-size: 18px;
    line-height: 30px;
    color: #ffffff; }

.w3l-features-6 .features {
    padding: 80px 0; }

.w3l-content-with-photo-3 .customers3.top-bottom h3 {
    font-size: 32px;
    line-height: 36px;
    color: var(--tittle-color);
    margin-top: 30px; }

.w3l-content-with-photo-3 p.top-p {
    font-size: 18px;
    line-height: 30px;
    color: var(--text-color);
    margin: 20px 0px 60px; }

.w3l-content-with-photo-3 .left-side p {
    font-size: 18px;
    line-height: 30px;
    color: var(--text-color);
    margin: 20px 0px 30px; }

.w3l-content-with-photo-11 .contentwithphoto-text p {
    font-size: 18px;
    color: var(--text-color);
    line-height: 30px;
    margin-top: 16px; }

.w3l-timeline-1 .timeline h3 {
    color: #fff;
    font-size: 28px;
    line-height: 50px; }

.w3l-timeline-1 .timeline p {
    color: #e9e9e9;
    font-size: 16px;
    margin: 18px 0 0;
    line-height: 28px; }

.w3l-timeline-1 .timeline-image {
    width: 500px;
    height: 300px;
    object-fit: cover;
    border-radius: 5px;  }

.w3l-timeline-1 .timeline-image {
    width: 100%;  /* 親要素の幅いっぱいに広げる */
    max-width: 500px;  /* 画像の最大幅を制限 */
    height: auto;  /* 縦横比を維持 */
    object-fit: cover;  /* 画像の見栄えを整える */
   border-radius: 5px; /* 角を少し丸める（お好みで） */  }
        
/* 画面サイズが小さいときの調整 */
@media (max-width: 600px) {
  .timeline-image {
  max-width: 200px; /* スマホではもう少し小さく */
  }  }


.w3l-customers-7 .customers_sur {
    background: url(../images/banner-2.jpg) no-repeat center;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    -ms-background-size: cover;
    background-attachment: fixed;
    padding: 80px 0; }

.w3l-customers-7 .customers_sur h3 {
    font-size: 35px;
    line-height: 50px;
    color: var(--white-color);
    text-align: center; }

.w3l-customers-8 .customers_sur {
    background: url(../images/banner-3.jpg) no-repeat center;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    -ms-background-size: cover;
    background-attachment: fixed;
    padding: 80px 0; }

.w3l-customers-8 .customers_sur h3 {
    font-size: 35px;
    line-height: 50px;
    color: var(--white-color);
    text-align: center; }

.w3l-feature-9 h4 a.title-head {
    color: var(--white-color);
    font-size: 24px;
    line-height: 25px;
    font-weight: 600;
    margin: 18px 0 18px;
    display: inline-block; }

.w3l-contacts-9-main .contacts-9 h3 {
    font-size: 30px;
    font-weight: 700;
    line-height: 35px;
    margin-bottom: 45px; }

.ml-2 {
    margin-left: 20px !important; }

.w3l-header-4 {
    top: 0px; }

.logo {
    width: 400px;}

@media (max-width: 500px) {
    .logo {
    width: 75%;} }

  @media (max-width: 640px) {
    .w3l-hero-headers-14 a.actionbg.btn {
      margin-top: 2em; } }

  @media (max-width: 992px) {
    .w3l-hero-headers-14 .hh14-text h3 {
      font-size: 50px;
      line-height: 60px; } }

@media (max-width: 667px) {
    .w3l-hero-headers-14 .hh14-text h3 {
      font-size: 45px;
      line-height: 53px;
      margin-top: 20px; } }

  @media (max-width: 480px) {
    .w3l-hero-headers-14 .hh14-text h3 {
      font-size: 35px;
      line-height: 40px; } }

  @media (max-width: 384px) {
    .w3l-hero-headers-14 .hh14-text h6 {
      font-size: 20px;}
    .w3l-hero-headers-14 .hh14-text h3 {
      font-size: 28px;
      line-height: 33px; } }

.w3l-hero-headers-14 .hh14-block {
    background-position: calc(100% - 50%) calc(100% - 20px) !important; }


@media (max-width: 768px) {
    .w3l-hero-headers-14 .hh14-block {
    padding: 0 0 4.5rem 0;
    background: url(../images/bannerSP.jpg) no-repeat center bottom;
    background-size: 140% auto; /* 横幅を120%に拡大して縦のはみ出しを作る */
    background-attachment: scroll; /* iOS Safari は fixed 非対応のため scroll に変更 */
    background-position: center 0% !important; } }

@media (max-width: 768px) {
    .w3l-customers-7 .customers_sur {
    padding: 0 0 4.5rem 0;
    background: url(../images/banner-2SP.jpg) no-repeat center center;
    background-size: cover;
    background-attachment: scroll; /* iOS Safari は fixed 非対応のため scroll に変更 */ } }

@media (max-width: 768px) {
    .w3l-customers-8 .customers_sur {
    padding: 0 0 4.5rem 0;
    background: url(../images/banner-3SP.jpg) no-repeat center center;
    background-size: cover;
    background-attachment: scroll; /* iOS Safari は fixed 非対応のため scroll に変更 */ } }

.company-profile-link {
    color: var(--btn-color);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.company-profile-link:hover {
    color: var(--opposite-color);
}

.health-management-section {
    background: #f7f7f7;
    padding: 80px 0;
}

.health-management-heading {
    text-align: center;
    margin-bottom: 34px;
}

.health-management-heading .section-label {
    color: var(--btn-color);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.health-management-heading h3 {
    color: var(--title-color);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

.health-certified-block {
    align-items: center;
    background: #ffffff;
    display: grid;
    gap: 42px;
    grid-template-columns: minmax(0, 1fr) 360px;
    padding: 44px;
}

.health-certified-text h4 {
    color: var(--title-color);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.45;
    margin: 0 0 22px;
}

.health-certified-text p {
    color: var(--text-color);
    font-size: 17px;
    line-height: 1.9;
    margin: 0 0 16px;
}

.health-certified-text .health-certified-note {
    border-left: 3px solid var(--btn-color);
    font-size: 15px;
    line-height: 1.8;
    margin-top: 24px;
    padding-left: 16px;
}

.health-certified-link {
    color: var(--btn-color);
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    margin-top: 8px;
    text-decoration: underline;
}

.health-certified-logo {
    text-align: center;
}

.health-certified-logo img {
    display: block;
    height: auto;
    margin: 0 auto;
    max-width: 100%;
}

.health-policy-block {
    margin-top: 42px;
}

.health-policy-block h4 {
    color: var(--title-color);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 22px;
}

.health-policy-list {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.health-policy-item {
    background: #ffffff;
    border-top: 3px solid var(--btn-color);
    padding: 26px 24px;
}

.health-policy-item h5 {
    color: var(--title-color);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 12px;
}

.health-policy-item p {
    color: var(--text-color);
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 992px) {
    .health-certified-block {
        grid-template-columns: minmax(0, 1fr) 280px;
        padding: 36px;
    }
}

@media (max-width: 768px) {
    .health-management-section {
        padding: 56px 0;
    }

    .health-management-heading h3 {
        font-size: 28px;
    }

    .health-certified-block {
        gap: 28px;
        grid-template-columns: 1fr;
        padding: 28px 22px;
    }

    .health-certified-text h4 {
        font-size: 23px;
    }

    .health-certified-logo {
        order: -1;
    }

    .health-certified-logo img {
        max-width: 280px;
    }

    .health-policy-list {
        grid-template-columns: 1fr;
    }
}


.w3l-content-with-sentence .title {
    text-align: center;
    font-size: 1.8em;   /* タイトルを少し大きく */
    padding-top: 2em;
    margin-bottom: 1em; /* 下に余白 */
}

.w3l-content-with-sentence .main-text {
    text-align: left;
    font-size: 1.1em;   /* 読みやすく少し拡大 */
    line-height: 1.8;   /* 行間を広めに */
    margin: 0 0 1.5em 0; /* 下に余白 */
}

.w3l-content-with-sentence .signature {
    text-align: right;
    font-size: 1em;     /* 署名部分は本文よりやや小さめでもOK */
    margin-top: 1.5em;  /* 上に余白を追加 */
    margin-bottom: 8em; /* 下に余白 */
}
