/* ============================================================
   聖路加ICU リクルートサイト
   デザイン言語：クリーム地 × ロイヤルブルー（ロゴ色）× 黄（ロゴ色）
   波形区切り・丸ゴシック見出し・英語小ラベル
   ============================================================ */

:root {
  --cream: #F7F4EC;
  --white: #FFFFFF;
  --pale: #EDF2FA;
  --blue: #1E3E96;        /* ロゴのロイヤルブルー */
  --blue-deep: #142B69;   /* フッター・濃色帯 */
  --yellow: #F2C43D;      /* ロゴの黄 */
  --ink: #2E3A48;
  --muted: #75808F;
  --line: #E3DFD4;
  --radius: 18px;
  --maxw: 1080px;
  --font-head: 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', sans-serif;
  --font-body: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', meiryo, sans-serif;
  --font-latin: 'Quicksand', 'Zen Maru Gothic', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 2;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 日本語の改行位置：文節単位で折り返し、行末の泣き別れを防ぐ。
   auto-phrase 非対応ブラウザは既定の禁則処理にフォールバックする。 */
p, h1, h2, h3, li, td, th, blockquote, figcaption, .sec-lead, .hero-sub {
  word-break: auto-phrase;
  line-break: strict;
  overflow-wrap: anywhere;
}
h1, h2, h3, .sec-title, .hero-title, .cta-title { text-wrap: balance; }
p, li, blockquote { text-wrap: pretty; }

img { max-width: 100%; display: block; }
a { color: inherit; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(247, 244, 236, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(227, 223, 212, 0.6);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--blue);
  line-height: 1.35;
}
.brand-name small {
  display: block;
  font-size: 0.66rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.global-nav { margin-left: auto; }
.global-nav ul {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}
.global-nav a {
  font-size: 0.86rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  transition: color 0.2s;
}
.global-nav a:hover { color: var(--blue); }
.nav-cta {
  display: inline-block;
  background: var(--blue);
  color: #fff !important;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 999px;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--blue-deep); transform: translateY(-1px); }

/* モバイルメニュー */
.menu-btn {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  border: none;
  background: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.menu-btn span {
  display: block;
  width: 24px; height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- セクション共通 ---------- */
.section { padding: 88px 0; }
.sec-label {
  font-family: var(--font-latin);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  color: var(--blue);
  text-transform: lowercase;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.sec-label::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
}
.sec-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  line-height: 1.7;
  color: var(--blue);
  margin-bottom: 14px;
}
/* 見出し下のスマイル弧（ロゴのモチーフ） */
.smile-under {
  width: 56px;
  margin: 6px 0 30px;
}
.sec-lead {
  font-size: 0.98rem;
  max-width: 640px;
  margin-bottom: 40px;
}
.note { font-size: 0.78rem; color: var(--muted); line-height: 1.9; }

/* 背景バリエーション */
.bg-white { background: var(--white); }
.bg-pale { background: var(--pale); }
.bg-cream { background: var(--cream); }

/* 波形区切り */
.wave { display: block; width: 100%; height: 70px; }
.wave svg { display: block; width: 100%; height: 100%; }

/* ---------- ヒーロー ---------- */
.hero {
  padding: 160px 0 40px;
  position: relative;
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 48px;
}
.hero-text { flex: 1.2; }
.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 18px;
  margin-bottom: 26px;
}
.hero-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.75rem, 4.6vw, 2.9rem);
  line-height: 1.75;
  color: var(--blue);
  margin-bottom: 24px;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(transparent 68%, rgba(242, 196, 61, 0.55) 68%);
}
.hero-sub {
  font-size: 0.98rem;
  max-width: 520px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 999px;
  padding: 15px 34px;
  transition: transform 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 6px 18px rgba(30, 62, 150, 0.25);
}
.btn-primary:hover { background: var(--blue-deep); transform: translateY(-2px); }
.btn-ghost {
  background: #fff;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-ghost:hover { background: var(--pale); transform: translateY(-2px); }

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}
/* スナップ写真（白フチ＋テープ） */
.snap {
  position: relative;
  margin: 0;
  background: #fff;
  padding: 10px 10px 12px;
  border-radius: 5px;
  box-shadow: 0 12px 28px rgba(30, 62, 150, 0.16);
}
.snap img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 3px;
}
.snap::before {
  content: "";
  position: absolute;
  top: -11px;
  left: 50%;
  width: 78px;
  height: 24px;
  transform: translateX(-50%) rotate(-4deg);
  background: rgba(242, 196, 61, 0.72);
  border-radius: 2px;
  z-index: 1;
}
.snap-cap {
  font-family: var(--font-head);
  font-size: 0.74rem;
  color: var(--muted);
  text-align: center;
  margin-top: 8px;
  line-height: 1.6;
}
.snap-tilt-l { transform: rotate(-2deg); }
.snap-tilt-r { transform: rotate(2deg); }

/* 見出しの横に写真を添える2カラム。
   テープが上に突き出る分だけ写真を下げ、見出しの開始位置を揃える。 */
.head-with-photo {
  display: flex;
  align-items: stretch;   /* 写真をテキスト列の高さに合わせ、両列の下端を揃える */
  gap: 48px;
  margin-bottom: 30px;
}
.head-with-photo > div { flex: 1.15; }
.head-with-photo > div .sec-lead { margin-bottom: 0; }
.head-with-photo .snap {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: 400px;
  margin-top: 14px;   /* テープの突き出し分 */
}
.head-with-photo .snap img {
  flex: 1;
  aspect-ratio: auto;
  min-height: 210px;
  object-fit: cover;
}

.hero-logo {
  width: min(300px, 60vw);
  height: auto;
  border-radius: 50%;
  filter: drop-shadow(0 16px 36px rgba(30, 62, 150, 0.22));
}

/* ---------- メッセージ ---------- */
.message-flex {
  display: flex;
  align-items: center;
  gap: 52px;
}
.message-photo {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px 0;
}
.message-photo .snap { width: min(400px, 100%); }
.message-photo img {
  aspect-ratio: 4 / 3.6;
  object-fit: cover;
}
.message-flex .message-block { flex: 1.2; }
.message-copy {
  font-family: var(--font-head);
  font-size: clamp(0.92rem, 1.7vw, 1.05rem);
  font-weight: 500;
  line-height: 2.2;
  color: var(--ink);
}
.message-copy strong { color: var(--blue); font-weight: 700; }
.message-copy + .message-copy { margin-top: 26px; }

/* ---------- 数字で見るICU ---------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 48px;
}
.stat-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px 20px 22px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(30, 62, 150, 0.07);
}
.stat-value {
  font-family: var(--font-latin);
  font-weight: 700;
  font-size: 2.1rem;
  line-height: 1.2;
  color: var(--blue);
}
.stat-value small { font-size: 1rem; font-weight: 700; margin-left: 2px; }
.stat-name {
  font-weight: 700;
  font-size: 0.88rem;
  margin-top: 6px;
  line-height: 1.6;
}
.stat-ref {
  font-size: 0.74rem;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.6;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: 0 4px 16px rgba(30, 62, 150, 0.07);
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature-icon svg { width: 26px; height: 26px; stroke: var(--blue); }
.feature-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--blue);
  line-height: 1.7;
  margin-bottom: 10px;
}
.feature-card p { font-size: 0.88rem; line-height: 2; }

/* ---------- 選択ローテーション ---------- */
.el-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 22px;
}
.el-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: 0 4px 16px rgba(30, 62, 150, 0.07);
}
.el-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--blue);
  line-height: 1.7;
  margin-bottom: 12px;
}
.el-card p { font-size: 0.9rem; }
.el-hours {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: 0 4px 16px rgba(30, 62, 150, 0.07);
}
.el-hours h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--blue);
  margin-bottom: 16px;
}
.table-scroll { overflow-x: auto; margin-bottom: 14px; }
.el-table {
  width: 100%;
  min-width: 460px;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.el-table td, .el-table th { white-space: nowrap; }
.el-table th {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--blue);
  background: var(--pale);
  padding: 9px 14px;
  text-align: center;
}
.el-table th:first-child { border-radius: 8px 0 0 8px; }
.el-table th:last-child { border-radius: 0 8px 8px 0; }
.el-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  line-height: 1.7;
  text-align: center;
}
.el-table tr:last-child td { border-bottom: none; }

/* 週間シフト表 */
.shift-block { margin-bottom: 22px; overflow-x: auto; }
.shift-cap {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--ink);
  margin-bottom: 8px;
}
.shift-table {
  width: 100%;
  min-width: 520px;
  border-collapse: separate;
  border-spacing: 3px;
  font-size: 0.82rem;
  text-align: center;
}
.shift-table thead th {
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  padding: 7px 4px;
  border-radius: 5px;
}
.shift-table thead th:first-child { background: transparent; }
.shift-table tbody th {
  background: var(--pale);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.78rem;
  text-align: left;
  padding: 9px 12px;
  border-radius: 5px;
  white-space: nowrap;
}
.shift-table tbody th span {
  display: block;
  font-weight: 400;
  font-size: 0.7rem;
  color: var(--muted);
}
.shift-table td {
  padding: 9px 4px;
  color: var(--muted);
  border-radius: 5px;
  background: #FBFAF7;
}
.shift-table td.on {
  background: var(--yellow);
  color: var(--blue-deep);
  font-weight: 700;
}

/* ---------- 先輩の声 ---------- */
.voice-hero {
  position: relative;
  background: var(--blue);
  color: #fff;
  border-radius: var(--radius);
  padding: 44px 56px 44px 96px;
  margin-bottom: 26px;
}
.voice-hero::before {
  content: "\201C";
  position: absolute;
  left: 36px;
  top: 18px;
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--yellow);
}
.voice-hero blockquote {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(1.02rem, 2vw, 1.24rem);
  line-height: 2.1;
}
.voice-hero em {
  font-style: normal;
  font-weight: 700;
  color: var(--yellow);
}

/* 付箋ウォール（テープで貼った紙のイメージ） */
.voice-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 30px 20px;
}
.voice-note {
  position: relative;
  display: flex;
  align-items: center;      /* 文章量が違っても縦中央 */
  justify-content: center;
  text-align: center;       /* 横も中央 */
  background: #fff;
  border-radius: 4px;
  padding: 30px 24px 26px;
  box-shadow: 0 8px 20px rgba(30, 62, 150, 0.12);
}
.voice-note::before {
  content: "";
  position: absolute;
  top: -9px;
  left: calc(50% - 34px);
  width: 68px;
  height: 20px;
  background: rgba(242, 196, 61, 0.75);
  border-radius: 2px;
}
.voice-note p { font-size: 0.87rem; line-height: 2; }
.voice-note.n1 { transform: rotate(-1.2deg); }
.voice-note.n2 { transform: rotate(0.9deg); }
.voice-note.n3 { transform: rotate(-0.6deg); }
.voice-note.n4 { transform: rotate(1.3deg); }
.voice-note.n5 { transform: rotate(-1deg); }

/* ---------- スタッフ一覧 ---------- */
.staff-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 34px 32px;
  box-shadow: 0 4px 16px rgba(30, 62, 150, 0.07);
  margin-bottom: 22px;
}
.staff-card > h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--blue);
  margin-bottom: 10px;
}
.staff-lead {
  font-size: 0.9rem;
  margin-bottom: 18px;
}
.staff-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}
.staff-list li {
  background: var(--pale);
  border-radius: 12px;
  padding: 14px 18px;
}
.staff-name {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--blue);
  line-height: 1.6;
}
.staff-meta {
  display: block;
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- 志望科別タブ ---------- */
.fy-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.fy-tab {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--blue);
  background: #fff;
  border: 2px solid var(--blue);
  border-radius: 999px;
  padding: 9px 22px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.fy-tab:hover { background: var(--pale); }
.fy-tab.is-active {
  background: var(--blue);
  color: #fff;
}
.fy-panel {
  background: var(--pale);
  border-radius: var(--radius);
  padding: 26px 30px;
}
.fy-panel h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--blue);
  line-height: 1.7;
  margin-bottom: 10px;
}
.fy-panel p { font-size: 0.92rem; }
.fy-panel p + p { margin-top: 14px; }
.fy-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 4px 0 20px;
}
.fy-stat {
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px 12px;
  text-align: center;
}
.fy-val {
  display: block;
  font-family: var(--font-latin);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--blue);
  line-height: 1.2;
}
.fy-val span {
  font-family: var(--font-body);
  font-size: 0.8rem;
  margin-left: 2px;
}
.fy-lbl {
  display: block;
  font-size: 0.74rem;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 4px;
}

/* ---------- 教育 ---------- */
.edu-passport {
  display: flex;
  align-items: center;
  gap: 34px;
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 34px;
  box-shadow: 0 4px 16px rgba(30, 62, 150, 0.07);
  margin-bottom: 22px;
}
.edu-pass-text { flex: 1.15; }
.edu-pass-text h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--blue);
  margin-bottom: 6px;
}
.edu-pass-text .en {
  font-family: var(--font-latin);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  color: var(--muted);
  display: block;
  margin-bottom: 16px;
}
.edu-pass-text > p { font-size: 0.9rem; margin-bottom: 16px; }
.lecture-line {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 2.1;
  border-top: 1px dashed var(--line);
  padding-top: 14px;
  margin-bottom: 0 !important;
}
.lecture-line strong { color: var(--blue); }
.edu-pass-photo { flex: 1; }
.edu-pass-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(30, 62, 150, 0.12);
}
.pack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 44px;
}
.pack-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: 0 4px 16px rgba(30, 62, 150, 0.07);
}
.pack-card strong {
  display: block;
  font-family: var(--font-head);
  color: var(--blue);
  font-size: 1rem;
  margin-bottom: 8px;
}
.pack-card p { font-size: 0.86rem; line-height: 1.9; }

.goal-card {
  background: var(--blue);
  color: #fff;
  border-radius: var(--radius);
  padding: 36px 34px;
  margin-bottom: 22px;
}
.goal-card h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  margin-bottom: 4px;
}
.goal-card .en {
  font-family: var(--font-latin);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.65);
  display: block;
  margin-bottom: 20px;
}
.goal-list { list-style: none; display: grid; gap: 10px; }
.goal-list li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 0.92rem;
  line-height: 1.9;
}
.goal-num {
  font-family: var(--font-latin);
  font-weight: 700;
  color: var(--yellow);
  flex-shrink: 0;
}


/* ---------- 1日の流れ ---------- */
/* 日勤・夜勤の2カラム */
.day-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  /* align-items は既定の stretch。左右のカードの高さを揃える */
}
.day-col {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 30px;
}
/* 夜勤側は淡い青のトーンで、日勤と区別しつつ主張しすぎない */
.day-col.night {
  background: #E7EDF9;
  border-color: #CFDBF2;
}
.day-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.day-col.night .day-head { border-bottom-color: #CFDBF2; }
.day-kind {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--blue);
}
.day-col.night .day-kind { color: var(--blue-deep); }
.day-time {
  font-family: var(--font-latin);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--muted);
}
.day-col.night .timeline::before { background: #D3DEF3; }
.day-col.night .tl-item::before { border-color: #E7EDF9; }

.timeline {
  position: relative;
  padding-left: 30px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 7px; top: 8px; bottom: 8px;
  width: 3px;
  border-radius: 3px;
  background: var(--pale);
}
.tl-item { position: relative; padding: 0 0 30px 22px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -30px; top: 9px;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: var(--yellow);
  border: 4px solid #fff;
  box-shadow: 0 0 0 2px var(--yellow);
  box-sizing: border-box;
}
.tl-time {
  font-family: var(--font-latin);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--blue);
}
.tl-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--ink);
  margin: 2px 0 4px;
}
.tl-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.9; }
.tl-item.tl-off .tl-title { color: var(--blue); }

.weekly-note {
  margin: 26px 0 0;
  background: var(--pale);
  border-radius: var(--radius);
  padding: 22px 26px;
  font-size: 0.86rem;
}
.weekly-note strong { color: var(--blue); }

/* ICUの風景（流れるギャラリー） */
.gallery {
  margin-top: 56px;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
}
.gallery:active { cursor: grabbing; }
.gallery-track {
  display: flex;
  width: max-content;
}
.gallery-track { padding: 16px 0 20px; }
.gallery-track img {
  height: 210px;
  width: 280px;
  object-fit: cover;
  background: #fff;
  padding: 8px;
  border-radius: 5px;
  margin-right: 22px;
  box-shadow: 0 8px 20px rgba(30, 62, 150, 0.12);
}
.gallery-track img:nth-child(odd) { transform: rotate(-1.4deg); }
.gallery-track img:nth-child(even) { transform: rotate(1.4deg); }
@media (prefers-reduced-motion: reduce) {
  .gallery { overflow-x: auto; }
}

/* 礼拝堂の写真バンド */
.photo-band {
  position: relative;
  height: min(48vw, 440px);
  overflow: hidden;
}
.photo-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-band figcaption {
  position: absolute;
  right: 16px;
  bottom: 92px;
  background: rgba(20, 43, 105, 0.55);
  color: #fff;
  font-size: 0.72rem;
  padding: 4px 14px;
  border-radius: 999px;
}
.wave-overlay {
  margin-top: -70px;
  position: relative;
}

/* ---------- 働き方・文化 ---------- */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.culture-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: 0 4px 16px rgba(30, 62, 150, 0.07);
}
.culture-card h3 {
  font-family: var(--font-head);
  font-size: 1.02rem;
  color: var(--blue);
  line-height: 1.8;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 2px dashed var(--line);
}
.culture-card p { font-size: 0.86rem; line-height: 2; }

/* ---------- チーム ---------- */
.chief-block {
  display: flex;
  gap: 36px;
  align-items: center;
  background: #fff;
  border-radius: var(--radius);
  padding: 40px 38px;
  box-shadow: 0 4px 16px rgba(30, 62, 150, 0.07);
  margin-bottom: 44px;
}
.chief-mark {
  flex-shrink: 0;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--pale);
  display: flex;
  align-items: center;
  justify-content: center;
}
.chief-mark img { width: 88px; border-radius: 50%; }
.chief-text h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--blue);
  margin-bottom: 10px;
}
.chief-text p { font-size: 0.92rem; margin-bottom: 10px; }
.chief-sign {
  font-size: 0.84rem;
  color: var(--muted);
  text-align: right;
}
.chief-sign strong { color: var(--ink); font-size: 0.95rem; }

.team-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.team-facts.single { grid-template-columns: 1fr; }
.team-fact {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: 0 4px 16px rgba(30, 62, 150, 0.07);
}
.team-fact h3 {
  font-family: var(--font-head);
  font-size: 1.02rem;
  color: var(--blue);
  margin-bottom: 12px;
}
.team-fact p { font-size: 0.88rem; }
.rotator-count {
  font-family: var(--font-latin);
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--blue);
  line-height: 1.2;
}
.rotator-count small { font-size: 1rem; margin-left: 4px; }
.rotator-list { margin: 18px 0 14px; }
.rotator-list > div {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
}
.rotator-list > div:last-child { border-bottom: none; }
.rotator-list dt { font-size: 0.86rem; }
.rotator-list dd {
  margin-left: auto;
  font-family: var(--font-latin);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--blue);
  line-height: 1;
}
.rotator-list dd span {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--muted);
  margin-left: 3px;
}

/* ---------- CTA ---------- */
.cta-band {
  background: var(--blue);
  color: #fff;
  text-align: center;
  padding: 90px 0 96px;
}
.cta-band .sec-label { justify-content: center; color: var(--yellow); }
.cta-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  line-height: 1.8;
  margin-bottom: 16px;
}
.cta-band p.cta-sub {
  font-size: 0.94rem;
  max-width: 560px;
  margin: 0 auto 36px;
  color: rgba(255, 255, 255, 0.88);
}
.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 26px;
}
.btn-yellow {
  background: var(--yellow);
  color: var(--blue-deep);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}
.btn-yellow:hover { background: #E8B722; transform: translateY(-2px); }
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.7);
}
.btn-outline-white:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }
.cta-guide {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.75);
}
.cta-guide a { color: var(--yellow); font-weight: 700; }

/* ---------- フッター ---------- */
.site-footer {
  background: var(--blue-deep);
  color: rgba(255, 255, 255, 0.85);
  padding: 52px 0 36px;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand img { width: 48px; border-radius: 50%; }
.footer-brand div {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.5;
}
.footer-brand small {
  display: block;
  font-weight: 400;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-sns {
  margin-left: auto;
  display: flex;
  gap: 14px;
  list-style: none;
}
.footer-sns a {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 7px 18px;
  transition: background 0.2s;
}
.footer-sns a:hover { background: rgba(255, 255, 255, 0.12); }
.footer-copy {
  width: 100%;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.9;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------- レスポンシブ ---------- */
/* ============================================================
   モバイル
   900px：レイアウトを1カラムに畳む
   480px：文字サイズ・余白を一段小さくする
   ============================================================ */
@media (max-width: 900px) {
  .section { padding: 64px 0; }
  .global-nav {
    position: fixed;
    top: 65px; left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    display: none;
    padding: 18px 24px 26px;
  }
  .global-nav.open { display: block; }
  .global-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .global-nav li { border-bottom: 1px dashed var(--line); }
  .global-nav li:last-child { border-bottom: none; padding-top: 16px; }
  .global-nav a { display: block; padding: 13px 4px; font-size: 0.95rem; }
  .nav-cta { text-align: center; }
  .menu-btn { display: flex; }

  .hero { padding-top: 116px; }
  .hero-inner { flex-direction: column-reverse; gap: 26px; }
  .hero-text { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-logo { width: min(190px, 48vw); }
  .hero-eyebrow { font-size: 0.72rem; padding: 6px 14px; letter-spacing: 0.06em; }

  .pc-only { display: none; }

  /* 1カラムに畳むもの */
  .feature-grid,
  .culture-grid,
  .pack-grid,
  .el-grid,
  .day-grid,
  .team-facts,
  .voice-wall { grid-template-columns: 1fr; }
  .voice-wall { grid-auto-rows: auto; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .message-flex { flex-direction: column; gap: 26px; }
  .message-flex .message-block { text-align: center; }
  .message-flex .sec-label { justify-content: center; }
  .message-flex .smile-under { margin-left: auto; margin-right: auto; }
  .message-photo { width: min(420px, 100%); }
  .message-photo img { aspect-ratio: 4 / 3.2; }

  .head-with-photo { flex-direction: column; gap: 22px; align-items: stretch; }
  .head-with-photo .snap { max-width: 100%; margin-top: 14px; }
  .head-with-photo .snap img { min-height: 0; aspect-ratio: 3 / 2; }
  .head-with-photo > div .sec-lead { margin-bottom: 0; }

  .edu-passport { flex-direction: column; }
  .fy-stats { grid-template-columns: 1fr; gap: 8px; }
  .fy-stat { display: flex; align-items: baseline; gap: 12px; text-align: left; }
  .fy-val { font-size: 1.3rem; }
  .fy-lbl { margin-top: 0; }   /* ラベルと全国値は <br> で2行のまま保つ */
  .chief-block { flex-direction: column; text-align: left; }
  .footer-sns { margin-left: 0; }

  .gallery { margin-top: 44px; }
  .gallery-track { padding: 12px 0 16px; }
  .gallery-track img { height: 150px; width: 200px; margin-right: 14px; }
  .photo-band { height: min(64vw, 320px); }
  .photo-band figcaption { bottom: 82px; }
}

@media (max-width: 480px) {
  body { font-size: 14px; line-height: 1.9; }
  .container { padding: 0 20px; }
  .section { padding: 52px 0; }
  .wave { height: 44px; }
  .wave-overlay { margin-top: -44px; }
  .photo-band figcaption { bottom: 56px; }

  /* 見出し・本文のサイズ */
  .hero { padding-top: 104px; }
  .hero-title { font-size: 1.5rem; line-height: 1.75; }
  .hero-sub { font-size: 0.88rem; margin-bottom: 28px; }
  .sec-title { font-size: 1.28rem; line-height: 1.7; }
  .sec-lead { font-size: 0.88rem; margin-bottom: 30px; }
  .smile-under { width: 46px; margin-bottom: 22px; }
  .sec-label { font-size: 0.76rem; letter-spacing: 0.18em; }
  .message-copy { line-height: 2.05; }
  .note { font-size: 0.74rem; }

  /* カード内の余白と文字 */
  .feature-card,
  .culture-card,
  .el-card,
  .pack-card,
  .team-fact { padding: 24px 20px; }
  .feature-card p,
  .culture-card p,
  .el-card p,
  .pack-card p,
  .fy-panel p,
  .team-fact p,
  .staff-lead,
  .chief-text p { font-size: 0.84rem; }
  .feature-card h3,
  .culture-card h3,
  .el-card h3,
  .fy-panel h3 { font-size: 0.98rem; }
  .chief-block { padding: 28px 20px; }
  .staff-card { padding: 26px 20px; }
  .el-hours { padding: 24px 20px; }
  .fy-panel { padding: 22px 18px; }
  .goal-card { padding: 28px 22px; }
  .goal-list li { font-size: 0.86rem; }
  .edu-passport { padding: 24px 20px; }
  .edu-pass-text > p, .lecture-line { font-size: 0.84rem; }
  .day-col { padding: 22px 18px 26px; }
  .weekly-note { padding: 18px 20px; font-size: 0.82rem; }
  /* モバイルでは引用符を本文の真上に置き、左端を揃える */
  .voice-hero { padding: 48px 22px 26px 22px; }
  .voice-hero::before { font-size: 2.6rem; line-height: 1; left: 20px; top: 10px; }
  .voice-hero blockquote { font-size: 0.92rem; line-height: 2; padding-top: 0; }
  .voice-note { padding: 26px 20px 22px; }
  .voice-note p { font-size: 0.83rem; }

  /* 数字カード */
  .stat-card { padding: 20px 12px 18px; }
  .stat-value { font-size: 1.5rem; }
  .stat-name { font-size: 0.82rem; }
  .stat-ref { font-size: 0.7rem; }
  .rotator-count { font-size: 2rem; }
  .rotator-list dt { font-size: 0.82rem; }

  /* タイムラインの字下げを詰める */
  .timeline { padding-left: 24px; }
  .tl-item { padding-left: 16px; padding-bottom: 24px; }
  .tl-item::before { left: -24px; width: 15px; height: 15px; }
  .tl-time { font-size: 0.95rem; }
  .tl-title { font-size: 0.92rem; }
  .tl-desc { font-size: 0.8rem; }

  /* 横スクロールする表は画面端まで伸ばし、続きがあることを見せる */
  .el-hours .table-scroll,
  .el-hours .shift-block {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .el-table { font-size: 0.82rem; }
  .shift-table { font-size: 0.78rem; }

  /* ボタンは全幅 */
  .btn { padding: 14px 26px; font-size: 0.9rem; width: 100%; }
  .hero-actions, .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-band { padding: 68px 0 72px; }
  .cta-title { font-size: 1.3rem; }
  .cta-band p.cta-sub { font-size: 0.88rem; }
  .fy-tab { font-size: 0.84rem; padding: 8px 18px; }
}

/* 強調（本文中の <strong>）はテーマ色で統一 */
.sec-lead strong, .fy-panel strong, .el-card strong, .culture-card strong,
.staff-lead strong, .message-copy strong, .team-fact strong { color: var(--blue); font-weight: 700; }
