.p-contactTop {
  padding: 0 28px;
}

.p-contactTop__inner {
  max-width: 840px;
  margin: 0 auto;
}

.p-contactTop__lead {
  margin-bottom: 72px;
  font-size: 1.6rem;
  line-height: 1.8;
  text-align: center;
}

.p-contactTop__list {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 6px;
}

.p-contactTop__list ~ .p-contactTop__list {
  margin-top: 28px;
}

.p-contactTop__listItem {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  gap: 28px;
  padding: 28px;
  background-color: white;
  border: solid 16px #f5f5f5;
  border-radius: 5px;
}

.p-contactTop__list--bgBlue .p-contactTop__listItem {
  border-color: #41A9D4;
}

.p-contactTop__list--bgLightBlue .p-contactTop__listItem {
  border-color: #C1E4F3;
}

.p-contactTop__listItemTitle {
  text-align: center;
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1.8;
  color: #41A9D4;
}

.p-contactTop__listItemLead {
  font-size: 1.4rem;
  line-height: 1.8;
}

.p-contactTop__listItemBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  padding-bottom: 2px 4px;
  border-radius: 5px;
  background-color: #41A9D4;
  color: white;
  font-size: clamp(14px ,2vw, 1.8rem);
  font-weight: bold;
  line-height: 1.2;
}

.p-contactTop__notice {
  margin-top: 80px;
  padding: 36px 70px;
  border-radius: 5px;
  border: solid 1px #f5f5f5;
  background-color: white;
}

.p-contactTop__noticeTitle {
  margin-bottom: 24px;
  font-size: 1.8rem;
  line-height: 1.8;
  font-weight: bold;
  text-align: center;
}

.p-contactTop__noticeList {
  padding-left: 1.2em;
  font-size: 1.6rem;
  line-height: 1.8;
}

.p-contactTop__noticeList li {
  list-style: disc outside;
}

.p-contactTop__noticeList li ~ li {
  margin-top: 12px;
}

.p-contactTop__noticeList li::marker {
  color: #41A9D4;
}

@media (hover: hover) and (pointer: fine) {
  .p-contactTop__listItemBtn:hover {
    background-color: #3487aa;
  }
}

@media only screen and (min-width: 737px) {
  .p-contactTop__list.p-contactTop__list--2col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media only screen and (max-width: 736px) {
  .p-contactTop {
    padding: 0 16px;
  }

  .p-contactTop__lead {
    margin-bottom: 56px;
    font-size:  1.4rem;
    line-height: 1.8;
    text-align: left;
  }

  .p-contactTop__listItem {
    padding: 24px 12px;
    gap: 16px;
  }

  .p-contactTop__listItemTitle {
    font-size: 1.6rem;
    line-height: 1.4;
  }

  .p-contactTop__listItemLead {
    font-size: 1.3rem;
    line-height: 1.8;
  }

  .p-contactTop__listItemBtn {
    font-size:  clamp(14px ,3vw, 1.6rem);
    min-height: 42px;
  }

  .p-contactTop__notice {
    margin-top: 56px;
  }

  .p-contactTop__notice {
    padding: 32px 12px;
  }

  .p-contactTop__noticeTitle {
    margin-bottom: 16px;
    font-size: 1.6rem;
    line-height: 1.4;
  }

  .p-contactTop__noticeList {
    font-size: 1.3rem;
    line-height: 1.8;
  }
}