/* ===== CSS Variables ===== */
:root {
  /* Colors */
  --bg-primary: #fff5f0;
  /* Light Orange Background */
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #fff9f5;

  --primary: #ff8f5c;
  --primary-dark: #ff7033;
  --secondary: #ffa470;
  --gradient: linear-gradient(135deg, #ffa470 0%, #ff8f5c 100%);
  /* Orange Gradient */

  --text-primary: #1f2937;
  --text-secondary: #4b5563;
  --text-muted: #9ca3af;

  --border-color: #f3f4f6;
  --border-light: #e5e7eb;

  /* Spacing */
  /* Spacing */
  --header-height: 72px;
  --container-max: 1200px;
  --section-padding: 80px;

  /* Typography */
  --font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 20px rgba(255, 143, 92, 0.3);
}

@media (max-width: 900px) {
  :root {
    --header-height: 60px;
  }
}
@media (max-width: 600px) {
  :root {
    --header-height: 56px;
  }
}
@media (max-width: 400px) {
  :root {
    --header-height: 52px;
  }
}

/* ===== Utilities ===== */
.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;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== Container ===== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  background: none;
}

.btn-primary {
  background: var(--gradient);
  color: white;
}

.btn-primary:hover {
  transform: translateY(2px);
}

.btn-outline {
  border: 2px solid var(--border-light);
  color: var(--text-primary);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.1);
}

.btn-ghost {
  color: var(--text-secondary);
}

.btn-ghost:hover {
  color: var(--text-primary);
}

/* Vision Page Link Button Decoration */
.btn-vision {
  padding: 14px 32px;
  background: white;
  border: 1.5px solid #f39a7c;
  color: #f39a7c;
  border-radius: 50px;
  font-size: 16px;
  position: relative;
  overflow: hidden;
}

.btn-vision:hover {
  background: #f39a7c;
  color: white;
  transform: translateY(-2px);
}

.btn-vision .arrow-icon {
  transition: transform 0.3s ease;
}

.btn-vision:hover .arrow-icon {
  transform: translateX(5px);
}

@media (max-width: 900px) {
  .why-habitasu-cta {
    display: flex;
    justify-content: center;
    margin-top: 30px !important;
  }
}

.btn-lg {
  padding: 16px 32px;
  font-size: 17px;
}

.btn-block {
  width: 100%;
}

/* ===== Gradient Text ===== */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  color: #ff6733;
  background-clip: text;
}

/* ===== Section Styling ===== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-description {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
}

.campaign-badge {
  display: inline-block;
  background: #f39a7c;
  color: #ffffff;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 16px;
  font-size: 16px;
  letter-spacing: 0.05em;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 11px;
  z-index: 1000;
  transition: var(--transition-normal);
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: translateY(3px);
}

.logo-img {
  height: 50px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.nav-link {
  font-size: 15px;
  color: var(--text-secondary);
  position: relative;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

.header-cta {
  padding: 10px 20px;
  font-size: 14px;
  margin-left: 50px;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-fast);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: rgb(246 246 246 / 98%);
  backdrop-filter: blur(20px);
  padding: 40px 24px;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  transform: translateY(-100%);
  opacity: 0;
  transition: var(--transition-normal);
  z-index: 999;
}

.mobile-nav .nav-link {
  font-size: 18px;
  padding: 12px 20px;
  width: fit-content;
  text-align: center;
}

.mobile-nav.active {
  transform: translateY(0);
  opacity: 1;
}

/* ===== Hero Section ===== */
.hero {
  padding-top: var(--header-height);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-color: #fff;
}

.hero-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
}

.hero-content {
  max-width: 560px;
  z-index: 2;
}

.hero-title {
  font-size: clamp(28px, 6vw, 56px);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 24px;
  color: #1f2937;
}

.hero-description {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.gradient-text-sm {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: #ff6733;
  font-weight: 700;
}

/* App Store & Google Play Icons */
.hero-store-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 40px;
}

.store-badge {
  width: 140px;
  height: auto;
  transition: transform 0.3s ease;
}

.store-badge:hover {
  transform: translateY(-2px);
}

.hero-store-coming-soon {
  font-size: 16px;
  font-weight: 700;
  color: #333333;
  letter-spacing: 0.05em;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 8px; /* Space between items */
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

.store-icon-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 4px; /* Space between icon and text */
}

.store-icon-wrapper img {
  width: 30px; /* Adjust size as needed */
  height: auto;
  display: block;
}

@media (max-width: 1024px) {
  .hero-store-container {
    justify-content: center;
    align-items: center;
    margin: 0 auto 24px;
  }
  
  .hero-store-coming-soon {
    justify-content: center;
  }
}

.hero-image {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.app-mockup {
  width: 300px;
  height: 600px;
  background: #000;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border: 4px solid #333;
}

.hero-mockup-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 750px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
  transform: translateX(5%);
  /* 右側に少し寄せるか、中央寄せのために調整 */
}

@media (max-width: 1024px) {
  .hero {
    background-position: right -180px bottom 0px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-title {
    font-size: clamp(32px, 8vw, 40px);
    margin-top: 20px;
  }

  .hero-image {
    order: -1;
    margin-bottom: 40px;
  }

  .hero-mockup-img {
    max-height: 450px;
    transform: none;
    /* Mobile reset */
  }



  .hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto 24px auto;
    width: 100%;
  }
}

/* ===== Values Section ===== */
.values-section {
  padding: var(--section-padding) 0;
  background: #fff;
}

.section-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

/* Point Row Layout */
.point-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
}

.point-row-reverse {
  direction: rtl;
}

.point-row-reverse > * {
  direction: ltr;
}

.point-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.point-number {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
}

.point-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
}

.point-description {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.point-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.point-image img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}

@media (max-width: 1024px) {
  .point-row {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 40px 0;
    text-align: center;
  }

  .point-row-reverse {
    direction: ltr;
    /* Reset direction */
  }

  .point-content {
    align-items: center;
    /* Center content on mobile */
  }

  .point-image {
    order: -1;
    /* Image first */
    margin-bottom: 20px;
  }

  .point-image img {
    max-width: 70%;
    /* Don't be too huge */
  }

  .point-title {
    font-size: 24px;
  }

  .point-description {
    text-align: left;
    /* Keep text readable */
    max-width: 500px;
    /* Limit width */
    margin: 0 auto;
  }
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.values-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.value-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.value-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.value-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.values-image {
  display: flex;
  justify-content: center;
}

.values-image img {
  max-width: 100%;
  height: auto;
  max-height: 500px;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
  .values-section {
    padding: 0 0 40px 0;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .values-image {
    order: -1;
  }

  .point-image img {
    max-width: 100%;
    /* Don't be too huge */
  }
}

/* ===== Function Overview Phones ===== */
.function-overview {
  padding: var(--section-padding) 0;
  background: #fff9f6;
}

.function-grid-phones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.function-phone-card {
  text-align: center;
}

.function-phone-image {
  margin-bottom: 24px;
}

.function-phone-image img {
  max-width: 280px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

.function-phone-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.function-phone-content h3::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
}

.function-phone-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .function-grid-phones {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    /* Narrower gap for tablets */
  }

  .function-phone-image img {
    max-width: 100%;
    /* Scale down to fit column */
  }
}

/* ===== Why Habitasu Section ===== */
.why-habitasu {
  padding: 80px 0;
  background-color: #fff5f0;
}

.why-habitasu-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: center;
}

.why-habitasu-image {
  display: flex;
  justify-content: center;
  padding: 0px 55px;
}

.why-habitasu-image img {
  max-width: 100%;
  height: auto;
}

.why-habitasu-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.why-habitasu-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.why-habitasu-text p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.why-habitasu-text p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .why-habitasu-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .why-habitasu-image {
    order: -1;
  }

  .why-habitasu-text {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .function-grid-phones {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .function-phone-image img {
    max-width: 200px;
  }
}

/* ===== Testimonials Section ===== */
/* ====================
   基本スタイル (PC/Base)
   ==================== */
.testimonials-section {
  padding: 100px 20px;
  background-color: rgb(255, 231, 220);
  width: 100%;
  overflow-x: hidden;
}

.testimonials-inner {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.testimonials-header {
  padding-left: max(20px, calc((100vw - 1200px) / 2 + 20px));
}

.testimonials-title {
  font-size: 40px;
  font-weight: 700;
  color: #292524;
}

.testimonials-scroll-hint {
  padding-left: max(20px, calc((100vw - 1200px) / 2 + 20px));
}

.testimonials-scroll-text {
  font-size: 16px;
  font-weight: 500;
  color: #ff6733;
}

.testimonials-cards {
  display: flex;
  flex-direction: row;
  gap: 20px;
  overflow-x: auto;
  padding-left: max(20px, calc((100vw - 1200px) / 2 + 20px));
  padding-right: 50px;
  padding-bottom: 20px;
  /* Hide scrollbar */
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE/Edge */
}

.testimonials-cards::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari */
}

.testimonial-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 30px;
  width: 500px;
  flex-shrink: 0;
}

.testimonial-header {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 10px;
}

.testimonial-name {
  font-size: 20px;
  font-weight: 700;
  color: #333333;
}

.testimonial-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: #333333;
}

/* ====================
   タブレット用 (800px - 1279px)
   ==================== */
@media (max-width: 1279px) and (min-width: 800px) {
  .testimonials-section {
    padding: 80px 20px;
  }

  .testimonials-title {
    font-size: 30px;
  }

  .testimonial-card {
    width: 400px;
  }
}

/* ====================
   スマホ用 (max-width: 799px)
   ==================== */
@media (max-width: 799px) {
  .testimonials-section {
    padding: 60px 0px;
  }

  .testimonials-header {
    padding-left: 30px;
  }

  .testimonials-scroll-hint {
    padding-left: 30px;
  }

  .testimonials-cards {
    padding-left: 30px;
  }

  .testimonials-title {
    font-size: 26px;
  }

  .testimonial-card {
    width: 300px;
  }
}

/* ===== Pricing Section ===== */
.pricing {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
}

.pricing-toggle-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding-top: 10px;
  margin-bottom: 25px;
  /* Mobile first adjustment */
}

@media screen and (min-width: 769px) {
  .pricing-toggle-container {
    margin-bottom: 40px;
  }
}

.pricing-discount-badge {
  background-color: #ff0000;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
  position: relative;
  left: -40px;
  /* Shift to left to align with "Annual" button */
  transition: all 0.3s ease;
}

.pricing-discount-badge.inactive {
  background-color: #888;
  color: #fff;
}

.pricing-discount-badge.inactive::after {
  border-top-color: #888;
}

.pricing-discount-badge::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px 6px 0;
  border-style: solid;
  border-color: #ff0000 transparent transparent transparent;
  transition: border-color 0.3s ease;
}

.pricing-toggle-bg {
  background-color: #e0e0e0;
  border-radius: 30px;
  padding: 4px;
  display: flex;
  gap: 5px;
}

.pricing-toggle-btn {
  background: none;
  border: none;
  padding: 10px 30px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: bold;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pricing-toggle-btn.active {
  background-color: #fff;
  color: #333;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pricing-cards-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.pricing-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  padding: 30px;
  flex: 1;
  max-width: 420px;
  display: flex;
  flex-direction: column;
}

.pricing-card-tax {
  font-size: 14px;
  font-weight: normal;
  color: #666;
  margin-left: 2px;
}

.pricing-card--standard {
  border: 2px solid #ff6733;
  position: relative;
}

.pricing-card-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.pricing-card-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
  min-height: 66px;
  /* Align heights */
}

.pricing-card-price-area {
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
  color: #333;
}

.pricing-card-currency {
  font-size: 24px;
  font-weight: bold;
  margin-right: 4px;
}

.pricing-card-amount {
  font-size: 48px;
  font-weight: bold;
  line-height: 1;
}

.pricing-card-period {
  font-size: 14px;
  color: #666;
}

.pricing-card-features {
  border-top: 1px solid #f0f0f0;
  padding-top: 20px;
}

.pricing-features-header {
  background-color: #e0e0e0;
  color: #333;
  font-size: 14px;
  font-weight: bold;
  padding: 4px 10px;
  display: inline-block;
  border-radius: 4px;
  width: 100%;
  margin-bottom: 15px;
}

.pricing-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.pricing-features-item {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 15px;
  color: #333;
  line-height: 1.4;
}

.check-icon {
  width: 12px;
  height: 6px;
  border-left: 2px solid #ff6733;
  border-bottom: 2px solid #ff6733;
  transform: rotate(-45deg);
  margin-right: 12px;
  margin-bottom: 4px;
  flex-shrink: 0;
}

/* Mobile Responsiveness for Pricing */
@media screen and (max-width: 768px) {
  .pricing-cards-container {
    flex-direction: column;
    align-items: center;
  }

  .pricing-card {
    width: 100%;
    max-width: 100%;
  }

  .pricing-card-desc {
    min-height: auto;
  }

  .pricing-card-amount {
    font-size: 40px;
  }
}

/* ===== FAQ Section ===== */
.faq {
  padding: var(--section-padding) 0;
  background-color: rgb(255, 255, 255);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  font-family: inherit;
  transition: var(--transition-fast);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  width: 24px;
  height: 24px;
  stroke: var(--text-muted);
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  stroke: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 0 24px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ===== CTA Section ===== */
.cta {
  padding: var(--section-padding) 0;
  background: #f39a7c;
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-logo {
  max-width: 280px;
  width: 100%;
  height: auto;
}

.cta h2 {
  margin-bottom: 5px;
  color: #ffffff;
}

.cta p:first-of-type {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
}

/* ===== Footer ===== */
.footer {
  padding: 0;
  background: transparent;
}

/* CTA Section Styling */
.habi-cta {
  background: #f39a7c;
  padding: 80px 20px;
  text-align: center;
  color: white;
}

.cta-logo {
  max-width: 280px;
  width: 100%;
  height: auto;
}

.cta-inner h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-inner p {
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
  opacity: 0.9;
}

.btn-cta {
  display: inline-block;
  background: white;
  color: var(--primary, #ff8f5c);
  font-weight: 700;
  padding: 16px 40px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}

.btn-cta:hover {
  transform: translateY(-3px);
}

.footer-content {
  background: #f39a7c;
  text-align: center;
  padding:0px 60px 30px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 32px;
  transition: transform 0.3s ease;
}

.footer-logo:hover {
  transform: translateY(3px);
}

.footer-logo-img {
  height: 50px;
  width: auto;
}

.footer-sns {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
}

.sns-link {
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sns-link svg,
.sns-link img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.sns-link:hover {
  color: #ffffff;
  transform: translateY(-3px);
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-nav a:hover {
  color: #ffffff;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    max-width: 400px;
    margin: 0 auto;
  }
}

.footer-copyright {
  margin-top: 40px;
  color: white;
  font-weight: 400;
  font-size: 13px;
  text-align: center;
}

.sp-only {
  display: none;
}

@media (max-width: 768px) {
  .hero {
    background-position: right -290px bottom 110px;
  }

  .pc-only {
    display: none;
  }

  .sp-only {
    display: inline;
  }

  :root {
    --section-padding: 60px;
  }

  .nav,
  .header-cta {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .mobile-nav {
    display: flex;
  }

  /* CTA Section Mobile */
  .habi-cta {
    padding: 60px 20px;
  }

  .cta-logo {
    max-width: 200px;
  }

  .cta-inner h3 {
    font-size: 1.5rem;
  }

  .cta-inner p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .btn-cta {
    padding: 14px 32px;
    font-size: 0.95rem;
  }

  /* Footer Mobile */
  .footer-nav {
    flex-direction: column;
    gap: 16px;
  }

  .footer-nav a {
    font-size: 14px;
  }

  /* Padding Adjustments */
  .solution-section {
    padding: 24px;
  }

  /* Stats Grid Mobile */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stat-card {
    padding: 24px 20px;
  }

  /* Hero Buttons */
  .line-register-btn {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    font-size: 18px;
  }

  .line-register-btn2 {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    font-size: 18px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  /* Global Adjustments for Mobile */
  .container {
    padding: 50px 20px 0px 20px;
  }

  .section-title {
    font-size: 28px;
  }

  .section-description {
    font-size: 15px;
  }
}

@media (max-width: 480px) {

}
/* Breadcrumbs */
.breadcrumbs {
  padding: 16px 0;
  font-size: 14px;
  color: #666;
}

.breadcrumbs-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
}

.breadcrumbs a {
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumbs a:hover {
  color: var(--primary, #ff8f5c);
  text-decoration: underline;
}

.breadcrumbs .separator {
  margin: 0;
  color: #999;
  font-size: 12px;
}

.breadcrumbs .current {
  color: #333;
  font-weight: 500;
}

@media (max-width: 768px) {
  .breadcrumbs {
    font-size: 12px;
    padding: 12px 0;
  }

  .breadcrumbs-container {
    padding: 0 20px;
  }
}

/* ===== Pricing Reason Section ===== */
.pricing-reason {
  padding-bottom: 80px;
  background: #fff;
}

.pricing-reason-header {
  text-align: center;
  margin-bottom: 40px;
}

.pricing-reason-title {
  font-size: clamp(20px, 4vw, 24px);
  font-weight: 700;
  color: #333333;
  line-height: 1.5;
  margin-bottom: 16px;
}

.pricing-reason-lead {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto;
}

.pricing-reason-lead strong {
  color: var(--text-primary);
}

.pricing-reason-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 720px;
  margin: 0 auto;
}

.pricing-reason-card {
  background: #faf8f6;
  border-radius: 12px;
  overflow: hidden;
}

/* アコーディオントリガー（ボタン） */
.pricing-reason-trigger {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.pricing-reason-number {
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  color: var(--primary);
  flex-shrink: 0;
  width: 32px;
}

.pricing-reason-card-title {
  flex: 1;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.5;
}

.pricing-reason-chevron {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.pricing-reason-trigger[aria-expanded="true"] .pricing-reason-chevron {
  transform: rotate(180deg);
}

/* 開閉エリア */
.pricing-reason-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px 0 70px;
}

.pricing-reason-body.is-open {
  max-height: 300px;
  padding: 0 24px 20px 70px;
}

.pricing-reason-card-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.pricing-reason-card-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

@media (max-width: 768px) {
  .pricing-reason-trigger {
    padding: 18px 16px;
    gap: 12px;
  }

  .pricing-reason-number {
    font-size: 16px;
    width: 28px;
  }

  .pricing-reason-card-title {
    font-size: 14px;
  }

  .pricing-reason-body {
    padding: 0 16px 0 56px;
  }

  .pricing-reason-body.is-open {
    padding: 0 16px 18px 56px;
  }

  .pricing-reason-card-text {
    font-size: 13px;
  }
}
