:root {
  /* Color Palette - Teal & Beige */
  --color-primary: #00897b;
  --color-primary-dark: #00695c;
  --color-primary-light: #e0f2f1;
  --color-accent: #ffb300;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-bg: #ffffff;
  --color-bg-alt: #fcfbfa; /* Warm beige-ish off-white */
  --color-bg-dark: #263238;
  
  /* Typography */
  --font-base: 'Noto Sans JP', sans-serif;
  --font-heading: 'Zen Kaku Gothic New', sans-serif;
  
  /* Layout */
  --container-width: 1000px;
  --header-height: 80px;
  
  /* Utilities */
  --transition: all 0.3s ease;
  --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 15px 30px rgba(0,0,0,0.12);
  --border-radius: 12px;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  color: var(--color-text);
  line-height: 1.6;
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 100px 0;
}

.bg-light {
  background-color: var(--color-bg-alt);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.4;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 60px;
  color: var(--color-primary-dark);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: 3px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn--primary {
  background-color: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--large {
  padding: 18px 48px;
  font-size: 1.1rem;
}

.btn--line {
  background-color: #06C755; /* LINE Green */
  color: white;
}
.btn--line:hover {
  background-color: #05b34c;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--web {
  background-color: var(--color-primary);
  color: white;
}
.btn--web:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: var(--transition);
}

.header.scrolled {
  height: 70px;
}

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

.header__logo a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.header__nav ul {
  display: flex;
  gap: 30px;
}

.header__nav a {
  font-weight: 500;
  font-size: 0.95rem;
}

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

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  z-index: -1;
}

.hero__bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
  z-index: 1;
}

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

.hero__content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.hero__title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 30px;
  line-height: 1.3;
}

.hero__subtitle {
  display: block;
  font-size: 1.2rem;
  color: var(--color-primary);
  margin-bottom: 10px;
  font-weight: 500;
}

.hero__text {
  font-size: 1.1rem;
  color: var(--color-text-light);
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero__action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.hero__note {
  font-size: 0.85rem;
  color: var(--color-accent);
  font-weight: 700;
}

/* Problems Section */
.problems__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.problems__item {
  background: #fff;
  padding: 30px 20px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border-top: 4px solid var(--color-primary-light);
}

.problems__item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.problems__icon {
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
}

.problems__icon img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

.problems__item p {
  font-weight: 500;
  font-size: 0.95rem;
}

.problems__solution {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: white;
  padding: 40px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.problems__solution h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.problems__solution strong {
  color: var(--color-accent);
  font-size: 1.8rem;
}

/* Features Section */
.feature {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 80px;
}

.feature:last-child {
  margin-bottom: 0;
}

.feature--reverse {
  flex-direction: row-reverse;
}

.feature__image {
  flex: 1;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}

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

.feature:hover .feature__image img {
  transform: scale(1.05);
}

.feature__text {
  flex: 1;
}

.feature__num {
  font-size: 3rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-primary-light);
  line-height: 1;
  display: block;
  margin-bottom: 10px;
}

.feature__title {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--color-primary-dark);
}

/* Flow Section */
.flow__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.flow__item {
  background: #fff;
  padding: 40px 30px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  border: 1px solid var(--color-primary-light);
  transition: var(--transition);
}

.flow__item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.flow__step {
  display: inline-block;
  background-color: var(--color-primary);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.flow__title {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.flow__item p {
  font-size: 0.95rem;
  color: var(--color-text-light);
}

/* CTA Section */
.cta {
  background: url('../images/hero.png') center/cover no-repeat;
  position: relative;
  padding: 100px 0;
  text-align: center;
  color: white;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 105, 92, 0.85); /* Dark teal overlay */
}

.cta__inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.cta__title {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta__text {
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.cta__buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.cta__tel {
  background: rgba(255,255,255,0.1);
  padding: 20px;
  border-radius: var(--border-radius);
  display: inline-flex;
  flex-direction: column;
  backdrop-filter: blur(5px);
}

.cta__tel-num {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 2px;
}

/* Footer */
.footer {
  background-color: var(--color-bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 30px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  margin-bottom: 60px;
}

.footer__logo {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 20px;
}

.footer__links {
  display: flex;
  gap: 60px;
}

.footer__links li {
  margin-bottom: 12px;
}

.footer__links a:hover {
  color: white;
}

.footer__copy {
  text-align: center;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Responsive */
@media (max-width: 768px) {
  .hero__bg {
    width: 100%;
  }
  .hero__bg::before {
    background: linear-gradient(to bottom, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
  }
  .hero__title {
    font-size: 2rem;
  }
  .feature {
    flex-direction: column;
    gap: 30px;
  }
  .feature--reverse {
    flex-direction: column;
  }
  .header__nav, .header__btn {
    display: none; /* Simple mobile for now */
  }
  .cta__buttons {
    flex-direction: column;
  }
  .footer__inner {
    flex-direction: column;
    gap: 40px;
  }
}
