/* ===== Google Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&family=Noto+Sans+JP:wght@400;500;600;700&display=swap');

/* ===== Design Tokens ===== */
:root {
  --accent: #00A984;
  --accent-dark: #008a6c;
  --accent-deeper: #006e56;
  --accent-light: #e6f7f2;
  --accent-glow: rgba(0, 169, 132, .15);
  --bg: #f4f6f5;
  --surface: #ffffff;
  --ink: #1a1f24;
  --muted: #5b6670;
  --line: #e0e5e3;
  --shadow: 0 4px 24px rgba(0, 0, 0, .06);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, .10);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1100px;

  --h1: clamp(1.875rem, 4.5vw, 3.125rem);
  --h2: clamp(1.375rem, 3vw, 2.125rem);
  --h3: clamp(1rem, 2vw, 1.25rem);
  --lead: clamp(1.125rem, 2.2vw, 1.375rem);
  --body-size: 1rem;

  --font-body: 'Noto Sans JP', 'Inter', ui-sans-serif, -apple-system, "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --font-heading: 'Inter', 'Noto Sans JP', ui-sans-serif, -apple-system, sans-serif;

  --transition-fast: .2s cubic-bezier(.4, 0, .2, 1);
  --transition-mid: .35s cubic-bezier(.4, 0, .2, 1);
  --transition-slow: .5s cubic-bezier(.4, 0, .2, 1);
}

/* ===== Reset / Base ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth;
  font-size: 16px
}

body {
  font-family: var(--font-body);
  font-size: var(--body-size);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.85;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  transition: background var(--transition-mid), color var(--transition-mid);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition-fast)
}

a:hover {
  color: var(--accent-dark)
}

img {
  max-width: 100%;
  display: block
}

ul,
ol {
  list-style: none
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding: 0 24px
}

/* ===== Font Size Toggle ===== */
[data-font="md"] {
  font-size: 1rem
}

[data-font="lg"] {
  font-size: 1.15rem
}

[data-font="xl"] {
  font-size: 1.3rem
}

/* ===== やさしい配色モード (Calm Theme) ===== */
[data-theme="calm"] {
  --bg: #f0ebe4;
  --surface: #faf6f0;
  --ink: #2c2418;
  --muted: #6b5e4f;
  --line: #ddd5ca;
  --accent: #5a9a7a;
  --accent-dark: #48805e;
  --accent-light: #e8f0e8;
  --accent-glow: rgba(90, 154, 122, .15);
  --shadow: 0 4px 24px rgba(44, 36, 24, .08);
  --shadow-lg: 0 16px 48px rgba(44, 36, 24, .12);
}

[data-theme="calm"] header {
  background: rgba(250, 246, 240, .88);
}

[data-theme="calm"] .hero {
  background:
    radial-gradient(ellipse 900px 400px at 50% 20%, rgba(90, 154, 122, .12), transparent 70%),
    linear-gradient(180deg, #f0ebe4 0%, #f5f0e8 100%);
}

[data-theme="calm"] .page-header {
  background: linear-gradient(135deg, #f0ebe4 0%, #e8e0d6 50%, #f0ebe4 100%);
}

[data-theme="calm"] .icon {
  background: linear-gradient(135deg, #e8f0e8 0%, #dde8dd 100%);
  border-color: rgba(90, 154, 122, .15);
}

[data-theme="calm"] .kicker {
  background: rgba(90, 154, 122, .10);
  border-color: rgba(90, 154, 122, .25);
}

[data-theme="calm"] .salary {
  background: linear-gradient(135deg, rgba(90, 154, 122, .08) 0%, rgba(90, 154, 122, .03) 100%);
  border-color: rgba(90, 154, 122, .20);
}

/* ===== Header ===== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  transition: box-shadow var(--transition-mid), background var(--transition-mid);
}

header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, .08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  font-size: 20px;
  font-family: var(--font-heading);
  letter-spacing: .02em;
  text-decoration: none;
}

.logo:hover {
  color: var(--accent);
  text-decoration: none
}

.logo img {
  width: 32px;
  height: 32px
}

nav ul {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0
}

nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .03em;
  padding: 8px 14px;
  border-radius: 10px;
  transition: all var(--transition-fast);
  text-decoration: none;
}

nav a:hover {
  background: var(--accent-light);
  color: var(--accent);
  text-decoration: none
}

nav a.active {
  background: var(--accent);
  color: #fff
}

.hamb {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
  color: var(--ink);
  transition: background var(--transition-fast);
}

.hamb:hover {
  background: var(--accent-light)
}

.hamb:focus {
  outline: 3px solid var(--accent);
  outline-offset: 2px
}

/* Mobile nav */
@media (max-width: 860px) {
  nav {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(0, 0, 0, .5);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-mid), visibility var(--transition-mid);
  }

  nav.open {
    opacity: 1;
    visibility: visible
  }

  nav ul {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 280px;
    max-width: 80vw;
    flex-direction: column;
    gap: 4px;
    padding: 80px 24px 32px;
    background: var(--surface);
    box-shadow: -8px 0 40px rgba(0, 0, 0, .12);
    transform: translateX(100%);
    transition: transform var(--transition-mid);
  }

  nav.open ul {
    transform: translateX(0)
  }

  nav a {
    font-size: 16px;
    padding: 14px 16px
  }

  .hamb {
    display: flex;
    align-items: center;
    justify-content: center
  }
}

/* ===== Page Header (sub pages) ===== */
.page-header {
  background: linear-gradient(135deg, #f0faf6 0%, #e8f4f0 50%, #f4f6f5 100%);
  border-bottom: 1px solid var(--line);
  padding: 48px 0 40px;
  position: relative;
  overflow: hidden;
  transition: background var(--transition-mid);
}

.page-header::before {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
}

.page-header .section-title {
  font-family: var(--font-heading);
  font-size: clamp(12px, 1.8vw, 14px);
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--accent);
  text-transform: uppercase;
  margin: 0 0 4px;
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: var(--h2);
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}

/* ===== Hero (Home) ===== */
.hero {
  position: relative;
  min-height: 85dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ink);
  overflow: hidden;
  background:
    radial-gradient(ellipse 900px 400px at 50% 20%, rgba(0, 169, 132, .10), transparent 70%),
    radial-gradient(ellipse 600px 300px at 80% 80%, rgba(0, 169, 132, .06), transparent 70%),
    linear-gradient(180deg, #f0faf6 0%, var(--bg) 100%);
  transition: background var(--transition-mid);
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero__img.loaded {
  opacity: 0.15;
}

/* 画像が読み込まれたら表示（少し薄めに） */

.hero__inner {
  position: relative;
  padding: 40px 20px;
  max-width: 700px;
}

.kicker {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(0, 169, 132, .08);
  color: var(--accent);
  border: 1px solid rgba(0, 169, 132, .20);
  border-radius: 999px;
  font-weight: 700;
  font-size: clamp(11px, 1.5vw, 13px);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
  transition: background var(--transition-mid), border-color var(--transition-mid), color var(--transition-mid);
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: var(--h1);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 16px;
  letter-spacing: -.01em;
}

.hero p {
  color: var(--muted);
  font-size: var(--lead);
  line-height: 1.7;
  margin: 0 0 32px;
}

.down {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-weight: 600;
  color: var(--ink);
  font-size: 14px;
  transition: all var(--transition-fast);
}

.down:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--accent);
}

/* ===== Sections ===== */
section {
  scroll-margin-top: 80px;
  padding: 72px 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--h2);
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -.01em;
}

.sub {
  color: var(--muted);
  margin: 0 0 24px;
  font-size: .9375rem;
}

/* ===== Grid ===== */
.grid {
  display: grid;
  gap: 20px
}

.grid.cols-3 {
  grid-template-columns: repeat(3, 1fr)
}

.grid.cols-2 {
  grid-template-columns: repeat(2, 1fr)
}

@media (max-width: 860px) {
  .grid.cols-3 {
    grid-template-columns: 1fr 1fr
  }
}

@media (max-width: 640px) {

  .grid.cols-3,
  .grid.cols-2 {
    grid-template-columns: 1fr
  }
}

/* ===== Cards ===== */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 18px;
  align-items: center;
  color: inherit;
  box-shadow: var(--shadow);
  transition: all var(--transition-mid);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  opacity: 0;
  background: linear-gradient(135deg, rgba(0, 169, 132, .04) 0%, transparent 60%);
  transition: opacity var(--transition-mid);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 169, 132, .25);
}

.card:hover::after {
  opacity: 1
}

.card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  /* size down from var(--h3) to fit in one line */
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: .875rem
}

.icon {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, #eef7f3 0%, #e2f0ea 100%);
  border: 1px solid rgba(0, 169, 132, .12);
  display: grid;
  place-items: center;
  transition: transform var(--transition-fast), background var(--transition-mid);
}

.card:hover .icon {
  transform: scale(1.05)
}

.icon img {
  width: 55%;
  height: 55%
}

/* ===== Rep message ===== */
.rep {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.rep::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent) 0%, rgba(0, 169, 132, .2) 100%);
}

@media (max-width:640px) {
  .rep {
    grid-template-columns: 1fr;
    padding: 24px
  }
}

.avatar {
  width: 180px;
  height: 180px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #eef7f3 0%, #e2f0ea 100%);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .875rem;
  letter-spacing: .03em;
  background: var(--accent);
  color: #fff;
  border: none;
  box-shadow: 0 4px 16px rgba(0, 169, 132, .25);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn:hover {
  background: var(--accent-dark);
  box-shadow: 0 8px 28px rgba(0, 169, 132, .35);
  transform: translateY(-2px);
  text-decoration: none;
  color: #fff;
}

.btn.alt {
  background: var(--surface);
  color: var(--accent);
  border: 2px solid var(--accent);
  box-shadow: var(--shadow);
}

.btn.alt:hover {
  background: var(--accent-light);
  box-shadow: var(--shadow-lg);
  color: var(--accent-dark);
}

.btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

/* ===== Lead phrase / detail ===== */
.lead-phrase {
  font-size: var(--lead);
  padding: 16px 20px;
  border-left: 4px solid var(--accent);
  background: linear-gradient(90deg, var(--accent-light) 0%, transparent 100%);
  color: var(--ink);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  line-height: 1.7;
}

.philo {
  font-family: var(--font-heading);
  font-size: var(--lead);
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 16px;
  letter-spacing: .02em;
}

.detail .section-title {
  margin-bottom: 14px
}

.muted {
  color: var(--muted)
}

.other-services {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.other-services h4 {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--muted);
  letter-spacing: .03em;
}

/* ===== Definition List ===== */
.dl {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 14px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.dl dt {
  color: var(--accent-dark);
  font-weight: 700;
  font-size: .875rem;
  letter-spacing: .02em
}

.dl dd {
  margin: 0;
  color: var(--ink)
}

@media (max-width: 640px) {
  .dl {
    grid-template-columns: 1fr
  }
}

/* ===== Map ===== */
.map {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ===== Salary ===== */
.salary {
  background: linear-gradient(135deg, rgba(0, 169, 132, .06) 0%, rgba(0, 169, 132, .02) 100%);
  border: 1px solid rgba(0, 169, 132, .18);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: background var(--transition-mid), border-color var(--transition-mid);
}

.salary::before {
  content: '';
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
}

/* ===== Footer ===== */
footer {
  padding: 40px 0 32px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  color: var(--ink);
  transition: background var(--transition-mid);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-info {
  flex: 1;
  min-width: 200px
}

.footer-info p {
  margin: 0;
  font-size: .875rem;
  line-height: 1.8;
  color: var(--muted)
}

.footer-info .footer-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 8px;
  font-family: var(--font-heading);
}

.footer-copy {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer-copy p {
  margin: 0
}

footer .fine {
  color: var(--muted);
  font-size: .8125rem
}

/* ===== Toolbar (Accessibility) ===== */
.toolbar {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  display: flex;
  gap: 8px;
  flex-direction: column;
}

.toolbtn {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  box-shadow: var(--shadow);
  font-size: .8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.toolbtn:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  color: var(--accent);
}

.toolbtn:active {
  transform: scale(.97);
}

.toolbtn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ===== Skip link ===== */
.skip {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden
}

.skip:focus {
  position: fixed;
  left: 12px;
  top: 12px;
  width: auto;
  height: auto;
  padding: 10px 16px;
  background: var(--accent);
  color: #fff;
  z-index: 1000;
  border-radius: var(--radius-sm);
  font-weight: 700;
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto
  }

  .card:hover {
    transform: none
  }

  .btn:hover {
    transform: none
  }

  .down:hover {
    transform: none
  }

  .fade-in {
    opacity: 1 !important;
    transform: none !important
  }

  .hero__img {
    transition: none
  }
}

/* ===== Breakpoint helpers ===== */
br.br-pc {
  display: none;
}

br.br-sp {
  display: inline;
}

@media (min-width: 861px) {
  br.br-pc {
    display: inline;
  }

  br.br-sp {
    display: none;
  }
}

.nobr {
  white-space: nowrap;
}

/* ===== CAREER card layout ===== */
body[data-page="career"] .grid.cols-3 .dl {
  grid-template-columns: 1fr;
  align-content: start;
}

body[data-page="career"] .grid.cols-3 .dl dt {
  margin-bottom: 6px;
  font-size: .9375rem;
  color: var(--accent);
  padding-bottom: 6px;
  border-bottom: 2px solid var(--accent-light);
}

body[data-page="career"] .grid.cols-3 .dl dd {
  margin: 0
}

body[data-page="career"] .grid.cols-3 .dl dd strong {
  display: inline-block;
  margin-bottom: 4px;
}

/* ===== Scroll animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .6s cubic-bezier(.4, 0, .2, 1), transform .6s cubic-bezier(.4, 0, .2, 1);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation delays for cards */
.card[data-delay="1"] {
  transition-delay: .1s
}

.card[data-delay="2"] {
  transition-delay: .2s
}

.card[data-delay="3"] {
  transition-delay: .3s
}

.card[data-delay="4"] {
  transition-delay: .4s
}

.card[data-delay="5"] {
  transition-delay: .5s
}

/* ===== Service detail page styling ===== */
.detail-hero {
  padding: 32px 0 0;
}

.detail-hero .card {
  border: none;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--surface) 100%);
  box-shadow: none;
  padding: 28px 32px;
}

.detail-hero .card:hover {
  transform: none;
  box-shadow: none
}

.detail-content {
  padding: 0;
}

.detail-content p {
  margin: 0 0 16px;
  line-height: 1.9;
}

.detail-content h3.section-title {
  margin-top: 32px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent-light);
  display: inline-block;
}

/* ===== Image Utilities ===== */
.img-radius {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 32px;
  box-shadow: var(--shadow);
}

@media (min-width: 860px) {

  .detail-image {
    height: 400px;
  }
}

/* =========================================
   CAREER Page Styles (Original Content Restore)
   ========================================= */

.career-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.career-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.career-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.career-item dl {
  margin: 0;
}

.career-item dt {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  display: block;
}

.career-item dd {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
  margin: 0;
}

.salary-info {
  background-color: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  margin-top: 40px;
  box-shadow: var(--shadow);
}

.salary-info h3.section-title {
  font-size: 1.5rem;
  margin-bottom: 24px;
  padding-left: 16px;
  border-left: 6px solid var(--primary);
  display: block;
}

.salary-info p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.salary-info strong {
  color: var(--primary);
  font-weight: 700;
  background: rgba(0, 169, 132, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
}


/* =========================================
   Accordion Styles (Using <details> & <summary>)
   ========================================= */

details.accordion {
  border: 1px solid var(--line);
  border-radius: 12px;
  background-color: #f9f9f9;
  overflow: hidden;
  transition: all 0.3s ease;
  margin-top: 16px;
}

details.accordion[open] {
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

summary.accordion-header {
  list-style: none;
  /* Hide default marker */
  padding: 16px 20px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--primary);
  background-color: rgba(0, 169, 132, 0.05);
  transition: background-color 0.2s;
}

summary.accordion-header::-webkit-details-marker {
  display: none;
}

summary.accordion-header:hover {
  background-color: rgba(0, 169, 132, 0.1);
}

summary.accordion-header::after {
  content: '+';
  font-size: 1.2rem;
  font-weight: 400;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

details.accordion[open] summary.accordion-header::after {
  content: '−';
  /* or just rotate the + */
  transform: rotate(0deg);
  /* if using rotate on + */
}

/* Optional: Rotate animation for + icon */
/* 
summary.accordion-header::after {
  content: url('data:image/svg+xml;utf8,<svg ...>'); 
  ...
}
*/

.accordion-content {
  padding: 20px;
  border-top: 1px solid var(--line);
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.example-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
}

.example-box:last-child {
  margin-bottom: 0;
}

.example-box h4 {
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1rem;
  font-weight: 700;
}

.example-box ul {
  margin: 0;
  padding-left: 1.2em;
}

.example-box li {
  margin-bottom: 4px;
  line-height: 1.6;
}

/* ===== Table Responsiveness ===== */
@media (max-width: 640px) {
  .cost-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    border: 0;
  }
}