@charset "utf-8";
/* CSS Document */


/********** flow **********/

main.flow {
  .p-body { 
    .p-chapter {
      .p-chapter__inner {
        max-width: 1200px;
        h3 {
          margin: 0 0 6rem;
          font-size: 4rem;
          text-align: center;
        }
      }
    }
    #sec02 {
      .p-chapter__inner {
        max-width: 1600px;
        .featureList {
          display: flex;
          gap: 1px;
          >li {
            padding: 4rem;
            width: calc(50% - 1px);
            &:first-child {
              background: rgb(12, 120, 0, .1);
              .point {
                background: var(--light-green);
              }
            }
            &:last-child {
              background: rgb(128, 128, 128, .1);
              .point {
                background: var(--gray);
              }
            }
            h4 {
              margin: 0 0 4rem;
              padding: 0 0 .5em;
              font-size: 3.2rem;
              text-align: center;
              border-bottom: 2px solid var(--green);
            }
            .chart {
              display: flex;
              justify-content: center;
              gap: 6rem;
              margin: 4rem 0 0;
              >li {
                position: relative;
                &:not(:last-child) {
                  &::before,
                  &::after {
                    content: "";
                    position: absolute;
                    top: 50%;
                    right: -10px;
                    display: inline-block;
                    width: 40px;
                    height: 28px;
                    background: var(--gray);
                  }
                  &::before {
                    transform: translate(100%, -120%);
                    clip-path: polygon(0 50%, 35.4% 0, 35.4% 32.3%, 100% 32.3%, 100% 67.7%, 35.4% 67.7%, 35.4% 100%);
                  }
                  &::after {
                    transform: translate(100%, 20%);
                    clip-path: polygon(0 32.3%, 64.6% 32.3%, 64.6% 0, 100% 50%, 64.6% 100%, 64.6% 67.7%, 0 67.7%);
                  }
                }
                p {
                  font-size: 2rem;
                  font-weight: 700;
                  text-align: center;
                  letter-spacing: .25em;
                  text-indent: .25em;
                  line-height: 1;
                }
                &.seller {
                  color: var(--light-green);
                }
                &.buyer {
                  color: #444;
                }
                &.company {
                  color: var(--green);
                }
                span {
                  display: block;
                  font-size: 10rem;
                  font-variation-settings: 'FILL' 1, 'wght' 900, 'GRAD' 0, 'opsz' 48;
                }
              }
            }
            .merit,
            .demerit {
              padding: 2rem;
              background: #fff;
              border-radius: 10px;
              h5 {
                display: inline-block;
                margin: 0 0 1.5rem;
                padding: .5rem 2rem;
                font-size: 1.6rem;
                line-height: 1.4;
                letter-spacing: .05em;
                text-indent: .05em;
                color: #fff;
                border-radius: 15px;
              }
              >ul {
                >li {
                  font-size: 1.6rem;
                  line-height: 1.5;
                  &::before {
                    content: "・";
                  }
                  + li {
                    margin: .5em 0 0;
                  }
                }
              }
            }
            .merit {
              margin: 4rem 0 0;
              h5 {
                background: var(--green);
              }
            }
            .demerit {
              margin: 2rem 0 0;
              h5 {
                background: var(--gray);
              }
            }
            .point {
              margin: 4rem 0 0;
              padding: 3rem;
              border-radius: 100px;
              font-size: 1.8rem;
              line-height: 1.4;
              text-align: center;
              color: #fff;
              word-break: keep-all;
              span {
                display: block;
                margin: .5rem 0 0;
                font-size: 2.7rem;
                font-weight: 700;
              }
            }
          }
        }
      }
    }
    #sec03 {
      .p-chapter__inner {
        max-width: 1600px;
        table {
          width: 100%;
          border-spacing: 0;
          border-collapse: collapse;
          table-layout: fixed;
          line-height: 1.4;
          thead {
            tr {
              th {
                padding: 1.5rem;
                font-size: 2.4rem;
                letter-spacing: .5em;
                text-indent: .5em;
                text-align: center;
                border: 2px solid var(--border-gray);
                &:nth-child(1) {
                  color: var(--green);
                  background: rgb(12, 120, 0, .1);
                }
                &:nth-child(2) {
                  width: 240px;
                }
                &:nth-child(3) {
                  background: rgb(128, 128, 128, .1);
                }
              }
            }
          }
          tbody {
            tr {
              td {
                padding: 1.5rem;
                text-align: center;
                border: 2px solid var(--border-gray);
                &:nth-child(1) {
                  background: rgb(12, 120, 0, .05);
                }
                &:nth-child(2) {
                  word-break: keep-all;
                }
                &:nth-child(3) {
                  background: rgb(128, 128, 128, .05);
                }
              }
            }
          }
        }
      }
    }
    #sec04 {
      .p-chapter__inner {
        >ul {
          display: flex;
          flex-direction: column;
          gap: 2rem;
          >li {
            &:first-child {
              background: rgb(12, 120, 0, .05);
              border: 2px solid var(--green);
              h4 {
                background: var(--green);
              }
              .flowArea {
                .flowList {
                  >li {
                    background: rgb(12, 120, 0, .4);
                  }
                }
                .noteList {
                  height: 50px;
                  .note {
                    span {
                      font-weight: 700;
                      background: var(--yellow);
                    }
                  }
                }
              }
            }
            &:last-child {
              background: rgb(128, 128, 128, .05);
              border: 2px solid var(--gray);
              h4 {
                background: var(--gray);
              }
              .flowArea {
                .flowList {
                  >li {
                    background: rgb(128, 128, 128, .4);
                  }
                }
                .noteList {
                  height: 60px;
                  .note {
                    span {
                      font-size: 1.4rem;
                      color: var(--red);
                      background: rgb(220, 0, 0, .1);
                      border: 1px solid var(--red);
                    }
                  }
                }
              }
            }
            h4 {
              padding: 1.5rem 3rem;
              font-size: 2rem;
              color: #fff;
              span {
                margin-left: 4rem;
                font-size: 1.6rem;
                padding: 1rem 2rem;
                border: 1px solid #fff;
                white-space: nowrap;
              }
            }
            .flowArea {
              padding: 4rem 2rem;
              overflow: scroll;
              ul {
                display: flex;
                gap: 2rem;
                min-width: 900px;
                + ul {
                  margin: 2rem 0 0;
                }
                >li {
                  position: relative;
                  display: grid;
                  place-content: center;
                  width: calc(100%/7 - 2rem*6/7);
                }
              }
              .noteList {
                li {
                  position: relative;
                }
                .note {
                  position: relative;
                  font-size: 1.5rem;
                  line-height: 1.4;
                  span {
                    position: absolute;
                    top: 0;
                    left: 0;
                    height: 100%;
                    display: grid;
                    place-content: center;
                    padding: 1rem .5rem;
                    text-align: center;
                    word-break: keep-all;
                  }
                }
                .col3 {
                  span {
                    width: calc(300% + 2*2rem);
                  }
                }
                .col2 {
                  span {
                    width: calc(200% + 2rem);
                  }
                }
              }
              .flowList {
                >li {
                  font-size: 1.5rem;
                  font-weight: 700;
                  line-height: 1.2;
                  padding: 1rem .5rem;
                  text-align: center;
                  &.none {
                    opacity: .3;
                  }
                  &:not(:last-child) {
                    &::after {
                      content: "";
                      display: inline-block;
                      position: absolute;
                      top: 50%;
                      right: 0;
                      transform: translate(150%, -50%);
                      width: 1rem;
                      height: 1.8rem;
                      clip-path: polygon(0 0, 100% 50%, 0% 100%);
                      background: #222;
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}

@media (max-width: 1024px) {
  main.flow {
    .p-body {
      #sec02 {
        .p-chapter__inner {
          max-width: 1600px;
          .featureList {
            flex-direction: column;
            >li {
              width: 100%;
              h4 {
                font-size: 2.7rem;
              }
            }
          }
        }
      }
      #sec03 {
        .p-chapter__inner {
          table {
            thead {
              tr {
                th {
                  &:nth-child(2) {
                    width: 180px;
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}

@media (max-width: 768px) {
  main.flow {
    .p-body { 
      .p-chapter {
        .p-chapter__inner {
          h3 {
            margin: 0 0 6rem;
            font-size: 3.2rem;
          }
        }
      }
      #sec03 {
        .p-chapter__inner {
          table {
            thead {
              tr {
                th {
                  &:nth-child(2) {
                    width: 140px;
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}

@media (max-width: 600px) {
  main.flow {
    .p-body {
      #sec02 {
        .p-chapter__inner {
          .featureList {
            >li {
              .chart {
                gap: 4rem;
                >li {
                  &:not(:last-child) {
                    &::before,
                    &::after {
                      right: -5px;
                      width: 30px;
                      height: 21px;
                    }
                    &::before {
                      transform: translate(100%, -115%);
                    }
                    &::after {
                      transform: translate(100%, 15%);
                    }
                  }
                  p {
                    font-size: 1.6rem;
                  }
                  span {
                    font-size: 8rem;
                  }
                }
              }
            }
          }
        }
      }
      #sec03 {
        .p-chapter__inner {
          table {
            font-size: 1.4rem;
            thead {
              tr {
                th {
                  padding: 1rem;
                  font-size: 1.8rem;
                  &:nth-child(2) {
                    width: 100px;
                  }
                }
              }
            }
            tbody {
              tr {
                td {
                  padding: 1rem;
                }
              }
            }
          }
        }
      }
      #sec04 {
        .p-chapter__inner {
          >ul {
            >li {
              h4 {
                padding: 1rem 2rem;
                font-size: 1.8rem;
                color: #fff;
                span {
                  margin-left: 2rem;
                  font-size: 1.4rem;
                  padding: 1rem 1.5rem;
                }
              }
            }
          }
        }
      }
    }
  }
}

@media (max-width: 480px) {
  main.flow {
    .p-body { 
      .p-chapter {
        .p-chapter__inner {
          h3 {
            margin: 0 0 4rem;
            font-size: 2.4rem;
          }
        }
      }
      #sec02 {
        padding-top: 0;
        .p-chapter__inner {
          .featureList {
            >li {
              padding: 3rem 2rem;
              h4 {
                margin: 0 0 3rem;
                padding: 0 0 .3em;
                font-size: 2rem;
              }
              .chart {
                margin: 2rem 0 0;
                >li {
                  &:not(:last-child) {
                    &::before,
                    &::after {
                      right: -5px;
                      width: 30px;
                      height: 21px;
                    }
                    &::before {
                      transform: translate(100%, -110%);
                    }
                    &::after {
                      transform: translate(100%, 10%);
                    }
                  }
                  p {
                    font-size: 1.5rem;
                  }
                  span {
                    font-size: 7rem;
                  }
                }
              }
              .merit,
              .demerit {
                padding: 1.5rem;
                h5 {
                  padding: .5rem 1.5rem;
                  font-size: 1.4rem;
                  border-radius: 15px;
                }
                >ul {
                  >li {
                    font-size: 1.4rem;
                  }
                }
              }
              .merit {
                margin: 2rem 0 0;
                h5 {
                  background: var(--green);
                }
              }
              .demerit {
                margin: 1.5rem 0 0;
              }
              .point {
                margin: 3rem 0 0;
                padding: 2rem 3rem;
                border-radius: 100px;
                font-size: 1.5rem;
                span {
                  font-size: 2rem;
                }
              }
            }
          }
        }
      }
      #sec04 {
        .p-chapter__inner {
          >ul {
            >li {
              h4 {
                padding: 1rem 2rem;
                font-size: 2rem;
                color: #fff;
                span {
                  display: block;
                  width: fit-content;
                  margin: .5rem 0 0;
                  font-size: 1.4rem;
                  padding: .5rem 1.5rem;
                }
              }
              &:first-child {
                .flowArea {
                  .noteList {
                    height: 50px;
                    .note {
                      font-size: 1.4rem;
                      span {
                        padding: .5rem;
                      }
                    }
                  }
                }
              }
              &:last-child {
                background: rgb(128, 128, 128, .05);
                border: 2px solid var(--gray);
                .flowArea {
                  padding: 3rem 1.5rem;
                  .noteList {
                    height: 50px;
                    .note {
                      span {
                        font-size: 1.3rem;
                      }
                    }
                  }
                }
              }
              .flowArea {
                >ul {
                  gap: 1.5rem;
                  min-width: 800px;
                  + ul {
                    margin: 1.5rem 0 0;
                  }
                  >li {
                    width: calc(100%/7 - 1.5rem*6/7);
                  }
                }
                .flowList {
                  >li {
                    font-size: 1.4rem;
                    &:not(:last-child) {
                      &::after {
                        transform: translate(150%, -50%);
                        width: .8rem;
                        height: 1.4rem;
                      }
                    }
                  }
                }
                .noteList {
                  .col3 {
                    span {
                      width: calc(300% + 2*1.5rem);
                    }
                  }
                  .col2 {
                    span {
                      width: calc(200% + 1.5rem);
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}