/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
  color: #222;
}

body {
  font-size: 1em;
  line-height: 1.4;
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

img {
  max-width: 100%;
  vertical-align: middle;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

textarea {
  resize: vertical;
}

/* ===== Initializr Styles ================================================== */

html,
body {
  height: 100%;
}
body {
  background: url(../common/slash.png) repeat;
  color: #666;
  font: 14px/1.5 Helvetica, Helvetica Neue, Arial;
}
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
  padding: 0;
}
ul,
ol,
li {
  list-style: none;
}

/* ===================
    Layout
   =================== */
#header-container {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 391px;
  height: 100%;
  background: #009fe8;
  overflow-y: auto;
  overflow-x: hidden;
}
#slider {
  position: absolute;
  top: 0;
  /*left: 271px;*/
  left: 391px;
  width: 2750px;
  /*    overflow: hidden;*/
  overflow-y: auto;
  overflow-x: hidden;
}

#contents {
  height: 100%;
}
.frame {
  float: left;
  min-height: 700px;
  width: 275px;
  border-right: 2px solid;
  background: #fff;
}

/* ==============
   Menu
   ============== */

nav ul {
  width: 300px;
  margin: 0 0 0 49px;
  padding: 0;
}

nav ul li {
  display: inline;
  float: left;
  margin: 0 6px 6px 0;
  width: 96px;
  height: 96px;
}
nav ul li.mn {
  margin-right: 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
.title {
  width: 288px;
  margin: 20px 0 0 49px;
}
.subtitle {
  width: 176px;
  margin: 6px auto 20px;
}
footer h3 {
  margin: 12px 0 12px 49px;
}
footer p {
  margin-left: 49px;
  color: #fff;
  font: 15px/1;
}

#state,
#access,
#price,
#tieup,
#corporate,
#contact {
  height: 2300px;
}
#state {
  border-right-color: #00a0eb;
  background: #effafe;
}
#access {
  border-right-color: #00d4ad;
  background: #f6fdfb;
}
#price {
  border-right-color: #fbb83a;
  background: #fffbf6;
}
#tieup {
  border-right-color: #fb1d26;
  background: #fff4f4;
}
#corporate {
  border-right-color: #00acd6;
  background: #f6fbfd;
}
#contact {
  border-right-color: #cdcdcd;
  background: #fcfcfc;
}

section > section {
  padding: 24px 22px 0;
}
section > section > section {
  padding: 24px 0;
}
section > section h2,
section > section h3 {
  font-size: 14px;
}

#access section p {
  margin: 24px 0;
}
#access section p:first-child {
  margin: 0;
}
#access section p:last-child {
  margin: 0;
}
#service p {
  margin-bottom: 24px;
}
#service p:last-child {
  margin: 0;
}

.gmap {
  position: relative;
  top: -25px;
  margin: 0;
  font-size: 13px;
}
.gmap img {
  margin-bottom: 10px;
}

#pricelist h2 {
  padding: 10px 13px;
  background: #fbb83a;
  color: #fff;
}
#pricelist2 h2 {
  padding: 10px 13px;
  background: #fbb83a;
  color: #fff;
}

table,
th,
td {
  padding: 10px 0;
}
table {
  width: 100%;
  margin-bottom: 24px;
  border-top: 1px solid #dedede;
}
th {
  border-bottom: 1px solid #dedede;
  font-weight: normal;
  text-align: left;
}
td {
  border-left: 1px solid #dedede;
  border-bottom: 1px solid #dedede;
}
.price {
  width: 4em;
  padding-right: 10px;
  text-align: right;
}
#price ul,
#price li,
#corporate ul,
#corporate li {
  margin: 0;
  padding: 0;
}

#tieup h2 {
  padding: 10px 13px;
  background: #d8222a;
  color: #fff;
}
#tieup td,
#corporate td,
#contact td {
  padding-left: 10px;
  border-left: 1px solid #dedede;
  border-bottom: 1px solid #dedede;
}

#corporate h2 {
  padding: 10px 13px;
  background: #60aad3;
  color: #fff;
}
#corporate p {
  margin: 24px 0;
}
#corporate th,
#corporate td {
  font-size: 13px;
}
#corporate th {
  width: 5.5em;
}

#contact p {
  margin: 12px 0;
}
#contact strong {
  font-size: 36px;
}
#contact th {
  width: 4em;
}

#twitter_area {
  margin: 0;
  padding: 0 20px;
}
#twitter_area li {
  margin: 0;
  padding: 24px 0 0;
  list-style-type: none;
  line-height: 1.6;
}
#twitter_area li.tw_day {
  padding: 0 0 18px;
  border-bottom: 1px dashed #cdcdcd;
  text-align: right;
}
#twitter_area li a {
  color: #000;
  text-decoration: none;
}
#twitter_area li a:hover {
  text-decoration: underline;
}
#twitter_area li a.nth-child-even.last-child {
  display: block;
  text-align: right;
  color: #aaa;
  font-size: 11px;
}
#twitter_area iframe {
  width: 178px;
  margin-left: -12px;
}

#twitter .timeline,
#twitter .timeline-header {
  margin: 0;
  background: transparent;
  border: 0;
}

.blue {
  color: #009fe8;
}
.yellow {
  color: #eab747;
}
.red {
  color: #d8232a;
}
.white {
  color: #ffffff;
}
.center {
  text-align: center;
}
.w4 {
  width: 4.2em;
}
.w5 {
  width: 5.2em;
}
.w6 {
  width: 6.2em;
}
.w7 {
  width: 7.2em;
}
.w8 {
  width: 8.2em;
}

/* ========================
    INTERMEDIATE: IE Fixes
   ======================== */

nav ul li {
  display: inline;
}

.oldie nav a {
  margin: 0 0.7%;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
  overflow: hidden;
  border: 0;
  background-color: transparent;
  *text-indent: -9999px;
}

.ir:before {
  display: block;
  width: 0;
  height: 150%;
  content: "";
}

.hidden {
  display: none !important;
  visibility: hidden;
}

.visuallyhidden {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  margin: -1px;
  padding: 0;
  width: 1px;
  height: 1px;
  border: 0;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  position: static;
  overflow: visible;
  clip: auto;
  margin: 0;
  width: auto;
  height: auto;
}

.invisible {
  visibility: hidden;
}

.cf:before,
.cf:after {
  display: table;
  content: " ";
}

.cf:after {
  clear: both;
}

.cf {
  *zoom: 1;
}

.hours {
  color: #fff;
  /* margin-left: 49px; */
  margin-bottom: 20px;
  font-size: 1.4em;
}

.news-item {
  padding: 1em;
}
.news-content {
  padding-bottom: 0.5em;
  border-bottom: 1px solid #dedede;
}
.publish-date {
  display: block;
  padding-top: 0.5em;
  text-align: right;
}
