/* ===== Base ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }

:root{
  --s-blue: #2a6be7;
  --s-blue-ink: #1653ce;
  --s-line: #e7edf6;
  --s-bg: #f6f9ff;
  --s-text: #0f172a;
  --s-mute: #6b7280;
}

body{
  font-family: "Noto Sans JP", system-ui, sans-serif;
  color: var(--s-text);
  background: var(--s-bg);
  line-height: 1.75;
}
a{ color: inherit; text-decoration: none; }

.s-header-in,
.s-hero-in,
.s-main,
.s-footer{
  padding-inline: clamp(16px, 5vw, 84px);
}

/* ===== Header ===== */
.s-header{
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--s-line);
}
.s-header-in{
  height: 64px;
  display:flex;
  align-items:center;
}
.s-company{
  font-weight: 900;
  letter-spacing: .02em;
}
.s-company:hover{ color: var(--s-blue-ink); }

/* ===== Hero ===== */
.s-hero{
  padding: 38px 0 20px;
  position: relative;
  overflow:hidden;
}
.s-hero::before{
  content:"";
  position:absolute;
  inset:-60px -60px auto -60px;
  height: 240px;
  background:
    radial-gradient(800px 220px at 18% 20%, rgba(42,107,231,.18), transparent 60%),
    radial-gradient(700px 240px at 85% 0%, rgba(25,167,174,.12), transparent 58%),
    linear-gradient(120deg, rgba(42,107,231,.08), rgba(42,107,231,0));
  pointer-events:none;
}
.s-hero-inner{
  position: relative;
  padding-inline: clamp(16px, 4vw, 56px);
  text-align: center;
}
.s-hero-title{
  font-size: clamp(44px, 7vw, 76px);
  font-weight: 900;
  color: var(--s-blue);
  line-height: 1;
  letter-spacing: .02em;
}
.s-hero-sub{
  margin-top: 10px;
  font-weight: 900;
  font-size: 14px;
  color: #111827;
}

/* ===== Main ===== */
.s-main{
  padding-block: 6px 70px;
}

/* 中央カラム */
.s-news-shell{
  width: min(840px, 100%);
  margin: 0 auto;
  padding: 8px 0 0;
}

/* 見出し＆タブ */
.s-news-head{
  text-align: center;
  padding: 18px 0 10px;
}
.s-news-page{
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .01em;
}

/* Tabs */
.s-tabs{
  margin-top: 18px;
  display:flex;
  justify-content: center;
  gap: clamp(10px, 3vw, 30px);
  border-bottom: 1px solid var(--s-line);
}
.s-tab{
  appearance:none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 12px 10px 14px;
  font-weight: 900;
  font-size: 13px;
  color: var(--s-mute);
  position: relative;
}
.s-tab:hover{ color: #111827; }
.s-tab.is-active{
  color: #111827;
}
.s-tab.is-active::after{
  content:"";
  position:absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  border-radius: 99px;
  background: var(--s-blue);
}

/* ===== List ===== */
.s-list{
  list-style: none;
  margin-top: 18px;
  border-top: 1px solid var(--s-line);
}
.s-item{
  border-bottom: 1px solid var(--s-line);
}
.s-row{
  width: 100%;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  display:flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 6px;
}
.s-row:hover{
  background: rgba(255,255,255,.65);
}

/* 左：日付→カテゴリ/タイトル */
.s-row-main{ min-width: 0; }
.s-meta{
  color: var(--s-mute);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
}
.s-titleline{
  margin-top: 8px;
  display:flex;
  align-items: center;
  gap: 10px;
  min-width:0;
}
.s-row-title{
  font-size: 15px;
  font-weight: 900;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Badges */
.s-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 26px;
  padding: 0 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
  border: 1px solid transparent;
}
.s-badge--info{
  color: var(--s-blue-ink);
  background:#f3f7ff;
  border-color:#dfe8ff;
}
.s-badge--recruit{
  color:#0b7a4b;
  background:#effbf4;
  border-color:#c9efd9;
}
.s-badge--press{
  color:#0ea5a3;
  background:#eefcf9;
  border-color:#bff2ea;
}

/* empty */
.s-empty{
  margin: 18px 0 0;
  padding: 16px;
  border: 1px dashed var(--s-line);
  border-radius: 14px;
  background: rgba(255,255,255,.6);
  color: var(--s-mute);
  font-weight: 800;
  text-align: center;
}

/* ===== Modal ===== */
body.s-lock{ overflow: hidden; }

.s-modal{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 999;
}
.s-modal.is-open{ display:block; }

.s-backdrop{
  position:absolute;
  inset:0;
  background: rgba(15,23,42,.45);
  backdrop-filter: blur(3px);
}

.s-article{
  position: relative;
  width: min(860px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  margin: 16px auto;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--s-line);
  box-shadow: 0 30px 80px rgba(15,23,42,.25);
  padding: 26px 26px 22px;
}

/* close */
.s-close{
  position: sticky;
  top: 8px;
  float: right;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--s-line);
  background: #fff;
  cursor: pointer;
  font-size: 20px;
  font-weight: 900;
  color: var(--s-text);
}
.s-close:hover{ background:#f7faff; }

/* 上メタ */
.s-article-top{
  margin-top: 8px;
  display:flex;
  align-items:center;
  justify-content: center;
  color: var(--s-mute);
  font-size: 12px;
  font-weight: 800;
}

/* 記事タイトル */
.s-article-title{
  margin: 14px 0 8px;
  text-align: center;
  font-size: clamp(20px, 3.8vw, 28px);
  font-weight: 900;
  letter-spacing: .01em;
  line-height: 1.35;
}

/* カテゴリ */
.s-article-cat{
  display:flex;
  justify-content: center;
  margin-bottom: 10px;
}

/* 本文 */
.s-article-body{
  width: min(640px, 100%);
  margin: 0 auto;
  padding: 10px 0 6px;
}
.s-article-body p{
  margin: 0 0 14px;
  color: #0f172a;
  font-weight: 600;
  line-height: 2.0;
}

/* ボタン */
.s-article-foot{
  width: min(640px, 100%);
  margin: 10px auto 0;
  padding-top: 14px;
  border-top: 1px solid var(--s-line);
  display:flex;
  justify-content: flex-end;
}
.s-btn{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 9999px;
  font-weight: 900;
  font-size: 14px;
  border: 1px solid #dbe6ff;
  background: #fff;
  color: var(--s-blue-ink);
}
.s-btn:hover{ background:#f2f6ff; }
.s-btn-ico{
  width: 34px;
  height: 34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 9999px;
  background: rgba(42,107,231,.12);
}

/* ===== Footer ===== */
.s-footer{
  padding-block: 18px 22px;
  color: #8a94a7;
  font-weight: 700;
  text-align: center;
  border-top: 1px solid var(--s-line);
  background: rgba(255,255,255,.7);
}

/* ===== Responsive ===== */
@media (max-width: 720px){
  .s-row{
    padding: 14px 0;
  }
  .s-row-title{
    white-space: normal;
  }
  .s-article{
    padding: 18px 16px 16px;
  }
}
