@charset "UTF-8";
/*
*****************************************************************************************

base

*****************************************************************************************
*/
:root {
  --document-width: 1280;
}

html {
  --scroll-margin: 68px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--scroll-margin);
}

img {
  height: auto;
}

img {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-touch-callout: none;
  -moz-user-select: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  user-drag: none;
  touch-callout: none;
  user-select: none;
  pointer-events: none;
}

.ego {
  --ego-black: #2C2C2C;
  --ego-blue: #3589C7;
  --ego-blue-sub: #DEEDF7;
  --ego-blue-bg: #F1F7FA;
  --ego-red: #a43025;
  --ego-gray: #6F787F;
  --ego-gray-sub: #C1CCD1;
  --ego-gray-border: #E2EAED;
  --line-height-lg: 2;
  --ego-page-px: max(1.75rem, 7vw);
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
  color: var(--ego-black);
}

:where(.ego) * {
  box-sizing: border-box;
}

/*
*****************************************************************************************

structure

*****************************************************************************************
*/
.ego_inner {
  width: 1080px;
  max-width: 100%;
  margin: 0 auto;
}

.ego_header {
  padding: 0 var(--ego-page-px);
  background: var(--ego-blue-sub);
}

.ego_header-inner {
  width: 1080px;
  max-width: 100%;
  min-height: 125px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

:where(.ego_header) img {
  display: block;
}

.ego_header-corp a {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  padding: 16px 32px;
  border-radius: 10em;
  text-decoration: none;
}

.ego_header-corp span {
  font-weight: bold;
  font-size: 12px;
  color: var(--ego-blue);
}

.ego_body {
  margin: 0 0 60px;
  padding: 0 var(--ego-page-px);
  color: var(--ego-gray);
  font-size: 18px;
}

.ego_body--result {
  margin-top: 60px;
  line-height: calc(36 / 18);
}

.ego_footer {
  margin: 0;
  padding: 0 var(--ego-page-px);
}

.ego_footer-inner {
  width: 1080px;
  max-width: 100%;
  margin: 0 auto;
  min-height: 144px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-top: 1px solid var(--ego-gray-border);
  padding: 80px 0;
}

.ego_footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 0;
  margin-block: 0 32px;
  margin-inline: auto;
}

.ego_footer-nav a {
  text-decoration: none;
  font-weight: bold;
  display: block;
  padding: 0 1.25em;
  color: var(--ego-gray);
  border-right: 1px solid var(--ego-gray-border);
  white-space: nowrap;
}

.ego_footer-nav-item:last-child a {
  border-right: none;
}

.ego_footer-lead {
  font-size: 13px;
  font-weight: bold;
  color: var(--ego-gray-sub);
  text-align: center;
  margin: 0 auto 8px;
}

.ego_footer-copy {
  font-size: 14px;
  font-weight: bold;
  color: var(--ego-gray-sub);
}

/*
*****************************************************************************************

components

*****************************************************************************************
*/
:where(.ego) a:where(:any-link) {
  color: var(--ego-blue);
  text-decoration: underline;
}

.ego_button {
  text-decoration: none !important;
  position: relative;
  appearance: none;
  border: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  max-width: 100%;
  padding: 8px 40px;
  border-radius: 10em;
  background: var(--ego-blue);
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

@media (any-hover: hover) {
  :where(.ego) a:where(:any-link):hover {
    color: var(--ego-blue);
    text-decoration: none;
  }
  a.ego_button:any-link:hover,
  button.ego_button:enabled:hover {
    background-color: #9ec7e4;
    color: #ffffff;
  }
}
.ego_button:where(:has(.ego_button-radio:focus-visible)) {
  outline: auto;
  outline: auto -webkit-focus-ring-color;
}

.ego_button--lg {
  min-height: 76px;
  padding: 16px 40px;
}

.ego_button--w-md {
  width: 192px;
}

.ego_button--w-lg {
  width: 358px;
}

.ego_button-icon-img {
  display: block;
  object-fit: contain;
}

.ego_button-text {
  display: block;
  text-box-trim: trim-both;
  text-box-edge: text;
}

.ego_button:where(:has(.ego_button-radio)) {
  background: var(--ego-blue-bg);
  color: var(--ego-gray);
}

.ego_button:where(:has(.ego_button-radio:checked)) {
  background: var(--ego-blue);
  color: #fff;
}

.ego_button-radio {
  position: absolute;
  z-index: -1;
  appearance: none;
  border: none;
}

.ego_buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin: 0 auto;
  width: fit-content;
}

.ego_selectbox {
  appearance: none;
  border: none;
  display: inline-flex;
  align-items: center;
  min-height: 72px;
  padding: 8px 32px;
  padding-right: 72px;
  border-radius: 12px;
  font-size: 22px;
  font-weight: bold;
  background: var(--ego-blue-bg) url(../images/icons/caret-down-solid-gray.svg) no-repeat;
  background-position: calc(100% - 32px) calc(50% - 2px);
  background-size: 16px auto;
  color: var(--ego-gray);
  cursor: pointer;
}

.ego_selectbox.ego_selectbox_race {
  width: 100%;
}

/*
*****************************************************************************************

utilities

*****************************************************************************************
*/
.w--100 {
  width: 100% !important;
}

.w--form-item-md {
  width: 300px !important;
  max-width: 100%;
}

.font-normal {
  font-weight: normal;
}

/*
*****************************************************************************************

questions page

*****************************************************************************************
*/
.ego_kv {
  margin-bottom: 60px;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  background: var(--ego-blue-sub) url(../images/circle.svg) center no-repeat;
  background-size: auto 114%;
}

.ego_kv-main {
  width: fit-content;
  max-width: 100%;
  aspect-ratio: 1;
  padding: 0 20px;
  margin: min(80px, 14vw) auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ego_kv-contents-wrap {
  width: fit-content;
  max-width: 100%;
  position: relative;
  z-index: 1;
}

.ego_kv-contents {
  width: fit-content;
  max-width: 100%;
}

.ego_kv-alert {
  background: #FCFFBE;
  width: 750px;
  max-width: 100%;
  box-sizing: border-box;
  display: flex;
  margin: 0 auto 28px;
  padding: 16px 16px;
  gap: 12px;
  border-radius: 8px;
  color: #2381C1;
}

.ego_kv-alert-img {
  flex: 0 0 auto;
  height: 72px;
  box-sizing: border-box;
  padding: 4px 0 0;
  max-width: 13%;
}

.ego_kv-alert-icon {
  width: 64px;
  max-width: 100%;
  aspect-ratio: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-radius: 100%;
}

.ego_kv-alert-icon-img {
  width: 59.375%;
  height: auto;
}

.ego_kv-alert-content {
  align-self: center;
  flex: 1 0 0;
}

.ego_kv-alert-title {
  font-weight: Bold;
  font-size: 24px;
  line-height: 1.5;
}

.ego_kv-alert-text {
  margin: 4px 0 0;
  font-size: 16px;
}

.ego_kv-logo {
  width: fit-content;
  max-width: 75vw;
  margin: 0 auto;
}

.ego_kv-logo-img:first-child {
  padding-top: 6%;
}

.ego_kv-lead {
  --text-length: 14;
  white-space: nowrap;
  font-weight: bold;
  text-align: center;
  font-size: min(32px, var(--document-width) / (var(--text-length) + 4) * 1px);
  color: var(--ego-blue);
  color: #fff;
  font-feature-settings: "palt";
  line-height: normal;
  width: fit-content;
  position: relative;
  background: #e4f4ff;
  background: #8bc8f4;
  background: #80c1f0;
  background: #84bde5;
  background: #7ab7e2;
  padding: 0 1em 0.2em;
  margin: 32px auto;
  min-width: min(100%, 23em);
}

.ego_kv-lead-inner {
  position: relative;
  z-index: 1;
}

.ego_kv-counter-unit {
  padding-inline: 0.1em 0.1em;
  font-size: calc(24 / 32 * 1em);
}

.ego_kv-counter {
  font-size: calc(40 / 32 * 1em);
  color: #F2FF00;
  letter-spacing: -0.01em;
}

.ego_kv-start {
  margin: 40px auto 48px;
  text-align: center;
}

.ego_kv-start-button {
  font-size: 34px;
  line-height: 1;
  min-width: 6.5em;
  text-transform: uppercase;
  background: #bd4a3e;
  background: #3b98d9;
  background: #3c9fe4;
  background: #1387d7;
  background: #1d74af;
  background: #228cd6;
  background: #2e85c1;
  background: #2481c1;
}

.ego_kv-desc {
  color: var(--ego-blue);
  width: min-content;
  min-width: 100%;
  font-size: 16px;
  line-height: calc(32 / 18);
  overflow-wrap: anywhere; /* 収まらない場合に折り返す */
  word-break: normal; /* 単語の分割はデフォルトに依存 */
  word-break: auto-phrase;
  line-break: strict; /* 禁則処理を厳格に適用 */
}

:where(.ego_kv-desc p) + p {
  margin-top: calc(24 / 18 * 1em);
}

.ego_kv-note {
  margin-top: 24px;
}

.ego_desc {
  display: flex;
  justify-content: center;
  padding: 24px 40px;
  border: 1px solid var(--ego-blue);
  border-radius: 20px;
  color: var(--ego-blue);
  font-weight: bold;
  font-size: 20px;
  line-height: var(--line-height-lg);
}

.ego_desc-text {
  text-align: center;
  width: 40em;
  max-width: 100%;
}

:where(.ego_desc-text) span {
  display: inline-block;
}

/*
-----------------------------  -----------------------------
*/
.ego_progress-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: min(72px, 3vw);
  padding: 24px 0;
  margin: 24px 0;
  background: #fff;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1;
}

.ego_progress-label {
  line-height: 1;
  font-size: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ego_progress-label-now {
  font-size: 48px;
  font-weight: bold;
  color: var(--ego-blue);
}

.ego_progress-label-max {
  font-weight: bold;
}

.ego_progress-bar {
  flex: 1 0 0;
  height: 20px;
  background: var(--ego-blue-bg);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.ego_progress-bar-filler {
  --ego-question-idx: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--ego-blue);
}

/*
-----------------------------  -----------------------------
*/
.ego_questions-title {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10em;
  width: 100%;
  min-height: 64px;
  background: var(--ego-blue);
  color: #fff;
  font-size: 22px;
  font-weight: bold;
  margin: 0 0 60px;
}

.ego_fieldset,
.ego_question-legend {
  appearance: none;
}

.ego_fieldset {
  transition: opacity 0.2s ease-in-out;
}

.ego_fieldset:not(.active) {
  opacity: 0.3;
  cursor: default;
}

.ego_question {
  margin: 0 0 40px;
  padding: 32px 0 0;
  width: 100%;
  border-top: 1px solid var(--ego-gray-border);
}

:where(.ego_fieldset:first-of-type) .ego_question {
  border-top: none;
}

.ego_question-legend-inner {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  margin: 0 auto 18px;
}

.ego_question-input-contents {
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

.ego_question-require,
.ego_question-option {
  font-size: 0.6em;
  font-weight: normal;
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
  margin-top: -0.25em;
}

.ego_question-require {
  color: var(--ego-red);
}

.ego_question-option {
  color: var(--ego-gray-sub);
}

.ego_question-note {
  margin: 24px auto 0;
  text-align: center;
}

/*
-----------------------------  -----------------------------
*/
.ego_choices {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 44px;
}

.ego_choices-caption {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: var(--ego-blue);
  white-space: nowrap;
}

.ego_choices-caption:first-child {
  text-align: right;
}

.ego_choices-radios {
  width: 520px;
  max-width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ego_choices-radio {
  appearance: none;
  margin: 0;
  width: 52px;
  aspect-ratio: 1;
  border-radius: 100%;
  border: 6px solid #D5E2EC;
  cursor: pointer;
}

.ego_choices-radio:nth-child(2),
.ego_choices-radio:nth-last-child(2) {
  width: 62px;
  border-color: #9DC7E5;
}

.ego_choices-radio:nth-child(1),
.ego_choices-radio:nth-last-child(1) {
  width: 84px;
  border-color: var(--ego-blue);
}

.ego_choices-radio:not(:checked):hover {
  background-image: url(../images/icons/check-solid-blue-3.svg);
  background-size: 26px auto;
  background-position: center;
  background-repeat: no-repeat;
}

.ego_choices-radio:nth-child(2):not(:checked):hover,
.ego_choices-radio:nth-last-child(2):not(:checked):hover {
  background-image: url(../images/icons/check-solid-blue-2.svg);
}

.ego_choices-radio:nth-child(1):not(:checked):hover,
.ego_choices-radio:nth-last-child(1):not(:checked):hover {
  background-image: url(../images/icons/check-solid-blue.svg);
}

.ego_choices-radio:checked {
  background-color: #D5E2EC;
  background-image: url(../images/icons/check-solid-white.svg);
  background-size: 26px auto;
  background-position: center;
  background-repeat: no-repeat;
}

.ego_choices-radio:nth-child(2):checked,
.ego_choices-radio:nth-last-child(2):checked {
  background-color: #9DC7E5;
}

.ego_choices-radio:nth-child(1):checked,
.ego_choices-radio:nth-last-child(1):checked {
  background-color: var(--ego-blue);
}

.ego_action-row {
  margin: 64px auto 0;
  display: flex;
  justify-content: center;
}

/*
*****************************************************************************************

result page

*****************************************************************************************
*/
.ego_note {
  font-size: 12px;
  line-height: 1.8333333333;
  color: var(--ego-gray-sub);
}

.ego_result-note {
  width: 100%;
  text-align: center;
  margin: 0 auto 40px;
}

.ego_copyright-note {
  width: 100%;
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
}

/*
----------------------------- type-info -----------------------------
*/
.ego_type-info-row {
  display: flex;
  justify-content: center;
  gap: 0 60px;
  margin: 0 auto 60px;
  flex-wrap: wrap;
}

.ego_type-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.ego_type-info-title {
  width: 280px;
  display: flex;
  flex-direction: column;
  text-align: center;
  font-weight: bold;
  font-size: 26px;
  line-height: calc(34 / 26);
  color: var(--ego-black);
  gap: 8px;
}

.ego_type-info-title b {
  display: inline-block;
  font-size: calc(52 / 26 * 1em);
}

.ego_type-info-title span {
  display: inline-block;
}

.ego_type-info-disc {
  margin: 32px auto 0;
  text-align: center;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ego-gray);
}

.ego_type-info-disc b {
  font-size: 20px;
  line-height: 1.4;
}

.ego_type-info-img {
  object-fit: contain;
}

/*
----------------------------- sns -----------------------------
*/
.ego_sns-block {
  margin: 80px auto 72px;
  border-top: 1px solid var(--ego-gray-border);
  padding: 44px 0 0;
  position: relative;
}

.ego_sns-sub-block {
  margin: 80px auto 0;
  border-top: 1px solid var(--ego-gray-border);
  padding: 0;
}

.ego_sns-title-icon {
  width: 104px;
  aspect-ratio: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50% -50%;
}

.ego_sns-title {
  width: fit-content;
  margin: 0 auto;
  text-align: center;
  font-weight: bold;
  font-size: 20px;
  padding: 0 10px 0 12px;
  position: relative;
  color: var(--ego-blue);
}
:where(.ego_sns-sub-block) .ego_sns-title {
  font-size: 18px;
  margin-top: -1.05em;
  background: #fff;
  padding: 0 10px;
}

.ego_sns-title::before,
.ego_sns-title::after {
  content: "";
  display: block;
  width: 2px;
  height: 1.25em;
  background: var(--ego-blue);
  position: absolute;
  bottom: 0.3em;
  transform-origin: bottom;
}
:where(.ego_sns-sub-block) .ego_sns-title::before,
:where(.ego_sns-sub-block) .ego_sns-title::after {
  content: none;
}

.ego_sns-title::before {
  left: 0;
  rotate: -24deg;
}

.ego_sns-title::after {
  right: 0;
  rotate: 24deg;
}

.ego_sns-list {
  display: flex;
  justify-content: center;
  margin: 20px auto 0;
  gap: 12px;
}
:where(.ego_sns-sub-block) .ego_sns-list {
  margin: 24px auto 0;
  gap: 8px;
}

.ego_sns-item-link {
  width: 72px;
  aspect-ratio: 1;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 100%;
  transition: opacity 0.2s ease-in-out;
}
:where(.ego_sns-sub-block) .ego_sns-item-link {
  width: 64px;
}

@media (hover: hover) {
  .ego_sns-item-link:hover {
    opacity: 0.75;
  }
}
.ego_sns-item-x {
  background: #000000;
}

.ego_sns-item-line {
  background: #4CC764;
}

.ego_sns-item-x img {
  width: 36%;
  height: auto;
}

.ego_sns-item-line img {
  width: 50%;
  height: auto;
}

.ego_sticky-sns {
  position: fixed;
  z-index: 3;
  bottom: 40px;
  right: 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.2s ease-in-out;
  transition-behavior: allow-discrete;
  opacity: 1;
}

@starting-style {
  .ego_sticky-sns {
    opacity: 0;
    translate: 0 20%;
  }
}
.ego_sticky-sns.hide {
  display: none;
  opacity: 0;
  translate: 0 20%;
}

/*
----------------------------- nav -----------------------------
*/
.ego_result-nav {
  display: block;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1;
  margin: 0 auto 60px;
}

.ego_result-dropmenu {
  position: relative;
}

.ego_result-dropmenu-button {
  appearance: none;
  border: none;
  display: inline-flex;
  align-items: center;
  min-height: 72px;
  padding: 8px 32px;
  padding-right: 72px;
  border-radius: 12px;
  font-size: 22px;
  font-weight: bold;
  background: var(--ego-blue-bg) url(../images/icons/caret-down-solid-gray.svg) no-repeat;
  background-position: calc(100% - 32px) calc(50% - 2px);
  background-size: 16px auto;
  color: var(--ego-gray);
  cursor: pointer;
  width: 100%;
}

.ego_result-dropmenu-drop {
  position: fixed;
  top: var(--position-anchor-bottom);
  left: var(--position-anchor-left);
  width: var(--position-anchor-width);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 10px 4px rgba(154, 161, 177, 0.05), 0 4px 40px -8px rgba(36, 40, 47, 0.15), 0 4px 4px -2px rgba(91, 94, 105, 0.05);
}

.ego_result-dropmenu-link {
  display: block;
  padding: 8px 32px;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
}

.ego_result-dropmenu-item:first-child .ego_result-dropmenu-link {
  padding-top: 24px;
}

.ego_result-dropmenu-item:last-child .ego_result-dropmenu-link {
  padding-bottom: 24px;
}

/*
----------------------------- sec -----------------------------
*/
.ego_result-sec-title {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10em;
  width: 100%;
  min-height: 64px;
  background: var(--ego-blue);
  color: #fff;
  font-size: 22px;
  font-weight: bold;
  margin: 0 0 40px;
  padding: 0.5em 1.5em;
  line-height: 1.5;
}

.ego_result-sec {
  margin: 0 0 72px;
}

/*
----------------------------- tec -----------------------------
*/
.ego_tec-fig {
  display: flex;
  gap: 56px;
  align-items: flex-start;
  justify-content: center;
}

.ego_tec-glaph-col {
  width: calc(600 / 1080 * 100%);
  aspect-ratio: 600/310;
  flex: 0 1 calc(600 / 1080 * 100%);
}

.ego_tec-graph {
  width: 600px;
  max-width: 100%;
  aspect-ratio: 600/310;
}

.ego_tec-graph canvas {
  width: 600px;
  max-width: 100%;
  aspect-ratio: 600/310;
  background: var(--ego-blue-bg);
}

.ego_tec-legend-col {
  align-self: center;
  flex: 1 1 auto;
}

.ego_tec-graph-legend {
  white-space: nowrap;
  margin-right: 40px;
}

.ego_tec-graph-legend-link {
  display: block;
  margin: 16px 0 0;
}

/*
----------------------------- props -----------------------------
*/
.ego_props {
  display: flex;
  flex-direction: column;
  gap: 40px 60px;
}

.ego_prop-group {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px 24px;
}

.ego_prop {
  flex: 1 0 auto;
  width: 340px;
}

.ego_prop-title {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-weight: bold;
  min-height: 36px;
  font-size: 18px;
  margin-bottom: 8px;
}

.ego_prop-hr {
  margin: -1px 0 0;
  border-bottom: 1px solid var(--ego-gray-border);
}

.ego_prop-body {
  margin: 8px 0 0;
}

.ego_prop-graph-wrap {
  display: flex;
  justify-content: center;
  margin: 22px 0 24px;
}

.ego_prop-graph {
  width: 182px;
  aspect-ratio: 1;
}

.ego_prop-graph canvas {
  max-width: 100%;
  aspect-ratio: 1;
}

.ego_prop-contents {
  width: fit-content;
  margin: 0 auto;
}

:where(.ego_prop--gender) .ego_prop-graph-legend {
  width: fit-content;
  margin: 0 auto;
}

:where(.ego_prop--year) .ego_prop-graph-legend {
  width: fit-content;
  margin: 0 auto;
  columns: 2 auto;
  gap: 0;
}

:where(.ego_prop--blood) .ego_prop-graph-legend {
  width: fit-content;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  grid-column-gap: 8px;
  grid-row-gap: 0px;
}

.ego_prop-desc {
  font-weight: bold;
  color: var(--ego-blue);
  text-align: center;
}

.ego_props-note {
  margin: 48px 0 0;
  text-align: right;
}

/*
----------------------------- value -----------------------------
*/
.ego_value {
  margin-block: 56px;
}

:where(.ego_result-sec-body) > .ego_value:first-child {
  margin-top: 0;
}

.ego_value:where(:has(> .ego_value-list:only-child)) {
  margin: 0;
}

.ego_value-title {
  min-height: 44px;
  overflow: hidden;
  margin: 0 0 32px;
}

.ego_value-title-inner {
  position: relative;
  width: fit-content;
  margin: 0 auto;
  background: #fff;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 20px;
  font-weight: 500;
  color: var(--ego-black);
}

.ego_value-title-inner::before,
.ego_value-title-inner::after {
  content: "";
  display: block;
  width: 50vw;
  height: 1px;
  background: var(--ego-gray-border);
  position: absolute;
  top: 50%;
  translate: 0 -50%;
}

.ego_value-title-inner::before {
  right: 100%;
  left: auto;
}

.ego_value-title-inner::after {
  right: auto;
  left: 100%;
}

.ego_value-title-icon-img {
  aspect-ratio: 1;
  object-fit: contain;
}

.ego_value-list {
  display: flex;
  gap: min(24px, 3vw);
  justify-content: center;
  margin: 40px 0;
}

.ego_value-title + .ego_value-list {
  margin-top: 0;
}

.ego_value-list:has(> li:nth-child(4)) {
  flex-wrap: wrap;
}

:where(.ego_value-list) li {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--ego-blue-bg);
  border-radius: 12px;
  padding: 28px 28px;
  color: var(--ego-blue);
  line-height: calc(32 / 18);
  font-weight: 500;
  font-size: 16px;
  overflow-wrap: anywhere; /* 収まらない場合に折り返す */
  word-break: normal; /* 単語の分割はデフォルトに依存 */
  word-break: auto-phrase;
  line-break: strict; /* 禁則処理を厳格に適用 */
}

.ego_value-list-item-contents {
  min-width: min(15em, 100%);
}

.ego_value-list-item-title {
  text-align: center;
  margin-bottom: 8px;
  color: var(--ego-blue);
}

.ego_value-list-item-text {
  color: #677b8b;
  text-align: center;
}

/*
-----------------------------  -----------------------------
*/
.ego_result-related {
  margin: 112px 0 0;
}

.ego_result-related-title {
  text-align: center;
  font-weight: bold;
  font-size: 20px;
  margin: 32px 0;
  color: var(--ego-gray);
}

.ego_articles {
  display: flex;
  gap: min(60px, 3vw);
}

.ego_article {
  flex: 1 1 0;
  display: block;
  text-decoration: none;
}

@media (any-hover: hover) {
  .ego_article:any-link:hover .ego_article-desc {
    text-decoration: underline;
  }
}
.ego_article-img {
  width: 100%;
}

.ego_article-body {
  margin: 12px 0 0;
}

.ego_article-desc {
  font-size: 16px;
  line-height: calc(30 / 16);
}

.ego_article-date {
  font-size: 14px;
  line-height: calc(36 / 14);
  color: var(--ego-gray-sub);
}

.ego_about-teg-table {
  white-space: normal;
  width: 100%;
  margin: 0 auto;
  border-collapse: collapse;
  border-spacing: 0;
  border: 1px solid var(--ego-gray-border);
  border-bottom: none;
  border-right: none;
}
.ego_about-teg-table caption {
  font-weight: bold;
  color: var(--ego-blue);
  margin: 0 0 1em;
}
.ego_about-teg-table th, .ego_about-teg-table td {
  background: var(--ego-blue-bg);
  border: 1px solid var(--ego-gray-border);
  border-top: none;
  border-left: none;
  padding: 1em 1.25em;
  font-size: calc(11 / 15 * 1em);
}
.ego_about-teg-table th {
  background: var(--ego-blue);
  color: #fff;
  font-weight: bold;
  vertical-align: middle;
}
.ego_about-teg-table td {
  width: 15em;
}

.ego_add {
  width: 1080px;
  max-width: 100%;
  margin: 60px auto;
}

@media (width <= 992px) {
  .ego_value-list {
    flex-wrap: wrap;
  }
  :where(.ego_value-list) li {
    max-width: 15em;
    min-width: 12em;
  }
}
@media (width <= 880px) {
  .ego {
    --m-3xl: 64px;
    --m-2xl: 40px;
    --m-xl: 36px;
    --m-lg: 32px;
    --m-ml: 28px;
    --m-md: 24px;
    --m-ms: 20px;
    --m-sm: 16px;
    --m-xs: 12px;
    --m-2xs: 8px;
    --fs-2xl: 28px;
    --fs-xl: 20px;
    --fs-lg: 16px;
    --fs-ml: 15px;
    --fs-md: 14px;
    --fs-ms: 13px;
    --fs-sm: 12px;
    --fs-xs: 11px;
    --line-height-lg: 2;
    --line-height-sm: 1.5;
    --ego-border-radius-md: 8px;
    --ego-border-radius-sm: 6px;
  }
  .ego_choices {
    width: 33em;
    margin: var(--m-xl) auto 0;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5em 0;
    font-size: min(var(--fs-sm), 9.5 / 375 * 100vw);
  }
  .ego_choices-caption {
    flex: 0 0 auto;
    width: 7em;
    margin-inline: 1em;
    font-size: inherit;
    line-height: 1.4;
  }
  .ego_choices-caption:first-child {
    order: 2;
    text-align: center;
  }
  .ego_choices-caption:last-child {
    order: 3;
    text-align: center;
  }
  .ego_choices-radios {
    font-size: inherit;
    width: 100%;
    order: 1;
    justify-content: space-between;
    gap: 2em;
    padding-inline: 2em;
  }
  .ego_choices-radio {
    font-size: inherit;
    flex: 0 0 auto;
    border-width: 3px;
    width: 3em;
    height: 3em;
  }
  .ego_choices-radio:nth-child(2),
  .ego_choices-radio:nth-last-child(2) {
    width: 4em;
    height: 4em;
  }
  .ego_choices-radio:nth-child(1),
  .ego_choices-radio:nth-last-child(1) {
    width: 5em;
    height: 5em;
  }
  .ego_choices-radio:checked {
    background-size: 1.5em auto;
  }
}
@media (width <= 768px) {
  /*
  *****************************************************************************************

  base

  *****************************************************************************************
  */
  html {
    --scroll-margin: 48px;
  }
  /*
  *****************************************************************************************

  structure

  *****************************************************************************************
  */
  .ego_header-inner {
    min-height: 64px;
  }
  .ego_header-logo {
    padding: 0;
  }
  .ego_header-logo-img {
    width: calc(270px * 0.4);
  }
  .ego_header-corp-img {
    width: calc(193px * 0.5);
  }
  .ego_header-corp a {
    margin-right: -3vw;
    gap: 8px;
    padding: 8px 16px;
  }
  .ego_header-corp span {
    font-size: 8px;
  }
  .ego_body {
    margin: 0 0 var(--m-3xl);
    font-size: 14px;
    line-height: 1.75;
  }
  .ego_body--result {
    margin-top: 0;
    line-height: inherit;
  }
  .ego_footer-inner {
    min-height: 96px;
    padding-block: 0 40px;
    border: none;
    overflow: visible;
  }
  .ego_footer-nav {
    margin-inline: calc((100% - 100vw) / 2);
    margin-inline: calc(var(--ego-page-px) * -1);
    flex-direction: column;
    width: 100%;
    width: stretch;
    width: -webkit-fill-available;
  }
  .ego_footer-nav a {
    padding: 1em 1.5em;
    font-size: 13px;
    text-align: left;
    border: none;
    border-bottom: 1px solid var(--ego-gray-border);
  }
  .ego_footer-nav-item:first-child a {
    border-top: 1px solid var(--ego-gray-border);
  }
  .ego_footer-lead {
    margin-bottom: 12px;
  }
  .ego_footer-copy {
    font-size: var(--fs-xs);
    font-weight: normal;
    line-height: var(--line-height-sm);
  }
  /*
  *****************************************************************************************

  components

  *****************************************************************************************
  */
  .ego_button {
    gap: var(--m-2xs);
    min-height: 44px;
    padding: 8px 24px;
    font-size: var(--fs-lg);
  }
  .ego_button--lg {
    min-height: 44px;
    padding: 8px 40px;
    font-size: var(--fs-lg);
  }
  .ego_submit-button {
    min-height: 48px;
    font-size: 17px;
  }
  .ego_button--w-md {
    min-width: 120px;
    width: auto;
  }
  .ego_button--w-lg {
    min-width: 160px;
    width: auto;
  }
  .ego_button-icon-img {
    width: 14px;
  }
  .ego_button:where(:has(.ego_button-radio)) {
    min-height: 40px;
    font-size: var(--fs-md);
  }
  .ego_buttons {
    gap: 8px;
  }
  .ego_selectbox {
    padding: 8px 18px;
    padding-right: 40px;
    border-radius: var(--ego-border-radius-sm);
    font-size: var(--fs-lg);
    background-position: calc(100% - 16px) calc(50% - 2px);
    background-size: 8px auto;
    min-height: 40px;
  }
  /*
  *****************************************************************************************

  utilities

  *****************************************************************************************
  */
  .w--form-item-md {
    width: auto !important;
    min-width: 10rem !important;
  }
  /*
  *****************************************************************************************

  questions page

  *****************************************************************************************
  */
  .ego_kv {
    margin-bottom: var(--m-ml);
    background-image: url(../images/circle.svg), url(../images/circle.svg);
    background-repeat: no-repeat, no-repeat;
    background-position: center -20vw, center calc(100% + 20vw);
    background-size: 120% auto, 120% auto;
  }
  .ego_kv-main {
    background: #fff;
    aspect-ratio: auto;
  }
  .ego_kv-alert {
    margin: 0 auto 28px;
    padding: 16px 16px;
    gap: 12px;
    border-radius: 8px;
  }
  .ego_kv-alert-img {
    height: auto;
  }
  .ego_kv-alert-icon {
    width: 32px;
  }
  .ego_kv-alert-title {
    font-size: var(--fs-lg);
  }
  .ego_kv-alert-text {
    margin: 4px 0 0;
    font-size: var(--fs-sm);
  }
  .ego_kv-logo-img {
    padding-top: 4%;
  }
  .ego_kv-lead {
    margin: 24px auto 0;
  }
  .ego_kv-start {
    margin: 20px auto 28px;
  }
  .ego_kv-start-button {
    font-size: 18px;
  }
  .ego_kv-desc {
    font-size: var(--fs-md);
  }
  .ego_desc {
    padding: var(--m-sm);
    border-radius: var(--ego-border-radius-md);
    font-size: var(--fs-ms);
    line-height: inherit;
  }
  :where(.ego_desc) span {
    display: inline;
  }
  /*
  -----------------------------  -----------------------------
  */
  .ego_progress-wrapper {
    padding: var(--m-md) 0;
    padding-left: var(--m-2xs);
    gap: var(--m-sm);
    margin: var(--m-2xs) 0 var(--m-xs);
  }
  .ego_progress-label {
    align-items: flex-end;
    font-size: 15px;
    gap: 2px;
    position: relative;
    top: -2px;
  }
  :where(.ego_progress-label) span {
    display: inline-block;
    position: relative;
    top: -1px;
  }
  .ego_progress-label-now {
    font-size: 24px;
  }
  .ego_progress-bar {
    height: 12px;
  }
  /*
  -----------------------------  -----------------------------
  */
  .ego_questions-title {
    min-height: 44px;
    font-size: var(--fs-ml);
    margin: 0 0 var(--m-ml);
  }
  .ego_question {
    margin: 0 0 var(--m-lg);
    padding: var(--m-ml) 0 0;
  }
  :where(.ego_fieldset:first-of-type) .ego_question {
    padding-top: var(--m-2xs);
  }
  .ego_question-legend-inner {
    font-size: var(--fs-ml);
    margin-bottom: var(--m-md);
  }
  .ego_question-input-contents {
    display: flex;
    justify-content: center;
    margin: 0 auto;
  }
  .ego_question-require,
  .ego_question-option {
    font-size: inherit;
    line-height: inherit;
    margin-top: auto;
  }
  .ego_question-note {
    margin-top: var(--m-md);
  }
  /*
  -----------------------------  -----------------------------
  */
  .ego_choices {
    margin: 0 auto;
  }
  .ego_action-row {
    margin-top: var(--m-xl);
  }
  /*
  *****************************************************************************************

  result page

  *****************************************************************************************
  */
  .ego_note {
    font-size: var(--fs-xs);
    line-height: var(--line-height-sm);
    color: var(--ego-gray-sub);
  }
  .ego_result-note {
    order: 3;
    text-align: center;
    margin: 0 auto;
  }
  .ego_copyright-note {
    order: 4;
    margin: calc(-1 * var(--m-sm)) auto 0;
  }
  /*
  ----------------------------- type-info -----------------------------
  */
  .ego_type-info-row {
    flex-direction: column;
    gap: var(--m-xl);
    margin: var(--m-3xl) auto;
  }
  .ego_type-info {
    order: 2;
  }
  .ego_type-info-title {
    width: auto;
    font-size: 16px;
  }
  .ego_type-info-title b {
    position: relative;
    top: -0.075em;
  }
  .ego_type-info-visual {
    order: 1;
    display: flex;
    justify-content: center;
  }
  .ego_type-info-disc {
    margin-top: var(--m-ms);
    font-size: var(--fs-ms);
    line-height: inherit;
  }
  .ego_type-info-disc b {
    display: inline-block;
    margin-inline: 0.2em;
    font-size: var(--m-ms);
    line-height: inherit;
  }
  .ego_type-info-img {
    max-width: 64vw;
    margin: 0 auto;
  }
  /*
  ----------------------------- sns -----------------------------
  */
  .ego_sns-block {
    margin: 64px auto 40px;
    padding: 36px 0 0;
  }
  .ego_sns-sub-block {
    margin-top: 56px;
  }
  .ego_sns-title {
    font-size: 17px;
  }
  :where(.ego_sns-sub-block) .ego_sns-title {
    font-size: 15px;
    margin-top: -1em;
  }
  .ego_sns-list {
    margin-top: 16px;
    gap: 8px;
  }
  .ego_sns-item-link {
    width: 48px;
  }
  .ego_sticky-sns {
    bottom: 20px;
    right: 10px;
    gap: 6px;
  }
  /*
  ----------------------------- nav -----------------------------
  */
  .ego_result-nav {
    margin-bottom: var(--m-ml);
  }
  .ego_result-dropmenu-button {
    padding: 8px 18px;
    padding-right: 40px;
    border-radius: var(--ego-border-radius-sm);
    font-size: var(--fs-lg);
    background-position: calc(100% - 16px) calc(50% - 2px);
    background-size: 8px auto;
    min-height: 48px;
  }
  .ego_result-dropmenu-drop {
    border-radius: var(--ego-border-radius-md);
  }
  .ego_result-dropmenu-link {
    padding: 8px 24px;
    font-size: var(--fs-ms);
  }
  .ego_result-dropmenu-item:first-child .ego_result-dropmenu-link {
    padding-top: 16px;
  }
  .ego_result-dropmenu-item:last-child .ego_result-dropmenu-link {
    padding-bottom: 16px;
  }
  .ego_result-nav.on-sticky {
    background: var(--ego-blue-bg);
    padding-inline: var(--ego-page-px);
    margin-inline: calc(var(--ego-page-px) * -1);
  }
  /*
  ----------------------------- sec -----------------------------
  */
  .ego_result-sec-title {
    min-height: 44px;
    font-size: var(--fs-ml);
    margin: 0 0 var(--m-md);
  }
  .ego_result-sec {
    margin: 0 0 48px;
  }
  /*
  ----------------------------- tec -----------------------------
  */
  .ego_tec-fig {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--m-md);
  }
  .ego_tec-glaph-col {
    width: 100%;
    flex-basis: 100%;
    align-self: center;
  }
  .ego_tec-legend-col {
    align-self: flex-start;
  }
  .ego_tec-graph-legend p {
    line-height: var(--line-height-lg);
  }
  .ego_tec-graph-legend-link {
    margin: var(--m-sm) 0 0;
  }
  /*
  ----------------------------- props -----------------------------
  */
  .ego_props {
    gap: var(--m-lg) var(--m-lg);
  }
  .ego_prop-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--m-lg) var(--m-lg);
  }
  .ego_prop {
    width: calc((100% - var(--m-lg)) / 2);
  }
  .ego_prop-title {
    min-height: 2em;
    font-size: var(--fs-ms);
    margin-bottom: 12px;
  }
  .ego_prop-body {
    margin: var(--m-xs) 0 0;
  }
  .ego_prop-graph-wrap {
    width: 80%;
    margin: var(--m-ms) auto;
  }
  :where(.ego_prop--gender) .ego_prop-graph-legend {
    width: fit-content;
    margin: 0 auto;
  }
  :where(.ego_prop--year) .ego_prop-graph-legend {
    width: fit-content;
    margin: 0 auto;
    columns: 1 auto;
  }
  :where(.ego_prop--blood) .ego_prop-graph-legend {
    width: fit-content;
    margin: 0 auto;
    display: block;
  }
  .ego_prop-desc {
    line-height: var(--line-height-sm);
    margin: 0 0 var(--m-2xs);
  }
  .ego_props-note {
    margin: var(--m-lg) 0 0;
    text-align: left;
  }
  /*
  ----------------------------- value -----------------------------
  */
  .ego_value {
    margin-bottom: var(--m-lg);
  }
  .ego_value-title {
    min-height: 0;
    margin: 0 0 var(--m-ms);
  }
  .ego_value-title-inner {
    padding: 0 16px;
    gap: 12px;
    font-size: var(--fs-lg);
  }
  .ego_value-title-icon-img {
    width: 1.5em;
  }
  .ego_value-list {
    flex-direction: column;
    gap: 8px;
    padding: 0;
    margin: var(--m-ms) 0;
  }
  :where(.ego_value-list) li {
    border-radius: var(--ego-border-radius-sm);
    padding: 16px 16px 20px;
    line-height: var(--line-height-sm);
  }
  .ego_value-list-item-title {
    margin-top: 4px;
    margin-bottom: 12px;
  }
  .ego_value-list-item-text {
    font-size: 15px;
  }
  /*
  -----------------------------  -----------------------------
  */
  .ego_result-related {
    margin: var(--m-xl) 0 0;
  }
  :where(.ego_value-list) li {
    max-width: none;
    min-width: 0;
  }
  .ego_result-related-title {
    font-size: var(--fs-ml);
    line-height: var(--line-height-sm);
    margin: 0 0 var(--m-md);
  }
  .ego_articles {
    gap: var(--m-xs);
  }
  .ego_article-body {
    margin: 8px 0 0;
  }
  .ego_article-desc {
    font-size: var(--fs-xs);
    line-height: var(--line-height-sm);
  }
  .ego_article-date {
    font-size: var(--fs-xs);
    line-height: inherivar(--line-height-sm);
    margin: 0 0 0;
  }
  .ego_about-teg-table {
    display: block;
    border: none;
  }
  .ego_about-teg-table thead, .ego_about-teg-table tbody, .ego_about-teg-table tfoot, .ego_about-teg-table caption, .ego_about-teg-table tr, .ego_about-teg-table th, .ego_about-teg-table td {
    display: block;
  }
  .ego_about-teg-table thead {
    display: none;
  }
  .ego_about-teg-table tbody {
    border: 1px solid var(--ego-gray-border);
    border-bottom: none;
    border-right: none;
  }
  .ego_about-teg-table td {
    width: auto;
  }
  .ego_about-teg-table td::before {
    content: "";
    display: block;
    font-weight: bold;
    color: var(--ego-blue);
    margin: 0 0 0.5em;
  }
  .ego_about-teg-table td:nth-of-type(1)::before {
    content: "特徴";
  }
  .ego_about-teg-table td:nth-of-type(2)::before {
    content: "良い面";
  }
  .ego_about-teg-table td:nth-of-type(3)::before {
    content: "悪い面";
  }
  .ego_add {
    margin: 30px auto;
  }
  .ego_copyright-note {
    font-size: 12px;
  }
}