/* =========================================================
   QUINSEL Top – Minimal Design
   Scope: .quinsel
   ========================================================= */

.quinsel {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: #222;
  line-height: 1.8;
}

/* ---------------------------------------------------------
   Layout
--------------------------------------------------------- */
.quinsel-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

.quinsel-section {
  padding: 80px 0;
}

.quinsel-section--light {
  background: #f7f9fb;
}

.quinsel-section--cta {
  background: #eef4ff;
  text-align: center;
}

/* ---------------------------------------------------------
   Hero
--------------------------------------------------------- */
.quinsel-hero {
  padding: 120px 0 100px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
}

.quinsel-hero__title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 24px;
}

.quinsel-hero__lead {
  font-size: 18px;
  margin-bottom: 12px;
}

.quinsel-hero__note {
  font-size: 14px;
  color: #666;
  margin-bottom: 32px;
}

/* ---------------------------------------------------------
   Headings & Text
--------------------------------------------------------- */
.quinsel-heading {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 600;
  margin-bottom: 32px;
}

.quinsel-emphasis {
  font-weight: 600;
  margin: 24px 0;
}

.quinsel-note {
  margin-top: 32px;
  font-size: 15px;
  color: #555;
}

/* ---------------------------------------------------------
   Definition
--------------------------------------------------------- */
.quinsel-definition {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}

/* ---------------------------------------------------------
   5 Views
--------------------------------------------------------- */
.quinsel-views {
  list-style: none;
  padding: 0;
  margin: 48px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.quinsel-views li {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.quinsel-views h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.quinsel-views p {
  font-size: 14px;
  color: #444;
}

/* ---------------------------------------------------------
   Lists
--------------------------------------------------------- */
.quinsel-list {
  list-style: disc;
  padding-left: 20px;
  margin: 32px 0;
}

.quinsel-list li {
  margin-bottom: 8px;
}

/* ---------------------------------------------------------
   Buttons
--------------------------------------------------------- */
.quinsel-btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.quinsel-btn--primary {
  background: #2f6cf6;
  color: #fff;
}

.quinsel-btn--primary:hover {
  background: #2456c8;
}

/* ---------------------------------------------------------
   Responsive
--------------------------------------------------------- */
@media (max-width: 768px) {
  .quinsel-section {
    padding: 56px 0;
  }

  .quinsel-hero {
    padding: 80px 0 72px;
  }

  .quinsel-hero__lead {
    font-size: 16px;
  }
}
/* =========================================================
   Result – Career Change Index
   ========================================================= */

.quinsel-result-index {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-top: 24px;
}

.quinsel-index-label {
  font-size: 14px;
  color: #666;
}

.quinsel-index-value {
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 700;
  color: #2f6cf6;
  line-height: 1;
}

.quinsel-index-note {
  font-size: 13px;
  color: #777;
  margin-top: 8px;
}
/* =========================================================
   Result – Next Options
   ========================================================= */

.quinsel-next {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.quinsel-next__item {
  background: #ffffff;
  border-radius: 10px;
  padding: 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.quinsel-next__item h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.quinsel-next__item p {
  font-size: 14px;
  color: #444;
  margin-bottom: 20px;
}

.quinsel-next__item .quinsel-btn {
  padding: 10px 24px;
  font-size: 14px;
}
/* =========================================================
   Result – Related Content
   ========================================================= */

.quinsel-related {
  list-style: none;
  padding: 0;
  margin-top: 32px;
}

.quinsel-related li {
  margin-bottom: 12px;
}

.quinsel-related a {
  text-decoration: none;
  color: #2f6cf6;
  font-size: 15px;
}

.quinsel-related a:hover {
  text-decoration: underline;
}
/* =========================
   Light – Word selection UI
========================= */

.quinsel-words {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quinsel-word {
  display: inline-block;
}

.quinsel-word input {
  display: none;
}

.quinsel-word {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #ccc;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
  background: #fff;
}

.quinsel-word:hover {
  background: #f4f7fb;
}

.quinsel-word input:checked + span,
.quinsel-word input:checked {
  background: #2f6cf6;
  color: #fff;
  border-color: #2f6cf6;
}
@media (max-width: 768px) {
  .quinsel-field {
    margin-bottom: 40px;
  }
}
/* =========================
   Result – Section spacing
========================= */

#quinsel-result-page .quinsel-section {
  padding: 72px 0;
}

#quinsel-result-page p {
  max-width: 720px;
}
.quinsel-next__item {
  position: relative;
}

.quinsel-next__item::before {
  content: "選択肢";
  font-size: 11px;
  color: #999;
  position: absolute;
  top: -18px;
  left: 0;
}
.quinsel-related a {
  line-height: 1.6;
}