/* ===========================
   みずほ厚生センター — メインCSS（リニューアル版）
   =========================== */

/* ---------- CSS変数 ---------- */
:root {
  --mint:         #2BC9A4;
  --mint-dark:    #1DA085;
  --mint-light:   #E4F9F4;
  --mint-pale:    #F2FCFA;
  --coral:        #F4799A;
  --coral-dark:   #D95F80;
  --coral-light:  #FEF0F5;
  --purple:       #9B85D4;
  --purple-light: #F0ECFC;
  --yellow:       #F9C846;
  --yellow-light: #FEF8E7;
  --bg:           #F8FFFE;
  --white:        #FFFFFF;
  --text:         #2D3748;
  --text-light:   #718096;
  --border:       #D5F0EA;
  --shadow:       0 4px 24px rgba(43,201,164,0.13);
  --shadow-hover: 0 14px 44px rgba(43,201,164,0.26);
  --radius:       20px;
  --radius-sm:    12px;
  --radius-lg:    36px;
  --transition:   0.25s ease;
  /* 後方互換 */
  --green:        #2BC9A4;
  --green-dark:   #1DA085;
  --green-light:  #E4F9F4;
  --accent:       #F4799A;
  --accent-light: #FEF0F5;
}

/* ---------- リセット・ベース ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- タイポグラフィ ---------- */
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mint-dark);
  font-weight: 700;
  margin-bottom: 0.6rem;
  background: var(--mint-light);
  padding: 4px 14px;
  border-radius: 50px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.35;
  color: var(--text);
}
.section-title span { color: var(--mint); }
.section-sub {
  margin-top: 0.75rem;
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ---------- レイアウト ---------- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--bg { background: var(--mint-pale); }
.section--dark { background: var(--mint-dark); color: var(--white); }
.section-head { text-align: center; margin-bottom: 56px; }

/* ---------- ウェーブ区切り ---------- */
.wave-top {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-top: -1px;
}
.wave-top svg { display: block; width: 100%; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--mint-light);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(43,201,164,0.15); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.header-logo { display: flex; flex-direction: row; align-items: center; gap: 10px; text-decoration: none; }
.header-logo-img { height: 44px; width: 44px; object-fit: contain; flex-shrink: 0; }
.header-logo-text { display: flex; flex-direction: column; gap: 2px; }
.header-logo .tagline {
  font-size: 0.65rem;
  color: var(--mint);
  letter-spacing: 0.15em;
  font-weight: 600;
}
.header-logo .name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--mint-dark);
  line-height: 1.2;
}
.header-logo .name small {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 0.05em;
}
/* ---------- 文字サイズ切替 ---------- */
.font-size-ctrl {
  display: flex;
  gap: 3px;
  align-items: center;
  margin-right: 8px;
}
.font-size-btn {
  background: var(--mint-light);
  color: var(--mint-dark);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 800;
  line-height: 1;
  padding: 5px 9px;
  transition: all var(--transition);
}
.font-size-btn:hover  { background: var(--mint); color: #fff; border-color: var(--mint); }
.font-size-btn.active { background: var(--mint); color: #fff; border-color: var(--mint); }
.font-size-btn.fsz-s  { font-size: 0.7rem; }
.font-size-btn.fsz-m  { font-size: 0.82rem; }
.font-size-btn.fsz-l  { font-size: 0.95rem; }

.global-nav ul { display: flex; gap: 4px; align-items: center; }
.global-nav a {
  display: block;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  border-radius: 50px;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.global-nav a:hover { background: var(--mint-light); color: var(--mint-dark); }
.global-nav .nav-contact a {
  background: var(--coral);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 50px;
}
.global-nav .nav-contact a:hover { background: var(--coral-dark); transform: translateY(-1px); }

/* ---------- ハンバーガー ---------- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  background: var(--mint-light);
  border: none;
  border-radius: 50%;
  padding: 8px;
  align-items: center;
  justify-content: center;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 18px;
  background: var(--mint-dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* モバイルナビ */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 2px solid var(--mint-light);
  z-index: 99;
  box-shadow: 0 8px 32px rgba(43,201,164,0.15);
}
.mobile-nav.open { display: block; }
.mobile-nav ul { padding: 12px 0; }
.mobile-nav li a {
  display: block;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.mobile-nav li:last-child a { border-bottom: none; }
.mobile-nav li a:hover { background: var(--mint-light); color: var(--mint-dark); }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-slider { position: absolute; inset: 0; }

@keyframes kb1 {
  from { transform: scale(1)    translate(0%,   0%);   }
  to   { transform: scale(1.12) translate(-2%,  -1%);  }
}
@keyframes kb2 {
  from { transform: scale(1.05) translate(1%,   0%);   }
  to   { transform: scale(1.14) translate(-1.5%,-1.5%);}
}
@keyframes kb3 {
  from { transform: scale(1)    translate(-1%,  0%);   }
  to   { transform: scale(1.13) translate(2%,   -1%);  }
}
@keyframes kb4 {
  from { transform: scale(1.06) translate(0%,   -1%);  }
  to   { transform: scale(1.14) translate(-2%,   1%);  }
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  background-size: cover;
  background-position: center;
  transform-origin: center center;
}
.hero-slide.active { opacity: 1; }
.hero-slide:nth-child(1).active { animation: kb1 8s ease-out forwards; }
.hero-slide:nth-child(2).active { animation: kb2 8s ease-out forwards; }
.hero-slide:nth-child(3).active { animation: kb3 8s ease-out forwards; }
.hero-slide:nth-child(4).active { animation: kb4 8s ease-out forwards; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,60,50,0.82) 0%,
    rgba(29,160,133,0.72) 50%,
    rgba(10,40,60,0.68) 100%
  );
}

/* 装飾サークル */
@keyframes float1 { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-18px) scale(1.04); } }
@keyframes float2 { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-12px) rotate(8deg); } }
@keyframes float3 { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(14px) scale(0.96); } }

.hero-circles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.hc {
  position: absolute;
  border-radius: 50%;
}
.hc1 {
  width: 320px; height: 320px;
  background: rgba(43,201,164,0.22);
  top: -100px; left: -80px;
  animation: float1 7s ease-in-out infinite;
}
.hc2 {
  width: 180px; height: 180px;
  border: 4px solid rgba(244,121,154,0.45);
  top: 12%; right: 6%;
  animation: float2 9s ease-in-out infinite;
}
.hc3 {
  width: 110px; height: 110px;
  background: rgba(155,133,212,0.25);
  bottom: 18%; left: 8%;
  animation: float3 8s ease-in-out infinite;
}
.hc4 {
  width: 70px; height: 70px;
  background: rgba(249,200,70,0.35);
  bottom: 28%; right: 12%;
  animation: float1 6s ease-in-out infinite 1s;
}
.hc5 {
  width: 240px; height: 240px;
  background: rgba(244,121,154,0.12);
  bottom: -60px; right: -40px;
  animation: float3 10s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding-top: 72px;
}
.hero-tagline {
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  margin-bottom: 1rem;
  opacity: 0.9;
  font-weight: 400;
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.65), 0 4px 28px rgba(0,0,0,0.45);
}
.hero-title span { display: block; }
.hero-sub {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  opacity: 0.95;
  max-width: 480px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  border: none;
}
.hero-dot.active { background: var(--white); transform: scale(1.4); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--coral);
  color: var(--white);
  border-color: var(--coral);
  box-shadow: 0 4px 16px rgba(244,121,154,0.35);
}
.btn-primary:hover { background: var(--coral-dark); border-color: var(--coral-dark); transform: translateY(-3px); box-shadow: 0 8px 28px rgba(244,121,154,0.45); }
.btn-outline {
  background: rgba(255,255,255,0.18);
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
  backdrop-filter: blur(4px);
}
.btn-outline:hover { background: rgba(255,255,255,0.28); transform: translateY(-2px); }
.btn-green {
  background: var(--mint);
  color: var(--white);
  border-color: var(--mint);
  box-shadow: 0 4px 16px rgba(43,201,164,0.3);
}
.btn-green:hover { background: var(--mint-dark); border-color: var(--mint-dark); transform: translateY(-3px); }
.btn-sm { padding: 9px 20px; font-size: 0.82rem; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ---------- お知らせ速報バー ---------- */
.news-bar {
  background: var(--white);
  border-bottom: 2px solid var(--mint-light);
  padding: 12px 0;
}
.news-bar-inner { display: flex; align-items: center; gap: 16px; }
.news-badge {
  background: var(--coral);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  white-space: nowrap;
  flex-shrink: 0;
}
.news-bar-text { font-size: 0.88rem; color: var(--text); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.news-bar-text a:hover { color: var(--mint-dark); text-decoration: underline; }
.news-bar-more { font-size: 0.8rem; color: var(--mint); font-weight: 600; white-space: nowrap; margin-left: auto; flex-shrink: 0; }
.news-bar-more:hover { text-decoration: underline; }

/* ---------- 事業カテゴリ ---------- */
.service-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-cat {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-cat:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.service-cat-img { width: 100%; height: 200px; object-fit: cover; object-position: center top; }
.service-cat-body { padding: 28px; }
.service-cat-icon {
  width: 52px; height: 52px;
  background: var(--mint-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.service-cat-icon svg { width: 26px; height: 26px; color: var(--mint); }
.service-cat-title { font-size: 1.1rem; font-weight: 800; color: var(--mint-dark); margin-bottom: 8px; }
.service-cat-desc { font-size: 0.88rem; color: var(--text-light); line-height: 1.7; margin-bottom: 16px; }
.service-cat-list { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.service-tag {
  background: var(--mint-light);
  color: var(--mint-dark);
  font-size: 0.72rem;
  padding: 4px 12px;
  border-radius: 50px;
  font-weight: 600;
}
.service-cat-link { font-size: 0.85rem; font-weight: 700; color: var(--mint); display: flex; align-items: center; gap: 6px; }
.service-cat-link:hover { color: var(--coral); text-decoration: underline; }
.service-cat-link svg { width: 14px; height: 14px; }

/* 事業カテゴリごとのアクセントカラー */
.service-cat:nth-child(1) .service-cat-icon { background: var(--mint-light); }
.service-cat:nth-child(1) .service-cat-icon svg { color: var(--mint); }
.service-cat:nth-child(1) .service-cat-title { color: var(--mint-dark); }
.service-cat:nth-child(2) .service-cat-icon { background: var(--coral-light); }
.service-cat:nth-child(2) .service-cat-icon svg { color: var(--coral); }
.service-cat:nth-child(2) .service-cat-title { color: var(--coral-dark); }
.service-cat:nth-child(2) .service-tag { background: var(--coral-light); color: var(--coral-dark); }
.service-cat:nth-child(2) .service-cat-link { color: var(--coral); }
.service-cat:nth-child(3) .service-cat-icon { background: var(--purple-light); }
.service-cat:nth-child(3) .service-cat-icon svg { color: var(--purple); }
.service-cat:nth-child(3) .service-cat-title { color: var(--purple); }
.service-cat:nth-child(3) .service-tag { background: var(--purple-light); color: var(--purple); }
.service-cat:nth-child(3) .service-cat-link { color: var(--purple); }

/* ---------- 理念セクション ---------- */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.philosophy-card {
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.philosophy-card:nth-child(1) { background: rgba(43,201,164,0.18); border: 2px solid rgba(43,201,164,0.35); }
.philosophy-card:nth-child(2) { background: rgba(244,121,154,0.18); border: 2px solid rgba(244,121,154,0.35); }
.philosophy-card:nth-child(3) { background: rgba(155,133,212,0.18); border: 2px solid rgba(155,133,212,0.35); }
.philosophy-num {
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255,255,255,0.3);
  line-height: 1;
  margin-bottom: 8px;
}
.philosophy-title { font-size: 1.1rem; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.philosophy-text { font-size: 0.88rem; color: rgba(255,255,255,0.85); line-height: 1.8; }

/* ---------- アクセス・地図 ---------- */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.info-table { width: 100%; border-collapse: collapse; }
.info-table tr { border-bottom: 1px solid var(--border); }
.info-table th {
  width: 6em;
  padding: 14px 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--mint);
  vertical-align: top;
  white-space: nowrap;
}
.info-table td { padding: 14px 0 14px 16px; font-size: 0.92rem; color: var(--text); }
.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-frame iframe { display: block; width: 100%; height: 320px; border: none; }

/* ---------- 採用バナー ---------- */
.recruit-banner {
  background: linear-gradient(135deg, var(--coral) 0%, var(--purple) 100%);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.recruit-banner::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  top: -100px; right: -60px;
}
.recruit-banner::after {
  content: '';
  position: absolute;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  bottom: -40px; left: 30%;
}
.recruit-banner-text .label { font-size: 0.78rem; letter-spacing: 0.2em; opacity: 0.85; margin-bottom: 8px; }
.recruit-banner-text h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: 12px; }
.recruit-banner-text p { font-size: 0.9rem; opacity: 0.9; max-width: 400px; }
.btn-white {
  background: var(--white);
  color: var(--coral);
  border-color: var(--white);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.btn-white:hover { background: rgba(255,255,255,0.9); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }

/* ---------- お知らせ ---------- */
.news-list { display: flex; flex-direction: column; gap: 0; }
.news-item {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.news-item:first-child { border-top: 1px solid var(--border); }
.news-date { font-size: 0.82rem; color: var(--text-light); white-space: nowrap; flex-shrink: 0; }
.news-cat {
  background: var(--mint-light);
  color: var(--mint-dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 50px;
  white-space: nowrap;
  flex-shrink: 0;
}
.news-title { font-size: 0.92rem; color: var(--text); }
.news-title a:hover { color: var(--mint); text-decoration: underline; }

/* ---------- ショートステイ空き ---------- */
.vacancy-card {
  background: var(--white);
  border: 3px solid var(--mint);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.vacancy-card h3 { font-size: 1rem; color: var(--mint-dark); margin-bottom: 12px; font-weight: 700; }
.vacancy-status { font-size: 1.8rem; font-weight: 800; color: var(--mint); }

/* ---------- Instagram ---------- */
.insta-account-link { display: inline-flex; align-items: center; gap: 6px; color: var(--mint); font-weight: 700; }
.insta-account-link:hover { text-decoration: underline; }
.insta-account-link svg { flex-shrink: 0; }
.insta-embed-wrap { width: 100%; }
.insta-embed-wrap iframe,
.insta-embed-wrap .lightwidget-widget { width: 100% !important; border-radius: var(--radius); overflow: hidden; }
.insta-placeholder {
  background: var(--white);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 64px 24px;
}
.insta-placeholder-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--text-light); text-align: center; }
.insta-placeholder-inner svg { color: var(--mint); opacity: 0.5; }
.insta-placeholder-inner p { font-size: 1rem; font-weight: 700; color: var(--text); }
.insta-placeholder-inner small { font-size: 0.82rem; }

/* ---------- フッター ---------- */
.site-footer {
  background: #0f2d28;
  color: rgba(255,255,255,0.8);
  padding: 64px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-logo .name { font-size: 1.1rem; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.footer-logo .tagline { font-size: 0.75rem; color: var(--mint); letter-spacing: 0.1em; margin-bottom: 16px; }
.footer-info { font-size: 0.82rem; line-height: 2; color: rgba(255,255,255,0.6); }
.footer-nav-title { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--mint); margin-bottom: 14px; }
.footer-nav li { margin-bottom: 8px; }
.footer-nav a { font-size: 0.85rem; color: rgba(255,255,255,0.65); transition: color var(--transition); }
.footer-nav a:hover { color: var(--mint); }
.footer-bottom {
  border-top: 1px solid rgba(43,201,164,0.2);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}

/* ---------- ユーティリティ ---------- */
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

/* ---------- アニメーション ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ---------- ページヘッダー ---------- */
.page-header {
  background: linear-gradient(135deg, var(--mint-dark) 0%, var(--mint) 60%, #4DD9B8 100%);
  color: var(--white);
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  width: 350px; height: 350px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  top: -120px; right: -60px;
}
.page-header::after {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(244,121,154,0.18);
  bottom: -60px; left: 5%;
}
.page-header h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; position: relative; z-index: 1; }
.page-header .breadcrumb { margin-top: 16px; font-size: 0.82rem; opacity: 0.8; position: relative; z-index: 1; }
.page-header .breadcrumb a { color: inherit; }
.page-header .breadcrumb a:hover { text-decoration: underline; }
.page-header .breadcrumb span { margin: 0 8px; opacity: 0.6; }

/* ---------- タイムライン ---------- */
.schedule-list {
  position: relative;
  padding-left: 80px;
  max-width: 760px;
  margin: 0 auto;
}
.schedule-list::before {
  content: '';
  position: absolute;
  left: 40px;
  top: 24px; bottom: 24px;
  width: 3px;
  background: var(--mint-light);
  border-radius: 2px;
}
.schedule-item {
  position: relative;
  margin-bottom: 40px;
  display: flex;
  gap: 24px;
}
.schedule-item::before {
  content: '';
  position: absolute;
  left: -46px;
  top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--mint);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--mint-light);
}
.schedule-time { font-size: 1.1rem; font-weight: 800; color: var(--mint); white-space: nowrap; min-width: 3.5em; padding-top: 2px; }
.schedule-body { flex: 1; }
.schedule-step { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.schedule-text { font-size: 0.9rem; color: var(--text-light); line-height: 1.8; }
@media (max-width: 640px) {
  .schedule-list { padding-left: 56px; }
  .schedule-list::before { left: 24px; }
  .schedule-item::before { left: -38px; }
  .schedule-item { gap: 16px; }
  .schedule-time { font-size: 0.95rem; min-width: 3em; }
}

/* ---------- 事業所カード ---------- */
.facility-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.facility-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 4px solid var(--mint);
}
.facility-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.facility-card img { width: 100%; height: 180px; object-fit: cover; }
.facility-card-body { padding: 20px; }
.facility-card-title { font-size: 1rem; font-weight: 800; color: var(--mint-dark); margin-bottom: 8px; }
.facility-card-desc { font-size: 0.85rem; color: var(--text-light); margin-bottom: 14px; line-height: 1.7; }
.facility-card-link { font-size: 0.85rem; font-weight: 700; color: var(--mint); }
.facility-card-link:hover { color: var(--coral); text-decoration: underline; }

/* ---------- 概要テキスト ---------- */
.content-section { max-width: 800px; margin: 0 auto; }
.content-section p { margin-bottom: 1.4em; line-height: 1.9; font-size: 0.95rem; }
.lead-text {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--mint-dark);
  border-left: 5px solid var(--mint);
  padding-left: 16px;
  margin-bottom: 32px;
  background: var(--mint-pale);
  padding: 14px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ---------- 採用 ---------- */
.recruit-tabs { display: flex; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; }
.recruit-tab {
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  background: var(--white);
  border: 2px solid var(--border);
  color: var(--text-light);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.recruit-tab.active, .recruit-tab:hover { background: var(--mint); border-color: var(--mint); color: var(--white); }
.recruit-detail-table { width: 100%; border-collapse: collapse; }
.recruit-detail-table tr { border-bottom: 1px solid var(--border); }
.recruit-detail-table th { width: 8em; padding: 16px 0; font-size: 0.88rem; font-weight: 700; color: var(--mint); vertical-align: top; white-space: nowrap; }
.recruit-detail-table td { padding: 16px 0 16px 20px; font-size: 0.92rem; color: var(--text); line-height: 1.8; }

/* ---------- お問い合わせフォーム ---------- */
.contact-form { max-width: 640px; margin: 0 auto; }
.form-group { margin-bottom: 24px; }
.form-label { display: block; font-size: 0.88rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.form-label .required { color: var(--coral); font-size: 0.75rem; margin-left: 6px; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 13px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(43,201,164,0.15);
}
.form-textarea { resize: vertical; min-height: 140px; }
.form-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--mint) 0%, var(--mint-dark) 100%);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
  box-shadow: 0 4px 16px rgba(43,201,164,0.35);
}
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(43,201,164,0.45); }
.privacy-check { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; color: var(--text-light); cursor: pointer; }
.privacy-check input { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; accent-color: var(--mint); }

/* ========== レスポンシブ ========== */
@media (max-width: 960px) {
  .global-nav { display: none; }
  .hamburger { display: flex; }
  .service-categories { grid-template-columns: 1fr; gap: 20px; }
  .philosophy-grid { grid-template-columns: 1fr; gap: 16px; }
  .info-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .recruit-banner { flex-direction: column; text-align: center; padding: 40px 28px; }
}
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 40px; }
  .hero-title { font-size: 2rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .news-item { flex-wrap: wrap; gap: 8px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .header-inner { height: 60px; }
  .hero { padding-top: 60px; }
  .page-header { padding: 96px 0 48px; }
  .info-table th { width: 5em; }
  .hc1 { width: 180px; height: 180px; }
  .hc2 { width: 100px; height: 100px; }
  .hc5 { display: none; }
}
