@charset "utf-8";


.edit-area {

  &.jobs {
    padding-bottom: 24rem;

    @media screen and (max-width: 767px) {
      padding-bottom: 12rem;
    }

    .jobs-group {
      position: relative;
      display: flex;
      justify-content: space-between;
      align-items: flex-start;

      @media screen and (max-width: 767px) {
        flex-direction: column;
      }

      @media print, screen and (min-width: 767.01px) {
        &:after {
          content: "";
          position: absolute;
          left: calc(100% - 2px);
          top: 0;
          z-index: 0;
          display: block;
          width: 50%;
          height: 100%;
          background: #FFF;
        }
      }


      .group-side {

        @media print,
        screen and (min-width: 767.01px) {
          position: sticky;
          top: 11rem;
          left: 0;
          width: 32rem;
        }

        @media screen and (max-width: 767px) {
          margin-bottom: 3rem;
        }

        .side-title {
          margin-bottom: 7rem;

          @media screen and (max-width: 767px) {
            margin-bottom: 2rem;
          }

          .title-en {
            margin-bottom: 1.8rem;
            font-family: 'Roboto Flex';
            font-weight: 300;
            font-size: 2.6rem;
            letter-spacing: 0.06em;
            color: #0033B3;

            @media screen and (max-width: 767px) {
              margin-bottom: 0.6rem;
              font-size: 1.8rem;
            }
          }

          .title-jp {
            font-weight: 700;
            font-size: 2.6rem;
            letter-spacing: 0.08em;

            @media screen and (max-width: 767px) {
              font-size: 1.8rem;
            }
          }
        }

        .side-caption {
          font-weight: 400;
          font-size: 1.8rem;
          line-height: 1.44;
          letter-spacing: 0.06em;
          font-feature-settings: 'palt' on;

          @media screen and (max-width: 767px) {
            font-size: 1.4rem;
          }
        }
      }

      .group-main {
        position: relative;
        z-index: 1;
        padding: 12rem 0 12rem 12rem;
        width: calc(100% - 32rem - 6.1rem);
        background: #FFF;
        border-radius: 7rem 0 0 7rem;

        @media screen and (max-width: 767px) {
          width: 100%;
          padding: 2rem 0 4rem 2rem;
          background: #FFF;
          border-radius: 1rem 0 0 1rem;
          &:after {
            content: "";
            position: absolute;
            left: 100%;
            top: 0;
            z-index: 0;
            display: block;
            width: 50%;
            height: 100%;
            background: #FFF;
          }
        }


        .main-kv {
          margin-bottom: 8rem;

          @media screen and (max-width: 767px) {
            margin-bottom: 2rem;
          }
        }

        .main-child {
          margin-bottom: 6rem;

          @media screen and (max-width: 767px) {
            margin-bottom: 3rem;
          }
        }

        .main-title {
          &.type01 {
            margin-bottom: 3rem;
            padding-bottom: 1.2rem;
            font-weight: 700;
            font-size: 2.4rem;
            line-height: 1.42;
            letter-spacing: 0.08em;
            font-feature-settings: 'palt' on;
            color: #0033B3;
            border-bottom: 1px solid #000000;

            @media screen and (max-width: 767px) {
              margin-bottom: 1.5rem;
              padding-bottom: 0.8rem;
              font-size: 1.8rem;
            }
          }

          &.type02 {
            margin-bottom: 2rem;
            font-weight: 700;
            font-size: 1.8rem;
            letter-spacing: 0.06em;
            font-feature-settings: 'palt' on;

            @media screen and (max-width: 767px) {
              margin-bottom: 1.4rem;
              font-size: 1.6rem;
            }
          }
        }

        .main-detail {
          margin-bottom: 2rem;
          font-weight: 400;
          line-height: 1.62;
          letter-spacing: 0.06em;
          font-feature-settings: 'palt' on;

          & p {
            margin-bottom: 2.7rem;

            @media screen and (max-width: 767px) {
              margin-bottom: 2rem;
            }

            &:last-child {
              margin-bottom: 0;
            }
          }
        }

        .main-list {

          &.mini-flow {
            display: flex;
            flex-direction: column;
            gap: 1.8rem;
            counter-reset: number;
            line-height: 1.62;
            letter-spacing: 0.06em;
            font-feature-settings: 'palt' on;

            & li {
              counter-increment: number;
            }

            .list-title {
              font-weight: 700;

              &:before {
                content: counter(number, decimal-leading-zero)".";
              }
            }
          }

          &.flow {
            display: flex;
            flex-direction: column;
            gap: 4.5rem;

            @media screen and (max-width: 767px) {
              gap: 3rem;
            }

            &.two {
              flex-direction: row;
              flex-wrap: wrap;
              gap: 3rem;
              margin-bottom: 4rem;

              @media screen and (max-width: 767px) {
                gap: 2rem;
              }

              & li {
                width: calc(100% / 2 - 1.5rem);

                @media screen and (max-width: 767px) {
                  width: 100%;
                }

                &:after {
                  display: none;
                }
              }
            }

            &.three {
              margin-bottom: 4.5rem;
              flex-direction: row;
              flex-wrap: wrap;
              gap: 2.8rem;

              @media screen and (max-width: 767px) {
                position: relative;
                flex-direction: column;
                margin-bottom: 3rem;
                gap: 2rem;
                padding: 2rem;
                border: 1px solid #0033B3;
                border-radius: 1rem;
                background: #FFF;

                &:after {
                  content: "";
                  position: absolute;
                  left: 50%;
                  top: calc(100% + 1.2rem);
                  z-index: 1;
                  transform: translateX(-50%);
                  width: 1.2rem;
                  height: 1.1rem;
                  background: url(../../common/img/parts/icon_polygon01.svg) no-repeat center center / 100% auto;
                }
              }

              & li {
                width: calc(100% / 3 - 2.8rem * 2 / 3);

                &:last-child {
                  &:after {
                    display: block;
                  }
                }

                @media screen and (max-width: 767px) {
                  width: 100%;
                  padding: 0;
                  border: 0;

                  &:after {
                    display: none;
                  }

                  &:last-child {
                    &:after {
                      display: none;
                    }
                  }
                }
              }
            }

            & li {
              position: relative;
              padding: 4rem;
              border: 1px solid #0033B3;
              border-radius: 1rem;

              @media screen and (max-width: 767px) {
                padding: 2rem;
                background: #FFF;
              }

              &:after {
                content: "";
                position: absolute;
                left: 50%;
                top: calc(100% + 1.5rem);
                z-index: 1;
                transform: translateX(-50%);
                width: 1.8rem;
                height: 1.7rem;
                background: url(../../common/img/parts/icon_polygon01.svg) no-repeat center center / 100% auto;
              }

              @media screen and (max-width: 767px) {
                &:after {
                  top: calc(100% + 1.2rem);
                  width: 1.2rem;
                  height: 1.1rem;
                }
              }

              &:last-child {
                &:after {
                  display: none;
                }
              }
            }

            .list-title {
              margin-bottom: 0.7rem;
              font-weight: 700;
              line-height: 1.62;
              letter-spacing: 0.06em;
              font-feature-settings: 'palt' on;
              color: #0033B3;
            }

            .list-detail {
              font-weight: 400;
              line-height: 1.62;
              letter-spacing: 0.06em;
              font-feature-settings: 'palt' on;
            }
          }

          &.date-flow {
            position: relative;
            display: flex;
            flex-direction: column;
            padding: 5rem;
            gap: 2.8rem;
            background: #F4F7F9;
            border-radius: 1rem;

            @media screen and (max-width: 767px) {
              padding: 2rem;
              gap: 1.5rem;
            }

            &:after {
              content: "";
              position: absolute;
              left: 7.5rem;
              top: 5rem;
              z-index: 0;
              width: 1px;
              height: calc(100% - 10rem);
              background: #000;
            }

            @media screen and (max-width: 767px) {
              &:after {
                top: 2rem;
                left: 4.2rem;
                height: calc(100% - 4rem);
              }
            }

            & li {
              display: flex;
              flex-wrap: wrap;
              align-items: flex-start;
              justify-content: space-between;
            }

            .list-date {
              position: relative;
              z-index: 1;
              width: 11rem;
              font-weight: 700;
              line-height: 1.62;
              letter-spacing: 0.06em;
              font-feature-settings: 'palt' on;
              color: #0033B3;

              @media screen and (max-width: 767px) {
                width: 6rem;
              }

              >span {
                position: relative;
                z-index: 2;

                &:after {
                  content: "";
                  position: absolute;
                  left: 0;
                  top: -0.8rem;
                  z-index: 1;
                  display: block;
                  width: 100%;
                  height: calc(100% + 1.6rem);
                  background: #F4F7F9;
                }

                @media screen and (max-width: 767px) {
                  &:after {
                    top: -0.5rem;
                    height: calc(100% + 1rem);
                  }
                }

                & span {
                  position: relative;
                  z-index: 3;
                }
              }
            }

            .list-detail {
              width: calc(100% - 11rem);
              line-height: 1.62;
              letter-spacing: 0.06em;
              font-feature-settings: 'palt' on;

              @media screen and (max-width: 767px) {
                width: calc(100% - 6rem);
              }

              .detail-title {
                font-weight: 700;

                @media screen and (max-width: 767px) {
                  margin-bottom: 0.6rem;

                  &:last-child {
                    margin-bottom: 0;
                  }
                }
              }

              .detail-text {
                font-weight: 400;

                @media screen and (max-width: 767px) {
                  font-size: 1.3rem;
                }
              }
            }
          }


          &.dot {
            display: flex;
            flex-direction: column;
            gap: 2.3rem;
            font-weight: 700;
            letter-spacing: 0.06em;
            font-feature-settings: 'palt' on;

            @media screen and (max-width: 767px) {
              gap: 1rem;
              line-height: 1.4;
            }

            & li {
              position: relative;
              padding-left: 2.6rem;

              @media screen and (max-width: 767px) {
                padding-left: 2rem;
              }

              &:before {
                content: "";
                position: absolute;
                left: 1.1rem;
                top: 0.9rem;
                z-index: 1;
                width: 0.5rem;
                height: 0.5rem;
                background: #000;
                border-radius: 50%;
              }

              @media screen and (max-width: 767px) {
                &:before {
                  left: 0.6rem;
                  top: 0.8rem;
                  width: 0.4rem;
                  height: 0.4rem;
                }
              }
            }

          }

          &.staff {
            display: flex;
            flex-wrap: wrap;
            gap: 5rem;

            @media screen and (max-width: 767px) {
              margin-bottom: 4rem;
              gap: 2rem;
            }

            & li {
              width: calc(50% - 2.5rem);

              @media screen and (max-width: 767px) {
                width: 100%;
              }
            }

            .list-caption {
              margin-top: 1.4rem;
              font-weight: 700;
              font-size: 1.8rem;
              letter-spacing: 0.06em;
              font-feature-settings: 'palt' on;

              @media screen and (max-width: 767px) {
                margin-top: 1rem;
                font-size: 1.4rem;
              }
            }
          }
        }
      }
    }
  }
}
