@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* =========================================================
   兵庫医科大学病院 看護師・助産師募集サイト
   WordPress（SWELL）追加CSS  ─ 先輩メッセージ／部署紹介
   値はテストサイト（/nu-recruit/css/contents.css）から抽出
   ---------------------------------------------------------
   文字色      #151515
   背景グラデ  #e6ffe3 → #f4f7eb（STAFF VOICE）
   ホバー緑    #e2ffdf
   見出し和文  Zen Kaku Gothic New 500
   本文/カード Noto Sans JP
   英字        Montserrat 500
   セクション色 スタッフの声 #2d56d1 / 部署紹介 #23ac38
   ========================================================= */

:root {
  --nu-black: #151515;
  --nu-green-top: #e6ffe3;
  --nu-green-bottom: #f4f7eb;
  --nu-hover: #e2ffdf;
  --nu-staff: #2d56d1;
  --nu-dept: #23ac38;
}

/* ---------- 全体 ---------- */
body {
  font-family: "Zen Kaku Gothic New", sans-serif;
  color: var(--nu-black);
  background: linear-gradient(to bottom, var(--nu-green-top), var(--nu-green-bottom)) fixed;
}

/* ---------- セクション見出し（03 / STAFF VOICE ＋ H2 ＋ リード） ----------
   使い方：グループブロックに追加CSSクラス「nu-heading」
   中身：段落（nu-heading__en）→ 見出しH2 → 段落（リード文） */
.nu-heading { margin-bottom: 60px; }
.nu-heading__en {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 1px;
}
.nu-heading h2 {
  margin: 16px 0 32px !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  font-size: 40px;
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 1.5;
}
.nu-heading h2::before,
.nu-heading h2::after { display: none !important; }


/* ---------- 「＼ 見出し ／」 ----------
   使い方：段落に追加CSSクラス「nu-callout」 */
.nu-callout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.6;
}
.nu-callout::before,
.nu-callout::after {
  content: "";
  flex-shrink: 0;
  align-self: flex-end;
  width: 1px;
  height: 40px;
  background: var(--nu-black);
  transform: translateY(4px) rotate(-38deg);
}
.nu-callout::after { transform: translateY(4px) rotate(38deg); }

/* ---------- 丸いボタン（先輩たちを知る → など） ----------
   使い方：SWELLボタンブロックに追加CSSクラス「nu-more」 */
.nu-more .swell-block-button__link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 345px;
  max-width: 100%;
  min-height: 90px;
  margin: 35px auto 0;
  border: 1px solid var(--nu-black);
  border-radius: 999px;
  background: #fff !important;
  color: var(--nu-black) !important;
  box-shadow: none !important;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-weight: 500;
}
.nu-more .swell-block-button__link::after {
  content: "→";
  width: 30px;
  height: 30px;
  border: 1px solid var(--nu-black);
  border-radius: 50%;
  background: var(--nu-hover);
  font-size: 14px;
  line-height: 28px;
  text-align: center;
}
.nu-more .swell-block-button__link:hover { background: var(--nu-hover) !important; }
.nu-more .swell-block-button__link:hover::after { background: #fff; }

/* ---------- スマホ（959px以下） ---------- */
@media (max-width: 959px) {
  .nu-heading { margin-bottom: 45px; }
  .nu-heading h2 { font-size: 26px; }

  .nu-cards .p-postList { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nu-cards .p-postList__item { padding: 20px 12px 18px !important; }
  .nu-cards .p-postList__item:nth-child(5n+1) { border-left: 1px dashed var(--nu-black); }
  .nu-cards .p-postList__item:nth-child(-n+5) { border-top: 1px dashed var(--nu-black); }
  .nu-cards .p-postList__item:nth-child(odd) { border-left: none; }
  .nu-cards .p-postList__item:nth-child(-n+2) { border-top: none; }
  .nu-cards .c-postThumb__cat {
    padding: 4px 8px;
    font-size: 13px;
    white-space: normal;
  }

  .nu-textlist .p-postList { grid-template-columns: 1fr; }
  .nu-callout { font-size: 16px; gap: 12px; }
}

