@media screen and (max-width: 991px) {
  .p-contact h2 {
    margin-bottom: 1rem;
  }
  .p-contact h3 {
    font-size: 4.8vw;
    color: #a1a1a1;
    text-align: center;
    margin-bottom: 3rem;
  }
  section .content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
  .info-card {
    box-shadow: 0px 3px 7px 0px rgba(107, 107, 107, 0.35);
    padding-bottom: 6.4vw;
    margin-bottom: 2rem;
  }
  .info-card li {
    display: flex;
    align-items: center;
    padding: 5.6vw 0 4.8vw;
    border-bottom: 2px solid #e2e2e2;
    margin: 0 9.6vw;
  }
  .info-card li img {
    width: 8vw;
    height: 8vw;
    object-fit: contain;
    margin-right: 5.6vw;
  }
  .info-card li .title {
    font-size: 4.8vw;
    font-weight: bold;
    margin-bottom: 3.2vw;
  }
  .info-card li .info {
    font-size: 3.2vw;
    line-height: 1.5;
  }
  #map {
    width: 100%;
    height: 64vw;
    background-color: #a1a1a1;
    margin-bottom: 2rem;
  }
  .sub-companies {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }
  .sub-companies li {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    padding: 5.6vw;
    box-shadow: 0px 3px 7px 0px rgba(107, 107, 107, 0.35);
  }
  .sub-companies li::before {
    position: absolute;
    content: "";
    width: 3.2vw;
    height: 12vw;
    left: 0;
    top: 4.8vw;
    background-color: #2cb3ea;
  }
  .sub-companies li .title {
    color: #2eb3eb;
    font-size: 5.6vw;
    padding-top: 6px;
    margin-bottom: 5.6vw;
  }
  .sub-companies li p {
    font-size: 3.7333vw;
    line-height: 8vw;
  }
  .sub-companies li p img {
    width: 5.6vw;
    height: 5.6vw;
    object-fit: contain;
    margin-right: 4vw;
    vertical-align: middle;
  }
  .sub-companies li .qr-code {
    position: absolute;
    right: 6.4vw;
    bottom: 6.4vw;
    width: 17.6vw;
    height: 17.6vw;
  }
  .sub-companies li:not(:last-child) {
    margin-bottom: 0.8rem;
  }
}
@media screen and (min-width: 992px) {
  h2 {
    font-size: 45px;
    color: #262626;
    text-align: center;
    margin-bottom: 20px;
  }
  h3 {
    text-align: center;
    font-size: 24px;
    color: #a1a1a1;
    margin-bottom: 92px;
  }
  section {
    padding: 102px 0 155px;
  }
  section .content {
    display: flex;
    justify-content: center;
    column-gap: 40px;
    margin-bottom: 186px;
  }
  .info-card {
    width: 395px;
    height: 394px;
    box-shadow: 0px 3px 7px 0px rgba(107, 107, 107, 0.35);
  }
  .info-card li {
    display: flex;
    align-items: center;
    padding: 22px 0 18px;
    border-bottom: 2px solid #e2e2e2;
    margin: 0 43px;
  }
  .info-card li img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    margin-right: 25px;
  }
  .info-card li .title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 12px;
  }
  .info-card li .info {
    font-size: 12px;
  }
  #map {
    width: 601px;
    height: 393px;
    background-color: #a1a1a1;
  }
  .sub-companies {
    display: flex;
    column-gap: 20px;
    justify-content: center;
    align-items: center;
  }
  .sub-companies li {
    position: relative;
    width: 331px;
    height: 230px;
    box-sizing: border-box;
    padding: 24px;
    box-shadow: 0px 3px 7px 0px rgba(107, 107, 107, 0.35);
  }
  .sub-companies li::before {
    position: absolute;
    content: "";
    width: 12px;
    height: 46px;
    left: 0;
    top: 18px;
    background-color: #2cb3ea;
  }
  .sub-companies li .title {
    color: #2eb3eb;
    font-size: 20px;
    padding-top: 6px;
    margin-bottom: 22px;
  }
  .sub-companies li p {
    font-size: 12px;
    line-height: 30px;
  }
  .sub-companies li p img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    margin-right: 16px;
    vertical-align: middle;
  }
  .sub-companies li .qr-code {
    position: absolute;
    right: 24px;
    bottom: 24px;
    width: 67px;
    height: 67px;
  }
}
