@charset "utf-8";
.bold { font-weight: bold; color: #111827; }
.feat_link{text-decoration: none;color: inherit;}
/* --------------------------------------------------
   🖥 PC（1024px〜）
-------------------------------------------------- */
@media screen and (min-width: 1024px) {
  article { 
    width: 950px; 
    margin: 0 auto 50px; 
    color: #444444; 
  }

  /* Hero Section */
  #hero { 
    width: 100%;
    margin-top: 30px;
    margin-bottom: 50px;
  }
  .hero-content {
    width: 100%;
    height: 440px;
    background-image: url("/static/img/ai_platform/hero-visual-AI-pc.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
  }
  .hero-content h1, 
  .hero-content .hero-copy, 
  .hero-content .hero-sub {
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); /* 視認性を高める影 */
   }


   .hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  margin-left: 60px;
}

.hero-content .hero-copy {
  font-size: 1.5rem;
  line-height: 1.6;
  margin-bottom: 12px;
  margin-left: 60px;
  /* 右側に余白を作るため最大幅を制限 */
  max-width: 800px;
}

.hero-content .hero-sub {
  font-size: 1.20rem;
  line-height: 1.7;
  margin-left: 60px;
  /* 右側に余白を作るため最大幅を制限 */
  max-width: 750px;
  /* 右側のマージンを確保 */
  margin-right: 40px;
}

  h2 { font-size: 1.75rem; margin-bottom: 30px; border-bottom: 2px solid #e5e7eb; padding-bottom: 10px; }

  /* Management Logic */
  #management-logic { background: #f8fafc; padding: 40px; border-radius: 12px; margin-bottom: 50px; text-align: center; }
  #logic-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 30px; }
  .logic-card { background: #fff; padding: 25px; border-left: 5px solid #2563eb; box-shadow: 0 2px 4px rgba(0,0,0,0.05); text-align: left; }
  .logic-card h3 { font-size: 1.20rem; color: #1e40af; margin-bottom: 15px; margin-top: 0; }
  .logic-card p { font-size: 1.1rem; line-height: 1.7; margin: 0; }

  /* Features (Icon on the Left) */
  .feature-list { list-style: none; margin: 30px auto 70px; padding: 0; }
  .feature-item { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; }
  .feature-item img { width: 66px; height: 66px; object-fit: contain; margin: 0; flex-shrink: 0; }
  .feature-text h3 { font-size: 1.5rem; margin: 0 0 5px 0; }
  .feature-text p { font-size: 1.20rem; margin: 0; line-height: 1.6; }

  /* Security Section */
  #security { margin-bottom: 75px; }
  #security-intro { font-size: 1.4rem; margin-bottom: 20px; }
  #security .security-list { max-width: 950px; margin: 30px auto; list-style: none; padding-left: 0; }
  #security .security-list li { margin-bottom: 15px; font-size: 1.20rem; line-height: 1.6; }
  .security-note { margin-top: 20px; font-size: 1rem; color: #666; line-height: 1.6; }

  /* Pricing Section */
  #pricing { margin: 0 auto 70px; }
  #initial-cost-desc { font-size: 1.20rem; line-height: 1.6; margin: 6px 0 50px; }
  #pricing-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 30px; }
  #pricing .pricing-card { background: #ffffff; border-radius: 12px; border: 1px solid #e5e7eb; box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06); padding: 30px 25px; position: relative; }
  #pricing .pricing-card h4 { font-size: 1.5rem; margin-bottom: 12px; margin-top: 0; color: #111827; }
  #pricing .pricing-price { font-size: 1.75rem; font-weight: 600; margin-bottom: 15px; color: #111827; }
  .ex-tax { font-size: 1.20rem; font-weight: normal; color: #6b7280; }
  #pricing .pricing-features { list-style: disc; padding-left: 20px; margin: 0; }
  #pricing .pricing-features li { font-size: 1.13rem; line-height: 1.8; color: #374151; margin-bottom: 8px; }

  /* AWS Note */
  #aws-note { font-size:1.13rem; margin-top: 30px; background: #f8fafc; padding: 25px; border-radius: 8px; border: 1px solid #e5e7eb; }
  .note-title { color: #1e40af; font-weight: bold; margin-bottom: 8px; display: block; }

  /* Screening Tool */
  #screening-tool { border: 2px solid #2563eb; padding: 40px; border-radius: 12px; margin-bottom: 60px; text-align: center; background: #fff; }
  #screening-tool h3 { font-size: 1.5rem; color: #1e40af; margin-top: 0; }
  #screening-tool p {font-size:1.20rem;}
  #check-list { text-align: left; max-width: 650px; margin: 25px auto; }
  #check-list label { display: block; margin-bottom: 15px; font-size: 1.13rem; cursor: pointer; line-height: 1.5; }
  #btn-screening { background: #2563eb; color: #fff; padding: 15px 45px; border: none; border-radius: 6px; font-size: 1.1rem; font-weight: bold; cursor: pointer; transition: background 0.3s; }
  #btn-screening:hover { background: #1d4ed8; }
  #screening-result { display: none; margin-top: 30px; padding: 25px; background: #f0f7ff; border-radius: 8px; border-left: 5px solid #2563eb; text-align: left; line-height: 1.7; }


    /* Contact Section */
  #contact { text-align: center; padding: 40px 0px 0px; }
  /* CTAセクション全体 */
#contact-cta {
    margin: 60px auto 0px;
    text-align: center;
    padding: 0 20px;
}

/* 枠囲みで「特別なエリア」感を出す */
.cta-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #f8fafc; /* 薄いグレー背景 */
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 50px 40px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.cta-container h2 {
    font-size: 1.75rem;
    color: #1e293b;
    margin-bottom: 20px;
    line-height: 1.4;
}

.cta-desc {
    font-size: 1.2rem;
    color: #475569;
    margin-bottom: 35px;
    line-height: 1.8;
}

/* ボタンのデザイン強化 */
.btn-main-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%); /* グラデーションでリッチに */
    color: #ffffff;
    text-decoration: none;
    padding: 20px 60px; /* 大きく！ */
    border-radius: 50px; /* 丸みをつけて親しみやすく */
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4); /* 浮き上がる影 */
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
    max-width: 500px; /* PCでは幅を制限 */
    box-sizing: border-box;
}

.btn-main-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(37, 99, 235, 0.5);
}

.btn-text {
    font-size: 1.25rem;
    font-weight: bold;
    margin-right: 10px;
}

.btn-sub {
    font-weight: normal;
    opacity: 0.9;
}

.arrow-icon {
    font-style: normal;
    font-weight: bold;
    margin-left: 10px;
    font-size: 1.2rem;
}

/* 注釈をボタンの下へ移動・弱める */
.cta-note {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-top: 25px;
    line-height: 1.5;
}



}

/* --------------------------------------------------
   📱 モバイル・タブレット共通（〜1023px）
-------------------------------------------------- */
@media screen and (max-width: 1023px) {
  article { width: 95%; margin: 0 auto 50px; color: #444444;}

  #hero {
    width: 100%;
    text-align: center;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 20px;
    margin-bottom: 30px;
  }
  .hero-content {
    width: 100vw;
    height: auto;
    min-height: 400px;
    background-image: url("/static/img/ai_platform/hero-visual-AI-mobile.png");
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* 左右に20pxのパディングを確保して端への張り付きを防止 */
    padding: 40px 20px;
    box-sizing: border-box;
  }
  .hero-content h1 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    /* マージンをリセットして中央寄せを確実に */
    margin-left: 0;
    margin-right: 0;
  }
  .hero-content .hero-copy {
    font-size: 1.4rem; /* 英語の長さを考慮し少し微調整 */
    line-height: 1.6; /* 日本語より少し広めが読みやすい */
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    margin-left: 0;
    margin-right: 0;
  }
  .hero-content .hero-sub {
    font-size: 1.1rem; /* 長文になるため少しサイズを抑える */
    line-height: 1.7; /* 複数行になっても重ならないよう広く設定 */
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    /* テキストが広がりすぎないよう最大幅を制限して中央配置 */
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  h2 { font-size: 1.5rem; margin-bottom: 20px; }

  /* Management Logic (Mobile) */
  #management-logic { padding: 25px 15px; background: #f8fafc; border-radius: 10px; margin-bottom: 40px; }
  #logic-list { display: flex; flex-direction: column; gap: 15px; margin-top: 20px; font-size:1.15rem;}
  .logic-card { background: #fff; padding: 20px; border-left: 4px solid #2563eb; text-align: left; }
  .logic-card h2{font-size:1.20rem;}

  /* Features (Mobile - Left Icon) */
  .feature-list { list-style: none; margin: 30px auto 50px; padding: 0;}
  .feature-item { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 25px; }
  .feature-item img { width: 50px; height: 50px; object-fit: contain; flex-shrink: 0; }
  .feature-text h3 { font-size: 1.20rem; margin: 0 0 5px 0; line-height: 1.4; }
   .feature-text p{font-size: 1.13rem;}

  #security { margin-bottom: 50px; font-size: 1.13rem;}
  .security-list { margin: 20px auto; list-style: none; padding-left: 0; }
  .security-list li { margin-bottom: 12px; font-size: 1.1rem; line-height: 1.6; }

  /* Pricing (Mobile) */
  #pricing {font-size:1.13rem;}
  #pricing-list { display: flex; flex-direction: column; gap: 18px; margin-top: 20px; }
  #pricing .pricing-card { background: #ffffff; border-radius: 10px; border: 1px solid #e5e7eb; padding: 20px; }
  #pricing .pricing-card h4 { font-size: 1.20rem; margin-bottom: 10px; color: #111827; }
  #pricing .pricing-price { font-size: 1.5rem; font-weight: 600; margin-bottom: 10px; color: #111827; }
  #pricing .pricing-features { list-style: disc; padding-left: 20px; }
  #pricing .pricing-features li { font-size: 1.13rem; margin-bottom: 5px; }

 #screening-tool { border: 1px solid #2563eb; padding: 20px; border-radius: 8px; margin-bottom: 60px; text-align: center; background: #fff; font-size:1.13rem;}
  #screening-tool h3 { font-size: 1.20rem; color: #1e40af; margin-top: 0; }

  #check-list {
  display: flex;
  flex-direction: column; /* 縦に並べる */
  align-items: flex-start;
  gap: 12px;
  margin: 20px auto;
  max-width: 480px;
  text-align: left;
}

#check-list label {
  display: block;
  font-size: 1rem;
  line-height: 1.5;
  cursor: pointer;
  font-size:1.13rem;
}

/* 診断結果を表示するボタン（診断ツール内） */
#btn-screening {
  display: block;
  width: 100%; /* モバイルは横幅いっぱいで押しやすく */
  max-width: 300px;
  margin: 0 auto;
  background: #2563eb;
  color: #ffffff;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 1rem;
}
#contact-cta {
    margin: 60px auto 0px;
    text-align: center;
    padding: 0 20px;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 50px 40px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.cta-container h2 {
    font-size: 1.75rem;
    color: #1e293b;
    margin-bottom: 20px;
    line-height: 1.4;
}

.cta-desc {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 35px;
    line-height: 1.8;
}

/* ボタンの基本設定：確実に「白文字・下線なし・青背景」を適用 */
.btn-main-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    color: #ffffff !important; /* 強制的に白 */
    text-decoration: none !important; /* 強制的に下線消去 */
    padding: 18px 40px; /* パディングを少し調整 */
    border-radius: 50px;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
    cursor: pointer;
}

.btn-main-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(37, 99, 235, 0.5);
    color: #ffffff !important;
}

.btn-text { font-size: 1.25rem; font-weight: bold; margin-right: 10px; }
.btn-sub { font-size: 0.9rem; font-weight: normal; opacity: 0.9; }
.arrow-icon { font-style: normal; font-weight: bold; margin-left: 10px; font-size: 1.2rem; }

.cta-note {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 25px;
    line-height: 1.5;
}

}

/* --------------------------------------------------
   📏 タブレット中〜大（461px〜1023px）の調整
-------------------------------------------------- */
@media screen and (min-width: 461px) and (max-width: 1023px) {
  .hero-content { min-height: 450px; padding: 60px 40px; }
  .btn-main-cta {
        font-size: 1.1rem;
    }
}

/* --------------------------------------------------
   📱 スマホ専用（〜460px）の微調整
-------------------------------------------------- */
@media screen and (max-width: 460px) {
  .hero-content { min-height: 450px; padding: 40px 20px; }
  /* さらに余白を詰める */
    .cta-container {
        padding: 30px 15px;
    }

    /* 見出しをスマホ最適化 */
    .cta-container h2 {
        font-size: 1.25rem;
    }

    /* 【重要】ボタンの中身を「縦積み」に変更 */
    /* 文字が長いため、横並びだと崩れるのを防ぎます */
    .btn-main-cta {
        flex-direction: column; /* 縦並びにする */
        padding: 15px 10px;
        border-radius: 12px;    /* 丸みを少し四角くして面積確保 */
    }

    /* メインテキスト（申し込み） */
    .btn-text {
        font-size: 1.1rem;
        margin-right: 0;      /* 横のマージン削除 */
        margin-bottom: 4px;   /* 下にマージン追加 */
        line-height: 1.3;
    }

    /* サブテキスト（無料・Web完結） */
    .btn-sub {
        font-size: 0.85rem;
        opacity: 0.95; /* 視認性を上げるため少し濃く */
    }

    /* 矢印アイコンはスマホでは邪魔になるので消す */
    .arrow-icon {
        display: none;
    }
}
