@charset "UTF-8";
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Shippori Mincho", serif;
  background: #04030e;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.container {
  width: 100%;
  max-width: 420px;
  background: #04030e;
  overflow: hidden;
  position: relative;
}

.bg {
  min-height: 100vh;
  padding: 2rem 1.5rem 2.5rem;
  position: relative;
  background: radial-gradient(ellipse at 50% 0%, #3D2028 0%, #1F0D28 50%, #04030e 100%);
}

.stars {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.star {
  position: absolute;
  border-radius: 50%;
  background: #fff;
}

.header {
  text-align: center;
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 105, 180, 0.2);
}

.header-deco {
  font-size: 10px;
  color: rgba(255, 105, 180, 0.5);
  letter-spacing: 0.5em;
  margin: 1.6rem;
}

.header-title {
  font-size: 13px;
  color: #FF69B4;
  letter-spacing: 0.22em;
  line-height: 1.8;
}

.frame {
  border: 1px solid rgba(255, 105, 180, 0.35);
  padding: 1.75rem 1.5rem;
  position: relative;
}

.fc {
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: rgba(255, 105, 180, 0.85);
}

.fc.tl {
  top: -1px;
  left: -1px;
  border-top: 1.5px solid;
  border-left: 1.5px solid;
}

.fc.tr {
  top: -1px;
  right: -1px;
  border-top: 1.5px solid;
  border-right: 1.5px solid;
}

.fc.bl {
  bottom: -1px;
  left: -1px;
  border-bottom: 1.5px solid;
  border-left: 1.5px solid;
}

.fc.br {
  bottom: -1px;
  right: -1px;
  border-bottom: 1.5px solid;
  border-right: 1.5px solid;
}

.prog-row {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 1.75rem;
  justify-content: center;
}

.pd {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 0.5px solid rgba(255, 105, 180, 0.25);
  color: rgba(255, 105, 180, 0.25);
  background: transparent;
  transition: all 0.6s ease;
  font-family: "Shippori Mincho", serif;
}

.pd.active, .pd.done {
  background: rgba(255, 20, 147, 0.9);
  color: #FFF8DC;
  border-color: #FF1493;
}

.pl {
  flex: 1;
  height: 1px;
  background: rgba(255, 105, 180, 0.15);
  max-width: 28px;
  transition: background 0.8s ease;
}

.pl.done {
  background: rgba(255, 105, 180, 0.7);
}

.hint {
  font-size: 10px;
  color: rgba(255, 105, 180, 0.45);
  margin-bottom: 1rem;
  letter-spacing: 0.18em;
  text-align: center;
}

.qtext {
  font-size: 15px;
  color: #F0E8D0;
  margin-bottom: 1.5rem;
  line-height: 2.1;
  letter-spacing: 0.1em;
  text-align: center;
}

.opts {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  cursor: pointer;
  background: rgba(255, 105, 180, 0.06);
  border: 0.5px solid rgba(255, 105, 180, 0.25);
  border-radius: 1px;
  transition: background 0.2s, border-color 0.2s;
}

.opt:hover {
  background: rgba(255, 105, 180, 0.12);
  border-color: rgba(255, 105, 180, 0.6);
}

.opt.sel {
  background: rgba(255, 105, 180, 0.18);
  border-color: #FF1493;
}

.diamond {
  width: 9px;
  height: 9px;
  flex-shrink: 0;
  border: 0.5px solid rgba(255, 105, 180, 0.5);
  background: transparent;
  transform: rotate(45deg);
  transition: all 0.3s;
}

.opt.sel .diamond {
  background: #FF1493;
  border-color: #FF1493;
}

.otext {
  font-size: 13px;
  color: #DDD5BA;
  letter-spacing: 0.1em;
  line-height: 1.6;
}

.back-row {
  margin-top: 1.1rem;
  text-align: left;
}

.btn-back {
  font-size: 11px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 0;
  color: rgba(255, 105, 180, 0.4);
  font-family: "Shippori Mincho", serif;
  letter-spacing: 0.12em;
}

.btn-back:hover {
  color: rgba(255, 105, 180, 0.7);
}

.sw {
  display: none;
}

.sw.active {
  display: block;
  animation: fadeUp 0.9s ease forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.done-wrap {
  text-align: center;
  padding: 1.5rem 0 0.5rem;
}

.done-deco {
  font-size: 18px;
  color: rgba(255, 105, 180, 0.7);
  letter-spacing: 0.5em;
  margin-bottom: 1.5rem;
}

.done-title {
  font-size: 16px;
  color: #F0E8D0;
  letter-spacing: 0.18em;
  line-height: 2.3;
  margin-bottom: 0.5rem;
}

.done-line {
  width: 32px;
  height: 0.5px;
  background: rgba(255, 105, 180, 0.35);
  margin: 1.1rem auto;
}

.done-sub {
  font-size: 12px;
  color: rgba(255, 105, 180, 0.55);
  line-height: 2.3;
  margin-bottom: 2.25rem;
  letter-spacing: 0.13em;
}

.cta {
  display: block;
  width: 100%;
  font-size: 15px;
  font-weight: 700;
  font-family: "Shippori Mincho", serif;
  border: none;
  padding: 20px 24px;
  text-align: center;
  letter-spacing: 0.3em;
  background: linear-gradient(135deg, #FF1493, #FF69B4, #FFB6C1, #FF69B4, #FF1493);
  color: #1a0e00;
  cursor: pointer;
  border-radius: 1px;
  transition: opacity 0.2s;
  text-decoration: none;
}

.cta:hover {
  opacity: 0.85;
}

.reset-btn {
  font-size: 10px;
  color: rgba(255, 105, 180, 0.3);
  text-align: center;
  padding: 1rem;
  cursor: pointer;
  letter-spacing: 0.15em;
  background: rgba(0, 0, 0, 0.7);
  border: none;
  width: 100%;
  font-family: "Shippori Mincho", serif;
  border-top: 0.5px solid rgba(255, 105, 180, 0.1);
}

.reset-btn:hover {
  color: rgba(255, 105, 180, 0.5);
}

@media (max-width: 640px) {
  body {
    padding: 0;
    align-items: flex-start;
    background: #04030e;
  }
  .container {
    max-width: 100%;
  }
  .bg {
    min-height: 100vh;
    padding: 1.75rem 1.25rem 2rem;
  }
}
.stars-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.stars-bg span {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #FFB6C1;
  border-radius: 50%;
  opacity: 0.3;
  animation: twinkle 3s ease-in-out infinite;
  box-shadow: 0 0 6px rgba(255, 105, 180, 0.8);
}

/* 星の位置 */
.stars-bg span:nth-child(1) {
  top: 8%;
  left: 12%;
  animation-delay: 0s;
}

.stars-bg span:nth-child(2) {
  top: 18%;
  left: 35%;
  animation-delay: 0.4s;
}

.stars-bg span:nth-child(3) {
  top: 12%;
  left: 68%;
  animation-delay: 0.8s;
}

.stars-bg span:nth-child(4) {
  top: 28%;
  left: 82%;
  animation-delay: 1.2s;
}

.stars-bg span:nth-child(5) {
  top: 38%;
  left: 20%;
  animation-delay: 1.6s;
}

.stars-bg span:nth-child(6) {
  top: 45%;
  left: 55%;
  animation-delay: 0.2s;
}

.stars-bg span:nth-child(7) {
  top: 55%;
  left: 75%;
  animation-delay: 0.6s;
}

.stars-bg span:nth-child(8) {
  top: 66%;
  left: 15%;
  animation-delay: 1s;
}

.stars-bg span:nth-child(9) {
  top: 74%;
  left: 42%;
  animation-delay: 1.4s;
}

.stars-bg span:nth-child(10) {
  top: 84%;
  left: 88%;
  animation-delay: 1.8s;
}

.stars-bg span:nth-child(11) {
  top: 22%;
  left: 6%;
  animation-delay: 2.1s;
}

.stars-bg span:nth-child(12) {
  top: 6%;
  left: 91%;
  animation-delay: 2.4s;
}

.stars-bg span:nth-child(13) {
  top: 62%;
  left: 93%;
  animation-delay: 2.7s;
}

.stars-bg span:nth-child(14) {
  top: 88%;
  left: 28%;
  animation-delay: 3s;
}

.stars-bg span:nth-child(15) {
  top: 48%;
  left: 8%;
  animation-delay: 3.3s;
}

@keyframes twinkle {
  0%, 100% {
    opacity: 0.15;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.6);
  }
}
.hexagram {
  position: absolute;
  top: 25%;
  left: 50%;
  width: 500px;
  height: 500px;
  transform: translate(-50%, -50%);
  opacity: 0.1; /* ←重要：薄さ */
  pointer-events: none;
  animation: rotateStar 40s linear infinite;
}

/* SVGを背景として描画 */
.hexagram::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='44' fill='none' stroke='%23000000' stroke-width='0.5' opacity='0.5'/%3E%3Ccircle cx='50' cy='50' r='44' fill='none' stroke='%23FF1493' stroke-width='0.5'/%3E%3Cpolygon points='50,8 86,70 14,70' fill='none' stroke='%23000000' stroke-width='0.7'/%3E%3Cpolygon points='50,92 14,30 86,30' fill='none' stroke='%23000000' stroke-width='0.7'/%3E%3Cpolygon points='50,8 86,70 14,70' fill='none' stroke='%23FF1493' stroke-width='0.5'/%3E%3Cpolygon points='50,92 14,30 86,30' fill='none' stroke='%23FF1493' stroke-width='0.5'/%3E%3C/svg%3E") center/contain no-repeat;
}

@keyframes rotateStar {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}/*# sourceMappingURL=style.css.map */