/* 
 * Care Plan Center Nanohana - Main Stylesheet
 * Theme: Warm, Friendly, Premium, "Nanohana" (Rape Blossom) Colors
 */

:root {
  /* Color Palette - Nanohana Yellow & Pink Theme */
  --primary-color: #ffd700;
  /* Nanohana Yellow - Bright & Energetic */
  --primary-light: #fff8e1;
  /* Light Yellow Background */
  --primary-dark: #fbc02d;
  /* Darker Yellow for interaction */

  --secondary-color: #f48fb1;
  /* Soft Pink - Main accent */
  --secondary-light: #fce4ec;
  /* Light Pink */
  --secondary-dark: #f06292;
  /* Medium Pink */

  --accent-pink: #f8bbd0;
  /* Soft Pink for warmth (from logo/watercolor) */
  --accent-green: #7cb342;
  /* Fresh Green - kept for specific use */

  --text-color: #4e342e;
  /* Dark Brown - Softer than black */
  --text-light: #795548;
  /* Lighter Brown */

  --bg-white: #ffffff;
  --bg-cream: #fffdf5;
  /* Very subtle cream for warmth */
  --bg-pink-light: #fff5f8;
  /* Very subtle pink for warmth */

  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.1);

  /* Transitions */
  --transition: all 0.3s ease;
}

/* Responsive Text Helper */
.inline-block {
  display: inline-block;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Zen Kaku Gothic New", sans-serif;
  color: var(--text-color);
  background-color: var(--bg-cream);
  line-height: 1.8;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  line-height: 1.4;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Utilities */
.text-center {
  text-align: center;
}

.text-white {
  color: white !important;
}

.bg-light {
  background-color: var(--primary-light);
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background-color: var(--secondary-color);
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: bold;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
  background-color: white;
  color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-lg {
  padding: 15px 40px;
  font-size: 1.1rem;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  /* backdrop-filter: blur(10px); Removed for solid background */
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  padding: 15px 0;
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  height: 50px;
  /* Adjust based on navbar height */
}

/* New Logo Images */
.logo-img-icon {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.logo-img-text {
  height: 70%;
  /* Text logo might need to be slightly smaller than the icon or similar */
  width: auto;
  object-fit: contain;
}

/* 繝倥ャ繝繝ｼ繝ｭ繧ｴ PC/繧ｹ繝槭・蛻・ｊ譖ｿ縺・*/
.logo-text-pc {
  display: block;
}

.logo-text-sp {
  display: none;
}

/* Footer Logo Images */
.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  justify-content: center;
  /* Center in footer on mobile/default if text-align is center */
}

.footer-logo-icon {
  height: 60px;
  width: auto;
}

.footer-logo-text {
  height: 40px;
  width: auto;
  /* filter: brightness(0) invert(1); Removed to show original logo colors (Green/Pink) */
}

/* Adjust footer alignment */
.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}



.nav-links {
  display: flex;
  gap: 12px;
  align-items: center;
}

.nav-links a {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  color: var(--text-color);
}

/* 繝翫ン繧ｲ繝ｼ繧ｷ繝ｧ繝ｳ繝懊ち繝ｳ - 荳崎ｦ丞援縺ｪ荳ｸ縺・レ譎ｯ繧ｹ繧ｿ繧､繝ｫ */
.nav-btn {
  font-family: "Kosugi Maru", sans-serif;
  font-weight: 400;
  font-size: 0.85rem;
  padding: 8px 14px;
  color: var(--text-color);
  text-shadow:
    1px 1px 0 white,
    -1px -1px 0 white,
    1px -1px 0 white,
    -1px 1px 0 white,
    0 1px 0 white,
    0 -1px 0 white,
    1px 0 0 white,
    -1px 0 0 white;
  transition: var(--transition);
  display: inline-block;
  white-space: nowrap;
}

/* 蜷・・繧ｿ繝ｳ縺ｫ蛻･縲・・阮・＞閭梧勹濶ｲ縺ｨ荳崎ｦ丞援縺ｪ荳ｸ縺・ｽ｢ */
.nav-btn-1 {
  background-color: rgba(255, 245, 157, 0.7);
  /* 阮・＞鮟・牡 */
  border-radius: 50% 40% 55% 45% / 45% 55% 40% 50%;
}

.nav-btn-2 {
  background-color: rgba(248, 187, 208, 0.6);
  /* 阮・＞繝斐Φ繧ｯ */
  border-radius: 45% 55% 40% 50% / 50% 40% 55% 45%;
}

.nav-btn-3 {
  background-color: rgba(255, 224, 178, 0.7);
  /* 阮・＞繧ｪ繝ｬ繝ｳ繧ｸ */
  border-radius: 55% 45% 50% 40% / 40% 50% 45% 55%;
}

.nav-btn-4 {
  background-color: rgba(225, 190, 231, 0.6);
  /* 阮・＞繝代・繝励Ν */
  border-radius: 40% 50% 45% 55% / 55% 45% 50% 40%;
  padding: 8px 18px;
  /* 遏ｭ縺・枚蟄怜・縺ｪ縺ｮ縺ｧ蟆代＠蠎・￡繧・*/
}

.nav-btn-5 {
  background-color: rgba(178, 235, 242, 0.6);
  /* 阮・＞豌ｴ濶ｲ */
  border-radius: 50% 45% 40% 55% / 45% 50% 55% 40%;
  padding: 8px 20px;
  /* 遏ｭ縺・枚蟄怜・縺ｪ縺ｮ縺ｧ蠎・￡繧・*/
}

.nav-btn-6 {
  background-color: rgba(255, 183, 178, 0.8);
  /* 阮・＞繧ｵ繝ｼ繝｢繝ｳ繝斐Φ繧ｯ */
  border-radius: 45% 50% 55% 40% / 50% 45% 40% 55%;
}

/* 繝帙ヰ繝ｼ蜉ｹ譫・*/
.nav-btn:hover {
  transform: scale(1.05) rotate(-1deg);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.nav-btn-1:hover {
  background-color: rgba(255, 245, 157, 0.95);
}

.nav-btn-2:hover {
  background-color: rgba(248, 187, 208, 0.95);
}

.nav-btn-3:hover {
  background-color: rgba(255, 224, 178, 0.95);
}

.nav-btn-4:hover {
  background-color: rgba(225, 190, 231, 0.95);
}

.nav-btn-5:hover {
  background-color: rgba(178, 235, 242, 0.95);
}

.nav-btn-6:hover {
  background-color: rgba(255, 183, 178, 0.95);
}

/* 譌ｧ繧ｹ繧ｿ繧､繝ｫ縺ｮ繧｢繝ｳ繝繝ｼ繝ｩ繧､繝ｳ繧貞炎髯､ */
.nav-links a:not(.btn-primary)::after {
  display: none;
}

.nav-links a:not(.btn-primary):hover::after {
  display: none;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-btn span {
  width: 25px;
  height: 2px;
  background-color: var(--text-color);
  transition: var(--transition);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: var(--primary-light);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition);
  z-index: 999;
}

.mobile-menu-overlay.active {
  right: 0;
}

.mobile-nav-links {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.mobile-nav-links a {
  font-size: 1.2rem;
  font-weight: bold;
}

/* 繝｢繝舌う繝ｫ繝｡繝九Η繝ｼ - PC鬚ｨ縺ｮ荳ｸ縺・・繧ｿ繝ｳ繧ｹ繧ｿ繧､繝ｫ */
.mobile-nav-btn {
  font-family: "Kosugi Maru", sans-serif;
  font-weight: 400;
  font-size: 1.1rem;
  padding: 12px 24px;
  color: var(--text-color);
  text-shadow:
    1px 1px 0 white,
    -1px -1px 0 white,
    1px -1px 0 white,
    -1px 1px 0 white,
    0 1px 0 white,
    0 -1px 0 white,
    1px 0 0 white,
    -1px 0 0 white;
  transition: var(--transition);
  display: inline-block;
  white-space: nowrap;
}

/* 蜷・Δ繝舌う繝ｫ繝懊ち繝ｳ縺ｫ蛻･縲・・阮・＞閭梧勹濶ｲ縺ｨ荳崎ｦ丞援縺ｪ荳ｸ縺・ｽ｢ */
.mobile-nav-btn-1 {
  background-color: rgba(255, 245, 157, 0.85);
  /* 阮・＞鮟・牡 */
  border-radius: 50% 40% 55% 45% / 45% 55% 40% 50%;
}

.mobile-nav-btn-2 {
  background-color: rgba(248, 187, 208, 0.75);
  /* 阮・＞繝斐Φ繧ｯ */
  border-radius: 45% 55% 40% 50% / 50% 40% 55% 45%;
}

.mobile-nav-btn-3 {
  background-color: rgba(255, 224, 178, 0.85);
  /* 阮・＞繧ｪ繝ｬ繝ｳ繧ｸ */
  border-radius: 55% 45% 50% 40% / 40% 50% 45% 55%;
}

.mobile-nav-btn-4 {
  background-color: rgba(225, 190, 231, 0.75);
  /* 阮・＞繝代・繝励Ν */
  border-radius: 40% 50% 45% 55% / 55% 45% 50% 40%;
  padding: 12px 30px;
  /* 遏ｭ縺・枚蟄怜・縺ｪ縺ｮ縺ｧ蟆代＠蠎・￡繧・*/
}

.mobile-nav-btn-5 {
  background-color: rgba(178, 235, 242, 0.75);
  /* 阮・＞豌ｴ濶ｲ */
  border-radius: 50% 45% 40% 55% / 45% 50% 55% 40%;
  padding: 12px 32px;
  /* 遏ｭ縺・枚蟄怜・縺ｪ縺ｮ縺ｧ蠎・￡繧・*/
}

.mobile-nav-btn-6 {
  background-color: rgba(255, 183, 178, 0.9);
  /* 阮・＞繧ｵ繝ｼ繝｢繝ｳ繝斐Φ繧ｯ */
  border-radius: 45% 50% 55% 40% / 50% 45% 40% 55%;
}

/* 繝｢繝舌う繝ｫ繝｡繝九Η繝ｼ繝帙ヰ繝ｼ蜉ｹ譫・*/
.mobile-nav-btn:hover {
  transform: scale(1.05) rotate(-1deg);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.mobile-nav-btn-1:hover {
  background-color: rgba(255, 245, 157, 1);
}

.mobile-nav-btn-2:hover {
  background-color: rgba(248, 187, 208, 1);
}

.mobile-nav-btn-3:hover {
  background-color: rgba(255, 224, 178, 1);
}

.mobile-nav-btn-4:hover {
  background-color: rgba(225, 190, 231, 1);
}

.mobile-nav-btn-5:hover {
  background-color: rgba(178, 235, 242, 1);
}

.mobile-nav-btn-6:hover {
  background-color: rgba(255, 183, 178, 1);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg,
      #e3f2fd 0%,
      #fffde7 100%);
  /* Sky to Nanohana Yellow */
  overflow: hidden;
  padding-top: 80px;
}

/* Placeholder for background image functionality - using gradient for now */
.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Pattern or image could go here */
  /* Pattern removed as requested */
  opacity: 0.5;
  /* background-image: radial-gradient(#ffd700 2px, transparent 2px); Removed */
  background-size: 30px 30px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background-color: white;
  color: var(--secondary-dark);
  padding: 8px 16px;
  border-radius: 20px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--text-color);
  text-shadow: 2px 2px 0px white;
}

.hero-subtitle {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: var(--text-light);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--secondary-dark);
  animation: bounce 2s infinite;
}

.hero-scroll-indicator span {
  font-size: 0.8rem;
  margin-bottom: 5px;
}

.mouse {
  width: 20px;
  height: 30px;
  border: 2px solid var(--secondary-dark);
  border-radius: 10px;
  position: relative;
}

.mouse::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background-color: var(--secondary-dark);
  border-radius: 50%;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translate(-50%, 0);
  }

  40% {
    transform: translate(-50%, -10px);
  }

  60% {
    transform: translate(-50%, -5px);
  }
}

/* Sections Common */
.section {
  padding: 80px 0;
}

.section-header {
  margin-bottom: 60px;
}

.section-subtitle {
  display: block;
  font-family: "Zen Maru Gothic", sans-serif;
  color: var(--secondary-color);
  font-weight: bold;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.section-title {
  font-size: 2.2rem;
  color: var(--text-color);
}

.section-line {
  width: 60px;
  height: 4px;
  background-color: var(--primary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

/* News Section */
.news-section {
  padding: 60px 0;
  background-color: white;
}

.news-wrapper {
  max-width: 900px;
  margin: 0 auto;
  background-color: var(--bg-cream);
  padding: 30px 40px;
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--secondary-light);
  position: relative;
  /* Added for mascot positioning */
}

/* Mascot Characters for News Section */
.mascot-news-left,
.mascot-news-right {
  position: absolute;
  bottom: -20px;
  /* Slight overlap with the bottom */
  width: 180px;
  /* Adjust size as needed */
  z-index: 10;
  pointer-events: none;
  /* Prevents blocking links */
}

.mascot-news-left {
  left: -160px;
}

.mascot-news-right {
  right: -160px;
}

.mascot-news-left img,
.mascot-news-right img {
  width: 100%;
  height: auto;
  filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.1));
}

@media (max-width: 1300px) {

  .mascot-news-left,
  .mascot-news-right {
    width: 140px;
    bottom: -10px;
  }

  .mascot-news-left {
    left: -120px;
  }

  .mascot-news-right {
    right: -120px;
  }
}

@media (max-width: 1100px) {

  .mascot-news-left,
  .mascot-news-right {
    display: none;
    /* Hide mascots on smaller screens where side space is tight */
  }
}

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 10px;
}

.news-header .section-title {
  font-size: 1.5rem;
  margin-bottom: 0;
}

.news-link {
  font-size: 0.9rem;
  color: var(--secondary-dark);
  font-weight: bold;
}

.news-link:hover {
  text-decoration: underline;
}

.news-item {
  display: flex;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px dashed #ddd;
  gap: 20px;
}

.news-item:last-child {
  border-bottom: none;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 200px;
}

.news-item time {
  font-family: 'Zen Maru Gothic', sans-serif;
  color: var(--text-light);
  font-weight: bold;
}

.news-label {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  color: white;
  font-weight: bold;
}

.news-label.notice {
  background-color: var(--secondary-color);
}

.news-label.info {
  background-color: var(--primary-dark);
}

.news-title {
  color: var(--text-color);
  flex: 1;
}

.news-title:hover {
  color: var(--secondary-color);
}

@media (max-width: 768px) {
  .news-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .news-meta {
    width: 100%;
    gap: 10px;
  }
}

/* About Section */
/* See Shared Background Styles below */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image {
  /* height: 400px; Removed fixed height to show full image */
  height: auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}

.about-image::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  background-color: var(--primary-color);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.5;
}

.about-content h3 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: var(--secondary-dark);
}

.about-content p {
  margin-bottom: 20px;
  text-align: justify;
}

/* Branding Strip */
.branding-strip {
  background-color: var(--secondary-color);
  padding: 40px 0;
  color: white;
}

.brand-logo-large {
  font-size: 3rem;
  font-family: "Zen Maru Gothic", sans-serif;
  margin-bottom: 10px;
}

.brand-message {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background-color: white;
  /* Fallback */
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  color: white;
  border: none;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  /* Lighter overlay for better visibility */
  z-index: 1;
  transition: var(--transition);
}

.service-card:hover::before {
  background-color: rgba(0, 0, 0, 0.4);
  /* Lighten overlay on hover */
}

/* Ensure content sits above overlay */
.service-icon,
.service-card h3,
.service-card p {
  position: relative;
  z-index: 2;
}

/* Specific Background Images */
.service-consult {
  background-image: url("assets/images/consultation.webp");
  background-size: cover;
  background-position: center;
}

.service-application {
  background-image: url("assets/images/caregentle.webp");
  background-size: cover;
  background-position: center;
}

.service-plan {
  background-image: url("assets/images/couple.webp");
  background-size: cover;
  background-position: center;
}

.service-visit {
  background-image: url("assets/images/caremadam.webp");
  background-size: cover;
  background-position: center;
}

.service-coordination {
  background-image: url("assets/images/meeting.webp");
  background-size: cover;
  background-position: center;
}

.service-worry {
  background-image: url("assets/images/worry.webp");
  background-size: cover;
  background-position: center;
}

/* Update icon style for dark background */
/* Update icon style for dark background */
.service-card .service-icon {
  background-color: transparent;
  /* Remove bar/box background */
  color: #fff;
  border: none;
  font-size: 3rem;
  /* Increase icon size since box is gone */
  margin-bottom: 20px;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

/* .service-icon rule replaced above in .service-card block to override original safely or just let the new rule take precedence if placed after. 
   To be clean, I will remove the old .service-icon rule here or merging it. 
   Since I added the new rule above, I will just remove this block or comment it out to avoid confusion, 
   BUT standard CSS rules apply (cascading). I will replace it with the specific overrides needed or just remove properties that clash.
   Actually, let's just replace this block to be safe. */
/* .service-icon styles moved to .service-card block for specificity or kept here modified */

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: white;
  /* Override default text color */
}

.service-card p {
  font-size: 0.95rem;
  color: #eee;
  /* Light gray for readability on dark */
}

.support-check {
  margin-top: 50px;
  display: flex;
  justify-content: center;
}

.check-box {
  background-color: white;
  padding: 30px 50px;
  border-radius: 15px;
  border-left: 5px solid var(--primary-color);
  box-shadow: var(--shadow-sm);
}

.check-box h3 {
  color: var(--secondary-dark);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.check-box ul {
  list-style: disc;
  padding-left: 20px;
}

.check-box li {
  margin-bottom: 5px;
  font-weight: bold;
}

/* Shared Background Styles for Sections */
.about-section,
.services-section,
.message-section {
  background-image: url("assets/images/nanohana.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.about-section::before,
.services-section::before,
.message-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.75);
  /* Significantly reduced visibility for subtle effect */
  z-index: 0;
  backdrop-filter: blur(2px);
}

.about-section .container,
.services-section .container,
.message-section .container {
  position: relative;
  z-index: 1;
}

.message-container {
  background-color: white;
  padding: 60px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  position: relative;
  border: 2px solid var(--primary-light);
}

.message-container::after {
  content: '"';
  position: absolute;
  top: 20px;
  left: 30px;
  font-size: 8rem;
  color: var(--primary-light);
  font-family: serif;
  z-index: 0;
}

.message-text {
  position: relative;
  z-index: 1;
}

.message-text p {
  margin-bottom: 25px;
  /* Increased margin for better readability without photo */
}

.rep-signature {
  text-align: right;
  font-weight: bold;
  font-size: 1.2rem;
  margin-top: 30px;
  font-family: "Zen Maru Gothic", sans-serif;
  color: var(--text-color);
}

.highlight-text {
  font-size: 1.1rem;
  color: var(--secondary-dark);
  background-color: var(--primary-light);
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  margin: 20px 0 !important;
}

/* Company & Area Section */
.row {
  display: flex;
  gap: 40px;
}

.col-half {
  flex: 1;
}

.subsection-title {
  font-size: 1.5rem;
  margin-bottom: 20px;
  padding-left: 15px;
  border-left: 4px solid var(--secondary-color);
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.info-table th,
.info-table td {
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  text-align: left;
}

.info-table th {
  background-color: #fafafa;
  width: 30%;
  color: var(--text-light);
  font-weight: bold;
}

.area-box {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}



.area-map-img {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 10px;
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.area-list li {
  background-color: var(--secondary-light);
  color: var(--secondary-dark);
  padding: 8px 15px;
  border-radius: 20px;
  font-weight: bold;
}

.area-note {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Access Section */
.access-address {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.map-container {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 5px solid white;
}

/* Contact Section */
.contact-section {
  background-color: var(--secondary-color);
  background-image: linear-gradient(135deg,
      var(--secondary-color) 0%,
      var(--secondary-dark) 100%);
  padding-bottom: 100px;
}

.contact-description {
  font-size: 1.2rem;
  margin-bottom: 40px;
}

.contact-card {
  background-color: white;
  max-width: 600px;
  margin: 0 auto;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
  align-items: center;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-item i {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.contact-label {
  font-size: 0.8rem;
  color: var(--text-light);
}

.contact-number {
  font-size: 2rem;
  font-weight: bold;
  color: var(--text-color);
  font-family: "Zen Maru Gothic", sans-serif;
}

.contact-number:hover {
  color: var(--secondary-color);
}

.contact-number-sm {
  font-size: 1.5rem;
  color: var(--text-color);
  font-family: "Zen Maru Gothic", sans-serif;
}

.contact-hours {
  color: var(--text-light);
  border-top: 1px solid #eee;
  padding-top: 15px;
}

/* 繝｡繝ｼ繝ｫ蝠上＞蜷医ｏ縺帙・繧ｿ繝ｳ */
.contact-email-btn {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.btn-email {
  display: inline-block;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-pink) 100%);
  color: white;
  padding: 15px 35px;
  border-radius: 50px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(244, 143, 177, 0.4);
  transition: var(--transition);
}

.btn-email:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(244, 143, 177, 0.5);
}

.btn-email i {
  margin-right: 8px;
}

/* Footer */
.footer {
  background-color: #ffffff;
  color: var(--text-color);
  padding: 50px 0 20px;
  border-top: 5px solid var(--primary-color);
  /* Add top border for visual separation */
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.footer-logo h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.footer-logo p {
  font-size: 0.9rem;
  color: var(--text-light);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--text-color);
}

.footer-links a:hover {
  color: var(--secondary-color);
}

/* 繝輔ャ繧ｿ繝ｼ譖ｸ鬘槭Μ繝ｳ繧ｯ */
.footer-docs {
  margin-top: 15px;
}

.footer-docs a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-light);
  font-size: 0.9rem;
}

.footer-docs a i {
  color: var(--secondary-color);
}

.footer-docs a:hover {
  color: var(--secondary-color);
}

.footer-bottom {
  font-size: 0.8rem;
  color: var(--text-light);
  border-top: 1px solid #eee;
  padding-top: 20px;
}



/* Animations using Intersection Observer classes */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.8s ease;
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.8s ease;
}

.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal-left.visible,
.reveal-right.visible,
.reveal-up.visible {
  opacity: 1;
  transform: translate(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

/* Responsive */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .row {
    flex-direction: column;
  }

  .access-content {
    flex-direction: column;
  }
}

@media (max-width: 768px) {

  /* 繧ｹ繝槭・蜷代￠繝吶・繧ｹ繝輔か繝ｳ繝医し繧､繧ｺ縺ｨ陦碁俣縺ｮ隱ｿ謨ｴ */
  body {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  p {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .container {
    padding: 0 15px;
  }

  .hero-title {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .section-title {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  .section-header p {
    font-size: 0.85rem;
    line-height: 1.6;
  }

  .logo-img-text {
    height: 50%;
    /* Smaller on mobile */
  }

  .logo-img-icon {
    height: 80%;
  }

  /* 繧ｹ繝槭・逕ｨ繝ｭ繧ｴ縺ｫ蛻・ｊ譖ｿ縺・*/
  .logo-text-pc {
    display: none;
  }

  .logo-text-sp {
    display: block;
    height: 90%;
    /* 繧ｵ繧､繧ｺ2蛟・*/
  }

  /* 繝倥ャ繝繝ｼ荳ｭ螟ｮ驟咲ｽｮ */
  .nav-container {
    justify-content: center;
  }

  .logo {
    justify-content: center;
  }

  /* 繝｢繝舌う繝ｫ繝｡繝九Η繝ｼ繝懊ち繝ｳ繧貞承蛛ｴ縺ｫ蝗ｺ螳・*/
  .mobile-menu-btn {
    position: absolute;
    right: 15px;
  }

  .footer-logo {
    align-items: center;
  }

  /* Stack grids vertically */
  .about-grid,
  .row,
  .contact-info {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .col-half {
    width: 100%;
  }

  /* About 繧ｻ繧ｯ繧ｷ繝ｧ繝ｳ隕句・縺励ｒ谿ｵ關ｽ鬚ｨ縺ｫ */
  .about-content h3 .h3-line1 {
    display: block;
    margin-bottom: 0.8em;
  }

  .about-content h3 .h3-line2 {
    display: block;
  }

  /* Text Alignment for Mobile */
  .about-content p,
  .message-text p {
    text-align: left;
    /* Prevent large gaps in justified text on small screens */
    font-size: 0.85rem;
    line-height: 1.65;
  }

  /* Message Section specific */
  .message-container {
    padding: 30px 20px;
  }

  .message-quote p {
    text-align: left;
    font-size: 0.85rem;
    line-height: 1.65;
    margin-bottom: 1em;
  }

  /* 繝上う繝ｩ繧､繝医ユ繧ｭ繧ｹ繝亥・縺ｮ蠑ｷ蛻ｶ謾ｹ陦後ｒ繧ｹ繝槭・縺ｧ縺ｯ辟｡蜉ｹ蛹・*/
  .highlight-text br {
    display: none;
  }

  /* 繧ｹ繝槭・縺ｧ縺ｯPC蜷代￠縺ｮ蠑ｷ蛻ｶ謾ｹ陦後ｒ辟｡蜉ｹ蛹悶＠縺ｦ閾ｪ辟ｶ縺ｪ謚倥ｊ霑斐＠縺ｫ縺吶ｋ */
  .hero-subtitle br,
  .about-content p br,
  .contact-description br {
    display: none;
  }

  .highlight-text {
    font-size: 0.9rem;
    line-height: 1.6;
    padding: 10px 12px;
  }

  .rep-signature {
    margin-top: 15px;
    font-size: 1rem;
  }

  .contact-info {
    flex-direction: column;
  }

  .nav-links,
  .mobile-menu-btn {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    height: auto;
    max-width: 100%;
  }

  .about-img-cover {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 15px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-grid .service-card {
    padding: 30px;
  }

  .message-container {
    padding: 30px;
  }

  .message-photo {
    float: none;
    margin: 0 auto 20px;
  }

  .message-container::after {
    display: none;
  }

  .contact-info {
    flex-direction: column;
    gap: 20px;
  }

  .contact-number {
    font-size: 1.5rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 15px;
  }

  /* 縺贋ｻｻ縺帙￥縺縺輔＞繧ｻ繧ｯ繧ｷ繝ｧ繝ｳ - 1陦瑚｡ｨ遉ｺ */
  .check-box {
    padding: 20px 15px;
  }

  .check-box li {
    white-space: nowrap;
    font-size: 0.75rem;
  }

  .check-box h3 {
    font-size: 1rem;
  }
}

/* ====================================
   蟆丞梛繧ｹ繝槭・蜷代￠隱ｿ謨ｴ (480px莉･荳・
   ==================================== */
@media (max-width: 480px) {
  body {
    font-size: 0.85rem;
    line-height: 1.75;
  }

  p {
    font-size: 0.85rem;
    line-height: 1.75;
  }

  .container {
    padding: 0 12px;
  }

  /* Hero 繧ｻ繧ｯ繧ｷ繝ｧ繝ｳ */
  .hero-title {
    font-size: 1.6rem;
    line-height: 1.4;
    letter-spacing: 0.02em;
  }

  .hero-subtitle {
    font-size: 0.85rem;
    line-height: 1.7;
    padding: 8px 15px;
  }

  .hero-badge {
    font-size: 0.8rem;
    padding: 6px 12px;
  }

  /* 繧ｻ繧ｯ繧ｷ繝ｧ繝ｳ繧ｿ繧､繝医Ν */
  .section-title {
    font-size: 1.3rem;
    line-height: 1.4;
  }

  .section-subtitle {
    font-size: 0.75rem;
    letter-spacing: 1px;
  }

  /* About 繧ｻ繧ｯ繧ｷ繝ｧ繝ｳ */
  .about-content h3 {
    font-size: 1.1rem;
    line-height: 1.5;
  }

  .about-content p {
    font-size: 0.82rem;
    line-height: 1.75;
  }

  /* 繧ｵ繝ｼ繝薙せ繧ｫ繝ｼ繝・*/
  .service-card h3 {
    font-size: 1rem;
    line-height: 1.4;
  }

  .service-card p {
    font-size: 0.8rem;
    line-height: 1.7;
  }

  /* 莉｣陦ｨ繝｡繝・そ繝ｼ繧ｸ */
  .message-quote p {
    font-size: 0.82rem;
    line-height: 1.75;
  }

  .highlight-text {
    font-size: 0.85rem;
    line-height: 1.7;
    padding: 8px 10px;
  }

  .rep-signature {
    font-size: 0.95rem;
  }

  /* 莨夂､ｾ讎りｦ√・蟇ｾ蠢懷慍蝓・*/
  .subsection-title {
    font-size: 1.1rem;
  }

  .info-table th,
  .info-table td {
    font-size: 0.82rem;
    padding: 10px 8px;
  }

  .area-list li {
    font-size: 0.85rem;
  }

  /* 縺贋ｻｻ縺帙￥縺縺輔＞繧ｻ繧ｯ繧ｷ繝ｧ繝ｳ - 1陦瑚｡ｨ遉ｺ */
  .check-box li {
    font-size: 0.7rem;
  }

  /* 繧｢繧ｯ繧ｻ繧ｹ */
  .access-address {
    font-size: 0.85rem;
    line-height: 1.7;
  }

  /* 縺雁撫縺・粋繧上○ */
  .contact-description {
    font-size: 0.85rem;
    line-height: 1.7;
  }

  .contact-info-item .contact-number {
    font-size: 1.1rem;
  }

  .form-title {
    font-size: 1.1rem;
  }

  .form-label {
    font-size: 0.88rem;
  }

  /* 繝輔ャ繧ｿ繝ｼ */
  .footer-logo-text-styled {
    font-size: 1rem;
  }

  .footer-links a {
    font-size: 0.85rem;
  }
}

/* ====================================
   譛蟆上せ繝槭・蜷代￠隱ｿ謨ｴ (375px莉･荳・
   ==================================== */
@media (max-width: 375px) {
  body {
    font-size: 0.82rem;
    line-height: 1.8;
  }

  p {
    font-size: 0.82rem;
    line-height: 1.8;
  }

  .container {
    padding: 0 10px;
  }

  /* Hero 繧ｻ繧ｯ繧ｷ繝ｧ繝ｳ */
  .hero-title {
    font-size: 1.4rem;
    line-height: 1.45;
  }

  .hero-subtitle {
    font-size: 0.8rem;
    line-height: 1.75;
  }

  .hero-badge {
    font-size: 0.75rem;
  }

  /* 繧ｻ繧ｯ繧ｷ繝ｧ繝ｳ繧ｿ繧､繝医Ν */
  .section-title {
    font-size: 1.2rem;
  }

  /* About 繧ｻ繧ｯ繧ｷ繝ｧ繝ｳ */
  .about-content h3 {
    font-size: 1rem;
    line-height: 1.55;
  }

  .about-content p {
    font-size: 0.8rem;
    line-height: 1.8;
  }

  /* 繧ｵ繝ｼ繝薙せ繧ｫ繝ｼ繝・*/
  .service-card h3 {
    font-size: 0.95rem;
  }

  .service-card p {
    font-size: 0.78rem;
    line-height: 1.75;
  }

  /* 莉｣陦ｨ繝｡繝・そ繝ｼ繧ｸ */
  .message-quote p {
    font-size: 0.8rem;
    line-height: 1.8;
  }

  .highlight-text {
    font-size: 0.82rem;
  }

  /* 莨夂､ｾ讎りｦ・*/
  .info-table th,
  .info-table td {
    font-size: 0.78rem;
    padding: 8px 6px;
  }

  /* 縺雁撫縺・粋繧上○ */
  .contact-info-item .contact-number {
    font-size: 1rem;
  }

  .form-title {
    font-size: 1rem;
  }

  /* 縺贋ｻｻ縺帙￥縺縺輔＞繧ｻ繧ｯ繧ｷ繝ｧ繝ｳ - 1陦瑚｡ｨ遉ｺ */
  .check-box li {
    font-size: 0.65rem;
  }
}

/* Footer Text Styling */
.footer-logo-text-styled {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  line-height: 1;
  display: flex;
  gap: 0.4em;
  align-items: center;
}

.color-green {
  color: var(--accent-green);
}

.color-pink {
  color: var(--accent-pink);
}

@media (max-width: 768px) {
  .footer-logo-text-styled {
    font-size: 1.1rem;
    white-space: nowrap;
    gap: 0.2em;
  }
}

/* Hero Video Background */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-bg-overlay {
  z-index: 1;
  /* Ensure overlay sits on top of video */
  background: rgba(255, 253, 231, 0.4);
  /* Light warm overlay to maintain readability */
  /* Keeping existing pattern or adjusting as needed */
}

/* Improve Hero Visibility */
.hero-bg-overlay {
  background: rgba(255, 255, 255, 0.75);
  /* More opaque to wash out video */
  backdrop-filter: blur(4px);
  /* Blur to reduce video noise behind text */
}

.hero-title {
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 2px 2px 0px white;
}

.hero-subtitle {
  background-color: rgba(255, 255, 255, 0.6);
  padding: 10px 20px;
  border-radius: 10px;
  display: inline-block;
  backdrop-filter: blur(5px);
}

/* About Image Cover */
.about-img-cover {
  width: 100%;
  height: auto;
  /* Allow natural height */
  /* object-fit: cover; Not needed if height is auto, but kept conceptually or removed */
  display: block;
  /* Remove bottom space */
}

/* Header Contact Info */
.header-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-left: 20px;
  font-family: "Zen Maru Gothic", sans-serif;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.4;
}

.c-label {
  font-size: 0.8rem;
  color: var(--secondary-color);
  font-weight: bold;
}

.c-num {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--text-color);
}

@media (max-width: 1100px) {
  .header-contact.desktop-only {
    display: none;
  }
}

/* Tweak Nav Links to be smaller or tighter if needed */
.nav-links {
  gap: 20px;
  /* Reduced from 30px */
}

.nav-links a {
  font-size: 0.9rem;
  /* Slightly smaller */
}

/* ====================================
   縺雁撫縺・粋繧上○繝輔か繝ｼ繝 繧ｹ繧ｿ繧､繝ｫ
   ==================================== */

/* 髮ｻ隧ｱ繝ｻFAX諠・ｱ繝舌・ */
.contact-info-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 20px 40px;
  border-radius: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info-item i {
  font-size: 1.2rem;
  color: var(--secondary-color);
}

.contact-info-item .contact-label {
  font-weight: bold;
  color: var(--text-light);
  font-size: 0.9rem;
}

.contact-info-item .contact-number {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--text-color);
}

.contact-info-item .contact-number:hover {
  color: var(--secondary-color);
}

.contact-hours-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 0.9rem;
}

.contact-hours-inline i {
  color: var(--primary-dark);
}

/* 繝輔か繝ｼ繝繧ｫ繝ｼ繝・*/
.contact-form-card {
  background-color: white;
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  max-width: 700px;
  margin: 0 auto;
}

.form-title {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 1.5rem;
  color: var(--text-color);
  text-align: center;
  margin-bottom: 10px;
}

.form-title i {
  color: var(--secondary-color);
  margin-right: 8px;
}

.form-note {
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 30px;
}

/* 繝輔か繝ｼ繝繧ｰ繝ｫ繝ｼ繝・*/
.form-group {
  margin-bottom: 25px;
}

.form-label {
  display: block;
  font-weight: bold;
  color: var(--text-color);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

/* 蠢・医・繝ｼ繧ｯ */
.required-mark {
  color: #e53935;
  font-weight: bold;
  margin-left: 4px;
}

/* 莉ｻ諢上・繝ｼ繧ｯ */
.optional-mark {
  color: var(--text-light);
  font-weight: normal;
  font-size: 0.85rem;
  margin-left: 8px;
}

/* 蜈･蜉帶ｬ・・騾壹せ繧ｿ繧､繝ｫ */
.form-input,
.form-textarea {
  width: 100%;
  padding: 15px 18px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 1rem;
  color: var(--text-color);
  background-color: #fafafa;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  background-color: white;
  box-shadow: 0 0 0 4px rgba(244, 143, 177, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #bdbdbd;
}

.form-textarea {
  resize: vertical;
  min-height: 150px;
}

/* 騾∽ｿ｡繝懊ち繝ｳ */
.form-submit {
  text-align: center;
  margin-top: 35px;
}

.btn-submit {
  display: inline-block;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
  color: white;
  padding: 16px 50px;
  border: none;
  border-radius: 50px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(244, 143, 177, 0.4);
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(244, 143, 177, 0.5);
}

.btn-submit:active {
  transform: translateY(-1px);
}

.btn-submit i {
  margin-right: 8px;
}

/* 繝ｬ繧ｹ繝昴Φ繧ｷ繝門ｯｾ蠢・*/
@media (max-width: 768px) {
  .contact-info-bar {
    flex-direction: column;
    gap: 15px;
    padding: 20px;
  }

  .contact-form-card {
    padding: 30px 20px;
    margin: 0 10px;
  }

  .form-title {
    font-size: 1.3rem;
  }

  .form-input,
  .form-textarea {
    padding: 12px 15px;
  }

  .btn-submit {
    width: 100%;
    padding: 15px 30px;
  }
}

/* Service Detail Page Specifics */
body.service-page {
  /* Apply Top page style background to the entire body */
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.75)),
    url("assets/images/nanohana.webp");
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  background-attachment: fixed;
  /* Keep background fixed while scrolling */
}

/* Hide navbar on service pages */

body.service-page .page-hero {
  background: transparent;
  /* Remove background from hero */
  padding: 140px 0 60px;
  text-align: center;
  margin-bottom: 60px;
}

body.service-page .page-hero h1 {
  font-size: 2.5rem;
  color: var(--text-color);
  margin-bottom: 20px;
  font-family: "Zen Maru Gothic", sans-serif;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
}

body.service-page .breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  color: var(--text-color);
  font-size: 0.9rem;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

body.service-page .breadcrumb a:hover {
  text-decoration: underline;
  color: var(--secondary-color);
}

/* Service Detail Pages */
.page-hero {
  padding: 140px 0 60px;
  /* Top page style: Dot overlay + Nanohana image */
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.75)),
    url("assets/images/nanohana.webp");
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  text-align: center;
  margin-bottom: 60px;
}



.page-hero h1 {
  font-size: 2.5rem;
  color: var(--text-color);
  margin-bottom: 20px;
  font-family: "Zen Maru Gothic", sans-serif;
  text-shadow: 2px 2px 0px white;
  /* Match top page hero title */
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  color: var(--text-light);
  font-size: 0.9rem;
}

.breadcrumb a:hover {
  text-decoration: underline;
  color: var(--secondary-color);
}


.service-detail-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.service-detail-image {
  flex: 0 0 400px;
  /* Fixed width for the image */
  margin-bottom: 30px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.service-detail-image img {
  width: 100%;
  height: auto;
  display: block;
}

.service-detail-text {
  flex: 1;
  min-width: 300px;
}

.service-detail-section {
  padding-bottom: 100px;
}

.service-detail-content h2 {
  font-size: 2.2rem;
  /* Increased size */
  color: var(--secondary-dark);
  margin-top: 0;
  /* Reset top margin since it's side-by-side now */
  margin-bottom: 25px;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 10px;
  display: inline-block;
}

.service-detail-content h3 {
  font-size: 1.4rem;
  color: var(--text-color);
  margin-top: 30px;
  margin-bottom: 15px;
  border-left: 5px solid var(--secondary-color);
  padding-left: 15px;
}

.service-detail-content p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.9;
}

.service-detail-content ul {
  list-style: none;
  /* Reset default */
  margin-bottom: 30px;
}

.service-detail-content ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
}

.service-detail-content ul li::before {
  content: "\f00c";
  /* FontAwesome check */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--primary-dark);
}

.flow-list {
  counter-reset: flow-counter;
  margin: 30px 0;
}

.flow-item {
  position: relative;
  padding: 20px;
  background-color: var(--bg-cream);
  border-radius: 10px;
  margin-bottom: 20px;
  border: 1px solid var(--primary-color);
}

.flow-item::before {
  counter-increment: flow-counter;
  content: "STEP " counter(flow-counter);
  display: inline-block;
  background-color: var(--secondary-color);
  color: white;
  padding: 2px 10px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.flow-title {
  font-weight: bold;
  font-size: 1.2rem;
  display: block;
  margin-bottom: 5px;
}

.back-btn-wrapper {
  text-align: center;
  margin-top: 60px;
}

/* Service full width item */
.service-full-width {
  grid-column: 1 / -1 !important;
  width: 100%;
}

@media (max-width: 900px) {
  .service-detail-content {
    flex-direction: column;
  }

  .service-detail-image {
    flex: 0 0 auto;
    width: 100%;
    max-width: 500px;
    margin: 0 auto 30px;
  }
}