/* =========================
   BASE
========================= */
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111;
  background: #fff;
}

h1, h2, h3, h4 {
  margin: 0;
}

p {
  margin: 0;
}

/* 共通コンテナ（超重要） */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================
   HEADER（ヒーロー風）
========================= */
.header {
  background: linear-gradient(135deg, #0A1F44, #0D0A2B);
  padding: 70px 20px;
  color: white;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* ロゴ */
.logo-area img {
  width: 140px;
  height: 140px;

  border-radius: 24px;
  background: rgba(255,255,255,0.05);
  padding: 8px;

  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
}

/* タイトル */
.title-group h1 {
  font-size: 38px;
}

/* 説明 */
.title-group p {
  margin-top: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  max-width: 520px;
}

/* =========================
   HERO（デモリンク）
========================= */
.hero {
  padding: 80px 0;
  text-align: center;
}

.hero-title {
  font-size: 32px;
  margin-bottom: 12px;
}

.hero-desc {
  color: #555;
  margin-bottom: 40px;
}

/* カード並び */
.hero-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* =========================
   DEMO CARD
========================= */
.demo-card {
  display: flex;
  align-items: center;
  gap: 16px;

  padding: 18px;
  width: 340px;

  border-radius: 14px;
  text-decoration: none;
  color: #111;

  background: #f7f9ff;
  cursor: pointer;

  transition: all 0.2s ease;
}

/* hover */
.demo-card:hover {
  background: #eaf2ff;
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* クリック */
.demo-card:active {
  transform: translateY(0);
}

/* ダミー画像 or 画像 */
.demo-card img,
.dummy-image {
  width: 70px;
  height: 70px;
  border-radius: 10px;
}

/* ダミー用 */
.dummy-image {
  background: #f2f4f8;
  position: relative;
}

/* 簡易グラフ線 */
.dummy-image::after {
  content: "";
  position: absolute;

  width: 60%;
  height: 2px;
  background: #2F8CFF;

  top: 50%;
  left: 20%;

  transform: rotate(-20deg);
}

/* テキスト */
.card-content h4 {
  font-size: 16px;
}

.card-content p {
  margin-top: 4px;
  font-size: 13px;
  color: #666;
}

/* 矢印 */
.arrow {
  margin-left: auto;
  color: #2F8CFF;
  font-weight: bold;
}

/* =========================
   NORMAL SECTION
========================= */
.section {
  padding: 60px 0;
}

.section h3 {
  font-size: 22px;
  margin-bottom: 20px;
}

/* =========================
   LINK CARD（関連サイト）
========================= */
.link-card {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 16px;

  margin-bottom: 12px;

  transition: 0.2s;
}

.link-card:hover {
  background: #f7f9ff;
}

.link-card a {
  text-decoration: none;
  color: #2F8CFF;
  font-weight: 600;
}

/* =========================
   FOOTER
========================= */
footer {
  background: linear-gradient(135deg, #0A1F44, #0D0A2B);
  color: rgba(255,255,255,0.8);

  padding: 40px 20px;
  text-align: center;

  font-size: 12px;

  border-top: 1px solid rgba(255,255,255,0.1);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {

  .logo-area {
    flex-direction: column;
    text-align: center;
  }

  .logo-area img {
    width: 120px;
    height: 120px;
  }

  .title-group h1 {
    font-size: 28px;
  }

  .hero-title {
    font-size: 26px;
  }

  .demo-card {
    width: 100%;
    max-width: 360px;
  }
}
