/* Cost reduction */
.cost {
  padding: var(--space-12) 0;
  background: #fff;
}
.cost__headline {
  margin: 0 0 var(--space-6) 0;
  text-align: center;
  font-size: clamp(22px, 4.2vw, 36px);
  font-weight: 900;
}
.cost__title {
  text-align: center;
  color: var(--color-text);
  font-weight: 800;
  margin: 0 0 var(--space-8) 0;
}
.cost__visual {
  display: flex;
  justify-content: center;
}
.cost__chart {
  margin: 0;
  max-width: 100%;
  overflow: auto;
}
.cost__result {
  text-align: center;
  font-weight: 800;
  margin: var(--space-8) 0 6px 0;
}
.cost__em {
  color: var(--color-primary);
  font-size: 1.3em;
}
.cost__note {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 14px;
  margin: 0;
}
.highlight-yellow {
  color: #ffcf5b;
  font-weight: 900;
}
.custom-text {
  font-size: 20px;
}
.br-md {
  display: none;
}
@media (min-width: 768px) {
  .br-md {
    display: inline;
  }
}
/* Flow */
.flow {
  padding: var(--space-12) 0;
  background: linear-gradient(180deg, #f7fbfd 0, #fff 100%);
}
.flow__title {
  font-size: 28px;
  margin: 0 0 var(--space-8) 0;
  text-align: center;
}
.flow__subtitle {
  text-align: center;
  color: var(--color-text);
  margin: 6px 0 var(--space-8) 0;
  font-weight: 900;
  font-size: clamp(22px, 4.2vw, 38px);
}
.flow__grid {
  display: grid;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.flow__step {
  background: #eaf6fb;
  border: 1px solid #d6edf6;
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-s);
  position: relative;
}
.flow__step::after {
  content: "";
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 10px solid var(--color-primary);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  display: none;
}
.flow__icon {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}
.flow__label {
  text-align: center;
  margin: 0 0 6px 0;
  font-size: 18px;
}
.flow__desc {
  margin: 0;
  color: var(--color-text-muted);
}
.flow__note {
  margin: 6px 0 0 0;
  color: var(--color-text-muted);
  font-size: 12px;
}
@media (min-width: 768px) {
  .flow__grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
  }
  .flow__step {
    padding: 20px 16px;
  }
  .flow__step::after {
    display: block;
    right: -8px;
  }
  .flow__step:last-child::after {
    display: none;
  }
}
@media (min-width: 1200px) {
  .flow__grid {
    gap: 20px;
  }
  .flow__step {
    padding: 24px 20px;
  }
  .flow__step::after {
    right: -10px;
  }
}
:root {
  --color-primary: #68b3cc;
  --color-accent: #ffcf5b;
  --color-neutral: #c9c9c9;
  --color-bg: #ffffff;
  --color-text: #1a1a1a;
  --color-text-muted: #555555;
  --radius-s: 6px;
  --radius-m: 10px;
  --radius-l: 16px;
  --shadow-s: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-m: 0 6px 18px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 16px 32px rgba(0, 0, 0, 0.16);
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --container-max: 1200px;
  --header-h: 64px;
  --easing: cubic-bezier(0.22, 0.61, 0.36, 1);
}
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 20px;
}
.inview {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s var(--easing), transform 0.6s var(--easing);
}
.inview.is-visible {
  opacity: 1;
  transform: none;
}

/* Logos */
.logos {
  padding: var(--space-8) 0;
}
.logos__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-items: center;
}
.logos__item {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(1);
  opacity: 0.8;
}
@media (min-width: 768px) {
  .logos__list {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Pains */
.pains {
  padding: var(--space-12) 0;
  background: linear-gradient(180deg, #fff 0, #f7fbfd 100%);
}
.pains__title {
  font-size: 28px;
  margin: 0;
  text-align: center;
}
.pains__cols {
  display: grid;
  gap: 24px;
  margin-top: var(--space-10);
}
.pains__col {
  background: #ffffff00;
  border: 2px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  box-shadow: var(--shadow-s);
  padding: 18px;
}
.pains__col-title {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  text-align: center;
  position: relative;
  padding-bottom: 24px;
  color: var(--color-primary);
}
.pains__col-title span {
  display: inline-block;
  position: relative;
}

.pains__list {
  margin: 0;
  padding-left: 1.25rem;
  list-style: disc;
  display: block;
  text-align: left;
  color: #000;
  font-size: 20px;
}
.pains__list li {
  margin: 6px 0;
  color: #000;
}
.pains__list li:first-child {
  grid-column: auto;
}
.pains__em {
  color: #000;
  font-weight: 800;
  display: inline;
  margin: 0 4px 0 0;
}
.pains__illustration {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: var(--space-12);
}
.pains__illustration img {
  width: min(520px, 92%);
  height: auto;
  display: block;
}
@media (min-width: 768px) {
  .pains__cols {
    grid-template-columns: repeat(3, 1fr);
  }
  .pains__list {
    grid-template-columns: none;
  }
}

/* Features (redesigned) */
.features {
  padding: var(--space-12) 0;
}
.features__title {
  font-size: 28px;
  margin: 0 0 var(--space-6) 0;
  text-align: center;
}
.features__wrap {
  display: grid;
  gap: 24px;
  align-items: start;
}
.features__wrap--reverse {
  display: grid;
  gap: 24px;
  align-items: start;
}
.features__wrap + .features__wrap {
  margin-top: var(--space-12);
}
.features__panel {
  position: relative;
  border: 2px solid var(--color-primary);
  border-radius: 12px;
  padding: 18px;
  background: #fff;
}
.features__badge {
  position: absolute;
  left: -10px;
  top: -18px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow-m);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 88px;
}
.features__badge-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.features__badge-num {
  font-size: 26px;
  font-weight: 900;
}
.features__charts {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
.features__metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.features__metric-title {
  font-weight: 800;
}
.features__metric-note {
  font-size: 12px;
  color: var(--color-text-muted);
}
.features__donut {
  --sz: 150px;
  --th: 18px;
  width: var(--sz);
  height: var(--sz);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(
    var(--color-primary) calc(var(--value) * 1turn),
    #e6eef1 0
  );
}
.features__donut::before {
  content: "";
  width: calc(var(--sz) - var(--th));
  height: calc(var(--sz) - var(--th));
  border-radius: 50%;
  background: #fff;
  display: block;
}
.features__donut span {
  position: absolute;
  font-weight: 900;
  color: var(--color-primary);
}
.features__content {
  padding: 8px;
}
.features__heading {
  font-size: 24px;
  margin: 0 0 8px 0;
}
@media (min-width: 768px) {
  .features__wrap {
    grid-template-columns: 1fr 1fr;
  }
  .features__wrap--reverse {
    grid-template-columns: 1fr 1fr;
  }
  .features__charts {
    grid-template-columns: repeat(2, 1fr);
  }
}
.features__figure {
  margin: 0;
  display: flex;
  justify-content: center;
}

/* Roadmap */
.roadmap {
  padding: var(--space-12) 0;
  background: linear-gradient(0deg, #fff 0, #f9fdff 100%);
}
.roadmap__title {
  font-size: 28px;
  margin: 0 0 var(--space-6) 0;
}
.roadmap__steps {
  display: grid;
  gap: 16px;
  counter-reset: step;
}
.roadmap__step {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-m);
  padding: 16px 18px;
  box-shadow: var(--shadow-s);
}
@media (min-width: 768px) {
  .roadmap__steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1280px) {
  .roadmap__steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Usecases */
.usecases {
  padding: var(--space-12) 0;
}
.usecases__title {
  font-size: 28px;
  margin: 0 0 var(--space-6) 0;
  text-align: center;
}
.usecases__grid {
  display: grid;
  gap: 16px;
}
.usecases__card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-m);
  padding: 16px 18px;
  box-shadow: var(--shadow-s);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.usecases__icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
}
.usecases__list {
  margin: 0;
  padding-left: 18px;
}
.usecases__card h3 {
  text-align: center;
  margin-bottom: 16px;
}
.usecases__item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.usecases__before {
  flex: 1;
  background: #f8f9fa;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 18px;
}
.usecases__arrow {
  color: #68b3cc;
  font-size: 16px;
  font-weight: bold;
}
.usecases__after {
  flex: 1;
  background: #e8f5e8;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 18px;
}
.usecases__hours {
  margin: 6px 0 0 0;
  font-weight: 700;
  text-align: center;
  font-size: 23px;
  color: #68b3cc;
}
.usecases__total {
  text-align: center;
  margin-top: var(--space-8);
  font-weight: 900;
}
@media (min-width: 768px) {
  .usecases__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* AI Industry Trends */
.ai-trends {
  padding: var(--space-12) 0;
  background: #f8f9fa;
}
.ai-trends__title {
  font-size: 28px;
  margin: 0 0 var(--space-8) 0;
  text-align: center;
}
.ai-trends__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
.ai-trends__card {
  background: #fff;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ai-trends__card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-m);
}
.ai-trends__image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.ai-trends__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ai-trends__content {
  padding: 20px;
}
.ai-trends__heading {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 12px 0;
  color: var(--color-text);
}
.ai-trends__description {
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 16px 0;
  color: var(--color-text-muted);
}
.ai-trends__link {
  display: inline-block;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 16px;
  border: 2px solid var(--color-primary);
  border-radius: 6px;
  transition: all 0.2s ease;
}
.ai-trends__link:hover {
  background: var(--color-primary);
  color: #fff;
}
@media (min-width: 768px) {
  .ai-trends__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Compare */
.compare {
  padding: var(--space-12) 0;
  background: #fff;
}
.compare__title {
  font-size: 28px;
  margin: 0 0 var(--space-8) 0;
  text-align: center;
}
.compare__table {
  display: grid;
  border: 2px solid #e9ecef;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  background: #fff;
}
.compare__row {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1fr 1fr;
}
.compare__row + .compare__row {
  border-top: 2px solid #e9ecef;
}
.compare__row--head {
  background: linear-gradient(135deg, var(--color-primary), #4a90e2);
  color: #fff;
  font-weight: 800;
  font-size: 22px;
}
.compare__row--head .compare__cell {
  text-align: center;
}
.compare__cell {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-weight: 700;
  min-height: 80px;
  border-right: 2px solid #e9ecef;
  font-size: 16px;
}
.compare__cell:last-child {
  border-right: 0;
}
.compare__row:not(.compare__row--head) .compare__cell:first-child {
  background: #f8f9fa;
  font-weight: 800;
  font-size: 14px;
}
.compare__rating {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 8px;
  text-align: center;
}
.compare__detail {
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  line-height: 1.4;
}
.compare__cell--self {
  background: #f8f9fa;
  color: #6c757d;
}
.compare__cell--service {
  background: #fff3cd;
  color: #856404;
}
.compare__cell--ailife {
  background: linear-gradient(135deg, #e8f5e8, #d4edda);
  color: #155724;
  position: relative;
}
.compare__row--head .compare__cell:first-child + .compare__cell::after {
  content: "★ おすすめ";
  position: absolute;
  top: -17px;
  right: 396px;
  background: #ffd700;
  color: #000;
  font-size: 12px;
  font-weight: 900;
  padding: 4px 8px;
  border-radius: 0px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.compare__cell--ailife .compare__rating {
  color: #28a745;
}
.compare__cell--self .compare__rating {
  color: #dc3545;
}
.compare__cell--service .compare__rating {
  color: #ffc107;
}

/* Hero eyebrow large text */
.hero__eyebrow--large {
  font-size: 40px;
  font-weight: 700;
}

/* AI trends link container */
.ai-trends__link-container {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

@media (max-width: 767px) {
  .compare__table {
    font-size: 16px;
  }
  .compare__cell {
    padding: 16px 12px;
    min-height: 60px;
    font-size: 14px;
  }
  .compare__rating {
    font-size: 20px;
  }
  .compare__detail {
    font-size: 14px;
  }
  .compare__row {
    grid-template-columns: 1fr;
  }
  .compare__row .compare__cell:nth-child(n + 2) {
    border-top: 1px dashed rgba(0, 0, 0, 0.06);
  }
}

/* Proof */
.proof {
  padding: var(--space-12) 0;
}
.proof__title {
  font-size: 28px;
  margin: 0 0 var(--space-6) 0;
}
.proof__list {
  display: grid;
  gap: 20px;
}
.proof__card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-m);
  padding: 12px;
  box-shadow: var(--shadow-s);
}
.proof__body h3 {
  margin: 6px 0 4px 0;
  font-size: 18px;
}
@media (min-width: 768px) {
  .proof__list {
    grid-template-columns: repeat(2, 1fr);
  }
  .proof__card {
    grid-template-columns: 1fr;
  }
}

/* Approval (simulator) */
.approval {
  padding: var(--space-12) 0;
  background: linear-gradient(180deg, #f7fbfd 0, #fff 100%);
}
.approval__title {
  font-size: 28px;
  margin: 0 0 var(--space-6) 0;
}
.approval__grid {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}
.approval__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.approval__field input {
  height: 40px;
  padding: 6px 10px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 8px;
}
.approval__note {
  color: var(--color-text-muted);
  font-size: 14px;
}
.approval__result {
  display: inline-block;
  margin-top: 8px;
  font-weight: 700;
}
@media (min-width: 768px) {
  .approval__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Pricing */
.pricing {
  padding: var(--space-12) 0;
}
.pricing__title {
  font-size: 28px;
  margin: 0 0 var(--space-6) 0;
  text-align: center;
}

/* Pricing Comparison Table */
.pricing__comparison {
  max-width: 1000px;
  margin: 0 auto;
}

.pricing__table {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border: 2px solid #e9ecef;
  border-radius: var(--radius-l);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 2rem;
}

.pricing__row {
  display: contents;
}

.pricing__row--head {
  background: linear-gradient(135deg, var(--color-primary), #4a90e2);
  color: #fff;
  font-weight: 800;
  font-size: 20px;
}

.pricing__row--head .pricing__plan-name {
  color: #000;
  font-weight: 700;
}

.pricing__row--head .pricing__cell {
  text-align: center;
  padding: 1.5rem 1rem;
}

.pricing__cell {
  padding: 1rem;
  border-right: 2px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing__plan-name {
  font-size: 20px;
  font-weight: 700;
}

.pricing__cell:last-child {
  border-right: 0;
}

.pricing__row:last-child .pricing__cell {
  border-bottom: 0;
}

.pricing__cell--normal {
  background: #f8f9fa;
  color: #6c757d;
}

.pricing__cell--corporate {
  background: #e8f5e8;
  color: #2d5a2d;
  font-weight: 600;
}

.pricing__price {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
}

.pricing__term {
  font-size: 16px;
  font-weight: 400;
  color: #6c757d;
}

.pricing__rating {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}

.pricing__rating--highlight {
  color: #dc3545;
  font-size: 22px;
  text-align: center;
}

.pricing__note {
  font-size: 14px;
  color: #6c757d;
  font-weight: 400;
}

.pricing__cta {
  text-align: center;
}

/* Mobile adjustments for pricing table */
@media (max-width: 768px) {
  .pricing__table {
    grid-template-columns: 1fr;
    font-size: 14px;
  }
  .hero {
    height: 1100px;
  }

  .pricing__row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-bottom: 1px solid #e9ecef;
  }

  .pricing__row--head {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }

  .pricing__cell {
    padding: 0.75rem 0.5rem;
    font-size: 16px;
  }

  .pricing__price {
    font-size: 20px;
  }
}
.pricing__cards {
  display: grid;
  gap: 16px;
}
.pricing__card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-l);
  padding: 20px;
  box-shadow: var(--shadow-m);
}
.pricing__plan {
  margin: 0 0 6px 0;
}
.pricing__price {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 10px 0;
}
.pricing__features {
  margin: 0 0 14px 0;
  padding-left: 18px;
}
@media (min-width: 768px) {
  .pricing__cards {
    grid-template-columns: 1fr;
  }
}

/* Signup */
.signup {
  padding: var(--space-12) 0;
  background: linear-gradient(0deg, #fff 0, #f9fdff 100%);
}
.signup__title {
  font-size: 28px;
  margin: 0 0 var(--space-6) 0;
  text-align: center;
}
.signup__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 2rem;
}

.signup__field--full {
  grid-column: 1;
}
.signup__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.signup__field input,
.signup__field textarea {
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 8px;
  font-size: 16px;
}
.signup__terms {
  margin-top: 10px;
  color: var(--color-text-muted);
  font-size: 14px;
}
.signup__step[hidden] {
  display: none;
}
@media (min-width: 768px) {
  .signup__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* FAQ */
.faq {
  padding: var(--space-12) 0;
}
.faq__title {
  font-size: 28px;
  margin: 0 0 var(--space-6) 0;
  text-align: center;
}
.faq__item {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.faq__item:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.faq__button {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  text-align: left;
  background: #fff;
  border: 0;
  padding: 16px 8px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq__button::after {
  content: "▼";
  font-size: 12px;
  transition: transform 0.3s ease;
  color: #68b3cc;
}

.faq__button[aria-expanded="true"]::after {
  transform: rotate(180deg);
}
.faq__panel {
  padding: 0 8px 16px 8px;
}

.faq__panel p {
  font-size: 18px;
  line-height: 1.6;
}

/* Footer */
.footer {
  padding: 32px 0 120px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: #f8f9fa;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer__logo {
  width: 32px;
  height: 32px;
}
.footer__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
}
.footer__nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__nav a {
  color: #6c757d;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}
.footer__nav a:hover {
  color: var(--color-primary);
}
.footer__company {
  text-align: right;
}
.footer__copy {
  font-size: 14px;
  color: #6c757d;
  margin: 0 0 4px 0;
}
.footer__operator {
  font-size: 12px;
  color: #6c757d;
  margin: 0;
}
.footer__operator a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer__operator a:hover {
  color: #4a90e2;
}

/* Mobile adjustments for footer */
@media (max-width: 768px) {
  .footer__inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  .footer__nav {
    justify-content: center;
  }
  .footer__company {
    text-align: center;
  }
}

/* Submit Button */
.btn--submit {
  background: #28a745;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  padding: 1rem 3rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
  margin: 0 auto;
  min-width: 200px;
}

.btn--submit:hover {
  background: #218838;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

/* Mobile adjustments for signup form */
@media (max-width: 768px) {
  .btn--submit {
    font-size: 18px;
    padding: 0.875rem 2rem;
    min-width: 180px;
  }
}

/* Force single column for all screen sizes */
@media (min-width: 769px) {
  .signup__grid {
    grid-template-columns: 1fr !important;
  }
}

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff00;
  z-index: 1000;
  padding: 1rem;
}

.sticky-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 1rem;
}

.sticky-cta__label {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  flex: 1;
}

.sticky-cta .btn {
  background: #28a745;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
}

.sticky-cta .btn:hover {
  background: #218838;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

/* Tablet adjustments (768px and below) */
@media (max-width: 768px) {
  .sticky-cta__inner {
    flex-direction: row;
    text-align: center;
    gap: 0.75rem;
    align-items: center;
  }

  .sticky-cta__label {
    font-size: 14px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
  }

  .sticky-cta .btn {
    font-size: 14px;
    padding: 0.625rem 1.5rem;
    border-radius: 20px;
  }

  /* Header adjustments */
  .header__nav {
    display: none;
  }

  .header__cta {
    display: none;
  }

  .header__menu {
    display: block;
  }
  
  .header__mobile {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 40;
  }
  
  .header__mobile ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .header__mobile li {
    border-bottom: 1px solid #e9ecef;
  }
  
  .header__mobile li:last-child {
    border-bottom: none;
  }
  
  .header__mobile a {
    display: block;
    padding: 1rem 1.5rem;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s ease;
  }
  
  .header__mobile a:hover {
    background-color: #f8f9fa;
  }

  /* Features section adjustments */
  .features__wrap {
    flex-direction: column;
    gap: 0rem;
  }

  .features__wrap--reverse {
    flex-direction: column;
  }

  .features__panel {
    order: 1;
  }

  .features__content {
    order: 2;
  }

  /* Usecases section adjustments */
  .usecases__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-left: 0;
  }

  .usecases__list {
    padding-left: 0;
  }

  /* AI trends section adjustments */
  .ai-trends__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Compare section adjustments */
  .compare {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    width: 100%;
    max-width: 100%;
    position: relative;
  }
  
  .compare__table {
    font-size: 14px;
    display: table;
    width: 100%;
    min-width: 600px;
    position: relative;
    table-layout: fixed;
  }
  
  .compare__table::after {
    content: "➡ スクロールして確認";
    position: absolute;
    top: 3rem;
    left: 10px;
    background: rgba(104, 179, 204, 0.9);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 20;
    pointer-events: none;
  }
  
  .compare__table::-webkit-scrollbar {
    height: 6px;
  }
  
  .compare__table::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
  }
  
  .compare__table::-webkit-scrollbar-thumb {
    background: #68b3cc;
    border-radius: 3px;
  }
  
  .compare__row {
    display: table-row;
  }
  
  .compare__row--head {
    display: table-header-group;
  }
  
  .compare__cell {
    display: table-cell;
    padding: 8px 12px;
    font-size: 14px;
    border-right: 1px solid #e9ecef;
    vertical-align: middle;
    white-space: normal;
    word-wrap: break-word;
    word-break: break-word;
    min-width: 120px;
    max-width: 150px;
    line-height: 1.3;
  }
  
  .compare__cell:last-child {
    border-right: none;
  }
  
  .compare__row--head .compare__cell:nth-child(2) {
    position: relative;
  }
  
  .compare__row--head .compare__cell:nth-child(2)::after {
    content: "★ おすすめ";
    position: absolute;
    top: -2px;
    right: -2px;
    background: #ff6b6b;
    color: white;
    font-size: 10px;
    padding: 2px 4px;
    border-radius: 3px;
    z-index: 15;
    white-space: nowrap;
  }

  /* Flow section adjustments */
  .flow__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .flow__step {
    position: relative;
    margin-bottom: 3rem;
  }
  
  .flow__step:not(:last-child)::after {
    content: "";
    position: absolute;
    bottom: -188px;
    top: auto;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
    font-size: 32px;
    color: #68b3cc;
    z-index: 10;
    display: block !important;
  }

  /* Pricing section adjustments */
  .pricing__table {
    font-size: 14px;
  }

  .pricing__row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-bottom: 1px solid #e9ecef;
  }

  .pricing__row--head {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }

  /* FAQ section adjustments */
  .faq__button {
    font-size: 16px;
    padding: 12px 8px;
  }

  .faq__panel p {
    font-size: 16px;
  }
}

/* Mobile adjustments (430px and below) */
@media (max-width: 430px) {
  /* Hero section adjustments */
  .hero__title {
    font-size: 24px;
  }
  .hero {
    padding: 20px;
    height: 710px;
  }

  .hero__subtitle {
    font-size: 18px;
  }

  .hero__eyebrow {
    font-size: 18px;
  }

  .hero__cta {
    text-align: center;
    flex-wrap: nowrap;
    position: absolute;
    top: 730px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
  }
  .hero__eyebrow--large {
    font-size: 30px;
  }

  .hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    width: 100%;
  }

  .hero__actions .btn {
    flex: 1;
    max-width: 150px;
    font-size: 14px;
    padding: 0.75rem 1rem;
    text-align: center;
  }

  /* Features section adjustments */
  .features__panel img {
    width: 100%;
    height: auto;
    max-width: 100%;
  }

  .features__content {
    background: #e8f4fd;
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 0.5rem;
  }

  /* Usecases section adjustments */
  .usecases__item {
    flex-direction: column;
    gap: 0rem;
    align-items: center;
    margin: 0 0 30px 0;
  }

  .usecases__before {
    order: 1;
    text-align: center;
  }

  .usecases__arrow {
    order: 2;
    text-align: center;
    font-size: 20px;
    color: #68b3cc;
    transform: rotate(90deg);
  }

  .usecases__after {
    order: 3;
    text-align: center;
  }

  /* AI trends section adjustments */
  .ai-trends__title {
    font-size: 25px;
  }

  /* Compare section adjustments */
  .compare {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    width: 100%;
    max-width: 100%;
  }

  .compare__table {
    font-size: 12px;
    display: table;
    width: 100%;
    min-width: 600px;
    position: relative;
    table-layout: fixed;
  }

  .compare__table::after {
    content: "➡ スクロールして確認";
    position: absolute;
    top: 3rem;
    left: 10px;
    background: rgba(104, 179, 204, 0.9);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 20;
    pointer-events: none;
  }

  .compare__table::-webkit-scrollbar {
    height: 6px;
  }

  .compare__table::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
  }

  .compare__table::-webkit-scrollbar-thumb {
    background: #68b3cc;
    border-radius: 3px;
  }

  .compare__row {
    display: table-row;
  }

  .compare__row--head {
    display: table-header-group;
  }

  .compare__cell {
    display: table-cell;
    padding: 8px 12px;
    font-size: 11px;
    border-right: 1px solid #e9ecef;
    vertical-align: middle;
    white-space: normal;
    word-wrap: break-word;
    word-break: break-word;
    min-width: 120px;
    max-width: 150px;
    line-height: 1.3;
  }

  .compare__row--head .compare__cell {
    font-size: 14px;
    font-weight: 700;
  }

  .compare__row .compare__cell:first-child {
    font-size: 16px;
    text-align: center;
    min-width: 80px;
    max-width: 100px;
    width: 80px;
  }

  .compare__cell:last-child {
    border-right: none;
  }
  
  .compare__row--head .compare__cell:nth-child(2) {
    position: relative;
  }

  /* Scroll indicator animation */
  .compare__table:hover::after {
    opacity: 0.7;
    transition: opacity 0.3s ease;
  }

  .compare__table::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 100%;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.8), transparent);
    pointer-events: none;
    z-index: 5;
  }

  /* Flow section adjustments */
  .flow__step {
    position: relative;
    margin-bottom: 3rem;
  }

  /* Additional mobile adjustments for smaller screens */
  .container {
    padding: 0 16px;
  }

  /* Header adjustments */
  .header__title {
    font-size: 16px;
  }
  
  .header__mobile {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 40;
  }
  
  .header__mobile ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .header__mobile li {
    border-bottom: 1px solid #e9ecef;
  }
  
  .header__mobile li:last-child {
    border-bottom: none;
  }
  
  .header__mobile a {
    display: block;
    padding: 1rem 1.5rem;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s ease;
  }
  
  .header__mobile a:hover {
    background-color: #f8f9fa;
  }

  /* Hero section additional adjustments */
  .hero__title {
    font-size: 28px;
  }

  /* Features section additional adjustments */
  .features__title {
    font-size: 21px;
  }

  .features__heading {
    font-size: 20px;
  }

  .custom-text {
    font-size: 16px;
  }

  /* Pains section additional adjustments */
  .pains__title {
    font-size: 24px;
  }

  /* Usecases section additional adjustments */
  .usecases__title {
    font-size: 24px;
  }

  .usecases__card h3 {
    font-size: 22px;
  }

  .usecases__before,
  .usecases__after {
    font-size: 15px;
    padding: 8px;
  }

  .usecases__hours {
    font-size: 18px;
  }

  /* AI trends section additional adjustments */
  .ai-trends__title {
    font-size: 21px;
  }

  .ai-trends__heading {
    font-size: 18px;
  }

  .ai-trends__description {
    font-size: 14px;
  }

  /* Compare section additional adjustments */
  .compare__title {
    font-size: 24px;
  }

  /* Pricing section additional adjustments */
  .pricing__title {
    font-size: 24px;
  }

  .pricing__cell {
    padding: 8px 4px;
    font-size: 14px;
  }

  .pricing__price {
    font-size: 18px;
  }

  /* Flow section additional adjustments */
  .flow__title {
    font-size: 24px;
  }

  .flow__label {
    font-size: 16px;
  }

  .flow__desc {
    font-size: 14px;
  }

  /* FAQ section additional adjustments */
  .faq__title {
    font-size: 24px;
  }

  .faq__button {
    font-size: 14px;
    padding: 10px 6px;
  }

  .faq__panel p {
    font-size: 14px;
  }

  /* Footer additional adjustments */
  .footer__title {
    font-size: 16px;
  }

  .footer__nav {
    gap: 12px;
  }

  .footer__nav a {
    font-size: 12px;
  }

  .footer__copy {
    font-size: 12px;
  }

  .footer__operator {
    font-size: 10px;
  }

  /* Sticky CTA additional adjustments */
  .sticky-cta__inner {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
  }

  .sticky-cta__label {
    font-size: 14px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
  }

  .sticky-cta .btn {
    font-size: 14px;
    padding: 0.5rem 1rem;
    border-radius: 16px;
    flex-shrink: 0;
  }

  .hero .btn--ghost {
    background: #5ab4c8;
    font-size: 15px;
  }

  .pricing__plan-name {
    font-size: 15px;
  }

  .flow__step:not(:last-child)::after {
    content: "";
    position: absolute;
    bottom: -125px;
    top: auto;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
    font-size: 32px;
    color: #68b3cc;
    z-index: 10;
    display: block !important;
  }
}
