.work-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  max-width: 1000px;
  margin: auto;
}
.page-title {
  font-size: 0.9em;
  margin: 0 auto;
  color: var(--color-text2);
  text-align: left;
  font-style: italic;
}
.work-title {
  font-size: 1.1em;
  margin: 0 0 10px 0;
  color: var(--color-text);
}

.work-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
}
.summary {
  font-size: 0.85em;
  margin-bottom: 20px;
  text-align: center;
}
.work-info {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  width: 100%;
  max-width: 900px;
}
.info-item {
  margin-bottom: 10px;
}
.item-title {
  display: inline-block;
  max-width: 1000px;
  width: 100%;
  margin-bottom: 10px;
  padding: 5px 0 5px 10px;
  font-weight: bold;
  border-bottom: 2px solid var(--color-border);
  font-size: 0.85em;
}
.item-description {
  display: inline-block;
  max-width: 1000px;
  width: 100%;
  margin-top: 5px;
  padding: 0 10px;
  line-height: 1.6;
  font-size: 0.8em;
}
/* PC表示用のスタイル（768px以上） */
@media (min-width: 768px) {
  .page-title {
    font-size: 2em;
  }

  .work-title {
    font-size: 2.5em;
  }

  .work-image {
    max-width: 100%;
  }
  .summary {
    font-size: 1.2em;
  }
  .work-info {
    margin: 50px 0;
  }
  .info-item {
    margin-bottom: 20px;
  }
  .item-title {
    font-size: 1.2em;
    width: 106%;
  }
  .item-description {
    font-size: 1.1em;
  }
}

/* ラベルスタイル */
.work-detail {
  position: relative;
}
.label {
  display: flex;
  align-items: center;
  position: absolute;
  top: -25px;
  right: 20px;
}
/* .label-icon {
  width: 40px;
  height: 40px;
  margin-right: 10px;
  padding: 5px;
  fill: var(--color-bg);
  background-color: var(--color-bg3);
  border-radius: 50%;
}
.icon-image {
  width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: cover;
} */
.label-text {
  width: 145px;
  font-size: 0.75em;
  font-weight: bold;
  position: relative;
  background: var(--color-bg3);
  padding: 6px 10px 6px 40px;
  color: var(--color-text3);
  border-radius: 0 10px 10px 0;
}
.label-text:before {
  font-family: "Font Awesome 5 Free";
  content: "\f109";
  display: inline-block;
  line-height: 40px;
  position: absolute;
  padding: 0em;
  color: white;
  background: var(--color-bg3);
  font-weight: 900;
  width: 45px;
  height: 45px;
  text-align: center;
  line-height: 42px;
  left: -1.35em;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  border: solid 3px white;
  border-radius: 50%;
}

/* PC表示用のスタイル（768px以上） */
@media (min-width: 768px) {
  .label {
    top: -35px;
    right: 40px;
  }
  .label-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
  }
  .label-text {
    font-size: 1.1em;
    width: 300px;
    padding: 13px 15px 13px 60px;
  }

  .label-text:before {
    font-size: 1.3em;
    width: 75px;
    height: 75px;
    line-height: 70px;
    left: -1.4em;
    border: solid 4px white;
  }
}
