.kv .inner {
  position: relative;
  width: 100%;
  max-width: none;
}
.kv .inner .kv_bg {
  overflow: hidden;
}
.kv .inner .title {
  position: absolute;
  top: 5vw;
  left: 50%;
  transform: translateX(-50%);
  width: 86%;
}
@keyframes flash {
  0% {
    left: -50%;
  }
  50% {
    left: 150%;
  }
  100% {
    left: 150%;
  }
}
.kv .inner .title .img {
  animation: float 2s alternate infinite ease-in-out;
}
.kv .inner .title .img .flash {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: soft-light;
  -webkit-mask: url("../img/index/kv_title.svg") no-repeat left top/contain;
          mask: url("../img/index/kv_title.svg") no-repeat left top/contain;
}
.kv .inner .title .img .flash::after {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 20%;
  height: 100%;
  background-color: #fff;
  transform: skew(15deg);
  animation: flash 3s infinite ease-out;
}
.kv .inner .title h1 {
  position: absolute;
  top: 50%;
  left: 5%;
  z-index: -1;
  color: var(--blue);
}
@keyframes float {
  0% {
    transform: translateY(-2%);
  }
  100% {
    transform: translateY(2%);
  }
}
@media all and (min-width: 1024px) {
  .kv .inner .title {
    top: 8%;
    width: 80%;
  }
}
@media all and (min-width: 1200px) {
  .kv .inner {
    max-width: none;
  }
  .kv .inner .kv_bg {
    margin-top: 0;
    aspect-ratio: unset;
    clip-path: polygon(0 15%, 68% 0, 100% 15%, 100% 100%, 0 100%);
  }
  .kv .inner .kv_bg:after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 0.5em;
    background: linear-gradient(to right, var(--blue) 20%, var(--green) 80%);
  }
  .kv .inner .title {
    width: 35%;
    top: 50%;
    left: 27%;
    transform: translate(-50%, -50%);
  }
}

@media all and (min-width: 1024px) {
  .bookmark {
    display: none;
  }
}

.blue_bg {
  background-color: #05588F;
  background: radial-gradient(circle farthest-side at 50% 0, #25A4DB, #05588F);
}
@media all and (min-width: 1200px) {
  .blue_bg {
    background: radial-gradient(circle farthest-side at 50% 20em, #25A4DB, #05588F);
  }
}

.plan {
  position: relative;
  overflow-y: visible;
  overflow-x: clip;
}
.plan .inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.plan .inner .sec_title h2 {
  color: #fff;
}
.plan .inner .planTag {
  order: -1;
  width: 100%;
  margin-top: -25%;
  margin-bottom: 2em;
  overflow: visible;
  padding: 0.5em;
  border-radius: 0.65em;
  background-color: #fff;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
}
.plan .inner .planTag .swiper-wrapper {
  justify-content: center;
}
.plan .inner .planTag .swiper-wrapper .swiper-slide {
  background-color: var(--bg_color);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2em;
  padding: 0.75em 0.35em;
  border-radius: 0.65em;
  font-size: 4.5vw;
  min-width: 7em;
}
.plan .inner .planTag .swiper-wrapper .swiper-slide:last-child {
  margin: 0 !important;
}
.plan .inner .planTag .swiper-wrapper .swiper-slide .icon {
  width: 50%;
  background-color: #fff;
  border-radius: 99em;
  padding: 0.3em;
}
.plan .inner .planTag .swiper-wrapper .swiper-slide .caption {
  text-align: center;
  width: 5em;
  line-height: 1.25;
  letter-spacing: 0.05em;
}
@media all and (min-width: 1024px) {
  .plan .inner .planTag .swiper-wrapper .swiper-slide .caption {
    font-size: 0.7em;
  }
}
.plan .inner .planTag .swiper-wrapper .swiper-slide::after {
  content: "";
  width: 0.35em;
  aspect-ratio: 1/1;
  border: 1px solid #fff;
  border-width: 2px 2px 0 0;
  transform: rotate(135deg);
}
.plan .inner .planTag .swiper-wrapper:has(.swiper-slide:nth-child(3)) .swiper-slide {
  min-width: none;
}
.plan .inner .planSlide {
  overflow: visible;
  width: 100%;
}
.plan .inner .planSlide .swiper-wrapper .swiper-slide {
  overflow: hidden;
  opacity: 0.3;
  transform: scale(0.9);
  transition: all 0.2s ease-in;
}
.plan .inner .planSlide .swiper-wrapper .swiper-slide img {
  border-radius: 1em;
}
.plan .inner .planSlide .swiper-wrapper .swiper-slide.swiper-slide-active {
  opacity: 1;
  transform: scale(1);
}
.plan .inner .planSlide .swiper-button {
  border-radius: 99em;
  background-color: #30DAA2;
  --swiper-navigation-size: 3em;
  --swiper-navigation-sides-offset: -1.75em;
}
.plan .inner .planSlide .swiper-button svg {
  width: 40%;
  height: 40%;
}
.plan .inner .planRemark {
  width: 100%;
  padding: 1em 2em 0;
  color: #fff;
  font-size: 0.8em;
}
.plan .inner .planRemark span {
  position: relative;
  display: inline-block;
  line-height: 1.5;
  cursor: pointer;
  text-align: left;
  border-bottom: 1px solid currentColor;
}
.plan .inner .planRemark span:after {
  font-size: 0.5em;
  content: "!";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(150%, -40%);
  border: 1px solid currentColor;
  border-radius: 99em;
  width: 1.5em;
  aspect-ratio: 1/1;
  text-align: center;
}
@media all and (min-width: 1200px) {
  .plan {
    padding: 3em 0;
  }
  .plan .inner {
    max-width: 52em;
  }
  .plan .inner .planTag {
    order: 0;
    margin-top: 0;
    margin-bottom: 1em;
    background-color: transparent;
    padding: 0 1em;
    width: 100%;
  }
  .plan .inner .planTag .swiper-wrapper {
    gap: 30px;
  }
  .plan .inner .planTag .swiper-wrapper:has(.swiper-slide:nth-child(3)) {
    gap: 0;
  }
  .plan .inner .planTag .swiper-wrapper .swiper-slide {
    cursor: pointer;
    background-color: #fff;
    flex-direction: row;
    gap: 0.5em;
    color: var(--bg_color);
    padding: 0.5em 1em;
    font-size: 1em;
  }
  .plan .inner .planTag .swiper-wrapper .swiper-slide:after {
    display: none;
  }
  .plan .inner .planTag .swiper-wrapper .swiper-slide .icon {
    border-radius: 99em;
    border: 1px solid var(--bg_color);
    width: 2.5em;
  }
  .plan .inner .planTag .swiper-wrapper .swiper-slide .caption {
    width: auto;
    font-weight: 600;
    font-size: 1.2em;
  }
  .plan .inner .planTag .swiper-wrapper .swiper-slide.swiper-slide-thumb-active .icon {
    background-color: var(--bg_color);
  }
  .plan .inner .planTag .swiper-wrapper .swiper-slide.swiper-slide-thumb-active .icon img {
    filter: grayscale(100) brightness(10);
  }
  .plan .inner .planTag .swiper-wrapper .swiper-slide.swiper-slide-thumb-active:after {
    display: block;
    border: 0;
    background-color: #fff;
    position: absolute;
    z-index: -1;
    top: 99%;
    left: 50%;
    width: 1em;
    transform: translate(-50%, -50%) rotate(45deg) skew(15deg, 15deg);
  }
  .plan .inner .planSlide .swiper-wrapper .swiper-slide {
    transform: scale(0.8);
  }
  .plan .inner .planSlide .swiper-wrapper .swiper-slide.swiper-slide-active {
    transform: scale(1);
  }
}
.plan .advice {
  position: relative;
  z-index: 1;
  margin-top: 10%;
  height: 85vw;
}
.plan .advice:before {
  position: absolute;
  z-index: 1;
  content: "";
  bottom: -10%;
  width: 50%;
  left: 0%;
  aspect-ratio: 946/975;
  background: url("../img/index/blue_L.svg") no-repeat center top/cover;
}
.plan .advice:after {
  position: absolute;
  z-index: 4;
  content: "";
  bottom: -10%;
  width: 50%;
  right: 0%;
  aspect-ratio: 860/993;
  background: url("../img/index/blue_R.svg") no-repeat center top/cover;
}
.plan .advice .txt {
  position: absolute;
  z-index: 2;
  font-size: 4vw;
  transform: translate(-50%, 0);
}
.plan .advice .txt .txt_wrap {
  position: relative;
  width: -moz-max-content;
  width: max-content;
  border-radius: 99em;
  padding: 0.8em 1.5em;
  background-color: #fff;
  color: var(--blue);
  font-weight: 500;
  line-height: 1.3;
}
.plan .advice .txt .txt_wrap::after {
  position: absolute;
  right: 0;
  bottom: -0.1em;
  content: "";
  width: 1em;
  aspect-ratio: 1/1.65;
  background-color: #fff;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  rotate: -40deg;
  bottom: -0.85em;
  right: 1.2em;
}
.plan .advice .txt .txt_wrap:has(strong) {
  padding: 0.8em 1.7em 1.3em 1.7em;
}
.plan .advice .txt .txt_wrap:has(strong):after {
  right: auto;
  left: 1.2em;
  rotate: 40deg;
}
.plan .advice .txt strong {
  position: relative;
  font-size: 1.35em;
  font-weight: 600;
}
.plan .advice .txt strong:after {
  content: "";
  position: absolute;
  width: 0.3em;
  aspect-ratio: 1/1;
  border-radius: 99em;
  background-color: #FFC94F;
  bottom: -0.4em;
  left: 0.4em;
}
.plan .advice .txt .silver {
  position: absolute;
  width: 2.5em;
  top: 0.35em;
  right: -1.5em;
  transform: translate(-50%, -50%) rotate(10deg);
}
.plan .advice .txt._L {
  top: 5%;
  left: 25%;
}
.plan .advice .txt._R {
  left: 70%;
  top: 10%;
}
.plan .advice .profasor {
  position: absolute;
  z-index: 5;
  width: 90%;
  left: 5%;
  bottom: -50%;
}
@media all and (min-width: 1024px) {
  .plan .advice {
    height: 70vw;
  }
  .plan .advice .txt {
    font-size: 3vw;
  }
  .plan .advice .profasor {
    width: 70%;
    left: 15%;
    bottom: -45%;
  }
}
@media all and (min-width: 1200px) {
  .plan .advice {
    margin-top: 5em;
    height: 30em;
  }
  .plan .advice:before {
    width: 40em;
    left: 0;
    bottom: -15em;
  }
  .plan .advice:after {
    width: 40em;
    right: 0;
    bottom: -15em;
  }
  .plan .advice .txt {
    font-size: 1.65em;
    z-index: 5;
  }
  .plan .advice .txt._L {
    top: 20%;
    left: calc(50% - 12em);
  }
  .plan .advice .txt._R {
    top: 8%;
    left: calc(50% + 13em);
  }
  .plan .advice .profasor {
    width: 36em;
    bottom: -18em;
    left: calc(50% - 18em);
  }
}

.gradien_circle {
  position: relative;
  z-index: 2;
  --circle_color: #D5F5FF;
  background: linear-gradient(to bottom, var(--circle_color) 6%, #fff 80%);
}
.gradien_circle .circle {
  position: absolute;
  z-index: -1;
  top: 1px;
  transform: translateY(-100%);
  width: 100%;
  aspect-ratio: 10/1;
  overflow: hidden;
}
.gradien_circle .circle:before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
  width: 500%;
  aspect-ratio: 1/1;
  border-radius: 100%;
  background-color: var(--circle_color);
}
@media all and (min-width: 1200px) {
  .gradien_circle .circle {
    aspect-ratio: 20/1;
  }
  .gradien_circle .circle:before {
    width: 900%;
  }
}

.test {
  padding: 3em 0;
}
.test .inner .test_wrap {
  position: relative;
  border-radius: 1em;
  border: 5px solid #BCEFFF;
  background: url("../img/index/grid_bg.jpg") repeat center center/44px;
  padding: 1em;
}
.test .inner .test_wrap .step_btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1em;
  margin-top: 2em;
  margin-bottom: 1em;
}
.test .inner .test_wrap .step_btn ._btn {
  position: relative;
  padding: 0.75em 2.5em 0.75em 1.5em;
  background: linear-gradient(to right, var(--blue) 0%, var(--green) 100%);
  color: #fff;
  border-radius: 99em;
  transition: all 0.1s ease-out;
  cursor: pointer;
}
.test .inner .test_wrap .step_btn ._btn.toCancerContent {
  background: none;
  background-color: #44BFE5;
}
.test .inner .test_wrap .step_btn ._btn.toAccidentContent {
  background: none;
  background-color: #27CAC0;
}
.test .inner .test_wrap .step_btn ._btn:after {
  content: "";
  position: absolute;
  width: 0.5em;
  aspect-ratio: 1/1;
  border: 1px solid currentColor;
  border-width: 1px 1px 0 0;
  top: 50%;
  right: 1em;
  transform: translate(-50%, -50%) rotate(45deg);
}
.test .inner .test_wrap .step_btn ._btn:hover {
  transform: scale(1.05);
}
.test .inner .test_wrap .selector .remark {
  color: #888;
  font-size: 0.9em;
  width: -moz-max-content;
  width: max-content;
  margin: 0 auto 1em;
}
.test .inner .test_wrap .selector .remark:after {
  display: inline-block;
  content: "";
  width: 0.5em;
  aspect-ratio: 1/1;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  background-color: #888;
  margin-left: 0.5em;
}
.test .inner .test_wrap .selector .list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5em;
}
.test .inner .test_wrap .selector .list > li {
  position: relative;
  width: 90%;
}
.test .inner .test_wrap .selector .list > li label {
  cursor: pointer;
  display: block;
  overflow: hidden;
  border-radius: 1em;
  border: 3px solid #ddd;
  background-color: #fff;
}
.test .inner .test_wrap .selector .list > li label .title {
  position: relative;
  background-color: var(--green);
  color: #fff;
  padding: 0.5em 1.5em;
  width: -moz-max-content;
  width: max-content;
  border-radius: 0 0.5em 0.5em 0;
  margin-top: -1em;
}
.test .inner .test_wrap .selector .list > li label .caption {
  padding: 0.5em 1em;
  line-height: 1.3;
  font-weight: 500;
  font-size: 1.3em;
}
.test .inner .test_wrap .selector .list > li:has(input:checked) label {
  border-color: #FF8933;
}
.test .inner .test_wrap .selector .list > li:has(input:checked):after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-35%, -35%);
  width: 3em;
  aspect-ratio: 1/1;
  background: url("../img/index/test_checked.svg") no-repeat center center/contain;
}
.test .inner .test_wrap .selector .list ~ .step_btn .next {
  background: none;
  pointer-events: none;
  background-color: #aaa;
}
.test .inner .test_wrap .selector .list:has(input:checked) ~ .step_btn .next {
  pointer-events: all;
  background-color: var(--blue);
}
.test .inner .test_wrap .calc_content {
  display: none;
}
.test .inner .test_wrap .calc_content .content_title {
  margin: 1em auto 1em;
  width: -moz-max-content;
  width: max-content;
  font-weight: 500;
  font-size: 1.5em;
}
.test .inner .test_wrap .calc_content .list {
  position: relative;
  z-index: 1;
}
.test .inner .test_wrap .calc_content .list > li {
  display: none;
}
.test .inner .test_wrap .calc_content .list > li.active {
  display: block;
}
.test .inner .test_wrap .calc_content .list > li .check_list {
  display: flex;
  flex-direction: column;
}
.test .inner .test_wrap .calc_content .list > li .check_list dl dt {
  width: -moz-max-content;
  width: max-content;
  padding: 0.35em 1em;
  background-color: var(--green);
  color: #fff;
  border-radius: 0.3em;
}
.test .inner .test_wrap .calc_content .list > li .check_list dl dd {
  line-height: 1.3;
  margin-top: 0.5em;
}
.test .inner .test_wrap .calc_content .list > li .check_list dl dd label {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.test .inner .test_wrap .calc_content .list > li .check_list dl dd label input {
  width: 1.5em;
  height: 1.5em;
  margin-right: 0.5em;
}
.test .inner .test_wrap .calc_content .list > li .check_list dl ~ dl:has(dt) {
  margin-top: 1em;
}
.test .inner .test_wrap .calc_content .list > li .expense {
  margin: 4em auto 2em;
}
.test .inner .test_wrap .calc_content .list > li .expense .total {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
}
.test .inner .test_wrap .calc_content .list > li .expense .total .amount {
  position: relative;
  height: 1.5em;
  min-width: 5em;
  padding: 0 0.5em;
  font-weight: 500;
  font-size: 1.5em;
  align-content: end;
  color: red;
  text-align: center;
}
.test .inner .test_wrap .calc_content .list > li .expense .total .amount:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3em;
  width: 100%;
  border-bottom: 1px solid #aaa;
}
.test .inner .test_wrap .calc_content .list > li .step_btn {
  margin-top: 2.5em;
  flex-direction: column;
}
.test .inner .test_wrap .calc_content .list > li .step_btn .prev {
  cursor: pointer;
  padding: 0.5em;
  order: 5;
  color: #666;
  text-decoration: underline;
  text-underline-offset: 0.3em;
}
.test .inner .test_wrap .calc_content .list > li .coin {
  position: absolute;
  z-index: -1;
  bottom: 10em;
  right: -3%;
  width: 30%;
}
.test .inner .test_wrap .calc_content .list > li .coin .lv {
  display: none;
}
.test .inner .test_wrap:before {
  content: "";
  position: absolute;
  z-index: -1;
  aspect-ratio: 1/1;
  top: 3em;
  left: 0;
  width: 22em;
  background: url("../img/index/risk_calc.svg") no-repeat center center/contain;
  transform: translateX(-45%);
}
.test .inner .test_wrap:after {
  content: "";
  position: absolute;
  z-index: -1;
  aspect-ratio: 1/1;
  top: -5em;
  right: 0;
  width: 15em;
  background: url("../img/index/risk_money.svg") no-repeat center center/contain;
  transform: translateX(55%);
}
.test .inner .test_wrap .corner {
  position: absolute;
  z-index: 1;
  aspect-ratio: 1/1;
  width: 5em;
  right: 0;
  bottom: 0;
}
.test .inner .test_wrap .corner:before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  background-color: #BCEFFF;
  clip-path: polygon(100% 0, 100% 100%, 0 100%, 60% 60%);
}
@media all and (min-width: 1024px) {
  .test .inner .test_wrap {
    padding: 2em;
  }
  .test .inner .test_wrap .step_btn {
    margin-bottom: 0;
  }
  .test .inner .test_wrap .selector .remark {
    font-size: 0.8em;
    margin-bottom: 2em;
  }
  .test .inner .test_wrap .selector .list {
    flex-direction: row;
  }
  .test .inner .test_wrap .selector .list li {
    width: 70%;
  }
  .test .inner .test_wrap .calc_content .list li .check_list {
    flex-direction: row;
    margin-top: 2em;
    gap: 2em;
  }
  .test .inner .test_wrap .calc_content .list li .check_list dl ~ dl:has(dt) {
    margin-top: 0;
  }
  .test .inner .test_wrap .calc_content .list li .check_list dl dd label {
    align-items: flex-start;
    font-size: 0.9em;
  }
  .test .inner .test_wrap .calc_content .list li .check_list dl dd label ._mb {
    display: none;
  }
  .test .inner .test_wrap .calc_content .list li .expense {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-right: 3em;
  }
  .test .inner .test_wrap .calc_content .list li .step_btn {
    flex-direction: row;
  }
  .test .inner .test_wrap .calc_content .list li .step_btn .prev {
    order: 0;
  }
  .test .inner .test_wrap .calc_content .list li .coin {
    right: 2%;
    width: 20%;
    bottom: 20%;
  }
}
@media all and (min-width: 1200px) {
  .test .inner {
    width: 80%;
    max-width: 1200px;
  }
  .test .inner .test_wrap {
    border-width: 0.5em;
    padding: 2em 2em;
    font-size: 1.3em;
  }
  .test .inner .test_wrap .selector .remark {
    font-size: 0.9em;
  }
  .test .inner .test_wrap .selector .list {
    justify-content: space-evenly;
  }
  .test .inner .test_wrap .selector .list li {
    transition: transform 0.1s ease-out;
    width: 35%;
    min-width: 17em;
  }
  .test .inner .test_wrap .selector .list li label .title {
    font-size: 0.9em;
  }
  .test .inner .test_wrap .selector .list li label .caption {
    font-size: 1.4em;
  }
  .test .inner .test_wrap .selector .list li:hover {
    transform: scale(1.02);
  }
  .test .inner .test_wrap .calc_content .list li .check_list {
    justify-content: center;
    gap: 1em;
  }
  .test .inner .test_wrap .calc_content .list li .check_list dl dd {
    margin-top: 0.75em;
  }
  .test .inner .test_wrap .calc_content .list li .check_list dl dd label {
    align-items: flex-start;
    font-size: 1em;
  }
  .test .inner .test_wrap .calc_content .list li .expense {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-right: 3em;
    font-size: 1.2em;
    margin-top: 2em;
  }
  .test .inner .test_wrap .calc_content .list li .step_btn {
    flex-direction: row;
  }
  .test .inner .test_wrap .calc_content .list li .step_btn .prev {
    order: 0;
  }
  .test .inner .test_wrap .calc_content .list li .coin {
    width: 15%;
    bottom: 15%;
  }
}

@media all and (min-width: 1024px) {
  .appointment {
    padding-top: 5em;
  }
}