/* Business */

.business {
  z-index: 1;
  min-height: 50vh;
  position: relative;
  margin-top: 5rem;
  margin-bottom: 9rem;
  @media screen and (max-width: 960px) {
    margin-bottom: 6rem;
  }
  .pic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: opacity(100%);
    z-index: -3;
    overflow: hidden;
    .main-bg {
      height: 100%;
    }
  }
  .business-container {
    position: relative;
    z-index: -3;
  }

  .bg-img {
    margin-right: calc(50% - 50vw);
        margin-left: calc(50% - 50vw);
        padding-right: calc(50vw - 50%);
        padding-left: calc(50vw - 50%);
        position: relative;
        margin-top: 35px;
        background-image: url(../../images/top/business_bg.webp);
        background-size: cover;
        z-index: -2;
  }

  .title {
    text-align: center;
    font-size: var(--font-size-4xl);
    margin: 0;
    font-weight: 600;
    position: absolute;
    top: -0.5em;
    left: 40.5%;
  }

  .sub-title {
    display: block;
    width: 100%;
    color: #fff;
    font-family: "Zen Kaku Gothic New", serif;
    text-align: center;
    font-size: calc(var(--font-size-m) * 1.5);
  }

  .contents {
    .font-xl {
      padding-bottom: 1rem;
    }
    .font-l,
    .font-m{
      letter-spacing: 0.05em;
    }
    color: white;
    padding: 140px 0;
    .contents-left {
      margin-right: 20px;
    }
    .contents-left,
    .contents-right {
      background: #fff;
      flex: 1;
      /* margin: auto; */
      /* height: 471px; */
      text-align: center;
      /* 背景画像用 */
      position: relative;
      .pic {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        filter: brightness(40%);
        z-index: -1;
        img {
          width: 100%;
          height: 100%;
        }
      }
      .pc-wrap {
        font-size: calc(var(--font-size-l) * 1);
        background: #152537;
        padding: 1em 2em;
      }
      .pc-wrap span {
        display: block;
        width: 100%;
        font-family: "Zen Kaku Gothic New", serif;
        font-size: calc(var(--font-size-m) * 1);
      }
      .post-wrap {
        padding: 25px;
        height: 100%;
      }
    }
    .contents-left .btn {
      background: #152537;
    }
    .contents-left .btn:hover {
      background: var(--white-color);
    }
    .contents-right .pc-wrap {
      background: var(--red-color);
    }
    .post-wrap .items-center {
      padding: 0.5em;
    }
    .post-wrap .items-center div {
      padding-right: 15px;
    }
    .post-wrap .news-link {
      display: block;
      text-align: left;
      border-bottom: solid 0.5px #707070;
    }
    .post-wrap .news-link:last-child {
      border-bottom: none;
    }
    .post-wrap a.news-link {
      text-decoration: none;
      color: var(--black-color);
    }
    .massage-list div.post-cnts {
        position: relative;
    }
    .massage-list p.icon-link,
    .massage-list p.icon-pdf {
        padding-left: 25px;
    }
    .massage-list p.icon-link::before {
        content: "";
        background-image: url("../../images/common/icon-link.svg");
        background-size: cover;
        background-position: center;
        position: absolute;
    }
    .massage-list p.icon-pdf::before {
        content: "";
        background-image: url("../../images/common/icon-pdf.svg");
        background-size: cover;
        background-position: center;
        position: absolute;
    }
    .massage-list p.icon-link::before,
    .massage-list p.icon-pdf::before {
        top: 18px;
        left: 0;
        width: 20px;
        height: 20px;
    }

  }
  @media screen and (max-width: 960px) {
    .contents {
      flex-direction: column;
      gap: 1.5rem;
      padding: 6rem 0;
      .contents-left,
      .contents-right {
        width: 100%;
        flex: none;
        height: auto;
        padding: 0rem 0 4rem;
        .pic {
          box-sizing: border-box;
          /* padding: 0 2rem; */
          img{
            width: 100%;
            object-fit: cover;
          }
        }
      }
      .font-xl {
        padding-bottom: 0.5rem;
      }
      .btn-area {
        margin: 1.5rem 0 0;
      }
    }
    .title {
      text-align: center;
      font-size: var(--font-size-4xl);
      margin: 0;
      font-weight: 600;
      position: static;
    }
    .title span {
      color: #1d1b14;
    }
  }
  @media screen and (max-width: 599px) {
    .contents {
      padding: 4rem 0;
      .contents-left,
      .contents-right {
        padding: 0rem 0 2.5rem;
        .pic {
          padding: 0;
        }
      }
      .post-wrap .items-center {
        font-size: 14px;
      }
    }
    .massage-list .post-cnts p.icon-link::before,
    .massage-list .post-cnts p.icon-pdf::before {
        top: 34px;
        left: 0;
        width: 20px;
        height: 20px;
    }
  }
}