@charset "UTF-8";
:root {
  --arrow-color: #fac43c;
  --text-color: #4d4d4d;
  /* 基準単位。デザイン上の1px = var(--u)
      PC(768px以上)は 1px 固定 */
  --u: 1px;
}

@media (max-width: 767px) {
  :root {
    --u: 0.1586vw;
  }
}
/* ---- カラーパレット ---- */
body.shindan-page {
  --color-shindan-yellow: #fdc43b;
  --color-shindan-white: #fff;
  --color-shindan-red: #cb1e25;
  --color-shindan-red-dark: #8f1216;
  --color-shindan-text: #4d4d4d;
  --color-shindan-bg-cream: #fef9ee;
  --color-shindan-border-gray: #707070;
}

/* ---- ヘッダーのカレント表示切り替え ---- */
body.shindan-page .c-header .nav-list > li > .link.red {
  background-color: transparent;
  color: var(--color-shindan-text);
}
@media screen and (min-width: 1025px) {
  body.shindan-page .c-header .nav-list > li > .link.red:hover {
    background-color: #f1f1f1;
  }
}
body.shindan-page .c-header .nav-list > li > .link.shindan-nav {
  background-color: var(--color-shindan-red);
  color: var(--color-shindan-white);
}
@media screen and (min-width: 1025px) {
  body.shindan-page .c-header .nav-list > li > .link.shindan-nav:hover {
    color: var(--color-shindan-text);
    background-color: #f7d0d2;
  }
}
@media screen and (max-width: 1024px) {
  body.shindan-page .c-header .nav-list > li > .link.shindan-nav::before {
    border-color: var(--color-shindan-white);
  }
}

/* ---- ベース ------------------------------------------------------- */
.shindan {
  background-color: var(--color-shindan-white);
}
.shindan .inner-block {
  position: relative;
}
.shindan .c-note {
  font-size: 11px;
  line-height: 1.25;
}
@media screen and (min-width: 768px) {
  .shindan .c-note {
    font-size: 12px;
  }
}
.shindan .note-list {
  margin-block-start: 20px;
}
.shindan .note-list li {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.25;
  padding-inline-start: 1em;
  position: relative;
}
@media screen and (min-width: 768px) {
  .shindan .note-list li {
    font-size: 12px;
  }
}
.shindan .note-list li::before {
  content: "※";
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
}

.shindan-mv-section .inner-block {
  position: relative;
  padding: clamp(20px, 5.6505102041px + 3.8265306122vw, 35px);
}
@media screen and (min-width: 1025px) {
  .shindan-mv-section .inner-block {
    max-width: 1138px;
    padding: 30px 60px 50px 85px;
  }
}
.shindan-mv-section .inner-block::before, .shindan-mv-section .inner-block::after {
  aspect-ratio: 1;
  content: "";
  display: block;
  background-image: url(../img/product-tyf/shindan/corner-deco.svg);
  background-repeat: no-repeat;
  background-size: contain;
  inline-size: 70px;
  block-size: auto;
  position: absolute;
}
@media screen and (min-width: 768px) {
  .shindan-mv-section .inner-block::before, .shindan-mv-section .inner-block::after {
    inline-size: 130px;
  }
}
.shindan-mv-section .inner-block::before {
  inset-block-start: 0;
  inset-inline-start: 8px;
}
@media screen and (min-width: 1025px) {
  .shindan-mv-section .inner-block::before {
    inset-inline-start: 0;
  }
}
.shindan-mv-section .inner-block::after {
  inset-block-end: 0;
  inset-inline-end: 8px;
  rotate: 180deg;
}
@media screen and (min-width: 1025px) {
  .shindan-mv-section .inner-block::after {
    inset-inline-end: 0;
  }
}
.shindan-mv-section .page-ttl {
  color: var(--color-shindan-red);
  display: flex;
  align-items: center;
  flex-direction: column;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.5;
}
@media screen and (min-width: 768px) {
  .shindan-mv-section .page-ttl {
    font-size: 50px;
    letter-spacing: 0.5px;
    margin-inline-start: -27px;
  }
}
.shindan-mv-section .page-ttl small {
  font-size: 18px;
}
@media screen and (min-width: 768px) {
  .shindan-mv-section .page-ttl small {
    padding-inline-start: 20px;
    font-size: 36px;
    letter-spacing: 0;
  }
}

.shindan-result-mv-section .inner-block {
  position: relative;
  padding: clamp(20px, 5.6505102041px + 3.8265306122vw, 35px);
}
@media screen and (min-width: 1025px) {
  .shindan-result-mv-section .inner-block {
    max-width: 1138px;
    padding: 30px 60px 50px 85px;
  }
}
@media screen and (min-width: 768px) {
  .shindan-result-mv-section .inner-block {
    padding: 34px 78px 40px 94px;
  }
}
.shindan-result-mv-section .inner-block::before, .shindan-result-mv-section .inner-block::after {
  aspect-ratio: 1;
  content: "";
  display: block;
  background-image: url(../img/product-tyf/shindan/corner-deco.svg);
  background-repeat: no-repeat;
  background-size: contain;
  inline-size: 70px;
  block-size: auto;
  position: absolute;
}
@media screen and (min-width: 768px) {
  .shindan-result-mv-section .inner-block::before, .shindan-result-mv-section .inner-block::after {
    inline-size: 92px;
  }
}
.shindan-result-mv-section .inner-block::before {
  inset-block-start: 0;
  inset-inline-start: -3px;
}
@media screen and (min-width: 1025px) {
  .shindan-result-mv-section .inner-block::before {
    inset-inline-start: 0;
  }
}
.shindan-result-mv-section .inner-block::after {
  inset-block-end: 0;
  inset-inline-end: -3px;
  rotate: 180deg;
}
@media screen and (min-width: 1025px) {
  .shindan-result-mv-section .inner-block::after {
    inset-inline-end: 0;
  }
}
.shindan-result-mv-section .page-ttl {
  color: var(--color-shindan-red);
  display: flex;
  align-items: center;
  flex-direction: column;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.5;
  font-feature-settings: "palt";
}
@media screen and (min-width: 768px) {
  .shindan-result-mv-section .page-ttl {
    font-size: 50px;
    letter-spacing: -0.1px;
    margin-inline-start: -27px;
  }
}
.shindan-result-mv-section .page-ttl small {
  font-size: 18px;
}
@media screen and (min-width: 768px) {
  .shindan-result-mv-section .page-ttl small {
    padding-inline-start: 20px;
    font-size: 36px;
    letter-spacing: 0;
  }
}

.box-shindan {
  position: relative;
  background-color: #fff;
  border-radius: 20px;
  padding: 50px 20px 30px;
}
@media only screen and (min-width: 768px) {
  .box-shindan {
    padding: 55px 40px 50px;
  }
}

.shindan-form-section .box-shindan {
  border-radius: 28px;
}
@media screen and (min-width: 768px) {
  .shindan-form-section .box-shindan {
    border-radius: 60px;
    padding-inline: clamp(20px, -130.7616707617px + 19.656019656vw, 100px);
  }
}
.shindan-form-section .box-shindan-bd-yellow {
  border: 2px solid #fdc43b;
  border-radius: 20px;
  margin-block-start: 40px;
  padding: 25px 20px 25px;
}
@media screen and (min-width: 768px) {
  .shindan-form-section .box-shindan-bd-yellow {
    margin-block-start: 70px;
    margin-inline: 5px;
    padding: 41px 60px 34px 32px;
    border-radius: 50px;
  }
}
.shindan-form-section .box-shindan-bd-yellow .note-list {
  margin-block-start: 20px;
}
.shindan-form-section .box-shindan-bd-yellow .graph-ttl {
  font-weight: 700;
  line-height: 1.5;
}
@media screen and (min-width: 768px) {
  .shindan-form-section .box-shindan-bd-yellow .graph {
    row-gap: 0px;
  }
}
.shindan-form-section .graph-ttl {
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  margin-block-end: 15px;
  line-height: 1.5;
}
@media screen and (min-width: 768px) {
  .shindan-form-section .graph-ttl {
    font-size: 18px;
    margin-block-end: 30px;
    line-height: unset;
  }
}
.shindan-form-section .graph {
  display: flex;
  flex-direction: column;
  row-gap: 14px;
  margin-inline: auto;
  max-inline-size: 645px;
}
.shindan-form-section .graph .note {
  font-size: 12px;
  line-height: 1.6;
}
.shindan-form-section .graph .note + .note {
  margin-block-start: 4px;
}
.shindan-form-section .graph .note-list {
  margin-block-start: 0;
}
.shindan-form-section .bottom-note {
  margin-block-start: 15px;
}
@media screen and (min-width: 768px) {
  .shindan-form-section .bottom-note {
    margin-block-start: 32px;
  }
}

.shindan-result-section .box-shindan {
  border-radius: 28px;
}
@media screen and (min-width: 768px) {
  .shindan-result-section .box-shindan {
    border-radius: 60px;
    padding-inline: clamp(20px, -130.7616707617px + 19.656019656vw, 100px);
  }
}
.shindan-result-section .box-shindan-bd-yellow {
  border: 2px solid #fdc43b;
  border-radius: 20px;
  margin-block-start: 40px;
  padding: 25px 20px;
}
@media screen and (min-width: 768px) {
  .shindan-result-section .box-shindan-bd-yellow {
    max-width: 920px;
    margin-block-start: 37px;
    margin-inline: auto;
    padding: 41px 60px 34px 32px;
    border-radius: 50px;
  }
}
.shindan-result-section .box-shindan-bd-yellow .note-list {
  margin-block-start: 20px;
}
.shindan-result-section .box-shindan-bd-yellow .graph-ttl {
  font-weight: 700;
}
.shindan-result-section .graph-ttl {
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  margin-block-end: 15px;
  line-height: 1.5;
}
@media screen and (min-width: 768px) {
  .shindan-result-section .graph-ttl {
    font-size: 18px;
    margin-block-end: 30px;
    line-height: unset;
  }
}
.shindan-result-section .graph {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
  margin-inline: auto;
  max-inline-size: 645px;
}
@media screen and (min-width: 768px) {
  .shindan-result-section .graph {
    row-gap: 20px;
  }
}
.shindan-result-section .graph .note {
  font-size: 12px;
  line-height: 1.6;
}
.shindan-result-section .graph .note + .note {
  margin-block-start: 4px;
}
.shindan-result-section .graph .note-list {
  margin-block-start: 0;
}
.shindan-result-section .bottom-note {
  margin-block-start: 15px;
}
@media screen and (min-width: 768px) {
  .shindan-result-section .bottom-note {
    max-width: 920px;
    margin-block-start: 24px;
    margin-inline: auto;
  }
}

/* ===================================================================
   KV（メインビジュアル）セクション
   =================================================================== */
.shindan-mv-section {
  background-color: var(--color-shindan-bg-cream);
  padding: 26px 0;
}
@media screen and (min-width: 1025px) {
  .shindan-mv-section {
    padding: 42px 0 36px;
  }
}
.shindan-mv-section .wrap {
  display: flex;
  align-items: center;
  padding-top: 16px;
}
@media screen and (min-width: 768px) {
  .shindan-mv-section .wrap {
    padding-top: unset;
  }
}
@media screen and (max-width: 1024px) {
  .shindan-mv-section .wrap {
    flex-direction: column;
    row-gap: 16px;
  }
}
@media screen and (min-width: 1025px) {
  .shindan-mv-section .wrap {
    column-gap: 32px;
  }
}
@media screen and (max-width: 1024px) {
  .shindan-mv-section .txt-area {
    display: contents;
  }
}
@media screen and (min-width: 1025px) {
  .shindan-mv-section .txt-area {
    display: flex;
    align-items: center;
    flex-direction: column;
    row-gap: 23px;
    flex-grow: 1;
  }
}
.shindan-mv-section .lead {
  margin-block-end: -4px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 1px;
}
@media screen and (min-width: 768px) {
  .shindan-mv-section .lead {
    margin-block-end: 0;
    font-size: 24px;
    letter-spacing: 2.5px;
  }
}
.shindan-mv-section .txt {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.7;
  text-align: center;
}
@media screen and (max-width: 1024px) {
  .shindan-mv-section .txt {
    order: 1;
  }
}
@media screen and (min-width: 768px) {
  .shindan-mv-section .txt {
    font-size: 20px;
  }
}
@media screen and (min-width: 1025px) and (max-width: 1200px) {
  .shindan-mv-section .txt .d-sp {
    display: block !important;
  }
}
.shindan-mv-section .img {
  text-align: center;
}
@media screen and (max-width: 1024px) {
  .shindan-mv-section .img {
    max-inline-size: 240px;
    margin: 0 auto;
  }
}
@media screen and (min-width: 1025px) {
  .shindan-mv-section .img {
    flex-shrink: 0;
  }
}
.shindan-mv-section .img {
  inline-size: 180px;
}
@media screen and (min-width: 768px) {
  .shindan-mv-section .img {
    inline-size: 260px;
  }
}

/* ===================================================================
   診断フォームセクション
   =================================================================== */
.shindan-form-section {
  padding-block-end: 40px;
  background-color: var(--color-shindan-bg-cream);
}
@media screen and (min-width: 768px) {
  .shindan-form-section {
    padding-block-end: 70px;
  }
}
.shindan-form-section .balloon-shindan {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 50%;
  display: inline-flex;
  justify-content: center;
  min-inline-size: 250px;
  padding: 5px 25px;
  translate: -50% -50%;
  background-color: #fdc43b;
  border-radius: 30px;
  color: #4d4d4d;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.6;
  text-align: center;
  white-space: nowrap;
}
@media screen and (min-width: 768px) {
  .shindan-form-section .balloon-shindan {
    padding: 10px 66px;
    font-size: 24px;
    letter-spacing: 0.04em;
    line-height: inherit;
  }
}
.shindan-form-section .balloon-shindan::after {
  content: "";
  position: absolute;
  inset-block-start: 100%;
  inset-inline-start: 50%;
  translate: -50% -1px;
  border-style: solid;
  border-width: 15px 15px 0;
  border-color: #fdc43b transparent transparent;
  transform: matrix(1, 0, 0, 1.16, 0, 0);
}
@media only screen and (min-width: 768px) {
  .shindan-form-section .balloon-shindan::after {
    border-width: 30px 30px 0;
    inset-block-end: -14px;
  }
}
.shindan-form-section .inner-block {
  padding-block-start: 24px;
}
.shindan-form-section .form-wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-block-start: 10px;
  margin-inline: auto;
}
@media screen and (max-width: 767px) {
  .shindan-form-section .form-wrap {
    flex-direction: column;
    inline-size: 100%;
  }
}
@media screen and (min-width: 768px) {
  .shindan-form-section .form-wrap {
    justify-content: space-between;
    gap: 0px;
    margin-block-start: 30px;
    max-inline-size: 715px;
  }
}
.shindan-form-section .form-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 7px;
  inline-size: 252px;
}
@media screen and (min-width: 768px) {
  .shindan-form-section .form-item {
    column-gap: 10px;
    inline-size: 319px;
  }
}
.shindan-form-section .form-item:nth-child(2) {
  padding-block-end: 14px;
}
@media screen and (min-width: 768px) {
  .shindan-form-section .form-item:nth-child(2) {
    padding-block-end: unset;
  }
}
.shindan-form-section .form-item .label {
  background-color: var(--color-shindan-yellow);
  border-radius: 10px;
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  padding: 8px;
  text-align: center;
  inline-size: 85px;
}
@media screen and (min-width: 768px) {
  .shindan-form-section .form-item .label {
    font-size: 18px;
    padding: 14px 4px;
    inline-size: 95px;
  }
}
.shindan-form-section .form-item .note {
  flex-basis: 100%;
  font-size: 12px;
  margin-block-start: 8px;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .shindan-form-section .form-item .note {
    font-size: 14px;
    margin-block-start: 24px;
    letter-spacing: 0.5px;
  }
}
.shindan-form-section .input-wrap {
  align-items: center;
  display: flex;
  gap: 10px;
}
.shindan-form-section .input-wrap input {
  border: 1px solid var(--color-shindan-border-gray);
  border-radius: 8px;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.15);
  font-size: 22px;
  font-weight: 700;
  color: #4d4d4d;
  text-align: center;
  inline-size: 125px;
  block-size: 60px;
}
.shindan-form-section .input-wrap input::placeholder {
  color: #ccc;
}
@media screen and (min-width: 768px) {
  .shindan-form-section .input-wrap input {
    font-size: 28px;
    inline-size: 180px;
    block-size: 82px;
  }
}
.shindan-form-section .input-wrap .unit {
  font-size: 18px;
  font-weight: 500;
  flex-basis: 1em;
  align-self: flex-end;
}
@media screen and (min-width: 768px) {
  .shindan-form-section .input-wrap .unit {
    font-size: 24px;
    padding-block-end: 5px;
  }
}
.shindan-form-section .error-message:empty {
  display: none;
}
.shindan-form-section .error-message {
  color: var(--color-shindan-red);
  font-size: 14px;
  font-weight: 700;
  margin-block-start: 20px;
  text-align: center;
}
.shindan-form-section .btn-wrap {
  margin-block: 25px 4px;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .shindan-form-section .btn-wrap {
    margin-block-start: 48px;
  }
}

/* ===================================================================
   確定拠出年金の資産運用について（説明文）セクション
   =================================================================== */
.shindan-about-section {
  padding-block-start: 40px;
}
@media screen and (min-width: 768px) {
  .shindan-about-section {
    padding-block-start: 70px;
  }
}
.shindan-about-section .box {
  border: 1px solid var(--color-shindan-yellow);
  display: flex;
  flex-direction: column;
  row-gap: 1lh;
  position: relative;
  padding: 30px 20px;
}
@media screen and (min-width: 768px) {
  .shindan-about-section .box {
    align-items: center;
    row-gap: 2lh;
    text-align: center;
    padding: 68px clamp(20px, -55.3808353808px + 9.828009828vw, 60px);
  }
}
.shindan-about-section .box::before, .shindan-about-section .box::after {
  content: "";
  position: absolute;
  inline-size: 70px;
  block-size: 70px;
  border-color: var(--color-shindan-yellow);
  border-style: solid;
}
@media screen and (min-width: 768px) {
  .shindan-about-section .box::before, .shindan-about-section .box::after {
    inline-size: 130px;
    block-size: 130px;
  }
}
.shindan-about-section .box::before {
  inset-block-start: -2px;
  inset-inline-end: -2px;
  border-width: 4px 4px 0 0;
}
@media screen and (min-width: 768px) {
  .shindan-about-section .box::before {
    inset-block-start: -3px;
    inset-inline-end: -3px;
    border-width: 6px 6px 0 0;
  }
}
.shindan-about-section .box::after {
  inset-block-end: -2px;
  inset-inline-start: -2px;
  border-width: 0 0 4px 4px;
}
@media screen and (min-width: 768px) {
  .shindan-about-section .box::after {
    inset-block-end: -3px;
    inset-inline-start: -3px;
    border-width: 0 0 6px 6px;
  }
}
.shindan-about-section .txt {
  font-size: 14px;
  line-height: 1.8;
}
@media screen and (min-width: 768px) {
  .shindan-about-section .txt {
    font-size: 18px;
    line-height: 2;
  }
}
.shindan-about-section .c-note {
  margin-block-start: 0.7lh;
}

/* ===================================================================
   商品紹介セクション
   =================================================================== */
.shindan-intro-section {
  background-color: var(--color-shindan-white);
  padding-block-start: 40px;
}
@media screen and (min-width: 768px) {
  .shindan-intro-section {
    padding-block-start: 70px;
  }
}
.shindan-intro-section .inner-block {
  padding-block: 0;
}
.shindan-intro-section .c-ttl03 {
  background-color: var(--color-shindan-bg-cream);
  border-bottom: none;
  border-radius: 0;
  color: var(--color-shindan-red);
  display: flex;
  align-items: center;
  flex-direction: column;
  row-gap: 10px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  margin-block-end: 25px;
  margin-inline: auto;
  padding: 10px 20px;
  position: relative;
  text-align: center;
  max-inline-size: 1000px;
}
@media screen and (min-width: 768px) {
  .shindan-intro-section .c-ttl03 {
    row-gap: 20px;
    font-size: 24px;
    margin-block-end: 70px;
    padding: 25px 40px 40px;
  }
}
.shindan-intro-section .c-ttl03 .sub {
  color: var(--color-shindan-text);
  display: block;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .shindan-intro-section .c-ttl03 .sub {
    font-size: 16px;
  }
}
.shindan-intro-section .c-ttl03::after {
  content: "";
  position: absolute;
  inset-block-start: 100%;
  inset-inline-start: 50%;
  translate: -50% 0;
  border-style: solid;
  border-width: 20px 17px 0;
  border-color: var(--color-shindan-bg-cream) transparent transparent;
}
@media screen and (min-width: 768px) {
  .shindan-intro-section .c-ttl03::after {
    border-width: 66px 56px 0;
  }
}
.shindan-intro-section .c-note {
  margin-block-start: 15px;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .shindan-intro-section .c-note {
    margin-block-start: 20px;
  }
}

@media screen and (min-width: 768px) {
  .shindan-page .shindan-intro-section .c-ttl03 {
    padding: 33px 40px 33px;
  }
}

/* ===================================================================
   再診断ボタン
   =================================================================== */
.shindan-retry-section {
  background-color: var(--color-shindan-bg-cream);
  padding: 35px 0 40px;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .shindan-retry-section {
    padding: 65px 0 75px;
  }
}
.shindan-retry-section .c-btn03 {
  padding: 20px 20px;
  inline-size: 100%;
  max-inline-size: 600px;
}
@media screen and (min-width: 768px) {
  .shindan-retry-section .c-btn03 {
    padding: 30px 60px 30px;
    max-inline-size: 608px;
  }
}
.shindan-retry-section .c-btn03 .btn-txt {
  display: flex;
  flex-direction: column;
  padding-inline: 45px;
}
@media screen and (min-width: 768px) {
  .shindan-retry-section .c-btn03 .btn-txt .ico {
    left: 20px;
  }
}
.shindan-retry-section .c-btn03 .small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
}
@media screen and (min-width: 768px) {
  .shindan-retry-section .c-btn03 .small {
    font-size: 16px;
  }
}
.shindan-retry-section .c-btn03 .ttl {
  display: block;
  margin-block-start: 4px;
  font-size: 20px;
}
@media screen and (min-width: 768px) {
  .shindan-retry-section .c-btn03 .ttl {
    margin-block-start: 8px;
    font-size: 24px;
  }
}

/* ===================================================================
   結果画面（result.html）専用スタイル
   =================================================================== */
/* ---- ページ見出し ---- */
.shindan-result-mv-section {
  background-color: var(--color-shindan-bg-cream);
  padding: 25px 0 15px;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .shindan-result-mv-section {
    padding: 40px 0 32px;
  }
}
.shindan-result-mv-section .inner-block {
  inline-size: fit-content;
  padding: 34px 50px 30px 50px;
}
@media screen and (min-width: 768px) {
  .shindan-result-mv-section .inner-block {
    padding: 34px 78px 40px 94px;
  }
}
.shindan-result-mv-section .page-ttl {
  font-size: 24px;
}
@media screen and (min-width: 768px) {
  .shindan-result-mv-section .page-ttl {
    font-size: 40px;
    letter-spacing: 3px;
  }
}
.shindan-result-mv-section .page-ttl small {
  font-size: 18px;
}
@media screen and (min-width: 768px) {
  .shindan-result-mv-section .page-ttl small {
    font-size: 24px;
    letter-spacing: 0;
  }
}

/* ---- 診断結果ファンドエリア ---- */
.shindan-result-section {
  background-color: var(--color-shindan-bg-cream);
  padding-block-start: 40px;
}
.shindan-result-section .box-shindan {
  padding: 53px 20px 50px;
}
@media screen and (min-width: 768px) {
  .shindan-result-section .box-shindan {
    padding: 45px 40px 50px;
    border-radius: 30px;
    letter-spacing: auto;
  }
}
.shindan-result-section .box-shindan .balloon-shindan {
  margin: 0 auto;
  padding: 10px 18px;
  border-radius: 25px;
  font-size: 16px;
  letter-spacing: 0;
}
@media screen and (min-width: 768px) {
  .shindan-result-section .box-shindan .balloon-shindan {
    padding: 10px 27px;
    font-size: 22px;
  }
}
.shindan-result-section .result-wrap {
  display: flex;
  align-items: center;
  flex-direction: column;
}
@media screen and (min-width: 768px) {
  .shindan-result-section .result-wrap {
    max-width: 760px;
    margin: auto;
    padding-inline: 10px 3px;
  }
}
.shindan-result-section .fund-name {
  color: var(--color-shindan-red);
  display: flex;
  align-items: center;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  margin-block-start: 15px;
}
@media screen and (max-width: 767px) {
  .shindan-result-section .fund-name {
    flex-direction: column;
  }
}
@media screen and (min-width: 768px) {
  .shindan-result-section .fund-name {
    font-size: 40px;
    margin-block-start: 25px;
  }
}
.shindan-result-section .fund-name span {
  font-size: 45px;
}
@media screen and (min-width: 768px) {
  .shindan-result-section .fund-name span {
    font-size: 60px;
  }
}
.shindan-result-section .input-summary {
  background-color: #dbdbdb;
  color: var(--color-shindan-text);
  display: flex;
  font-size: 13px;
  margin-block-start: 15px;
  padding: 6px clamp(10px, 0.6132665832px + 2.5031289111vw, 30px);
}
@media screen and (max-width: 767px) {
  .shindan-result-section .input-summary {
    flex-direction: column;
    align-items: center;
    row-gap: 6px;
  }
}
@media screen and (min-width: 768px) {
  .shindan-result-section .input-summary {
    column-gap: 32px;
    font-size: 16px;
    padding: 8px 30px;
  }
}
.shindan-result-section .input-summary .ttl {
  font-weight: 400;
}
.shindan-result-section .allocation-wrap {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-block-start: 40px;
}
@media screen and (min-width: 901px) {
  .shindan-result-section .allocation-wrap {
    align-items: start;
    flex-direction: row;
    gap: 45px;
    margin-block-start: 50px;
  }
}
.shindan-result-section .allocation-area {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.shindan-result-section .allocation-ttl {
  border: 1px solid var(--color-shindan-border-gray);
  border-radius: 30px;
  display: inline-flex;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 30px;
}
@media screen and (max-width: 767px) {
  .shindan-result-section .allocation-ttl {
    inline-size: 100%;
    max-inline-size: 230px;
  }
}
@media screen and (min-width: 768px) {
  .shindan-result-section .allocation-ttl {
    font-size: 18px;
    padding: 6px 60px;
  }
}
.shindan-result-section .description-box {
  background-color: var(--color-shindan-bg-cream);
  border-radius: 16px;
  padding: 20px;
  text-align: start;
}
@media screen and (min-width: 768px) {
  .shindan-result-section .description-box {
    border-radius: 20px;
    padding: 40px 30px;
  }
}
.shindan-result-section .description-box .txt {
  font-size: 14px;
  line-height: 1.6;
}
@media screen and (min-width: 768px) {
  .shindan-result-section .description-box .txt {
    font-size: 15px;
    line-height: 1.67;
  }
}
.shindan-result-section .allocation-note {
  align-self: flex-start;
  margin-block-start: 20px;
}
@media screen and (min-width: 768px) {
  .shindan-result-section .allocation-note {
    margin-block-start: 30px;
  }
}

/* ---- 基本投資割合 円グラフ（CSS描画・アニメーション付き） ---- */
.pie-chart-wrap {
  display: flex;
  justify-content: center;
  margin-block-start: 20px;
}

/* 円グラフの露出アニメーション用 */
@property --pie-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
.pie-frame {
  flex-shrink: 0;
  block-size: clamp(235px, 10.1913265306px + 59.9489795918vw, 470px);
  position: relative;
  inline-size: clamp(235px, 10.1913265306px + 59.9489795918vw, 470px);
  block-size: clamp(235px, 129.7704081633px + 28.0612244898vw, 345px);
  position: relative;
  inline-size: clamp(235px, 129.7704081633px + 28.0612244898vw, 345px);
}
@media screen and (min-width: 768px) {
  .pie-frame {
    block-size: 280px;
    inline-size: 280px;
  }
}
.pie-frame .pie-chart {
  border-radius: 50%;
  block-size: 100%;
  inline-size: 100%;
  --pie-angle: 0deg;
  -webkit-mask-image: conic-gradient(#000 0deg, #000 var(--pie-angle), transparent var(--pie-angle));
  mask-image: conic-gradient(#000 0deg, #000 var(--pie-angle), transparent var(--pie-angle));
  transition: --pie-angle 1.2s cubic-bezier(0.33, 1, 0.68, 1);
}
.pie-frame.is-active .pie-chart {
  --pie-angle: 360deg;
}

/* 各スライス中央のラベル。 */
.pie-legend {
  block-size: 100%;
  inline-size: 100%;
  inset-block-start: 0;
  inset-inline-start: 0;
  pointer-events: none;
  position: absolute;
}
.pie-legend .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  text-align: center;
  inline-size: max-content;
  opacity: 0;
  transform: translate(-50%, calc(-50% + 12px));
  transition: transform 0.5s ease, opacity 0.5s ease;
}
.pie-legend .label {
  color: var(--color-shindan-text);
  font-size: clamp(16px, 7.3903061224px + 2.2959183673vw, 25px);
  font-weight: 500;
}
@media screen and (min-width: 768px) {
  .pie-legend .label {
    font-size: 18px;
  }
}
.pie-legend .percent {
  color: var(--color-shindan-text);
  font-size: clamp(17px, 0.737244898px + 4.3367346939vw, 34px);
  font-weight: 500;
}
@media screen and (min-width: 768px) {
  .pie-legend .percent {
    font-size: 32px;
  }
}
.pie-legend .percent .sign {
  font-size: 0.6em;
}
.pie-legend.is-active .item {
  opacity: 1;
  transform: translate(-50%, -50%);
}
.pie-legend.is-active .item:nth-child(1) {
  transition-delay: 0.5s;
}
.pie-legend.is-active .item:nth-child(2) {
  transition-delay: 0.65s;
}
.pie-legend.is-active .item:nth-child(3) {
  transition-delay: 0.8s;
}
.pie-legend.is-active .item:nth-child(4) {
  transition-delay: 0.95s;
}

/* ---- 矢印バナー ---- */
.shindan-arrow-wrap {
  background-color: var(--color-shindan-bg-cream);
  padding: 30px 15px;
}
@media screen and (min-width: 768px) {
  .shindan-arrow-wrap {
    padding: 65px 20px;
  }
}

/* --- 矢印バナー改良版 --- */
/* ▼ 555px以下:図形の幅が画面幅の約92%になる計算 */
/* 元SVGの該当部分(580×190)を --u 単位で再現 */
.result-arrow {
  position: relative;
  width: calc(580 * var(--u));
  height: calc(190 * var(--u));
  margin: 0 auto;
  color: var(--text-color);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.result-arrow.is-show {
  opacity: 1;
}

/* 角丸の黄色いボックス */
.result-arrow__box {
  position: absolute;
  top: 0;
  left: calc(80 * var(--u));
  width: calc(420 * var(--u));
  height: calc(90.34 * var(--u));
  background: var(--arrow-color);
  border-radius: calc(5.258 * var(--u));
}

/* 下向きの三角形 */
.result-arrow__triangle {
  position: absolute;
  top: calc(81.42 * var(--u));
  left: 0;
  width: 100%;
  height: calc(95.69 * var(--u));
  background: var(--arrow-color);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

/* 三角形の下にある細いV字ライン(2px・両端を0.5%ずつ短縮) */
.result-arrow__line {
  position: absolute;
  inset: 0;
  background: var(--arrow-color);
  clip-path: polygon(0.5% 48.93%, 50% 98.78%, 99.5% 48.93%, 99.5% 50.04%, 50% 100%, 0.5% 50.04%);
}

/* テキスト(縦中央基準) */
.result-arrow__text {
  position: absolute;
  top: calc(68.2 * var(--u));
  transform: translateY(-50%);
  left: 0;
  width: 100%;
  margin: 0;
  font-size: calc(18 * var(--u));
  line-height: calc(28.8 * var(--u));
  text-align: center;
}

/* =========================================
    767px以下:キャプチャのバランス(横長・平たい矢印)
    ボックスの高さは58.5px固定。
    三角形・V字ラインはその下に、幅に合わせて縮みながらつながる
    ========================================= */
@media (max-width: 767px) {
  .result-arrow {
    height: calc(58px + 71 * var(--u)); /* ボックス固定分 + 三角形・V字 */
  }
  .result-arrow__box {
    height: 58.5px; /* ★固定 */
    border-radius: 0; /* キャプチャは角丸なし */
  }
  .result-arrow__triangle {
    top: 58px; /* ボックスと0.5pxだけ重ねて隙間を防ぐ */
    height: calc(57.5 * var(--u));
  }
  /* V字ラインは三角形の上端(58px)を起点にした領域で描画 */
  .result-arrow__line {
    inset: auto;
    top: 58px;
    left: 0;
    width: 100%;
    height: calc(71 * var(--u));
    clip-path: polygon(0.5% 15.74%, 50% 95.92%, 99.5% 15.74%, 99.5% 18.61%, 50% 98.79%, 0.5% 18.61%);
  }
  /* テキストは13px固定・位置もボックスに合わせて固定 */
  .result-arrow__text {
    top: calc(40px + 5 * var(--u));
    font-size: 13px;
    line-height: 1.6;
  }
}
/* ---- ファンドの運用実績（パフォーマンス推移・つみたてシミュレーション） ---- */
.product-simulation-section {
  background-color: var(--color-shindan-bg-cream);
}
.product-simulation-section .inner-block {
  background-color: var(--color-shindan-white);
  background-clip: content-box;
}

.shindan-arrow-section {
  background-color: var(--color-shindan-yellow);
  clip-path: polygon(13.79% 0, 86.21% 0, 86.21% 50%, 100% 50%, 50% 100%, 0 50%, 13.79% 50%);
  margin: 0 auto;
  max-inline-size: 580px;
  padding: 18px 80px 36px;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .shindan-arrow-section {
    padding: 28px 80px 56px;
  }
}
.shindan-arrow-section .arrow-txt {
  color: var(--color-shindan-text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}
@media screen and (min-width: 768px) {
  .shindan-arrow-section .arrow-txt {
    font-size: 18px;
  }
}

/* ---- ファンドの運用実績（見出し帯） ---- */
.shindan-simulation-ttl {
  background-color: var(--color-shindan-yellow);
  font-size: 15px;
  font-weight: 700;
  margin-block-end: 0;
  padding: 12px;
  text-align: center;
  border-bottom: none;
}
@media screen and (min-width: 768px) {
  .shindan-simulation-ttl {
    font-size: 20px;
    padding: 18px;
  }
}

/* 2070のみ：つみたてシミュレーションを非表示にする */
.accumulation-simulation_product-tyf_my-target.is-hidden {
  display: none;
}