@charset "UTF-8";

/* ===============================================
Base
=============================================== */

/*
  Reset
----------------------------------------------- */
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,
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, main, 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;
}

/*
  Default Style
----------------------------------------------- */
body {
  font-family: 'Noto Sans JP', '游ゴシック', 'Yu Gothic', '游ゴシック体', 'YuGothic', 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'Meiryo UI', 'メイリオ', Meiryo, sans-serif;
  line-height: 1.5;
  color: #212121;
}

img {
  vertical-align: bottom;
}

/* ===============================================
  Layout
=============================================== */

/*
  Centering
----------------------------------------------- */
.container {
  width: 960px;
  margin: 0 auto;
}

/*
  Header
----------------------------------------------- */
#header {
  background-color: #212121;
  color: #fff;
}

#header h1 {
  text-align: center;
  padding: 1.75em 0;
}

#header-nav {
  overflow: hidden;
}

#header-nav li {
  width: 20%;
  float: left;
  text-align: center;
}

#header-nav a {
  display: block;
  text-decoration: none;
  color: #fff;
  padding: .75em 0;
}

#header-nav a:hover {
  background-color: #333;
}

/*
  Main
----------------------------------------------- */
#main {
  clear: both;
}

.section {
  padding: 3em 0;
}

.section-grey {
  background-color: #f0f0f0;
}

/*
  Footer
----------------------------------------------- */
#footer {
  clear: both;
  background-color: #212121;
  color: #bdbdbd;
}

#footer-button {
  position: fixed;
  bottom: 40px;
  right: 40px;
}

#footer dl {
  overflow: hidden;
  padding: 1em 0;
}

#footer dt {
  font-size: .75em;
}

#footer dd {
  margin-top: .25em;
  font-weight: bold;
}

#footer dd small {
  font-size: .75em;
}

.info-item {
  box-sizing: border-box;
  width: 20%;
  float: left;
  border-right: 1px solid #424242;
  text-align: center;
}

.info-item:first-child {
  border-left: 1px solid #424242;
}

#footer-siteinfo {
  clear: both;
  overflow: hidden;
  padding: 1em 0;
}

#footer-siteinfo a {
  color: #bdbdbd;
  text-decoration: none;
}

#footer-siteinfo address {
  float: left;
  font-size: .75em;
}

#footer-logo {
  margin-right: 1em;
}

#footer-copyright {
  float: right;
  text-align: right;
  font-size: .75em;
}

/* ===============================================
  Object
=============================================== */

/*
  Hero
----------------------------------------------- */
.hero {
  position: relative;
}

.hero img {
  width: 100%;
  min-width: 960px;
}

.hero p {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  width: 960px;
  margin: -1.5em auto 0;
  text-align: center;
  color: #fff;
  font-size: 2.5em;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
}

.hero em {
  font-size: 1.2em;
}

/*
  Grid
----------------------------------------------- */
.grid {
  overflow: hidden;
  margin-top: -24px;
}

.grid-item {
  float: left;
  margin-left: 24px;
  margin-top: 24px;
}

.grid-2 .grid-item {
  width: 468px;
}

.grid-4 .grid-item {
  width: 222px;
}

.grid-2 .grid-item:nth-child(odd),
.grid-4 .grid-item:nth-child(4n + 1) {
  margin-left: 0;
}
