/* =======================================
   RESET
======================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  font-family: "Noto Sans JP", sans-serif;
  background: #fff;
  color: #333;
  overflow-x: hidden;
}

/* =======================================
   共通レイアウト
======================================= */
.container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

h1, h2, h3 {
  line-height: 1.4;
}

/* =======================================
   ヒーロー
======================================= */
.hero {
  background: #007aff;
  color: #fff;
  padding: 50px 20px;
  text-align: center;
}

.hero .price {
  margin-top: 10px;
  font-weight: bold;
}

.cta-buttons {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-main, .btn-sub {
  padding: 14px 20px;
  border-radius: 10px;
  text-decoration: none;
  color: white;
  font-size: 16px;
  display: block;
  text-align: center;
}

.btn-main {
  background: #ff7b00;
}

.btn-sub {
  background: #00a8ff;
}

/* =======================================
   ブロック（課題・解決）
======================================= */
.pain, .solution, .compare, .beforeafter, .price-section, .cta {
  background: #fff;
  padding: 40px 20px;
}

.pain-item, .feature {
  background: #f7f7f7;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
}

/* =======================================
   表
======================================= */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

table th, table td {
  border: 1px solid #ccc;
  padding: 12px;
  text-align: left;
}

/* =======================================
   画像・動画完全レスポンシブ（最重要）
======================================= */
img, video {
  width: 100% !important;       /* 常に親幅にフィット */
  height: auto !important;
  border-radius: 12px;
  display: block;
  margin: 20px 0;
}

.center-img,
.video-center {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto;
  margin-right: auto;
}

/* 動画のデフォルト挙動もリセット */
video {
  max-width: 100% !important;
  height: auto !important;
}

/* =======================================
   フッター
======================================= */
footer {
  background: #f0f0f0;
  text-align: center;
  padding: 20px;
  margin-top: 20px;
}

footer a {
  color: #007aff;
  text-decoration: none;
}

/* =======================================
   スマホ最適化（480px以下）
======================================= */
@media (max-width: 480px) {

  h1 {
    font-size: 22px;
  }

  h2 {
    font-size: 20px;
  }

  p, li, td, th {
    font-size: 15px;
  }

  .container {
    padding: 16px;
  }

  .cta-buttons a {
    width: 100%;
  }

  table th, table td {
    padding: 10px;
    font-size: 14px;
  }

  img, video {
    margin: 16px 0;
  }
}
/* =======================================
   動画を絶対にはみ出させないラッパ
======================================= */
.video-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
}

.video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
}
/* ==========================================
   フッターのブラッシュアップ
========================================== */
footer {
  padding: 40px 0;
  background: #f8f9fa;
  border-top: 1px solid #eee;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* リンク一覧を横並びに */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 10px 0;
  display: flex;
  justify-content: center;
  gap: 15px;
  font-size: 0.9em;
}

.footer-links a {
  color: #666;
  text-decoration: none;
}

/* ロゴのサイズを制御（ここが重要！） */
#security_action_futatsuboshi {
  width: 100px; /* お好みのサイズに調整してください */
  height: auto;
  margin-top: 10px;
}

/* スマホ表示での微調整 */
@media screen and (max-width: 768px) {
  .footer-links {
    flex-direction: column;
    gap: 8px;
  }
}
/* ロゴ専用の強制上書き設定 */
#security_action_futatsuboshi {
  width: 100px !important; /* 画面幅ではなく100pxを強制 */
  max-width: 100px !important;
  height: auto !important;
  margin: 10px auto !important; /* 中央寄せ */
  display: block !important;
}