/* ==================================================
   🖥 PC（1024px〜）
================================================= */
@media screen and (min-width: 1024px) {
  article { width: 950px; margin: 0 auto 50px; color: #444444; }

  #hero-corepilot { 
    width: 100%;
    margin-top: 30px;
    margin-bottom: 50px;
  }

  #hero-content {
    width: 100%;
    height: 440px;
    background-image: url("/static/img/core_pilot_knowledge/core-pilot-knowledge-pc.png");
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 8px;
  }

  #hero-title { 
    font-size: 2.4rem; margin-bottom: 20px; margin-left: 40px; 
    color: #0c1a2b; font-weight: bold; text-shadow: none; 
  }
  #hero-copy { 
    font-size: 1.5rem; line-height: 1.6; margin-bottom: 12px; margin-left: 40px; 
    color: #34495e; text-shadow: none;
  }

  /* サービス詳細エリアのPC用余白 */
  .service { margin-bottom: 50px;}
  #contact p { font-size: 1.5rem; margin-bottom: 20px; }
}

/* ==================================================
   📱 モバイル・タブレット共通（〜1023px）
================================================== */
@media screen and (max-width: 1023px) {
  #hero-corepilot { 
    width: 100%; 
    text-align: center; 
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  #hero-content {
    width: 100vw;
    background-image: url("/static/img/core_pilot_knowledge/core-pilot-knowledge-mobile.png"); 
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  #hero-title, #hero-copy {
    color: #0c1a2b;
    text-shadow: 0 0 15px rgba(255,255,255,0.9), 0 0 5px rgba(255,255,255,0.5);
  }

  .service {margin-bottom: 40px; }
  #contact p { font-size: 1.25rem; margin-bottom: 20px; }
}

/* 📏 タブレット大（701px〜1023px） */
@media screen and (min-width: 701px) and (max-width: 1023px) {
  #hero-content { min-height: 500px; padding: 80px 40px 40px; }
  #hero-title { font-size: 2.5rem; margin-bottom: 15px; }
  #hero-copy  { font-size: 1.6rem; }
}

/* 📏 タブレット小（461px〜700px） */
@media screen and (min-width: 461px) and (max-width: 700px) {
  #hero-content { min-height: 460px; padding: 60px 30px 30px; }
  #hero-title { font-size: 2.25rem; }
  #hero-copy  { font-size: 1.4rem; }
}

/* 📱 スマホ専用（〜460px） */
@media screen and (max-width: 460px) {
  article { width: 100%; }
  #hero-content { min-height: 450px; padding: 80px 20px 20px 0px; justify-content: top; }
  #hero-title { font-size: 1.8rem; margin-bottom: 10px; }
  #hero-copy  { font-size: 1.15rem; }
}

/* ==================================================
   📄 コンテンツエリア詳細スタイル（.service）
================================================== */
.service {
  line-height: 1.8;
  color: #444;
  font-size:1.25rem;
}

.service_bold {
  font-weight: bold;
  font-size: 1.5rem; /* PC基準 */
  margin-bottom: 15px;
}

.service ol {
  list-style-type: disc;
  margin-top: 10px;
  padding-left: 25px;
}

.service ol li {
  margin-bottom: 10px;
}

.bold {
  font-weight: bold;
}

.small {
  font-size: 0.85em;
  color: #666;
}

/* モバイル時の見出しサイズ調整 */
@media screen and (max-width: 700px) {
  .service_bold {
    font-size: 1.25rem;
  }
}
