@charset "utf-8";
/* CSS Document */

/* basic
-------------------------------------------*/
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box
}
::after, ::before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box
}

body {
  margin: 0;
  padding: 0;
  overflow:hidden;
  font-family: 'メイリオ', Meiryo, sans-serif;
  line-height: 1;
  width: 100vw;
  height: 100vh;
  -webkit-text-size-adjust: 100%;
}

button {
  -moz-appearance: none;
  -webkit-appearance: none;
  -ms-appearance: none;
  appearance: none;
  border-radius: 0;
  border: 0;
  margin: 0;
  padding: 0;
  background: none transparent;
  vertical-align: middle;
  font-size: inherit;
  color: inherit;
}
button:focus {
  outline: none;
}

html, css {
  touch-action:none
}


/* list reset
-------------------------------------------*/
dl, dd, dt, ul, li {
  margin: 0;
  padding: 0;
}
ul {
  list-style: none;
}

/* title reset
-------------------------------------------*/
h1.title {
  margin: 0;
}
h1.title img {
  vertical-align: top;
  width: 100%;
  height: auto;
}

/* nav
-------------------------------------------*/
.nav img {
  vertical-align: top;
  width: 100%;
  height: auto;
}

.nav a {
  display: block;
  position: relative;
}
a.btn {
  display: block;
  position: relative;
}
a.btn::after {
  content: '';
  position: absolute;
  top:0; right:0; bottom:0; left:0;
  box-shadow: 5px 5px 5px rgba(0,0,0,.2) inset;
  opacity: 0;
  transition: opacity 0.1s ease-in-out;
}
a.btn:active::after {
  opacity: 1;
}
a.btn:active {
  opacity: 1 !important;
}

/* page layout
-------------------------------------------*/
.page {
  width: 100%;
  height: 100%;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-flow: column nowrap;
  -ms-flex-flow: column nowrap;
  flex-flow: column nowrap;
}
.page > .container {
  width: 100%;
  height: 93.52%;
}
.page > .footer {
  height: 6.48%;
}

/* container layout
-------------------------------------------*/
.container {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-flow: row nowrap;
  -ms-flex-flow: row nowrap;
  flex-flow: row nowrap;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  padding-left: 1.04%;
  padding-right: 1.04%;
}
.main {
  width: 88.83%;
  margin-top: calc( 20 * 100vh / 1080 );
  margin-bottom: calc( 20 * 100vh / 1080 );
  position: relative;
  overflow: hidden;
}
#nav {
  width: 10.11%;
  margin-bottom: calc( 20 * 100vh / 1080 );
  overflow: hidden;
}

/* contents
-------------------------------------------*/
.main > .contents {
  width: 100%;
  height: 100%;
  background-color: #dcdcdc;
  border: solid #22265f;
  font-size: calc( 20 * 100vw / 1920 );
  border-width: calc( 1em / 20 );
}
.main > .contents > .inner {
  width: 100%;
  height: 100%;
}

/* comingsoon
-------------------------------------------*/
div.comingsoon {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}
div.comingsoon p {
  margin: 0;
  font-size: calc( 96 * 100vw / 1920 );
  font-weight: bold;
  color: #f05e82;
}

.content-inner div.comingsoon {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1005;
  width: 100%;
  background-color: rgba(255, 255, 255, .5);
}

.blur,
.blur-parent .search-menu,
.blur-parent p.pagination-help {
  -webkit-filter: blur(10px);
  filter: blur(10px);
}

/* nav
-------------------------------------------*/
#nav ul.languages {
  background-color: #1b2b5f;
  padding: 10.53%;
  margin-bottom: calc( 15 * 100vh / 1080 );
}
#nav li.language-item + li.language-item {
  padding-top: 11.76%;
}

#nav li.category-item {
  margin-bottom: calc( 15 * 100vh / 1080 );
}
#nav li.category-item a.inactive {
  opacity: 0.2;
  background-color: white;
}
#nav li.category-item a.active {
  opacity: 1;
}

/* footer
-------------------------------------------*/
.footer {
  background-color: #eeeeee;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
}

#telop > ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
#telop > ul > li {
  margin: 0;
  padding: 0 1rem;
  font-size: 2.96vh;
  font-weight: 900;
  font-style: italic;
  line-height: 1;
}

/* modal
-------------------------------------------*/
.modal-open {
  overflow: hidden;
}
.modal {
  display: block;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  z-index: 1050;
  overflow: hidden;
  outline: 0;
}
.modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto;
}
.modal-dialog {
  position: relative;
  z-index: 1;
  pointer-events: auto;
  width: 60%;
  margin: 1.75rem auto;
}
.modal-content {
  position: relative;
  outline: 0;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  background-color: white;
}
.modal-body {
  position: relative;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  margin: 0;
  overflow: hidden;
}
.modal-close {
  display: block;
}

/* transition
-------------------------------------------*/
/*
 * The following styles are auto-applied to elements with
 * data-selected='page' when their visibility is toggled
 */
[data-selected='page'] #contents {
  opacity: 0;
}
[data-selected='page'] #contents.in {
  transition: opacity .5s ease-out;
  opacity: 1;
}
[data-selected='page'] #contents.out {
  transition: opacity .1s ease-out;
  opacity: 0;
}

/* debug
-------------------------------------------*/
.debug {
  margin: 0;
  display: inline-block;
  background-color: black;
  color: white;
  padding: 0.25rem;
  font-size: 0.6rem;
}
a.debug-link {
  display: inline-block;
  position: absolute;
  left: 0;
  top: 0;
  background-color: red;
  color: white;
  font-weight: bold;
  padding: .5em;
  text-decoration: none;
}
