/* === Reset === */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: "Noto Sans JP", sans-serif;
  color: #1e293b;
  background: #fff;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* === Variables === */
:root {
  --teal: #0d9488;
  --teal-dark: #0f766e;
  --teal-deep: #134e4a;
  --bg-light: #f0fdfa;
  --bg-section: #f8fffe;
  --text: #1e293b;
  --text-light: #64748b;
  --border: #e2e8f0;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 6px;
  text-align: center;
}
.btn-primary {
  background: var(--teal);
  color: #fff;
}
.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.25);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}
.btn-outline-dark {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--border);
}
.btn-outline-dark:hover {
  border-color: var(--teal);
  background: var(--bg-light);
}
.btn-white {
  background: #fff;
  color: var(--teal);
  font-weight: 600;
}
.btn-white:hover {
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.3);
}
.btn-sm {
  padding: 8px 22px;
  font-size: 0.82rem;
  border-radius: 4px;
}

/* === Header === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: all 0.4s;
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  transition: color 0.4s;
}
.logo span {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
  transition: color 0.4s;
}
.header.scrolled .logo {
  color: var(--teal);
}
.header.scrolled .logo span {
  color: var(--text);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-list a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s;
}
.nav-list a:hover {
  color: #fff;
}
.header.scrolled .nav-list a {
  color: var(--text-light);
}
.header.scrolled .nav-list a:hover {
  color: var(--teal);
}

.header-cta {
  background: var(--teal);
  color: #fff;
}
.header-cta:hover {
  background: var(--teal-dark);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 110;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all 0.3s;
}
.header.scrolled .hamburger span {
  background: var(--text);
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -5px);
}

/* === Hero === */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(15, 23, 42, 0.82) 0%,
    rgba(13, 148, 136, 0.55) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}
.hero-label {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}
.hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}
.hero-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.9;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-note {
  font-size: 0.75rem;
  color: #fff !important;
  margin-top: 32px;
}

/* === Numbers === */
.numbers {
  background: var(--teal-deep);
  padding: 44px 0;
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.number-item {
  text-align: center;
  padding: 0 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.number-item:last-child {
  border-right: none;
}
.number-val {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.number-val small {
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
}
.number-lbl {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 8px;
}

/* === Section Common === */
section {
  padding: 90px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 52px;
}
.section-en {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 6px;
}
.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.section-sub {
  font-size: 0.92rem;
  color: var(--text-light);
  max-width: 520px;
  margin: 0 auto;
}

/* === Problems === */
.problems {
  background: #fff;
}
.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.problem-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition:
    box-shadow 0.3s,
    transform 0.2s;
}
.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.07);
}
.problem-img {
  height: 180px;
  overflow: hidden;
}
.problem-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.problem-card:hover .problem-img img {
  transform: scale(1.05);
}
.problem-body {
  padding: 24px;
}
.problem-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 8px;
}
.problem-body p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin: 0;
}
.problems-cta {
  text-align: center;
  margin-top: 48px;
}
.problems-cta p {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--teal);
}

/* === Features === */
.features {
  background: var(--bg-section);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.feature-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
  transition:
    box-shadow 0.3s,
    transform 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}
.feature-img {
  height: 200px;
  overflow: hidden;
}
.feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.feature-card:hover .feature-img img {
  transform: scale(1.05);
}
.feature-body {
  padding: 28px;
}
.feature-num {
  font-size: 2rem;
  font-weight: 700;
  color: rgba(13, 148, 136, 0.12);
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}
.feature-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.feature-body p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin: 0;
}

/* === Process === */
.process {
  background: #fff;
}
.process-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}
.step {
  flex: 1;
  min-width: 160px;
  max-width: 220px;
  text-align: center;
  padding: 0 10px;
}
.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
}
.step h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  min-height: 2.6em;
}
.step p {
  font-size: 0.82rem;
  color: var(--text-light);
}
.step-connector {
  width: 36px;
  height: 2px;
  background: var(--border);
  margin-top: 28px;
  flex-shrink: 0;
}

/* === Pricing === */
.pricing {
  background: var(--bg-section);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pricing-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition:
    box-shadow 0.3s,
    transform 0.2s;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}
.pricing-card.featured {
  border-color: var(--teal);
  box-shadow: 0 8px 32px rgba(13, 148, 136, 0.12);
  transform: scale(1.03);
}
.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-4px);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: #fff;
  padding: 4px 18px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
}
.pricing-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 4px;
}
.price span {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 400;
}
.pricing-list {
  margin: 28px 0;
  text-align: left;
}
.pricing-list li {
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.88rem;
  color: var(--text-light);
}
.pricing-list li:last-child {
  border-bottom: none;
}
.pricing-card .btn {
  width: 100%;
  margin-top: 8px;
}

/* === Testimonials === */
.testimonials {
  background: #fff;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--bg-light);
  border-radius: 10px;
  padding: 32px 24px;
  border-left: 3px solid var(--teal);
}
.testimonial-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.testimonial-top img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}
.testimonial-role {
  font-size: 0.72rem;
  color: var(--text-light);
}
.testimonial-text {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 16px;
}
.testimonial-rating {
  color: #f59e0b;
  font-size: 0.85rem;
  letter-spacing: 2px;
}

/* === FAQ === */
.faq {
  background: var(--bg-section);
}
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  padding: 18px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}
.faq-q:hover {
  background: #fafafa;
}
.faq-q h3 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}
.faq-toggle {
  font-size: 1.2rem;
  color: var(--teal);
  font-weight: 300;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-a {
  display: none;
  padding: 0 24px 20px;
  background: #fafafa;
}
.faq-item.open .faq-a {
  display: block;
}
.faq-a p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin: 0;
}

/* === Contact === */
.contact {
  background: linear-gradient(
    150deg,
    var(--teal-deep) 0%,
    var(--teal-dark) 100%
  );
  color: #fff;
}
.contact-inner {
  text-align: center;
}
.contact-methods {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.contact-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}
.contact-val {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
}
.contact-note {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
}
.contact-divider {
  width: 1px;
  height: 72px;
  background: rgba(255, 255, 255, 0.15);
}

/* === Footer === */
.footer {
  background: #0f172a;
  padding: 56px 0 0;
  color: rgba(255, 255, 255, 0.7);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 48px;
  padding-bottom: 40px;
}
.footer-logo {
  font-size: 1.2rem;
  color: #fff;
}
.footer-logo span {
  color: rgba(255, 255, 255, 0.5);
}
.footer-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 12px;
  line-height: 1.8;
}
.footer-nav-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.footer-col h4 {
  font-size: 0.82rem;
  color: #fff;
  margin-bottom: 14px;
  font-weight: 500;
}
.footer-col li {
  margin-bottom: 8px;
}
.footer-col a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s;
}
.footer-col a:hover {
  color: var(--teal);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px 0;
  text-align: center;
}
.footer-portfolio {
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 4px;
}
.footer-copy {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.25);
  margin: 0;
}

/* === Responsive === */
@media (max-width: 1024px) {
  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .number-item {
    border-right: none;
    padding: 10px 0;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  .pricing-card.featured {
    transform: none;
  }
  .pricing-card.featured:hover {
    transform: translateY(-4px);
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    background: #fff;
    padding: 76px 28px 28px;
    transition: right 0.3s;
    z-index: 105;
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
  }
  .nav.open {
    right: 0;
  }
  .nav-list {
    flex-direction: column;
    gap: 20px;
  }
  .nav-list a {
    color: var(--text) !important;
    font-size: 1rem;
  }
  .header-cta {
    display: none;
  }

  .hero-title {
    font-size: 2rem;
  }
  .hero-text {
    font-size: 0.9rem;
  }
  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }
  .hero-actions .btn {
    text-align: center;
  }

  section {
    padding: 64px 0;
  }
  .section-title {
    font-size: 1.4rem;
  }

  .problems-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }
  .step {
    max-width: 100%;
    padding: 12px;
  }
  .step h3 {
    min-height: auto;
  }
  .step-connector {
    width: 2px;
    height: 20px;
    margin: 0;
  }

  .contact-methods {
    flex-direction: column;
    gap: 28px;
  }
  .contact-divider {
    width: 60px;
    height: 1px;
  }
  .footer-nav-group {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 500px;
  }
  .hero-title {
    font-size: 1.7rem;
  }
  .numbers-grid {
    grid-template-columns: 1fr 1fr;
  }
}
