/* ==============================
   ベース
============================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  color: #222;
  background: #f5f5f7;
  line-height: 1.7;
  font-size: 15px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #0066cc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* アクセントカラー（オレンジ） */
:root {
  --aisenkai-main: #ef8e29;
  --aisenkai-main-dark: #d97706;
}

/* ==============================
   ユーティリティ
============================== */

.section {
  padding: 56px 0;
}

.section-muted {
  background: #f0f2f5;
}

.section-recruit {
  background: linear-gradient(135deg, #f3f6ff, #fdfbff);
}

.section-header {
  text-align: center;
  margin-bottom: 32px;
}

.section-header.align-left {
  text-align: left;
}

.section-header-inline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 1.6rem;
  margin: 0 0 8px;
  letter-spacing: 0.08em;
}

.section-lead {
  margin: 0;
  color: #555;
  font-size: 0.95rem;
}

.section-label {
  color: #c05621;
  font-size: 0.85rem;
}

.sp-only {
  display: none;
}

.pc-only {
  display: inline;
}

/* ==============================
   ボタン
============================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.1s ease;
}

.btn-primary {
  background: var(--aisenkai-main);
  border-color: var(--aisenkai-main);
  color: #fff;
  box-shadow: 0 8px 16px rgba(239, 142, 41, 0.25);
}

.btn-primary:hover {
  background: var(--aisenkai-main-dark);
  border-color: var(--aisenkai-main-dark);
  text-decoration: none;
  transform: translateY(1px);
  box-shadow: 0 4px 10px rgba(239, 142, 41, 0.25);
}

.btn-outline {
  background: #fff;
  border-color: #d0d4da;
  color: #333;
}

.btn-outline:hover {
  background: #f4f5f7;
  text-decoration: none;
}

/* ==============================
   カード・グリッド
============================== */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.card {
  background: #fff;
  border-radius: 16px;
  padding: 20px 20px 22px;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

/* ==============================
   ヘッダー
============================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 16px;
}

/* ロゴ（テキストなし） */
.logo {
  display: flex;
  align-items: center;
}

.logo-image {
  width: 160px;
  height: auto;
}

/* ナビゲーション */

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
}

.site-nav a {
  color: #374151;
  text-decoration: none;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  border-bottom-color: var(--aisenkai-main);
}

.nav-has-sub {
  position: relative;
}

.nav-has-sub > .nav-sub {
  display: none;
  position: absolute;
  top: 32px;
  left: 0;
  min-width: 220px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.14);
  padding: 8px 0;
  list-style: none;
}

.nav-has-sub:hover > .nav-sub {
  display: block;
}

.nav-sub li a {
  display: block;
  padding: 8px 16px;
  border-bottom: none;
  font-size: 0.85rem;
}

.nav-sub li a:hover {
  background: #f3f4f6;
}

/* スマホ用トグル */

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  width: 24px;
  height: 24px;
  position: relative;
  cursor: pointer;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #111827;
  content: "";
  transition:
    transform 0.2s ease,
    top 0.2s ease,
    opacity 0.2s ease;
}

.nav-toggle-label span {
  top: 50%;
  transform: translateY(-50%);
}

.nav-toggle-label span::before {
  top: -7px;
}

.nav-toggle-label span::after {
  top: 7px;
}

.nav-toggle:checked + .nav-toggle-label span {
  transform: rotate(45deg);
}

.nav-toggle:checked + .nav-toggle-label span::before {
  top: 0;
}

.nav-toggle:checked + .nav-toggle-label span::after {
  top: 0;
  transform: rotate(-90deg);
}

/* ==============================
   ヒーロー
============================== */

.hero {
  position: relative;
  padding: 52px 0 56px;
  background: url("/images/slide/bg-1.png") center center / cover no-repeat;
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.15)
  );
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  margin: 0 0 12px;
}

.hero-title {
  font-size: 2rem;
  margin: 0 0 12px;
  letter-spacing: 0.06em;
  color: #fff;
}

.hero-desc {
  margin: 0 0 18px;
  color: #f9fafb;
  font-size: 0.98rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-highlight {
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  color: #fff;
  box-shadow: 0 10px 26px rgba(234, 88, 12, 0.35);
}

.hero-highlight-title {
  margin: 0 0 6px;
  font-weight: 600;
}

.hero-highlight-text {
  margin: 0;
  font-size: 0.9rem;
}

.hero-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
}

.hero-points li::before {
  content: "●";
  color: #fed7aa;
  font-size: 0.6rem;
  margin-right: 6px;
}

.hero-actions .btn-outline {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fef3c7;
  color: #fff;
}

.hero-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ==============================
   ページヘッダー（event.html 等）
============================== */

.section-page-header {
  background: #ffffff;
  padding-top: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e5e7eb;
}

.page-header {
  text-align: left;
}

.page-breadcrumb {
  margin-bottom: 16px; /* ← 今より広げる（8〜10px程度でもOK） */
  font-size: 0.85rem;
  color: #6b7280;
}

.page-breadcrumb a {
  color: #6b7280;
}

.page-title {
  margin: 0 0 6px;
  font-size: 1.7rem;
}

.page-subtitle {
  margin: 0;
  font-size: 0.95rem;
  color: #4b5563;
}

/* ==============================
   施設紹介（キャッチ＋スライダー＋20周年）
============================== */

.section-about-top {
  background: #ffffff;
  padding-top: 40px;
  padding-bottom: 36px;
}

.about-top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.about-catch {
  margin: 0 0 12px;
  font-size: 1.35rem;
  font-weight: 700;
  color: #374151;
  line-height: 1.5;
}

.about-lead {
  margin: 0 0 14px;
  font-size: 0.95rem;
  color: #4b5563;
}

.about-points {
  margin: 0;
  padding-left: 18px;
  font-size: 0.9rem;
  color: #374151;
}

.about-points li {
  margin-bottom: 4px;
}

/* スライダー本体 */

.about-slider {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.2);
  background: #000;
}

.about-slider-track {
  position: relative;
}

.about-slide {
  display: none;
}

.about-slide.is-active {
  display: block;
}

.about-slide img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

/* スライダー ナビ */

.about-slider-controls {
  position: absolute;
  inset: auto 0 8px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.about-prev,
.about-next {
  border: none;
  border-radius: 999px;
  width: 30px;
  height: 30px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.about-prev:hover,
.about-next:hover {
  background: rgba(0, 0, 0, 0.75);
}

.about-dots {
  display: flex;
  gap: 6px;
}

.about-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(249, 250, 251, 0.5);
}

.about-dot.is-active {
  width: 16px;
  background: #f97316;
}

/* 20周年バナー */

.about-20th {
  margin-top: 16px;
  text-align: center;
}

.about-20th-banner {
  max-width: 100%;
  height: auto;
}

/* ==============================
   介護サービス
============================== */

.services-grid {
  row-gap: 24px;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 18px 20px;
  border-radius: 16px;
  border: 1px solid rgba(248, 180, 107, 0.4);
  background: linear-gradient(135deg, #ffffff, #fffdf8);
}

.service-name {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 600;
}

.service-tag {
  display: inline-block;
  margin: 0 0 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(239, 142, 41, 0.08);
  font-size: 0.78rem;
  color: var(--aisenkai-main);
}

.service-text {
  margin: 8px 0 10px;
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.8;
}

.service-link {
  margin-top: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--aisenkai-main-dark);
}

.service-link::after {
  content: "＞";
  font-size: 0.7rem;
  margin-left: 3px;
}

/* ==============================
   施設内設備（テキストカード用：他ページ向けに残し）
============================== */

.facility-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.facility-item {
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  font-size: 0.9rem;
}

.facility-item h3 {
  margin: 0 0 6px;
  font-size: 0.98rem;
}

/* 施設内設備：写真グリッド（insideview） */

.facility-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.facility-photo {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
  font-size: 0.9rem;
}

.facility-photo img {
  width: 100%;
}

.facility-photo figcaption {
  padding: 10px 12px 12px;
  text-align: center;
  color: #4b5563;
}

/* ==============================
   お知らせ（/partials/news.html）
============================== */

#news {
  background: #f5f5f7;
}

#news .section-header {
  text-align: left;
}

.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.news-item {
  border-bottom: 1px solid #e5e7eb;
}

.news-item:last-child {
  border-bottom: none;
}

.news-item a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 16px;
  color: #111827;
}

.news-item a:hover {
  background: #f9fafb;
  text-decoration: none;
}

.news-date {
  min-width: 3.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: #fef3c7;
  color: #92400e;
  font-size: 0.85rem;
  font-weight: 600;
}

.news-title {
  flex: 1;
  font-size: 0.98rem;
  line-height: 1.7;
}

.news-more {
  margin-top: 10px;
  text-align: right;
  font-size: 0.9rem;
}

.news-more a::after {
  content: "＞";
  font-size: 0.7rem;
  margin-left: 4px;
}

/* ==============================
   就職フェア・説明会・交流会のご案内
============================== */

#recruit-fair {
  background: #ffffff;
}

.recruit-fair-list {
  display: grid;
  gap: 18px;
}

.recruit-fair-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  padding: 18px 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
  transition: box-shadow 0.2s ease;
}

.recruit-fair-item:hover {
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.recruit-fair-date {
  display: flex;
  align-items: flex-start;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(239, 142, 41, 0.1);
  color: #d97706;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.recruit-fair-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.recruit-fair-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.5;
}

.recruit-fair-detail {
  margin: 0;
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.8;
}

.recruit-fair-link {
  margin-top: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--aisenkai-main-dark);
  text-decoration: none;
}

.recruit-fair-link:hover {
  text-decoration: underline;
}

.recruit-fair-link::after {
  content: "＞";
  font-size: 0.7rem;
  margin-left: 3px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .recruit-fair-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px 16px;
  }

  .recruit-fair-date {
    justify-content: flex-start;
  }

  .recruit-fair-title {
    font-size: 1rem;
  }

  .recruit-fair-detail {
    font-size: 0.88rem;
  }
}

/* ==============================
   交通アクセス
============================== */

.access {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: center;
}

.access-info {
  margin: 0 0 18px;
  padding: 0;
}

.access-info > div {
  margin-bottom: 8px;
}

.access-info dt {
  font-weight: 600;
  font-size: 0.9rem;
}

.access-info dd {
  margin: 2px 0 0;
  font-size: 0.9rem;
}

.access-tel {
  font-weight: 600;
  font-size: 1rem;
}

/* Googleマップ埋め込み用 */

.access-map {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

/* ==============================
   求人情報・スタッフ紹介
============================== */

.recruit {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: center;
}

.recruit-points {
  margin: 12px 0 16px;
  padding-left: 20px;
  font-size: 0.9rem;
}

.recruit-points li {
  margin-bottom: 4px;
}

.recruit-image img {
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
  width: 100%;
  height: auto;
}

/* ==============================
   フッター
============================== */

.site-footer {
  margin-top: 24px;
  background: #0f172a;
  color: #e5e7eb;
  padding-top: 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1fr;
  gap: 28px;
  padding-bottom: 24px;
}

.footer-block {
  font-size: 0.85rem;
}

.footer-title {
  font-size: 0.95rem;
  margin: 0 0 8px;
  color: #f9fafb;
}

.footer-title-sub {
  margin-top: 18px;
}

.footer-org,
.footer-address,
.footer-contact,
.footer-text,
.footer-note {
  margin: 0 0 8px;
}

.footer-contact a {
  color: #bfdbfe;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 4px;
}

.footer-links a {
  color: #e5e7eb;
}

.footer-links-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

/* フッターバナー */

.footer-banners {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  margin-top: 8px;
}

.footer-banners a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0b1120;
  padding: 4px;
  border-radius: 4px;
}

.footer-banners img {
  display: block;
  max-height: 40px;
  width: auto;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  padding: 10px 0 16px;
  background: #020617;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
}

.copy {
  margin: 0;
  color: #9ca3af;
}

.goto-top {
  color: #9ca3af;
}

/* ==============================
   イベントページ（event.html）
============================== */

/* 年間行事・季節のイベント */

.event-intro {
  margin: 0 0 16px;
  font-size: 0.92rem;
  color: #4b5563;
}

.event-seasons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 12px;
}


/* 白枠なし・画像のみのカード */
.event-season-card {
  padding: 0;
  border: none;
  box-shadow: none;
  background: transparent;
}

/* 画像は切らずにそのまま表示 */
.event-season-card img {
  width: 100%;
  height: auto;       /* ← ここが超重要：固定高さにしない */
  display: block;
  border-radius: 10px;  /* 角丸はお好みで（要らなければ消してOK） */
}

/* その他の活動 */

.event-extra {
  margin-top: 18px;
  font-size: 0.9rem;
}

.event-extra h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.event-extra ul {
  margin: 0;
  padding-left: 18px;
}

/* 2025年 イベントカード一覧 */

.event-year-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.event-card {
  display: flex;
  flex-direction: column;
  padding: 18px 18px 20px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.25);
  font-size: 0.9rem;
}

.event-card-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.event-month {
  min-width: 3rem;
  padding: 4px 12px;
  border-radius: 999px;
  background: #fef3c7;
  color: #92400e;
  font-size: 0.86rem;
  font-weight: 700;
  text-align: center;
}

.event-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.5;
  color: #111827;
}

.event-desc {
  margin: 6px 0 12px;
  color: #4b5563;
  line-height: 1.8;
  font-size: 0.9rem;
}

.event-photo {
  margin-top: auto;
}

.event-photo img {
  width: 100%;
  border-radius: 14px;
}

/* イベントページ CTA */

.section-cta {
  background: #f5f5f7;
}

.cta-box {
  background: #fff;
  border-radius: 18px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 20px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.cta-text .section-title {
  margin-bottom: 6px;
}

.cta-action {
  text-align: right;
  font-size: 0.88rem;
}

.cta-tel {
  margin: 8px 0 0;
  color: #4b5563;
}

.cta-tel-number {
  font-weight: 700;
  font-size: 1rem;
}

/* ==============================
   レスポンシブ
============================== */

/* タブレット以下 */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .access,
  .recruit,
  .facility-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-top {
    grid-template-columns: 1fr;
  }

  .facility-photos {
    grid-template-columns: 1fr;
  }

  .event-seasons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }


  .event-year-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-box {
    grid-template-columns: 1fr;
  }

  .cta-action {
    text-align: left;
  }
}

/* スマホ */
@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  .section {
    padding: 40px 0;
  }

  .header-inner {
    padding: 8px 12px;
  }

  /* ナビはハンバーガーに */
  .nav-toggle-label {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 0.2s ease,
      opacity 0.2s ease;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 10px;
    gap: 4px;
  }

  .site-nav a {
    display: block;
    padding: 8px 4px;
    border-bottom: none;
  }

  .nav-has-sub > .nav-sub {
    position: static;
    box-shadow: none;
    border-radius: 0;
    padding: 4px 0 0;
  }

  .nav-has-sub > .nav-sub li a {
    padding: 6px 10px;
    font-size: 0.85rem;
  }

  .nav-toggle:checked ~ .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hero {
    padding: 32px 0 40px;
  }

  .hero-inner {
    gap: 24px;
  }

  .hero-label {
    font-size: 0.75rem;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-actions {
    gap: 8px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .facility-grid,
  .access,
  .recruit,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .news-item a {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 8px 12px;
  }

  .news-date {
    font-size: 0.8rem;
  }

  .news-title {
    font-size: 0.95rem;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .sp-only {
    display: inline;
  }

  .pc-only {
    display: none;
  }

  .about-catch {
    font-size: 1.15rem;
  }

  .about-slide img {
    height: 220px;
  }

  .event-year-grid {
    grid-template-columns: 1fr;
  }

  .event-card {
    padding: 14px 14px 16px;
  }

  .page-title {
    font-size: 1.4rem;
  }

  .page-subtitle {
    font-size: 0.9rem;
  }
}

/* さらに小さい端末用（春夏秋冬グリッドの余白調整） */
@media (max-width: 640px) {
  .event-seasons {
    grid-template-columns: 1fr;
    gap: 12px;
  }

}

/* ==============================
   aboutus.html 向け追加スタイル
============================== */

.overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 24px;
}

.overview-item h3 {
  margin: 0 0 6px;
  font-size: 0.95rem;
  color: #374151;
}

.overview-item p {
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: #4b5563;
}

.text-block p {
  margin-bottom: 14px;
  font-size: 0.92rem;
  color: #4b5563;
  line-height: 1.7;
}

.history-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.history-list li {
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: #4b5563;
}

.history-year {
  font-weight: 600;
  margin-right: 6px;
  color: var(--aisenkai-main);
}

/* レスポンシブ対応 */
@media (max-width: 960px) {
  .overview-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  .section {
    padding: 40px 0;
  }

  .overview-grid {
    gap: 20px;
  }
}

/* ===========================================
   施設概要セクション（aboutus.html）ギャラリー付き
=========================================== */

.section-facility-overview {
  background: #ffffff;
  padding-top: 48px;
  padding-bottom: 48px;
}

.facility-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.facility-gallery {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 16px;
}

.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
  display: block;
}

.gallery-item {
  text-align: center;
}

.gallery-item figcaption {
  margin-top: 4px;
  font-size: 0.85rem;
  color: #4b5563;
}

.facility-overview-text h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: #374151;
}

.facility-overview-text p,
.facility-overview-text ul {
  margin: 0 0 16px;
  font-size: 0.92rem;
  color: #4b5563;
  line-height: 1.7;
}

.facility-overview-text ul {
  padding-left: 18px;
}

.facility-overview-text li {
  margin-bottom: 8px;
}

/* レスポンシブ対応 */
@media (max-width: 960px) {
  .facility-overview-grid {
    grid-template-columns: 1fr;
  }
  .facility-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .facility-overview-grid {
    gap: 20px;
  }
  .facility-gallery {
    grid-template-columns: 1fr;
  }
  .facility-overview-text {
    font-size: 0.9rem;
  }
}

/* ==============================
   画像ライトボックス（event 用）
============================== */

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 999;
}

.lightbox-overlay.is-visible {
  display: flex;
}

.lightbox-inner {
  position: relative;
  max-width: min(960px, 100%);
  max-height: 100%;
}

.lightbox-image {
  max-width: 100%;
  max-height: calc(100vh - 80px);
  border-radius: 12px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.5);
}

.lightbox-caption {
  margin-top: 8px;
  text-align: center;
  font-size: 0.85rem;
  color: #e5e7eb;
}

/* 閉じるボタン（右上の×） */
.lightbox-close {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  background: rgba(15, 23, 42, 0.85);
  color: #f9fafb;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover {
  background: rgba(15, 23, 42, 1);
}

@media (max-width: 768px) {
  .lightbox-inner {
    max-width: 100%;
  }

  .lightbox-image {
    max-height: calc(100vh - 60px);
  }

  .lightbox-close {
    top: -6px;
    right: -6px;
  }
}

/* ==============================
   基本理念・目標（philosophy-block）
============================== */

.philosophy-block {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
  margin-bottom: 32px; /* 下に余白をとっておく */
}

.philosophy-block p {
  position: relative;
  margin: 0;
  padding: 12px 14px 12px 46px; /* 左に番号バッジのスペース */
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.04);
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.8;
}

/* 番号バッジ（1〜6） */
.philosophy-block p::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 14px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(239, 142, 41, 0.95);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 各段落ごとに番号だけ差し替え（文言はいじらない） */
.philosophy-block p:nth-child(1)::before { content: "1"; }
.philosophy-block p:nth-child(2)::before { content: "2"; }
.philosophy-block p:nth-child(3)::before { content: "3"; }
.philosophy-block p:nth-child(4)::before { content: "4"; }
.philosophy-block p:nth-child(5)::before { content: "5"; }
.philosophy-block p:nth-child(6)::before { content: "6"; }

/* レスポンシブ：スマホでは1列 */
@media (max-width: 960px) {
  .philosophy-block {
    grid-template-columns: 1fr;
  }
}


/* ==============================
   基本方針・運営方針（policy-block）
============================== */

.philosophy-block + .section-header {
  margin-top: 32px;
}

.policy-block {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 8px;
  font-size: 0.92rem;
}

.policy-group {
  background: #ffffff;
  border-radius: 14px;
  padding: 14px 16px 16px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
}

.policy-group h3 {
  margin: 0 0 6px;
  font-size: 0.98rem;
  color: #374151;
  border-left: 4px solid var(--aisenkai-main);
  padding-left: 8px;
}

.policy-group p {
  margin: 4px 0 6px;
  color: #4b5563;
  line-height: 1.7;
}

.policy-group ul {
  margin: 4px 0 0;
  padding-left: 18px;
  color: #4b5563;
}

.policy-group li {
  margin-bottom: 4px;
}

/* レスポンシブ：3 → 2 → 1列 */
@media (max-width: 960px) {
  .policy-block {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .policy-block {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   サービス詳細ページ（地域密着型 特養）
========================================== */

/* サービス概要（左右レイアウト） */
.service-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.service-label {
  margin-top: 8px;
  margin-bottom: 10px;
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(239, 142, 41, 0.1);
  color: #d97706;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.service-hero-title {
  margin: 0 0 10px;
  font-size: 1.5rem;
  color: #111827;
}

.service-hero-text {
  margin: 0 0 14px;
  font-size: 0.92rem;
  color: #4b5563;
  line-height: 1.8;
}

/* 施設種別・入所定員の情報パネル */
.service-meta-panel {
  margin: 10px 0 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fffdf8;
  border: 1px solid rgba(248, 180, 107, 0.6);
}

.service-meta-list {
  margin: 0;
  padding: 0;
}

.service-meta-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 4px 0;
  border-bottom: 1px dashed rgba(248, 180, 107, 0.4);
}

.service-meta-row:last-child {
  border-bottom: none;
}

.service-meta-row dt {
  min-width: 80px;
  margin: 0;
  font-size: 0.85rem;
  color: #6b7280;
}

.service-meta-row dd {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
}

/* スマホでは縦並び寄りに */
@media (max-width: 768px) {
  .service-meta-row {
    flex-direction: column;
    gap: 2px;
  }

  .service-meta-row dt {
    min-width: auto;
  }
}


.service-note {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #4b5563;
}

.service-hero-image img {
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.2);
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* 1日の流れ（タイムライン風） */
.service-flow-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.service-flow-item {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.04);
  font-size: 0.9rem;
}

.service-flow-time {
  flex-shrink: 0;
  min-width: 90px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #92400e;
  padding-top: 2px;
}

.service-flow-body h3 {
  margin: 0 0 4px;
  font-size: 0.95rem;
  color: #374151;
}

.service-flow-body p {
  margin: 0;
  color: #4b5563;
  line-height: 1.7;
}

.service-flow-note {
  margin-top: 12px;
  font-size: 0.85rem;
  color: #6b7280;
}

/* レスポンシブ調整 */
@media (max-width: 960px) {
  .service-hero {
    grid-template-columns: 1fr;
  }
  .service-flow-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .service-hero-title {
    font-size: 1.3rem;
  }
}
/* ==========================================
   ページヘッダー（上部キャッチコピー強調）
========================================== */
.page-subtitle.highlight {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1rem;
  font-weight: 500;
  color: #4b5563;
  line-height: 1.9;
  text-align: center;
  background: linear-gradient(90deg, rgba(255,250,240,0.6), rgba(255,255,255,0.9));
  padding: 12px 16px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

/* ==========================================
   ページヘッダー（サービスラベル＋タイトル＋説明）
========================================== */

.service-label {
  display: inline-block;
  margin-bottom: 6px;
  padding: 3px 12px;
  border-radius: 999px;
  background: rgba(239, 142, 41, 0.1);
  color: #d97706;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.page-title {
  font-size: 1.9rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: #1f2937;
  letter-spacing: 0.05em;
}

.page-subtitle.emphasis {
  margin: 12px auto 0;
  max-width: 740px;
  color: #444;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.9;
  text-align: center;
  letter-spacing: 0.03em;
  position: relative;
}

/* 下にうっすらオレンジのラインを敷いて、余白でリズムを作る */
.page-subtitle.emphasis::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  margin: 16px auto 0;
  background: linear-gradient(90deg, #f59e0b, #ea580c);
  border-radius: 3px;
}

@media (max-width: 768px) {
  .page-subtitle.emphasis {
    font-size: 1rem;
    line-height: 1.8;
  }
  .page-subtitle.emphasis::after {
    width: 60px;
    height: 2px;
    margin-top: 12px;
  }
}

/* ==========================================
   ヘルパーセンター 愛泉：サービス内容カード
========================================== */

.service-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.service-feature-card {
  display: flex;
  gap: 10px;
  padding: 14px 14px 16px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.04);
  font-size: 0.9rem;
}

.service-feature-number {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(239, 142, 41, 0.12);
  color: #d97706;
  font-size: 0.85rem;
  font-weight: 700;
}

.service-feature-body {
  flex: 1;
}

.service-feature-title {
  margin: 0 0 4px;
  font-size: 0.98rem;
  color: #374151;
}

.service-feature-text {
  margin: 0;
  color: #4b5563;
  line-height: 1.8;
}

.service-feature-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 8px;
  display: block;
}

/* レスポンシブ調整 */
@media (max-width: 960px) {
  .service-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .service-feature-grid {
    grid-template-columns: 1fr;
  }

  .service-feature-card {
    padding: 12px 12px 14px;
  }
}

/* ==========================================
   お問い合わせページ
========================================== */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.contact-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 16px 18px 18px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
  font-size: 0.9rem;
}

.contact-card-title {
  margin: 0 0 8px;
  font-size: 1rem;
  color: #111827;
}

.contact-card-text {
  margin: 0 0 10px;
  color: #4b5563;
}

.contact-card-main {
  margin: 0 0 8px;
  font-weight: 600;
  color: #111827;
}

.contact-card-main a {
  color: var(--aisenkai-main-dark);
}

.contact-card-note {
  margin: 0;
  font-size: 0.85rem;
  color: #6b7280;
}

.contact-mail-contents ul {
  margin: 0 0 8px;
  padding-left: 20px;
  font-size: 0.9rem;
  color: #4b5563;
}

.contact-mail-contents li {
  margin-bottom: 4px;
}

.contact-mail-note {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: #6b7280;
}

/* レスポンシブ調整 */
@media (max-width: 960px) {
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   求人情報ページ
========================================== */

/* 上部の紹介ブロック */
.recruit-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.recruit-hero-text {
  margin: 0 0 10px;
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.9;
}

.recruit-hero-points {
  margin: 8px 0 0;
  padding-left: 18px;
  font-size: 0.9rem;
  color: #374151;
}

.recruit-hero-points li {
  margin-bottom: 4px;
}

/* 働く環境カード */
.recruit-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.recruit-feature-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 16px 18px 18px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
  font-size: 0.9rem;
}

.recruit-feature-title {
  margin: 0 0 6px;
  font-size: 1rem;
  color: #111827;
}

.recruit-feature-text {
  margin: 0;
  color: #4b5563;
  line-height: 1.8;
}

/* 募集職種の説明ブロック */
.recruit-note-block {
  background: #ffffff;
  border-radius: 16px;
  padding: 16px 18px 18px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.03);
  font-size: 0.9rem;
  color: #374151;
}

.recruit-note-block ul {
  margin: 8px 0 8px;
  padding-left: 20px;
}

.recruit-note-block li {
  margin-bottom: 4px;
}

.recruit-note {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: #6b7280;
}

/* レスポンシブ調整 */
@media (max-width: 960px) {
  .recruit-hero {
    grid-template-columns: 1fr;
  }
  .recruit-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .recruit-feature-grid {
    grid-template-columns: 1fr;
  }
  .recruit-feature-card {
    padding: 14px 14px 16px;
  }
}

/* ==========================================
   募集概要・待遇（カードレイアウト）
========================================== */

.recruit-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.recruit-summary-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 14px 16px 16px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
  font-size: 0.9rem;
  color: #374151;
}

.recruit-summary-title {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  border-left: 4px solid var(--aisenkai-main, #ef8e29);
  padding-left: 8px;
}

.recruit-summary-list {
  margin: 0;
  padding: 0;
}

.recruit-summary-list > div {
  margin-bottom: 8px;
}

.recruit-summary-list dt {
  font-weight: 600;
  font-size: 0.88rem;
  color: #4b5563;
  margin-bottom: 2px;
}

.recruit-summary-list dd {
  margin: 0;
  font-size: 0.88rem;
  color: #374151;
  line-height: 1.7;
}

.recruit-summary-note {
  margin: 8px 0 0;
  font-size: 0.85rem;
  color: #6b7280;
}

/* レスポンシブ */
@media (max-width: 960px) {
  .recruit-summary-grid {
    grid-template-columns: 1fr;
  }
}


