/* ============================================
   特殊清掃・遺品整理 - "Stillness" Design
   静寂と尊厳のデザイン
   ============================================ */

:root {
  --navy: #1a2744;
  --navy-light: #253557;
  --slate: #3d5a80;
  --slate-light: #5b7faa;
  --gold: #c9a96e;
  --gold-light: #dfc799;
  --gold-dark: #a8873f;
  --cream: #f8f6f3;
  --cream-dark: #ede9e3;
  --warm-gray: #6b6560;
  --text: #2c2c2c;
  --text-light: #5a5652;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(26,39,68,0.08);
  --shadow-md: 0 4px 20px rgba(26,39,68,0.12);
  --shadow-lg: 0 8px 40px rgba(26,39,68,0.16);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
  --font-heading: 'Outfit', 'Noto Sans JP', sans-serif;
  --font-body: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', sans-serif;
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; transition: color var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-heading); line-height: 1.4; }

/* ---- Header ---- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(26,39,68,0.95);
  backdrop-filter: blur(10px);
  transition: all var(--transition);
  border-bottom: 1px solid rgba(201,169,110,0.15);
}
.site-header.scrolled {
  background: rgba(26,39,68,0.98);
  box-shadow: var(--shadow-md);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.site-logo a {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}
.site-logo a span {
  color: var(--gold);
}
.nav-main ul {
  display: flex;
  gap: 4px;
}
.nav-main a {
  display: block;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  border-radius: 6px;
  transition: all var(--transition);
}
.nav-main a:hover,
.nav-main a.active {
  color: var(--white);
  background: rgba(201,169,110,0.15);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
  border-radius: 2px;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu Overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26,39,68,0.97);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.mobile-overlay.active {
  opacity: 1;
}
.mobile-overlay nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 8px;
}
.mobile-overlay a {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  padding: 12px 32px;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.mobile-overlay a:hover,
.mobile-overlay a.active {
  color: var(--gold);
  background: rgba(201,169,110,0.1);
}

/* ---- Hero Section ---- */
.hero {
  position: relative;
  height: 75vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 70px;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,39,68,0.55) 0%, rgba(26,39,68,0.75) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow:
    2px 2px 0 #000,
    -2px 2px 0 #000,
    2px -2px 0 #000,
    -2px -2px 0 #000,
    0 4px 8px rgba(0,0,0,0.5);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.hero .subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.9);
  font-weight: 400;
  line-height: 1.7;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}
.hero-cta {
  margin-top: 32px;
  display: inline-flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn-primary {
  display: inline-block;
  padding: 14px 36px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50px;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(201,169,110,0.3);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(201,169,110,0.4);
}
.btn-outline {
  display: inline-block;
  padding: 14px 36px;
  border: 2px solid rgba(255,255,255,0.5);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  transition: all var(--transition);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ---- Section Base ---- */
.section {
  padding: 80px 24px;
}
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}
.section-header .section-line {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto 16px;
  border-radius: 2px;
}
.section-header p {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}
.section-alt {
  background: var(--white);
}

/* ---- Stats Section ---- */
.stats-bar {
  background: var(--navy);
  padding: 48px 24px;
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat-item {
  text-align: center;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1.2;
}
.stat-label {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

/* ---- Feature Cards ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: all var(--transition);
  border: 1px solid var(--cream-dark);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-light);
}
.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--navy), var(--slate));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--gold);
}
.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.feature-card p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ---- News Section ---- */
.news-list {
  display: grid;
  gap: 20px;
}
.news-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--cream-dark);
  transition: all var(--transition);
}
.news-item:hover {
  border-color: var(--gold-light);
  box-shadow: var(--shadow-sm);
}
.news-date {
  flex-shrink: 0;
  width: 80px;
  text-align: center;
}
.news-date .month {
  font-size: 0.75rem;
  color: var(--gold-dark);
  font-weight: 700;
  text-transform: uppercase;
}
.news-date .day {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}
.news-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.news-content p {
  font-size: 0.88rem;
  color: var(--text-light);
}
.news-tag {
  display: inline-block;
  padding: 2px 10px;
  background: var(--cream);
  color: var(--slate);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 8px;
}

/* ---- Topics Grid ---- */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.topic-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--cream-dark);
  transition: all var(--transition);
}
.topic-card:hover {
  transform: translateX(4px);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}
.topic-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: 12px;
}
.topic-info h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.topic-info h3 a {
  color: var(--navy);
}
.topic-info h3 a:hover {
  color: var(--gold-dark);
}
.topic-info p {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ---- Blog Section ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--cream-dark);
  transition: all var(--transition);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.blog-card-img {
  height: 180px;
  background: var(--navy);
  overflow: hidden;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}
.blog-card-body {
  padding: 24px;
}
.blog-card-date {
  font-size: 0.78rem;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 8px;
}
.blog-card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.5;
}
.blog-card-body p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ---- CTA Section ---- */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--slate) 100%);
  padding: 80px 24px;
  text-align: center;
}
.cta-section h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}
.cta-section p {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto 32px;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 64px 24px 32px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-about h3,
.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-about h3 span {
  color: var(--gold);
}
.footer-about p {
  font-size: 0.88rem;
  line-height: 1.7;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-col a:hover {
  color: var(--gold);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer-links a:hover {
  color: var(--gold);
}

/* ---- Sub Pages (shared) ---- */
.page-hero {
  position: relative;
  height: 45vh;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 70px;
}
.page-hero .hero-bg::after {
  background: linear-gradient(180deg, rgba(26,39,68,0.5) 0%, rgba(26,39,68,0.8) 100%);
}
.page-hero h1 {
  position: relative;
  z-index: 2;
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow:
    2px 2px 0 #000,
    -2px 2px 0 #000,
    2px -2px 0 #000,
    -2px -2px 0 #000,
    0 4px 8px rgba(0,0,0,0.5);
  text-align: center;
  padding: 0 24px;
}

.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 64px 24px;
}
.page-content h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  margin: 48px 0 20px;
  padding-left: 16px;
  border-left: 4px solid var(--gold);
}
.page-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate);
  margin: 32px 0 16px;
}
.page-content p {
  margin-bottom: 16px;
  line-height: 1.9;
  color: var(--text);
}
.page-content ul, .page-content ol {
  margin: 16px 0;
  padding-left: 24px;
  list-style: disc;
}
.page-content li {
  margin-bottom: 8px;
  line-height: 1.7;
}
.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.92rem;
}
.page-content table th {
  background: var(--navy);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
}
.page-content table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--cream-dark);
}
.page-content table tr:nth-child(even) td {
  background: var(--cream);
}
.page-content blockquote {
  margin: 24px 0;
  padding: 20px 24px;
  background: var(--cream);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-light);
  font-style: italic;
}

/* Breadcrumb */
.breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  font-size: 0.82rem;
  color: var(--text-light);
}
.breadcrumb a {
  color: var(--slate);
}
.breadcrumb a:hover {
  color: var(--gold-dark);
}
.breadcrumb span {
  margin: 0 8px;
  color: var(--cream-dark);
}

/* ---- Animations ---- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 768px) {
  .nav-main { display: none; }
  .hamburger { display: flex; }
  .mobile-overlay { display: block; }
  
  .hero { height: 60vh; min-height: 400px; }
  .hero h1 { font-size: 2rem; }
  .hero .subtitle { font-size: 1rem; }
  
  .page-hero { height: 35vh; min-height: 240px; }
  .page-hero h1 { font-size: 1.8rem; }
  
  .section { padding: 56px 20px; }
  .section-header h2 { font-size: 1.6rem; }
  
  .features-grid { grid-template-columns: 1fr; gap: 20px; }
  .topics-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stat-number { font-size: 2rem; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  
  .page-content { padding: 40px 20px; }
  .page-content h2 { font-size: 1.35rem; }
  
  .news-item { flex-direction: column; gap: 12px; }
  .news-date { width: auto; text-align: left; display: flex; gap: 8px; align-items: baseline; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.6rem; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .hero-cta { flex-direction: column; align-items: center; }
  .btn-primary, .btn-outline { width: 100%; max-width: 280px; text-align: center; }
}
