/* スタートコンテナ */
.start {
  padding: 16px 16px 32px;
  position: relative;
  z-index: 120;
}

.start__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.start__inner {
  max-width: 480px;
  height: auto;
  margin: 0 auto;
  z-index: 100;
}

/* ロゴ / タイトル */
.start__logo {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 48px;
  height: auto;
}

.start__title {
  width: 239px;
  height: auto;
  display: block;
  margin: 24px auto;
}

.start__title-image {
  width: 100%;
  height: auto;
}

.start__lead {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 24px;
  text-align: center;
}

.start__section-title {
  font-size: 20px;
  margin-bottom: 16px;
  font-weight: 600;
  text-align: center;
}

.start__section-title--power {
  color: #de0719;
}

.start__section-title--story {
  color: #ef841f;
}

/* 背景カード */
.start__bg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
  margin-bottom: 24px;
}

.start__bg-card {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.start__bg-card-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.start__bg-card-thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  border: 2px solid transparent;
}

.start__bg-card-thumb--placeholder {
  background: #d9d9d9;
  box-shadow: none;
}

.start__bg-card-name {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: #373737;
  text-align: center;
}

.start__bg-card-input:checked + .start__bg-card-thumb {
  border-color: #ffb800;
  transform: scale(1.03);
}

.start__bg-card--disabled {
  cursor: not-allowed;
}

.start__power-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: 100%;
  margin-bottom: 24px;
}

/* モーダル */
.start-modal {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 5000;
  padding: 16px;
  box-sizing: border-box;
}

.start-modal__content {
  background: #fff;
  border-radius: 12px;
  padding: 20px 16px;
  width: 100%;
  max-width: 360px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.start-modal__title {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
  color: #373737;
}

.start-modal__preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.start-modal__thumb {
  width: 100%;
  max-width: 85%;
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  border: 2px solid #ffb800;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  margin-bottom: 16px;
}

.start-modal__caption {
  margin: 0;
  font-size: 16px;
}

.start-modal__actions {
  display: flex;
  gap: 12px;
}

.start-modal__actions button {
  flex: 1;
}

.start-modal__button {
  flex: 1;
  border: none;
  border-radius: 999px;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
}

.start-modal__button.start-modal__button--primary {
  background: linear-gradient(135deg, #0088ff, #0d9dff);
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(0, 136, 255, 0.25);
}

.start-modal__button.start-modal__button--secondary {
  background: #ffffff;
  color: #0088ff;
  border: 2px solid #0088ff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}
