/* =========================================================
   NEWS PAGE
   株式会社LibeRal
   ========================================================= */

body {
  margin: 0;
  background: #f4f6f9;
  color: #101923;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN",
               "Noto Sans JP", Arial, sans-serif;
}


/* =========================================================
   NEWS HERO
   ========================================================= */

.news-hero {
  position: relative;
  overflow: hidden;
  padding-top: 90px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 20%,
      rgba(40, 118, 239, .28),
      transparent 32%),
    linear-gradient(135deg,
      #06101d 0%,
      #08182d 52%,
      #0b2852 100%);
}

.news-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      rgba(255,255,255,.025) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255,255,255,.025) 1px,
      transparent 1px
    );
  background-size: 60px 60px;
  pointer-events: none;
}

.news-hero-inner {
  position: relative;
  z-index: 2;
  width: min(100% - 64px, 1180px);
  margin: 0 auto;
  padding: 105px 0 85px;
}

.news-kicker,
.section-en {
  display: block;
  color: #72a9ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .25em;
}

.news-hero h1 {
  margin: 12px 0 0;
  font-size: clamp(58px, 8vw, 100px);
  line-height: 1;
  letter-spacing: -.035em;
}

.news-hero p {
  margin: 24px 0 0;
  color: rgba(255,255,255,.72);
  font-size: 16px;
  line-height: 1.9;
}


/* =========================================================
   NEWS CONTENT
   ========================================================= */

.news-page {
  background: #f4f6f9;
}

.news-container {
  width: min(100% - 64px, 1180px);
  margin: 0 auto;
  padding: 105px 0 130px;
}

.news-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 58px;
}

.news-heading h2 {
  margin: 10px 0 0;
  color: #101923;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.1;
}

.news-heading > p {
  margin: 0;
  padding-bottom: 5px;
  color: #697380;
  font-size: 14px;
  line-height: 1.9;
}


/* =========================================================
   NEWS LIST
   ========================================================= */

.news-list {
  border-top: 1px solid #d8dee7;
}

.news-item {
  position: relative;
  display: grid;
  grid-template-columns: 240px 1fr 50px;
  gap: 30px;
  align-items: center;
  min-height: 120px;
  padding: 0 20px;
  border-bottom: 1px solid #d8dee7;
  color: #101923;
  text-decoration: none;
  transition:
    background .25s ease,
    padding .25s ease;
}

.news-item:hover {
  padding-left: 30px;
  background: #fff;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.news-meta time {
  color: #697380;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}

.news-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 94px;
  padding: 7px 12px;
  border: 1px solid rgba(54,126,219,.28);
  border-radius: 999px;
  color: #367edb;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
}

.news-item h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  font-weight: 700;
}

.news-arrow {
  justify-self: end;
  font-size: 25px;
  transition: transform .25s ease;
}

.news-item:hover .news-arrow {
  transform: translateX(6px);
}


/* =========================================================
   EMPTY
   ========================================================= */

.news-empty {
  padding: 60px 30px;
  border-top: 1px solid #d8dee7;
  border-bottom: 1px solid #d8dee7;
  color: #7a8491;
  text-align: center;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {

  .news-hero {
    padding-top: 72px;
  }

  .news-hero-inner {
    width: calc(100% - 36px);
    padding: 75px 0 60px;
  }

  .news-hero h1 {
    font-size: 58px;
  }

  .news-container {
    width: calc(100% - 36px);
    padding: 75px 0 90px;
  }

  .news-heading {
    display: block;
    margin-bottom: 40px;
  }

  .news-heading > p {
    margin-top: 22px;
  }

  .news-item {
    grid-template-columns: 1fr 32px;
    gap: 14px;
    padding: 24px 5px;
  }

  .news-item:hover {
    padding-left: 10px;
  }

  .news-meta {
    grid-column: 1 / -1;
  }

  .news-item h3 {
    font-size: 15px;
  }
}