@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

/* ============================================================
   AKARIO 利用案内サイト - メインスタイルシート
   ============================================================ */

:root {
  /* 共通カラー */
  --primary:        #C8602E;
  --primary-dark:   #9E4820;
  --primary-light:  #F5E8E0;

  /* あかり舎 — テラコッタ・コーラル */
  --aka-primary:       #C85A4A;
  --aka-dark:          #9E3C2C;
  --aka-light:         #FBF0ED;
  --aka-cream:         #F7EFE8;
  --aka-accent:        #3A9B88;
  --aka-accent-dark:   #2D7A6A;
  --aka-blob:          #EAA898;

  /* おべんとう — オレンジ */
  --ben-primary:  #ED7E1A;
  --ben-dark:     #C06010;
  --ben-light:    #FFF5E8;
  --ben-accent:   #5B3D1A;
  --ben-warm:     #F5A84A;

  /* テキスト */
  --text:         #3D2B20;
  --text-muted:   #7A6355;
  --text-light:   #A09085;

  /* ニュートラル */
  --white:        #FFFFFF;
  --bg:           #FAFAF8;
  --bg-warm:      #F5F2EE;
  --border:       #E8E0DA;
  --border-light: #F0EBE5;

  /* レイアウト */
  --max-w:      1120px;
  --pad-x:      clamp(1rem, 4vw, 2.5rem);
  --section-py: clamp(3.5rem, 8vw, 6rem);

  /* 角丸 */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 40px;

  /* シャドウ */
  --sh-sm: 0 2px 8px rgba(61,43,32,.08);
  --sh-md: 0 4px 20px rgba(61,43,32,.12);
  --sh-lg: 0 8px 40px rgba(61,43,32,.18);

  --tr: .25s ease;
}

/* ============================================================
   リセット・ベース
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  font-weight: 400;
  line-height: 1.85;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
address { font-style: normal; }

/* ============================================================
   タイポグラフィ
   ============================================================ */
.eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 100px;
  margin-bottom: .9rem;
  background: var(--primary-light);
  color: var(--primary);
}

.section-title {
  font-size: clamp(1.45rem, 3.5vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: .6rem;
}

.section-lead {
  font-size: clamp(.88rem, 2vw, 1rem);
  color: var(--text-muted);
  line-height: 1.9;
  max-width: 600px;
}

/* ============================================================
   レイアウト
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.section        { padding: var(--section-py) 0; }
.section--alt   { background: var(--bg-warm); }
.section--dark  { background: var(--text); color: #fff; }

.section-hd {
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }

.text-center { text-align: center; }
.mx-auto     { margin-left: auto; margin-right: auto; }

/* ============================================================
   ヘッダー / ナビゲーション
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--tr);
}
.site-header.is-scrolled { box-shadow: var(--sh-sm); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}

.site-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  flex-shrink: 0;
}
.site-logo .logo-main {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: .04em;
}
.site-logo .logo-sub {
  font-size: .6rem;
  color: var(--text-muted);
  letter-spacing: .04em;
}

.site-nav { display: flex; align-items: center; }

.nav-list {
  display: flex;
  align-items: center;
  gap: .1rem;
}
.nav-list a {
  display: block;
  padding: .4rem .65rem;
  font-size: .8rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--r-sm);
  transition: color var(--tr), background var(--tr);
  white-space: nowrap;
}
.nav-list a:hover,
.nav-list a.active { color: var(--primary); background: var(--primary-light); }

.nav-list .nav-cta {
  background: var(--primary);
  color: #fff;
  padding: .45rem 1rem;
  border-radius: 100px;
  margin-left: .3rem;
}
.nav-list .nav-cta:hover { background: var(--primary-dark); color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  background: none;
  border: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--tr), opacity var(--tr);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   ヒーローセクション
   ============================================================ */
.hero {
  padding-top: 64px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero--index    { background: linear-gradient(140deg,#FAF0EC 0%,#FFF8F2 60%,#F5F0E8 100%); }
.hero--akarisha {
  background:
    linear-gradient(rgba(255,255,255,.87), rgba(255,255,255,.87)),
    url('../images/akarisha-bg.jpg') center 70% / cover no-repeat;
  min-height: 72vh;
}
.hero--obento {
  background:
    linear-gradient(rgba(255,255,255,.87), rgba(255,255,255,.87)),
    url('../images/obento-bg.jpg') center / cover no-repeat;
  min-height: 72vh;
}
.hero--common   { background: var(--bg-warm); min-height: 38vh; padding: calc(64px + 3rem) 0 3rem; align-items: flex-end; }

.hero-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  width: 100%;
}

.hero-eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  padding: .4rem 1.1rem;
  background: var(--primary);
  color: #fff;
  border-radius: 100px;
  margin-bottom: 1.6rem;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1.2rem;
}
.hero-title .accent { color: var(--primary); }

.hero-body {
  font-size: clamp(.9rem, 2vw, 1.05rem);
  color: var(--text-muted);
  line-height: 1.95;
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-logo {
  width: 260px;
  max-width: 100%;
  height: auto;
}

/* ============================================================
   ボタン
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: 100px;
  font-size: .95rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: transform var(--tr), box-shadow var(--tr), background var(--tr), color var(--tr), border-color var(--tr);
  border: 2px solid transparent;
  white-space: nowrap;
  text-align: center;
  line-height: 1;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }

.btn-primary  { background: var(--primary);     color:#fff;            border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }

.btn-outline  { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary-light); }

.btn-aka      { background: var(--aka-primary);  color:#fff; border-color: var(--aka-primary); }
.btn-aka:hover{ background: var(--aka-dark);     border-color: var(--aka-dark); }

.btn-ben      { background: var(--ben-primary);  color:#fff; border-color: var(--ben-primary); }
.btn-ben:hover{ background: var(--ben-dark);     border-color: var(--ben-dark); }

.btn-white    { background: #fff; color: var(--primary); border-color: #fff; }
.btn-white:hover { background: var(--primary-light); }

.btn-outline-w { background: transparent; color:#fff; border-color: rgba(255,255,255,.7); }
.btn-outline-w:hover { background: rgba(255,255,255,.12); }

.btn-lg { padding: 1.1rem 2.5rem; font-size: 1.05rem; }
.btn-sm { padding: .55rem 1.2rem; font-size: .82rem; }

/* ============================================================
   事業所カード（トップページ）
   ============================================================ */
.office-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

.office-card {
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: transform var(--tr), box-shadow var(--tr);
  background: #fff;
}
.office-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }

.office-card__top {
  padding: 2.5rem 2rem 2rem;
  position: relative;
  overflow: hidden;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.office-card__top--aka { background: linear-gradient(135deg,var(--aka-cream) 0%,#F0E4E0 100%); }
.office-card__top--ben { background: linear-gradient(135deg,#FFF5E8 0%,#FFE0B0 100%); }

.office-card__illust {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: .92;
}

.office-card__tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  padding: .28rem .75rem;
  border-radius: 100px;
  color: #fff;
  margin-bottom: .7rem;
  width: fit-content;
}
.office-card__tag--aka { background: var(--aka-primary); }
.office-card__tag--ben { background: var(--ben-primary); }

.office-card__name {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: .3rem;
}
.office-card__type {
  font-size: .78rem;
  color: var(--text-muted);
}

.office-card__body { padding: 1.5rem 2rem 2rem; }
.office-card__desc {
  font-size: .9rem;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
}

.chip-row { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  font-size: .78rem;
  color: var(--text-muted);
  background: var(--bg-warm);
  padding: .28rem .75rem;
  border-radius: 100px;
}

.office-card__link {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .88rem;
  font-weight: 700;
  color: var(--primary);
}

/* ============================================================
   フロー（水平・トップ用）
   ============================================================ */
.step-flow-h {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  position: relative;
}
.step-flow-h::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.step-h-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-h-num {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-bottom: 1rem;
  box-shadow: var(--sh-sm);
}
.step-h-num .step-label { font-size: .6rem; font-weight: 700; letter-spacing: .06em; }
.step-h-num .step-n    { font-size: 1.25rem; font-weight: 700; line-height: 1; }
.step-h-title  { font-size: .9rem; font-weight: 700; margin-bottom: .3rem; }
.step-h-desc   { font-size: .78rem; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   フロー（縦・フローページ用）
   ============================================================ */
.step-flow-v { display: flex; flex-direction: column; gap: 0; }

.step-v-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 1.5rem;
  position: relative;
}
.step-v-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 34px;
  top: 72px;
  width: 2px;
  bottom: 0;
  background: var(--border);
}

.step-v-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}
.step-v-num {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--sh-sm);
}
.step-v-num .step-label { font-size: .6rem; font-weight: 700; }
.step-v-num .step-n    { font-size: 1.4rem; font-weight: 700; line-height: 1; }

.step-v-content {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 1.8rem 2rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--sh-sm);
}
.step-v-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: .8rem;
}
.step-v-content p,
.step-v-content ul {
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.85;
}
.step-v-content ul { padding-left: 1.2rem; }
.step-v-content ul li { list-style: disc; margin-bottom: .3rem; }
.step-note {
  font-size: .82rem;
  color: var(--text-light);
  margin-top: .8rem;
  padding: .6rem .9rem;
  background: var(--bg-warm);
  border-radius: var(--r-sm);
  border-left: 3px solid var(--border);
}

/* ============================================================
   作業内容カード（A型・B型）
   ============================================================ */
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

.work-card {
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
}
.work-card__head {
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.work-card__badge {
  font-size: 1rem;
  font-weight: 700;
  padding: .4rem 1.2rem;
  border-radius: 100px;
  flex-shrink: 0;
  color: #fff;
}
.work-card__head-text h3 {
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-muted);
}
.work-card__body { padding: 0 2rem 2rem; }

.info-list { display: flex; flex-direction: column; gap: .9rem; }
.info-row  { display: flex; gap: 1rem; align-items: flex-start; }
.info-lbl {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 700;
  color: #fff;
  background: var(--text-muted);
  width: 5.4rem;
  height: 1.6rem;
  padding: 0;
  border-radius: var(--r-sm);
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: .2rem;
  line-height: 1.4;
}
.info-val { font-size: .92rem; line-height: 1.75; }
.wage-num { font-size: 1.5rem; font-weight: 700; line-height: 1; }

/* ============================================================
   事業所概要テーブル
   ============================================================ */
.office-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.office-table th,
.office-table td {
  padding: .85rem 1.2rem;
  border-bottom: 1px solid var(--border-light);
  text-align: left;
  vertical-align: top;
  line-height: 1.75;
}
.office-table th {
  width: 28%;
  background: var(--bg-warm);
  font-weight: 700;
  color: var(--text-muted);
  font-size: .8rem;
  white-space: nowrap;
}

/* ============================================================
   アクセスセクション
   ============================================================ */
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.access-map-box {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #E0D8D0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: .8rem;
  color: var(--text-muted);
  font-size: .88rem;
  text-align: center;
}
.access-map-box svg { opacity: .5; }

.access-info-list { display: flex; flex-direction: column; gap: 1.3rem; }
.access-info-item { display: flex; gap: 1rem; align-items: flex-start; }
.access-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  margin-top: .1rem;
}
.access-info-item dt {
  font-size: .75rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: .2rem;
  letter-spacing: .05em;
}
.access-info-item dd {
  font-size: .92rem;
  line-height: 1.75;
}

/* ============================================================
   CTA セクション
   ============================================================ */
.cta-section {
  background: var(--primary);
  color: #fff;
  padding: var(--section-py) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 250px; height: 250px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}

.cta-title {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.cta-body {
  font-size: 1rem;
  opacity: .88;
  margin-bottom: 2.5rem;
  line-height: 1.85;
  position: relative;
  z-index: 1;
}
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* ============================================================
   お問い合わせ
   ============================================================ */
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

.contact-card {
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
}
.contact-card__head { padding: 2rem 2rem 1.8rem; }
.contact-card__head--aka { background: linear-gradient(135deg,var(--aka-cream),#F0E5E0); }
.contact-card__head--ben { background: linear-gradient(135deg,#FFF5E8,#FFE0B0); }
.contact-card__body { padding: 1.8rem 2rem; }
.contact-card__logo-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 8px;
  display: block;
  flex-shrink: 0;
  mix-blend-mode: multiply;
}

.contact-dl { display: flex; flex-direction: column; }
.contact-dt-dd {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: .9rem 0;
  border-bottom: 1px solid var(--border-light);
}
.contact-dt-dd:last-child { border-bottom: none; }
.contact-dt-dd dt {
  width: 70px;
  flex-shrink: 0;
  font-size: .72rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: .04em;
  margin-top: .15rem;
}
.contact-dt-dd dd { font-size: .92rem; line-height: 1.75; }
.contact-dt-dd dd a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.tel-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: .02em;
}
.tel-link:hover { color: var(--primary); }

/* ============================================================
   開示ページ
   ============================================================ */
.disclosure-block {
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  margin-bottom: 2rem;
}
.disclosure-block__head {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-light);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: .8rem;
}
.disclosure-block__body { padding: 1.5rem 2rem; }

.pdf-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: background var(--tr), border-color var(--tr);
  margin-bottom: .8rem;
}
.pdf-item:hover { background: var(--bg-warm); border-color: var(--primary); }
.pdf-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  background: #E53E3E;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  font-weight: 700;
  flex-shrink: 0;
  letter-spacing: .04em;
}
.pdf-info h4 { font-size: .95rem; font-weight: 700; margin-bottom: .2rem; }
.pdf-info p  { font-size: .8rem; color: var(--text-muted); }

.notice-box {
  background: var(--bg-warm);
  border-radius: var(--r-md);
  padding: 1.2rem 1.5rem;
  margin-bottom: 1.5rem;
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.85;
  border-left: 4px solid var(--primary);
}

/* ============================================================
   法人情報バナー
   ============================================================ */
.corp-info-bar {
  background: linear-gradient(135deg,#3D2B20 0%,#5A3D2E 100%);
  color: rgba(255,255,255,.75);
  padding: 1.5rem 0;
  font-size: .82rem;
}
.corp-info-bar .corp-info-inner {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  align-items: flex-start;
}
.corp-info-bar strong { color: #fff; display: block; margin-bottom: .2rem; font-size: .78rem; letter-spacing: .06em; }

/* ============================================================
   フッター
   ============================================================ */
.site-footer {
  background: #2E1E16;
  color: rgba(255,255,255,.65);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand .footer-logo {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .5rem;
}
.footer-brand .footer-tagline {
  font-size: .8rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}
.footer-brand .footer-addr {
  font-size: .78rem;
  line-height: 1.85;
}

.footer-nav h4 {
  font-size: .72rem;
  font-weight: 700;
  color: rgba(255,255,255,.4);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-nav ul { display: flex; flex-direction: column; gap: .55rem; }
.footer-nav a { font-size: .84rem; transition: color var(--tr); }
.footer-nav a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .75rem;
  color: rgba(255,255,255,.35);
}

/* ============================================================
   ページ別テーマ — あかり舎
   ============================================================ */
body.page-akarisha {
  --primary:       var(--aka-primary);
  --primary-dark:  var(--aka-dark);
  --primary-light: var(--aka-light);
}
body.page-akarisha .cta-section { background: var(--aka-primary); }
body.page-akarisha .step-v-num,
body.page-akarisha .step-h-num  { background: var(--aka-accent); }
body.page-akarisha .work-card__badge--a { background: var(--aka-accent); }
body.page-akarisha .work-card__badge--b { background: #7A6B5A; }
body.page-akarisha .nav-list .nav-cta   { background: var(--aka-primary); }
body.page-akarisha .nav-list .nav-cta:hover { background: var(--aka-dark); }

/* ============================================================
   ページ別テーマ — おべんとう
   ============================================================ */
body.page-obento {
  --primary:       var(--ben-primary);
  --primary-dark:  var(--ben-dark);
  --primary-light: var(--ben-light);
}
body.page-obento .cta-section { background: var(--ben-primary); }
body.page-obento .step-v-num,
body.page-obento .step-h-num  { background: var(--ben-primary); }
body.page-obento .work-card__badge--a { background: var(--ben-primary); }
body.page-obento .work-card__badge--b { background: #B07830; }
body.page-obento .nav-list .nav-cta   { background: var(--ben-primary); }
body.page-obento .nav-list .nav-cta:hover { background: var(--ben-dark); }

/* ============================================================
   装飾
   ============================================================ */
.blob {
  position: absolute;
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 70%;
  pointer-events: none;
  opacity: .12;
}
.deco-dots {
  background-image: radial-gradient(circle, var(--border) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
}

/* ============================================================
   インフォカード
   ============================================================ */
.info-card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 2rem;
  box-shadow: var(--sh-sm);
}

.about-table-wrap {
  max-width: 760px;
  margin: 0 auto;
}

#about .section-hd {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   利用者の声・職員の声
   ============================================================ */
.voices-tabs {
  display: flex;
  justify-content: center;
  gap: .8rem;
  margin-bottom: 2.2rem;
  flex-wrap: wrap;
}
.voices-tab {
  font-family: inherit;
  font-size: .92rem;
  font-weight: 700;
  color: var(--primary);
  background: #fff;
  border: 2px solid var(--primary);
  border-radius: 100px;
  padding: .7rem 1.9rem;
  cursor: pointer;
  transition: background var(--tr), color var(--tr);
}
.voices-tab:hover { background: var(--primary-light); }
.voices-tab.is-active { background: var(--primary); color: #fff; }

.voices-panel { display: none; }
.voices-panel.is-active { display: block; }

.voices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.voice-card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 2rem 1.6rem;
  box-shadow: var(--sh-sm);
  text-align: center;
}
.voice-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.1rem;
}
.voice-card__icon svg { width: 26px; height: 26px; }
.voice-card__name {
  font-weight: 700;
  font-size: .92rem;
  color: var(--text);
  margin-bottom: .8rem;
}
.voice-card__comment {
  font-size: .86rem;
  line-height: 1.9;
  color: var(--text-muted);
  text-align: left;
}

/* ============================================================
   フォトカルーセル
   ============================================================ */
.carousel {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  aspect-ratio: 16/9;
  max-width: 900px;
  margin: 0 auto;
  touch-action: pan-y;
}
.carousel__track {
  display: flex;
  height: 100%;
  transition: transform .5s ease;
}
.carousel__slide { flex: 0 0 100%; height: 100%; }
.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.85);
  color: var(--primary);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--sh-sm);
  transition: background var(--tr), transform var(--tr);
  z-index: 2;
}
.carousel__arrow:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.carousel__arrow--prev { left: 1rem; }
.carousel__arrow--next { right: 1rem; }

.carousel__dots {
  position: absolute;
  left: 0; right: 0;
  bottom: 1rem;
  display: flex;
  justify-content: center;
  gap: .5rem;
  z-index: 2;
}
.carousel__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.65);
  padding: 0;
  cursor: pointer;
  transition: background var(--tr), transform var(--tr);
}
.carousel__dot.is-active { background: var(--primary); transform: scale(1.3); }

/* ============================================================
   出勤日のスケジュール（タイムライン）
   ============================================================ */
.schedule-tabs {
  display: flex;
  justify-content: center;
  gap: .8rem;
  margin-bottom: 2.2rem;
  flex-wrap: wrap;
}
.schedule-tab {
  font-family: inherit;
  font-size: .92rem;
  font-weight: 700;
  color: var(--primary);
  background: #fff;
  border: 2px solid var(--primary);
  border-radius: 100px;
  padding: .7rem 1.9rem;
  cursor: pointer;
  transition: background var(--tr), color var(--tr);
}
.schedule-tab:hover { background: var(--primary-light); }
.schedule-tab.is-active { background: var(--primary); color: #fff; }

.schedule-panel { display: none; }
.schedule-panel.is-active { display: block; }

.schedule-timeline {
  max-width: 640px;
  margin: 0 auto;
}
.schedule-item {
  display: grid;
  grid-template-columns: 74px 24px 1fr;
  align-items: start;
}
.schedule-time {
  grid-column: 1;
  text-align: right;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  padding-top: .1rem;
  line-height: 1.3;
}
.schedule-rail {
  grid-column: 2;
  display: flex;
  justify-content: center;
  align-self: stretch;
  position: relative;
}
.schedule-rail::before {
  content: '';
  position: absolute;
  top: 1.5rem;
  bottom: -1.6rem;
  width: 2px;
  background: var(--border);
}
.schedule-item:last-child .schedule-rail::before { display: none; }
.schedule-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--primary);
  margin-top: .3rem;
  flex-shrink: 0;
  z-index: 1;
  box-shadow: 0 0 0 3px #fff;
}
.schedule-content {
  grid-column: 3;
  padding-bottom: 2rem;
}
.schedule-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .4rem;
}
.schedule-content p {
  font-size: .82rem;
  line-height: 1.85;
  color: var(--text-muted);
}

/* ============================================================
   お知らせ・バナーカラー帯
   ============================================================ */
.color-bar-aka { background: var(--aka-primary); }
.color-bar-ben { background: var(--ben-primary); }

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 960px) {
  .grid-2,
  .work-grid,
  .access-grid,
  .contact-cards,
  .office-cards { grid-template-columns: 1fr; }

  .grid-3 { grid-template-columns: 1fr 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  .hero-layout { grid-template-columns: 1fr; }
  .hero-visual { display: none; }

  .step-flow-h {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .step-flow-h::before { display: none; }
}

/* ============================================================
   スマートフォン専用レイアウト（〜768px）
   PC版の縮小ではなく、スマホでの見やすさを優先して再設計
   ============================================================ */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-list {
    display: none;
    position: fixed;
    top: 64px; left: 0; right: 0;
    height: calc(100vh - 64px);
    height: calc(100dvh - 64px);
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 1.2rem 1rem;
    gap: .2rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid var(--border);
    z-index: 990;
  }
  .nav-list.is-open { display: flex; }
  .nav-list a { padding: 1rem 1rem; font-size: 1rem; border-radius: var(--r-md); min-height: 44px; display: flex; align-items: center; }
  .nav-list .nav-cta { margin-left: 0; margin-top: .4rem; border-radius: var(--r-md); text-align: center; justify-content: center; }

  /* ---- 1. 横幅の余白：画面端で16pxを下回らないようにする ---- */
  :root { --pad-x: 16px; }

  /* ---- 2. 縦の余白を詰める ---- */
  :root { --section-py: clamp(2rem, 7vw, 3.5rem); }
  .section-hd { margin-bottom: clamp(1.2rem, 5vw, 2rem); }
  .hero { min-height: auto; padding-top: calc(64px + 1.6rem); padding-bottom: 2.2rem; }
  .hero--akarisha,
  .hero--obento { min-height: auto; }
  .hero-body { margin-bottom: 1.6rem; }
  .cta-body { margin-bottom: 1.6rem; }

  /* stacked（1カラム）になったグリッド同士の余白を縦方向で詰める */
  .grid-2, .grid-3, .work-grid, .access-grid,
  .contact-cards, .office-cards {
    gap: 1.4rem !important;
  }
  .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .footer-bottom { flex-direction: column; gap: .4rem; text-align: center; }
  .site-footer { padding: 2.5rem 0 0; }

  /* ---- 3. カード・グリッドの並び ---- */
  .step-flow-h { grid-template-columns: 1fr; gap: 1.2rem; }

  /* 「よくあるご質問」等、数字順に読む3列カードは縦積みに統一 */
  .grid-3 { grid-template-columns: 1fr; }

  /* 3列アイコンカード（①②③ステップ等・インラインpaddingを上書き）：
     縦積み後に中身が間延びしないよう上下余白を控えめに詰める */
  .grid-3 .info-card { padding: 1.3rem 1.3rem !important; }
  .grid-3 .info-card > div:first-child { margin-bottom: .5rem !important; }

  /* 利用者の声・職員の声は既存のスライドショーと揃えて横スクロールに */
  .voices-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding-bottom: .6rem;
    -webkit-overflow-scrolling: touch;
  }
  .voices-grid > * {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }

  /* ---- 4. 見出し・本文の文字サイズ／改行 ---- */
  .hero-title { font-size: clamp(1.5rem, 7vw, 2.1rem); }
  /* 各下層ページのヒーロー見出し（インラインでclampが指定されている）を上書き */
  .hero .section-title { font-size: clamp(1.25rem, 5.6vw, 1.9rem) !important; }
  /* 各セクションの中見出しをスマホ幅に合わせて縮小（ヒーロー見出しは上の行が優先） */
  .section-title { font-size: clamp(1.2rem, 4.6vw, 1.65rem); }
  .cta-title { font-size: clamp(1.2rem, 4.6vw, 1.65rem); }
  .office-card__name { font-size: clamp(1.05rem, 4.2vw, 1.3rem); }

  /* 情報テーブルはラベル行＋内容行の縦積みにして、長いラベルの折り返し崩れを防ぐ
     （disclosure.html 等ページ側の埋め込みstyleより後に読み込まれるよう !important で確実に上書き） */
  .office-table tr,
  .key-info-table tr {
    display: flex !important;
    flex-direction: column !important;
    padding: .7rem 0 !important;
    border-bottom: 1px solid var(--border-light) !important;
  }
  .office-table th, .office-table td,
  .key-info-table th, .key-info-table td {
    display: block !important;
    width: auto !important;
    padding: 0 !important;
    border: none !important;
    white-space: normal !important;
  }
  .office-table th, .key-info-table th {
    background: none !important;
    font-size: .74rem !important;
    font-weight: 700 !important;
    margin-bottom: .25rem !important;
  }
  .office-table td, .key-info-table td { font-size: .88rem !important; }

  .step-v-item { grid-template-columns: 56px 1fr; gap: 1rem; }
  .step-v-num  { width: 56px; height: 56px; }
  .step-v-item:not(:last-child)::before { left: 27px; top: 58px; }
  .step-v-content { padding: 1.3rem 1.4rem; margin-bottom: 1.6rem; }

  .disclosure-block__head { padding: 1.1rem 1.4rem; font-size: 1rem; }
  .disclosure-block__body { padding: 1.3rem 1.4rem; }
  .disclosure-block { margin-bottom: 1.4rem; }

  .contact-card__head { padding: 1.5rem 1.4rem 1.3rem; }
  .contact-card__body { padding: 1.3rem 1.4rem; }

  .office-card__top { padding: 1.8rem 1.4rem 1.5rem; min-height: unset; }
  .office-card__body { padding: 1.2rem 1.4rem 1.5rem; }

  /* ---- 5. タイムライン（出勤日のスケジュール）：時刻を本文上の小ラベルに ---- */
  .schedule-item {
    grid-template-columns: 20px 1fr;
    column-gap: .9rem;
  }
  .schedule-time {
    grid-row: 1;
    grid-column: 2;
    text-align: left;
    font-size: .85rem;
    padding-top: 0;
    margin-bottom: .25rem;
  }
  .schedule-rail {
    grid-row: 1 / 3;
    grid-column: 1;
  }
  .schedule-content {
    grid-row: 2;
    grid-column: 2;
    padding-bottom: 1.6rem;
  }

  .work-card__head { padding: 1.2rem 1.4rem; }
  .work-card__body { padding: 0 1.4rem 1.4rem; }
  .info-card { padding: 1.4rem; }
  .voice-card { padding: 1.5rem 1.2rem; }
  .access-info-list { gap: 1rem; }
  .notice-box { padding: 1rem 1.2rem; }

  /* タップしやすいカルーセルのドット */
  .carousel__dots { gap: .7rem; }
  .carousel__dot {
    width: 8px;
    height: 8px;
    position: relative;
  }
  .carousel__dot::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 30px; height: 30px;
    transform: translate(-50%, -50%);
  }
  .carousel__arrow { width: 40px; height: 40px; }
}
