@charset "utf-8";

/* ==========================================================
   メインビジュアル（タイトルエリア）
========================================================== */
.first-view {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  text-align: center;
  padding: 80px 20px 20px;
}

.first-view-text {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.first-view-text h1 {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 40px;
  line-height: 1.4;
  font-weight: bold;
  color: #ffffff;
  letter-spacing: 2px;
}

/* ==========================================================
   カードスタイルエリア（導入文とボタン）
========================================================== */
.lead {
  max-width: 750px;
  margin: 40px auto 80px;
  background-color: #333333;
  /* ダークテーマのカード背景色 */
  border-radius: 16px;
  /* 角丸 */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  /* フワッと浮き上がる影 */
  padding: 50px 60px;
}

/* テキスト（導入文） */
.lead p {
  line-height: 1.8;
  text-align: center;
  color: #e0e0e0;
  font-size: 16px;
  margin-bottom: 40px;
}

/* 文中のリンク設定（赤色） */
.link-mmd,
.link-privacy {
  color: #ff0000;
  text-decoration: none;
  border-bottom: 1px solid #ff0000;
  transition: color 0.3s ease, border-color 0.3s ease;
  padding-bottom: 2px;
}

.link-mmd:hover,
.link-privacy:hover {
  color: #ff6666;
  border-color: #ff6666;
}

/* ==========================================================
   3. ボタンエリア
========================================================== */
.link-button-area {
  text-align: center;
  margin-top: 20px;
}

/* ★指定：リンクボタン色（ピンク色 #ff8dff） */
.link-button {
  background-color: #ff8dff;
  color: #ffffff;
  display: inline-block;
  width: 100%;
  max-width: 320px;
  padding: 16px 24px;
  border-radius: 30px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ホバー（マウスオーバー）時の動き */
.link-button:hover {
  background-color: #e070e0;
  /* ホバー時は少し濃いピンク */
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 141, 255, 0.35);
  /* ピンクのグロウ影 */
}

.link-button:active {
  transform: translateY(1px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* ==========================================================
   4. モバイル（スマホ）用調整
========================================================== */
@media (max-width: 800px) {
  .first-view {
    padding: 50px 20px 10px;
  }

  .first-view-text h1 {
    font-size: 26px;
    line-height: 1.5;
  }

  .lead {
    margin: 30px 20px 60px;
    padding: 30px 20px;
    border-radius: 12px;
  }

  .lead p {
    text-align: left;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 30px;
  }

  .link-button {
    max-width: 100%;
  }
}