@charset "UTF-8";

/* ==========================================================================
   p-system-cooperation-accounting.css
   ========================================================================== */

/* partial override */
/* ========================================================================= */

.o-m__breadcrumb-list {
  @media screen and (max-width: 576px) {
    display: block;
    padding: 8px 12px 9px;
  }
}

.o-m__breadcrumb-list_link {
  @media screen and (max-width: 576px) {
    display: inline;
    margin: 0 5px 0 0;
  }
  &:after {
    @media screen and (max-width: 576px) {
      position: static;
      display: inline-block;
      margin: 0 0 0 5px;
    }
  }
}

.o-m__panel-list-listdata_column {
  gap: 25px 4%;
  .o-m__panel-list-listdata_box {
    flex-basis: 48%;
    padding: 35px;
    background: var(--white);
    @media screen and (max-width: 768px) {
      padding: 30px 20px;
      flex-basis: 100%;
    }
    dt {
      padding: 0 0 15px;
    }
    .o-m__panel-list-listdata_text {
      line-height: 1.7;
    }
    .o-m__panel-list-listdata_point {
      background: var(--rmeisai-bg-sub-03);
      border-radius: 10px;
      padding: 20px 25px 15px;
      margin: 15px 0 0;
    }
    .o-c__list-check {
      li {
        margin-bottom: 5px;
      }
    }
  }
}

/* ========================================================================= */
/* 請求書発行から会計ソフト連携までの流れ
/* ========================================================================= */

.p__system-cooperation-accounting-workflow {
  display: grid;
  grid-template-columns: 2fr 100px 1fr;
  gap: 20px;
  padding: 30px;
  background: var(--rmeisai-bg-sub-03);
  border-radius: 10px;
  @media screen and (max-width: 768px) {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 20px;
  }
}
.p__system-cooperation-accounting-workflow-meisai {
  background: var(--white);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  gap: 20px;
  flex-direction: column;
  justify-content: center;
}
.p__system-cooperation-accounting-workflow-meisai-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--rmeisai-primary);
  text-align: center;
  img {
    width: 120px;
    height: auto;
  }
}
.p__system-cooperation-accounting-workflow-meisai__step {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;

  li {
    background: var(--rmeisai-bg-sub-03);
    border-radius: 8px;
    text-align: center;
    color: var(--rmeisai-primary);
    font-size: 16px;
    font-weight: 700;
    padding: 20px 0;
    position: relative;
    &:not(:last-child)::after {
      content: '';
      position: absolute;
      top: 50%;
      right: -20px;
      transform: translateY(-50%);
      border-top: 8px solid transparent;
      border-bottom: 8px solid transparent;
      border-left: 10px solid var(--rmeisai-primary);
    }
  }
  @media screen and (max-width: 576px) {
    grid-template-columns: 1fr;
    li:not(:last-child)::after {
      top: auto;
      bottom: -20px;
      right: auto;
      left: 50%;
      transform: translateX(-50%);
      border-top: 10px solid var(--rmeisai-primary);
      border-bottom: 0;
      border-left: 8px solid transparent;
      border-right: 8px solid transparent;
    }
  }
}
.p__system-cooperation-accounting-workflow-connector {
  font-weight: 700;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 10px;
  position: relative;
  @media screen and (max-width: 768px) {
    flex-direction: row-reverse;
    gap: 30px;
  }
}
.p__system-cooperation-accounting-workflow-connector__arrow {
  display: block;
  line-height: 1;
  position: relative;
  width: 100%;
  height: 2px;
  background: var(--rmeisai-primary);
  &::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid var(--rmeisai-primary);
    border-left: 0;
    border-bottom: 0;
    transform: rotate(45deg);
    transform-origin: top right;
    position: absolute;
    top: 50%;
    right: -1px;
    box-sizing: border-box;
  }
  @media screen and (max-width: 768px) {
    flex: none;
    width: 2px;
    height: 60px;
    &::before {
      top: auto;
      right: auto;
      bottom: -1px;
      left: 50%;
      border-top: 0;
      border-right: 0;
      border-left: 2px solid var(--rmeisai-primary);
      border-bottom: 2px solid var(--rmeisai-primary);
      transform: rotate(-45deg);
      transform-origin: bottom left;
    }
  }
}
.p__system-cooperation-accounting-workflow-result {
  background: var(--white);
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  border: 2px solid var(--rmeisai-primary);
}
.p__system-cooperation-accounting-workflow-result__sub {
  font-size: 16px;
  color: var(--white);
  background: var(--rmeisai-primary);
  border-radius: 5px;
  padding: 6px 6px 4px;
  margin-bottom: 10px;
}
.p__system-cooperation-accounting-workflow-result__main {
  font-size: 18px;
  font-weight: 700;
  color: var(--rmeisai-primary);
  margin: 10px 0 0;
}

.p__system-cooperation-accounting-workflow__link {
  text-align: right;
  margin: 20px 0 0;
}