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

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
}

.section-title {
  text-align: center;
  /* margin-bottom: 50px; */
  font-size: 2rem;
}

/* --- Hero & Products --- */
.hero {
  /* background-color: #f6f6f6; */
  padding: 0;
}

.hero-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.hero-desc {
  padding: 20px 0;
}

.hero-text h1 {
  font-size: 1.5rem;
  color: #ffffff;
  background-color: #6d9eeb;
  padding: 20px;
}

.hero-img {
  width: 80%;
  height: auto;
}

img {
  background-color: #ffffff;
  border-radius: 10px;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.product-card {
  /* border: 1px solid #ddd; */
  border-radius: 12px;
  padding: 10px;
  text-align: center;
}

.img-box>img {
  background-color: #ffffff;
}

.btn {
  display: inline-block;
  background-color: #006CB7;
  color: #fff;
  padding: 12px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
}

/* --- Video --- */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


.feature-row {
  display: flex;
  flex-direction: column;
  /* スマホでは縦並び */
  align-items: center;
  gap: 40px;
  margin-bottom: 80px;
}

.feature-content {
  flex: 1;
  order: 2;
}

.feature-visual {
  flex: 1;
  order: 1;
}

.feature-visual img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.feature-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.feature-icon {
  width: 50px;
  height: 50px;
}

.feature-item h3 {
  color: #006CB7;
  border-bottom: 4px solid #FFD500;
  padding-bottom: 5px;
}

/* --- Skills --- */
.skills-progression-flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.skill-step {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 10px;
  border-left: 6px solid #006CB7;
}

.ai-highlight {
  background-color: #006CB7;
  color: #fff;
  border-left: 6px solid #FFD500;
}

.contact-cta {
  /* background-color: #f6f6f6; */
  padding: 20px 0;
  text-align: center;
}

.cta-box h2 {
  font-size: 1.8rem;
  margin-bottom: 35px;
  color: #333;
}

.btn:visited {
  color: #fff !important;
}

.btn-sky {
  display: inline-block;
  background-color: #87CEEB;
  /* スカイブルー */
  color: #fff;
  padding: 20px 60px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.3rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(135, 206, 235, 0.4);
}

.btn-sky:hover {
  background-color: #72bcd4;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(135, 206, 235, 0.6);
}

/* モバイル対応の微調整 */
@media (max-width: 768px) {
  .btn-large {
    width: 100%;
    /* スマホでは押しやすいよう全幅に */
    padding: 18px 20px;
    font-size: 1.1rem;
  }

  .cta-box h2 {
    font-size: 1.5rem;
  }
}

/* --- Media Queries --- */
@media (min-width: 768px) {
  .hero-flex {
    flex-direction: row;
    text-align: left;
  }

  .hero-img {
    width: 35%;
    height: auto;
  }

  .hero-text h1 {
    font-size: 2.5rem;
    color: #ffffff;
    background-color: #6d9eeb;
    padding: 20px;
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-card {
    /* border: 1px solid #ddd; */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
  }

  /* 互い違いの核となる設定 */
  .feature-row {
    flex-direction: row;
    /* PCでは横並び */
    text-align: left;
  }

  /* reverseクラスがついている行は順番を入れ替える */
  .feature-row.reverse {
    flex-direction: row-reverse;
  }

  .skills-progression-flow {
    grid-template-columns: repeat(3, 1fr);
  }
}