@charset "UTF-8";

/* =====================
MV
===================== */
.company .mv::before {
  background-image: url('../../img/company/mv.png');
}
.message .mv::before {
  background-image: url('../../img/company/message_mv.png');
}
.profile .mv::before {
  background-image: url('../../img/company/profile_mv.png');
}
.history .mv::before {
  background-image: url('../../img/company/history_mv.png');
}
.organization .mv::before {
  background-image: url('../../img/company/organization_mv.png');
}
.philosophy .mv::before {
  background-image: url('../../img/company/philosophy_mv.png');
}
/* =====================
  list
===================== */
.link-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px 32px;
  & li {
    & a {
      display: grid;
      row-gap: 16px;
      & picture {
        & img {
          border-radius: 24px;
        }
      }
      & h3 {
        position: relative;
        width: fit-content;
        font-size: 24px;
        font-weight: 600;
        letter-spacing: 0.72px;
        margin-top: 8px;
        &::before {
          content: '';
          display: block;
          width: 28px;
          aspect-ratio: 1/1;
          background-color: #074d94;
          border-radius: 50%;
          position: absolute;
          top: 50%;
          right: -44px;
          transform: translateY(-50%);
        }
        &::after {
          content: '';
          display: block;
          width: 10px;
          aspect-ratio: 1/1;
          mask-repeat: no-repeat;
          mask-size: contain;
          mask-position: center;
          mask-image: var(--arrow);
          background-color: #fff;
          position: absolute;
          top: 50%;
          right: -36px;
          transform: translateY(-50%);
        }
      }
      & p {
        line-height: 2;
      }
    }
  }
}
/* =====================
  Company TOP
===================== */
.company .article[data-id='1'] {
  position: relative;
  padding-top: 120px;
  padding-bottom: 93px;
  &::after {
    background-color: #fff;
  }
  .sdgs-bnr_block {
    margin-top: 140px;
  }
}
/* =====================
  メッセージ
===================== */
.message .article[data-id='1'] {
  position: relative;
  padding-top: 144px;
  padding-bottom: 140px;
  margin-top: 48px;
  background-color: #f2f0eb;
  &::before {
    background-color: #f2f0eb;
  }
  .message_wrap {
    position: relative;
    width: 768px;
    padding-block: 56px;
    padding-inline: 80px;
    border-radius: 40px;
    background-color: #fff;
    margin-inline: auto 0;
    & h4 {
      font-size: 32px;
      font-weight: 600;
      letter-spacing: 0.96px;
    }
    & p {
      line-height: 2;
      margin-top: 30px;
      & + p {
        margin-top: 16px;
      }
    }
    .name_wrap {
      width: fit-content;
      margin-inline: auto 0;
      margin-top: 32px;
      & span {
        font-size: 13px;
        line-height: 2;
        letter-spacing: 0.39px;
        & + span {
          margin-left: 0.6em;
        }
      }
      & picture {
        display: block;
        text-align: right;
        margin-top: 10px;
      }
    }
    &::before {
      content: '';
      display: block;
      background-repeat: no-repeat;
      background-size: contain;
      background-position: center;
      background-image: url('../../img/company/message.png');
      width: 408px;
      height: 480px;
      position: absolute;
      top: -72px;
      left: -372px;
      border-radius: 24px;
    }
  }
}
.message .article[data-id='2'] {
  position: relative;
  padding-top: 120px;
  padding-bottom: 96px;
  &::after {
    background-color: #fff;
  }
}
/* =====================
  会社概要・アクセス
===================== */
.profile .article[data-id='1'] {
  position: relative;
  padding-top: 120px;
  padding-bottom: 140px;
  .table-inline {
    margin-top: 48px;
    .line-table {
      .map-btn {
        display: inline-block;
        font-family: var(--mont);
        font-size: 11px;
        font-weight: 500;
        line-height: 1.5;
        color: #074d94;
        border-radius: 50rem;
        border: solid 1px #074d94;
        margin-left: 4px;
        text-transform: uppercase;
        & > a {
          position: relative;
          display: flex;
          align-items: center;
          gap: 3px;
          width: 100%;
          height: 100%;
          padding-inline: 6px;
          &::before {
            content: '';
            display: block;
            background-repeat: no-repeat;
            background-size: contain;
            background-position: center;
            background-image: var(--map);
            width: 8px;
            height: 12px;
            flex-shrink: 0;
          }
        }
      }
      .zip-no {
        display: block;
      }
      .tel-no {
        display: block;
      }
    }
  }
}
.profile .article[data-id='2'] {
  position: relative;
  padding-top: 120px;
  padding-bottom: 140px;
  background-color: #ebeef2;
  & ul {
    margin-top: 48px;
    & li {
      border-radius: 32px;
      background-color: #fff;
      display: flex;
      gap: 72px;
      align-items: center;
      padding-inline: 80px;
      padding-block: 56px;
      .map {
        & iframe {
          width: 600px;
          height: 360px;
        }
      }
      .access_wrap {
        width: 308px;
        & h4 {
          font-size: 20px;
          font-weight: 600;
          line-height: 2;
          letter-spacing: 0.6px;
        }
        & address {
          line-height: 2;
          margin-top: 8px;
        }
        .link-map {
          width: 245px;
          margin-top: 56px;
          margin-inline: auto 0;
          .link-anchor {
            padding-inline: 40px 24px;
            .c-icon {
              &::before {
                mask-image: var(--link);
                width: 12px;
                right: 7px;
              }
            }
          }
        }
      }
      & + li {
        margin-top: 32px;
      }
    }
  }
}
.profile .article[data-id='3'] {
  position: relative;
  padding-top: 120px;
  padding-bottom: 96px;
  &::after {
    background-color: #fff;
  }
}
/* =====================
  沿革
===================== */
.history .article[data-id='1'] {
  position: relative;
  padding-top: 73px;
  padding-bottom: 140px;
  margin-top: 48px;
  background-color: #eaf2fa;
  &::before {
    background-color: #eaf2fa;
  }
  .history_wrap {
    padding-inline: 80px;
    & ul {
      & li {
        position: relative;
        display: flex;
        gap: 56px;
        padding-block: 43px;
        border-bottom: 1px solid #babaca;
        &::before {
          content: '';
          display: block;
          width: 4px;
          height: 100%;
          background-color: #074d94;
          position: absolute;
          top: 0;
          left: 172px;
        }
        &:first-child {
          &::before {
            height: calc(100% - 40px);
            top: 48px;
          }
        }
        .year {
          width: 184px;
          font-family: var(--mont);
          font-size: 40px;
          font-weight: 500;
          line-height: 1;
          letter-spacing: 0.8px;
          color: #074d94;
          flex-shrink: 0;
        }
        .history_unit {
          position: relative;
          .history_content {
            display: flex;
            gap: 40px;
            .month {
              position: relative;
              width: 64px;
              font-weight: 600;
              line-height: 2;
              letter-spacing: 0.48px;
              flex-shrink: 0;
              &::before {
                content: '';
                display: block;
                width: 20px;
                height: 20px;
                border: solid 6px #074d94;
                background-color: #eaf2fa;
                border-radius: 50rem;
                position: absolute;
                top: 6px;
                left: -76px;
              }
            }
            & p {
              line-height: 2;
            }
            & + .history_content {
              margin-top: 32px;
            }
          }
        }
      }
    }
  }
}
.history .article[data-id='2'] {
  position: relative;
  padding-top: 120px;
  padding-bottom: 96px;
  &::after {
    background-color: #fff;
  }
}
/* =====================
  組織図
===================== */
.organization .article[data-id='1'] {
  position: relative;
  padding-top: 72px;
  padding-bottom: 140px;
  margin-top: 48px;
  background-color: #f4f6f8;
  &::before {
    background-color: #f4f6f8;
  }
}
.organization .article[data-id='2'] {
  position: relative;
  padding-top: 120px;
  padding-bottom: 96px;
  &::after {
    background-color: #fff;
  }
}
/* =====================
  企業理念
===================== */
.philosophy .article[data-id='1'] {
  position: relative;
  padding-top: 80px;
  padding-bottom: 70px;
  .inner {
    & > ul {
      & > li {
        display: grid;
        grid-template-columns: 304px 1fr;
        padding-block: 40px 54px;
        padding-inline: 24px;
        border-bottom: solid 1px #babaca;
        .philosophy-title {
          height: fit-content;
          margin-top: 17px;
          & p {
            font-family: var(--mont);
            font-size: 48px;
            font-weight: 500;
            line-height: 1.2;
            letter-spacing: 0.96px;
            color: #074d94;
            text-transform: uppercase;
          }
          & h3 {
            font-weight: 600;
            line-height: 2;
            letter-spacing: 0.48px;
            margin-top: 8px;
          }
        }
        .philosophy_unit {
          position: relative;
          display: flex;
          flex-direction: row-reverse;
          justify-content: space-between;
          align-items: center;
          min-height: 130px;
          & > p {
            font-size: 20px;
            font-weight: 600;
            line-height: 2;
            letter-spacing: 0.6px;
          }
          &::before {
            content: '';
            display: block;
            background-repeat: no-repeat;
            background-size: contain;
            background-position: center;
            width: 212px;
            height: 130px;
            border-radius: 24px;
          }
        }
        &[data-id='1'] {
          .philosophy_unit {
            &::before {
              background-image: url('../../img/company/philosophy_01.png');
            }
          }
        }
        &[data-id='2'] {
          .philosophy_unit {
            &::before {
              background-image: url('../../img/company/philosophy_02.png');
            }
          }
        }
        &[data-id='3'] {
          .philosophy_unit {
            &::before {
              background-image: url('../../img/company/philosophy_03.png');
            }
          }
        }
        .philosophy_content {
          position: relative;
          margin-top: 32px;
          & > p {
            font-weight: 600;
            line-height: 2;
            letter-spacing: 0.48px;
            color: #5b5b65;
          }
          & > ul {
            margin-top: 32px;
            & > li {
              & h5 {
                width: fit-content;
                font-weight: 600;
                line-height: 1.5;
                letter-spacing: 0.48px;
                color: #235b93;
                border: 1px solid #235b93;
                padding-inline: 24px;
              }
              & p {
                font-weight: 600;
                line-height: 2;
                letter-spacing: 0.48px;
                color: #5b5b65;
                margin-top: 8px;
              }
              & + li {
                margin-top: 25px;
              }
            }
          }
          &::before {
            content: '';
            display: block;
            background-repeat: no-repeat;
            background-size: contain;
            background-position: center;
            background-image: url('../../img/company/philosophy.png');
            width: 163px;
            height: 136px;
            position: absolute;
            bottom: 47px;
            left: -316px;
          }
        }
      }
    }
  }
}
.philosophy .article[data-id='2'] {
  position: relative;
  padding-top: 70px;
  padding-bottom: 96px;
  &::after {
    background-color: #fff;
  }
}

.table-inline {
  & td a.text-link {
    color: #074d94;
    text-decoration: underline;
    display: inline flex;
    align-items: center;
    gap: 6px;

    @media (any-hover: hover) {
      &:hover {
        text-decoration: none;
      }
    }

    &[target='_blank'] {
      &::after {
        content: '';
        display: block;
        width: 11.52px;
        aspect-ratio: 1 / 1;
        mask-repeat: no-repeat;
        mask-size: contain;
        mask-position: center;
        mask-image: var(--link);
        background-color: #074d94;
      }
    }
  }
}
