/*====================================*/
/* advice
/*====================================*/
.advice {
  width: 1060px;
  margin: 48px auto 0;

  @media screen and (max-width: 767px) {
    width: calc(100% - 40px);
    margin: 24px auto 0;
  }

  .advice__flex {
    margin-top: 32px;
    padding: 48px 60px;
    display: flex;
    flex-flow: row;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
    background-color: #F9F4F2;
    background-image: url(../images/index/balance.svg);
    background-repeat: no-repeat;
    background-size: 500px 415px;
    background-position: bottom 13px right 43px;

    @media screen and (max-width: 767px) {
      margin-top: 20px;
      padding: 16px;
      flex-flow: column;
      background-image: none;
    }
  }

  .advice__visual {
    width: 380px;
    height: 380px;
    margin-right: 48px;
    flex-shrink: 0;

    @media screen and (max-width: 767px) {
      width: 100%;
      height: auto;
      aspect-ratio: 1/1;
      margin-right: 0;
    }
  }

  .advice__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }

  .advice__contents {
    @media screen and (max-width: 767px) {
      margin-top: 32px;
    }
  }

  .advice__title {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.5em;
    color: var(--color-primary);

    @media screen and (max-width: 767px) {
      font-size: 16px;
      line-height: 1.75em;
    }
  }

  .advice__text {
    margin-top: 24px;

    @media screen and (max-width: 767px) {
      font-size: 14px;
      margin-top: 12px;
    }
  }

  .advice__text + .advice__text {
    margin-top: 16px;
  }
}

/*====================================*/
/* footer
/*====================================*/
.footer {
  margin-top: 100px;

  @media screen and (max-width: 767px) {
    margin-top: 80px;
  }
}

/*====================================*/
/* graph
/*====================================*/
.graph {
  width: 100%;
  margin-top: 96px;
  padding-top: 96px;
  border-top: 1px solid #DFDFE4;

  @media screen and (max-width: 767px) {
    margin-top: 64px;
    padding-top: 64px;
  }

  .graph__inner {
    width: 1060px;
    margin: 0 auto;

    @media screen and (max-width: 767px) {
      width: calc(100% - 40px);
    }
  }

  .graph__panel {
    width: 100%;
    margin-top: 32px;
    padding: 48px;
    border-radius: 8px;
    background-color: #F9F4F2;

    @media screen and (max-width: 767px) {
      margin-top: 24px;
      padding: 16px;
    }
  }

  .graph__visual {
    width: 100%;
  }

  .graph__image {
    width: 100%;
    height: auto;
    display: block;
  }

  .c-annotation {
    margin-top: 16px;
  }

  .graph__flex {
    width: 100%;
    margin-top: 48px;
    display: flex;
    flex-flow: row;
    justify-content: flex-start;
    align-items: stretch;
    border-radius: 8px;
    border: 3px solid #F3ECE7;
    overflow: hidden;

    @media screen and (max-width: 767px) {
      margin-top: 24px;
      flex-flow: column;
      justify-content: center;
      align-items: center;
    }
  }

  .graph__title {
    width: 240px;
    background-color: var(--color-primary);
    font-size: 20px;
    line-height: 1.75em;
    text-align: center;
    color: #fff;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;

    @media screen and (max-width: 767px) {
      width: 100%;
      height: 100px;
    }
  }

  .graph__contents {
    width: calc(100% - 240px);
    padding: 24px;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: flex-start;
    background-color: #fff;

    @media screen and (max-width: 767px) {
      width: 100%;
      padding: 16px;
    }


    .c-annotation {
      margin-top: 8px;
    }
  }
}

/*====================================*/
/* funds
/*====================================*/
.funds {
  width: 1060px;
  margin: 96px auto 0 auto;

  @media screen and (max-width: 767px) {
    width: calc(100% - 40px);
    margin: 64px auto 0 auto;
  }

  .funds__panel {
    margin-top: 32px;
    padding: 48px;
    border-radius: 16px;
    background-color: #F9F4F2;

    @media screen and (max-width: 767px) {
      margin-top: 24px;
      padding: 24px 16px;
    }
  }

  .funds__introduce-text {
    font-size: 24px;
    line-height: 1.5em;
    text-align: center;
    color: #77778C;

    @media screen and (max-width: 767px) {
      font-size: 16px;
      line-height: 1.75em;
      text-align: left;
    }
  }

  .funds__flex {
    margin-top: 48px;
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    align-items: stretch;
    gap: 16px;

    @media screen and (max-width: 767px) {
      margin-top: 20px;
      flex-flow: column;
      justify-content: center;
      align-items: center;
    }
  }

  .funds__item {
    width: 310px;
    padding: 40px 20px;
    background-color: #fff;
    border-radius: 14px;
    border: 1px solid #E5E7EB;

    @media screen and (max-width: 767px) {
      width: 100%;
      padding: 20px 16px;
    }
  }

  .funds__pattern {
    font-size: 26px;
    font-weight: 700;
    text-align: center;
  }

  .funds__pattern-text {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4em;
    text-align: center;
    margin-top: 8px;
  }

  .funds__image {
    width: 214px;
    height: auto;
    display: block;
    margin: 20px auto 0 auto;

    @media screen and (max-width: 767px) {
      margin: 12px auto 0 auto;
    }
  }

  .funds__feature {
    font-size: 20px;
    text-align: center;
    margin-top: 20px;

    @media screen and (max-width: 767px) {
      margin-top: 12px;
    }
  }

  .funds__feature-text {
    font-size: 14px;
    color: #77778C;
    margin-top: 4px;
  }

  .funds__rating {
    width: 100%;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #D1D5DB;

    @media screen and (max-width: 767px) {
      margin-top: 12px;
      padding-top: 12px;
    }
  }

  .funds__rating-title {
    font-size: 20px;
    text-align: center;
    margin-bottom: 8px;
  }

  .funds__performance {
    width: 108px;
    margin: 0 auto;
    display: flex;
    flex-flow: row;
    justify-content: flex-start;
    align-items: center;
  }

  .funds__performance-label {
    color: #77778C;
    margin-right: 14px;
  }

  .funds__performance-star {
    width: 64px;
    text-align: center;
    color: #B68A69;
  }

  .funds__performance-text {
    width: 64px;
    text-align: center;
    color: #B68A69;
  }

  .funds__return {
    width: 100%;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #D1D5DB;

    @media screen and (max-width: 767px) {
      margin-top: 12px;
      padding-top: 12px;
    }
  }

  .funds__return-title {
    font-size: 20px;
    text-align: center;
    margin-bottom: 8px;
  }

  .funds__pf-flex {
    width: 100%;
    margin-top: 48px;
    display: flex;
    flex-flow: row;
    justify-content: center;
    align-items: stretch;
    border-radius: 8px;
    border: 3px solid #F3ECE7;
    overflow: hidden;

    @media screen and (max-width: 767px) {
      margin-top: 24px;
      flex-flow: column;
      justify-content: center;
      align-items: center;
    }
  }

  .funds__pf-title {
    width: 240px;
    background-color: var(--color-primary);
    font-size: 20px;
    line-height: 1.75em;
    text-align: center;
    color: #fff;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;

    @media screen and (max-width: 767px) {
      width: 100%;
      height: 68px;
    }
  }

  .funds__pf-contents {
    width: calc(100% - 240px);
    padding: 24px;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: flex-start;
    background-color: #fff;

    @media screen and (max-width: 767px) {
      width: 100%;
      padding: 16px;
    }

    .c-annotation {
      margin-top: 8px;
    }
  }
}

/*====================================*/
/* feature
/*====================================*/
.feature {
  width: 1060px;
  margin: 96px auto 0 auto;

  @media screen and (max-width: 767px) {
    width: calc(100% - 40px);
    margin: 80px auto 0 auto;
  }

  .feature__contents {
    margin-top: 32px;
    padding: 48px;
    border-radius: 8px;
    background-color: #F9F4F2;

    @media screen and (max-width: 767px) {
      margin-top: 24px;
      padding: 16px;
    }
  }

  .feature__flex {
    margin-top: 16px;
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    align-items: stretch;
    border-radius: 8px;
    border: 2px solid #F3ECE7;
    overflow: hidden;

    @media screen and (max-width: 767px) {
      width: 100%;
      flex-flow: column;
      justify-content: center;
      align-items: center;
    }
  }

  .feature__flex:first-child {
    margin-top: 0;
  }

  .feature__no {
    width: 190px;
    height: 145px;
    background-color: #FCF9F9;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    color: var(--color-primary);
    flex-shrink: 0;

    @media screen and (max-width: 767px) {
      width: 100%;
      height: 70px;
      font-size: 12px;
      line-height: 2em;
    }

    span {
      font-size: 48px;
      font-family: var(--font-en);
      margin-top: 4px;
      padding-top: 8px;
      background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-third) 100%);
      background-clip: text;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      display: inline-block;

      @media screen and (max-width: 767px) {
        font-size: 24px;
        margin-top: 0;
        padding-top: 0;
      }
    }
  }

  .feature__text {
    width: calc(100% - 190px);
    padding: 24px;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: flex-start;
    background-color: #fff;

    @media screen and (max-width: 767px) {
      width: 100%;
      padding: 16px;
    }
  }

  .c-annotation {
    margin-top: 16px;
  }
}

/*====================================*/
/* manager
/*====================================*/
.manager {
  width: 100%;
  margin-top: 96px;
  padding-top: 96px;
  border-top: 1px solid #DFDFE4;

  @media screen and (max-width: 767px) {
    margin-top: 64px;
    padding-top: 64px;
  }

  .manager__inner {
    width: 1060px;
    margin: 0 auto;

    @media screen and (max-width: 767px) {
      width: calc(100% - 40px);
    }
  }

  .manager__flex {
    margin-top: 32px;
    padding: 48px;
    border-radius: 8px;
    background-color: #F9F4F2;
    display: flex;
    flex-flow: row;
    justify-content: flex-start;
    align-items: flex-start;

    @media screen and (max-width: 767px) {
      margin-top: 24px;
      padding: 16px;
      flex-flow: row wrap;
      align-items: center;
    }
  }

  .manager__visual {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin-right: 44px;
    flex-shrink: 0;

    @media screen and (max-width: 767px) {
    width: 110px;
    height: 110px;
    margin-right: 20px;
    }
  }

  .manager__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .manager__contents {
    @media screen and (max-width: 767px) {
      width: 100%;
    }
  }

  .manager__label {
    font-size: 20px;
    color: var(--color-primary);

    @media screen and (max-width: 767px) {
      font-size: 12px;
    }
  }

  .manager__name {
    font-size: 30px;
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 10px;

    @media screen and (max-width: 767px) {
      font-size: 20px;
      margin-top: 0;
    }
  }

  .manager__text {
    margin-top: 16px;

    @media screen and (max-width: 767px) {
      font-size: 14px;
      margin-top: 12px;
    }
  }

  .manager__text + .manager__text {
    @media screen and (max-width: 767px) {
      margin-top: 16px;
    }
  }

  .c-annotation {
    margin-top: 16px;
  }
}

/*====================================*/
/* buy
/*====================================*/
.buy {
  width: 100%;
  margin-top: 96px;
  padding-top: 96px;
  border-top: 1px solid #DFDFE4;

  @media screen and (max-width: 767px) {
    margin-top: 64px;
    padding-top: 64px;
  }

  .buy__inner {
    width: 1060px;
    margin: 0 auto;
    padding: 64px;
    background-color: #F9F4F2;
    border-radius: 8px;
    border: 8px solid #FCF9F9;

    @media screen and (max-width: 767px) {
      width: calc(100% - 40px);
      padding: 24px 16px;
    }
  }

  .buy__title {
    font-size: 36px;
    text-align: center;
    color: var(--color-primary);

    @media screen and (max-width: 767px) {
      font-size: 20px;
    }
  }

  .buy__text {
    font-weight: 700;
    line-height: 1.9em;
    text-align: center;
    margin-top: 20px;

    @media screen and (max-width: 767px) {
      font-size: 14px;
      font-weight: 500;
      line-height: 1.75em;
      margin-top: 10px;
    }
  }

  .buy__flex {
    width: 764px;
    margin: 40px auto 0 auto;
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    align-items: center;
    gap: 16px;

    @media screen and (max-width: 767px) {
      width: 244px;
      margin: 20px auto 0 auto;
      flex-flow: column;
      justify-content: center;
    }

    .c-primary-button-s {
      width: 244px;
    }
  }

  .buy__small {
    font-size: 12px;
    line-height: 1.75em;
    color: #77778C;
    text-align: center;
    margin-top: 40px;

    @media screen and (max-width: 767px) {
      text-align: left;
      margin-top: 20px;
    }
  }

  .buy__link {
    display: inline;
    text-decoration: underline;
    color: var(--color-primary);
    word-break: break-all;
  }
}


.c-annotation {
  margin-top: 16px;

  .c-annotation__text {
    font-size: 14px;
    color: #8E8EA1;
    padding-left: 1.6em;
    text-indent: -0.8em;
  }

  .c-annotation__text:nth-child(n + 2) {
    margin-top: 0;
  }
}
