#challenge-detail {
  height: 100vh;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  visibility: hidden;
  width: 100vw;
  z-index: 9999;
  display: none;
}
#challenge-detail.is-active {
  opacity: 1;
  visibility: visible;
  overflow-y: auto;
  overflow-x: hidden;
  display: block;
}
#challenge-detail .dialog {
  background-color: #fff;
  height: auto;
  left: 50%;
  max-width: 1160px;
  position: relative;
  margin-top: 40px;
  margin-bottom: 40px;
  transform: translateX(-50%);
  width: 84vw;
  z-index: 2;
}
#challenge-detail > .no {
  left: 50%;
  position: fixed;
  top: 72px;
  transform: translateX(-524px);
  z-index: 3;
}
#challenge-detail > .no em {
  color: #959a9c;
  display: block;
  font-family: Red Hat Text, sans-serif;
  font-size: 4.4rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  min-width: 48px;
  text-align: center;
  white-space: nowrap;
}
#challenge-detail > .no em:after {
  background-color: #959a9c;
  bottom: -16px;
  content: '';
  height: 6px;
  left: 50%;
  min-width: 48px;
  position: absolute;
  transform: translateX(-50%);
  width: 100%;
}
#challenge-detail > .no:after {
  bottom: -88px;
  color: #959a9c;
  content: '∞';
  font-family: Red Hat Text, sans-serif;
  font-size: 6.4rem;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
}
@media screen and (max-width: 1399px) {
  #challenge-detail > .no {
    transform: translateX(calc(-42vw + 56px));
  }
}
@media screen and (max-width: 959px) {
  #challenge-detail > .no {
    transform: translateX(calc(-42vw + 38px));
  }
  #challenge-detail > .no em {
    font-size: 3.6rem;
  }
  #challenge-detail > .no em:after {
    bottom: -10px;
    height: 5px;
    min-width: 40px;
  }
  #challenge-detail > .no:after {
    bottom: -62px;
    font-size: 4.8rem;
  }
}
@media screen and (max-width: 599px) {
  #challenge-detail > .no {
    left: 50%;
    position: absolute;
    top: 12px;
    transform: translateX(-50%);
  }
  #challenge-detail > .no em {
    font-size: 2.7rem;
  }
  #challenge-detail > .no em:before {
    bottom: -10px;
    height: 4px;
    min-width: 30px;
  }
  #challenge-detail > .no:after {
    bottom: -48px;
    font-size: 3.3rem;
  }
}
#challenge-detail > .no-bg {
  left: 50%;
  position: fixed;
  top: 72px;
  transform: translateX(-524px);
  z-index: 3;
}
#challenge-detail > .no-bg em {
  color: #959a9c;
  display: block;
  font-family: Red Hat Text, sans-serif;
  font-size: 39.4rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  min-width: 48px;
  text-align: center;
  white-space: nowrap;
}
#challenge-detail > .no-bg em:after {
  background-color: #959a9c;
  bottom: -16px;
  content: '';
  height: 6px;
  left: 50%;
  min-width: 48px;
  position: absolute;
  transform: translateX(-50%);
  width: 100%;
}
#challenge-detail > .no-bg:after {
  bottom: -88px;
  color: #959a9c;
  content: '∞';
  font-family: Red Hat Text, sans-serif;
  font-size: 40.6rem;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
}
@media screen and (max-width: 1399px) {
  #challenge-detail > .no-bg {
    transform: translateX(calc(-42vw + 56px));
  }
}
@media screen and (max-width: 959px) {
  #challenge-detail > .no-bg {
    transform: translateX(calc(-42vw + 38px));
  }
  #challenge-detail > .no-bg em {
    font-size: 3.6rem;
  }
  #challenge-detail > .no-bg em:after {
    bottom: -10px;
    height: 5px;
    min-width: 40px;
  }
  #challenge-detail > .no-bg:after {
    bottom: -62px;
    font-size: 4.8rem;
  }
}
@media screen and (max-width: 599px) {
  #challenge-detail > .no-bg {
    left: 50%;
    position: absolute;
    top: 12px;
    transform: translateX(-50%);
  }
  #challenge-detail > .no-bg em {
    font-size: 2.7rem;
  }
  #challenge-detail > .no-bg em:before {
    bottom: -10px;
    height: 4px;
    min-width: 30px;
  }
  #challenge-detail > .no-bg:after {
    bottom: -48px;
    font-size: 3.3rem;
  }
}
#challenge-detail .dialog-body {
  height: 100%;
  margin-left: 160px;
  padding-bottom: 100px;
  width: calc(100% - 160px);
}
#challenge-detail .dialog-body .featured-img {
  width: 100%;
  margin-bottom: 20px;
}
#challenge-detail .dialog-body .brand-category {
  background-color: #272727;
  display: inline-block;
  height: 36px;
  margin-top: 6rem;
  padding: 0 20px;
  position: relative;
}
#challenge-detail .dialog-body .brand-category span {
  color: #fff;
  display: inline-block;
  font-family: HonMinSink-B;
  font-size: 1.5rem;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
}
#challenge-detail .dialog-body h1 {
  font-family: HonMinSink-B;
  font-size: 3rem;
  line-height: 1.6;
  margin-top: 2rem;
  margin-bottom: 2rem;
  padding-right: 4rem;
}
#challenge-detail .dialog-body .bottom-title:after {
  background-color: #181f22;
  content: '';
  display: block;
  height: 2px;
  margin-top: 5rem;
  width: 40px;
}
#challenge-detail .dialog-body h2,
#challenge-detail .dialog-body h3 {
  font-family: HonMinSink-B;
  font-size: 2.6rem;
  margin-top: 4rem;
  padding-right: 16rem;
}
#challenge-detail .dialog-body h2 {
  line-height: 1.6;
}
#challenge-detail .dialog-body h2 div {
  padding-right: 0;
}
#challenge-detail .dialog-body p {
  font-size: 1.5rem;
  line-height: 2.2;
  padding-right: 16rem;
  text-align: justify;
}
#challenge-detail .dialog-body .sub-img {
  margin-top: 4rem;
  padding-right: 16rem;
}
#challenge-detail .bg-modal {
  background-color: rgba(0, 0, 0, 0.8);
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
}
#challenge-detail .close {
  height: 36px;
  left: 50%;
  position: fixed;
  top: 110px;
  transform: translateX(600px);
  width: 36px;
  z-index: 9998;
}
#challenge-detail .close span {
  color: #fff;
  display: inline-block;
  font-size: 1.4rem;
  left: -3px;
  position: absolute;
  top: 42px;
  white-space: nowrap;
}
@media screen and (max-width: 1399px) {
  #challenge-detail .close {
    transform: translateX(43.6vw);
  }
}
@media screen and (max-width: 959px) {
  #challenge-detail .close {
    height: 28px;
    width: 28px;
  }
  #challenge-detail .close span {
    font-size: 1.2rem;
    letter-spacing: 0;
    top: 36px;
  }
}
@media screen and (max-width: 599px) {
  #challenge-detail .close {
    background-color: #959a9c;
    height: 50px;
    left: auto;
    right: 0;
    top: 0;
    transform: translateX(0);
    width: 50px;
  }
  #challenge-detail .close img {
    padding: 15px;
  }
  #challenge-detail .close span {
    display: none;
  }
}
#challenge-detail .close:hover {
  cursor: pointer;
}
@media screen and (max-width: 959px) {
  #challenge-detail .dialog-body {
    margin-left: 120px;
    width: calc(100% - 120px);
  }
  #challenge-detail .dialog-body .brand-category {
    margin-top: 5.4rem;
  }
  #challenge-detail .dialog-body h1 {
    font-size: 2.8rem;
    padding-right: 4rem;
  }
  #challenge-detail .dialog-body h1:after {
    margin-top: 4rem;
  }
  #challenge-detail .dialog-body h2,
  #challenge-detail .dialog-body h3 {
    font-size: 2.4rem;
    margin-top: 4rem;
    padding-right: 8rem;
  }
  #challenge-detail .dialog-body p {
    padding-right: 8rem;
  }
  #challenge-detail .dialog-body .sub-img {
    margin-top: 3.2rem;
    padding-right: 8rem;
  }
}
@media screen and (max-width: 599px) {
  #challenge-detail .dialog {
    left: 0;
    top: 0;
    transform: translateX(0);
    width: 100vw;
    margin-top: 0;
    margin-bottom: 0;
  }
  #challenge-detail .dialog-body {
    margin: 80px auto 0;
    width: calc(100% - 40px);
  }
  #challenge-detail .dialog-body .brand-category {
    margin-top: 4.8rem;
  }
  #challenge-detail .dialog-body h1 {
    font-size: 2.4rem;
    padding-right: 0;
  }
  #challenge-detail .dialog-body h1:after {
    margin-top: 4rem;
  }
  #challenge-detail .dialog-body h2,
  #challenge-detail .dialog-body h3 {
    font-size: 2rem;
    margin-top: 4rem;
    padding-right: 0;
  }
  #challenge-detail .dialog-body .featured-img {
    margin: 0 calc(50% - 50vw);
    overflow: visible;
    width: 100vw;
  }
  #challenge-detail .dialog-body p {
    font-size: 1.5rem;
    padding-right: 0;
  }
  #challenge-detail .dialog-body .sub-img {
    margin-top: 2rem;
    padding-right: 0;
  }
}

#related-articles {
  border-top: 1px solid #f2f4f4;
  margin-top: 100px;
  padding-top: 100px;
}
@media screen and (max-width: 959px) {
  #related-articles {
    margin-top: 80px;
    padding-top: 80px;
  }
}
@media screen and (max-width: 599px) {
  #related-articles {
    margin-top: 60px;
    padding-top: 60px;
  }
}
#related-articles h2 {
  align-items: flex-end;
  display: flex;
  justify-content: flex-start;
  margin-top: 0 !important;
  margin-bottom: 1.6rem;
}
#related-articles h2 span {
  color: #959a9c;
  font-family: Red Hat Text, sans-serif;
  font-size: 4.7rem;
  font-weight: 700;
  line-height: 1;
}
#related-articles h2 em {
  font-family: Noto Sans JP, sans-serif;
  font-size: 1.6rem;
  font-style: normal;
  line-height: 1;
  margin-left: 2rem;
  padding-bottom: 0.7rem;
}
@media screen and (max-width: 959px) {
  #related-articles h2 span {
    font-size: 4.2rem;
  }
  #related-articles h2 em {
    font-size: 1.5rem;
  }
}
@media screen and (max-width: 599px) {
  #related-articles h2 span {
    font-size: 3.6rem;
  }
  #related-articles h2 em {
    font-size: 1.4rem;
  }
}
#related-articles .outer-container {
  -ms-overflow-style: none;
  background-color: #f2f4f4;
  margin-right: calc(50% - 50vw);
  overflow-x: scroll;
  scrollbar-width: none;
  width: 100%;
}
@media screen and (max-width: 599px) {
  #related-articles .outer-container {
    margin: 0 calc(50% - 50vw);
    width: 100vw;
  }
}
#related-articles .outer-container::-webkit-scrollbar {
  display: none;
}
#related-articles .inner-container {
  box-sizing: border-box;
  height: auto;
  padding: 72px 48px;
  width: 1000px;
}
@media screen and (max-width: 599px) {
  #related-articles .inner-container {
    padding: 36px 20px;
  }
}
#related-articles .inner-container .card {
  background-color: #272727;
  color: #fff;
  height: 186px;
  overflow: hidden;
  position: relative;
  width: calc(33.33333% - 13.33333px);
  cursor: pointer;
}
#related-articles .inner-container .card:nth-child(n) {
  margin-right: 20px;
}
#related-articles .inner-container .card:last-child {
  margin-right: 0px;
}
#related-articles .inner-container .card:after {
  background-image: url(../img/top/arrow-large.svg);
  background-repeat: no-repeat;
  background-size: cover;
  content: '';
  height: 117px;
  position: absolute;
  right: 0;
  top: -26px;
  transition: all 1s cubic-bezier(0.19, 1, 0.22, 1);
  width: 116px;
}
#related-articles .inner-container .card .no {
  left: 16px;
  position: absolute;
  top: 16px;
  transform: translateX(0);
  z-index: 3;
}
#related-articles .inner-container .card .no em {
  color: #fff;
  display: block;
  font-family: Red Hat Text, sans-serif;
  font-size: 2.4rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  min-width: 28px;
  text-align: center;
  white-space: nowrap;
}
#related-articles .inner-container .card .no em:after {
  background-color: #fff;
  bottom: -6px;
  content: '';
  height: 3px;
  left: 50%;
  min-width: 28px;
  position: absolute;
  transform: translateX(-50%);
  width: 100%;
}
#related-articles .inner-container .card .no:after {
  bottom: -46px;
  color: #fff;
  content: '∞';
  font-size: 3.6rem;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
}
#related-articles .inner-container .card > p {
  bottom: 0;
  box-sizing: border-box;
  font-family: HonMinSink-B;
  font-size: 1.4rem;
  left: 0;
  letter-spacing: 0.1rem;
  line-height: 1.4;
  margin: 0;
  padding: 16px;
  position: absolute;
  width: 100%;
  z-index: 3;
}
#challenge-detail .obi {
  margin: 80px auto 0;
  transform: translateX(-80px);
}
#challenge-detail .obi a span {
  left: 50%;
  transform: translate(-50%, -50%);
}
@media screen and (max-width: 959px) {
  #challenge-detail .obi {
    transform: translateX(-60px);
  }
}
@media screen and (max-width: 599px) {
  #challenge-detail .obi {
    display: block;
    margin: 56px auto 0;
    transform: translateX(0);
  }
  #challenge-detail .bg-modal {
    background-color: #fff;
  }
}

#challenge-detail .personal-name {
  font-family: HonMinSink-B;
  color: #000;
  font-size: 1.6rem;
  display: block;
  line-height: 1.6;
}

#challenge-detail .note-section {
  font-family: Noto Sans JP, sans-serif;
  color: #959a9c;
  font-size: 1.3rem;
}
