section.worksDetail {
  padding: 2.5rem 1rem 5rem;
}
@media screen and (min-width: 768px) {
  section.worksDetail {
    padding: 2.5rem 0 6rem;
  }
}
section.worksDetail .worksDetail__inner {
  max-width: 60rem;
  margin: 0 auto;
}
section.worksDetail .worksDetail__title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
@media screen and (min-width: 768px) {
  section.worksDetail .worksDetail__title {
    font-size: 1.75rem;
  }
}
section.worksDetail .worksDetail__hero {
  margin-top: 2.5rem;
}
section.worksDetail .worksDetail__heroMain {
  overflow: hidden;
  aspect-ratio: 3/2;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f5f6f7;
}
section.worksDetail .worksDetail__heroMain img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}
section.worksDetail .worksDetail__heroCaption {
  margin-top: 0.25rem;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.4;
  letter-spacing: 0.05em;
  color: #363434;
  text-align: left;
}
@media screen and (min-width: 768px) {
  section.worksDetail .worksDetail__heroCaption {
    margin-top: 0.5rem;
  }
}
section.worksDetail .worksDetail__thumbs {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.625rem;
  padding: 0;
  list-style: none;
}
@media screen and (max-width: 767px) {
  section.worksDetail .worksDetail__thumbs {
    margin-top: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
section.worksDetail .worksDetail__thumb {
  overflow: hidden;
  position: relative;
  outline: 1px solid #9ea3a6;
}
section.worksDetail .worksDetail__thumb--active {
  outline: 2px solid #ba0024;
}
section.worksDetail .worksDetail__thumb--active::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.6);
  pointer-events: none;
}
section.worksDetail .worksDetail__thumb button {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: none;
  cursor: pointer;
  aspect-ratio: 3/2;
}
section.worksDetail .worksDetail__thumb button img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}
section.worksDetail .worksDetail__meta {
  margin-top: 2.25rem;
}
@media screen and (min-width: 768px) {
  section.worksDetail .worksDetail__meta {
    margin-top: 2.5rem;
  }
}
section.worksDetail .worksDetail__meta dl {
  display: flex;
  flex-direction: column;
}
section.worksDetail .worksDetail__metaRow {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem 1.25rem 1.75rem;
  border-bottom: 1px solid #d8dce0;
}
@media screen and (min-width: 768px) {
  section.worksDetail .worksDetail__metaRow {
    padding: 1.25rem 1.25rem 1.375rem;
    gap: 2.5rem;
    align-items: center;
  }
}
section.worksDetail .worksDetail__metaRow dt {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.08em;
  color: #595757;
  min-width: 5.875rem;
}
section.worksDetail .worksDetail__metaRow dd {
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.05em;
  color: #363434;
  margin: 0;
}
section.worksDetail .worksDetail__block {
  margin-top: 3.75rem;
  border-radius: 0.25rem;
}
section.worksDetail .worksDetail__block--gray {
  background: #f5f6f7;
  padding: 2rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media screen and (min-width: 768px) {
  section.worksDetail .worksDetail__block--gray {
    padding: 2rem;
  }
}
section.worksDetail .worksDetail__block--keywords, section.worksDetail .worksDetail__block--relatedLinks {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
@media screen and (min-width: 768px) {
  section.worksDetail .worksDetail__block--keywords, section.worksDetail .worksDetail__block--relatedLinks {
    flex-direction: row;
    gap: 2.5rem;
  }
}
section.worksDetail .worksDetail__block--relatedLinks {
  margin-top: 2.5rem;
}
section.worksDetail .worksDetail__blockTitle {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
  border-bottom: 1px solid #9ea3a6;
  padding-bottom: 2rem;
  font-family: "Noto Sans JP", sans-serif;
}
section.worksDetail .worksDetail__blockTitle--red {
  color: #a4001d;
  font-size: 1.125rem;
  border: 0;
  padding-bottom: 0;
}
section.worksDetail .worksDetail__blockTitle--keywords, section.worksDetail .worksDetail__blockTitle--relatedLinks {
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.08em;
  color: #595757;
  border-bottom: none;
  padding-bottom: 0;
}
section.worksDetail .worksDetail__blockBody {
  font-size: 1rem;
  font-family: "Noto Sans JP", sans-serif;
  margin-top: 2.5rem;
  line-height: 1.85;
  letter-spacing: 0.08em;
  font-weight: 500;
}
@media screen and (min-width: 768px) {
  section.worksDetail .worksDetail__blockBody {
    margin-top: 2rem;
  }
}
section.worksDetail .worksDetail__blockBody--gray {
  margin-top: 1.25rem;
}
section.worksDetail .worksDetail__blockBody--keywords, section.worksDetail .worksDetail__blockBody--relatedLinks {
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
section.worksDetail .worksDetail__spec {
  margin-top: 2.5rem;
  border: 1px solid #9ea3a6;
  border-radius: 0.25rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media screen and (min-width: 768px) {
  section.worksDetail .worksDetail__spec {
    margin-top: 2rem;
    padding: 1.75rem 2rem;
  }
}
section.worksDetail .worksDetail__specTitle,
section.worksDetail .worksDetail__specText {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.4;
}
section.worksDetail .worksDetail__specText {
  line-height: 1.85;
  font-size: 1rem;
}
section.worksDetail .tag span {
  font-size: 1rem;
}
section.worksDetail .worksDetail__footer {
  margin-top: 3.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 3.75rem;
}
@media screen and (min-width: 768px) {
  section.worksDetail .worksDetail__footer {
    margin-top: 6rem;
    flex-direction: row;
    gap: 0;
  }
}
section.worksDetail .worksDetail__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
@media screen and (min-width: 768px) {
  section.worksDetail .worksDetail__actions {
    justify-content: flex-start;
    gap: 2.5rem;
  }
}
section.worksDetail .worksDetail__nav {
  display: flex;
  justify-content: center;
  gap: 3rem;
}
section.worksDetail .worksDetail__navBtn {
  font-family: "Noto Sans JP", sans-serif;
  border: none;
  background: transparent;
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #595757;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
}
section.worksDetail .worksDetail__navIcon {
  width: 3rem;
  height: auto;
  transition: transform 0.3s;
}
@media screen and (min-width: 768px) {
  section.worksDetail .worksDetail__navIcon {
    width: 3.375rem;
    height: 0.5625rem;
  }
}
section.worksDetail .worksDetail__navBtn--prev:hover .worksDetail__navIcon {
  transform: translateX(-0.75rem);
}
section.worksDetail .worksDetail__navBtn--next:hover .worksDetail__navIcon {
  transform: translateX(0.5rem);
}
section.worksDetail .link.corporate_common {
  align-items: center;
}