@import "./common.css";

/*----news----*/
.ly_news {
  position: relative;

  padding-top: 96px;
  padding-bottom: 96px;

  background-color: var(--newsBg);
}

.ly_news::before {
  position: absolute;
  top: 0;
  left: 0;

  width: 267px;
  height: 300px;

  content: "";

  background-image: url(../image/top/news_upper_deco.png);
}

.ly_news::after {
  position: absolute;
  right: 0;
  bottom: 0;

  width: 328px;
  height: 300px;

  content: "";

  background-image: url(../image/top/news_under_deco.png);
}

.ly_news .container {
  margin-right: calc((100vw - 1280px) / 2 + 130px);
  margin-left: calc((100vw - 1280px) / 2 + 130px);
  position: relative;
  z-index: 2;
}

.cb_newsWrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 48px;
  margin-bottom: 96px;
}

.cb_news {
  width: calc((100% - 24px * 2) / 3);
  padding-bottom: 24px;

  background-color: var(--white);
}

.cb_news article {
  display: flex;
  flex-direction: column;
  min-height: 481px;
}

.cb_news_imgWrapper {
  width: 100%;
  margin-bottom: 23px;
}

.cb_news_imgWrapper img {
  width: 100%;
}

.cb_news_date {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 2.4rem;

  position: relative;

  margin-bottom: 16px;
  padding-bottom: 8px;
  padding-left: 18px;
  z-index: 1;

  letter-spacing: 0.02em;
}

.cb_news_date.cb_news_date__single {
  text-align: center;
}

.cb_news_date::after {
  position: absolute;
  bottom: 0;
  left: 0;

  width: 100%;
  height: 1px;

  content: "";
  z-index: 1;

  background-color: var(--gold);
}

.cb_news_date.cb_news_date__single::after {
  width: 20%;
  left: 50%;
  transform: translateX(-50%);
}

.cb_news_body {
  flex-grow: 1;

  margin-right: 18px;
  margin-left: 18px;
}

.cb_news_ttl {
  font-size: 2rem;
  font-weight: 600;
  line-height: 3rem;

  padding-bottom: 16px;

  text-align: justify;
  letter-spacing: 0.02em;
}

.cb_news_ttl.cb_news_ttl__single {
  text-align: center;
  font-size: 2.4rem;
}

.cb_news_cont {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 2.4rem;

  margin-bottom: 16px;

  text-align: justify;
  letter-spacing: 0.02em;
}

.cb_news_cont.cb_news_cont__taC {
  text-align: center;
  line-height: 3.6rem;
  margin-top: 24px;
}

@media screen and (max-width: 1279px) {
  .ly_news .container {
    margin-right: 10%;
    margin-left: 10%;
  }
}

@media screen and (max-width: 768px) {
  .ly_news {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .ly_news::before {
    width: 133px;
    height: 150px;
    background-size: contain;
  }

  .ly_news::after {
    width: 164px;
    height: 150px;
    background-size: contain;
  }

  .cb_newsWrapper {
    align-items: center;
    flex-direction: column;

    margin-top: 24px;
    margin-bottom: 49px;

    gap: 24px;
  }

  .cb_news {
    width: 100%;
    padding-bottom: 15px;
  }

  .cb_news_imgWrapper {
    margin-bottom: 8px;
  }

  .cb_news_date {
    font-size: 1.4rem;
    line-height: 2.4rem;
    padding-left: 16px;
  }

  .cb_news_ttl {
    font-size: 1.8rem;
    line-height: 3rem;
  }
}

/*---single---*/
.bl_singleWrapper {
  margin: 100px 0;
}

.bl_news_singleImgWrapper {
  text-align: center;
}
