body{
  background-color: #124975;
}

.works_main {
  margin: 10.5rem auto 0;
  padding: 0;
  max-width: 128rem;
  width: 100%;
  font-family: var(--NotoSans);
  color: #FFFFFF;
}


/* ---- 作品概要まとめ -------------------------------- */
.works_sec_summary {
  max-width: 89rem;
  margin: 0 auto;
  padding-top: 6rem;
}

.summary_title {
  font-size: 2.3rem;
  line-height: calc(21 / 23);
  font-weight:500;
}

.summary_title_sub {
  position: relative;
  margin-left: 0.8rem;
  padding-left: 0.9rem;
}

.summary_title_sub::before {
  content: "";
  position: absolute; 
  top: 0.5rem;
  left: -0.3rem;
  width: 0.3rem;
  height: 2.7rem;
  background-color:#FFFFFF;
}

.summary_tag_flex {
  display: flex;
  justify-content: flex-start;
  margin-top: 1.5em;
}

.summary_tag_item {
  display: block;
  background-color: #FFFFFF;
  margin-right: 1.5rem;
  padding: 0.5rem 1.1rem;
  color: #003D6D;
  font-size: 1.6rem;
  line-height: calc(24 / 16);
  font-weight:400;
}

.summary_tag_item:not(:first-child) {
  margin-left: 1.5rem;
}

.summary_text {
  margin-top: 2rem;
  font-size: 1.6rem;
  line-height: calc(21 / 16);
  font-weight:500;
}

.summary_category_flex {
  list-style: none;  
  margin-top: 1.0rem;
  padding: 0 1.1rem;
}

.summary_category_flex li {
  display: inline;
}

.summary_category_item {
  display: inline;
  position: relative;
  font-size: 1.6rem;
  line-height: calc(35 / 16);
  font-weight: 400;
  text-decoration: none;
  color: #FFF;
  white-space: normal;
  word-break: break-word;
  margin: 0.2rem 0 0 0;
}

.summary_category_flex li:not(:last-child)::after { /* 最後以外 */
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 0.3rem;
  min-height: 2.7rem;
  height: 100%;
  background-color:#FFFFFF;
  margin: -1.0rem 1.05rem 0 1.5rem;
}

.icon {
  width: 1.9rem;
  height: 1.9rem;
  object-fit: contain;
  margin: 0.8rem 0 0 1.1rem;
}

.summary_imagebox {
  margin: 0.5rem auto 0;
  aspect-ratio: 890/500;
  width: 100%;
  overflow: hidden;
}


/* ---- 作品の詳細内容 -------------------------------- */
.works_sec_detail {
  max-width: 91rem;
  margin: 3.8rem auto 0;
  padding-bottom: 9.8rem;
}

.works_order_area:not(:last-child){
  margin-bottom: 5rem;
}

.works_order_area.the_head{
  margin-bottom: .5rem;
}

.works_detail_title {
  width: fit-content;
  min-height: 3.0rem;
  background-color: #FFFFFF;
  padding: 0.3rem 1.5rem;
  color: #003D6D;
  font-size: 1.6rem;
  line-height: calc(24em / 16);
  font-weight:500;
}

.detail_subtitle {
  font-size: 1.8rem;
  line-height: calc(26 / 18);
  font-weight:500;
  color: #FFFFFF;
  border-bottom:  0.2rem solid #FFFFFF;
  padding-bottom: 0.7rem;
}

.add_detail_subtitle {
  padding-bottom: 0.6rem;
}

.works_detail_flex {
  display: flex;
  justify-content: space-between;
}

.works_detail_image {
  aspect-ratio: 432/242;
  max-width: 43.2rem;
  overflow: hidden;
  margin-top: 2.0rem;
  object-fit: cover;
}

.works_detail_text {
  max-width: 45.3rem;
  width: 100%;
  font-size: 1.6rem;
  line-height: calc(32 / 16);
  font-weight:400;
  color: #FFFFFF;
  margin: 1.3rem 0 0 2.5rem;
}

.add_detail_text {
  max-width: 91.0rem;
  margin-left: 0;
  padding-right: 1rem;
}


/* ---- 一覧へ戻る -------------------------------- */
.works_sec_footer {
  max-width: 128rem;
  width: 100%;
  margin: 0 auto;
  padding: 0 0 15em 0;
  display: flex;
  justify-content: center;
  align-content: center;
}

.works_backlink {
  display: inline-flex; /* inline-blockとFlexboxの両立 */
  max-width: 14rem;
  width: 100%;
  min-height: 4.4rem;
  background-color: #FFFFFF;
  font-size: 1.6rem;
  line-height: calc(24 / 16);
  font-weight:500;
  color: #003D6D;
  justify-content: center;
  align-items: center;
}



@media screen and (max-width: 699.98px) {
  .works_main {
    max-width: 37.5rem;
    margin-top: 21.7rem;
  }

  /* ---- 作品概要まとめ -------------------------------- */
  .works_sec_summary {
    max-width: 33.5rem;
    margin: 0 auto;
    padding-top: 5rem;
  }

  .summary_title {
    line-height: calc(21 / 13);
  }

  .summary_title_sub {
    display: block;
    margin: 0.4rem 0 0 0; 
  }

  .summary_title_sub::before {
    top: 0.6rem;
    left: -0.0rem;
  }

  .summary_tag_flex {
    margin-top: 1.8rem;
    flex-wrap: wrap;
    gap:1.5rem 1.5rem;
  }

  .summary_tag_item { 
    margin: 0;
  }

  .summary_text {
    margin-top: 1.5rem;
  }

  .summary_category_flex {
    margin-top: 0.8rem;
    padding: 0;
  }

  .summary_imagebox {
    margin-top: 2.5em;
  }


  /* ---- 作品の詳細内容 -------------------------------- */
  .works_sec_detail {
    max-width: 33.5rem;
    margin: 2.9rem auto 0;
    padding-bottom: 10rem;
  }


  /* ---- 一覧へ戻る -------------------------------- */
  .works_detail_flex {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
  }

  .works_detail_text { 
    max-width: 33.5rem;
    margin: 0.5rem 0 0 0;
    letter-spacing: -0.02rem;
  }

  .works_order_area:not(:last-child){
    margin-bottom: 6rem;
  }
  
  .works_order_area.the_head {
    margin-bottom: .5rem;
  }

  .detail_subtitle {
    padding-bottom: 0.9rem;
  }

  .works_detail_flex {
    margin-top: 0.0rem;
  }

  .add_detail_text {
    margin-top: 1.5rem;
    padding-right: 0rem;
  }

  .add_sp_order {
    margin-top: 5.70rem;
  }

  .works_sec_footer {
    margin-top: 0rem;
    padding-bottom: 10em;
  }

}