@charset "UTF-8";

/* ========================================
   @media screen and (min-width: 768px),print
======================================== */
@media screen and (min-width: 768px), print {
  #staff .system-list {
    display: grid;
    gap: 40px 64px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  #staff .system-pic.fit {
    text-align: center;
  }

  #staff .system-pic.fit img {
    height: 220px;
    width: 230px;
  }

  #staff .system-ttl {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
  }

  #staff .system-position {
    border: 1px solid #0f0f0f;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0em;
    line-height: 1.5625;
    margin-bottom: 8px;
    padding: 2px 8px;
    text-align: center;
    width: fit-content;
  }

  #staff .system-department {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0em;
    line-height: 1.5625;
    margin-bottom: 8px;
  }

  #staff .system-content {
    display: grid;
    gap: 0 24px;
    grid-template-columns: 40% 50%;
    justify-content: center;
    margin-bottom: 40px;
  }

  #staff .system-sub-contents {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0 8px;
    margin-bottom: 4px;
  }

  #staff .system-sub-ttl {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0em;
    line-height: 1.5625;
  }

  #staff .system-ttl {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: left;
  }

  #staff .system-position.single {
    font-size: 18px;
    margin-bottom: 8px;
    width: -moz-fit-content;
    width: fit-content;
  }

  #staff .system-department.single {
    margin-bottom: 0;
  }

  #staff .system-join {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0em;
    line-height: 1.5625;
  }

  #staff .system-hire {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0em;
    line-height: 1.5625;
  }

  #staff .system-hometown {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0em;
    line-height: 1.5625;
  }
}

/* ========================================
   @media screen and (max-width: 767px)
======================================== */
@media screen and (max-width: 767px) {
  #staff .system-list {
    display: grid;
    gap: 3.865vw 3.865vw;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #staff .system-pic.fit {
    text-align: center;
  }

  #staff .system-pic.fit img {
    height: 41.063vw;
    width: 43.478vw;
  }

  #staff .system-ttl {
    font-size: 4.348vw;
    font-weight: 700;
    margin-bottom: 2.415vw;
    text-align: center;
  }

  #staff .system-position {
    border: 1px solid #0f0f0f;
    font-size: 3.382vw;
    font-weight: 500;
    letter-spacing: 0em;
    line-height: 1.5714285714;
    margin-bottom: 1.932vw;
    padding: 0.5vw 1vw;
    text-align: center;
    width: fit-content;
  }

  #staff .system-department {
    font-size: 3.382vw;
    font-weight: 500;
    letter-spacing: 0em;
    line-height: 1.5714285714;
    margin-bottom: 1.932vw;
  }

  #staff .system-content {
    display: grid;
    gap: 9.662vw 0;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    margin-bottom: 9.662vw;
  }

  #staff .system-sub-contents {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0 1.932vw;
    margin-bottom: 0.966vw;
    margin-inline: auto;
    width: min(95%, 72.4637681159vw);
  }

  #staff .system-sub-ttl {
    font-size: 3.865vw;
    font-weight: 600;
    letter-spacing: 0em;
    line-height: 1.5625;
  }

  #staff .system-ttl {
    font-size: 5.797vw;
    font-weight: 700;
    margin-bottom: 2vw;
    text-align: left;
  }

  #staff .system-position.single {
    font-size: 3.865vw;
    margin-bottom: 3.865vw;
    margin-inline: auto;
    width: -moz-fit-content;
    width: fit-content;
  }

  #staff .system-department.single {
    margin-bottom: 0;
  }

  #staff .system-join {
    font-size: 3.382vw;
    font-weight: 500;
    letter-spacing: 0em;
    line-height: 1.5714285714;
  }

  #staff .system-hire {
    font-size: 3.382vw;
    font-weight: 500;
    letter-spacing: 0em;
    line-height: 1.5714285714;
  }

  #staff .system-hometown {
    font-size: 3.382vw;
    font-weight: 500;
    letter-spacing: 0em;
    line-height: 1.5714285714;
  }
}
