:root {
  --bg-color: #FFFFFF;
  --text-color: #000000;
  --accent-cyan: #000000;
  --accent-magenta: #ff00ff;
  --accent-gold: #ffd700;
  --accent-red: #ff3e3e;
  --section-padding: 60px 20px;
  --max-width: 750px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.8;
  word-wrap: break-word;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.container1 {
}

.center1 {
text-align: center;
}

/* Header & Hero */
header {
  padding: 80px 20px;
  text-align: center;
  border-bottom: 2px solid var(--accent-cyan);
}

.head1 {
width: 99%;            /* コンテナの横幅を指定（必須） */
margin: 0 auto; /* 上下は0、左右をauto */
  font-weight: bold;
  border: none;
  background: none;
  font-size: 2.5rem;
  line-height: 1.2; /* 行間が詰まりすぎるのを防ぐため推奨 */
  display: inline-block; /* spanにサイズをしっかり適用させるため */
  max-width: 350px;      /* 広がりすぎないように最大幅を決めると綺麗 */
  margin-left: auto;     /* 左側の余白を自動調整 */
  margin-right: auto;    /* 右側の余白を自動調整 */
  text-align: left;      /* 文字は左寄せ（初期値なので省略可） */
  padding: 10px;
display: block; /* これを追加 */
  width: fit-content; /* 中身の幅に合わせる場合 */
  margin: 0 auto;
}

.head1 p {
  font-size: 2.5rem;   /* ここで文字サイズを確定 */
  font-weight: 800;
  line-height: 1.4;    /* 少し広げたほうが読みやすいです */
  margin-bottom: 1.5rem; /* 段落ごとの間隔 */
  color: #1A4472    /* 色を指定するとより確実 */
}

/* 最後の段落の余白を消す */
.head1 p:last-child {
  margin-bottom: 0;
}

@media (max-width: 480px) {
  /* 親要素の指定ではなく、直接 p タグの行間を上書きします */
.head1 p {
line-height: 1.0 !important;

}
}
.hero-sub {
  color: var(--accent-gold);
  font-weight: bold;
  font-size: 1.5rem;
  margin-bottom: 15px;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  background: linear-gradient(to bottom, #fff, #888);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 15px var(--accent-cyan));
}

@media (max-width: 768px) {
  .hero-title { font-size: 3rem; }
  .hero-sub { font-size: 1.2rem; }
}

/* Typography Enhancements */
h1 {
}

h2 {
  font-size: 1.2rem;
  font-weight: bold;
  text-align: left;
  margin: 10px 0 20px;
  color: var(--accent-cyan);
  border-left: 8px solid cyan;
  padding-left: 15px;
  background: rgba(0, 242, 255, 0.05);
  padding: 10px;
}

h3 {
font-weight: bold;
margin: 10px 0 11px;
border-bottom: 2px solid;
display: inline-block;
}

p {
  margin-bottom: 25px;
  font-size: 1.15rem;
}

.small { font-size: 0.9rem; line-height: 1.2;
margin: 0;   /* 外側の余白を消す */
  padding: 0;  /* 内側の余白を消す */
display: block;}

.highlight {
  background: linear-gradient(transparent 70%, rgba(255, 215, 0, 0.4) 70%);
  font-weight: bold;
  color: var(--accent-gold);
}

.emphasis-red {
color: #D83861;
font-weight: bold;
}

.emphasis-blue {
color: #000080;
font-weight: bold;
}

.emphasis-white {
color: #FFFFFF;
font-weight: bold;
}

.textu {
font-size: 1.6rem;
}

/* Sections */
section {
  padding: var(--section-padding);
}

.dark-section {
  background-color: #0a0f1e;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 10px auto;
  border-radius: 8px;
}

/* CTA Buttons */
.cta-container {
  text-align: center;
  margin: 60px 0;
}

.cta-button {
  display: inline-block;
  padding: 20px 20px;
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(to bottom, #FD5E00, #FF1E00);
  border-radius: 50px;
  box-shadow: 0 10px 20px rgba(255, 95, 109, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: pulse 2s infinite;
  border: 4px solid #fff;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(255, 95, 109, 0.6);
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

/* FAQ Box */
.faq-item {
  background: var(--card-bg);
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
}

.faq-q {
color: #D83861;
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.faq-a {

}

/* Lists */
.check-list {
  list-style: none;
  margin: 20px 0;
}

.check-list li {
  padding-left: 40px;
  position: relative;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.check-list li::before {
  content: "★";
  position: absolute;
  left: 0;
  color: var(--accent-gold);
  font-size: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  h2 { font-size: 1.8rem; }
  .cta-button { font-size: 1.5rem; padding: 20px 30px; }
  section { padding: 40px 15px; }
}






.floating-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;           /* 画面の端から端まで広げる */
  display: flex;         /* Flexboxを有効化 */
  justify-content: center; /* 中身を左右中央に */
  align-items: center;    /* 中身を上下中央に */
  
  padding: 5px;
  background: rgba(5, 10, 20, 0.8);
  backdrop-filter: blur(10px);
  z-index: 9999;
  border-top: 1px solid rgba(0, 242, 255, 0.3);
  box-sizing: border-box; /* パディングで幅が突き抜けるのを防ぐ */

  display: flex;
  justify-content: center; /* 左右中央 */
  align-items: center;     /* 上下中央 */
  gap: 15px;               /* ★テキストとボタンの間に適度な隙間を作る */
  /* ...他の設定はそのまま... */
}

.text-group {
  text-align: center;       /* ボタンの左側に置くなら右寄せが綺麗です */
  line-height: 1.5;        /* 行間が広すぎるのを防ぐ */
  flex-shrink: 0;          /* テキストが潰れるのを防ぐ */
}
/* ボタン本体のデザイン */
.floating-button {
  display: block;
  width: 100%;
  max-width: 200px; /* PCで見ても広がりすぎないように制限 */
  padding: 8px;
  background: linear-gradient(to right, #FD5E00, #FF1E00);
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.5rem;
  border-radius: 30px;
  box-shadow: 0 4px 5px rgba(255, 95, 109, 0.4);
  animation: pulse 2s infinite; /* 既存のパルスアニメーションを流用 */
  border: 2px solid #fff;
}
