/* ==========================
   ベース設定
========================== */
body {
  background-color: #000;
  color: #fff;
  font-size: 20px;
  font-family: sans-serif;
  margin: 0;
  padding: 0;
}

/* ==========================
   画像全幅表示
========================== */
.full-image {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================
   テキストブロック
========================== */
.text-section {
  padding: 60px 20px;
  text-align: left;
}

.text-box {
  max-width: 70%;
  margin: 0 auto;
}

/* ==========================
   CTAボタン（未使用）
========================== */
.cta-button {
  display: inline-block;
  background: linear-gradient(to right, gold, orange);
  color: #000;
  padding: 12px 30px;
  font-weight: bold;
  border-radius: 30px;
  text-decoration: none;
  margin-top: 20px;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
  transition: 0.3s ease;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 215, 0, 1);
}

/* ==========================
   フォームセクション共通
========================== */
.form-section {
  background-color: #000;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.form-container {
  max-width: 832px;
  margin: 0 auto;
  text-align: left;
  font-size: 20px;
}

.form-label {
  display: block;
  margin-bottom: 14px;
  font-weight: bold;
  font-size: 20px;
}

.input-wrapper {
  display: flex;
  align-items: center;
  background-color: #000;
  border: 7px solid #cc0000;
  border-radius: 0;
  height: 80px;
  padding: 0 24px;
  margin-bottom: 30px;
  box-sizing: border-box;
}

.input-icon {
  width: 64px !important;
  height: 64px !important;
  margin-right: 16px;
}

.styled-input {
  flex: 1;
  border: none;
  background-color: transparent;
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  height: 100%;
  padding: 0;
  margin: 0;
  outline: none;
  font-family: sans-serif;
}

.styled-input::placeholder {
  color: #aaa;
  font-size: 24px;
  font-weight: normal;
}

.note {
  font-size: 16px;
  color: gold;
  font-weight: bold;
  margin-bottom: 28px;
}

.form-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  padding: 20px 30px;
  font-size: 30px;
  font-weight: bold;
  font-family: "Helvetica Neue", sans-serif;
  color: #fff;
  background: linear-gradient(to bottom, #ff0000, #cc0000);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  line-height: 1.4;
  white-space: normal;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 4px 8px rgba(0, 0, 0, 0.4);
  text-shadow: 
    0 1px 2px rgba(0, 0, 0, 0.6),
    0 0 4px rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.button-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.form-button:hover {
  opacity: 0.95;
  transform: scale(1.02);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 6px 12px rgba(0, 0, 0, 0.6);
}

/* ==========================
   レスポンシブ対応
========================== */
@media (max-width: 768px) {
  body {
    font-size: 18px;
  }

  .text-box {
    max-width: 90%;
  }

  .cta-button {
    width: 100%;
    text-align: center;
  }

  .form-container {
    font-size: 15px;
  }

  .form-button {
    font-size: 15px;
    height: 50px;
  }

  .styled-input {
    font-size: 15px;
  }

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

  .input-icon {
    width: 40px !important;
    height: 40px !important;
  }
}









/* 外側の画像付き枠 */
.text-frame {
  width: 70%;
  margin: 50px auto;
  padding: 5px; /* 枠の太さ */
  background-image: url('b002.webp');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 15px;
}

/* 内側の黒背景・白文字テキスト */
.text-block {
  background-color: rgba(0, 0, 0, 1); /* 完全な黒で透過なし */
  color: #ffffff;
  font-size: 26px;
  line-height: 1.9;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  background-image: none !important; /* ← 背景画像を無効にする */
  background-blend-mode: normal !important;
  background: #000000 !important;
}

/* 黄色マーカー（背景強調） */
.highlight-yellow {
  background-color: #ffff80;
  color: #cc0000;
  font-weight: bold;
}




/* 中央揃え・レスポンシブ画像 */
.block-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto 20px auto; /* 下に余白追加 */
}





@media screen and (max-width: 480px) {
  .input-wrapper {
    height: auto;          /* 高さを自動に */
    padding: 0 8px;        /* 横余白をさらに削減 */
    border-width: 4px;     /* 枠線を少し細くする */
  }

  .styled-input {
    font-size: 14px;       /* 入力文字とプレースホルダーの文字サイズを小さく */
    font-weight: normal;   /* 太字をやめることで横幅に余裕を出す */
    height: 42px;          /* スマホらしい高さに */
    padding: 0 8px;        /* 左右余白を小さく */
    box-sizing: border-box;
  }

  .styled-input::placeholder {
    font-size: 14px;       /* プレースホルダー文字も小さく */
    white-space: normal;   /* 折り返しを許可 */
  }

  .input-icon {
    width: 24px;
    height: 24px;
    margin-right: 6px;
  }
}



@media screen and (max-width: 480px) {
  /* 本文テキスト */
  .text-block {
    font-size: 17px;       /* スマホでは読みやすいサイズ */
    line-height: 1.6;      /* 行間調整 */
    padding: 20px;
  }

  /* テキスト枠全体を広げる */
  .text-frame {
    width: 95%;            /* 70% → 95% に拡大して自然なバランスに */
    margin: 30px auto;
  }

  /* 黄色マーカーを少し柔らかく */
  .highlight-yellow {
    background-color: #fff799;
  }
}




/* ========== レスポンシブ調整 ========== */

/* ▼ スマホ（480px以下） */
@media screen and (max-width: 480px) {
  /* 本文テキスト */
  .text-block {
    font-size: 17px;       /* スマホでは読みやすいサイズ */
    line-height: 1.6;      /* 自然な行間 */
    padding: 20px;
  }

  /* テキスト枠全体を広げる */
  .text-frame {
    width: 95%;            /* 70% → 95% に拡大 */
    margin: 30px auto;
  }

  /* 黄色マーカーを柔らかく */
  .highlight-yellow {
    background-color: #fff799;
  }

  /* 入力フォーム */
  .input-wrapper {
    height: auto;
    padding: 0 8px;
    border-width: 4px;
  }

  .styled-input {
    font-size: 14px;
    font-weight: normal;
    height: 42px;
    padding: 0 8px;
    box-sizing: border-box;
  }

  .styled-input::placeholder {
    font-size: 14px;
    white-space: normal;
  }

  .input-icon {
    width: 24px;
    height: 24px;
    margin-right: 6px;
  }
}

/* ▼ タブレット（768〜1023px） */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .text-block {
    font-size: 22px;      /* 読みやすく迫力も残す */
    line-height: 1.6;
    padding: 30px;
  }

  .text-frame {
    width: 80%;           /* 適度な中央寄せ */
  }
}

/* ▼ PC（1024px以上） */
@media screen and (min-width: 1024px) {
  .text-block {
    font-size: 20px;      /* 32px → 20px に調整 */
    line-height: 1.6;
    padding: 35px;
  }

  .text-frame {
    width: 70%;           /* 元のデザイン維持 */
  }
}





