@charset "utf-8";

:root {
    --ink: #171717;
    --muted: #666;
    --line: #eee;
    --indigoblue: #00819d;
    --chip: #f6f6f6;
    --radius: 16px;
    --shadow: 0 6px 24px rgba(0, 0, 0, .06)
}

.container {
    /* width: min(1120px, 92vw); */
    margin-inline: auto;
}

.stack {
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 2vw, 16px)
}

.row {
    display: flex;
    align-items: center;
    gap: clamp(10px, 2vw, 16px);
    flex-wrap: wrap
}

.muted {
    color: var(--muted)
}

/* =========================================
  NEWS page hero（参考画像：大きい背景 + 左下タイトル）
========================================= */

.newsHero{
  position: relative;
  width: 100%;
  min-height: 300px; /* 高さ調整：PC */
  /* ここに背景を設定（パスはあなたの環境に合わせて） */
  background-image: url("../image/study1_img4.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* 文字を読みやすくする暗幕（不要なら削除） */
.newsHero::before{
  content:"";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.28);
}

.newsHero__inner{
  position: relative;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  height: 100%;
  min-height: inherit;

  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* ←下寄せ */
  padding: 0 0 42px;         /* ←左下の余白 */
}

.newsHero__en{
  margin: 0 0 8px;
  letter-spacing: .12em;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 6px 18px rgba(0,0,0,.35);
}

.newsHero__jp{
  margin: 0;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.25;
  color: #fff;
  font-weight: 700;
  text-shadow: 0 6px 18px rgba(0,0,0,.35);
}

.newsHero__catch{
  margin: 10px 0 0;
  color: rgba(255,255,255,.9);
  line-height: 1.7;
  max-width: 46em;
  text-shadow: 0 6px 18px rgba(0,0,0,.35);
}

/* （旧）右の120px画像枠は使わないので非表示 */
.newsHero__right,
.newsHero__img{
  display: none !important;
}

/* =========================================
  NEWS list（一覧）
========================================= */

.newsList{
  padding: 150px 0;
}

.newsList__inner{
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

.newsCards{
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid #ddd;
}

.newsCards__item{
  border-bottom: 1px solid #ddd;
}

.newsCard{
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  padding: 35px 0;
  text-decoration: none;
  color: inherit;
}

.newsCard:hover{
  opacity: .85;
}

.newsCard__thumb{
  overflow: hidden;
  background: #f3f3f3;
  aspect-ratio: 4 / 3;
}

.newsCard__thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.newsCard__ph{
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #eee, #f7f7f7);
}

.newsCard__meta{
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}

.newsCard__date{
  font-size: 16px;
  color: #666;
  white-space: nowrap;
}

.newsCard__tag{
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #999;
  font-size: 12px;
  font-weight: 700;
  background: #fff;
}

.newsCard__title{
  margin: 0;
  font-size: 20px;
  line-height: 1.7;
}

.newsPager{
  margin-top: 18px;
}

.newsEmpty{
  padding: 20px 0;
  color: #666;
}

/* =========================================
  SP
========================================= */
@media (max-width: 768px){
  .newsHero{
    min-height: 200px;
  }
  .newsHero__inner{
    padding-bottom: 0;
  }

  .newsCard{
    grid-template-columns: 1fr;
  }
  .newsCard__thumb{
    aspect-ratio: 16 / 9;
  }
}
