*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --purple: #9535e1;
  --dark: #12141d;
  --blue: #0057fd;
  --navy: #002772;
  --navy-text: #2f327d;
  --gray-text: #696984;
  --gray-muted: #63657e;
  --bg-light: #f8f9fc;
  --bg-light2: #f5f6fa;
  --bg-light3: #f5f5fc;
  --deep-purple: #4732ba;
  --yellow: #febc23;
  --cyan: #7fe1fe;
  --green: #169442;
  --white: #ffffff;
  --fafafa: #fafafa;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--dark);
  overflow-x: hidden;
  background: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ===== HERO ===== */
.coddy_service .hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background-image: url('../images/coddy/background.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.coddy_service .hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  padding: 150px 0 0 80px;
}

.coddy_service .hero-subtitle {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #c5edff;
  letter-spacing: -0.48px;
  margin-bottom: 17px;
}

.coddy_service .hero-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 50px;
  color: #fff;
  line-height: 80px;
  letter-spacing: -1.5px;
  margin-bottom: 7px;
}

.coddy_service .hero-desc {
  font-size: 16px;
  color: #fff;
  line-height: 28px;
  letter-spacing: -0.48px;
  max-width: 456px;
  margin-top: 20px;
}

.coddy_service .hero-buttons {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-width: 459px;
}

.coddy_service .btn-primary {
  background: #fff;
  color: var(--navy);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.45px;
  padding: 13px 21px;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  width: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.coddy_service .btn-secondary {
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.45px;
  padding: 13px 21px;
  border-radius: 40px;
  border: 2px solid rgba(0, 87, 253, 0.2);
  cursor: pointer;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  width: 100%;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 87, 253, 0.3);
}

.coddy_service .hero-macbook {
  position: absolute;
  right: -350px;
  top: 120px;
  z-index: 1;
  width: 1100px;
  aspect-ratio: 16/10;
  background-image: url('../images/coddy/pc_image.webp');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.coddy_service .hero-artwork {
  position: absolute;
  right: 60px;
  top: 211px;
  z-index: 2;
  width: 750px;
  border-radius: 6px;
  overflow: hidden;
}

.coddy_service .hero-artwork img {
  width: 100%;
  border-radius: 6px;
}

.coddy_service .scroll-indicator {
  margin-top: auto;
  align-self: center;
  padding-bottom: 60px;
  z-index: 3;
  animation: bounce 2s infinite;
}

.coddy_service .scroll-indicator img {
  width: 36px;
  height: 53px;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }
}

/* ===== SECTION COMMONS ===== */
.coddy_service .section-label {
  font-family: 'Open Sans', 'Noto Sans JP', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
}

.coddy_service .section-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 48px;
  color: var(--dark);
  line-height: 58px;
  text-align: center;
  margin-top: 15px;
}

.coddy_service .section-desc {
  font-size: 18px;
  line-height: 35px;
  text-align: center;
  color: #000;
}

/* ===== STORY SECTION ===== */
.coddy_service .story-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(157, 112, 255, 0) 0%, rgba(157, 112, 255, 0.1) 31%, rgba(157, 112, 255, 0.8) 47%, rgb(157, 112, 255) 100%),
    url('../images/coddy/thought_bg.webp');
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
}

.coddy_service .story-content {
  position: relative;
  z-index: 2;
  margin-left: auto;
  width: 50%;
  padding: 150px 80px 150px 0;
  height: 100%;
}

.coddy_service .story-label {
  font-family: 'Open Sans', 'Noto Sans JP', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: left;
  margin-bottom: 10px;
}

.coddy_service .story-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 32px;
  color: #fff;
  line-height: 48px;
  letter-spacing: 0.2px;
  margin-bottom: 30px;
}

.coddy_service .story-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #fff;
  line-height: 32px;
}

/* ===== PROBLEMS SECTION ===== */
.coddy_service .problems-section {
  background: var(--bg-light);
  padding: 80px 85px;
}

.coddy_service .problems-header {
  text-align: center;
  margin-bottom: 60px;
}

.coddy_service .problems-cards {
  display: flex;
  gap: 23px;
  justify-content: center;
  align-items: stretch;
}

.coddy_service .problem-card-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 409px;
}

.coddy_service .problem-card {
  width: 100%;
  flex: 1;
  background: #fff;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  box-shadow: 0px 2px 10px #c7c7c7;
}

.coddy_service .problem-card-bar {
  height: 10px;
  width: 100%;
  border-radius: 5px 5px 0 0;
}

.coddy_service .problem-card-bar.purple {
  background: var(--purple);
}

.coddy_service .problem-card-bar.yellow {
  background: var(--yellow);
}

.coddy_service .problem-card-bar.cyan {
  background: var(--cyan);
}

.coddy_service .problem-card-content {
  flex: 1;
  padding: 30px 24px;
}

.coddy_service .problem-card-header {
  text-align: center;
  margin-bottom: 25px;
}

.coddy_service .problem-card-header .subtitle {
  font-weight: 500;
  font-size: 18px;
  line-height: 30px;
  color: #000;
}

.coddy_service .problem-card-header .number {
  font-weight: 700;
  font-size: 24px;
  color: var(--dark);
}

.coddy_service .problem-item {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 25px;
}

.coddy_service .problem-item-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.coddy_service .problem-item-icon img {
  width: 100%;
  height: 100%;
}

.coddy_service .problem-item-text {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-size: 18px;
  line-height: 30px;
  color: var(--dark);
  opacity: 0.7;
}

.coddy_service .problem-card-arrow {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.coddy_service .problem-card-arrow img {
  width: 79px;
}

/* ===== SOLUTIONS SECTION ===== */
.coddy_service .solutions-section {
  background: var(--bg-light);
  padding: 50px 85px 80px;
}

.coddy_service .solutions-header {
  text-align: center;
  margin-bottom: 20px;
}

.coddy_service .solutions-subtitle {
  font-size: 18px;
  line-height: 35px;
  color: #000;
  text-align: center;
  margin-bottom: 40px;
}

.coddy_service .solutions-cards {
  display: flex;
  gap: 23px;
  justify-content: center;
}

.coddy_service .solution-card {
  width: 409px;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0px 2px 10px #c7c7c7;
}

.coddy_service .solution-card-bar {
  height: 12px;
  width: 100%;
  border-radius: 5px 5px 0 0;
}

.coddy_service .solution-card-bar.purple {
  background: var(--purple);
}

.coddy_service .solution-card-bar.yellow {
  background: var(--yellow);
}

.coddy_service .solution-card-bar.cyan {
  background: var(--cyan);
}

.coddy_service .solution-card-content {
  padding: 30px 24px;
}

.coddy_service .solution-item {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 25px;
}

.coddy_service .solution-item-icon {
  flex-shrink: 0;
  width: 25px;
  height: 25px;
}

.coddy_service .solution-item-icon img {
  width: 100%;
  height: 100%;
}

.coddy_service .solution-item-text {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-size: 18px;
  line-height: 30px;
  color: var(--dark);
  opacity: 0.7;
}

/* ===== CURRICULUM SECTION ===== */
.coddy_service .curriculum-section {
  padding: 80px 83px;
  background: #fff;
}

.coddy_service .curriculum-header {
  text-align: center;
  margin-bottom: 40px;
}

.coddy_service .curriculum-desc {
  font-size: 18px;
  line-height: 35px;
  text-align: center;
  color: #000;
  margin-bottom: 50px;
}

.coddy_service .curriculum-cards {
  display: flex;
  gap: 40px;
  justify-content: center;
}

.coddy_service .curriculum-card {
  width: 391px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0px 10px 60px rgba(38, 45, 118, 0.08);
  padding: 50px 30px 40px;
  text-align: center;
  position: relative;
}

.coddy_service .curriculum-card-icon {
  width: 87px;
  height: 87px;
  margin: 0 auto 20px;
}

.coddy_service .curriculum-card-icon img {
  width: 100%;
}

.coddy_service .curriculum-card-level {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 30px;
  color: var(--navy-text);
  margin-bottom: 10px;
}

.coddy_service .curriculum-card-target {
  font-weight: 700;
  font-size: 20px;
  color: var(--navy-text);
  margin-bottom: 15px;
}

.coddy_service .curriculum-card-text {
  font-family: 'Poppins', 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--gray-text);
  text-align: left;
}

/* ===== EFFECTS SECTION ===== */
.coddy_service .effects-section {
  padding: 80px 83px;
  background: #fff;
}

.coddy_service .effects-header {
  max-width: 1280px;
  margin: 0 auto 40px;
}

.coddy_service .effects-header .section-label {
  text-align: left;
  margin-bottom: 15px;
}

.coddy_service .effects-header .section-title {
  text-align: left;
  font-size: 48px;
  line-height: 58px;
}

.coddy_service .effects-desc {
  font-size: 18px;
  line-height: 35px;
  text-align: left;
  color: #000;
  margin-bottom: 30px;
}

.coddy_service .effects-layout {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  align-items: center;
}

.coddy_service .effects-image {
  position: relative;
  max-width: 567px;
  flex-shrink: 0;
}

.coddy_service .effects-image-deco {
  position: relative;
}

.coddy_service .effects-image-deco .deco-1 {
  position: absolute;
  width: 97px;
  top: 20px;
  left: 3px;
}

.coddy_service .effects-image-deco .deco-2 {
  position: absolute;
  width: 20px;
  top: 26px;
  left: 114px;
}

.coddy_service .effects-image-deco .deco-3 {
  position: absolute;
  width: 21px;
  bottom: 47px;
  right: 187px;
}

.coddy_service .effects-image-deco .deco-4 {
  position: absolute;
  width: 183px;
  bottom: 0;
  right: 5px;
}

.coddy_service .effects-image-deco .main-img {
  position: relative;
  z-index: 2;
  margin: 40px 0 0 37px;
  width: 471px;
}

.coddy_service .effects-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 10px;
}

.coddy_service .effect-item {
  display: flex;
  gap: 50px;
  align-items: center;
  padding: 10px;
}

.coddy_service .effect-number {
  width: 100px;
  height: 100px;
  background: var(--purple);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  flex-shrink: 0;
}

.coddy_service .effect-number .label {
  font-size: 26px;
  line-height: 35px;
}

.coddy_service .effect-number .num {
  font-size: 40px;
  line-height: 40px;
}

.coddy_service .effect-detail {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: start;
  text-align: center;
}

.coddy_service .effect-detail p {
  font-size: 18px;
  line-height: 35px;
  color: #000;
}

.coddy_service .effect-detail .arrow-icon {
  width: 24px;
  height: 24px;
}

/* ===== COMPARISON SECTION ===== */
.coddy_service .comparison-section {
  background: var(--bg-light);
  padding: 74px 80px 80px;
}

.coddy_service .comparison-header {
  max-width: 1280px;
  margin: 0 auto 50px;
}

.coddy_service .comparison-header .section-label {
  text-align: left;
  margin-bottom: 15px;
}

.coddy_service .comparison-header .section-title {
  text-align: left;
  margin-top: 15px;
}

.coddy_service .comparison-desc {
  font-size: 18px;
  line-height: 35px;
  color: #000;
  margin-top: 20px;
}

.coddy_service .comparison-table-wrapper {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
}

.coddy_service .comparison-table {
  width: 100%;
  min-width: 0;
  /* ラッパー幅に揃え、行の幅ずれを防ぐ */
  background: #fff;
  border-radius: 12px;
  box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.coddy_service .comparison-table-row {
  display: flex;
  width: 100%;
  min-width: 0;
  /* 行がテーブル幅を超えないように */
}

.coddy_service .comparison-table-row.header-row .cell {
  background: #fff;
  box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.04);
  height: 83px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coddy_service .comparison-table-row.even .cell {
  background: #eeeeee;
}

.coddy_service .comparison-table-row.odd .cell {
  background: #fff;
  box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.04);
}

.coddy_service .cell {
  flex: 1;
  min-width: 0;
  /* flexでセルがはみ出さずヘッダーと列幅を揃える */
  padding: 12px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 62px;
  text-align: center;
}

.coddy_service .cell.label-cell {
  flex: 0 0 180px;
  font-weight: 700;
  font-size: 18px;
}

.coddy_service .cell-badge {
  padding: 7px 16px;
  border-radius: 8px;
  color: #fff;
  font-family: 'Poppins', 'Noto Sans JP', sans-serif;
  font-weight: 600;
  font-size: 14px;
  width: 200px;
  text-align: center;
}

.coddy_service .cell-badge.grasp {
  background: linear-gradient(82deg, #169442 2%, #0a504a 100%);
}

.coddy_service .cell-badge.online {
  background: #5b72ee;
}

.coddy_service .cell-badge.elearning {
  background: #00cbb8;
}

.coddy_service .cell-badge.training {
  background: #29b9e7;
}

.coddy_service .cell-icon {
  width: 24px;
  height: 24px;
  margin-bottom: 2px;
}

.coddy_service .cell-text {
  font-weight: 700;
  font-size: 14px;
  color: #000;
}

.coddy_service .grasp-highlight {
  position: absolute;
  top: -1px;
  left: 180px;
  width: calc((100% - 180px) / 4);
  height: calc(100% + 2px);
  border: 3px solid var(--green);
  border-radius: 10px;
  pointer-events: none;
  z-index: 10;
}

/* 比較テーブル: 1366px付近〜1400pxで崩れないように */
@media (max-width: 1400px) {
  .coddy_service .comparison-section {
    padding: 60px 40px 80px;
  }

  .coddy_service .comparison-table-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .coddy_service .comparison-table {
    min-width: 900px;
  }

  .coddy_service .cell {
    padding: 12px 16px;
  }

  .coddy_service .cell.label-cell {
    flex: 0 0 160px;
    font-size: 16px;
  }

  .coddy_service .cell-badge {
    width: 180px;
    font-size: 13px;
    padding: 6px 12px;
  }

  .coddy_service .cell-text {
    font-size: 13px;
  }

  .coddy_service .comparison-table-wrapper .grasp-highlight {
    left: 160px;
    width: calc((100% - 160px) / 4);
  }
}

/* ===== PRICING SECTION ===== */
.coddy_service .pricing-section {
  background: var(--bg-light3);
  padding: 65px 80px 80px;
}

.coddy_service .pricing-header {
  text-align: center;
  margin-bottom: 50px;
}

.coddy_service .pricing-cards {
  display: flex;
  gap: 50px;
  justify-content: center;
  align-items: center;
  padding: 0 165px;
}

.coddy_service .pricing-card {
  width: 450px;
  height: 360px;
  background: #fff;
  border: 2px solid var(--bg-light2);
  border-radius: 15px;
  padding: 35px;
  position: relative;
  box-shadow: 0 6px 20px rgba(0, 87, 253, 0.3);
}

.coddy_service .pricing-card-name {
  font-weight: 700;
  font-size: 28px;
  color: #090f4e;
  margin-bottom: 10px;
}

.coddy_service .pricing-card-desc {
  font-family: 'Poppins', 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 30px;
  color: var(--gray-muted);
  margin-bottom: 20px;
}

.coddy_service .pricing-card-divider {
  height: 1.5px;
  background: var(--bg-light2);
  margin: 20px 0;
}

.coddy_service .pricing-card-price {
  text-align: center;
  font-weight: 700;
  color: #4a4a4a;
  margin-bottom: 10px;
}

.coddy_service .pricing-card-price .unit {
  font-size: 20px;
  color: var(--purple);
  display: block;
  margin-bottom: 5px;
}

.coddy_service .pricing-card-price .amount {
  font-size: 24px;
}

.coddy_service .pricing-card-price .amount .big {
  font-size: 42px;
}

.coddy_service .pricing-card-btn {
  display: block;
  width: 290px;
  margin: 20px auto 0;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  text-align: center;
  padding: 21px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.coddy_service .pricing-card-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 87, 253, 0.3);
}

.coddy_service .grant-card {
  max-width: 950px;
  border-radius: 15px;
  text-align: center;
  margin: 50px auto;
  box-shadow: 0 6px 20px rgba(0, 87, 253, 0.3);
  padding: 30px;
}

.coddy_service .grant-card-name {
  font-weight: 700;
  font-size: 28px;
  color: #090f4e;
  margin-bottom: 10px;
}

.coddy_service .grant-card-desc {
  line-height: 30px;
}

.coddy_service .grant-card-btn {
  display: block;
  width: 290px;
  margin: 20px auto 0;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  text-align: center;
  padding: 21px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.coddy_service .grant-card-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 87, 253, 0.3);
}

/* ===== PROCESS SECTION ===== */
.coddy_service .process-section {
  background: var(--deep-purple);
  padding: 70px 80px 80px;
}

.coddy_service .process-header {
  text-align: center;
  margin-bottom: 60px;
}

.coddy_service .process-header .section-label {
  color: #fff;
  margin-bottom: 15px;
}

.coddy_service .process-header .section-title {
  font-family: 'Lexend Exa', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 42px;
  color: var(--fafafa);
  letter-spacing: -4px;
  margin-top: 15px;
}

.coddy_service .process-steps {
  display: flex;
  gap: 30px;
  justify-content: center;
}

.coddy_service .process-step {
  width: 280px;
  text-align: center;
}

.coddy_service .step-number {
  width: 60px;
  height: 60px;
  margin: 0 auto 25px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coddy_service .step-number img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.coddy_service .step-number span {
  position: relative;
  z-index: 1;
  font-weight: 700;
  font-size: 30px;
  color: var(--deep-purple);
}

.coddy_service .step-title {
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  line-height: 28px;
  margin-bottom: 15px;
}

.coddy_service .step-desc {
  font-size: 16px;
  line-height: 24px;
  color: var(--fafafa);
  opacity: 0.8;
  padding: 0 15px;
}

/* ===== CTA SECTION ===== */
.coddy_service .cta-section {
  position: relative;
  height: 530px;
  overflow: hidden;
  background-image: url('../images/coddy/background.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.coddy_service .cta-content {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: 50px;
}

.coddy_service .cta-content .section-label {
  color: #fff;
  margin-bottom: 20px;
}

.coddy_service .cta-title {
  font-weight: 700;
  font-size: 42px;
  color: var(--fafafa);
  line-height: 48px;
  margin-bottom: 30px;
}

.coddy_service .cta-text {
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  line-height: 25px;
  margin-bottom: 40px;
}

.coddy_service .cta-buttons {
  display: flex;
  gap: 30px;
  justify-content: center;
}

.cta-buttons .coddy_service .btn-primary {
  max-width: 456px;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.25);
}

.cta-buttons .coddy_service .btn-secondary {
  max-width: 459px;
}

/* ===== ANIMATIONS ===== */
.coddy_service .fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.coddy_service .fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.coddy_service .fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.coddy_service .fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.coddy_service .fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.coddy_service .fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered delays */
.coddy_service .delay-1 {
  transition-delay: 0.1s;
}

.coddy_service .delay-2 {
  transition-delay: 0.2s;
}

.coddy_service .delay-3 {
  transition-delay: 0.3s;
}

.coddy_service .delay-4 {
  transition-delay: 0.4s;
}

@media (min-width: 1600px) {
  .coddy_service .hero-content {
    padding: 150px 0 0 180px;
  }

  .coddy_service .hero-macbook {
    width: 1300px;
  }

  .coddy_service .hero-title {
    letter-spacing: 2.5px;
  }
}

/* ===== TABLET: max-width 1024px ===== */
@media (max-width: 1440px) {
  .coddy_service .hero-content {
    padding: 80px 40px 0;
    max-width: 50%;
  }

  .coddy_service .hero-macbook {
    top: 50px;
  }
}

/* ===== TABLET: max-width 1024px ===== */
@media (max-width: 1280px) {

  /* Hero */
  .coddy_service .hero {
    height: auto;
    min-height: 700px;
    padding-bottom: 60px;
  }

  .coddy_service .hero-content {
    padding: 140px 40px 0;
    max-width: 50%;
  }

  .coddy_service .hero-title {
    font-size: 36px;
    line-height: 56px;
  }

  .coddy_service .hero-desc {
    font-size: 14px;
    line-height: 24px;
  }

  .coddy_service .hero-macbook {
    width: 700px;
    right: -80px;
    top: 160px;
  }

  .coddy_service .hero-artwork {
    width: 550px;
    right: 10px;
    top: 185px;
  }

  .coddy_service .hero-buttons {
    max-width: 360px;
  }

  /* Story */
  .coddy_service .story-content {
    width: 55%;
    padding-right: 40px;
  }

  .coddy_service .story-title {
    font-size: 26px;
    line-height: 40px;
  }

  .coddy_service .story-text {
    font-size: 14px;
    line-height: 26px;
  }

  /* Problems / Solutions cards */
  .coddy_service .problems-section,
  .coddy_service .solutions-section {
    padding: 60px 40px;
  }

  .coddy_service .problems-cards,
  .coddy_service .solutions-cards {
    gap: 16px;
  }

  .coddy_service .problem-card-wrapper,
  .coddy_service .solution-card {
    width: auto;
    flex: 1;
    min-width: 0;
  }

  .coddy_service .problem-item-text,
  .coddy_service .solution-item-text {
    font-size: 15px;
    line-height: 26px;
  }

  .coddy_service .section-title {
    font-size: 36px;
    line-height: 48px;
  }

  /* Curriculum */
  .coddy_service .curriculum-section {
    padding: 60px 40px;
  }

  .coddy_service .curriculum-cards {
    gap: 20px;
  }

  .coddy_service .curriculum-card {
    width: auto;
    flex: 1;
    min-width: 0;
    padding: 40px 24px 30px;
  }

  /* Effects */
  .coddy_service .effects-section {
    padding: 60px 40px;
  }

  .coddy_service .effects-layout {
    flex-direction: column;
    gap: 40px;
  }

  .coddy_service .effects-image {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }

  .coddy_service .effects-image-deco .main-img {
    width: 90%;
    margin: 30px auto 0;
  }

  .coddy_service .effect-item {
    gap: 30px;
  }

  /* Comparison */
  .coddy_service .comparison-section {
    padding: 60px 40px;
  }

  .coddy_service .comparison-table-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .coddy_service .comparison-table {
    min-width: 900px;
  }

  .coddy_service .cell-text {
    font-size: 13px;
  }

  /* Pricing */
  .coddy_service .pricing-section {
    padding: 60px 40px;
  }

  .coddy_service .pricing-cards {
    padding: 0;
    gap: 24px;
  }

  .coddy_service .pricing-card {
    width: auto;
    flex: 1;
    min-width: 0;
    padding: 30px 24px;
  }

  .coddy_service .pricing-card-btn {
    width: 100%;
  }

  /* Process */
  .coddy_service .process-section {
    padding: 60px 40px;
  }

  .coddy_service .process-steps {
    gap: 16px;
  }

  .coddy_service .process-step {
    width: auto;
    flex: 1;
    min-width: 0;
  }

  .coddy_service .step-desc {
    font-size: 14px;
    line-height: 22px;
  }

  /* CTA */
  .coddy_service .cta-section {
    height: auto;
    padding-bottom: 60px;
  }

  .coddy_service .cta-title {
    font-size: 32px;
    line-height: 42px;
  }

  .coddy_service .cta-text {
    font-size: 16px;
    line-height: 22px;
  }

  .coddy_service .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .coddy_service .cta-buttons .btn-primary,
  .coddy_service .cta-buttons .btn-secondary {
    width: 90%;
    max-width: 456px;
  }

}

/* ===== MOBILE-LARGE: max-width 768px ===== */
@media (max-width: 1080px) {
  .coddy_service .hero-macbook {
    right: -200px;
  }

  .coddy_service .comparison-table-wrapper .grasp-highlight {
    width: 185px;
  }
}

/* ===== MOBILE-LARGE: max-width 768px ===== */
@media (max-width: 768px) {

  /* Hero */
  .coddy_service .hero {
    height: auto;
    min-height: auto;
    padding-bottom: 40px;
  }

  .coddy_service .hero-content {
    padding: 100px 20px 0;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }

  .coddy_service .hero-title {
    font-size: 30px;
    line-height: 48px;
  }

  .coddy_service .hero-subtitle {
    font-size: 13px;
  }

  .coddy_service .hero-desc {
    max-width: 100%;
    font-size: 14px;
  }

  .coddy_service .hero-buttons {
    max-width: 100%;
  }

  .coddy_service .hero-macbook {
    width: 400px;
    top: 0;
    right: -100px;
  }

  .coddy_service .hero-artwork {
    display: none;
  }

  .coddy_service .scroll-indicator {
    display: none;
  }

  /* Story */
  .coddy_service .story-section {
    height: auto;
    min-height: auto;
    background-position: top left 30%;
  }

  .coddy_service .story-content {
    padding: 40px 20px;
  }

  .coddy_service .story-title {
    font-size: 22px;
    line-height: 36px;
  }

  .coddy_service .story-text {
    font-size: 13px;
    line-height: 24px;
  }

  /* Problems / Solutions */
  .coddy_service .problem-card-arrow {
    display: none;
  }

  .coddy_service .problems-section,
  .coddy_service .solutions-section {
    padding: 50px 20px;
  }

  .coddy_service .section-title {
    font-size: 28px;
    line-height: 40px;
  }

  .coddy_service .section-label {
    font-size: 14px;
  }

  .coddy_service .problems-cards,
  .coddy_service .solutions-cards {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }

  .coddy_service .problem-card-wrapper,
  .coddy_service .solution-card {
    width: 100%;
    max-width: 500px;
  }

  .coddy_service .problem-card-header .subtitle,
  .coddy_service .problem-item-text,
  .coddy_service .solution-item-text {
    font-size: 15px;
  }

  .coddy_service .solutions-subtitle {
    font-size: 15px;
    line-height: 28px;
    padding: 0 10px;
  }

  /* Curriculum */
  .coddy_service .curriculum-section {
    padding: 50px 20px;
  }

  .coddy_service .curriculum-desc {
    font-size: 15px;
    line-height: 28px;
    padding: 0 10px;
  }

  .coddy_service .curriculum-cards {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }

  .coddy_service .curriculum-card {
    width: 100%;
    max-width: 500px;
  }

  /* Effects */
  .coddy_service .effects-section {
    padding: 50px 20px;
  }

  .coddy_service .effects-header .section-title {
    font-size: 28px;
    line-height: 40px;
    text-align: center !important;
  }

  .coddy_service .effects-header .section-label {
    text-align: center !important;
  }

  .coddy_service .effects-desc {
    text-align: center;
    font-size: 15px;
  }

  .coddy_service .effects-image {
    max-width: 100%;
  }

  .coddy_service .effects-image-deco {
    height: auto !important;
  }

  .coddy_service .effects-image-deco .main-img {
    position: relative;
    width: 100%;
    margin: 10px auto 0;
  }

  .coddy_service .effects-image-deco .deco-1,
  .coddy_service .effects-image-deco .deco-2,
  .coddy_service .effects-image-deco .deco-3,
  .coddy_service .effects-image-deco .deco-4 {
    display: none;
  }

  .coddy_service .effect-item {
    gap: 20px;
    flex-direction: column;
    text-align: center;
  }

  .coddy_service .effect-number {
    width: 80px;
    height: 80px;
  }

  .coddy_service .effect-number .label {
    font-size: 20px;
    line-height: 28px;
  }

  .coddy_service .effect-number .num {
    font-size: 32px;
    line-height: 32px;
  }

  .coddy_service .effect-detail {
    align-items: center;
  }

  .coddy_service .effect-detail p {
    font-size: 15px;
    line-height: 28px;
  }

  /* Comparison */
  .coddy_service .comparison-section {
    padding: 50px 20px;
  }

  .coddy_service .comparison-header .section-title {
    font-size: 28px;
    line-height: 40px;
  }

  .coddy_service .comparison-desc {
    font-size: 15px;
    line-height: 28px;
  }

  .coddy_service .comparison-table {
    min-width: 780px;
  }

  .coddy_service .cell.label-cell {
    flex: 0 0 120px;
    font-size: 12px;
  }

  .coddy_service .comparison-table-wrapper .grasp-highlight {
    display: none;
  }

  .coddy_service .cell-badge {
    width: 150px;
    font-size: 12px;
  }

  .coddy_service .cell-text {
    font-size: 12px;
  }

  /* Pricing */
  .coddy_service .pricing-section {
    padding: 50px 20px;
  }

  .coddy_service .pricing-cards {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 0;
  }

  .coddy_service .pricing-card {
    width: 100%;
    max-width: 400px;
  }

  .coddy_service .pricing-card-name {
    font-size: 24px;
  }

  .coddy_service .pricing-card-btn {
    width: 100%;
    max-width: 290px;
  }

  /* Process */
  .coddy_service .process-section {
    padding: 50px 20px;
  }

  .coddy_service .process-header .section-title {
    font-size: 30px !important;
    letter-spacing: -2px !important;
  }

  .coddy_service .process-steps {
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
  }

  .coddy_service .process-step {
    width: calc(50% - 15px);
    min-width: 200px;
  }

  /* CTA */
  .coddy_service .cta-section {
    height: auto;
    padding-bottom: 50px;
  }

  .coddy_service .cta-content {
    padding: 40px 20px 0;
  }

  .coddy_service .cta-title {
    font-size: 26px;
    line-height: 38px;
  }

  .coddy_service .cta-text {
    font-size: 14px;
    line-height: 22px;
  }

  .coddy_service .cta-buttons {
    padding: 0 10px;
  }

  .coddy_service .cta-buttons .btn-primary,
  .coddy_service .cta-buttons .btn-secondary {
    width: 100%;
  }

}

/* ===== MOBILE-SMALL: max-width 480px ===== */
@media (max-width: 480px) {
  .coddy_service .hero-title {
    font-size: 24px;
    line-height: 40px;
  }

  .coddy_service .hero-subtitle {
    font-size: 12px;
  }

  .coddy_service .hero-desc {
    font-size: 13px;
    line-height: 22px;
  }

  .coddy_service .hero-macbook {
    width: 230px;
    right: -30px;
  }

  .coddy_service .btn-primary,
  .coddy_service .btn-secondary {
    font-size: 14px;
    padding: 12px 16px;
  }

  .coddy_service .section-title {
    font-size: 24px;
    line-height: 36px;
  }

  .coddy_service .story-title {
    font-size: 20px;
    line-height: 32px;
  }

  .coddy_service .story-text {
    font-size: 12px;
    line-height: 22px;
  }

  .coddy_service .problem-card-header .number,
  .coddy_service .solution-card .problem-card-header .number {
    font-size: 20px;
  }

  .coddy_service .problem-card-header .subtitle {
    font-size: 14px;
    line-height: 24px;
  }

  .coddy_service .problem-item-text,
  .coddy_service .solution-item-text {
    font-size: 14px;
    line-height: 24px;
  }

  .coddy_service .curriculum-card-level {
    font-size: 24px;
  }

  .coddy_service .curriculum-card-target {
    font-size: 17px;
  }

  .coddy_service .curriculum-card-text {
    font-size: 14px;
  }

  .coddy_service .effects-header .section-title {
    font-size: 24px;
    line-height: 36px;
  }

  .coddy_service .effect-detail p {
    font-size: 14px;
    line-height: 24px;
  }

  .coddy_service .comparison-header .section-title {
    font-size: 24px;
    line-height: 36px;
  }

  .coddy_service .pricing-card-name {
    font-size: 22px;
  }

  .coddy_service .pricing-card-desc {
    font-size: 14px;
    line-height: 26px;
  }

  .coddy_service .pricing-card-price .amount .big {
    font-size: 36px;
  }

  .coddy_service .process-steps {
    flex-direction: column;
    align-items: center;
  }

  .coddy_service .process-step {
    width: 100%;
    max-width: 300px;
  }

  .coddy_service .process-header .section-title {
    font-size: 26px !important;
  }

  .coddy_service .step-title {
    font-size: 18px;
  }

  .coddy_service .step-desc {
    font-size: 13px;
    line-height: 20px;
  }

  .coddy_service .cta-title {
    font-size: 22px;
    line-height: 34px;
  }

  .coddy_service .cta-text {
    font-size: 13px;
    line-height: 20px;
  }
}