/* howto / concept: QBO 7つの「しん」活用ガイド */
.qbo-howto-guide,
.qbo-shin-compass {
  --qbo-guide-green: #008f86;
  --qbo-guide-green-dark: #006f6a;
  --qbo-guide-green-deep: #005f5b;
  color: #1a2b3c;
  font-family: "Noto Sans JP", sans-serif;
}

.qbo-howto-guide {
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 32px;
  padding: 24px 30px 30px;
  border-radius: 18px;
  background: #f9f7f2;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

body.page-id-1989 .p-entry__body--sm {
  width: min(1200px, calc(100vw - 80px));
  max-width: none;
}

body.page-id-1989 .l-contents.l-inner,
body.page-id-1989 .l-primary,
body.page-id-1989 .p-entry__body {
  width: min(1200px, calc(100vw - 80px)) !important;
  max-width: none !important;
}

.qbo-howto-guide__hero {
  max-width: 960px;
  margin: 0 auto 18px;
  text-align: left;
}

.qbo-howto-guide__eyebrow,
.qbo-shin-compass__eyebrow {
  margin: 0 0 8px !important;
  color: #d76652;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0 !important;
  text-transform: uppercase;
}

.qbo-howto-guide__eyebrow,
.qbo-howto-guide__hero h1 {
  text-align: center;
}

.qbo-howto-guide__hero h1,
.qbo-shin-compass__head h2 {
  margin: 0 0 12px !important;
  color: #1a2b3c;
  font-size: 32px !important;
  line-height: 1.35 !important;
  font-weight: 700;
}

.qbo-howto-guide__hero p,
.qbo-shin-compass__head p {
  margin: 0 auto 12px !important;
  font-size: 16px;
  line-height: 1.75 !important;
}

.qbo-howto-guide__hero p {
  margin: 0 0 14px !important;
}

.qbo-shin-compass__intro:empty {
  display: none;
}

.qbo-route-finder {
  display: grid;
  gap: 20px;
  margin: 24px auto 30px;
}

.qbo-route-choice {
  display: grid;
  gap: 24px;
}

.qbo-route-choice__group {
  display: grid;
  gap: 14px;
}

.qbo-route-choice__group h2 {
  display: flex;
  gap: 9px;
  align-items: center;
  justify-content: flex-start;
  margin: 0 !important;
  color: #1a2b3c;
  font-size: 18px !important;
  line-height: 1.45 !important;
  text-align: left;
}

.qbo-route-choice__group h2 span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #1a2b3c;
  color: #fff;
  font-size: 14px;
  line-height: 1;
}

.qbo-route-choice__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.qbo-route-choice-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(118px, 42%) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 5px 14px;
  align-items: center;
  min-height: 132px;
  padding: 14px;
  border: 1px solid rgba(26, 43, 60, 0.12);
  border-radius: 14px;
  background: #fff;
  color: #1a2b3c;
  box-shadow: 0 8px 22px rgba(26, 43, 60, 0.06);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, background-color 0.25s ease;
}

.qbo-route-choice-card:hover,
.qbo-route-choice-card.is-selected {
  border-color: #ff8a73;
  box-shadow: 0 14px 28px rgba(26, 43, 60, 0.12);
  transform: translateY(-2px);
}

.qbo-route-choice-card.is-pressed {
  transform: translateY(0) scale(0.985);
  box-shadow: 0 7px 16px rgba(26, 43, 60, 0.1);
}

.qbo-route-choice-card.is-selected {
  background: #fff8f5;
}

.qbo-route-choice-card.is-selected::after {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #ff8a73;
  color: #fff;
  content: "✓";
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.qbo-route-choice-card__visual {
  position: relative;
  display: block;
  grid-row: span 2;
  height: 100%;
  min-height: 104px;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(26, 43, 60, 0) 0%, rgba(26, 43, 60, 0.18) 100%),
    var(--choice-image, linear-gradient(135deg, #f8efe2, #d9f4ee));
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.qbo-route-choice-card__visual::before,
.qbo-route-choice-card__visual::after {
  display: none;
  content: none;
}

.qbo-route-choice-card strong {
  align-self: end;
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}

.qbo-route-choice-card small {
  align-self: start;
  color: #52606d;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
}

.qbo-route-choice-card--work {
  --choice-color: #d76652;
  --choice-image: url("/wp-content/themes/avant_tcd060_child/assets/route-cards/route-card-work.webp");
}

.qbo-route-choice-card--private {
  --choice-color: #d95784;
  --choice-image: url("/wp-content/themes/avant_tcd060_child/assets/route-cards/route-card-private.webp");
}

.qbo-route-choice-card--life {
  --choice-color: #2f8f5b;
  --choice-image: url("/wp-content/themes/avant_tcd060_child/assets/route-cards/route-card-life.webp");
}

.qbo-route-choice-card--goal {
  --choice-color: #f08a3c;
  --choice-image: url("/wp-content/themes/avant_tcd060_child/assets/route-cards/route-card-goal.webp");
}

.qbo-route-choice-card--worry {
  --choice-color: #2f5f8f;
  --choice-image: url("/wp-content/themes/avant_tcd060_child/assets/route-cards/route-card-worry.webp");
}

.qbo-route-choice-card--anxiety {
  --choice-color: #58afc6;
  --choice-image: url("/wp-content/themes/avant_tcd060_child/assets/route-cards/route-card-anxiety.webp");
}

.qbo-route-finder__panel {
  display: grid;
  grid-template-columns: minmax(280px, 1120px);
  gap: 14px;
  align-items: end;
  justify-content: center;
  padding: 18px 22px 22px;
  border: 1px solid rgba(26, 43, 60, 0.12);
  border-radius: 14px;
  background: #fff;
}

.qbo-route-finder__native-select {
  display: none !important;
}

.qbo-route-finder__issue-field {
  display: grid;
  gap: 8px;
}

.qbo-route-finder__issue-field p {
  margin: 0 !important;
  color: #52606d;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6 !important;
}

.qbo-route-finder__issue-field select {
  display: none;
}

.qbo-route-issue-boxes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.qbo-route-issue-boxes.is-two-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.qbo-route-issue-box {
  position: relative;
  display: block;
  min-height: 38px;
  padding: 7px 34px 7px 12px;
  border: 1px solid rgba(26, 43, 60, 0.14);
  border-radius: 10px;
  background: #fff;
  color: #1a2b3c;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: clip;
  white-space: nowrap;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.qbo-route-issue-box:hover,
.qbo-route-issue-box.is-selected {
  border-color: #ff8a73;
  background: #fff8f5;
  box-shadow: 0 8px 18px rgba(26, 43, 60, 0.08);
}

.qbo-route-issue-box.is-selected::after {
  position: absolute;
  top: 50%;
  right: 12px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ff8a73;
  color: #fff;
  content: "✓";
  font-size: 12px;
  line-height: 1;
  transform: translateY(-50%);
}

.qbo-route-issue-empty {
  padding: 14px 16px;
  border: 1px dashed rgba(26, 43, 60, 0.18);
  border-radius: 10px;
  background: #fbfaf7;
  color: #6b5b4b !important;
}

.qbo-route-finder label {
  display: grid;
  gap: 8px;
  margin: 0;
  color: #52606d;
  font-size: 13px;
  font-weight: 700;
}

.qbo-route-finder select,
.qbo-route-finder [data-qbo-route-button] {
  min-height: 54px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
}

.qbo-route-finder select {
  width: 100%;
  padding: 0 14px;
  border: 1px solid rgba(26, 43, 60, 0.2);
  background: #fff;
  color: #1a2b3c;
}

.qbo-route-finder [data-qbo-route-button] {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(100%, 360px);
  min-height: 54px;
  margin-top: 14px;
  padding: 0 28px;
  border: 0;
  background: var(--qbo-guide-green-dark, #006f6a);
  color: #fff;
  box-shadow: 0 10px 22px rgba(0, 111, 106, 0.22);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.qbo-route-finder [data-qbo-route-button]:hover {
  transform: translateY(-2px);
  background: var(--qbo-guide-green-deep);
  box-shadow: 0 13px 27px rgba(0, 111, 106, 0.28);
}

.qbo-route-finder [data-qbo-route-button]:disabled {
  cursor: progress;
  opacity: 0.78;
  transform: none;
}

.qbo-route-finder [data-qbo-route-button].is-unavailable {
  background: #c8ced4;
  color: rgba(255, 255, 255, 0.9);
  box-shadow: none;
  cursor: not-allowed;
  opacity: 1;
}

.qbo-route-finder [data-qbo-route-button].is-unavailable:hover {
  background: #c8ced4;
  box-shadow: none;
  transform: none;
}

.qbo-route-result {
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.qbo-route-result[hidden] {
  display: none;
}

.qbo-route-loading {
  display: grid;
  place-items: center;
  min-height: 240px;
  padding: 34px 22px;
  background: linear-gradient(135deg, #fff 0%, #f9f7f2 100%);
  color: #1a2b3c;
  text-align: center;
}

.qbo-route-loading__spinner {
  display: block;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border: 4px solid rgba(26, 43, 60, 0.14);
  border-top-color: #ff8a73;
  border-radius: 50%;
  animation: qboRouteSpin 0.8s linear infinite;
}

.qbo-route-loading strong {
  max-width: 520px;
  font-size: 18px;
  line-height: 1.7;
}

.qbo-route-loading small {
  margin-top: 6px;
  color: #6b5b4b;
  font-size: 13px;
  font-weight: 700;
}

.qbo-route-result__head {
  padding: 22px 24px;
  background: linear-gradient(135deg, var(--qbo-guide-green-dark) 0%, var(--qbo-guide-green) 100%);
  color: #fff;
}

.qbo-route-result__head p,
.qbo-route-result__head h2 {
  margin: 0 0 10px !important;
  color: #fff;
}

.qbo-route-result__head p {
  font-size: 13px;
  font-weight: 700;
}

.qbo-route-result__head h2 {
  font-size: 22px !important;
  line-height: 1.5 !important;
}

.qbo-route-result__shin-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  margin-top: 12px;
}

.qbo-route-result__shin-row p {
  flex: 0 0 auto;
  margin: 0 !important;
}

.qbo-route-result__shin-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.qbo-route-result__head .qbo-route-result__shin {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--shin-color), #fff 82%);
  color: var(--shin-color);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.qbo-route-result__head .qbo-route-result__shin:hover {
  box-shadow: 0 5px 15px color-mix(in srgb, var(--shin-color), transparent 62%);
  transform: translateY(-2px);
}

.qbo-route-result__head .qbo-route-result__shin:focus-visible {
  outline: 2px solid var(--shin-color);
  outline-offset: 3px;
}

.qbo-route-result__map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  padding: 32px 28px 28px;
  background: #f9f7f2;
}

.qbo-route-result__map::before {
  position: absolute;
  top: 58px;
  left: calc(12.5% + 36px);
  right: calc(12.5% + 36px);
  height: 4px;
  border-radius: 999px;
  background: #ff8a73;
  content: "";
}

.qbo-route-result__map article {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: stretch;
  text-align: left;
}

.qbo-route-result__map span {
  justify-self: center;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--qbo-guide-green-dark);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.qbo-route-result__map h3 {
  margin: 16px 0 8px !important;
  font-size: 17px !important;
  line-height: 1.55 !important;
}

.qbo-route-result__map p {
  margin: 0 !important;
  color: #334354;
  font-size: 13px;
  line-height: 1.8 !important;
}

.qbo-route-result__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(26, 43, 60, 0.1);
}

.qbo-route-result__steps article {
  min-height: 190px;
  padding: 20px;
  background: #fff;
}

.qbo-route-result__steps small {
  color: #d76652;
  font-weight: 700;
}

.qbo-route-result__steps h3 {
  margin: 8px 0 10px !important;
  font-size: 16px !important;
  line-height: 1.45 !important;
}

.qbo-route-result__steps p {
  display: grid;
  gap: 10px;
  margin: 0 0 12px !important;
  font-size: 14px;
  line-height: 1.7 !important;
}

.qbo-route-result__program {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(26, 43, 60, 0.1);
  border-radius: 12px;
  background: #fbfaf7;
  color: #1a2b3c !important;
  text-decoration: none !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.qbo-route-result__program:hover {
  border-color: rgba(232, 72, 37, 0.36);
  color: #e84825 !important;
  box-shadow: 0 10px 24px rgba(26, 43, 60, 0.1);
  opacity: 1 !important;
  transform: translateY(-2px);
}

.qbo-route-result__program.is-unlinked {
  color: #4e5a66 !important;
  cursor: default;
}

.qbo-route-result__program.is-unlinked:hover {
  border-color: rgba(26, 43, 60, 0.1);
  color: #4e5a66 !important;
  box-shadow: none;
  transform: none;
}

.qbo-route-result__program.has-image {
  align-items: stretch;
  min-height: 90px;
  padding: 0;
  overflow: hidden;
  background: #fff;
}

.qbo-route-result__thumb {
  flex: 0 0 clamp(76px, 10%, 110px);
  min-height: 40px;
  overflow: hidden;
}

.qbo-route-result__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 40px;
  object-fit: cover;
}

.qbo-route-result__program-body {
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 6px 12px;
}

.qbo-route-result__program-title {
  display: block;
  font-weight: 700;
  line-height: 1.55;
}

.qbo-route-result__date {
  display: block;
  width: fit-content;
  margin: 0;
  padding: 2px 7px;
  border-radius: 7px;
  background: #f9f7f2;
  color: #6b5b4b;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}

.qbo-route-result__separator {
  display: none;
}

.qbo-journey-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.qbo-journey-map::before {
  position: absolute;
  top: 31px;
  left: 8%;
  right: 8%;
  height: 3px;
  border-radius: 99px;
  background: #ff8a73;
  content: "";
}

.qbo-journey-map article {
  position: relative;
  padding: 0 4px;
  text-align: center;
}

.qbo-journey-map span {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 14px;
  border: 5px solid #f9f7f2;
  border-radius: 999px;
  background: #1a2b3c;
  color: #fff;
  font-weight: 700;
}

.qbo-journey-map h2 {
  margin: 0 0 8px !important;
  font-size: 16px !important;
  line-height: 1.45 !important;
}

.qbo-journey-map p {
  margin: 0 !important;
  font-size: 14px;
  line-height: 1.7 !important;
}

.qbo-howto-faq {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin: 48px 0;
}

.qbo-howto-faq section {
  padding: 20px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.qbo-howto-faq h2 {
  margin: 0 0 14px !important;
  color: #1a2b3c;
  font-size: 18px !important;
  line-height: 1.45 !important;
}

.qbo-howto-faq details {
  border-top: 1px solid rgba(26, 43, 60, 0.12);
}

.qbo-howto-faq summary {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-height: 48px;
  padding: 14px 34px 14px 0;
  color: #1a2b3c;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
  cursor: pointer;
}

.qbo-howto-faq summary::marker {
  content: "";
}

.qbo-howto-faq summary::before {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-top: -2px;
  border-radius: 50%;
  background: #ff8a73;
  color: #fff;
  content: "Q";
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.qbo-howto-faq summary::after {
  position: absolute;
  top: 17px;
  right: 4px;
  color: #ff8a73;
  content: "+";
  font-size: 20px;
  line-height: 1;
}

.qbo-howto-faq details[open] summary::after {
  content: "-";
}

.qbo-howto-faq p {
  margin: 0 0 16px !important;
  color: #4e5c68;
  font-size: 15px;
  line-height: 1.85 !important;
}

.qbo-howto-faq details[open] > p,
.qbo-howto-faq details[open] > ul {
  position: relative;
  margin: 0 0 0 40px !important;
  padding: 0 18px 14px 50px;
  background: #fbfaf7;
}

.qbo-howto-faq details[open] > p:first-of-type {
  padding-top: 16px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.qbo-howto-faq details[open] > :last-child {
  padding-bottom: 18px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.qbo-howto-faq details[open] > p:first-of-type::before {
  position: absolute;
  top: 15px;
  left: 16px;
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--qbo-guide-green-dark, #006f6a);
  color: #fff;
  content: "A";
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.qbo-howto-faq__lead {
  margin-top: -4px !important;
  font-weight: 700;
}

.qbo-howto-faq ul {
  display: grid;
  gap: 8px;
  margin: -6px 0 16px 0 !important;
  padding-left: 1.2em;
  color: #4e5c68;
  font-size: 15px;
  line-height: 1.75 !important;
}

.qbo-howto-faq li {
  margin: 0 !important;
}

.qbo-howto-faq strong {
  color: #1a2b3c;
}

.qbo-howto-faq a {
  color: #d76652;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.qbo-howto-faq a:hover {
  color: #e84825;
  opacity: 1 !important;
}

.qbo-shin-compass {
  margin: 0 0 64px;
  padding: 28px 30px 34px;
  border-radius: 18px;
  background: #fbfdfb;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.qbo-shin-compass--concept {
  margin-top: 0;
  background: #fbf9f1;
}

.qbo-shin-compass__head {
  max-width: 760px;
  margin: 0 auto 24px;
  text-align: center;
}

.qbo-shin-compass__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.qbo-shin-compass__orbit {
  position: relative;
  overflow: visible;
  width: min(100%, 428px);
  aspect-ratio: 1;
  margin: 0 auto;
  border: 1px solid #bfeee5;
  border-radius: 50%;
  background-clip: padding-box;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.98) 0 21%, rgba(255, 255, 255, 0.74) 21.5% 31%, transparent 32%),
    repeating-conic-gradient(from 178.8deg, rgba(255, 255, 255, 0.98) 0 2.4deg, transparent 2.4deg 51.428deg),
    radial-gradient(circle, transparent 0 79%, #e8faf5 79.5% 100%),
    conic-gradient(from 180deg,
      rgba(224, 177, 59, 0.58) 0deg 51.428deg,
      rgba(240, 122, 61, 0.64) 51.428deg 102.856deg,
      rgba(233, 145, 61, 0.62) 102.856deg 154.284deg,
      rgba(47, 174, 116, 0.62) 154.284deg 205.712deg,
      rgba(104, 200, 142, 0.6) 205.712deg 257.14deg,
      rgba(63, 182, 161, 0.6) 257.14deg 308.568deg,
      rgba(211, 154, 34, 0.58) 308.568deg 360deg);
  box-shadow: inset 0 0 0 8px rgba(244, 255, 252, 0.68), inset 0 0 0 79px rgba(255, 255, 255, 0.22), 0 22px 41px rgba(32, 150, 142, 0.12);
}

.qbo-shin-compass__orbit::before,
.qbo-shin-compass__orbit::after {
  position: absolute;
  inset: 18%;
  border: 2px solid rgba(30, 91, 94, 0.34);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.qbo-shin-compass__orbit::after {
  inset: 29%;
  border-color: rgba(30, 91, 94, 0.2);
}

.qbo-shin-compass__rose {
  position: absolute;
  inset: 22%;
  z-index: 1;
  border-radius: 50%;
  opacity: 0.78;
}

.qbo-shin-compass__rose::before,
.qbo-shin-compass__rose::after {
  position: absolute;
  inset: 0;
  background: rgba(24, 84, 88, 0.36);
  content: "";
}

.qbo-shin-compass__rose::before {
  clip-path: polygon(0 50%, 29% 45%, 36% 49%, 64% 49%, 71% 45%, 100% 50%, 71% 55%, 64% 51%, 36% 51%, 29% 55%);
}

.qbo-shin-compass__rose::after {
  clip-path: polygon(50% 0, 55% 29%, 51% 36%, 51% 64%, 55% 71%, 50% 100%, 45% 71%, 49% 64%, 49% 36%, 45% 29%);
}

.qbo-shin-compass__center {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border: 5px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: #1a2b3c;
  color: #fff;
  box-shadow: 0 0 32px rgba(255, 138, 64, 0.32), 0 0 0 1px rgba(42, 132, 120, 0.2);
  transform: translate(-50%, -50%);
  animation: qboNavigatorPulse 4s ease-in-out infinite;
}

.qbo-shin-compass__center span {
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
}

.qbo-shin-compass__center small {
  margin-top: -18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  font-weight: 700;
}

.qbo-shin-compass__status {
  position: absolute;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #1a2b3c;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.qbo-shin-compass__status--goal {
  top: -28px;
  left: 66px;
}

.qbo-shin-compass__status--worry {
  top: -16%;
  left: -54px;
}

.qbo-shin-compass__status--anxiety {
  bottom: -24px;
}

.qbo-shin-node {
  --radius: 149px;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 98px;
  height: 98px;
  padding: 9px;
  border: 0;
  border-radius: 50%;
  appearance: none;
  font-family: inherit;
  cursor: pointer;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.88) 0 23%, rgba(255, 255, 255, 0.6) 42%, rgba(255, 255, 255, 0.27) 62%, rgba(255, 255, 255, 0.08) 80%, rgba(255, 255, 255, 0) 100%),
    radial-gradient(circle at 50% 58%, rgba(255, 255, 255, 0.34) 0 20%, rgba(255, 255, 255, 0.12) 46%, rgba(255, 255, 255, 0) 74%);
  color: #1a2b3c;
  box-shadow: none;
  transform: translate(-50%, -50%) rotate(var(--angle)) translate(var(--radius)) rotate(calc(var(--angle) * -1));
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.qbo-shin-node:hover,
.qbo-shin-node:focus,
.qbo-shin-node:focus-visible,
.qbo-shin-node.is-tooltip-visible {
  z-index: 30;
  box-shadow: 0 12px 28px color-mix(in srgb, var(--shin-color), transparent 58%);
}

.qbo-shin-node:focus-visible {
  outline: 2px solid var(--shin-color);
  outline-offset: 3px;
}

.qbo-shin-node::after {
  position: absolute;
  z-index: 40;
  bottom: calc(100% - 8px);
  left: 50%;
  width: max-content;
  min-width: 0;
  max-width: min(300px, calc(100vw - 48px));
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--shin-color), #fff 38%);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  color: #1a2b3c;
  box-shadow: 0 12px 28px rgba(26, 43, 60, 0.16);
  content: attr(data-tooltip);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  line-break: strict;
  text-align: left;
  white-space: pre-line;
  word-break: auto-phrase;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.qbo-shin-node::before {
  position: absolute;
  z-index: 41;
  bottom: calc(100% - 13px);
  left: 50%;
  display: block;
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.96);
  border-right: 1px solid color-mix(in srgb, var(--shin-color), #fff 38%);
  border-bottom: 1px solid color-mix(in srgb, var(--shin-color), #fff 38%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px) rotate(45deg);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.qbo-shin-node:hover::before,
.qbo-shin-node:hover::after,
.qbo-shin-node:focus::before,
.qbo-shin-node:focus::after,
.qbo-shin-node:focus-visible::before,
.qbo-shin-node:focus-visible::after,
.qbo-shin-node.is-tooltip-visible::before,
.qbo-shin-node.is-tooltip-visible::after {
  opacity: 1;
  transform: translate(-50%, 0) rotate(45deg);
}

.qbo-shin-node:hover::after,
.qbo-shin-node:focus::after,
.qbo-shin-node:focus-visible::after,
.qbo-shin-node.is-tooltip-visible::after {
  transform: translate(-50%, 0);
}

.qbo-shin-node svg {
  position: absolute;
  top: 25px;
  left: 15px;
  width: 18px;
  height: 18px;
}

.qbo-shin-node path {
  fill: none;
  stroke: var(--shin-color);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.qbo-shin-node strong {
  margin-top: 1px;
  font-size: 34px;
  line-height: 1;
}

.qbo-shin-node em {
  display: block;
  width: 88px;
  margin-top: 4px;
  color: #1a2b3c;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.18;
  text-align: center;
}

.qbo-shin-node em span {
  display: block;
}

.qbo-shin-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 11px;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
}

.qbo-shin-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 9px;
  padding: 11px;
  border: 1px solid color-mix(in srgb, var(--shin-color), #fff 50%);
  border-radius: 12px;
  background: #fff;
  scroll-margin-top: 28px;
}

.qbo-shin-card > div {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--shin-color), #fff 82%);
  color: var(--shin-color);
}

.qbo-shin-card span {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.qbo-shin-card h3 {
  margin: 0 0 6px !important;
  font-size: 16px !important;
  line-height: 1.45 !important;
}

.qbo-shin-card p {
  margin: 0 !important;
  font-size: 14px;
  line-height: 1.65 !important;
}

@keyframes qboNavigatorPulse {
  0%,
  100% {
    box-shadow: 0 0 32px rgba(255, 138, 64, 0.32), 0 0 0 1px rgba(42, 132, 120, 0.2);
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    box-shadow: 0 0 48px rgba(255, 138, 64, 0.54), 0 0 0 7px rgba(255, 255, 255, 0.18);
    transform: translate(-50%, -50%) scale(1.1);
  }
}

@keyframes qboRouteSpin {
  to {
    transform: rotate(360deg);
  }
}

@media screen and (max-width: 991px) {
  .qbo-route-choice__cards {
    gap: 10px;
  }

  .qbo-route-choice-card {
    min-height: 120px;
  }

  .qbo-route-finder__panel,
  .qbo-route-result__steps,
  .qbo-route-result__map,
  .qbo-journey-map,
  .qbo-howto-faq,
  .qbo-shin-compass__body {
    grid-template-columns: 1fr;
  }

  .qbo-journey-map::before {
    top: 0;
    bottom: 0;
    left: 31px;
    right: auto;
    width: 3px;
    height: auto;
  }

  .qbo-route-result__map::before {
    top: 61px;
    bottom: 80px;
    left: 55px;
    right: auto;
    width: 4px;
    height: auto;
    transform: translateX(-50%);
  }

  .qbo-route-result__map article {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 0 16px;
    justify-items: start;
    text-align: left;
  }

  .qbo-route-result__map span {
    grid-row: span 2;
  }

  .qbo-route-result__map h3 {
    margin-top: 0 !important;
  }

  .qbo-journey-map article {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 0 16px;
    text-align: left;
  }

  .qbo-journey-map span {
    grid-row: span 2;
  }
}

@media screen and (max-width: 767px) {
  .qbo-howto-guide,
  .qbo-shin-compass {
    margin-bottom: 42px;
    padding: 24px 10px;
    border-radius: 14px;
  }

  .qbo-howto-guide {
    width: 100%;
    margin-left: 0;
    transform: none;
  }

  body.page-id-1989 .p-entry__body--sm {
    width: 100%;
  }

  body.page-id-1989 .l-contents.l-inner {
    padding-right: 10px !important;
    padding-left: 10px !important;
  }

  body.page-id-1989 .l-contents.l-inner,
  body.page-id-1989 .l-primary,
  body.page-id-1989 .p-entry__body {
    width: 100% !important;
  }

  .qbo-howto-guide__hero h1,
  .qbo-shin-compass__head h2 {
    font-size: 26px !important;
  }

  .qbo-route-finder__panel {
    padding: 12px 10px;
  }

  .qbo-route-choice {
    gap: 18px;
  }

  .qbo-route-choice__cards {
    grid-template-columns: 1fr;
  }

  .qbo-route-choice-card {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 4px 12px;
    align-items: center;
    min-height: 112px;
    padding: 10px;
  }

  .qbo-route-choice-card__visual {
    grid-row: span 2;
    min-height: 92px;
  }

  .qbo-route-choice-card strong {
    align-self: end;
  }

  .qbo-route-choice-card small {
    align-self: start;
  }

  .qbo-route-issue-boxes {
    grid-template-columns: 1fr;
  }

  .qbo-route-issue-box {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
  }

  .qbo-route-finder [data-qbo-route-button] {
    width: 100%;
  }

  .qbo-howto-faq summary {
    gap: 9px;
    padding-right: 30px;
  }

  .qbo-howto-faq summary::before {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }

  .qbo-howto-faq details[open] > p,
  .qbo-howto-faq details[open] > ul {
    margin-left: 0 !important;
    padding-left: 46px;
  }

  .qbo-route-result__steps article {
    min-height: 0;
  }

  .qbo-shin-compass__orbit {
    width: min(100%, 245px);
  }

  .qbo-shin-compass__center {
    width: 68px;
    height: 68px;
  }

  .qbo-shin-compass__status--goal {
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
  }

  .qbo-shin-node {
    --radius: 98px;
    width: 41px;
    height: 41px;
    padding: 6px;
    border-radius: 50%;
  }

  .qbo-shin-node svg {
    display: none;
  }

  .qbo-shin-node strong {
    font-size: 22px;
  }

  .qbo-shin-node em {
    display: none;
  }

  .qbo-shin-list {
    grid-template-columns: 1fr;
  }
}

/* 7つの「しん」: 羅針盤の右ではなく下にボックスを配置 */
.qbo-shin-compass .qbo-shin-compass__body {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 28px !important;
}

.qbo-shin-compass .qbo-shin-compass__orbit {
  flex: 0 0 auto !important;
}

.qbo-shin-compass .qbo-shin-list {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 13px !important;
  width: 100% !important;
  max-width: 1040px !important;
  margin: 0 auto !important;
}

.qbo-shin-compass .qbo-shin-card {
  min-width: 0 !important;
}

body.page-id-1989 .qbo-shin-compass .qbo-shin-list {
  display: none !important;
}

.qbo-shin-concept-compass {
  width: min(100%, 1120px);
  margin: 48px auto 42px;
  padding: 32px 20px 42px;
  background: #fbf9f1;
  border-radius: 18px;
  text-align: center;
}

.qbo-shin-concept-compass__head {
  margin-bottom: 18px;
}

.qbo-shin-concept-compass__head h2 {
  margin: 0;
  color: #17293a;
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0;
}

.qbo-shin-concept-compass__stage {
  position: relative;
  width: min(100%, 790px);
  min-height: 550px;
  margin: 0 auto;
}

.qbo-shin-concept-compass__labels {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.qbo-shin-concept-label {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #111;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.12;
  text-align: left;
  letter-spacing: 0;
  white-space: nowrap;
}

.qbo-shin-concept-label__accent {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  background: color-mix(in srgb, var(--shin-color), #d6bd9c 44%);
  opacity: 0.58;
  -webkit-mask:
    url("data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%2048%2048%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cpath%20d%3D%27M24%2023%20C28%2017%2030%209%2024%202%20C18%209%2020%2017%2024%2023Z%20M25%2024%20C32%2020%2040%2018%2046%2024%20C40%2030%2032%2028%2025%2024Z%20M24%2025%20C20%2032%2018%2040%2024%2046%20C30%2040%2028%2032%2024%2025Z%20M23%2024%20C16%2028%208%2030%202%2024%20C8%2018%2016%2020%2023%2024Z%20M18%2024%20C18%2020%2020%2018%2024%2018%20C28%2018%2030%2020%2030%2024%20C30%2028%2028%2030%2024%2030%20C20%2030%2018%2028%2018%2024Z%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%274%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask:
    url("data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%2048%2048%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cpath%20d%3D%27M24%2023%20C28%2017%2030%209%2024%202%20C18%209%2020%2017%2024%2023Z%20M25%2024%20C32%2020%2040%2018%2046%2024%20C40%2030%2032%2028%2025%2024Z%20M24%2025%20C20%2032%2018%2040%2024%2046%20C30%2040%2028%2032%2024%2025Z%20M23%2024%20C16%2028%208%2030%202%2024%20C8%2018%2016%2020%2023%2024Z%20M18%2024%20C18%2020%2020%2018%2024%2018%20C28%2018%2030%2020%2030%2024%20C30%2028%2028%2030%2024%2030%20C20%2030%2018%2028%2018%2024Z%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%274%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.qbo-shin-concept-label__accent::before,
.qbo-shin-concept-label__accent::after {
  display: none;
}

.qbo-shin-concept-label__mark {
  display: none;
  flex: 0 0 auto;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--shin-color), #fff 82%);
  color: var(--shin-color);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.qbo-shin-concept-label strong {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.qbo-shin-concept-label strong span {
  display: block;
  margin: 0;
  line-height: 1.3 !important;
}

.qbo-shin-concept-label--shin-deep strong {
  flex-direction: row;
}

.qbo-shin-concept-label--shin-deep strong span {
  display: inline;
}

.qbo-shin-concept-label--shin-susumu {
  top: 19px;
  left: calc(50% - 5px);
  transform: translateX(-50%);
}

.qbo-shin-concept-label--shin-new {
  top: 122px;
  right: 65px;
}

.qbo-shin-concept-label--shin-true {
  top: 278px;
  right: 28px;
}

.qbo-shin-concept-label--shin-trust {
  right: 176px;
  bottom: 28px;
}

.qbo-shin-concept-label--shin-relate {
  bottom: 18px;
  left: 155px;
}

.qbo-shin-concept-label--shin-deep {
  top: 278px;
  left: -5px;
}

.qbo-shin-concept-label--shin-core {
  top: 122px;
  left: 41px;
}

.qbo-shin-concept-compass__orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: min(100%, 428px);
  transform: translate(-50%, -50%) scale(0.9);
}

.qbo-shin-concept-compass .qbo-shin-node {
  cursor: default;
}

.qbo-shin-concept-compass .qbo-shin-node em {
  display: none;
}

.qbo-shin-concept-compass .qbo-shin-node::before,
.qbo-shin-concept-compass .qbo-shin-node::after {
  display: none;
}

.qbo-shin-concept-compass .qbo-shin-node:hover,
.qbo-shin-concept-compass .qbo-shin-node:focus,
.qbo-shin-concept-compass .qbo-shin-node:focus-visible {
  box-shadow: 0 18px 30px rgba(12, 38, 50, 0.12);
  transform:
    translate(-50%, -50%)
    rotate(var(--angle))
    translateX(var(--radius))
    rotate(calc(var(--angle) * -1));
}

@media screen and (max-width: 991px) {
  .qbo-shin-compass .qbo-shin-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .qbo-shin-concept-compass__stage {
    width: min(100%, 680px);
    min-height: 500px;
  }

  .qbo-shin-concept-compass__orbit {
    width: min(100%, 390px);
  }

  .qbo-shin-concept-label {
    font-size: 20px;
  }

  .qbo-shin-concept-label__mark {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }
}

@media screen and (max-width: 767px) {
  .qbo-shin-compass .qbo-shin-list {
    grid-template-columns: 1fr !important;
  }

  .qbo-shin-concept-compass {
    margin: 36px auto 34px;
    padding: 26px 10px 30px;
    border-radius: 14px;
  }

  .qbo-shin-concept-compass__head {
    margin-bottom: 20px;
  }

  .qbo-shin-concept-compass__stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    min-height: 0;
  }

  .qbo-shin-concept-compass__labels {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    order: 2;
    width: min(100%, 330px);
  }

  .qbo-shin-concept-label {
    position: static;
    transform: none;
    padding: 8px 12px;
    border: 1px solid rgba(20, 45, 58, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.72);
    font-size: 18px;
    white-space: nowrap;
  }

  .qbo-shin-concept-label__accent {
    display: none;
  }

  .qbo-shin-concept-label__mark {
    display: grid;
    width: 34px;
    height: 34px;
    font-size: 19px;
  }

  .qbo-shin-concept-label strong {
    display: block;
  }

  .qbo-shin-concept-label strong span {
    display: inline;
    line-height: 1.03 !important;
  }

  .qbo-shin-concept-compass__orbit {
    position: relative;
    top: auto;
    left: auto;
    order: 1;
    width: min(100%, 245px);
    transform: scale(0.9);
  }
}
