@charset "UTF-8";
@import url(https://fonts.googleapis.com/css?family=Roboto+Condensed:400,700);
@import url(https://fonts.googleapis.com/css?family=Open+Sans);
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: inherit;
  font-size: 100%;
  vertical-align: baseline;
}

html {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

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

caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}

q, blockquote {
  quotes: none;
}
q:before, q:after, blockquote:before, blockquote:after {
  content: "";
  content: none;
}

a img {
  border: none;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
  display: block;
}

/**
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    contenteditable attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that are clearfixed.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
.cf:after,
.cf:before {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}

.cf:after {
  clear: both;
}

/**
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.cf {
  *zoom: 1;
}

html {
  font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
}

a {
  text-decoration: none;
}

body {
  font-size: 30px;
}

/* ナビ */
nav.gnav {
  background-color: white;
  display: table;
  z-index: 2;
  left: 0;
  right: 0;
  margin: auto;
  width: 100%;
}
nav.gnav h1,
nav.gnav ul {
  display: table-cell;
  vertical-align: middle;
}
nav.gnav h1 img {
  padding-left: 15%;
  width: 180px;
}
nav.gnav li {
  display: table-cell;
  vertical-align: middle;
  width: 20%;
  float: left;
  text-align: center;
}
nav.gnav li a {
  position: relative;
}
nav.gnav li:hover p {
  color: #ff6634;
}
nav.gnav li p {
  transition: 0.3s;
  font-weight: bold;
  text-transform: uppercase;
  color: #444;
  font-size: 0.4666em;
}

@media screen and (min-width: 960px) {
  footer nav h1,
  footer nav ul,
  footer small {
    display: table-cell;
    vertical-align: middle;
  }
  footer nav h1 img {
    width: 50%;
    padding-left: 10%;
  }
  footer nav {
    width: 100%;
  }
  footer nav ul {
    width: 60%;
    padding: 40px 0;
    text-align: center;
  }
  footer nav ul li {
    display: inline;
    margin-right: 5%;
  }
  footer nav ul li a {
    font-size: 14px;
    top: -5px;
    position: relative;
    display: inline-block;
    margin: auto;
    text-align: center;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    -webkit-transition: 0.3s;
    transition: 0.3s;
  }
  footer nav ul li a p {
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    text-transform: uppercase;
    color: #444;
  }
  footer nav ul li a p:hover {
    color: #ff6634;
  }
  footer small {
    font-size: 12px;
    width: 20%;
    text-align: center;
  }
}
@media screen and (max-width: 959px) {
  footer nav.flink h1 {
    display: none;
  }
  footer nav.flink p {
    padding-bottom: 5px;
    padding-bottom: 5px;
    text-transform: uppercase;
    color: #444;
  }
  footer nav.flink ul {
    width: 100%;
    margin: 0 0 10px;
    padding: 0;
  }
  footer nav.flink li {
    float: left;
    width: 50%;
    margin: 0;
    padding: 0;
    list-style-type: none;
    text-align: center;
  }
  footer nav.flink li p {
    text-align: center;
  }
  footer nav.flink .col3,
  footer nav.flink .col5 {
    clear: both;
  }
  footer nav.flink .col6 {
    margin-bottom: 20px;
  }
  footer nav.flink li a {
    font-size: 0.4em;
    position: relative;
    display: inline-block;
    margin: auto;
    text-align: center;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    -webkit-transition: 0.3s;
    transition: 0.3s;
  }
  footer nav.flink li a p {
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    -webkit-transition: 0.3s;
    transition: 0.3s;
  }
  footer nav.flink li a p:hover {
    color: #ff6634;
  }
  footer nav.flink small {
    font-size: 0.3em;
    text-align: center;
  }
  footer nav.flink small p {
    clear: both;
    margin: 10px;
  }
}
@media screen and (max-width: 767px) {
  nav.gnav {
    display: none;
  }
}
