/*
Theme Name: Arrow Group Home
Theme URI: https://arrow-group.com/
Author: Arrow Inc.
Author URI: https://arrow-group.com/
Description: 障がい者グループホーム・就労継続支援B型事業所のランディングページ用WordPressテーマ
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: arrow-group-home
*/

/* ========================================
   CSS Custom Properties (Design Tokens)
   ======================================== */
:root {
  /* Colors - Light Mode */
  --background: #ffffff;
  --foreground: #1a1a2e;
  --card: #ffffff;
  --card-foreground: #1a1a2e;
  --popover: #ffffff;
  --popover-foreground: #1a1a2e;
  --primary: #d97a5c;
  --primary-foreground: #ffffff;
  --secondary: #faf7f5;
  --secondary-foreground: #1a1a2e;
  --muted: #f5f3f1;
  --muted-foreground: #6b6b7b;
  --accent: #f5d280;
  --accent-foreground: #1a1a2e;
  --destructive: #dc2626;
  --border: #e8e5e2;
  --input: #f5f3f1;
  --ring: #d97a5c;
  
  /* Radius */
  --radius: 0.75rem;
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ========================================
   Utility Classes
   ======================================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.text-balance {
  text-wrap: balance;
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 2.25rem;
}

h2 {
  font-size: 1.875rem;
}

h3 {
  font-size: 1.5rem;
}

@media (min-width: 768px) {
  h1 {
    font-size: 3.75rem;
  }
  h2 {
    font-size: 2.5rem;
  }
  h3 {
    font-size: 1.875rem;
  }
}

@media (min-width: 1024px) {
  h1 {
    font-size: 4.5rem;
  }
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 10px 25px -5px rgba(217, 122, 92, 0.3);
}

.btn-primary:hover {
  background-color: #c96b4e;
  transform: scale(1.05);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--accent-foreground);
  box-shadow: 0 4px 15px rgba(245, 210, 128, 0.3);
}

.btn-accent:hover {
  background-color: #f0c865;
}

.btn-outline {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.btn-outline-dark {
  background-color: transparent;
  border: 1px solid var(--border);
  color: var(--foreground);
}

.btn-outline-dark:hover {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.btn-lg {
  padding: 1.25rem 2.5rem;
  font-size: 1rem;
}

@media (min-width: 768px) {
  .btn-lg {
    font-size: 1.125rem;
  }
}

/* ========================================
   Cards
   ======================================== */
.card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
}

.card-shadow {
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.card:hover {
  border-color: rgba(217, 122, 92, 0.3);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
}

.card-content {
  padding: 1.5rem;
}

/* ========================================
   Badge
   ======================================== */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  background-color: rgba(217, 122, 92, 0.1);
  color: var(--primary);
  border: 1px solid rgba(217, 122, 92, 0.2);
}

/* ========================================
   Header
   ======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

@media (min-width: 768px) {
  .header-inner {
    height: 5rem;
  }
}

.site-logo img {
  height: 2rem;
  width: auto;
}

@media (min-width: 768px) {
  .site-logo img {
    height: 2.5rem;
  }
}

.main-nav {
  display: none;
}

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }
}

.main-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

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

.header-cta {
  display: none;
}

@media (min-width: 768px) {
  .header-cta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

.header-phone:hover {
  color: var(--primary);
}

.header-phone svg {
  width: 1rem;
  height: 1rem;
}

.mobile-menu-btn {
  padding: 0.5rem;
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--foreground);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  background-color: var(--card);
  border-top: 1px solid var(--border);
  padding: 1rem 0;
}

.mobile-menu.active {
  display: block;
}

@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-menu a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.mobile-menu a:hover {
  color: var(--primary);
  background-color: var(--muted);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 4rem;
  padding-bottom: 2rem;
}

@media (min-width: 768px) {
  .hero {
    padding-top: 6rem;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
}

.hero h1 {
  font-size: 2.25rem;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 2rem;
  max-width: 64rem;
}

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

@media (min-width: 640px) {
  .hero h1 {
    font-size: 3rem;
  }
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 4.5rem;
  }
}

@media (min-width: 1280px) {
  .hero h1 {
    font-size: 6rem;
  }
}

.hero-subcopy {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 42rem;
}

@media (min-width: 768px) {
  .hero-subcopy {
    font-size: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .hero-subcopy {
    font-size: 1.5rem;
  }
}

.hero-points {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
}

@media (min-width: 768px) {
  .hero-points li {
    font-size: 1.125rem;
  }
}

.hero-points svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-cta {
    flex-direction: row;
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 1s infinite;
}

.scroll-indicator-inner {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-full);
  display: flex;
  justify-content: center;
  padding-top: 0.5rem;
}

.scroll-indicator-dot {
  width: 0.375rem;
  height: 0.75rem;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-full);
}

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

/* ========================================
   Features Section
   ======================================== */
.features {
  padding: 5rem 0;
  background-color: var(--card);
}

@media (min-width: 768px) {
  .features {
    padding: 7rem 0;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .section-header {
    margin-bottom: 5rem;
  }
}

.section-label {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

.section-title {
  color: var(--foreground);
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--muted-foreground);
  max-width: 36rem;
  margin: 0 auto;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

@media (min-width: 768px) {
  .feature-list {
    gap: 6rem;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .feature-item {
    flex-direction: row;
    gap: 3rem;
  }
  
  .feature-item:nth-child(even) {
    flex-direction: row-reverse;
  }
}

.feature-image {
  width: 100%;
}

@media (min-width: 768px) {
  .feature-image {
    width: 50%;
  }
}

.feature-image-inner {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-content {
  width: 100%;
}

@media (min-width: 768px) {
  .feature-content {
    width: 50%;
  }
}

.feature-number {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.feature-number span {
  font-size: 3rem;
  font-weight: 700;
  color: rgba(217, 122, 92, 0.2);
}

@media (min-width: 768px) {
  .feature-number span {
    font-size: 3.75rem;
  }
}

.feature-number-line {
  height: 1px;
  flex: 1;
  background-color: rgba(217, 122, 92, 0.2);
}

.feature-title {
  font-size: 1.5rem;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .feature-title {
    font-size: 1.875rem;
  }
}

.feature-subtitle {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 1rem;
}

.feature-desc {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  line-height: 1.75;
}

/* ========================================
   Cost Simulation Section
   ======================================== */
.cost-simulation {
  padding: 5rem 0;
  background-color: var(--background);
}

@media (min-width: 768px) {
  .cost-simulation {
    padding: 7rem 0;
  }
}

.cost-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .cost-flow {
    flex-direction: row;
    align-items: stretch;
  }
}

.cost-card {
  flex: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.cost-card-content {
  padding: 1.5rem;
}

.cost-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.cost-card-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cost-card-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.cost-card-step {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  font-weight: 500;
}

.cost-card-label {
  font-weight: 700;
  color: var(--foreground);
}

/* Income Card */
.cost-card-income {
  border: 2px solid rgba(217, 122, 92, 0.2);
  background-color: rgba(217, 122, 92, 0.05);
}

.cost-card-income .cost-card-icon {
  background-color: var(--primary);
}

.cost-card-income .cost-card-icon svg {
  color: var(--primary-foreground);
}

.cost-amount {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cost-amount-unit {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--muted-foreground);
}

.cost-card-income .cost-amount {
  color: var(--primary);
}

.cost-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cost-breakdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.cost-breakdown-item:last-child {
  border-bottom: none;
}

.cost-breakdown-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.cost-breakdown-value {
  font-weight: 500;
  color: var(--foreground);
}

/* Expense Card */
.cost-card-expense {
  border: 2px solid var(--muted);
}

.cost-card-expense .cost-card-icon {
  background-color: var(--muted);
}

.cost-card-expense .cost-card-icon svg {
  color: var(--muted-foreground);
}

.cost-original {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  text-decoration: line-through;
}

.cost-card-expense .cost-amount {
  color: var(--foreground);
}

.subsidy-box {
  background-color: rgba(245, 210, 128, 0.5);
  border-radius: var(--radius-xl);
  padding: 0.75rem;
  margin-top: 1rem;
}

.subsidy-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.subsidy-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

.subsidy-amount {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.subsidy-details {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* Result Card */
.cost-card-result {
  background: linear-gradient(135deg, var(--primary), #c96b4e);
  border: none;
  box-shadow: 0 20px 40px -10px rgba(217, 122, 92, 0.4);
  position: relative;
  overflow: hidden;
}

.cost-card-result::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 10rem;
  height: 10rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  transform: translate(50%, -50%);
}

.cost-card-result::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 8rem;
  height: 8rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  transform: translate(-50%, 50%);
}

.cost-card-result .cost-card-content {
  position: relative;
  z-index: 1;
}

.cost-card-result .cost-card-icon {
  background-color: rgba(255, 255, 255, 0.2);
}

.cost-card-result .cost-card-icon svg {
  color: var(--primary-foreground);
}

.cost-card-result .cost-card-step {
  color: rgba(255, 255, 255, 0.7);
}

.cost-card-result .cost-card-label {
  color: var(--primary-foreground);
}

.cost-result-pre {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}

.cost-card-result .cost-amount {
  font-size: 3rem;
  color: var(--primary-foreground);
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .cost-card-result .cost-amount {
    font-size: 3.75rem;
  }
}

.cost-result-post {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

/* 生活費の内訳は「出るお金」カード(白背景)へ移設したため、暗い文字に調整 */
.expense-breakdown {
  background-color: rgba(0, 0, 0, 0.03);
  border-radius: var(--radius-xl);
  padding: 1rem;
  margin-top: 1rem;
}

.expense-breakdown-title {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.expense-breakdown-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.expense-breakdown-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--foreground);
  font-size: 0.75rem;
}

.expense-breakdown-item svg {
  width: 0.875rem;
  height: 0.875rem;
}

.expense-breakdown-item span:last-child {
  margin-left: auto;
  font-weight: 500;
}

/* Arrow between cards */
.cost-arrow {
  display: flex;
  justify-content: center;
  padding: 1rem 0;
}

@media (min-width: 1024px) {
  .cost-arrow {
    padding: 0 0.75rem;
    align-items: center;
  }
}

.cost-arrow-inner {
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(217, 122, 92, 0.3);
  flex-shrink: 0;
}

.cost-arrow-inner svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary-foreground);
}

.cost-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   Daytime Activities Section
   ======================================== */
.daytime-activities {
  padding: 5rem 0;
  background-color: var(--muted);
}

@media (min-width: 768px) {
  .daytime-activities {
    padding: 7rem 0;
  }
}

.facility-grid {
  display: grid;
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto;
}

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

.facility-card {
  background-color: var(--card);
  border: none;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.facility-card:hover .facility-image img {
  transform: scale(1.05);
}

.facility-image {
  position: relative;
  height: 14rem;
  overflow: hidden;
}

.facility-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.facility-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

.facility-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-foreground);
  border-radius: var(--radius-full);
}

.facility-badge-accent {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.facility-badge-primary {
  background-color: var(--primary);
}

.facility-content {
  padding: 1.5rem;
}

.facility-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.facility-desc {
  color: var(--muted-foreground);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.facility-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.facility-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--foreground);
}

.facility-feature svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
  flex-shrink: 0;
}

.facility-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  font-weight: 500;
  color: var(--foreground);
  transition: all 0.2s ease;
}

.facility-link:hover {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.facility-link svg {
  width: 1rem;
  height: 1rem;
}

/* Transport Card */
.transport-card {
  margin-top: 3rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  background-color: rgba(217, 122, 92, 0.05);
  border: 1px solid rgba(217, 122, 92, 0.2);
}

.transport-inner {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 640px) {
  .transport-inner {
    flex-direction: row;
    text-align: left;
  }
}

.transport-icon {
  width: 4rem;
  height: 4rem;
  background-color: rgba(217, 122, 92, 0.1);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.transport-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
}

.transport-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.transport-desc {
  color: var(--muted-foreground);
}

/* ========================================
   Facilities Section (Group Homes)
   ======================================== */
.group-homes {
  padding: 5rem 0;
  background-color: var(--muted);
}

@media (min-width: 768px) {
  .group-homes {
    padding: 7rem 0;
  }
}

.common-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.home-image {
  max-width: 56rem;
  margin: 0 auto 3rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
  position: relative;
}

.home-image img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.home-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}

.home-image-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 500;
}

@media (min-width: 768px) {
  .home-image-caption {
    font-size: 1.25rem;
  }
}

.home-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}

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

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

.home-card {
  background-color: var(--card);
  border: 1px solid var(--border);
}

.home-card-content {
  padding: 1.5rem;
}

.home-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.home-card-icon {
  width: 3rem;
  height: 3rem;
  background-color: rgba(217, 122, 92, 0.1);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-card-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.home-card-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
}

.home-card-location {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.home-card-location svg {
  width: 0.75rem;
  height: 0.75rem;
}

.home-card-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.home-card-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
}

.home-card-info-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--foreground);
}

.home-card-info-item svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
}

.trial-cta {
  text-align: center;
  margin-top: 3rem;
}

.trial-cta-sub {
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.trial-cta-main {
  font-weight: 500;
  color: var(--foreground);
}

/* ========================================
   Schedule Section
   ======================================== */
.schedule {
  padding: 5rem 0;
  background-color: var(--card);
}

@media (min-width: 768px) {
  .schedule {
    padding: 7rem 0;
  }
}

.timeline {
  max-width: 48rem;
  margin: 0 auto;
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .timeline {
    padding: 2rem;
  }
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.timeline-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.timeline-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.timeline-icon-morning {
  background-color: rgba(245, 210, 128, 0.2);
  color: var(--accent-foreground);
}

.timeline-icon-daytime {
  background-color: rgba(217, 122, 92, 0.1);
  color: var(--primary);
}

.timeline-icon-evening {
  background-color: rgba(245, 210, 128, 0.3);
  color: var(--accent-foreground);
}

.timeline-icon-night {
  background-color: rgba(217, 122, 92, 0.2);
  color: var(--primary);
}

.timeline-content {
  flex: 1;
  padding-top: 0.25rem;
}

.timeline-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.timeline-time {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
}

.timeline-activity {
  font-weight: 700;
  color: var(--foreground);
}

.timeline-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ========================================
   Consultation Box Section
   ======================================== */
.consultation-box {
  padding: 4rem 0;
  background-color: rgba(245, 243, 241, 0.3);
}

@media (min-width: 640px) {
  .consultation-box {
    padding: 5rem 0;
  }
}

.consultation-card {
  max-width: 72rem;
  margin: 0 auto;
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.consultation-grid {
  display: grid;
}

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

.consultation-image {
  position: relative;
  height: 16rem;
}

@media (min-width: 768px) {
  .consultation-image {
    height: auto;
    min-height: 25rem;
  }
}

.consultation-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.consultation-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(217, 122, 92, 0.2), transparent);
}

@media (min-width: 768px) {
  .consultation-image-overlay {
    background: linear-gradient(to right, rgba(217, 122, 92, 0.2), transparent);
  }
}

.consultation-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 640px) {
  .consultation-content {
    padding: 2rem;
  }
}

@media (min-width: 768px) {
  .consultation-content {
    padding: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .consultation-content {
    padding: 3rem;
  }
}

.consultation-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(217, 122, 92, 0.1);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  width: fit-content;
}

.consultation-badge svg {
  width: 1rem;
  height: 1rem;
}

.consultation-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
  line-height: 1.4;
}

@media (min-width: 640px) {
  .consultation-title {
    font-size: 1.875rem;
  }
}

.consultation-desc {
  font-size: 1rem;
  color: var(--muted-foreground);
  line-height: 1.75;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .consultation-desc {
    font-size: 1.125rem;
  }
}

.consultation-features {
  display: grid;
  gap: 1rem;
}

.consultation-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.consultation-feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(217, 122, 92, 0.1);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.consultation-feature-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.consultation-feature span {
  font-weight: 500;
  color: var(--foreground);
}

/* ========================================
   Footer
   ======================================== */
.final-cta {
  position: relative;
  padding: 5rem 0;
  background-color: var(--primary);
  overflow: hidden;
}

@media (min-width: 768px) {
  .final-cta {
    padding: 7rem 0;
  }
}

.final-cta-content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.final-cta-icon {
  width: 3rem;
  height: 3rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 auto 1.5rem;
}

.final-cta-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-foreground);
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .final-cta-title {
    font-size: 1.875rem;
  }
}

@media (min-width: 768px) {
  .final-cta-title {
    font-size: 2.5rem;
  }
}

.final-cta-desc {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .final-cta-desc {
    font-size: 1.125rem;
  }
}

.final-cta-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.final-cta-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--primary-foreground);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
}

.final-cta-tag svg {
  width: 1rem;
  height: 1rem;
}

.final-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .final-cta-buttons {
    flex-direction: row;
  }
}

.final-cta-btn-primary {
  background-color: var(--accent);
  color: var(--accent-foreground);
  box-shadow: 0 4px 15px rgba(245, 210, 128, 0.3);
}

.final-cta-btn-primary:hover {
  background-color: #f0c865;
}

.final-cta-btn-outline {
  background-color: transparent;
  border: 1px solid var(--primary-foreground);
  color: var(--primary-foreground);
}

.final-cta-btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.final-cta-hours {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Footer Info */
.site-footer {
  background-color: var(--foreground);
  color: var(--background);
  padding: 3rem 0;
}

@media (min-width: 768px) {
  .site-footer {
    padding: 4rem 0;
  }
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-logo img {
  height: 2.5rem;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-desc {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
}

.footer-contact-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--background);
  margin-bottom: 1rem;
}

.footer-contact-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.75rem;
}

.footer-contact-item:last-child {
  margin-bottom: 0;
}

.footer-contact-item svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.footer-contact-item a {
  transition: color 0.2s ease;
}

.footer-contact-item a:hover {
  color: var(--background);
}

.footer-copyright {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   WordPress Specific
   ======================================== */
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignleft {
  float: left;
  margin-right: 1.5rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-align: center;
  margin-top: 0.5rem;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* ============================================================
   お問い合わせページ (page-contact.php) 用スタイル
   ============================================================ */
/* 固定ヘッダー(position:fixed)に見出しが被らないよう上部余白を確保 */
.contact-page {
  padding-top: 7rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.contact-info-card {
  background: #f6f8fb;
  border: 1px solid #e3e9f0;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
}

.contact-info-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #1a2a5e;
  margin: 0 0 12px;
}

.contact-tel {
  display: block;
  font-size: 26px;
  font-weight: 700;
  color: #1a2a5e;
  text-decoration: none;
  line-height: 1.2;
}

.contact-fax {
  margin: 6px 0 0;
  color: #4a5568;
  font-size: 14px;
}

.contact-hours {
  margin: 10px 0 0;
  color: #4a5568;
  font-size: 13px;
}

.contact-email {
  color: #1a2a5e;
  font-weight: 600;
  word-break: break-all;
}

.contact-address {
  margin: 0 0 14px;
  color: #1a2230;
  line-height: 1.8;
}

.contact-map {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e3e9f0;
}

.contact-map iframe {
  display: block;
}

.contact-form-wrap {
  background: #fff;
  border: 1px solid #e3e9f0;
  border-radius: 12px;
  padding: 32px;
}

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

/* Contact Form 7 フォーム */
.cf7-field {
  margin-bottom: 24px;
}

.cf7-field label {
  display: block;
  font-weight: 700;
  color: #1a2230;
  margin-bottom: 8px;
  font-size: 15px;
}

.cf7-req {
  color: #c0392b;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #dde3ea;
  border-radius: 8px;
  font-size: 16px;
  background: #fff;
  box-sizing: border-box;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: #1e3a6b;
  box-shadow: 0 0 0 3px rgba(30, 58, 107, 0.15);
}

.wpcf7 textarea {
  resize: vertical;
}

.cf7-submit input[type="submit"] {
  background: #1a2a5e;
  color: #fff;
  font-weight: 700;
  padding: 14px 40px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cf7-submit input[type="submit"]:hover {
  background: #24397a;
}

/* ===== 20260910 追記 ===== */

/* 工賃の補足(令和7年度平均工賃) */
.cost-breakdown-label small {
  display: block;
  margin-top: 0.125rem;
  font-size: 0.6875rem;
  opacity: 0.75;
}

/* 費用シミュレーションの PC 用 / モバイル用レイアウトの切り替え。
   定義が無く両方表示されていた(STEP 1〜3 の 2 重掲載)ため補完する。
   改行制御用の .hidden-mobile / .hidden-desktop も併せて定義。 */
.hidden-mobile {
  display: none;
}

@media (min-width: 768px) {
  .hidden-mobile {
    display: inline;
  }
  .hidden-desktop {
    display: none;
  }
}

.cost-flow.hidden-mobile-flex {
  display: none;
}

.cost-flow.hidden-desktop-flex {
  display: flex;
}

@media (min-width: 1024px) {
  .cost-flow.hidden-mobile-flex {
    display: flex;
  }
  .cost-flow.hidden-desktop-flex {
    display: none;
  }
}
