/* 仕事を知る */

.work-about,
.work-institute {
  overflow: hidden;
}

.work-institute--chiba {
  background: #eaf7fd;
}

.work-institute__head {
  margin-bottom: 6rem;
}

.work-list {
  border-top: 1px solid rgba(15, 95, 152, .2);
}

.work-item {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  gap: 4rem;
  padding: 5rem 0;
  border-bottom: 1px solid rgba(15, 95, 152, .2);
}

.work-item__content h3 {
  margin: 0 0 2rem;
  color: var(--blue);
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 500;
}

.work-item__content > p {
  max-width: 100rem;
  margin: 0;
  font-size: 1.8rem;
  line-height: 2;
}

.work-detail {
  margin: 0;
}

.work-detail > div {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  gap: 2.5rem;
  padding: 1.8rem 0;
  border-top: 1px dashed rgba(15, 95, 152, .2);
}

.work-detail > div:first-child {
  padding-top: 0;
  border-top: 0;
}

.work-detail dt {
  color: var(--blue);
  font-weight: 700;
}

.work-detail dd {
  margin: 0;
  line-height: 1.9;
}

@media (max-width: 1024px) {
.work-item {
    grid-template-columns: 7rem minmax(0, 1fr);
    gap: 3rem;
  }
}

@media (max-width: 767px) {
.work-institute__head {
    margin-bottom: 4rem;
  }

  .work-item {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 4rem 0;
  }

  .work-item__content h3 {
    margin-bottom: 1.8rem;
    font-size: 2.5rem;
  }

  .work-item__content > p {
    font-size: 1.6rem;
    line-height: 1.9;
  }

  .work-detail > div {
    grid-template-columns: 1fr;
    gap: .8rem;
  }
}

.work-institute--chiba .work-list {
  display: grid;
  gap: 2.4rem;
  border-top: 0;
}

.work-institute--chiba .work-item {
  position: relative;
  display: block;
  padding: 3.6rem 4rem;
  border: 1px solid rgba(15, 95, 152, .14);
  border-left: 5px solid var(--blue);
  border-radius: 1.2rem;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 95, 152, .07);
}

.work-institute--chiba .work-item__content h3 {
  position: relative;
  margin: 0 0 2.6rem;
  padding-bottom: 1.6rem;
  color: var(--blue);
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.5;
}

.work-institute--chiba .work-item__content > p {
  max-width: none;
}

.work-institute--chiba .work-detail > div {
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: 3rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(15, 95, 152, .14);
}

.work-institute--chiba .work-detail > div:first-child {
  padding-top: 0;
  border-top: 0;
}

.work-institute--chiba .work-detail dt {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4.2rem;
  padding: .7rem 1rem;
  border-radius: .6rem;
  color: var(--blue);
  background: #eaf7fd;
  font-weight: 700;
  text-align: center;
}

.work-institute--chiba .work-detail dd {
  align-self: center;
}

@media (max-width: 1024px) {
  .work-institute--chiba .work-item {
    padding: 3.2rem;
  }
}

@media (max-width: 767px) {
  .work-institute--chiba .work-list {
    gap: 1.8rem;
  }

  .work-institute--chiba .work-item {
    padding: 2.6rem 2.2rem;
    border-left-width: 4px;
  }

  .work-institute--chiba .work-item__content h3 {
    margin-bottom: 2.2rem;
    padding-bottom: 1.3rem;
    font-size: 2.5rem;
  }

  .work-institute--chiba .work-detail > div {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.8rem 0;
  }

  .work-institute--chiba .work-detail dt {
    width: fit-content;
    min-width: 8rem;
    min-height: 0;
  }
}

.work-institute .work-item {
  grid-template-columns: 1fr;
  gap: 0;
}

.work-institute--chiba {
  background: #f6fbfe;
}

.work-institute--shiga {
  background: #fff;
}

.work-institute .work-list {
  display: grid;
  gap: 2.4rem;
  border-top: 0;
}

.work-institute .work-item {
  position: relative;
  display: block;
  padding: 3.6rem 4rem;
  border: 1px solid rgba(15, 95, 152, .14);
  border-left: 5px solid var(--blue);
  border-radius: 1.2rem;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 95, 152, .07);
}

.work-institute .work-item__content h3 {
  position: relative;
  margin: 0 0 2.6rem;
  padding-bottom: 1.6rem;
  color: var(--blue);
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.5;
}

.work-institute .work-item__content > p {
  max-width: none;
}

.work-institute .work-detail > div {
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: 3rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(15, 95, 152, .14);
}

.work-institute .work-detail > div:first-child {
  padding-top: 0;
  border-top: 0;
}

.work-institute .work-detail dt {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4.2rem;
  padding: .7rem 1rem;
  border-radius: .6rem;
  color: var(--blue);
  background: #eaf7fd;
  font-weight: 700;
  text-align: center;
}

.work-institute .work-detail dd {
  align-self: center;
}

.work-institute__head {
  margin-bottom: 5rem;
}

@media (max-width: 1024px) {
  .work-institute .work-item {
    padding: 3.2rem;
  }
}

@media (max-width: 767px) {
  .work-institute .work-list {
    gap: 1.8rem;
  }

  .work-institute .work-item {
    padding: 2.6rem 2.2rem;
    border-left-width: 4px;
  }

  .work-institute .work-item__content h3 {
    margin-bottom: 2.2rem;
    padding-bottom: 1.3rem;
    font-size: 2.5rem;
  }

  .work-institute .work-detail > div {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.8rem 0;
  }

  .work-institute .work-detail dt {
    width: fit-content;
    min-width: 8rem;
    min-height: 0;
  }
}
