/* ==========================================================================
   Design System & CSS Variables
   ========================================================================== */
:root {
  --color-primary: #60804c; /* Warm, calming organic green */
  --color-primary-hover: #4b663b;
  --color-accent: #b8934b; /* Subtle warm gold accent for highlights */
  --color-bg-base: #faf7f2; /* Soft warm beige background */
  --color-bg-card: #ffffff;
  --color-bg-subtle: #f4eee3; /* Soft shadow color and light background variation */
  --color-text-dark: #2c3528; /* Very dark slate green/charcoal for soft text contrast */
  --color-text-light: #5e6659; /* Calm gray-green for descriptions */
  --color-text-white: #ffffff;
  --color-border: #e2dbd0;
  
  /* Caution box colors: soft orange/brown */
  --color-caution-bg: #fffcf5;
  --color-caution-border: #ebdcb9;
  --color-caution-text: #8c5717;
  
  --font-sans: 'Noto Sans JP', 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  --font-serif: 'Noto Serif JP', 'Playfair Display', 'Hiragino Mincho ProN', 'MS Mincho', Georgia, serif;
  --font-family: var(--font-sans);
  --header-height: 80px;

  /* Card and block style variables for DRY management */
  --card-border: 1px solid rgba(226, 219, 208, 0.5);
  --card-border-faq: 1px solid rgba(226, 219, 208, 0.6);
  --card-radius: 16px;
  --card-radius-faq: 12px;
  --card-shadow: 0 8px 30px rgba(44, 53, 40, 0.02);
  --card-shadow-faq: 0 4px 15px rgba(44, 53, 40, 0.02);
  --card-shadow-form: 0 15px 45px rgba(44, 53, 40, 0.04);
  --card-shadow-hover: 0 15px 35px rgba(44, 53, 40, 0.05);
  --card-shadow-hover-topic: 0 20px 40px rgba(44, 53, 40, 0.06);
  --card-transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --card-transition-faq: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --card-hover-border: rgba(96, 128, 76, 0.3);
  --card-hover-border-step: rgba(96, 128, 76, 0.25);
}

/* ==========================================================================
   Base Styles
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-dark);
  background-color: var(--color-bg-base);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--color-text-dark);
  line-height: 1.5;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* ==========================================================================
   Layout & Container
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-sm {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.grid {
  display: grid;
  gap: 30px;
}

.grid-2col {
  grid-template-columns: 1fr;
}

.grid-3col {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid-2col {
    grid-template-columns: 1fr 1fr;
  }
  
  .grid-3col {
    grid-template-columns: repeat(3, 1fr);
  }
}

.items-center {
  align-items: center;
}

.mt-4 {
  margin-top: 30px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(44, 53, 40, 0.05);
  border-bottom: 1px solid rgba(226, 219, 208, 0.4);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.header-logo img {
  height: 40px;
  width: auto;
  transition: transform 0.3s ease;
}

.header-logo img:hover {
  transform: scale(1.02);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1010;
}

.menu-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: var(--color-text-dark);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-menu ul {
  display: flex;
  list-style: none;
  align-items: center;
}

.nav-menu li {
  margin-left: 30px;
}

.nav-menu a {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  position: relative;
  padding: 8px 0;
  color: var(--color-text-dark);
  transition: color 0.3s ease;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-menu a:hover {
  color: var(--color-primary);
}

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

/* Mobile responsive navigation */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1005;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-menu ul {
    flex-direction: column;
    padding: 120px 40px 40px;
    align-items: flex-start;
  }
  
  .nav-menu li {
    margin-left: 0;
    margin-bottom: 30px;
    width: 100%;
  }
  
  .nav-menu a {
    font-size: 16px;
    font-family: var(--font-serif);
    font-weight: 600;
    display: block;
    border-bottom: 1px solid rgba(226, 219, 208, 0.4);
    padding-bottom: 12px;
  }
  
  .nav-menu a::after {
    display: none; /* Disable underline effect on mobile */
  }
  
  /* Mobile nav overlay */
  .nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1004;
    transition: opacity 0.3s ease;
  }
  .nav-overlay.active {
    display: block;
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-block;
  font-weight: 700;
  text-align: center;
  padding: 16px 36px;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(96, 128, 76, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.05em;
  font-size: 15px;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-text-white);
  border: none;
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(96, 128, 76, 0.35);
}

/* ==========================================================================
   Section Settings
   ========================================================================== */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 28px;
  font-weight: 700;
  display: inline-block;
  padding-bottom: 16px;
  position: relative;
  letter-spacing: 0.03em;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background-color: var(--color-accent);
}

.section-intro {
  text-align: center;
  max-width: 750px;
  margin: -30px auto 50px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-light);
}

/* ==========================================================================
   Welcome Block (初めての方へ)
   ========================================================================== */
.section-welcome {
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 30px;
}

.welcome-box {
  background-color: var(--color-caution-bg);
  border: 1px solid var(--color-caution-border);
  border-left: 4px solid var(--color-primary);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(94, 102, 89, 0.04);
}

.welcome-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.welcome-icon {
  font-size: 24px;
  margin-right: 12px;
  display: inline-block;
  transform: translateY(-1px);
}

.welcome-header h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-dark);
}

.welcome-content p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-dark);
}

/* ==========================================================================
   Hero Section (Main Visual)
   ========================================================================== */
.hero-section {
  position: relative;
  background-image: url('images/hero_bg.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  min-height: 580px;
  display: flex;
  align-items: center;
  padding: 160px 0 100px; /* Increased top padding to accommodate the transparent fixed header */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Brightened: Left side is fully transparent, right side peaks at a very soft 0.48 opacity */
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(32, 40, 28, 0.15) 45%, rgba(32, 40, 28, 0.48) 85%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 580px; /* Narrowed down to fit elegantly on the right side */
  margin-left: auto; /* Push the container to the right */
  color: var(--color-text-white);
  /* Stronger multi-layer shadow to guarantee readability on a much brighter background */
  text-shadow: 0 2px 15px rgba(20, 25, 18, 0.75), 0 1px 4px rgba(20, 25, 18, 0.9);
}

.hero-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 25px;
  color: var(--color-text-white);
  letter-spacing: 0.03em;
}

.hero-text {
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 35px;
  color: rgba(255, 255, 255, 0.95);
}

.hero-text strong {
  font-size: 18px;
  color: var(--color-text-white);
  font-weight: 700;
}

.hero-btn-container {
  display: flex;
  justify-content: flex-start;
}

.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 480px;
    padding: 120px 0 80px; /* Increased top padding on mobile */
  }
  .hero-overlay {
    /* Brightened mobile overlay as well */
    background: rgba(32, 40, 28, 0.45);
  }
  .hero-content {
    max-width: 100%;
    margin-left: 0;
    padding: 0 10px;
    text-align: center;
  }
  .hero-title {
    font-size: 28px;
    line-height: 1.5;
  }
  .hero-text {
    font-size: 14.5px;
    line-height: 1.8;
  }
  .hero-btn-container {
    justify-content: center;
  }
  .mobile-only {
    display: inline;
  }
}

/* ==========================================================================
   Philosophy Section
   ========================================================================== */
.counseling-philosophy-section {
  background-color: var(--color-bg-card);
}

.lead-text {
  font-size: 17px;
  line-height: 1.9;
  margin-bottom: 25px;
  font-family: var(--font-serif);
  color: var(--color-text-dark);
}

.target-recommendation {
  background-color: var(--color-bg-base);
  border-left: 3px solid var(--color-accent);
  border-radius: 0 12px 12px 0;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(94, 102, 89, 0.02);
}

.target-recommendation h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--color-text-dark);
}

.target-recommendation ul {
  list-style: none;
}

.target-recommendation li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--color-text-light);
}

.target-recommendation li::before {
  content: '🌱';
  position: absolute;
  left: 0;
  font-size: 14px;
}

.philosophy-image {
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(44, 53, 40, 0.06);
}

.philosophy-image img {
  border-radius: 16px;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.philosophy-image img:hover {
  transform: scale(1.04);
}

.philosophy-note {
  margin-top: 40px;
  font-size: 13px;
  color: var(--color-text-light);
  text-align: center;
}

/* ==========================================================================
   Topics Section (ご相談内容)
   ========================================================================== */
.topics-section {
  background-color: var(--color-bg-base);
}

.topic-card {
  background-color: var(--color-bg-card);
  border: var(--card-border);
  border-radius: var(--card-radius);
  padding: 35px 30px;
  box-shadow: var(--card-shadow);
  transition: var(--card-transition);
}

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

.topic-card h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-dark);
  border-bottom: 1px solid var(--color-bg-subtle);
  padding-bottom: 15px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.topic-card ul {
  list-style: none;
}

.topic-card li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-light);
}

.topic-card li:last-child {
  margin-bottom: 0;
}

.check-icon {
  width: 18px;
  height: 18px;
  margin-right: 12px;
  flex-shrink: 0;
  margin-top: 3px;
  filter: opacity(0.85);
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-section {
  background-color: var(--color-bg-card);
}

.table-container {
  width: 100%;
  overflow-x: auto; /* Enable horizontal scrolling on small screens */
  border: 1px solid rgba(226, 219, 208, 0.6);
  border-radius: 12px;
  background-color: var(--color-bg-card);
  margin-top: 30px;
  box-shadow: 0 10px 30px rgba(44, 53, 40, 0.03);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 600px; /* Force minimum width to enable scroll on mobile */
}

.pricing-table th,
.pricing-table td {
  padding: 22px 24px;
  border-bottom: 1px solid rgba(226, 219, 208, 0.4);
  font-size: 15px;
  color: var(--color-text-dark);
}

.pricing-table thead th {
  background-color: var(--color-bg-subtle);
  font-family: var(--font-serif);
  font-weight: 700;
  border-bottom: 2px solid var(--color-border);
  letter-spacing: 0.02em;
}

.pricing-table tbody th {
  font-family: var(--font-serif);
  font-weight: 700;
  background-color: rgba(250, 247, 242, 0.4);
}

.pricing-table tbody tr {
  transition: background-color 0.3s ease;
}

.pricing-table tbody tr:hover {
  background-color: rgba(96, 128, 76, 0.02);
}

.pricing-table tbody tr:last-child th,
.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

/* ==========================================================================
   Counselor Section
   ========================================================================== */
.counselor-section {
  background-color: var(--color-bg-base);
}

.counselor-image {
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(44, 53, 40, 0.06);
}

.counselor-image img {
  border-radius: 16px;
  transition: transform 0.5s ease;
}

.counselor-image img:hover {
  transform: scale(1.03);
}

.counselor-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  margin-bottom: 6px;
}

.counselor-name {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
}

.counselor-name::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background-color: var(--color-accent);
}

.counselor-bio p {
  font-size: 14.5px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--color-text-light);
}

.counselor-association {
  margin-top: 30px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-text-dark);
  border-top: 1px solid rgba(226, 219, 208, 0.6);
  padding-top: 20px;
}

/* ==========================================================================
   Flow Section
   ========================================================================== */
.flow-section {
  background-color: var(--color-bg-card);
}

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 50px;
  position: relative;
}

.step-card {
  display: flex;
  border: var(--card-border);
  border-radius: var(--card-radius);
  background-color: var(--color-bg-card);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: var(--card-transition);
}

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

.step-num {
  background-color: var(--color-bg-subtle);
  color: var(--color-primary);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.05em;
  width: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-right: 1px solid rgba(226, 219, 208, 0.4);
}

.step-content {
  padding: 30px;
  flex-grow: 1;
}

.step-content h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text-dark);
}

.step-content p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-light);
}

@media (max-width: 600px) {
  .step-card {
    flex-direction: column;
  }
  
  .step-num {
    width: 100%;
    padding: 15px 0;
    border-right: none;
    border-bottom: 1px solid rgba(226, 219, 208, 0.4);
  }
}

.flow-warning {
  background-color: rgba(140, 87, 23, 0.03);
  border: 1px solid var(--color-caution-border);
  border-left: 4px solid var(--color-accent);
  border-radius: 8px;
  padding: 30px;
  font-size: 14.5px;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
  color: var(--color-caution-text);
}

/* ==========================================================================
   Location Section
   ========================================================================== */
.location-section {
  background-color: var(--color-bg-base);
}

.location-info p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--color-text-light);
}

.location-note {
  font-size: 13.5px;
  color: var(--color-accent);
  font-weight: 600;
}

.location-map {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(44, 53, 40, 0.06);
  border: 1px solid rgba(226, 219, 208, 0.4);
}

.location-map iframe {
  display: block;
}

/* ==========================================================================
   Contact Form Section
   ========================================================================== */
.contact-section {
  background-color: var(--color-bg-card);
}

.form-container {
  margin-top: 40px;
  border: var(--card-border);
  border-radius: var(--card-radius);
  overflow: hidden;
  background-color: var(--color-bg-card);
  box-shadow: var(--card-shadow-form);
  transition: var(--card-transition);
}

.contact-form {
  padding: 50px 40px;
}

@media (max-width: 600px) {
  .contact-form {
    padding: 30px 20px;
  }
}

.form-group {
  margin-bottom: 25px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text-dark);
}

.form-group label .required {
  color: #c44545;
  margin-left: 3px;
  font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  font-family: var(--font-sans);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background-color: var(--color-bg-base);
  color: var(--color-text-dark);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.01);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background-color: var(--color-bg-card);
  box-shadow: 0 0 0 4px rgba(96, 128, 76, 0.12);
}

/* Adjust select box appearance */
.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235e6659' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 40px;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  text-align: center;
  margin-top: 35px;
}

.form-submit button {
  width: 100%;
  max-width: 320px;
}

/* Form Status Messages */
.form-status {
  padding: 60px 40px;
  text-align: center;
  animation: fadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-status-sending {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.form-status-sending p {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-light);
}

.spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(96, 128, 76, 0.1);
  border-top: 3px solid var(--color-primary);
  border-radius: 50%;
  animation: spin 0.8s infinite linear;
}

.form-status-success .status-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background-color: rgba(96, 128, 76, 0.1);
  color: var(--color-primary);
  border-radius: 50%;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 25px;
}

.form-status-success h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--color-text-dark);
}

.success-main-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 15px;
}

.success-sub-text {
  font-size: 14.5px;
  color: var(--color-text-light);
  margin-bottom: 8px;
}

.form-status-error .status-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background-color: rgba(196, 69, 69, 0.1);
  color: #c44545;
  border-radius: 50%;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 25px;
}

.form-status-error h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #c44545;
}

.form-status-error p {
  font-size: 14.5px;
  color: var(--color-text-light);
  margin-bottom: 30px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.btn-secondary {
  background-color: var(--color-bg-subtle);
  color: var(--color-text-dark);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background-color: var(--color-border);
  transform: translateY(-2px);
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   LGBTQ+ Section
   ========================================================================== */
.separator-line {
  border: 0;
  height: 1px;
  background: rgba(226, 219, 208, 0.5);
  margin: 0;
}

.lgbtq-section {
  background-color: var(--color-bg-card);
  padding: 60px 0;
}

.lgbtq-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: var(--card-border);
  border-radius: var(--card-radius);
  padding: 35px 50px;
  background-color: var(--color-bg-card);
  box-shadow: var(--card-shadow);
  transition: var(--card-transition);
}

.lgbtq-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--card-hover-border-step);
}

.lgbtq-text h2 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text-dark);
}

.lgbtq-text p {
  font-size: 14.5px;
  color: var(--color-text-light);
}

.lgbtq-logo img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(44, 53, 40, 0.08);
}

@media (max-width: 600px) {
  .lgbtq-card {
    flex-direction: column-reverse;
    text-align: center;
    gap: 24px;
    padding: 30px 24px;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: var(--color-bg-subtle);
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid rgba(226, 219, 208, 0.6);
}

.footer p {
  font-size: 13px;
  color: var(--color-text-light);
  letter-spacing: 0.03em;
}

/* ==========================================================================
   Scroll Fade-in Animations
   ========================================================================== */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.0s cubic-bezier(0.16, 1, 0.3, 1), transform 1.0s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ==========================================================================
   Typography: Apply Serif to narrative content
   ========================================================================== */
.welcome-content p,
.counselor-bio p,
.section-intro,
.location-info p {
  font-family: var(--font-serif);
}

/* ==========================================================================
   FAQ Section Styles
   ========================================================================== */
.faq-section {
  background-color: var(--color-bg-base);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background-color: var(--color-bg-card);
  border: var(--card-border-faq);
  border-radius: var(--card-radius-faq);
  overflow: hidden;
  box-shadow: var(--card-shadow-faq);
  transition: var(--card-transition-faq);
}

.faq-item:hover {
  border-color: var(--card-hover-border);
  box-shadow: 0 8px 25px rgba(44, 53, 40, 0.04);
}

.faq-item[open] {
  border-color: rgba(96, 128, 76, 0.4);
  box-shadow: 0 8px 30px rgba(44, 53, 40, 0.05);
}

.faq-question {
  padding: 22px 28px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-text-dark);
  cursor: pointer;
  position: relative;
  list-style: none; /* Hide default marker */
  padding-right: 50px; /* Space for custom arrow */
  user-select: none;
  transition: color 0.3s ease;
}

/* Hide Webkit default details marker */
.faq-question::-webkit-details-marker {
  display: none;
}

/* Custom arrow indicator */
.faq-question::after {
  content: '＋';
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: var(--color-accent);
  font-weight: bold;
  transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item[open] .faq-question::after {
  content: '－';
  transform: translateY(-50%) rotate(180deg);
  color: var(--color-primary);
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-answer {
  padding: 0 28px 24px 28px;
  border-top: 1px solid rgba(226, 219, 208, 0.3);
  background-color: var(--color-caution-bg); /* Warm subtle beige inside the answer */
}

.faq-answer p {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--color-text-light);
  margin-top: 18px;
  font-family: var(--font-serif);
}
