/* ==========================================================================
   料金一覧ページ - style.css
   行政書士法人Tree — Forest Green × Gold Premium Design
   ========================================================================== */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Brand Colors — Tree Green × Gold */
  --green-dark: #1a3329;
  --green: #2d4a3a;
  --green-mid: #3d6b52;
  --green-light: #4a8c65;
  --green-pale: #e8f0eb;
  --gold: #b5985a;
  --gold-light: #c9ad6e;
  --gold-pale: #f5eed9;
  --gold-glow: rgba(181, 152, 90, 0.15);

  /* Neutrals */
  --cream: #faf8f4;
  --cream-dark: #f2efe8;
  --white: #ffffff;
  --text-primary: #1a2e24;
  --text-secondary: #4a5d52;
  --text-light: #6b7d72;
  --border-color: #d8d2c8;
  --border-light: #e8e4dc;

  /* Typography */
  --font-sans: 'Noto Sans JP', sans-serif;
  --font-serif: 'Noto Serif JP', serif;

  /* Spacing */
  --section-padding: 64px 0;
  --container-padding: 0 20px;

  /* Shadows */
  --shadow-sm: 0 1px 4px rgba(26, 51, 41, 0.06);
  --shadow-md: 0 4px 20px rgba(26, 51, 41, 0.08);
  --shadow-lg: 0 8px 40px rgba(26, 51, 41, 0.10);
  --shadow-card: 0 2px 12px rgba(26, 51, 41, 0.06);
  --shadow-card-hover: 0 12px 40px rgba(26, 51, 41, 0.12);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  font-size: 16px;
  height: 100%;
  overflow: hidden;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--text-primary);
  background: var(--cream);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

a { color: inherit; text-decoration: none; transition: color var(--transition-fast); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ---------- Utility ---------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--container-padding);
}

/* Scroll animation */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: transform var(--transition-base), box-shadow var(--transition-base), background-color var(--transition-base);
  text-align: center;
  line-height: 1.4;
}

.btn--primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(181, 152, 90, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(181, 152, 90, 0.4);
}

.btn--green {
  background: linear-gradient(135deg, var(--green), var(--green-mid));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(45, 74, 58, 0.25);
}

.btn--green:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(45, 74, 58, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--green);
  border: 1.5px solid var(--border-color);
}

.btn--outline:hover {
  border-color: var(--green-mid);
  background: var(--green-pale);
  transform: translateY(-2px);
}

.btn--line {
  background: #06c755;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(6, 199, 85, 0.25);
}

.btn--line:hover {
  background: #05b34c;
  transform: translateY(-2px);
}

.btn--phone {
  background: var(--green-dark);
  color: var(--white);
}

.btn--phone:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(26, 51, 41, 0.3);
}

.btn--large {
  padding: 18px 40px;
  font-size: 1.05rem;
}

.btn i { font-size: 1.1em; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--white);
  transition: box-shadow var(--transition-base);
  transform: translate3d(0, 0, 0);
}

.header--scrolled {
  box-shadow: 0 1px 16px rgba(26, 51, 41, 0.08);
}

.header__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.header__logo img { height: 36px; width: auto; }

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.header__phone {
  display: none;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.header__phone i { color: var(--green-mid); }

.header__cta {
  padding: 8px 20px;
  font-size: 0.85rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--white);
  font-weight: 700;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.header__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(181, 152, 90, 0.35);
}

/* Hamburger */
.header__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1010;
  background: none;
  border: none;
}

.header__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  transition: transform var(--transition-base), opacity var(--transition-base);
  border-radius: 2px;
}

.header__hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.header__hamburger.active span:nth-child(2) { opacity: 0; }
.header__hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.header__mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transition: right var(--transition-base);
  z-index: 1005;
  padding: 80px 30px 30px;
  overflow-y: auto;
}

.header__mobile-menu.active { right: 0; }

.header__mobile-menu a {
  display: block;
  padding: 14px 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-light);
}

.menu-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(26, 51, 41, 0.45);
  z-index: 1004;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
  backdrop-filter: blur(2px);
}

.menu-overlay.active { opacity: 1; pointer-events: auto; }

/* ---------- Hero ---------- */
.hero-compact {
  position: relative;
  background: linear-gradient(160deg, var(--green-dark) 0%, var(--green) 40%, var(--green-mid) 100%);
  padding: 110px 0 48px;
  overflow: hidden;
  text-align: center;
}

/* Subtle leaf-like pattern overlay */
.hero-compact::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(181, 152, 90, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-compact::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-compact__container {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-compact__label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-compact__title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.hero-compact__subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.6;
}

.hero-compact__subtitle em {
  font-style: normal;
  color: var(--gold-light);
  font-weight: 700;
}

/* ==========================================================================
   Filter Bar
   ========================================================================== */
.filter-bar {
  position: sticky;
  top: 64px;
  z-index: 900;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--transition-base);
}

.filter-bar--shadow {
  box-shadow: 0 4px 16px rgba(26, 51, 41, 0.06);
}

.filter-bar__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.filter-bar__inner::-webkit-scrollbar { display: none; }

.filter-btn {
  flex-shrink: 0;
  padding: 6px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  background: var(--white);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.filter-btn:hover {
  border-color: var(--green-mid);
  color: var(--green);
  background: var(--green-pale);
}

.filter-btn--active {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.filter-btn--active:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-section {
  padding: var(--section-padding);
  background: var(--cream);
}

.pricing-section .container {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ---------- Price Card ---------- */
.price-card {
  width: 100%;
  max-width: 720px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base), opacity var(--transition-base);
  box-shadow: var(--shadow-card);
}

.price-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

/* Wide card spans full grid width */
.price-card--wide {
  grid-column: 1 / -1;
}

/* Filter hide/show animation */
.price-card--hidden {
  display: none;
}

.price-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  position: relative;
  overflow: hidden;
}

/* Decorative gold line */
.price-card__header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}

.price-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 1.2rem;
}

.price-card__title {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}

.price-card__desc {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

.price-card__body {
  padding: 24px 28px;
}

/* ---------- Price Table ---------- */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 14px;
}

.price-table thead th {
  padding: 10px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-light);
  background: var(--cream);
  text-align: left;
  border-bottom: 2px solid var(--border-light);
  letter-spacing: 0.04em;
}

.price-table thead th:last-child { text-align: right; }

.price-table tbody td {
  padding: 14px 16px;
  font-size: 0.88rem;
  color: var(--text-primary);
  border-bottom: 1px solid var(--cream-dark);
  vertical-align: middle;
}

.price-table tbody tr:last-child td { border-bottom: none; }

.price-table tbody tr {
  transition: background-color var(--transition-fast);
}

.price-table tbody tr:hover {
  background: var(--cream);
}

.price-table__group td {
  padding: 12px 16px 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green);
  border-bottom: 2px solid var(--green-pale);
  letter-spacing: 0.02em;
  background: none;
}

.price-table tbody tr:first-child.price-table__group td {
  padding-top: 4px;
}

.price-table__group + tr td {
  border-top: none;
}

.price-table__group--promo td {
  background: linear-gradient(135deg, rgba(151,122,60,0.12) 0%, rgba(181,152,90,0.07) 100%) !important;
  color: #8a6d2f !important;
  border-bottom: 2px solid rgba(151,122,60,0.3) !important;
  padding: 10px 16px 7px !important;
  font-size: 0.76rem;
}
.price-table__group--promo .promo-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px;
  background: linear-gradient(135deg, #8a6d2f 0%, var(--gold) 100%);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  letter-spacing: 0.06em;
  vertical-align: 2px;
}

/* promo料金行 */
.price-table__group--promo + tr td {
  background: rgba(151,122,60,0.05) !important;
}
.price-table__group--promo + tr .price-table__price {
  color: #8a6d2f;
}
.price-table__group--promo + tr .price-table__sub {
  color: #8a6d2f;
  font-weight: 500;
}

/* guarantee row */
.price-table__guarantee td {
  background: linear-gradient(135deg, rgba(181,152,90,0.12) 0%, rgba(201,173,110,0.06) 100%) !important;
  border-bottom: 1px solid rgba(181,152,90,0.25) !important;
}
.price-table__guarantee:hover td {
  background: rgba(181,152,90,0.16) !important;
}
.guarantee-badge {
  display: inline-block;
  margin-right: 7px;
  padding: 2px 9px;
  background: linear-gradient(135deg, #b5985a 0%, #c9ad6e 100%);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  letter-spacing: 0.08em;
  vertical-align: 1px;
}

.price-table__price {
  text-align: right;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--green);
  white-space: nowrap;
}

.price-table__sub {
  display: block;
  font-size: 0.72rem;
  color: var(--text-light);
  font-weight: 400;
  margin-top: 2px;
}

.price-tax {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.04em;
  margin-top: 1px;
}

.price-card__note {
  font-size: 0.76rem;
  color: var(--text-secondary);
  line-height: 1.8;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(45, 74, 58, 0.04) 0%, rgba(181, 152, 90, 0.06) 100%);
  border: 1px solid rgba(181, 152, 90, 0.15);
  border-radius: var(--radius-md);
}

/* ---------- Plan Detail Toggle ---------- */
.plan-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  padding: 4px 11px;
  background: var(--cream);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--green-mid);
  cursor: pointer;
  transition: all var(--transition-fast);
  line-height: 1.4;
}
.plan-toggle:hover {
  background: var(--green-pale);
  border-color: var(--green-mid);
  color: var(--green);
}
.plan-toggle i {
  font-size: 0.5rem;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.plan-toggle.open { background: var(--green-pale); border-color: var(--green-mid); color: var(--green); }
.plan-toggle.open i { transform: rotate(90deg); }

/* detail row: colspan=2 row below each plan */
.plan-detail-row td {
  padding: 0 !important;
  border-bottom: none !important;
  background: transparent !important;
}
.plan-detail-row:hover { background: none !important; }

.plan-detail {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
}
.plan-detail-row.open .plan-detail {
  opacity: 1;
}
.plan-detail-row.open td {
  padding-bottom: 6px !important;
}

.plan-detail__inner {
  margin: 0 12px;
  padding: 18px 22px 16px;
  background: linear-gradient(160deg, #f7f9f8 0%, #faf8f3 100%);
  border: 1px solid rgba(181,152,90,0.18);
  border-radius: var(--radius-md);
  box-shadow: inset 0 1px 3px rgba(26,51,41,0.04), 0 2px 8px rgba(26,51,41,0.03);
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.75;
  position: relative;
}
.plan-detail__inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 60%, transparent 100%);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.plan-detail__inner p { margin: 0 0 8px; }
.plan-detail__inner p:last-child { margin-bottom: 0; }
.plan-detail__inner strong {
  color: var(--green);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.plan-detail__list {
  flex-direction: column;
  list-style: none;
  margin: 6px 0 10px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 3px 18px;
}
.plan-detail__list li {
  font-size: 0.79rem;
  color: var(--text-primary);
  line-height: 1.7;
  font-weight: 400;
}
.plan-detail__list li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  vertical-align: 2px;
  flex-shrink: 0;
}

.plan-detail__inner .plan-highlight { color: var(--green); font-weight: 700; }
.plan-detail__inner .plan-caution {
  display: block;
  margin-top: 8px;
  padding: 8px 12px;
  background: rgba(192,57,43,0.04);
  border: 1px solid rgba(192,57,43,0.1);
  border-radius: 6px;
  color: #8b3a2f;
  font-weight: 500;
  font-size: 0.73rem;
  line-height: 1.7;
}

@media (max-width: 479px) {
  .plan-toggle { font-size: 0.63rem; padding: 3px 9px; }
  .plan-detail__inner { margin: 0 6px; padding: 14px 14px 12px; font-size: 0.75rem; }
  .plan-detail__list {
  flex-direction: column; gap: 2px 12px; }
  .plan-detail__list li { font-size: 0.73rem; }
  .plan-detail__inner .plan-caution { padding: 6px 10px; font-size: 0.7rem; }
}

/* ---------- Notes Section ---------- */
.notes-section {
  padding: 0 0 64px;
  background: var(--cream);
}

.notes-card {
  background: linear-gradient(160deg, var(--green-dark) 0%, var(--green) 100%);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}

.notes-card::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(181, 152, 90, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.notes-card__title {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  padding-bottom: 16px;
}

.notes-card__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.notes-card__title i {
  color: var(--gold);
}

.notes-card__list li {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.9;
  padding: 4px 0 4px 22px;
  position: relative;
}

.notes-card__list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 14px;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
}

.notes-card__list li strong {
  color: var(--white);
  font-weight: 700;
}

.notes-card__subtitle {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-light);
  margin: 20px 0 6px;
  padding-left: 2px;
  letter-spacing: 0.04em;
}

.notes-card__subtitle:first-of-type {
  margin-top: 8px;
}

.notes-group + .notes-group .notes-card__subtitle {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ---------- CTA Section ---------- */
.cta-section {
  padding: 64px 0;
  background: linear-gradient(160deg, var(--green-dark) 0%, var(--green) 50%, var(--green-mid) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(181, 152, 90, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-section .container { position: relative; z-index: 1; }

.cta-section__title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.cta-section__subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  margin-bottom: 32px;
}

.cta-section__buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  max-width: 400px;
  margin: 0 auto;
}

.cta-section__buttons .btn { width: 100%; }

.cta-section__hours {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 20px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--green-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 48px 0 100px;
}

.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer__logo { margin-bottom: 20px; }

.footer__logo img {
  width: auto;
  height: auto;
  max-width: 200px;
  filter: brightness(0) invert(1);
}

.footer__info { margin-bottom: 24px; }

.footer__detail {
  font-size: 0.85rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
}

.footer__detail a { color: var(--gold-light); }
.footer__detail a:hover { text-decoration: underline; }

.footer__group {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer__group-title {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 4px;
  font-size: 0.78rem;
}

.footer__map {
  width: 100%;
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
}

.footer__map iframe { width: 100%; height: 100%; border: none; }

.footer__copy {
  text-align: center;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ---------- Mobile Fixed Bar ---------- */
.mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  box-shadow: 0 -2px 16px rgba(26, 51, 41, 0.1);
  z-index: 999;
  display: flex;
  padding: 0;
  padding-bottom: env(safe-area-inset-bottom);
  transform: translate3d(0, 0, 0);
}

.mobile-bar__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 4px;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--white);
  gap: 2px;
  text-align: center;
  transition: opacity var(--transition-fast);
}

.mobile-bar__item:active { opacity: 0.8; }
.mobile-bar__item i { font-size: 1.1rem; }

.mobile-bar__item--phone { background: var(--green); }
.mobile-bar__item--line { background: #048343; }
.mobile-bar__item--mail { background: #8b7355; }

/* ==========================================================================
   Category Select Modal
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 51, 41, 0.55);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active { opacity: 1; }
.modal-overlay.hidden { display: none; }

.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(26, 51, 41, 0.25);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-overflow-scrolling: touch;
}

.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}

.modal__header {
  padding: 28px 28px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
  background: linear-gradient(160deg, var(--green-dark), var(--green));
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  position: relative;
}

.modal__header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}

.modal__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.modal__title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.5;
}

.modal__body {
  padding: 16px 24px 20px;
}

.modal__group-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.06em;
  margin: 10px 0 4px;
  padding-left: 2px;
}

.modal__group-label:first-child {
  margin-top: 0;
}

.modal__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.modal__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 8px 12px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--white);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-sans);
  text-align: center;
}

.modal__item:hover {
  border-color: var(--green-mid);
  background: var(--green-pale);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(45, 74, 58, 0.1);
}

.modal__item:active {
  transform: translateY(0);
  background: var(--green-pale);
}

.modal__item-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  border-radius: 50%;
  color: var(--gold-light);
  font-size: 0.9rem;
}

.modal__item-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
}

.modal__skip {
  display: block;
  width: 100%;
  padding: 16px;
  border: none;
  border-top: 1px solid var(--border-light);
  background: var(--cream);
  color: var(--text-light);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.modal__skip:hover {
  background: var(--cream-dark);
  color: var(--green);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (min-width: 480px) {
  .hero-compact__title { font-size: 2.6rem; }

  .cta-section__buttons {
    flex-direction: row;
    max-width: 700px;
  }

  .cta-section__buttons .btn { width: auto; flex: 1; }
}

@media (min-width: 768px) {
  :root {
    --section-padding: 80px 0;
    --container-padding: 0 32px;
  }

  .header__container { height: 72px; }
  .header__phone { display: flex; }
  .header__hamburger { display: none; }

  .filter-bar { top: 72px; }

  .filter-bar__inner {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-compact { padding: 120px 0 52px; }
  .hero-compact__title { font-size: 3rem; }

  .pricing-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .modal__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .cta-section__title { font-size: 2rem; }

  .footer__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer__map { height: 100%; min-height: 240px; }
  .mobile-bar { display: none; }
  .footer { padding-bottom: 48px; }
  .notes-section { padding-bottom: 80px; }
}

@media (min-width: 1024px) {
  .header__logo img { height: 40px; }
  .hero-compact__title { font-size: 3.2rem; }

  .pricing-section .container {
    gap: 28px;
  }
}

/* ---------- Small Mobile ---------- */
@media (max-width: 479px) {
  .hero-compact { padding: 100px 0 36px; }
  .hero-compact__title { font-size: 1.7rem; }
  .hero-compact__subtitle { font-size: 0.88rem; }

  .filter-btn { padding: 5px 10px; font-size: 0.72rem; }

  .price-card__header { padding: 18px 18px; gap: 12px; }
  .price-card__icon { width: 42px; height: 42px; font-size: 1rem; }
  .price-card__title { font-size: 1rem; }
  .price-card__body { padding: 18px 18px; }
  .price-table thead th { padding: 8px 12px; font-size: 0.72rem; }
  .price-table tbody td { padding: 10px 12px; font-size: 0.82rem; }
  .price-table__price { font-size: 0.95rem; }
  .modal__grid { grid-template-columns: repeat(2, 1fr); }
  .modal__item { padding: 10px 6px 8px; }
  .modal__item-icon { width: 32px; height: 32px; font-size: 0.8rem; }
  .modal__item-name { font-size: 0.75rem; }
  .modal__title { font-size: 1.02rem; }

  .notes-card { padding: 24px 20px; }
  .notes-card__title { font-size: 0.92rem; }
  .notes-card__list li { font-size: 0.8rem; }
  .price-card__note { padding: 12px 14px; font-size: 0.72rem; }

  .cta-section { padding: 48px 0; }
  .cta-section__title { font-size: 1.3rem; }
  .cta-section__subtitle { font-size: 0.85rem; }
  .cta-section__buttons .btn { font-size: 0.92rem; padding: 14px 24px; }

  .footer__detail { font-size: 0.8rem; }
}

/* ---------- Guarantee Block (card-level) ---------- */
.price-card__guarantee {
  margin: 16px 0 4px;
  padding: 18px 22px;
  background: linear-gradient(135deg, rgba(26,78,54,0.06) 0%, rgba(45,74,58,0.03) 100%);
  border: 1px solid rgba(45,74,58,0.12);
  border-radius: var(--radius-md);
}
.price-card__guarantee .guarantee-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  padding: 4px 14px;
  background: linear-gradient(135deg, var(--green) 0%, #3d6b52 100%);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  letter-spacing: 0.06em;
}
.price-card__guarantee p {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.8;
  color: #2d4a3a;
}

/* Note link */
.note-link { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.note-link:hover { color: var(--gold-light); }

/* 1番人気バッジ */
.popular-badge {
  display: inline-block;
  margin-right: 7px;
  padding: 2px 9px;
  background: linear-gradient(135deg, #b5985a 0%, #c9ad6e 100%);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  letter-spacing: 0.08em;
  vertical-align: 1px;
}
.price-table__popular td {
  background: rgba(181, 152, 90, 0.12);
}
