@import url('https://fonts.googleapis.com/earlyaccess/sawarabimincho.css');

/* ************************************************************** */
/* common                                                         */
/* ************************************************************** */
html, body {
  height: 100%;
  margin: 0 auto;
  text-align: center;
  font-family: "Sawarabi Mincho",-apple-system,BlinkMacSystemFont,游明朝,"Yu Mincho",YuMincho,"Helvetica Neue","ヒラギノ明朝 ProN W6", HiraMinProN-W6,メイリオ,Meiryo,serif;
  color:#fff;
  font-size:14px;
  font-weight: normal;
  line-height:1.6em;
  letter-spacing: 0;
  min-width: 320px;
}
body {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  background-color: #000;
}
body.sidemenuopen {
  overflow-y: hidden;
}

a.link_box {
  position: relative;
  display: block;
  background-color: #000;
  text-align: center;
  color: #fff;
  text-decoration: none;
  line-height: 1em;
  padding: 1.5em 0;
  margin-left: auto;
  margin-right: auto;
}
.deco_box,
.deco_box_mini {
  position: relative;
  border: 1px solid rgba(172, 172, 172, .6);
  z-index: 0;
}
.deco_box::before,
.deco_box_mini::before {
  content: "";
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../../img/common/decobox_UL.svg'),
                    url('../../img/common/decobox_UR.svg'),
                    url('../../img/common/decobox_LR.svg'),
                    url('../../img/common/decobox_LL.svg');
  background-position: left   top,
                       right  top,
                       right  bottom,
                       left   bottom;
  background-repeat: no-repeat,
                     no-repeat,
                     no-repeat,
                     no-repeat;
                     z-index: 1;
}
.deco_box::before {
  background-size: auto 30%,
                   auto 30%,
                   auto 30%,
                   auto 30%;
}
/* + media query ++++++++++++++++++++++++++++++++++++++++++++++++ */
@media all and (min-width: 768px) {
  .view_nrrw {
    display: none !important;
  }
  a.link_box {
    width: 50%;
    opacity: .7;
    transition: opacity .5s;
  }
  a.link_box:hover {
    opacity: 1;
  }
  .deco_box_mini::before {
    background-size: auto 20%,
                     auto 20%,
                     auto 20%,
                     auto 20%;
  }
}
@media all and (max-width: 767px) {
  .view_wide {
    display: none !important;
  }
  a.link_box {
    width: 100%;
  }
  .deco_box_mini::before {
    background-size: auto 15%,
                     auto 15%,
                     auto 15%,
                     auto 15%;
  }
}

.mt_1em { margin-top: 1em; }
.mt_2em { margin-top: 2em; }
.mt_3em { margin-top: 3em; }
.mt_4em { margin-top: 4em; }
.mt_5em { margin-top: 5em; }
.mt_6em { margin-top: 6em; }
.mt_7em { margin-top: 7em; }
.mt_8em { margin-top: 8em; }
/* + media query ++++++++++++++++++++++++++++++++++++++++++++++++ */
@media all and (min-width: 768px) {
  .mt_1hem { margin-top: 1em; }
  .mt_2hem { margin-top: 2em; }
  .mt_3hem { margin-top: 3em; }
  .mt_4hem { margin-top: 4em; }
  .mt_5hem { margin-top: 5em; }
  .mt_6hem { margin-top: 6em; }
  .mt_7hem { margin-top: 7em; }
  .mt_8hem { margin-top: 8em; }
}
@media all and (max-width: 767px) {
  .mt_1hem { margin-top:  .5em; }
  .mt_2hem { margin-top:   1em; }
  .mt_3hem { margin-top: 1.5em; }
  .mt_4hem { margin-top:   2em; }
  .mt_5hem { margin-top: 2.5em; }
  .mt_6hem { margin-top:   3em; }
  .mt_7hem { margin-top: 3.5em; }
  .mt_8hem { margin-top:   4em; }
}

ul.list_notice,
ul.list_dot {
  display: table;
  list-style-type: none;
  text-align: left;
}
ul.list_notice>li,
ul.list_dot>li {
  display: table-row;
  counter-increment: table-ol;
  font-size: .9em;
}
ul.list_notice>li::before,
ul.list_dot>li::before {
  display: table-cell;
  padding-right: .5em;
}
ul.list_notice>li::before {
  content: "\203B";
}
ul.list_dot>li::before {
  content: "\30FB";
}


/* ************************************************************** */
/* header                                                         */
/* ************************************************************** */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1;
}
header::before {
  content: "";
  color: #fff;
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: top left;
  background-repeat: repeat-x;
  background-size: auto 100%;
  z-index: -1;
}
header>a {
  position: absolute;
  margin-top: auto;
  margin-bottom: auto;
  display: block;
  line-height: 0;
}
header>a>img {
  display: block;
  width: 100%;
}
/* + media query ++++++++++++++++++++++++++++++++++++++++++++++++ */
@media all and (min-width: 1370px) {
  header>a {
    left: 3%;
  }
  #menu_horizontal {
    width: 100%;
    margin: 0 auto;
    max-width: 960px;
  }
  #menu_horizontal img {
    height: 1em;
  }
  #header_menu_1 { width: calc( 1em *  4.164 ); }
  #header_menu_2 { width: calc( 1em *  9.789 ); }
  #header_menu_3 { width: calc( 1em *  8.187 ); }
  #header_menu_4 { width: calc( 1em *  5.564 ); }
  #header_menu_5 { width: calc( 1em * 12.756 ); }
}
@media all and (max-width: 1369px) and (min-width: 768px) {
  header>a {
    left: 2.5%;
  }
  #menu_horizontal {
    width: calc( 100% - (2.5% + (3em * 4.348)) );
    margin-left: auto;
  }
  #menu_horizontal img {
    height: 1.2vw;
  }
  #header_menu_1 { width: calc( 1.2vw *  4.164 ); }
  #header_menu_2 { width: calc( 1.2vw *  9.789 ); }
  #header_menu_3 { width: calc( 1.2vw *  8.187 ); }
  #header_menu_4 { width: calc( 1.2vw *  5.564 ); }
  #header_menu_5 { width: calc( 1.2vw * 12.756 ); }
}
@media all and (min-width: 768px) {
  header {
    height: 5em;
  }
  header::before {
    background-image: url('../../img/common/wide/menu_bg.png');
  }
  header>a {
    top: 0;
    bottom: 0;
    width: calc( 3em * 4.348 );
    height: 3em;
  }
  #menu_horizontal {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    height: 80%;
  }
  #menu_horizontal>a {
    line-height: 0;
    cursor: pointer;
  }
  #menu_horizontal>a>img {
    opacity: .8;
    transition: opacity .5s;
  }
  #menu_horizontal>a:hover>img {
    opacity: 1;
  }
  #menu_horizontal>img {
    opacity: .4;
  }
  #menu_switch {
    display: none;
  }
}
@media all and (max-width: 767px) {
  header {
    height: 4.5em;
  }
  header::before {
    background-image: url('../../img/common/nrrw/menu_bg.png');
  }
  header>a {
    top: .5em;
    left: 0;
    right: 0;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
  }
  #menu_horizontal {
    display: none;
  }
  #menu_switch {
    position: fixed;
    display: block;
    top:   .5em;
    left: auto;
    right: .5em;
    width: 2em;
  }
  #menu_switch::before {
    content: "";
    display: block;
    padding-top: 84.1%;
  }
  #menu_switch>img {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity .5s;
  }
  #menu_switch>img.close {
    opacity: 0;
  }
}


/* ************************************************************** */
/* footer                                                         */
/* ************************************************************** */
footer {
  display: block;
  padding-top: 1.5em;
  padding-bottom: 2em;
  box-sizing: border-box;
  width: 100%;
  background-color: #000;
  border-top: 1px solid #acacac;
  box-sizing: border-box;
  z-index: 0;
}
footer>.stage_wrapper {
  display: flex;
  margin: 0 auto;
}
footer>.stage_wrapper:first-child {
  margin-bottom: 1em;
}
footer>.stage_wrapper>#platform_wrapper {
  align-items: center;
}
footer>.stage_wrapper>#platform_wrapper>a {
  box-sizing: border-box;
  line-height: 0;
}
footer>.stage_wrapper>#sns_wrapper {
  width: 120px;
  justify-content: space-between;
  align-items: center;
}
footer>.stage_wrapper>#sns_wrapper>a {
  position: relative;
  display: block;
  width: 2em;
  height: 2em;
}
footer>.stage_wrapper>#sns_wrapper>a::before {
  content: "";
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #333;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}
footer>.stage_wrapper>#sns_wrapper>a:nth-child(1)::before {
  background-image: url('//media.fromsoftware.jp/fromsoftware/jp/static/img/common/wide/footer_sns_n_x.jpg');
}
footer>.stage_wrapper>#sns_wrapper>a:nth-child(2)::before {
  background-image: url('//media.fromsoftware.jp/fromsoftware/jp/static/img/common/wide/footer_sns_n_f.jpg');
}
footer>.stage_wrapper>#sns_wrapper>a:nth-child(3)::before {
  background-image: url('//media.fromsoftware.jp/fromsoftware/jp/static/img/common/wide/footer_sns_n_i.jpg');
}
footer>.stage_wrapper>#cp_trd_wrapper {
  display: flex;
  flex-direction: row;
  min-height: 0%;
}
footer>.stage_wrapper>#cp_trd_wrapper>div {
  display: block;
  min-height: 0%;
  line-height: 0;
}
footer>.stage_wrapper>#cp_trd_wrapper>div>img {
  display: block;
  width: 100%;
  height: auto;
}
footer>.stage_wrapper>#corp_wrapper {
  display: flex;
  flex-direction: column;
}
footer>.stage_wrapper>#corp_wrapper>div {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1em;
}
footer>.stage_wrapper>#corp_wrapper>div>a {
  /* width: calc( 100% / 3 ); */
  height: 1em;
}
footer>.stage_wrapper>#corp_wrapper>div>a:nth-child(2) {
  margin-left:  1em;
  margin-right: 1em;
}
footer>.stage_wrapper>#corp_wrapper>div>a>img {
  height: 100%;
  line-height: 0;
}
footer>.stage_wrapper>#corp_wrapper>a {
  display: block;
  line-height: 0;
  margin-left: auto;
  margin-bottom: .5em;
}
footer>.stage_wrapper>#corp_wrapper>a>img {
  width: 100%;
}
footer>.stage_wrapper>#corp_wrapper>p {
  color: #acacac;
  font-size: .6em;
  font-family: Arial;
  font-weight: lighter;
  line-height: 1em;
  letter-spacing: 0;
}
/* + media query ++++++++++++++++++++++++++++++++++++++++++++++++ */
@media all and (min-width: 1370px) {
  footer>.stage_wrapper {
    width: 90%;
  }
}
@media all and (max-width: 1369px) and (min-width: 768px) {
  footer>.stage_wrapper {
    width: 95%;
  }
}
@media all and (min-width: 768px) {
  footer>.stage_wrapper {
    flex-direction: row;
    justify-content: space-between;
  }
  footer>.stage_wrapper>#platform_wrapper,
  footer>.stage_wrapper>#sns_wrapper {
    display: flex;
    flex-direction: row;
  }
  footer>.stage_wrapper>#platform_wrapper>a {
    padding-right: 1em;
  }  
  footer>.stage_wrapper>#platform_wrapper>a:first-child>img {
    height: 2.5em;
  }
  footer>.stage_wrapper>#platform_wrapper>a:not(:first-child)>img {
    height: 1.5em;
  }
  footer>.stage_wrapper>#sns_wrapper>a::after {
    content: "";
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #333;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0;
    transition: opacity .5s;
  }
  footer>.stage_wrapper>#sns_wrapper>a:nth-child(1)::after {
    background-image: url('//media.fromsoftware.jp/fromsoftware/jp/static/img/common/wide/footer_sns_h_x.jpg');
  }
  footer>.stage_wrapper>#sns_wrapper>a:nth-child(2)::after {
    background-image: url('//media.fromsoftware.jp/fromsoftware/jp/static/img/common/wide/footer_sns_h_f.jpg');
  }
  footer>.stage_wrapper>#sns_wrapper>a:nth-child(3)::after {
    background-image: url('//media.fromsoftware.jp/fromsoftware/jp/static/img/common/wide/footer_sns_h_i.jpg');
  }
  footer>.stage_wrapper>#sns_wrapper>a:hover::after {
    opacity: 1;
  }
  footer>.stage_wrapper>#cp_trd_wrapper>div {
    width: 400px;
  }
  footer>.stage_wrapper>#corp_wrapper {
    justify-content: flex-end;
    text-align: right;
  }
  footer>.stage_wrapper>#corp_wrapper>a {
    width: 150px;
  }
}
@media all and (max-width: 767px) {
  footer>.stage_wrapper {
    flex-direction: column;
    width: 90%;
  }
  footer>.stage_wrapper>#platform_wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  footer>.stage_wrapper>#sns_wrapper {
    display: none;
  }
  footer>.stage_wrapper>#platform_wrapper>a:first-child>img {
    height: 8vw;
  }
  footer>.stage_wrapper>#platform_wrapper>a:not(:first-child)>img {
    height: 5vw;
  }
  footer>.stage_wrapper>#cp_trd_wrapper {
    margin-bottom: 1em;
  }
  footer>.stage_wrapper>#cp_trd_wrapper>div {
    width: 100%;
  }
  footer>.stage_wrapper>#corp_wrapper>div {
    text-align: center;
    justify-content: space-around;
  }
  footer>.stage_wrapper>#corp_wrapper>a {
    width: 50%;
    max-height: 2em;
    margin-left: auto;
    margin-right: auto;
  }
  #sidemenu.open~footer>* {
    filter: blur(4px);
  }
}


/* ************************************************************** */
/* contents                                                       */
/* ************************************************************** */
#contents_wrapper {
  position: relative;
  -ms-flex: 1 0 auto;
  flex: 1 0 auto;
  width: 100%;
  background-image: url('../../img/common/background.jpg');
  background-position: left top;
  background-repeat: repeat;
  background-size: auto;
  z-index: 0;
  min-height: 0%;
}


/* ************************************************************** */
/* sidemenu                                                       */
/* ************************************************************** */
/* + media query ++++++++++++++++++++++++++++++++++++++++++++++++ */
@media all and (min-width: 768px) {
  #sidemenu {
    display: none;
  }
}
@media all and (max-width: 767px) {
  #sidemenu {
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .8);
    padding-left: 5%;
    padding-right: 5%;
    text-align: left;
    box-sizing: border-box;
    transition: left .5s;
    z-index: 1;
    overflow-y: auto;
  }
  #sidemenu.open {
    left: 0;
  }
  #sidemenu>ul:nth-child(1) {
    display: flex;
    flex-direction: column;
    list-style-type: none;
    margin-top: 6.5em;
  }
  #sidemenu>ul:nth-child(1)>li {
    margin-bottom: 2em;
    line-height: 0;
  }
  #sidemenu>ul:nth-child(1)>li>a {
    line-height: 0;
  }
  #sidemenu>ul:nth-child(1)>li img {
    height: 1.5em;
  }
  #sidemenu>ul:nth-child(1)>li>img {
    opacity: .4;
  }
  #sidemenu>ul:nth-child(1)>li:nth-child(1) img { width: calc( 1.5em *  4.164 ); }
  #sidemenu>ul:nth-child(1)>li:nth-child(2) img { width: calc( 1.5em *  9.789 ); }
  #sidemenu>ul:nth-child(1)>li:nth-child(3) img { width: calc( 1.5em *  8.187 ); }
  #sidemenu>ul:nth-child(1)>li:nth-child(4) img { width: calc( 1.5em *  5.564 ); }
  #sidemenu>ul:nth-child(1)>li:nth-child(5) img { width: calc( 1.5em * 12.756 ); }
  #sidemenu>ul:nth-child(2) {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    list-style-type: none;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 2.5em;
    width: 60%;
  }
  #sidemenu>ul:nth-child(2)>li {
    display: block;
    width:  2.5em;
    height: 2.5em;
    background-color: #333;
  }
  #sidemenu>ul:nth-child(2)>li>a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
  }
  #sidemenu>ul:nth-child(2)>li>a::before {
    content: "";
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #333;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    transition: opacity .5s;
  }
  #sidemenu>ul:nth-child(2)>li:nth-child(1)>a::before {
    background-image: url('//media.fromsoftware.jp/fromsoftware/jp/static/img/common/narrow/footer_sns_n_x.jpg');
  }
  #sidemenu>ul:nth-child(2)>li:nth-child(2)>a::before {
    background-image: url('//media.fromsoftware.jp/fromsoftware/jp/static/img/common/narrow/footer_sns_n_f.jpg');
  }
  #sidemenu>ul:nth-child(2)>li:nth-child(3)>a::before {
    background-image: url('//media.fromsoftware.jp/fromsoftware/jp/static/img/common/narrow/footer_sns_n_i.jpg');
  }
}