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

:root {
  /* ── Colors: Green Palette ── */
  --color-primary: #0D3B2E;        /* Deep Forest Green: Trust & Authority */
  --color-primary-light: #1A5C46;  /* Muted Forest Green */
  --color-accent: #2E8B57;         /* Sea Green: Action & Nature */
  --color-accent-hover: #1F6B42;   /* Darker Sea Green for hover */
  --color-accent-light: #D1FAE5;   /* Pale Mint: Subtle highlights */
  --color-accent-xlight: #ECFDF5;  /* Near-white Mint: backgrounds */
  --color-gradient-start: #0D3B2E;
  --color-gradient-end: #1A5C46;
  --color-text-main: #1E3A2E;
  --color-text-light: #4D7B68;
  --color-bg-main: #F0FDF4;        /* Very light mint background */
  --color-bg-card: #FFFFFF;
  --color-border: #A7F3D0;

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

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;

  /* Shadow & Radius */
  --shadow-sm: 0 1px 2px 0 rgb(13 59 46 / 0.06);
  --shadow-md: 0 4px 6px -1px rgb(13 59 46 / 0.12), 0 2px 4px -2px rgb(13 59 46 / 0.08);
  --shadow-lg: 0 10px 15px -3px rgb(13 59 46 / 0.12), 0 4px 6px -4px rgb(13 59 46 / 0.08);
  --shadow-glow: 0 0 24px rgba(46, 139, 87, 0.45);
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.5rem;
  --radius-full: 9999px;

  /* Animation */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text-main);
  background-color: var(--color-bg-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =====================
   Layout
   ===================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-lg) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--color-accent);
  border-radius: var(--radius-full);
}

.section-subtitle {
  color: var(--color-text-light);
  font-size: 1.125rem;
  margin-top: var(--space-sm);
}

/* =====================
   Buttons
   ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1.125rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--color-accent);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: white;
}

.btn-block {
  width: 100%;
  margin-bottom: 0.5rem;
}

/* =====================
   Header / Nav
   ===================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(240, 253, 244, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border-bottom: 1px solid var(--color-border);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: var(--space-md);
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  color: var(--color-primary);
  font-size: 1rem;
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width var(--transition-fast);
}

.nav-links a:hover {
  color: var(--color-accent);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: none;
}

/* =====================
   Hero Section
   ===================== */
.hero {
  min-height: 80vh;
  padding-top: 80px;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, var(--color-accent-xlight) 0%, var(--color-bg-card) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-accent-light) 0%, rgba(240, 253, 244, 0) 70%);
  z-index: 0;
  opacity: 0.7;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-accent-light) 0%, rgba(240, 253, 244, 0) 70%);
  z-index: 0;
  opacity: 0.4;
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: var(--space-sm);
  color: var(--color-primary);
  line-height: 1.2;
}

.hero-highlight {
  color: var(--color-accent);
}

.hero-content p {
  font-size: 1.125rem;
  color: var(--color-text-main);
  margin-bottom: var(--space-md);
  max-width: 500px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
  border: 3px solid var(--color-accent-light);
}

.hero-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: white;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--color-accent-light);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: float 3s ease-in-out infinite;
}

.hero-cert-logo {
  height: 48px;
  width: auto;
}

.hero-cert-logo-srp {
  height: 68px; /* SRP画像は認証番号テキスト込みのため大きめに設定 */
}

.hero-badge-divider {
  width: 1px;
  height: 36px;
  background: var(--color-border);
  flex-shrink: 0;
}

@keyframes float {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* =====================
   Features / Services
   ===================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.feature-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.feature-card .btn {
  margin-top: auto;
}

.feature-card .btn + .btn {
  margin-top: 0;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-primary-light));
  transition: height var(--transition-normal);
  z-index: -1;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.feature-card:hover::before {
  height: 100%;
  opacity: 0.06;
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: var(--color-accent-light);
  color: var(--color-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: var(--space-md);
  transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon {
  background: var(--color-accent);
  color: white;
  transform: scale(1.1) rotate(5deg);
}

.feature-img {
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  object-fit: cover;
  height: 200px;
  width: 100%;
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
  color: var(--color-primary);
}

.feature-note {
  font-size: 0.9rem;
  color: var(--color-accent);
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.feature-price {
  font-size: 1.25rem;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.feature-desc {
  color: var(--color-text-main);
  margin-bottom: var(--space-md);
}

.feature-list {
  list-style: none;
  margin-bottom: var(--space-md);
}

.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-text-main);
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
}

.feature-sub {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-top: 0.5rem;
  margin-bottom: var(--space-sm);
}

/* =====================
   Price CTA Banner
   ===================== */
.price-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  padding: var(--space-md) 0;
}

.price-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.price-banner-text {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  color: white;
}

.price-banner-icon {
  font-size: 2.5rem;
  color: var(--color-accent-light);
  flex-shrink: 0;
}

.price-banner-text h3 {
  color: white;
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}

.price-banner-text p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  margin: 0;
}

.price-banner-btn {
  background: white;
  color: var(--color-accent);
  border: 2px solid white;
  font-size: 1.1rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.price-banner-btn:hover {
  background: var(--color-accent-light);
  color: var(--color-accent-hover);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .price-banner-inner {
    flex-direction: column;
    text-align: center;
  }

  .price-banner-text {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .price-banner-btn {
    width: 100%;
  }
}

/* =====================
   Blog / News Section
   ===================== */
.blog-section {
  background-color: var(--color-accent-xlight);
}

.blog-more {
  text-align: center;
  margin-top: var(--space-md);
  padding-bottom: 2rem;
}

.blog-card {
  text-decoration: none;
}

.blog-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}

.blog-date {
  font-size: 0.85rem;
  color: var(--color-accent);
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.blog-title {
  font-size: 1.15rem;
  line-height: 1.5;
}

.feed-error {
  text-align: center;
  width: 100%;
  padding: var(--space-lg) 0;
  color: var(--color-text-light);
}

.feed-error-icon {
  font-size: 2.5rem;
  color: var(--color-border);
  display: block;
  margin-bottom: var(--space-sm);
}

.feed-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: var(--space-lg) 0;
}

.feed-loading-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent);
  animation: feedDotBounce 1.2s infinite ease-in-out;
}

.feed-loading-dot:nth-child(2) { animation-delay: 0.2s; }
.feed-loading-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes feedDotBounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40%           { transform: scale(1);   opacity: 1;   }
}

/* =====================
   About Section
   ===================== */
.about {
  background: linear-gradient(135deg, var(--color-gradient-start) 0%, var(--color-gradient-end) 100%);
  color: white;
  padding: var(--space-xl) 0;
}

.about .section-title {
  color: white;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(161, 243, 208, 0.3);
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: top;
}

.about-content h3 {
  color: white;
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.about-content p {
  color: #A7DFC4;
  font-size: 1.125rem;
  margin-bottom: var(--space-md);
}

/* Social Links */
.social-links {
  display: flex;
  gap: 15px;
  margin-bottom: var(--space-md);
  font-size: 1.5rem;
}

.social-link {
  color: white;
  opacity: 0.7;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

.social-link:hover {
  opacity: 1;
  color: var(--color-accent-light);
}

/* Certifications */
.cert-grid {
  display: flex;
  flex-wrap: nowrap;       /* 常に横並び */
  flex-direction: row;
  gap: 1.5rem;
  align-items: flex-start; /* 上揃え（高さ違いでもずれない） */
  margin-top: var(--space-md);
  background: rgba(255, 255, 255, 0.08);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
}

.cert-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start; /* ロゴと文字を上揃え */
  gap: 0.75rem;
  flex: 1;                 /* 等幅 */
}

.cert-item + .cert-item {
  padding-left: 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.cert-logo {
  height: 64px;
  width: auto;
  flex-shrink: 0;
}

.cert-logo-srp {
  height: 78px; /* SRP画像は認証番号テキスト込みのため大きめに設定（印章部分を揃える） */
}

.cert-item p {
  margin: 0;
  font-size: 0.9rem;
  color: white;
  font-weight: 600;
  line-height: 1.5;
}

/* =====================
   Contact Info Cards
   ===================== */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  background: white;
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  margin-top: -80px;
  position: relative;
  z-index: 10;
}

.contact-card {
  text-align: center;
  padding: var(--space-sm);
}

.contact-card i {
  font-size: 2rem;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
  display: block;
}

.contact-card h4 {
  margin-bottom: var(--space-xs);
  color: var(--color-primary);
}

.contact-card-text {
  color: var(--color-text-light);
}

.contact-card-tel {
  color: var(--color-text-light);
  font-weight: bold;
  font-size: 1.2rem;
}

/* =====================
   Contact Banner CTA
   ===================== */
.contact-banner {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary-light) 100%);
  padding: var(--space-lg) 0;
  text-align: center;
  color: white;
}

.contact-banner h2 {
  color: white;
  margin-bottom: var(--space-sm);
}

.contact-container {
  position: relative;
}

.mascot-img {
  width: 150px;
  display: block;
  margin: 0 auto -20px auto;
  position: relative;
  z-index: 1;
}

.contact-inner {
  background: rgba(255, 255, 255, 0.12);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 2;
}

.contact-lead {
  margin-bottom: var(--space-md);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.9);
}

.contact-btns {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

.contact-btn-form {
  background: white;
  color: var(--color-accent);
  border: 2px solid white;
  font-size: 1.25rem;
}

.contact-btn-form:hover {
  background: var(--color-accent-light);
  color: var(--color-accent-hover);
  transform: translateY(-2px);
}

.contact-btn-email {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border: 2px solid white;
  font-size: 1.25rem;
}

.contact-btn-email:hover {
  background: rgba(255, 255, 255, 0.25);
  color: white;
  transform: translateY(-2px);
}

.contact-note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  opacity: 0.75;
}

/* =====================
   Footer
   ===================== */
.footer {
  background: linear-gradient(180deg, var(--color-primary) 0%, #071D17 100%);
  color: #A7DFC4;
  padding: var(--space-lg) 0 var(--space-sm);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-desc {
  max-width: 400px;
  margin-bottom: var(--space-md);
}

.footer-links-title {
  color: white;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a:hover {
  color: var(--color-accent-light);
}

.footer-ext-icon {
  font-size: 0.8em;
  margin-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.875rem;
  color: #5B9B80;
}

/* =====================
   Safety Page
   ===================== */

/* Hero */
.page-hero.safety-hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
}

.page-hero.safety-hero::before {
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, rgba(13,59,46,0) 70%);
  opacity: 1;
}

.page-hero.safety-hero .page-hero-label {
  background: rgba(255,255,255,0.15);
  color: var(--color-accent-light);
}

.page-hero.safety-hero h1 {
  color: white;
  font-size: 3.5rem;
}

.page-hero.safety-hero p {
  color: rgba(255,255,255,0.82);
  font-size: 1.1rem;
}

.safety-hero-btn {
  margin-top: var(--space-md);
  font-size: 1.2rem;
  padding: 1.1rem 2.5rem;
}

/* Stats Banner */
.stats-banner {
  background: var(--color-primary);
  padding: var(--space-md) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  align-items: center;
  gap: 0;
}

.stat-item {
  text-align: center;
  color: white;
  padding: var(--space-sm) var(--space-md);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--color-accent-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-sup {
  font-size: 1.3rem;
  font-weight: 700;
}

.stat-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.stat-divider {
  width: 1px;
  height: 56px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 auto;
}

/* Risk Cards */
.risk-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.risk-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.risk-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}

.risk-card-accent {
  border-left: 4px solid var(--color-accent);
}

.risk-card-dark {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.risk-card-dark h3 {
  color: white;
}

.risk-card-dark p {
  color: rgba(255, 255, 255, 0.8);
}

.risk-card-dark strong {
  color: var(--color-accent-light);
}

.risk-card-icon {
  font-size: 1.75rem;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.risk-card-dark .risk-card-icon {
  color: var(--color-accent-light);
}

.risk-card h3 {
  font-size: 1.05rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.risk-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin: 0;
}

/* Case Studies */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.case-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}

.case-card-highlight {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.case-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.case-year {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text-light);
}

.case-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.case-tag-mental {
  background: #FEF3C7;
  color: #92400E;
}

.case-tag-physical {
  background: var(--color-accent-light);
  color: var(--color-accent-hover);
}

.case-title {
  font-size: 1rem;
  color: var(--color-primary);
  line-height: 1.4;
  margin: 0 0 0.5rem;
}

.case-desc {
  font-size: 0.875rem;
  color: var(--color-text-light);
  line-height: 1.6;
  flex: 1;
  margin: 0 0 var(--space-sm);
}

.case-amount {
  font-size: 0.9rem;
  color: var(--color-text-main);
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border);
}

.case-amount strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--color-accent);
}

.risk-note-icon {
  font-size: 2rem;
  color: var(--color-accent-light);
  margin-bottom: var(--space-sm);
  display: block;
}

.case-card-highlight .case-title {
  color: white;
  font-size: 1.1rem;
}

.case-note-list {
  list-style: none;
  margin: 0 0 var(--space-sm);
  flex: 1;
}

.case-note-list li {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  padding: 0.4rem 0 0.4rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.case-note-list li:last-child {
  border-bottom: none;
}

.case-note-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent-light);
  font-size: 0.85rem;
}

.case-note-text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.case-note-text strong {
  color: var(--color-accent-light);
}

/* Light variant for normal-bg cards */
.case-note-list-light {
  list-style: none;
  margin: 0 0 var(--space-sm);
  flex: 1;
}

.case-note-list-light li {
  color: var(--color-text-main);
  font-size: 0.9rem;
  padding: 0.4rem 0 0.4rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  position: relative;
}

.case-note-list-light li:last-child {
  border-bottom: none;
}

.case-note-list-light li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-size: 0.85rem;
}

.case-note-text-light {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin: 0;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-border);
}

.case-note-text-light strong {
  color: var(--color-accent);
}

/* Responsive – safety */
@media (max-width: 992px) {
  .page-hero.safety-hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .stat-divider {
    width: 60px;
    height: 1px;
    margin: 0 auto;
  }

  .risk-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================
   Nav Active State
   ===================== */
.nav-active {
  color: var(--color-accent) !important;
}

.nav-active::after {
  width: 100% !important;
}

/* =====================
   Page Hero（料金表等サブページ）
   ===================== */
.page-hero {
  padding: calc(80px + var(--space-lg)) 0 var(--space-lg);
  background: linear-gradient(135deg, var(--color-accent-xlight) 0%, var(--color-bg-card) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-accent-light) 0%, rgba(240, 253, 244, 0) 70%);
  opacity: 0.6;
}

.page-hero-container {
  position: relative;
  z-index: 1;
}

.page-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  background: var(--color-accent-light);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
}

.page-hero h1 {
  font-size: 3rem;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 560px;
  margin: 0 auto;
}

/* =====================
   Pricing Cards（顧問契約）
   ===================== */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  align-items: stretch;
}

.price-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-border);
  box-shadow: var(--shadow-md);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

/* ── おすすめカード：ダークグリーン背景で縦に大きく ── */
.price-card-featured {
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
  margin-top: -1.25rem;
  margin-bottom: -1.25rem;
  padding-top: calc(var(--space-md) + 1.25rem);
  padding-bottom: calc(var(--space-md) + 1.25rem);
  z-index: 1;
}

.price-card-featured:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px -8px rgb(13 59 46 / 0.35);
  border-color: var(--color-accent);
}

.price-card-badge {
  display: block;
  text-align: center;
  background: var(--color-accent);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 1.25rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  margin: 0 auto var(--space-md);
  width: fit-content;
}

.price-card-header {
  text-align: center;
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-md);
}

.price-card-featured .price-card-header {
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.price-card-icon {
  width: 56px;
  height: 56px;
  background: var(--color-accent-light);
  color: var(--color-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto var(--space-sm);
}

.price-card-featured .price-card-icon {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}

.price-card-name {
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
  line-height: 1.4;
}

.price-card-featured .price-card-name {
  color: white;
}

.price-card-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-accent);
}

.price-card-featured .price-amount {
  color: var(--color-accent-light);
}

.price-unit {
  font-size: 0.95rem;
  color: var(--color-text-light);
  font-weight: 500;
}

.price-card-featured .price-unit {
  color: rgba(255, 255, 255, 0.65);
}

.price-card-note {
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin: 0;
}

.price-card-featured .price-card-note {
  color: rgba(255, 255, 255, 0.6);
}

.price-feature-list {
  list-style: none;
  margin-bottom: var(--space-md);
  flex: 1;
}

.price-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-accent-xlight);
  font-size: 0.95rem;
  color: var(--color-text-main);
}

.price-card-featured .price-feature-list li {
  border-bottom-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}

.price-feature-list li:last-child {
  border-bottom: none;
}

.price-feature-list i {
  color: var(--color-accent);
  margin-top: 3px;
  flex-shrink: 0;
}

.price-card-featured .price-feature-list i {
  color: var(--color-accent-light);
}

/* =====================
   Spot Cards（スポット業務）
   ===================== */
.spot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

/* 奇数枚目の最後のカードを全幅に */
.spot-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.spot-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  padding: var(--space-md);
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  transition: all var(--transition-normal);
}

.spot-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
  transform: translateY(-3px);
}

.spot-card-icon {
  width: 48px;
  height: 48px;
  background: var(--color-accent-light);
  color: var(--color-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.spot-card-body {
  flex: 1;
}

.spot-card-body h4 {
  font-size: 1.05rem;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

.spot-card-body p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin: 0 0 0.35rem;
}

.spot-card-note {
  font-size: 0.8rem;
  color: var(--color-accent);
  font-weight: 600;
}

.spot-card-price {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-accent);
  text-align: right;
  min-width: 120px;
  flex-shrink: 0;
  line-height: 1.5;
  align-self: center;
}

.spot-card-price small {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--color-text-light);
  display: block;
}

/* =====================
   Option Cards（オプション）
   ===================== */
.option-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.option-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  padding: var(--space-md) var(--space-sm);
  text-align: center;
  transition: all var(--transition-normal);
}

.option-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
  transform: translateY(-3px);
}

.option-icon {
  font-size: 2rem;
  color: var(--color-accent);
  display: block;
  margin-bottom: var(--space-sm);
}

.option-card h4 {
  font-size: 0.95rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.option-price {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-accent);
}

/* =====================
   Disclaimer
   ===================== */
.disclaimer-section {
  background-color: var(--color-accent-xlight);
}

.disclaimer-box {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  padding: var(--space-md);
}

.disclaimer-box h4 {
  color: var(--color-primary);
  font-size: 1rem;
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.disclaimer-box h4 i {
  color: var(--color-accent);
}

.disclaimer-box ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.disclaimer-box ul li {
  font-size: 0.875rem;
  color: var(--color-text-light);
  padding-left: 1.25rem;
  position: relative;
}

.disclaimer-box ul li::before {
  content: '・';
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

/* =====================
   Animations
   ===================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================
   Responsive
   ===================== */
@media (max-width: 992px) {
  .hero-container,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    text-align: center;
    order: 1;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image-wrapper {
    order: 2;
    max-width: 600px;
    margin: 0 auto;
  }

  .hero::before {
    top: -10%;
    right: -20%;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .cert-item + .cert-item {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 1rem;
    border-top: none;
    padding-top: 0;
  }
}

/* =====================
   Mobile Nav
   ===================== */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 1100;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(10.5px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-10.5px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  background: rgba(240, 253, 244, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-sm) var(--space-md);
  transform: translateY(-10px);
  opacity: 0;
  transition: all 0.3s ease;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-links {
  list-style: none;
}

.mobile-menu-links li {
  border-bottom: 1px solid var(--color-border);
}

.mobile-menu-links li:last-child {
  border-bottom: none;
}

.mobile-menu-links a {
  display: block;
  padding: 0.85rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-primary);
}

.mobile-menu-links a:hover,
.mobile-menu-links a.nav-active {
  color: var(--color-accent);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

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

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

  .cert-grid {
    flex-direction: row;   /* モバイルでも横並びを維持 */
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

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

  .price-card-featured {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: var(--space-md);
    padding-bottom: var(--space-md);
    order: -1;
  }

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

  .spot-card {
    flex-wrap: wrap;
  }

  .spot-card-price {
    width: 100%;
    text-align: left;
    border-top: 1px solid var(--color-border);
    padding-top: 0.5rem;
    margin-top: 0.25rem;
  }

  .option-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 5枚→最後1枚を全幅に */
  .option-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .disclaimer-box ul {
    grid-template-columns: 1fr;
  }
}
