.page-production #detail .name_main span {
  background-color: #BC0016;
}

.page-production #works .title {
  color: #BC0016;
}

.page-production #works .title::after {
  background-color: #BC0016;
}

.page-school #detail .name_main span {
  background-color: #f29e00;
}

.page-school #works .title {
  color: #f29e00;
}

.page-school #works .title::after {
  background-color: #f29e00;
}

.page-school .l-list figure:hover + .l-list-media_body a {
  color: #f29e00;
}

.page-school .l-list .c-header a:hover {
  color: #f29e00;
}

.page-school .l-list .tab--group-item {
  border: solid 1px #f29e00;
  color: #f29e00;
}

.page-school .l-list .tab--group-item:hover,
.page-school .l-list .tab--group-item.is-active {
  background: #f29e00;
  color: white;
}

.page-school .l-list .__btn a {
  border: solid 1px #f29e00;
  background: white;
  color: #f29e00;
}

.page-school .l-list .__btn a:hover {
  background: #f29e00;
  color: #111;
}

#detail {
  padding: 89px 0 75px;
}

#detail ul {
  padding: 0;
  list-style: none;
}

#detail .name_main {
  width: 535px;
  max-width: 100%;
  border-bottom: 1px solid #000;
  display: flex;
  font-size: 3.6rem;
  align-items: center;
  justify-content: space-between;
}

#detail .name_main span {
  padding: 0 30px;
  border-radius: 20px;
  color: #fff;
  display: inline-block;
  font-size: 2rem;
  line-height: 40px;
}

#detail .name_sub li:last-of-type {
  margin-top: 10px;
  font-size: 2rem;
}

#detail .name_sub .sp {
  display: none;
}

#detail .detail {
  padding: 30px 0;
  background-color: #eee;
}

#detail .detail .container {
  display: flex;
  align-items: flex-start;
  flex-direction: row-reverse;
  justify-content: space-between;
}

#detail .detail_info .c-audio {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
}

#detail .detail_info .c-audio > div:last-of-type {
  margin-left: 20px;
}

#detail .detail_info .audio-item {
  padding: 10px;
  background-color: #fff;
  display: inline-block;
}

#detail .detail_info .audio-item audio {
  width: 270px;
}

#detail .detail_img {
  display: flex;
  align-items: flex-end;
  position: relative;
  top: -170px;
}

#detail .detail_img .main {
  width: 400px;
}

#detail .detail_img .sub {
  width: 90px;
  margin-left: 30px;
  cursor: pointer;
}

#detail .detail_img img {
  max-width: 100%;
}

#detail table {
  width: 500px;
}

#detail table th,
#detail table td {
  padding: 5px;
  vertical-align: top;
}

#detail table th {
  padding-right: 30px;
  color: #7b7b7b;
  font-weight: normal;
  white-space: nowrap;
}

#detail table a {
  display: block;
  word-break: break-all;
}

#works {
  padding-bottom: 100px;
}

#works .container > section:not(:first-of-type) {
  margin-top: 100px;
}

#works .title {
  margin-bottom: 85px;
  font-size: 3rem;
  font-weight: bold;
  position: relative;
  text-align: center;
}

#works .title::after {
  width: 60px;
  height: 2px;
  content: "";
  position: absolute;
  top: calc(100% + 15px);
  left: 50%;
  transform: translateX(-50%);
}

#works .subTitle {
  margin-bottom: 60px;
  background-color: #F9F9F9;
  color: #888888;
  font-size: 3rem;
  line-height: 80px;
  text-align: center;
}

#works .workList {
  padding-left: 80px;
}

#works .workList li:not(:first-of-type) {
  margin-top: 10px;
}

#works .genderList {
  width: 920px;
  margin: 100px auto 0;
  padding-left: 0;
  display: flex;
  justify-content: space-between;
  list-style-type: none;
}

#works .genderList li {
  width: 440px;
  max-width: 100%;
}

#works .genderList a {
  height: 120px;
  border-radius: 10px;
  color: #fff;
  display: flex;
  font-weight: bold;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

#works .genderList a:after {
  width: 43px;
  height: 24px;
  background: url(./assets/images/common/arrow.png) no-repeat center/contain;
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(-50%, -50%);
}

#works .genderList .male {
  background-color: #5FACC9;
}

#works .genderList .female {
  background-color: #F97D92;
}

@media all and (max-width: 1200px) {
  #detail .container {
    padding: 0 20px;
  }

  #works .container {
    padding: 0 20px;
  }
}

@media all and (max-width: 1140px) {
  #detail .detail_img {
    display: block;
  }
}

@media all and (max-width: 1017px) {
  #detail .detail_img .main {
    width: 320px;
  }
}

@media all and (max-width: 959px) {
  #detail .detail .container {
    display: block;
  }

  #detail .detail_info .c-audio {
    display: block;
  }

  #detail .detail_info .c-audio > div:last-of-type {
    margin-top: 20px;
    margin-left: 0;
  }

  #detail .detail_info .audio-item {
    display: block;
  }

  #detail .detail_info .audio-item audio {
    width: 100%;
  }

  #detail .detail_img {
    top: 0;
  }

  #detail .detail_img li {
    max-width: 100%;
    margin: 0 auto !important;
  }

  #detail .detail_img .sub {
    margin-top: 20px !important;
  }

  #detail table {
    width: 100%;
  }

  #works .workList {
    padding-left: 40px;
  }

  #works .genderList {
    width: 100%;
    display: block;
  }

  #works .genderList li {
    margin: 0 auto;
  }

  #works .genderList li:not(:first-of-type) {
    margin-top: 20px;
  }
}

@media all and (max-width: 559px) {
  #detail {
    padding: 20px 0;
  }

  #detail .name_main {
    font-size: 2.6rem;
  }

  #detail .name_main span {
    padding: 0 15px;
    font-size: 1.6rem;
    line-height: 26px;
  }

  #detail .name_sub .sp {
    display: block;
  }

  #detail .name_sub .slash {
    display: none;
  }

  #detail table {
    font-size: 1.4rem;
  }

  #detail table th {
    padding-right: 5px;
  }

  #works .container > section:not(:first-of-type) {
    margin-top: 50px;
  }

  #works .title {
    margin-bottom: 40px;
    font-size: 2.4rem;
  }

  #works .subTitle {
    margin-bottom: 30px;
    font-size: 2rem;
    line-height: 40px;
  }

  #works .workList {
    padding-left: 20px;
  }

  #works .genderList a {
    height: 85px;
    font-size: 1.8rem;
  }
}