@charset "UTF-8";

/* -------------------------------------------------------------------------------
|  Created:     2023-06-21
|  Updated:     2024-03-15
|------------------------------------------------------------------------------- */

/*---------------------------------------------------------
  フロー図
---------------------------------------------------------*/

.p-softwareModal {
  width: auto !important;
}

.p-softwareTable {
  display: flex;
  flex-wrap: wrap;
  padding-left: 10px;
  padding-right: 10px;
}

.p-softwareTable__header {
  writing-mode: vertical-rl;
  width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
  color: #2b4c83;
  z-index: 2;
  padding-right: 10px;
  padding-top: 100px;

  padding-bottom: calc(5.5em * 2);
  transform: rotate(180deg);
  padding-right: 0;
  padding-left: 7.5px;

}

.p-softwareTable__body {
  width: calc(100% - 30px);
  margin-top: 40px;
}

/*! Large, Medium and Small（Largeまで） */
@media only screen and (max-width: 1100px) {
  .p-softwareTable__header {
    padding-top: 2em;
    padding-bottom: calc(1em * 2);
  }
}

/*! Small only (Smallのみ) */
@media only screen and (max-width: 767px) {
  .p-softwareTable {
    flex-direction: column;
    padding-left: 0;
    padding-right: 0; 
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .p-softwareTable__header {
    writing-mode: horizontal-tb;
    width: auto;
    padding-right: 0;
    padding-top: 5px;
    padding-bottom: 10px;

    padding-bottom: 10px;
    transform: rotate(0);
  }
  .p-softwareTable__body {
    width: auto;
    margin-top: 10px;
  }
}

.p-softwareTable__items {
  margin-top: -30px;
  margin-left: -10px;
  display: flex;
  flex-wrap: wrap;
  position: relative;
  &::before {
    content: '';
    position: absolute;
    top: 100px;
    left: -30px;
    background-color: #e4eaf0;
    height: calc(100% - (54px * 2));
    width: calc(100% + (30px * 2));
  }
}

.p-softwareTable__item {
  margin-top: 30px;
  margin-left: 10px;
  width: calc(25% - 10px);
  position: relative;
  display: flex;
  flex-direction: column;
  &::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background-color: #7e93a8;
    opacity: 0.4;
    width: 100%;
    height: 100%;
  }
  > * {
    z-index: 1;
  }
}

/*! Large, Medium and Small（Largeまで） */
@media only screen and (max-width: 1100px) {
  .p-softwareTable__items {
    margin-top: -60px;
    &::before {
      top: 148px;
      height: calc(100% - (78px * 2));
    }
  }
  .p-softwareTable__item {
    width: calc(50% - 10px);
    margin-top: 60px;
  }
}

/*! Small only (Smallのみ) */
@media only screen and (max-width: 767px) {
  .p-softwareTable__items {
    margin-top: -20px;
    &::before {
      top: -60px;
      left: 20px;
      background-color: #e4eaf0;
      height: calc(100% + (35px * 2));
      width: calc(100% - (15px * 2));
    }
  }
  .p-softwareTable__item {
    margin-top: 20px;
    width: 100%;
    &:nth-child(odd) {
      margin-top: 60px;
    }
  }
}

.p-softwareTable__outer {
  position: relative;
  margin-left: 5px;
  margin-right: 5px;
  margin-top: 10px;
  margin-bottom: 15px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  flex-grow: 1;
}

.p-softwareTable__inner {
  padding: 10px;
  background-color: #FFF;
  border-radius: 5px;
  margin-top: 5px;
  flex-grow: 0;
  &:last-child {
    flex-grow: 1;
  }
}

.p-softwareTable__title {
  line-height: 1.2;
  min-height: 3.5em;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0;
  position: relative;
  padding-top: 7px;
  padding-bottom: 5px;
}

/*! flow modal only md */
@media only screen and (max-width: 1100px) {
  .p-softwareTable__title {
    min-height: 4.5em;
  }
}

/*! Small only (Smallのみ) */
@media only screen and (max-width: 767px) {
  .p-softwareTable__title {
    min-height: 3em;
  }
}

.p-softwareTable__title--sub {
  font-weight: bold;
  font-style: italic;
  text-align: center;
  letter-spacing: 0.05em;
  position: absolute;
  margin-top: 0;
  left: 50%;
  top: calc(-30px - 15px);
  transform: translateX(-50%);
  width: calc((100% * 2) + 80px);
  margin-left: calc(50% + (80px / 2));
  padding-left: 0;
  padding-right: calc((80px / 2) + 10px);
  padding-top: 3px;
  padding-bottom: 3px;
  z-index: 5;
  background-color: #fff;
}

.p-softwareTable__subTitle {
  padding: 5px;
  margin-top: 20px;
  border-radius: 5px;
  > * {
    display: block;
    padding-top: 3px;
    padding-bottom: 5px;
    border-top: 1px solid #FFF;
    &:first-child {
      padding-top: 0;
      border-top: none;
    }
    &:last-child {
      padding-bottom: 0;
    }
  }
}

/*! Large, Medium and Small（Largeまで） */
@media only screen and (max-width: 1100px) {
  .p-softwareTable__title--sub {
    margin-left: calc(50% + (70px / 2));
    width: calc((100% * 2) + 70px);
  }
  .p-softwareTable__subTitle {
    br {
      display: none;
    }
  }
}

/*! Small only (Smallのみ) */
@media only screen and (max-width: 767px) {
  .p-softwareTable__title--sub {
    padding-left: 0;
    margin-left: 0;
    padding-right: 0;
    width: calc(100% - (30px * 2));
    margin-left: 30px;
    margin-right: 30px;
    transform: translateX(0);
    left: 0;
  }
}

.p-softwareTable__lists {
  margin-top: 10px;
}

.p-softwareTable__note {
  margin-top: 10px;
  text-align: right;
}

/*! Large, Medium and Small（Largeまで） */
@media only screen and (max-width: 1100px) {
  .p-softwareTable__note {
    text-align: left;
  }
}
