/* === フォント・全体 === */
body {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  background-color: #f7f7f7;
  color: #333;
  margin: 0;
  padding: 2rem 1rem;
  transition: all 0.3s ease;
}

/* === コンテナ・カード === */
.container,
.card,
.start-card {
  max-width: 480px;
  margin: auto;
  background: #ffffff;
  padding: 2rem;
  border-radius: 1.25rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
  text-align: center;
}

/* === タイトル・サブ説明 === */
.start-card h1 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-align: center;
  color: #222;
}

.start-card p {
  font-size: 1rem;
  text-align: center;
  color: #666;
}

/* === ボタン類（<a>にも対応） === */
.btn,
.btn.cta,
a.btn,
a.btn.cta {
  background-color: #ffb26b;
  color: #fff !important;
  font-weight: bold;
  font-size: 1.05rem;
  padding: 1rem;
  border: none;
  border-radius: 0.9rem;
  width: 100%;
  max-width: 400px;
  display: block;
  margin: 1.5rem auto;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 4px 10px rgba(255, 178, 107, 0.4);
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
}

.btn:hover,
a.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(255, 178, 107, 0.45);
}

.btn:active,
a.btn:active {
  transform: scale(0.98);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* === 質問と選択肢 === */
.question h2 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #444;
}

.options label {
  display: block;
  margin-bottom: 0.9rem;
  background: #f3f3f3;
  padding: 1rem 1.2rem;
  border-radius: 0.9rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  cursor: pointer;
  transition: background 0.2s ease;
}

.options label:hover {
  background-color: #ffe5d0;
}

input[type="radio"] {
  margin-right: 0.5rem;
}

/* === プログレスバー === */
.progress {
  height: 10px;
  background-color: #e6e6e6;
  border-radius: 5px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background-color: #ffb26b;
  width: 0%;
  transition: width 0.3s ease-in-out;
}

/* === ローディング文言 === */
.loading {
  font-size: 1.1rem;
  text-align: center;
  margin-top: 2rem;
  display: none;
  color: #555;
}

/* === モザイク画像（診断結果） === */
.mosaic {
  filter: blur(12px);
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: inset 4px 4px 10px rgba(0,0,0,0.05);
  margin-bottom: 1.5rem;
}

.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* === 注釈など小さい文字 === */
.note {
  font-size: 0.85rem;
  color: #999;
  text-align: center;
  margin-top: 0.5rem;
}

/* === トースト通知 === */
.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background-color: #ffb26b;
  color: #fff;
  padding: 0.75rem 1.2rem;
  border-radius: 0.8rem;
  font-weight: bold;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  z-index: 9999;
}

.toast.show {
  opacity: 1;
}

/* === モバイル対応 === */
@media (max-width: 480px) {
  body {
    padding: 1.5rem 1rem;
  }

  .start-card h1,
  .question h2 {
    font-size: 1.1rem;
  }

  .btn {
    font-size: 1rem;
  }
}