body{
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  line-height: 1.6;
  background: #3C70E9;
  margin: 0;
  padding: 0;
  min-height: 100svh;
  overflow-x: hidden;
  height: 100%;
}
html {
  height: 100%;
}
main{
  display: block;
  position: relative;
  min-height: 100svh;
  overflow: hidden;
}

/* ==============
  nav
================*/
.c-ham__nav{
  font-size: 1.6rem;
  box-sizing: border-box;
  z-index: 1;
  padding-top: 2rem;
  transition: 0.3s;

}
.l-header__nav--list{
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
}
.l-header__nav--inner {
  width: 100%;
}
.l-header__nav--list li {
  width: 100%;
  border-bottom: 1px solid #8CADDC;
  padding: 5px 10px 15px;
  font-size: 16px;
}
.l-header__nav--list li a {
  align-items: flex-start;
}
.l-header__nav--list span.en {
  text-align: left;
  font-size: 11px;
}
.c-dropDown {
  min-height: inherit;
  width: 100%;
  display: inline-block;
}
.c-dropDown__title p {
  justify-content: flex-start;
}
.c-dropDown__hover {
  position: static;
  transform: none;
  max-height: 0;
  overflow: hidden;
  padding: 0;
  opacity: 1;
  visibility: visible;
  transition: all 0.3s ease;
}
.c-dropDown__hover {
  background: #003B90;
  position: inherit;
  top: 0;
  left: 0;
  transform: inherit;
  margin-bottom: 10px;
}
.c-dropDown__item {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}
.c-dropDown::after {
  content: "";
  display: block;
  position: absolute;
  top: 15px;
  right: 20px;
  background-image: url(../img/common/toggle.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 15px;
  height: 12px;
  transition: transform 0.3s ease;
}
.c-dropDown__hover.is-active {
  max-height: 200px;
  padding: 10px;
  margin: 15px 0 10px;
}
li:has(.c-dropDown) {
  padding: 0 10px;
}
.c-dropDown__item {
  border-bottom: none;
  padding-bottom: 0;
}
.l-header__sns {
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
  margin-top: 15px;
  gap: 28px;
}
.l-header__entry {
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
  margin-top: 15px;
}

/* メインコンテンツ */
.main__inner--left,
.main__inner--right{
  position: fixed;
  top: 0;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(50% - clamp(187px, 12vw, 500px));
  height: 100svh;
  background-color: #002C6D;
}
.main__inner--left::before{
  right: 0;
}
.main__inner--right::before{
  left: 0;
}
.main__inner--left{
  left: 0;
}
.main__inner--right{
  right: 0;
}
@media screen and (max-width: 480px) {
  .main__inner--left,
  .main__inner--right{
    width: 0;
  }
  .main__inner--left::before,
  .main__inner--right::before{
    width: 0;
  }
}
.main__inner--left img{
  width: 12.5vw;
}
@media screen and (max-width: 960px) {
  .main__inner--left img,
  .main__inner--right .c-ham__nav{
    display: none;
  }
}
.main__inner--center {
  overflow: visible;
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24vw;
  min-width: 375px;
  margin: 0 auto;
}
@media screen and (max-width: 480px) {
  .main__inner--center {
    width: 100%;
  }
}
.main__inner--center:has(.result-container.active)::before{
  display: none;
}

/* ==============
  背景デコ
================*/
.bg-deco{
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -10;
  width: 24vw;
  min-width: 375px;
  height: 100svh;
  background: url(../img/deco_center01.png) no-repeat center center;
  background-size: contain;
  pointer-events: none;
}
@media screen and (max-width: 480px) {
  .bg-deco {
    background-size: contain;
    width: 105%;
  }
}
.bg-deco::before{
  content: "";
  display: block;
  width: 188px;
  height: 210px;
  background: url(../img/deco_top.png) no-repeat center center;
  background-size: contain;
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
}
.bg-deco::after{
  content: "";
  display: block;
  width: 250px;
  height: 170px;
  background: url(../img/deco_bottom.png) no-repeat center center;
  background-size: contain;
  pointer-events: none;
  position: absolute;
  bottom: 0;
  right: 0;
}
.chart__wrap {
  /* width: 80%; */
  position: relative;
  margin: 70px auto 0;
}
@media screen and (max-width: 480px) {
  .chart__wrap {
    width: 93%;
    margin: 20px auto 0;
  }
}
.chart__wrap:has(.question-container.active){
  margin: 0px auto;
  top: -20px;
}
.chart__wrap:has(.result-container.active){
  margin: clamp(180px, 12vw, 240px) auto 65px;
  width: 98%;
}

/* ==============
  スタート画面写真ポップ表示
================*/
.header{
  position: relative;
  width: 18vw;
  max-width: 380px;
  min-width: 313px;
  margin: 0 auto 10px;
}
.header h1 {
  position: relative;
  z-index: 100;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.header h1.show {
  opacity: 1;
  transform: scale(1);
}
.header__deco img {
  position: absolute;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.header__deco01 {
  top: 105px;
  left: 94px;
  width: 160px;
  z-index: -1;
  transition-delay: 0.1s;
}
.header__deco02 {
  top: 70px;
  left: 87px;
  width: 148px;
  z-index: -2;
  transition-delay: 0.2s;
}
.header__deco03 {
  top: 90px;
  left: -8px;
  width: 142px;
  z-index: -2;
  transition-delay: 0.3s;
}
.header__deco04 {
  top: 112px;
  right: 0;
  width: 135px;
  z-index: -2;
  transition-delay: 0.4s;
}
.header__deco05 {
  top: -2px;
  right: 12px;
  width: 168px;
  z-index: -4;
  transition-delay: 0.5s;
}
.header__deco06 {
  top: 0;
  left: 4px;
  width: 202px;
  z-index: -5;
  transition-delay: 0.6s;
}
.header__deco07 {
  top: -13px;
  right: 107px;
  width: 86px;
  z-index: -5;
  transition-delay: 5s;
}
.header__deco img.show {
  opacity: 1;
  transform: scale(1);
}
.header h1 img{
  width: 100%;
}
.chart__wrap:has(.question-container.active) .header__deco,
.chart__wrap:has(.result-container.active) .header__deco{
  display: none;
}
.chart__wrap:has(.result-container.active) .header{
  position: absolute;
  top: -8.5vw;
  left: 50%;
  transform: translateX(-50%);
}
@media screen and (max-width: 480px) {
  .chart__wrap:has(.result-container.active) .header{
    top: -150px;
  }
}

/* スタート画面のトランジション */
.chart__start {
  text-align: center;
  display: none;
  max-width: 340px;
  margin: 0 auto;
}
.chart__wrap .chart__start.active {
  display: block;
}
.chart__start-content {
  padding-top: 204px;
  position: relative;
}
.chart__start--lead{
  font-size: clamp(22px, 1.2vw, 25px);
  font-weight: 700;
  text-align: left;
  position: relative;
  margin: 10px auto 25px;
  background-color: #FED500;
  padding: 35px 25px;
  border-radius:  20px;
  border: 4px solid #FFF;
}
.chart__start--logo{
  margin-top: 60px;
  max-width: 237px;
}

/* ==============
  質問コンテンツ
================*/
.question-content {
  display: block;
}
.question-container {
  margin-top: 50px;
  display: none;
}
.question-container.active {
  display: block;
}

/* 質問パート */
.question{
  position: relative;
  background-color: #FFF;
  border: 4px solid #003B90;
  border-radius: 20px 20px 20px 0;
  min-height: 400px;
}
.question-title{
  border: 8px solid #F73340;
  border-radius: 50%;
  font-size: 24px;
  font-weight: 700;
  color: #003B90;
  text-align: center;
  width: 66px;
  height: 66px;
  margin: 0 auto;
  position: relative;
}
.question-title span{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.question-text {
  font-size: 22px;
  font-weight: 700;
  width: 77%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: left;
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
}
@media screen and (min-width: 480px) {
  .question-text {
    font-size: clamp(22px, 0.6vw, 26px)
  }
}

/* トランジション */
@keyframes scaleUp {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.answer-feedback {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-out, transform 0.2s ease-out;
  z-index: 10;
}
.answer-feedback.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}
.answer-feedback img {
  width: 150px;
  height: auto;
  display: block;
}

/* ボタン */
.answer-buttons {
  display: flex;
  justify-content: center;
  gap: 30px;
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}
.chart_button {
  background-color: #FED500;
  color: #003B90;
  padding: 18px 30px;
  min-width: 120px;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  box-shadow: 0px 5px 0 #E3BB0D;
  transition: all 0.1s ease-in-out;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  border: none;
  outline: none;
}

/* PCでのホバー効果 */
@media (hover: hover) and (pointer: fine) {
  .chart_button:hover {
    box-shadow: 0 0 0 #E3BB0D;
    transform: translateY(5px);
    background-color: #E3BB0D;
  }
}

/* タッチ時の効果 */
.chart_button[ontouchstart] {
  -webkit-touch-callout: none;
}
.chart_button:active,
.chart_button.touched {
  box-shadow: 0 0 0 #E3BB0D;
  transform: translateY(5px);
  background-color: #E3BB0D;
}

/* 円形プログレス */
.circular-progress__wrap{
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
}
.circular-progress {
  text-align: center;
  width: 66px;
  height: 66px;
  margin: 0 auto;
  position: relative;
  background-color: #FFF;
  border-radius: 50%;
}
.progress-ring {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}
.progress-ring__circle-bg {
  fill: none;
  stroke: rgba(235, 235, 235, 1);
  stroke-width: 8;
}
.progress-ring__circle {
  fill: none;
  stroke: #F73340;
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.3s ease-out;
  transform-origin: 50% 50%;
}
.question-progress {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  font-weight: 700;
  color: #003B90;
  font-family: "Zen Kaku Gothic New", sans-serif;
}

/* 結果表示のアニメーション */
@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  50% {
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* ==============
  結果コンテンツ
================*/
.result-container.active {
  display: block;
  animation: popIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}
.result-container {
  text-align: center;
  padding: 40px 10px 60px;
  background-color: #FFF;
  border-radius: 10px;
  display: none;
  opacity: 0;
  margin-top: 45px;
}
.result__type{
  font-size: clamp(18px, 1.25vw, 24px);
  font-weight: 700;
  text-align: center;
}
.result__type-name{
  color: #003B90;
  font-size: clamp(24px, 1.67vw, 32px);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: #F73340;
  text-decoration-style: wavy;
  text-underline-offset: 5px;
  display: block;
  margin-top: 15px;
}
.result__type-description {
  font-size: clamp(13px, 0.99vw, 19px);
  text-align: left;
  margin-top: 20px;
  padding: 0 10px;
}
.company-dsc{
  background-color: #003B90;
  padding: 30px 15px 30px;
  border-radius: 10px 10px 10px 0;
  color: #fff;
  margin: 33px 0;
}
.company-dsc__title{
  text-align: center;
  font-size: clamp(18px, 1.25vw, 24px);
  font-weight: 400;
}
.result-title.company-name{
  display: block;
  font-size: clamp(28px, 1.67vw, 32px);
  font-weight: 900;
  letter-spacing: 0.05em;
  text-decoration: underline;
  text-decoration-color: #FED500;
  text-decoration-style: wavy;
  text-underline-offset: 5px;
  margin: 5px 0 10px;
}
.result-logo{
  max-width: 245px;
}
.company-description{
  font-size: clamp(15px, 0.99vw, 18px);
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.66;
  text-align: left;
}
.selling-points {
  margin: 38px 0 0;
}
.selling-points h4{
  display: flex;
  align-items: center;
  gap: 7px;
}
.selling-points h4 span {
  font-size: clamp(24px, 1.67vw, 32px);
  font-weight: 700;
  background-color: #FED500;
  border-radius: 10px 10px 10px 0;
  padding: 4px 22px;
  color: #003B90;
  flex-shrink: 0;
}
.selling-points h4 img{
  max-width: 70px;
  min-width: 60px;
  width: 10vw;
}
.selling-points-description {
  font-size: clamp(15px, 0.99vw, 18px);
  font-weight: 400;
  margin: 14px 0 0;
  letter-spacing: 0.01em;
  line-height: 1.92;
  text-align: left;
}
.staff__title{
  text-align: center;
  font-size: clamp(24px, 1.67vw, 32px);
  font-weight: 700;
  background-color: #003B90;
  color: #FED500;
  padding: 28px 0px;
  border-radius: 10px 10px 10px 0;
  position: relative;
}
.staff__title::before{
  content: "";
  background-image: url(../img/result/deco01.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  width: 76px;
  height: 60px;
  right: -8px;
  bottom: -25px;
}
.staff__dsc{
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  margin: 27px 0 12px;
}
.staff__image{
  min-width: 119px;
  width: 30%;
}
.staff__note{
  width: 68%;
}
.staff__message{
  font-size: clamp(18px, 1.25vw, 24px);
  text-align: left;
}
.staff__info p{
  font-size: clamp(12px, 0.73vw, 14px);
  font-weight: 400;
  color: #858585;
  letter-spacing: 0.1em;
  line-height: 1.7;
  text-align: left;
}
.staff__schedule{
  padding: 0 32px;
}
.staff__schedule-title{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #003B90;
  font-size: 18px;
  letter-spacing: 0.01em;
  line-height: 1;
  font-weight: 700;
  padding: 7px 0;
  background-color: #E6F7FF;
  border-radius: 10px 10px 10px 0;
  margin-bottom: 13px;
}
.staff__schedule-title img{
  max-width: 29px;
}
.staff__schedule ol {
  position: relative;
}
.staff__schedule ol::before {
  content: "";
  position: absolute;
  left: 6px;
  height: calc(100% - 30px);
  transform: translateX(-50%);
  top: 5px;
  bottom: 0;
  width: 2px;
  background: #003b90;
  z-index: 0;
}
.staff__schedule ol li {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 9px;
}
.staff__schedule ol li .dot {
  background-color: #003b90;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  margin-top: 3px;
}
.staff__schedule ol li .staff__schedule-time{
  font-size: 16px;
  letter-spacing: 0.1em;
  line-height: 1;
  min-width: 45px;
}
.staff__schedule ol li .staff__schedule-task{
  font-size: 13px;
  font-weight: 400;
  text-align: left;
  line-height: 1.31;
  color: #5C5C5C;
  min-width: 200px;
  min-height: 35px;
}
.company-info {
  text-align: center;
  margin: 30px 0 40px;
  padding: 20px 19px 40px;
  background-color: #EDEDED;
  border-radius: 10px 10px 10px 0;
  position: relative;
}
.company-info::before{
  content: "";
  position: absolute;
  background-image: url(../img/result/deco02.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 61px;
  height: 52px;
  left: -5px;
  bottom: -20px;
}
.company-info__title{
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.company-info__title img{
  width: 42px;
}
.company-info .company-name{
  font-size: 22px;
  font-weight: 700;
}
p.company-address {
  font-size: 13px;
  font-weight: 400;
  color: #858585;
  margin: 15px 0 5px;
}
.company-website {
  background-color: #003B90;
  font-size: clamp(12px, 0.83vw, 14px);
  font-weight: 400;
  padding: 4px 13px;
  border-radius: 2px;
  font-weight: 700;
  color: #FFF;
  box-shadow: 0px 3px 0 #062551;
}

/* 紙吹雪キャンバス */
#confetti-canvas {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  pointer-events: none;
}