:root {
  --cl-bl: #2d6aae;
  --cl-gr: #32b988;
  --cl-bl-bg: #f0f7ff;
  --cl-gr-bg: #edf5f2;
}

.body-fixed {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
}

.cl-bl {
  color: var(--cl-bl);
}

.cl-gr {
  color: var(--cl-gr);
}

.cl-bl-bg {
  color: var(--cl-bl-bg);
}

.cl-gr-bg {
  color: var(--cl-gr-bg);
}

.block-carepartner {
  font-weight: 400;

  h1 {
    img {
      display: block;
      height: auto;
    }
  }

  @media screen and (min-width: 767px) {
    h1 {
      img {
        border-radius: 10px;
      }
    }

    .sp-only {
      display: none;
    }
  }

  .block-top-annotation {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
    font-size: 1.2rem;

    dt {
      padding-right: 0.5em;
    }
  }

  .block-top-comment {
    margin-top: 20px;
    padding: 0 10px;
    font-size: 1.4rem;
    text-align: center;
  }

  @media screen and (min-width: 767px) {
    .block-top-comment {
      margin-top: 40px;
    }
  }

  .block-sec_1 {
    margin-top: 35px;
    padding: 0 10px;

    h2 {
      font-size: 2rem;
      font-weight: 700;
      text-align: center;
    }

    .block-sec_1-list {
      margin-top: 16px;

      .block-sec_1-list-item {
        padding: 15px;
        border-radius: 10px;

        & + .block-sec_1-list-item {
          margin-top: 15px;
        }

        > ul {
          li {
            position: relative;
            padding-left: 19px;

            & + li {
              margin-top: 8px;
            }

            &::before {
              content: "";
              display: block;
              position: absolute;
              top: 5px;
              left: 0;
              width: 13px;
              height: 13px;
              background-image: url(../../../img/pages/info_carepartner/icon_check_bl.png);
              background-position: center;
              background-repeat: no-repeat;
              background-size: contain;
            }
          }
        }

        .list-btn {
          margin-top: 15px;

          a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 45px;
            border-radius: 45px;
            background-color: var(--cl-bl);
            color: #ffffff;
            font-size: 1.4rem;
            font-weight: 700;
            text-align: center;
          }
        }

        .list-link {
          margin-top: 12px;
          font-size: 1.3rem;
          text-align: center;

          a {
            color: var(--cl-bl);
            text-decoration: underline;
          }
        }

        &.soeru {
          background-color: var(--cl-bl-bg);
        }

        &.care {
          background-color: var(--cl-gr-bg);

          > ul {
            li {
              &::before {
                background-image: url(../../../img/pages/info_carepartner/icon_check_gr.png);
              }
            }
          }

          .list-btn {
            a {
              background-color: var(--cl-gr);
            }
          }

          .list-link {
            a {
              color: var(--cl-gr);
            }
          }
        }
      }
    }
  }

  @media screen and (min-width: 767px) {
    .block-sec_1 {
      margin-top: 60px;
      padding: 0;

      h2 {
        font-size: 2.8rem;
      }

      .block-sec_1-list {
        display: flex;
        justify-content: space-between;
        margin-top: 24px;

        .block-sec_1-list-item {
          width: calc((100% - 16px) / 2);
          padding: 24px;
          border-radius: 10px;

          & + .block-sec_1-list-item {
            margin: 0 0 0 16px;
          }

          > ul {
            height: 260px;

            li {
              position: relative;
              padding-left: 34px;

              & + li {
                margin-top: 10px;
              }

              &::before {
                top: 1px;
                width: 20px;
                height: 20px;
              }
            }
          }

          .list-btn {
            margin-top: 0;

            a {
              height: 44px;
              border-radius: 44px;
              font-size: 1.6rem;
            }
          }

          .list-link {
            margin-top: 16px;
          }
        }
      }
    }
  }

  .block-carepartner-info {
    margin-top: 20px;
    padding: 25px 20px 20px;

    h2 {
      margin: 0;
      padding: 0;
      font-size: 2rem;
      font-weight: 700;
      text-align: center;

      .txt-s {
        font-size: 1.5rem;
      }
    }

    .item-logo {
      display: flex;
      justify-content: center;
      margin-top: 20px;

      img {
        width: 172px;
        height: auto;
      }
    }

    .item-intro {
      margin-top: 10px;

      p {
        font-size: 1.4rem;

        &.ttl {
          font-size: 1.5rem;
          font-weight: 700;

          .cl-gr {
            font-size: 1.8rem;
          }
        }

        & + p {
          margin-top: 10px;
        }

        b {
          font-size: 1.5rem;
          font-weight: 700;
        }
      }
    }

    .item-mv {
      margin-top: 10px;

      img {
        display: block;
        width: 100%;
        height: auto;
        border-radius: 10px;
      }
    }

    &.soeru {
      background-color: var(--cl-bl-bg);
    }

    &.care {
      background-color: var(--cl-gr-bg);
    }
  }

  @media screen and (min-width: 767px) {
    .block-carepartner-info {
      margin-top: 40px;
      padding: 40px 24px;

      & + .block-carepartner-info {
        margin-top: 20px;
      }

      h2 {
        font-size: 2.8rem;

        .txt-s {
          font-size: 2.2rem;
        }
      }

      .item-logo {
        img {
          width: 257px;
        }
      }

      .item-intro {
        margin-top: 20px;
        text-align: center;

        p {
          &.ttl {
            font-size: 1.8rem;

            .cl-gr {
              font-size: 2.4rem;
            }
          }

          & + p {
            margin-top: 10px;
          }

          b {
            font-size: 1.6rem;
            font-weight: 700;
          }
        }
      }

      .item-mv {
        margin-top: 20px;
      }
    }
  }

  .block-carepartner-info {
    .item-service {
      margin-top: 20px;
      border-radius: 10px;
      background-color: #ffffff;
      overflow: hidden;

      h3 {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 70px;
        color: #ffffff;
        font-size: 1.6rem;
        font-weight: 700;
        text-align: center;
      }

      ul {
        padding: 15px;

        li {
          & + li {
            margin-top: 20px;
          }

          .list-img {
            img {
              display: block;
              width: 100%;
              height: auto;
              border-radius: 10px;
            }
          }

          .list-detail {
            margin-top: 12px;
          }

          .list-no {
            display: flex;
            font-size: 1.6rem;
            font-weight: 700;

            dt {
              flex-shrink: 0;
              font-size: 1.7rem;
              margin-right: 10px;
            }
          }

          .list-comment {
            margin-top: 10px;
            font-size: 1.4rem;
          }
        }
      }
    }

    &.soeru {
      .item-service {
        h3 {
          background-color: var(--cl-bl);
        }
      }
    }

    &.care {
      .item-service {
        h3 {
          background-color: var(--cl-gr);
        }
      }
    }
  }

  @media screen and (min-width: 767px) {
    .block-carepartner-info {
      .item-service {
        margin-top: 30px;

        h3 {
          height: 60px;
          font-size: 2rem;
        }

        ul {
          padding: 24px;

          li {
            display: flex;
            justify-content: space-between;

            & + li {
              margin-top: 24px;
            }

            .list-img {
              width: 200px;
            }

            .list-detail {
              width: 448px;
              margin: 0;
            }

            .list-no {
              align-items: center;

              dt {
                font-size: 1.8rem;
                margin-right: 8px;
              }
            }
          }
        }
      }
    }
  }

  .block-carepartner-info {
    .item-why {
      margin-top: 20px;

      .top-comment {
        font-size: 1.4rem;
        font-weight: 700;
        text-align: center;

        img {
          display: inline;
          position: relative;
          top: -2px;
          width: 129px;
          vertical-align: middle;
        }
      }

      .place {
        margin-top: 20px;
        border-radius: 10px;
        background-color: #ffffff;
        overflow: hidden;

        h3 {
          display: flex;
          align-items: center;
          justify-content: center;
          width: 100%;
          height: 50px;
          color: #ffffff;
          font-size: 1.6rem;
          font-weight: 700;
          text-align: center;
        }

        > p {
          padding: 15px 15px 0;
          font-size: 1.4rem;
        }

        .place-list + p {
          padding-top: 0;
        }

        .btn-round {
          padding: 15px;
          text-align: center;

          p {
            font-size: 1.3rem;
          }

          a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 45px;
            margin-top: 12px;
            border-radius: 45px;
            background-color: var(--cl-gr);
            color: #ffffff;
            font-size: 1.4rem;
            font-weight: 700;
          }
        }

        .place-list {
          display: flex;
          flex-wrap: wrap;
          justify-content: space-between;
          gap: 5px;
          padding: 12px 15px 15px;

          .place-list-item {
            width: calc((100% - 5px) / 2);

            > button {
              display: flex;
              align-items: center;
              justify-content: center;
              position: relative;
              width: 100%;
              height: 40px;
              border-radius: 4px;
              background-color: #ffffff;
              font-size: 1.4rem;
              cursor: pointer;

              &::after {
                content: "";
                display: block;
                position: absolute;
                top: 50%;
                right: 16px;
                width: 6px;
                height: 6px;
                margin-top: -3px;
                border-top: 1px solid var(--cl-bl);
                border-right: 1px solid var(--cl-bl);
                transform: rotate(45deg);
              }
            }
          }

          .place-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            height: 100dvh;
            z-index: 999;

            .place-modal-inner {
              display: flex;
              align-items: center;
              justify-content: center;
              position: relative;
              width: 100%;
              height: 100%;

              .place-modal-close {
                display: flex;
                align-items: center;
                justify-content: center;
                position: fixed;
                top: 0;
                right: 0;
                width: 50px;
                height: 40px;
                background-color: var(--cl-bl);
                color: #ffffff;
                font-size: 1.2rem;
                cursor: pointer;
                z-index: 9;
              }

              .place-modal-bg {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background-color: rgba(255, 255, 255, 0.9);
              }

              .place-modal-body {
                position: relative;
                width: calc(100% - 20px);
                max-height: calc(100vh - 32px);
                padding: 16px;
                background-color: #fff;
                box-shadow: 1px 1px 3px 0px rgba(2, 2, 2, 0.23);
                overflow: auto;

                .ttl {
                  font-size: 1.8rem;
                  font-weight: 700;
                }

                table {
                  width: 100%;
                  margin-top: 10px;
                  font-size: 1.5rem;

                  th,
                  td {
                    padding: 5px;
                    border-top: 1px solid #dddddd;
                    border-bottom: 1px solid #dddddd;
                    vertical-align: middle;

                    &:first-child {
                      padding-left: 0;
                    }

                    &:last-child {
                      padding-right: 0;
                    }
                  }

                  a {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    height: 20px;
                    padding: 0 10px;
                    border-radius: 20px;
                    background-color: var(--cl-bl);
                    color: #ffffff;
                    font-size: 0.9rem;
                    font-weight: 700;
                    white-space: nowrap;
                    line-height: 1;
                  }
                }

                @media screen and (max-width: 766px) {
                  table,
                  tbody,
                  tr,
                  th,
                  td {
                    display: block;
                    width: 100%;
                  }

                  table {
                    tr {
                      padding: 10px 0;
                      border-top: 1px solid #dddddd;

                      &:last-child {
                        border-bottom: 1px solid #dddddd;
                      }
                    }

                    th,
                    td {
                      padding: 2px 0;
                      border: none;
                      font-size: 1.4rem;

                      &:first-child {
                        font-size: 1.6rem;
                      }

                      a {
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        width: 200px;
                        height: 30px;
                        margin: 5px auto 0;
                        padding: 0 10px;
                        border-radius: 20px;
                        background-color: var(--cl-bl);
                        color: #ffffff;
                        font-size: 1.4rem;
                        font-weight: 700;
                        white-space: nowrap;
                        line-height: 1;
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }

    &.soeru {
      .item-why .place {
        h3 {
          background-color: var(--cl-bl);
        }

        .place-list-item > button {
          border: 1px solid var(--cl-bl);
        }
      }
    }

    &.care {
      .item-why .place {
        h3 {
          background-color: var(--cl-gr);
        }

        .place-list-item > button {
          border: 1px solid var(--cl-gr);

          &::after {
            border-color: var(--cl-gr);
          }
        }

        .place-modal-close {
          background-color: var(--cl-gr) !important;
        }

        .place-modal-body {
          table {
            a {
              background-color: var(--cl-gr) !important;
            }
          }
        }
      }
    }
  }

  @media screen and (min-width: 767px) {
    .block-carepartner-info {
      .item-why {
        margin-top: 30px;

        .top-comment {
          font-size: 1.8rem;

          img {
            top: -3px;
            width: 172px;
            margin: 0 10px;
          }
        }

        .place {
          margin-top: 47px;

          h3 {
            height: 60px;
            font-size: 2rem;
          }

          > p {
            padding: 24px 24px 0;
            text-align: center;
          }

          .btn-round {
            padding: 24px;

            p {
              font-size: 1.4rem;
            }

            a {
              width: 340px;
              height: 44px;
              margin: 10px auto 0;
              border-radius: 44px;
              font-size: 1.6rem;
              font-weight: 700;
            }
          }

          .place-list {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 12px;
            padding: 24px;

            .place-list-item {
              width: calc((100% - 24px) / 3);

              > button {
                &::after {
                  width: 8px;
                  height: 8px;
                  margin-top: -4px;
                }
              }
            }

            .place-modal {
              width: 100%;
              height: 100%;

              .place-modal-inner {
                display: flex;
                align-items: center;
                justify-content: center;
                position: relative;
                width: 100%;
                height: 100%;

                .place-modal-close {
                  top: 20px;
                  width: 54px;
                  height: 42px;
                }

                .place-modal-body {
                  position: relative;
                  width: 768px;
                  max-height: calc(100vh - 60px);
                  padding: 30px 24px;

                  .ttl {
                    font-size: 2rem;
                  }

                  table {
                    margin-top: 24px;
                    font-size: 1.6rem;

                    th,
                    td {
                      padding: 10px 5px;

                      &:last-child {
                        width: 125px;
                      }
                    }

                    a {
                      width: 124px;
                      height: 30px;
                      padding: 0 10px;
                      border-radius: 20px;
                      font-size: 1.2rem;
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }

  .block-carepartner-info {
    .item-why {
      .present {
        margin-top: 20px;
        padding: 15px;
        border-radius: 10px;
        background-color: #ffffff;

        .ttl {
          font-size: 1.5rem;
          font-weight: 700;
          text-align: center;

          b {
            display: block;
            margin-top: 2px;
            font-size: 2rem;
            text-decoration: underline;
          }
        }

        .comment {
          margin-top: 15px;
          font-size: 1.4rem;
        }

        .btn-round {
          margin-top: 15px;
          text-align: center;

          p {
            font-size: 1.3rem;
          }

          a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 45px;
            margin-top: 12px;
            border-radius: 45px;
            background-color: var(--cl-bl);
            color: #ffffff;
            font-size: 1.4rem;
            font-weight: 700;
          }
        }
      }

      .bottom {
        margin-top: 20px;
        text-align: center;

        p {
          margin-bottom: 10px;
          font-size: 1.4rem;
        }

        a {
          position: relative;
          font-size: 1.4rem;
          font-weight: 700;
          text-decoration: underline;

          &::after {
            content: "";
            display: inline-block;
            position: relative;
            top: 2px;
            width: 13px;
            height: 13px;
            margin-left: 3px;
            background-image: url(../../../img/pages/info_carepartner/icon_link_gr.png);
            background-position: center;
            background-repeat: no-repeat;
            background-size: contain;
          }
        }
      }
    }

    &.care {
      .item-why {
        .present {
          a {
            background-color: var(--cl-gr);
          }
        }
      }
    }
  }

  @media screen and (min-width: 767px) {
    .block-carepartner-info {
      .item-why {
        .present {
          margin-top: 16px;
          padding: 24px;

          .ttl {
            position: relative;
            padding-bottom: 3px;
            font-size: 1.8rem;
            font-weight: 700;
            text-align: center;

            &::after {
              content: "";
              display: block;
              position: absolute;
              bottom: 0;
              left: 0;
              width: 100%;
              height: 3px;
              background-color: var(--cl-bl);
            }

            b {
              display: inline;
              font-size: 2.4rem;
              text-decoration: none;
            }
          }

          .comment {
            margin-top: 16px;
            text-align: center;
          }

          .btn-round {
            margin-top: 24px;

            p {
              font-size: 1.4rem;
            }

            a {
              width: 340px;
              height: 44px;
              margin: 10px auto 0;
              border-radius: 44px;
              font-size: 1.6rem;
              font-weight: 700;
            }
          }
        }

        .bottom {
          margin-top: 40px;

          p {
            margin-bottom: 7px;
          }
        }
      }
    }
  }

  @media screen and (max-width: 768px) {
    .block-carepartner-info {
      .item-schedule {
        margin-top: 15px;

        h3 {
          > span {
            display: flex;
            align-items: center;
            justify-content: center;

            &:first-child {
              font-size: 1.5rem;
              font-weight: 700;
              text-align: center;

              .tag {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 95px;
                height: 25px;
                border: 1px solid var(--cl-gr);
                border-radius: 4px;
                background-color: #ffffff;
                color: var(--cl-gr);
                font-size: 1.3rem;
                font-weight: 700;
              }

              img {
                width: 135px;
                margin: 0 5px;
              }
            }

            &:last-child {
              margin-top: 6px;
              font-size: 1.4rem;
            }

            b {
              font-size: 1.4rem;
              font-weight: 700;
            }
          }
        }

        .item-schedule-list-ttl {
          display: flex;
          align-items: center;
          justify-content: center;
          position: relative;
          margin-top: 20px;

          &::before {
            content: "";
            display: block;
            position: absolute;
            top: 50%;
            left: 0;
            width: 100%;
            height: 1px;
            background-color: var(--cl-gr);
          }

          span {
            position: relative;
            padding: 0 12px;
            background-color: var(--cl-gr-bg);
            color: var(--cl-gr);
            font-size: 1.7rem;
            font-weight: 700;
          }
        }

        .item-schedule-list {
          position: relative;
          margin-top: 10px;

          &::before {
            content: "";
            display: block;
            position: absolute;
            top: 20px;
            left: 32px;
            width: 2px;
            height: calc(100% - 40px);
            background-color: #d9d9d9;
          }

          li {
            display: flex;
            align-items: center;
            position: relative;

            .list-img {
              width: 64px;

              img {
                display: block;
                flex-shrink: 0;
                width: 100%;
                height: auto;
              }
            }

            .list-time {
              flex-shrink: 0;
              width: 56px;
              margin-left: 20px;
              color: var(--cl-gr);
              font-size: 1.7rem;
              font-weight: 700;
            }

            .list-ttl {
              flex-shrink: 1;
              font-size: 1.4rem;
            }
          }
        }
      }
    }
  }

  @media screen and (min-width: 767px) {
    .block-carepartner-info {
      .item-schedule {
        margin-top: 30px;

        h3 {
          > span {
            display: flex;
            align-items: center;
            justify-content: center;

            &:first-child {
              font-size: 2rem;
              font-weight: 700;
              text-align: center;

              .tag {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 100px;
                height: 30px;
                border: 1px solid var(--cl-gr);
                border-radius: 6px;
                background-color: #ffffff;
                color: var(--cl-gr);
                font-size: 1.4rem;
                font-weight: 700;
              }

              img {
                width: 192px;
                margin: 0 1px 0 10px;
              }
            }

            &:last-child {
              margin-top: 10px;
              font-size: 1.4rem;
            }

            b {
              font-size: 1.8rem;
              font-weight: 700;
            }
          }
        }

        .item-schedule-list-ttl {
          display: flex;
          align-items: center;
          justify-content: center;
          position: relative;
          margin-top: 30px;

          &::before {
            content: "";
            display: block;
            position: absolute;
            top: 50%;
            left: 0;
            width: 100%;
            height: 1px;
            background-color: var(--cl-gr);
          }

          span {
            position: relative;
            padding: 0 18px;
            background-color: var(--cl-gr-bg);
            color: var(--cl-gr);
            font-size: 2rem;
            font-weight: 700;
          }
        }

        .item-schedule-list {
          display: flex;
          position: relative;
          margin-top: 17px;

          &::before {
            content: "";
            display: block;
            position: absolute;
            top: 55px;
            left: 50px;
            width: calc(100% - 100px);
            height: 2px;
            background-color: #d9d9d9;
          }

          li {
            position: relative;
            width: 120px;
            text-align: center;

            .list-img {
              width: 100%;

              img {
                display: block;
                flex-shrink: 0;
                width: 100%;
                height: auto;
              }
            }

            .list-time {
              margin-top: 10px;
              color: var(--cl-gr);
              font-size: 1.8rem;
              font-weight: 700;
            }

            .list-ttl {
              margin-top: 10px;
              font-size: 1.4rem;
            }
          }
        }
      }
    }
  }

  .block-footer {
    margin-top: 30px;
    padding: 28px 17px 30px;
    border-top: 1px solid #f1f1f1;

    .footer-company-logo {
      font-size: 1.4rem;
      font-weight: 700;
      text-align: center;

      img {
        display: block;
        width: 287px;
        height: auto;
        margin: 0 auto;
      }
    }

    .footer-address-link {
      margin-top: 5px;
      font-size: 1.3rem;
      letter-spacing: -0.05em;
    }

    .footer-link {
      display: flex;
      align-items: center;
      justify-content: center;
      margin-top: 20px;

      li {
        & + li {
          position: relative;
          margin-left: 21px;

          &::before {
            content: "";
            display: block;
            position: absolute;
            top: 50%;
            left: -10px;
            width: 1px;
            height: 15px;
            margin-top: -7px;
            background-color: #cfcfcf;
          }
        }

        a {
          text-decoration: underline;
        }
      }
    }
  }

  @media screen and (min-width: 767px) {
    .block-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-top: 50px;
      padding: 40px 0;

      .footer-company-logo {
        text-align: left;

        img {
          width: 287px;
          margin: 7px 0 0;
        }
      }

      .footer-address-link {
        margin-top: 0;
        letter-spacing: 0;
      }

      .footer-link {
        justify-content: flex-end;
        margin-top: 10px;
      }
    }
  }
}

.block-carepartner-terms {
  margin: 20px 0 40px;

  .cl-rd {
    color: #fa6153;
  }

  .cl-yl {
    color: var(--cl-gr);
  }

  .block-logo {
    display: flex;
    justify-content: center;

    img {
      display: block;
      width: 215px;
      height: auto;
    }
  }

  h1 {
    margin: 15px 0 0;
    padding: 0;
    font-size: 1.7rem;
    font-weight: 700;
    text-align: center;
  }

  @media screen and (min-width: 767px) {
    .block-logo {
      img {
        width: 300px;
      }
    }

    h1 {
      margin-top: 10px;
      font-size: 2.4rem;
    }
  }

  .block-terms {
    margin-top: 20px;
    padding: 5px 5px 5px 0;
    border: 1px solid #cccccc;
    border-radius: 10px;
  }

  .block-terms-body {
    height: 100vw;
    padding: 10px 10px 10px 15px;
    font-size: 1.4rem;
    overflow: auto;

    &::-webkit-scrollbar {
      width: 4px;
    }

    &::-webkit-scrollbar-track {
      background-color: transparent;
    }

    &::-webkit-scrollbar-thumb {
      border-radius: 4px;
      background-color: #cfcfcf;
    }

    b {
      font-weight: 700;

      &.ttl {
        font-size: 1.6rem;
      }
    }

    p:not(:first-child) {
      margin-top: 15px;
    }

    .detail {
      dl {
        display: table;

        > div {
          display: table-row;

          > dt,
          > dd {
            display: table-cell;
          }

          > dt {
            white-space: nowrap;
          }

          > dd {
            position: relative;
            padding-left: calc(1em + 3px);

            &::before {
              content: "：";
              position: absolute;
              top: 0;
              left: 3px;
            }
          }
        }
      }

      ol {
        li {
          position: relative;
          padding-left: 1em;

          > .num {
            display: block;
            position: absolute;
            top: 0;
            left: 0;
          }
        }
      }
    }
  }

  @media screen and (min-width: 767px) {
    .block-terms {
      margin-top: 40px;
      padding: 5px 10px 5px 0;
    }

    .block-terms-body {
      height: 400px;
      font-size: 1.2rem;

      &::-webkit-scrollbar {
        width: 5px;
      }

      p:not(:first-child) {
        margin-top: 20px;
      }
    }
  }

  .block-checkbox-list {
    margin-top: 20px;
    font-size: 1.4rem;

    p {
      margin-bottom: 24px;
    }

    a {
      text-decoration: underline;
    }

    li {
      & + li {
        margin-top: 8px;
      }

      input[type="checkbox"] {
        display: none;
      }

      input[type="checkbox"] + label {
        display: block;
        position: relative;
        padding-left: 24px;
        cursor: pointer;

        &::before {
          content: "";
          display: block;
          position: absolute;
          top: 5px;
          left: 0;
          width: 14px;
          height: 14px;
          border-radius: 2px;
          background-color: #d8d8d8;
          transition: background 0.14s;
        }
      }

      input[type="checkbox"]:checked + label {
        &::before {
          background-image: url(../../../img/pages/info_carepartner/icon_cb_on.png);
          background-position: center;
          background-repeat: no-repeat;
          background-size: contain;
        }
      }
    }
  }

  @media screen and (min-width: 767px) {
    .block-checkbox-list {
      margin-top: 40px;
      font-size: 1.2rem;

      p {
        margin-bottom: 24px;
      }

      a {
        text-decoration: underline;
      }

      li {
        & + li {
          margin-top: 16px;
        }
        input[type="checkbox"] + label {
          &::before {
            top: 3px;
          }
        }
      }
    }
  }

  .block-submit {
    margin-top: 20px;

    > p {
      font-size: 1.4rem;
      text-align: center;
    }

    > ul {
      display: flex;
      justify-content: center;
      margin-top: 12px;
      gap: 10px;

      > li {
        width: calc((100% - 10px) / 2);

        a {
          display: flex;
          align-items: center;
          justify-content: center;
          width: 100%;
          height: 45px;
          border-radius: 45px;
          background-color: #e2e2e2;
          font-size: 1.4rem;
          transition: 0.15s;

          &.is-disable {
            background-color: #eeeeee;
            color: #aaaaaa;
            cursor: not-allowed;
            pointer-events: none;
          }

          &.is-able {
            background-color: var(--cl-gr);
            color: #ffffff;
            font-weight: 700;
            cursor: pointer;
            pointer-events: unset;
          }
        }
      }
    }
  }

  @media screen and (min-width: 767px) {
    .block-submit {
      margin-top: 28px;

      > p {
        font-size: 1.2rem;
      }

      > ul {
        margin-top: 34px;
        gap: 40px;

        > li {
          width: 300px;

          a {
            height: 44px;
            font-size: 1.6rem;
          }
        }
      }
    }
  }

  @media screen and (min-width: 767px) {
  }
}

@media screen and (max-width: 766px) {
  .block-carepartner-terms {
    padding: 0 10px;
  }
}
