@charset "utf-8";
/* CSS Document */
/* ボタンのスタイル */
.btn-tk {
  background-color: #c8102e; /* ターキッシュ風の赤 */
  color: white;
  padding: 4px 10px;
  margin:6px 0;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

/* モーダル背景 */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
}

/* モーダルコンテンツ */
.modal-content {
  background-color: #fff;
  /* marginの最初の数値を 5% から 80px に変更します */
  margin: 80px auto 5% auto; 
  padding: 30px;
  width: 90%;
  max-width: 500px;
  border-radius: 10px;
  position: relative;
  /* スマホで縦長になった時にスクロールできるよう追加 */
  max-height: 80vh;
  overflow-y: auto;
}

/* 閉じるボタンのスタイルを調整 */
.close-btn {
  position: absolute;
  right: 15px; /* 右端から少し離す */
  top: 10px;    /* 上端から少し離す */
  font-size: 32px;
  line-height: 1;
  color: #333;
  cursor: pointer;
  z-index: 10001; /* 他の要素より必ず上に */
  padding: 5px;   /* クリックしやすくする */
  transition: 0.3s;
}

/* ホバーした時に色を変えて「ボタン」だと分かりやすくする */
.close-btn:hover {
  color: #c8102e; /* ターキッシュレッドに */
}

/* 【重要】スマホとPCで位置を微調整（メディアクエリ） */
@media screen and (max-width: 768px) {
  .close-btn {
    right: 10px;
    top: 5px;
    font-size: 28px;
  }
}
/* フローの装飾 */
.flow-container { margin-top: 20px; }
.flow-step {
  display: flex;
  margin-bottom: 15px;
  padding: 10px;
  border-left: 3px solid #ddd;
}
.highlight { border-left: 3px solid #c8102e; background: #fff5f5; }
.step-num {
  background: #333;
  color: #fff;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  text-align: center;
  margin-right: 15px;
  flex-shrink: 0;
  font-size: 14px;
  line-height: 25px;
}
.step-txt strong { display: block; margin-bottom: 3px; font-size: 16px; }
.step-txt p { font-size: 14px; margin: 0; color: #666; }
.note { font-size: 12px; color: #999; margin-top: 20px; text-align: center; }

/* 公式サイトへのリンクボタン用 */
.btn-tk-link {
  display: inline-block;
  background-color: #232b38; /* ターキッシュの濃紺イメージ */
  color: #fff !important;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  font-size: 14px;
  transition: 0.3s;
}

.btn-tk-link:hover {
  background-color: #c8102e; /* ホバーで赤に変わる演出 */
  color: #fff !important;
}

