body {
  font-family: "Noto Sans JP", sans-serif;
  background:#eaeaea;
  color: #222;
  overflow-x: hidden;
  font-size:16px;
}
.shindan_body{
	margin:0 auto;
	padding-bottom:50px;
	max-width:700px;
}
/* ラジオボタンとチェックボックス非表示 */
.answer input[type="radio"],
.answer input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
/* テキストフィールド */
.answer input[type="text"] , .answer input[type="number"]{
	padding:15px;
	border:1px solid #888;
	font-size:20px;
}
/* 注意書き */
.q_pretext{
	font-size:1em;
	margin:5px 5px;
}

/* 旧構造そのまま利用するため、各questionLabelブロックを1ページ化 */
.questionLabel {
  font-weight: 600;
  font-size: 1.1em;
  margin-left:5px;
  margin-right:5px;
  margin-top:20px;
  margin-bottom:10px;
}

.answer label {
  display: block;
  background: #fff;
  margin: 6px 5px;
  padding: 12px 16px;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.answer label.selected {
  background: #C43161;
  color: #fff;
  transform: scale(1.02);
  box-shadow: 0 0 8px rgba(252, 70, 120, 0.4);
}
.answer label.selected::after {
  content: "\2713";
  float: right;
  font-weight: bold;
  opacity: 0.8;
}
/* 年齢入力等のselect */
.answer select {
  appearance: none; /* デフォルトの矢印を消す */
  -webkit-appearance: none;
  -moz-appearance: none;
  background: #fff url('data:image/svg+xml;utf8,<svg fill="%23999" height="10" viewBox="0 0 20 20" width="10" xmlns="http://www.w3.org/2000/svg"><path d="M5.516 7.548l4.484 4.957 4.484-4.957L16 8.452l-6 6.548-6-6.548z"/></svg>') no-repeat right 10px center;
  background-size: 10px;
  padding: 10px 35px 10px 15px;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  transition: all 0.2s ease;
  margin: 5px 6px;
  cursor: pointer;
}


.answer select:focus {
  outline: none;
  border-color: #4e7bff;
  box-shadow: 0 0 0 3px rgba(78, 123, 255, 0.25);
}

/* 年・月・日を横並びで整える */
.answer select + select {
  margin-left: 10px;
}




/* 質問を1ページずつ表示 */
/* 質問切り替えアニメーション（上下フェード） */
.js-question {
  display: none;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.js-question.active {
  display: block;
  animation: fadeSlideIn 0.5s ease both;
}

.js-question.exiting {
  display: block;
  animation: fadeSlideOut 0.5s ease both;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-40px);
  }
}


/* プログレスバー */
.progress {
  height: 6px;
  background: #ddd;
  border-radius: 3px;
  overflow: hidden;
  margin: 10px 0 25px;
}
.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #dd0000, #ff6666);
  transition: width 0.4s ease;
}

/* 「次へ」ボタン */

/* 広告固定エリア */
.ad-area {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 10px 0;
  font-size: 0.9em;
  z-index: 999;
}
.control-area {
  margin-top: 10px;
  text-align: center;
}
.ad-inner {
  margin: 10px 0 0px;
  font-size: 0.9em;
  padding: 6px;
}
.btn-area {
  display: flex;
  justify-content: space-between;
}
.btn-area button {
  background:#C61747;
  color: #fff;
  border: none;
  padding: 13px 22px;
  border-radius: 8px;
  cursor: pointer;
  font-size:1.3em;
}
.btn-area button:hover {
  background::#f61747;
}
.btn-area button:disabled {
  background: #ccc;
  cursor: default;
}

.next.final {
  background:#32A42F;
}


/* やってる感 */
#loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 2000;
  overflow: hidden;
}

/* 光の走査アニメーション */
.scanlight {
  position: absolute;
  top: 0;
  left: -50%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(200,220,255,0.5) 50%, rgba(255,255,255,0) 100%);
  animation: scanMove 1.5s linear infinite;
  pointer-events: none;
  mix-blend-mode: overlay;
}
@keyframes scanMove {
  from { left: -60%; }
  to { left: 120%; }
}

/* ローディングの丸いやつ */
.loader {
  width: 42px;
  height: 42px;
  border: 3px solid #cfd6f6;
  border-top-color: #4e7bff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  z-index: 2;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

#loading-text {
  margin-top: 12px;
  color: #333;
  font-weight: 600;
  font-size: 1.1em;
  z-index: 2;
}

/* 一つだけ選んで、とか */
.answer-note {
  font-size: 0.9em;
  color: #666;
  margin: 0 0 6px 2px;
}

/* ぱんくず */
ol.breadcrumb2{
	display:block;
	height:24px;
	padding:0px;
}
.breadcrumb2 li{
	list-style-type:none;
	float:left;
	padding:0px 10px 0px 0px;
}
/* 広告の配置 */
#ad-slot {
  margin-bottom: 0px;
  text-align: center;
}
