@import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP|Noto+Serif+JP&display=swap');

/* ************************************************************** */
/* common                                                         */
/* ************************************************************** */
a       { opacity: .8; color: #de4400; transition: opacity .5s; }
a:hover { opacity:  1; }
img     { position: relative; display: block; max-width: 100%; }

.c_mt_1hf { margin-top: .5em; }
.c_mt_1em { margin-top:  1em; }
.c_mt_2em { margin-top:  2em; }
.c_mt_3em { margin-top:  3em; }
.c_mt_4em { margin-top:  4em; }
.c_mt_5em { margin-top:  5em; }
.c_mt_6em { margin-top:  6em; }
.c_ff_sns { font-family: 'Noto Sans JP', sans-serif; }
.c_ff_srf { font-family: 'Noto Serif JP', serif; }
.c_fw_bld { font-weight: bold; }
.c_fs_big { font-size: 1.2rem; }
.c_fs_sml { font-size:  .8rem; }
.c_mg_cnt { margin-left: auto; margin-right: auto; }
.c_ta_cnt { text-align: center; }
.c_indent { padding-left: 1em; box-sizing: border-box; }
/* + media query ++++++++++++++++++++++++++++++++++++++++++++++++ */
@media all and (min-width: 768px) {
  .only_n { display: none!important; visibility: hidden!important; }
}
@media all and (max-width: 767px) {
  .only_w { display: none!important; visibility: hidden!important; }
}

a.box {
  position: relative;
  display: inline-block;
  letter-spacing: 0;
  line-height: 1em;
  padding: 1.2em 4em;
  color: #fff;
  text-decoration: none;
  border: 2px solid #fff;
  border-collapse: collapse;
  box-sizing: border-box;
  z-index: 0;
  transition: color .5s;
}
a.box::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 0;
  height: 100%;
  background-color: #fff;
  z-index: -1;
  transition: width .5s;
}
a.box:hover {
  color: #000;
}
a.box:hover::after {
  width: 100%;
}

a.hov_sq {
  z-index: 0;
}
a.hov_sq>div::before,
a.hov_sq>div::after {
  content: "";
  position: absolute;
  width:  0;
  height: 0;
  border-collapse: collapse;
  box-sizing: border-box;
  z-index: 1;
  opacity: 0;
}
a.hov_sq>div::before {
  left: 0;
  bottom: 0;
  border-top: 1px solid rgba(255, 255, 255, .5);
  border-left: 1px solid rgba(255, 255, 255, .5);
}
a.hov_sq>div::after {
  top: 0;
  right: 0;
  border-right: 1px solid rgba(255, 255, 255, .5);
  border-bottom: 1px solid rgba(255, 255, 255, .5);
}
a.hov_sq:hover>div::before,
a.hov_sq:hover>div::after {
  animation: hov_sq .3s linear forwards;
}
@keyframes hov_sq {
    0% { width:   0%; height:   0%; opacity: 1; }
   50% { width:   0%; height: 100%; opacity: 1; }
  100% { width: 100%; height: 100%; opacity: 1; }
}
a.hov_sq>div.img_frame {
  overflow: hidden;
}
a.hov_sq>div.img_frame>img {
  transform: scale(1.0);
  transition: transform .3s;
}
a.hov_sq:hover>div.img_frame>img {
  transform: scale(1.1);
}

/* ************************************************************** */
/* baseline                                                       */
/* ************************************************************** */
html, body {
  height: 100%;
  margin: 0;
  font-family: 'Noto Serif JP',-apple-system,BlinkMacSystemFont,"Helvetica Neue","游ゴシック Medium",YuGothic,YuGothicM,"Hiragino Kaku Gothic ProN",メイリオ,Meiryo,sans-serif;
  color:#fff;
  font-weight: normal;
  letter-spacing: .1em;
  line-height:1.8em;
  min-width: 360px;
}
body {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100vh;
  background-color: #1d1d1d;
}


/* ************************************************************** */
/* main                                                           */
/* ************************************************************** */
main {
  -ms-flex: 1 0 auto;
  flex: 1 0 auto;
  background-image: url('https://media.fromsoftware.jp/sekiro/static/img/bg_pattern.jpg');
  background-position: center center;
  background-repeat: repeat;
  background-size: auto;
  min-height: 0%;
}


/* ************************************************************** */
/* footer                                                         */
/* ************************************************************** */
footer {
  position: relative;
  display: block;
  flex-shrink: 0;
  background-color: #000;
  box-sizing: border-box;
  width: 100%;
  border-top: 1px solid #8e8e8e;
  border-collapse: collapse;
  box-sizing: border-box;
}
footer>ul {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
footer>ul>li {
  position: relative;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}
footer>ul>li picture {
  position: relative;
  display: block;
  width: auto;
}
footer>ul>li picture>img {
  min-height: 0%;
  height: 100%;
}
footer>p {
  font-family: Arial;
  text-align: center;
}
/* + media query ++++++++++++++++++++++++++++++++++++++++++++++++ */
@media all and (min-width: 768px) {
  footer>ul>li {
    flex-direction: row;
  }
  footer>ul>li:nth-of-type(1) { padding-top: 2.5em; }
  footer>ul>li:nth-of-type(2) { padding-top: 2.7em; }
  footer>ul>li:nth-of-type(3) { padding-top: 2.2em; }
  footer>ul>li:nth-of-type(4) { padding-top: 3.2em; }
  footer>ul>li:nth-of-type(5) { padding-top: 3.2em; }
  footer>ul>li:nth-of-type(1)>picture {
    height: 7.5vw;
    max-height: 5em;
    margin: 0 1em;
  }
  footer>ul>li:nth-of-type(2)>picture {
    height: 5.8vw;
    max-height: 3.75em;
    margin: 0 .75em;
  }
  footer>ul>li:nth-of-type(3)>picture {
    margin: 0 1.75em;
  }
  footer>ul>li:nth-of-type(3)>picture:nth-of-type(1) {
    height: 5.3em;
  }
  footer>ul>li:nth-of-type(3)>picture:nth-of-type(2) {
    height: 4.4em;
  }
  footer>ul>li:nth-of-type(4)>a {
    margin: 0 1.15em;
  }
  footer>ul>li:nth-of-type(5)>a {
    margin: 0 0.8em;
  }
  footer>ul>picture {
    margin-top: 2em;
  }
  footer>p {
    color: #acacac;
    width: 90%;
    font-size: .8em;
    line-height: 1.5em;
    letter-spacing: .06em;
    margin: 1.7em auto 4.3em;
  }
}
@media all and (max-width: 767px) {
  footer>ul>li {
    flex-wrap: wrap;
    justify-content: center;
  }
  footer>ul>li:nth-of-type(1)>picture {
    height: 17vw;
    margin: 2em 2.5vw 0;
  }
  footer>ul>li:nth-of-type(2)>picture {
    height: 11.6vw;
    margin: 2em 2.5vw 0;
  }
  footer>ul>li:nth-of-type(3)>picture {
    margin: 2em 5vw 0;
  }
  footer>ul>li:nth-of-type(3)>picture:nth-of-type(1) {
    height: 15vw;
  }
  footer>ul>li:nth-of-type(3)>picture:nth-of-type(2) {
    height: 11.6vw;
  }
  footer>ul>li:nth-of-type(4) {
    justify-content: space-around;
    width: 90%;
    padding-top: 2em;
  }
  footer>ul>li:nth-of-type(4)>a>img {
    height: 3.5vw;
  }
  footer>ul>li:nth-of-type(5) {
    padding-top: 2em;
  }
  footer>ul>li:nth-of-type(5)>a {
    margin: 0 3vw;
  }
  footer>ul>li:nth-of-type(5)>a:nth-of-type(1)>img {
    height: 6vw;
  }
  footer>ul>li:nth-of-type(5)>a:nth-of-type(2)>img {
    height: 3.5vw;
  }
  footer>ul>picture {
    margin-top: 2em;
    width: 87.5%;
  }
  footer>p {
    color: #8a8a8a;
    width: 90%;
    font-size: 1.6vw;
    line-height: 2em;
    letter-spacing: 0;
    margin: 2rem auto 4rem;
  }
}


/* ************************************************************** */
/* menu                                                           */
/* ************************************************************** */
menu {
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  z-index: 3;
}
menu>div {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 100%;
}
menu>div>a {
  position: relative;
  display: block;
  flex-shrink: 0;
  width: auto;
}
menu>div>ul>li {
  position: relative;
}
menu>div>ul>li>a {
  text-decoration: none;
  line-height: 1em;
  opacity: 1;
}
/* + media query ++++++++++++++++++++++++++++++++++++++++++++++++ */
@media all and (min-width: 1225px) {
  menu {
    height: 7em;
    background-color: rgba(0, 0, 0, .5);
  }
  menu>div {
    justify-content: space-between;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
  }
  menu>div>a>img {
    height: 3em;
  }
  menu>div>#menu_switch {
    display: none;
  }
  menu>div>ul {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    max-width: 850px;
  }
  menu>div>ul>li {
    line-height: 1em;
    padding-bottom: 4px;
    cursor: pointer;
  }
  menu>div>ul>li::before {
    content: "";
    position: absolute;
    display: block;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.7);
    transition: width .3s;
  }
  menu>div>ul>li:hover::before {
    width: 100%;
  }
  menu>div>ul>li>a {
    color: #dfdfdf;
    transition: color .3s;
  }
  menu>div>ul>li:hover>a {
    color: #fff;
  }
}
@media all and (max-width: 1224px) {
  menu {
    height: 3.5em;
    background-color: rgba(0, 0, 0, 0.4);
  }
  menu>div {
    justify-content: space-between;
  }
  menu>div>a {
    margin-left: 5%;
  }
  menu>div>a>img {
    height: 2em;
    box-sizing: border-box;
  }
  menu>div>#menu_switch {
    position: relative;
    display: block;
    height: 1.5em;
    line-height: 0;
    margin-right: 5%;
    cursor: pointer;
  }
  menu>div>#menu_switch>img {
    height: 100%;
  }
  menu>div>#menu_switch>img:nth-child(1)      { display: block; }
  menu>div>#menu_switch>img:nth-child(2)      { display: none; }
  menu.open>div>#menu_switch>img:nth-child(1) { display: none; }
  menu.open>div>#menu_switch>img:nth-child(2) { display: block; }
  menu>div>ul {
    display: none;
  }
  menu.open>div>ul {
    position: fixed;
    top: 3.5em;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: calc( 100% - 3em );
    background-color: rgba(0, 0, 0, 0.4);
    padding: 20% 0;
    box-sizing: border-box;
  }
  menu.open>div>ul>li {
    animation: menu_anim 1s;
  }
  menu>div>ul>li>a {
    color: #fff;
    font-size: 1.4em;
    letter-spacing: .1em;
  }
  menu.open+*,
  menu.open+*+*,
  menu.open+*+*+*,
  menu.open+*+*+*+* {
    filter: blur(4px);
  }
}
@keyframes menu_anim {
  0%   { opacity: 0; top: 1.5em; }
  100% { opacity: 1; top: 0; }
}


/* ************************************************************** */
/* fuwattoview                                                    */
/* ************************************************************** */
.fwatto {
  opacity: 0;
  top: 5em;
  transition: opacity 1s, top 1.5s;
}
.fwatto.view {
  opacity: 1;
  top: 0;
}
