/* ************************************************************** */
/* common                                                         */
/* ************************************************************** */
.link_blank,
.link_pdf {
  color: #EF7625;
  opacity: 1;
  transition: opacity .5s;
}
.link_blank:hover,
.link_pdf:hover {
  opacity: .5;
}
.link_blank::after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  margin-left: .5em;
  background-image: url('//media.fromsoftware.jp/fromsoftware/jp/static/img/common/external_link_orange.svg');
  background-position: left top;
  background-repeat: no-repeat;
  background-size: contain;
  width:  1.5em;
  height: 1.5em;
}
.link_pdf::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  margin-right: .5em;
  background-image: url('//media.fromsoftware.jp/fromsoftware/jp/static/img/common/icon_pdf.png');
  background-position: left top;
  background-repeat: no-repeat;
  background-size: contain;
  width:  1.5em;
  height: 1.5em;
}


/* ************************************************************** */
/* press release                                                  */
/* ************************************************************** */
#release_year_tab {
  display: table;
  width: 100%;
  height: auto;
  table-layout: fixed;
}
#release_year_tab>li {
  display: table-cell;
  border-left: 1px solid #fafafa;
  border-right: 1px solid #fafafa;
  background-color: #969696;
  padding: 1em 0;
  text-align: center;
  cursor: pointer;
}
#release_year_tab>li.curr {
  background-color: #686868;
}
#release_year_tab>li:first-child {
  border-left: none;
}
#release_year_tab>li:last-child {
  border-right: none;
}
#release_year_tab>li>p {
  color: #fff;
  font-weight: lighter;
}
#release_year_select {
  display: block;
  width: 90%;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none; 
  border: 1px solid #9a9a9a;
  padding: .5em 0 .5em .25em;
  cursor: pointer;
  color: #9a9a9a;
  font-size: 16px;
  background: url('//media.fromsoftware.jp/fromsoftware/jp/static/img/products/narrow/arrow.png') no-repeat right center #fff;
  background-size: contain;
  margin: 0 auto 1em auto;
  box-sizing: border-box;
}

.pressrelease_list {
  display: none;
  list-style-type: none;
}
.view_list {
  display: block;
}
.pressrelease_list>li {
  display: flex;
}
.pressrelease_list>li>div:nth-child(1)>p {
  color: #717171;
}
.pressrelease_list>li>div:nth-child(2)>p {
  color: #979797;
}
.pressrelease_list>li>div:nth-child(2)>a {
  color: #979797;
  opacity: 1;
  transition: opacity .5s;
}
.pressrelease_list>li>div:nth-child(2)>a:hover {
  opacity: .6;
}


/* pc-tab */
@media all and (min-width: 768px) {
  .contents_line {
    margin: 0;
    padding: 0;
    border: none;
    border-bottom: 1px solid #969696;
  }
  #release_year_select {
    display: none;
  }
  .pressrelease_list>li {
    flex-direction: row;
    margin-top: 3em;
  }
  .pressrelease_list>li>div:nth-child(1) {
    min-width: 7em;
    width: 7em;
  }
}
/* tab-phone */
@media all and (max-width: 767px) {
  .narrow_wrapper {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
  .contents_line {
    display: none;
  }
  #release_year_tab {
    display: none;
  }
  .pressrelease_list>li {
    flex-direction: column;
    margin-top: 1.5em;
  }
}


/* ************************************************************** */
/* detail                                                         */
/* ************************************************************** */
#release_frame {
  background-color: #fff;
  padding: 0;
  box-sizing: border-box;
}
#share_wrapper {
  text-align: right;
  margin: 0;
}

/* pc-tab */
@media all and (min-width: 768px) {
  #release_frame {
    border: 1px solid #121212;
  }
  #share_wrapper {
    padding: 0;
  }
  #share_wrapper>iframe:last-child {
    min-width: 80px;
  }
}
/* tab-phone */
@media all and (max-width: 767px) {
  #release_frame {
    border-top: 1px solid #121212;
    border-bottom: 1px solid #121212;
  }
  #share_wrapper {
    padding: 0 2px;
    box-sizing: border-box;
  }
}
