@charset "UTF-8";
/* =========================================================
   お知らせのページ（/news/ と /news/○○/）
   ---------------------------------------------------------
   色や文字の設定は css/style.css のものをそのまま使っています。
   このファイルは「お知らせだけで使う形」を足しています。
   ========================================================= */

/* 下層ページではヘッダーを白地にします（トップは写真の上なので透明） */
.is-sub{ padding-top:var(--header-h); }
.header--solid{
  position:fixed;
  background:rgba(255,255,255,.96);
  box-shadow:0 1px 0 var(--line);
}
.header--solid .header__name-en,
.header--solid .header__name-ja,
.header--solid .nav__list a{ color:var(--text); }
.header--solid .hamburger span{ background:var(--text); }

/* =========================================================
   お知らせ一覧（/news/）
   ========================================================= */
.newslist{ padding:clamp(40px,6vw,72px) 0 clamp(70px,9vw,120px); }
.newslist__title{
  font-family:var(--serif);
  font-weight:600;
  font-size:clamp(24px,3.2vw,36px);
  letter-spacing:.06em;
  margin:0 0 30px;
}

.nlist__tabs{ display:flex; gap:10px; flex-wrap:wrap; margin:0 0 30px; }
.nlist__tab{
  font-family:inherit;
  font-size:13.5px;
  border:1px solid #cdd8e6;
  border-radius:999px;
  padding:8px 20px;
  color:var(--text-sub);
  background:#fff;
  cursor:pointer;
}
.nlist__tab.is-on{ background:var(--blue); border-color:var(--blue); color:#fff; font-weight:700; }

.nlist{ margin:0; padding:0; list-style:none; }
.nlist__item{ border-top:1px solid var(--line); }
.nlist__item:last-child{ border-bottom:1px solid var(--line); }
.nlist__item a{
  display:flex;
  align-items:center;
  gap:20px;
  padding:20px 6px;
  text-decoration:none;
  color:inherit;
}
.nlist__item time{
  font-family:var(--en);
  font-variant-numeric:tabular-nums;
  font-size:14px;
  letter-spacing:.08em;
  color:var(--text-sub);
  flex:0 0 92px;
}
.nlist__cat{
  font-size:11.5px;
  padding:3px 11px;
  border-radius:999px;
  background:var(--tint);
  color:var(--blue-dark);
  flex:0 0 auto;
  min-width:86px;
  text-align:center;
}
.nlist__cat--none{ background:none; }
.nlist__ttl{ flex:1 1 auto; font-size:15.5px; line-height:1.7; }
.nlist__arw{ color:var(--blue); flex:0 0 auto; }
.nlist__item a:hover .nlist__ttl{ color:var(--blue); }
.nlist__empty{ padding:40px 0; color:var(--text-sub); }

@media (max-width:700px){
  .nlist__item a{ flex-wrap:wrap; gap:8px 12px; padding:18px 2px; }
  .nlist__ttl{ flex:1 1 100%; font-size:15px; }
  .nlist__arw{ display:none; }
  .nlist__cat{ min-width:0; }
}

/* =========================================================
   お知らせ1件のページ（/news/○○/）
   ========================================================= */
.post{ padding:clamp(28px,4vw,46px) 0 clamp(70px,9vw,120px); }
.post__crumb{
  font-size:12.5px;
  color:var(--text-sub);
  margin:0 0 10px;
  line-height:1.9;
}
.post__crumb a{ color:var(--blue); }
.post__inner{ width:min(100% - 48px, 760px); margin-inline:auto; }

.post__meta{ display:flex; align-items:center; gap:14px; flex-wrap:wrap; margin:26px 0 14px; }
.post__meta time{
  font-family:var(--en);
  font-variant-numeric:tabular-nums;
  font-size:14px;
  letter-spacing:.08em;
  color:var(--text-sub);
}
.post__cat{
  font-size:12px;
  padding:4px 12px;
  border-radius:999px;
  background:var(--tint);
  color:var(--blue-dark);
  letter-spacing:.06em;
}
.post__title{
  font-family:var(--serif);
  font-weight:600;
  font-size:clamp(23px,3.4vw,33px);
  line-height:1.6;
  letter-spacing:.04em;
  margin:0 0 30px;
  word-break:auto-phrase;
  text-wrap:balance;
}

/* 本文 */
.post__text{ margin:0 0 1.7em; line-height:2.05; word-break:auto-phrase; text-wrap:pretty; }
.post__text p{ margin:0 0 1.5em; }
.post__text p:last-child{ margin-bottom:0; }
.post__text ul,
.post__text ol{ margin:0 0 1.5em; padding-left:1.5em; list-style:disc; }
.post__text ol{ list-style:decimal; }
.post__text li{ margin-bottom:.5em; }
.post__text a{ color:var(--blue); text-decoration:underline; text-underline-offset:3px; }
.post__text b{ font-weight:700; }
.post__text .mk-red{ color:#c0392b; font-weight:700; }
.post__text .mk-blue{ color:var(--blue); font-weight:700; }
.post__text .mk-line{ background:linear-gradient(transparent 62%, #ffe9a8 62%); }

.post__h2{
  font-family:var(--serif);
  font-size:clamp(18px,2.3vw,22px);
  font-weight:600;
  letter-spacing:.04em;
  line-height:1.6;
  margin:46px 0 18px;
  padding-left:14px;
  border-left:4px solid var(--blue);
}

/* 写真 */
.post__photos{ display:grid; gap:16px; margin:34px 0; }
.post__photos--1{ grid-template-columns:1fr; }
.post__photos--2{ grid-template-columns:1fr 1fr; }
.post__photos--3{ grid-template-columns:repeat(3,1fr); }
.post__photos figure{ margin:0; }
.post__photos img{ width:100%; height:auto; border-radius:6px; }
.post__photos figcaption{ text-align:center; font-size:12.5px; color:var(--text-sub); margin-top:9px; line-height:1.8; }
.post__photos--1 figcaption{ font-size:13px; }
/* 写真1枚のときは、元の大きさより大きくせず、高さもおさえて、まん中に置きます。
   （ロゴやマークのような小さい画像が引き伸ばされてぼやけるのを防ぐため）
   大きいイベント写真は今までどおり横幅いっぱいに出ます。 */
.post__photos--1 img{
  width:auto;
  max-width:100%;
  max-height:520px;
  margin-inline:auto;
}
@media (max-width:620px){
  .post__photos--2,
  .post__photos--3{ grid-template-columns:1fr; }
}

/* 書類を画像で見せる */
.post__doc{ margin:40px 0; }
.post__doc img{
  margin-inline:auto;
  max-width:430px;
  width:100%;
  border:1px solid var(--line);
  box-shadow:0 10px 36px rgba(31,68,128,.13);
}
.post__doc figcaption{ text-align:center; font-size:13px; color:var(--text-sub); margin-top:14px; line-height:1.9; }
.post__doc figcaption a{ color:var(--blue); text-decoration:underline; text-underline-offset:3px; }

/* ファイル添付 */
.post__attach{
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--tint-2);
  padding:16px 18px;
  margin:34px 0;
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}
.post__attach-ico{
  font-family:var(--en);
  font-weight:600;
  color:#c0392b;
  border:1px solid #f0d6d2;
  background:#fff;
  border-radius:6px;
  padding:10px 12px;
  font-size:13px;
  letter-spacing:.1em;
}
.post__attach-txt{ flex:1 1 200px; }
.post__attach-txt b{ display:block; font-size:14.5px; }
.post__attach-txt small{ color:var(--text-sub); font-size:12.5px; }
.post__attach a{
  background:#fff;
  border:1px solid #cdd8e6;
  color:var(--text);
  text-decoration:none;
  font-size:13.5px;
  font-weight:700;
  padding:10px 20px;
  border-radius:8px;
}
.post__attach a:hover{ border-color:var(--blue); color:var(--blue); }
@media (max-width:620px){
  .post__attach a{ width:100%; text-align:center; }
}

/* 前後のお知らせ */
.post__pager{
  display:flex;
  justify-content:space-between;
  gap:16px;
  border-top:1px solid var(--line);
  margin-top:56px;
  padding-top:26px;
  font-size:14px;
  line-height:1.8;
}
.post__pager a{ color:var(--blue); text-decoration:none; max-width:46%; }
.post__pager a:hover{ text-decoration:underline; }
@media (max-width:620px){
  .post__pager{ flex-direction:column; gap:14px; }
  .post__pager a{ max-width:none; }
}

.post__back{ text-align:center; margin-top:40px; }
.post__back a{
  display:inline-block;
  border:1px solid #cdd8e6;
  border-radius:999px;
  padding:12px 34px;
  font-size:14px;
  text-decoration:none;
}
.post__back a:hover{ border-color:var(--blue); color:var(--blue); }

/* =========================================================
   企業様向け・求職者向けページの中のお知らせ欄
   （hr と jobs は別のCSSを使っているので、ここで完結させています）
   ========================================================= */
.subnews{
  width:min(100% - 48px, 1120px);
  margin:0 auto;
  padding:clamp(48px,6vw,80px) 0;
}
/* 左に「News／お知らせ」、右に「一覧を見る →」を置きます */
.subnews__head{
  display:grid;
  grid-template-columns:1fr auto;
  align-items:end;
  gap:4px 16px;
  margin-bottom:22px;
}
.subnews__en{ grid-column:1; grid-row:1; }
.subnews__ja{ grid-column:1; grid-row:2; }
.subnews__more{ grid-column:2; grid-row:1 / span 2; align-self:end; justify-self:end; }
.subnews__en{
  font-family:"Barlow",sans-serif;
  font-size:12px;
  font-weight:600;
  letter-spacing:.28em;
  color:#2f6fd0;
  margin:0 0 6px;
}
.subnews__ja{
  font-family:"Noto Serif JP","Hiragino Mincho ProN","Yu Mincho",serif;
  font-weight:600;
  font-size:20px;
  letter-spacing:.08em;
  margin:0;
}
.subnews__more{
  font-size:14px;
  color:#2f6fd0;
  text-decoration:none;
  border-bottom:1px solid currentColor;
  padding-bottom:2px;
}
.subnews__list{ margin:0; padding:0; list-style:none; }
.subnews__list li{ border-top:1px solid #e2e9f2; }
.subnews__list li:last-child{ border-bottom:1px solid #e2e9f2; }
.subnews__list a{
  display:flex;
  align-items:baseline;
  gap:20px;
  padding:15px 4px;
  text-decoration:none;
  color:inherit;
}
.subnews__list time{
  font-family:"Barlow",sans-serif;
  font-variant-numeric:tabular-nums;
  font-size:13.5px;
  letter-spacing:.06em;
  color:#5c6672;
  flex:0 0 88px;
}
.subnews__list span{ flex:1 1 auto; font-size:14.5px; line-height:1.8; }
.subnews__list a:hover span{ color:#2f6fd0; }
@media (max-width:700px){
  .subnews__list a{ flex-wrap:wrap; gap:4px 14px; }
  .subnews__list span{ flex:1 1 100%; }
}
