html {
  box-sizing: border-box;
}

*, *::after, *::before {
  box-sizing: inherit;
}

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 16px;
  line-height: 1.6;
  font-family: sans-serif;
  /*vertical-align: baseline;*/
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  margin-bottom: 30px;
  background-color: #6f5b47;
  border-top: #28160b 1px solid;
  border-left: #28160b 1px solid;
}
table th, table td {
  border-right: #28160b 1px solid;
  border-bottom: #28160b 1px solid;
}
table th {
  font-weight: bold;
}
table thead {
  white-space: nowrap;
}
table thead th, table thead td {
  padding: 15px 10px;
}
table thead th {
  text-align: left;
  background-color: #44321d;
}
table tbody th, table tbody td {
  padding: 5px 10px;
  text-align: left;
  font-size: 14px;
}
table tbody th {
  background-color: #584631;
  white-space: nowrap;
}
table .thumb {
  background-color: #fff;
  width: 130px;
  text-align: center;
}

/* common
----------------------------------------------------------*/
* {
  -webkit-font-smoothing: antialiased;
}

html {
  background: #020403;
  color: #fff;
  min-width: 960px;
}

p {
  line-height: 1.7;
}

img {
  vertical-align: bottom;
}

h2 {
  text-indent: 0 !important;
  font-size: 30px;
  margin-bottom: 30px;
}

a {
  color: #fff;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.inner {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.inner::after {
  clear: both;
  content: "";
  display: table;
}

#gungho {
  width: 100%;
  height: 31px;
  background: #fff;
  border-bottom: 4px solid #ccc;
}
#gungho .inner {
  width: 1000px;
  height: 31px;
  margin: 0 auto;
  position: relative;
}
#gungho #ragnarok {
  position: absolute;
  top: 0;
  left: 0;
}
#gungho #roInfo {
  position: absolute;
  overflow: hidden;
  top: 0;
  right: 0;
  line-height: 31px;
}
#gungho #roInfo li {
  float: left;
  margin-right: 15px;
}
#gungho #roInfo li a {
  font-size: 12px;
  color: #555;
  text-decoration: underline;
}
#gungho #roInfo li a:hover {
  text-decoration: none;
}

#sns {
  position: absolute;
  top: 10px;
  right: 193px;
  line-height: 48px;
  text-align: right;
  text-indent: initial;
}
#sns li {
  display: inline-block;
}

#pagetop {
  position: absolute;
  bottom: -20px;
  right: 10%;
}
#pagetop:hover {
  bottom: -8px;
}

#footer {
  position: relative;
  background: #1b6175;
  padding-top: 30px;
}
#footer .inner {
  max-width: 68em;
  margin-left: auto;
  margin-right: auto;
}
#footer .inner::after {
  clear: both;
  content: "";
  display: table;
}
#footer .inner h2 {
  text-align: center;
  padding: 15px 0 0;
  margin-bottom: 0;
}
#footer .inner ul {
  width: 940px;
  margin: 0 auto;
  font-size: 0;
}
#footer .inner li {
  float: left;
  display: block;
  margin-right: 2.35765%;
  width: 31.76157%;
  vertical-align: top;
}
#footer .inner li:last-child {
  margin-right: 0;
}
#footer .inner li:nth-child(3n) {
  margin-right: 0;
}
#footer .inner li:nth-child(3n+1) {
  clear: left;
}
#footer .inner li .thumb {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
  height: 270px;
}
#footer .inner li .thumb img {
  width: 100%;
  height: auto;
}
#footer .inner li h3 {
  font-size: 20px;
}
#footer .inner li p {
  color: #fff;
  font-size: 14px;
  line-height: 22px;
}
#footer .startRO {
  text-align: center;
  font-size: 14px;
  margin-bottom: 50px;
}
#footer .startRO a {
  text-decoration: underline;
  color: #fff;
  font-size: 14px;
}
#footer .startRO a:hover {
  opacity: .8;
}
#footer .aside {
  background: #0C4C5E;
}
#footer .f-sns {
  margin: 0 auto;
  padding: 20px 0;
  width: 655px;
  font-size: 0;
}
#footer .f-sns li {
  display: inline-block;
  margin-left: 55px;
  width: 300px;
}
#footer .f-sns li:first-child {
  margin-left: 0;
}
#footer .credit {
  text-align: center;
  font-size: 12px;
  color: #fff;
  padding-bottom: 20px;
}

#header {
  position: relative;
  background: url(../img/header_bg.jpg) center top no-repeat;
  height: 713px;
  overflow: hidden;
}
#header:before {
  content: url(../img/header_tunagi.png);
  position: absolute;
  bottom: 0;
  z-index: 300;
}
#header h1 {
  text-align: center;
  position: absolute;
  top: 700px;
  width: 100%;
  z-index: 400;
  opacity: 0;
}
#header #caution {
  position: absolute;
  z-index: 200;
  width: 820px;
  height: 132px;
  top: 0;
  right: 0;
  text-indent: -9999px;
  background: url(../img/caution_tape.png) 0 0 no-repeat;
  display: none;
}
#header #caution #cautionBoard {
  position: absolute;
  top: 40px;
  right: 220px;
}
#header #headerMonster {
  position: absolute;
  top: 0;
  left: -250px;
}

#story {
  height: 584px;
  background: url(../img/story_bg.jpg) center top no-repeat;
}
#story .inner {
  position: relative;
  top: 200px;
  display: none;
}

#point {
  position: relative;
  background: url(../img/point_bg_top.jpg) center top no-repeat, url(../img/point_bg_bottom.jpg) center bottom no-repeat;
  -pie-background: url(/special/pyramid-in-nightmare/img/point_bg_top.jpg) center top no-repeat, url(/special/pyramid-in-nightmare/img/point_bg_bottom.jpg) center bottom no-repeat;
  behavior: url(PIE.htc);
  padding-top: 100px;
}
#point ul {
  margin-bottom: 40px;
}
#point ul li {
  position: relative;
  z-index: 100;
}
#point ul li:nth-child(2) {
  margin-left: 200px;
}
#point ul li:nth-child(3) {
  text-align: center;
}
#point #banner {
  background: url(../img/banner_bg.png) center top no-repeat;
  width: 588px;
  margin: 0 auto 30px;
  padding: 17px 31px;
}
#point #banner li {
  display: inline-block;
}
#point #banner li:nth-child(2) {
  margin-left: 20px;
}
#point #pointMonster {
  position: absolute;
  top: 110px;
  right: 0;
  opacity: 0;
}

#howToGo {
  height: 560px;
  background: url(../img/howto_bg.jpg) center top no-repeat;
}
#howToGo .inner {
  position: relative;
  top: 155px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  display: none;
}
#howToGo .inner::after {
  clear: both;
  content: "";
  display: table;
}
#howToGo .inner .main {
  float: left;
  display: block;
  margin-right: 2.35765%;
  width: 57.35098%;
}
#howToGo .inner .main:last-child {
  margin-right: 0;
}
#howToGo .inner .sub {
  float: left;
  display: block;
  margin-right: 2.35765%;
  width: 40.29137%;
}
#howToGo .inner .sub:last-child {
  margin-right: 0;
}

#data {
  position: relative;
  background: url(../img/data_bg_top.jpg) center top no-repeat, url(../img/data_bg_bottom.png) center bottom no-repeat;
  -pie-background: url(/special/pyramid-in-nightmare/img/data_bg_top.jpg) center top no-repeat, url(/special/pyramid-in-nightmare/img/data_bg_bottom.png) center bottom no-repeat;
  behavior: url(PIE.htc);
  padding: 80px 0 80px;
}
#data .ui-tabs-nav {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
#data .ui-tabs-nav::after {
  clear: both;
  content: "";
  display: table;
}
#data .ui-tabs-nav li {
  width: 274px;
  height: 101px;
  background: url(../img/data_tab02_bg.png) center top no-repeat;
}
#data .ui-tabs-nav li a {
  position: relative;
  color: #8d3827;
  font-size: 26px;
  height: 100%;
  line-height: 101px;
}
#data .ui-tabs-nav li a:before {
  position: absolute;
  left: -6px;
  top: -16px;
}
#data .ui-tabs-nav li:nth-child(1) {
  background: url(../img/data_tab01_bg.png) center top no-repeat;
}
#data .ui-tabs-nav li:nth-child(1) a {
  padding-left: 40px;
}
#data .ui-tabs-nav li:nth-child(1) a:before {
  content: url(../img/data_nav01_icon.png);
}
#data .ui-tabs-nav li:nth-child(1).ui-tabs-selected {
  background: url(../img/data_tab01_bg_over.png) center top no-repeat;
}
#data .ui-tabs-nav li:nth-child(2) {
  background: url(../img/data_tab02_bg.png) center top no-repeat;
}
#data .ui-tabs-nav li:nth-child(2) a {
  padding-left: 70px;
}
#data .ui-tabs-nav li:nth-child(2) a:before {
  content: url(../img/data_nav02_icon.png);
}
#data .ui-tabs-nav li:nth-child(3) {
  background: url(../img/data_tab03_bg.png) center top no-repeat;
}
#data .ui-tabs-nav li:nth-child(3) a {
  padding-left: 16px;
}
#data .ui-tabs-nav li:nth-child(3) a:before {
  content: url(../img/data_nav03_icon.png);
  left: -16px;
  top: -9px;
}
#data .ui-tabs-nav .ui-tabs-selected {
  position: relative;
  top: 1px;
}
#data .ui-tabs-nav .ui-tabs-selected a {
  color: #bb3115;
}
#data .ui-tabs-nav .ui-tabs-selected:nth-child(1) a:before {
  content: url(../img/data_nav01_icon_over.png);
}
#data .ui-tabs-nav .ui-tabs-selected:nth-child(2) a:before {
  content: url(../img/data_nav02_icon_over.png);
}
#data .ui-tabs-nav .ui-tabs-selected:nth-child(3) a:before {
  content: url(../img/data_nav03_icon_over.png);
}
#data #tabContent {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  border: #514941 1px solid;
  background: #2e2b29 url(../img/data_tab_bg.jpg) center top no-repeat;
  overflow: hidden;
  padding: 50px 0;
}
#data #tabContent::after {
  clear: both;
  content: "";
  display: table;
}
#data #tabContent .section {
  float: left;
  display: block;
  margin-right: 2.35765%;
  width: 82.94039%;
  margin-left: 8.5298%;
}
#data #tabContent .section:last-child {
  margin-right: 0;
}
#data #tabContent .ui-tabs-hide {
  display: none;
}
#data #tabContent h3 {
  margin-bottom: 10px;
}
