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, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
  border: 0px none;
  font-family: ;
  font-size: 100%;
  font-style: ;
  font-weight: ;
  margin: 0px;
  outline: 0px none;
  padding: 0px;
  vertical-align: baseline;
}

:focus {
  outline: 0px none;
}

ol, ul {
  list-style: outside none none;
}

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

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

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

blockquote, q {
  quotes: "" "";
}

a img {
  border: 0px none;
}

figure {
  margin: 0px;
}

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

body {
  color: #333333;
  font: 12px / 1.5 verdana "ヒラギノ丸ゴ ProN W4" "Hiragino Maru Gothic ProN" "メイリオ" "Meiryo" "ＭＳ Ｐゴシック" "MS PGothic" sans-serif;
  background: white none repeat scroll 0% 0%;
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

html {
  background: #164272 none repeat scroll 0% 0%;
}

a {
  color: #164272;
  text-decoration: none;
  text-transform: none;
  text-align: start;
}

a:hover {
  color: #002855;
}

a:active, a:focus {
  outline: 0px none;
}

#wrapper {
  margin: 20px auto;
  padding: 0px 1%;
  width: 98%;
  position: relative;
}

.inner {
  margin: 0px auto;
  width: 100%;
}

h1 {
  font-size: 12px;
  line-height: 1.6;
  font-weight: normal;
  color: white;
}

#header {
  overflow: hidden;
  padding: 5px 0px 0px;
  color: white;
  background: #002855 none repeat scroll 0% 0%;
}

* html #header {
  height: 1%;
}

#header .logo {
  float: left;
  padding: 20px 0px;
}

.logo a {
  font-size: 20px;
  font-weight: bold;
  line-height: 1;
  color: white;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "ＭＳ Ｐ明朝", "MS PMincho", serif;
}

.logo span {
  font-size: 12px;
  font-weight: normal;
}

.info {
  float: right;
  padding: 20px 0px;
}

.tel strong {
  font-size: 20px;
  font-weight: bold;
}

ul#topnav {
  clear: both;
  overflow: hidden;
  margin: 0px auto;
  background: #164272 none repeat scroll 0% 0%;
  border-radius: 5px 5px 0px 0px;
}

* html ul#topnav {
  height: 1%;
}

ul#topnav li {
  float: left;
  text-align: center;
}

ul#topnav a {
  width: 156px;
  font-size: 12px;
  display: block;
  padding: 15px 0px;
  color: white;
  border-left: 1px solid #002855;
}

ul#topnav li:first-child a, ul#topnav li:last-child a {
  width: 155px;
}

ul#topnav li.active a, ul#topnav a:hover {
  color: #cccccc;
}

#mainBanner {
  clear: both;
  line-height: 0;
  background: #002855 none repeat scroll 0% 0%;
}

#mainBanner .inner {
  position: relative;
}

#mainBanner img {
  max-width: 100%;
  height: auto;
}

.slogan {
  position: absolute;
  max-width: 100%;
  height: auto;
  bottom: 10px;
  left: 10px;
  padding: 5px 10px;
  line-height: 1.4;
  z-index: 100;
  background: rgba(0, 0, 0, 0) url("images/tp2.png") repeat scroll 0% 0%;
}

.subImg .slogan {
  left: auto;
  right: 10px;
}

.slogan h2 {
  padding-bottom: 5px;
  color: white;
  font-size: 20px;
}

.slogan h3 {
  font-size: 14px;
  color: #cccccc;
}

.gridWrapper {
  clear: both;
  padding: 20px 0px;
  overflow: hidden;
}

* html .gridWrapper {
  height: 1%;
}

.grid {
  float: left;
}

.colDark, .colLight {
  padding-bottom: 10px;
  color: white;
  background: #002855 none repeat scroll 0% 0%;
}

.colLight {
  background: #164272 none repeat scroll 0% 0%;
}

.colDark h3, .colLight h3 {
  margin: 10px 10px 5px;
  font-size: 14px;
  border-bottom: 1px solid white;
}

.colDark a, .colLight a {
  display: block;
  color: #cccccc;
}

.colDark a:hover, .colLight a:hover {
  color: white;
}

.grid p {
  padding: 5px 10px;
}

.grid ul {
  margin: 5px 10px;
}

.grid li {
  padding: 5px 0px;
  list-style: inside none disc;
  border-bottom: 1px dashed #ebebeb;
}

.gridWrapper img {
  max-width: 100%;
  height: auto;
}

#footer .grid {
  color: white;
  background: transparent none repeat scroll 0% 0%;
}

#footer .col3 ul {
  margin: 0px 0px 10px 5px;
}

#footer .col3 li {
  padding: 0px 7px 0px 5px;
  margin-bottom: 3px;
  list-style: outside none none;
  border-bottom: 0px none;
  display: inline-block;
  border-right: 1px solid white;
}

section.content {
  margin-bottom: 20px;
  font-size: 14px;
  overflow: hidden;
}

* html section.content {
  height: 1%;
}

section.content p {
  margin-bottom: 5px;
}

h3.heading, #sub .grid h3 {
  padding: 5px 10px;
  margin-bottom: 10px;
  font-size: 16px;
  color: white;
  background: #164272 none repeat scroll 0% 0%;
  border-left: 7px solid #002855;
  border-right: 7px solid #002855;
}

#sub .grid h3 {
  margin-right: 10px;
}

.alignleft {
  float: left;
  clear: left;
  margin: 3px 10px 10px 1px;
}

.alignright {
  float: right;
  clear: right;
  margin: 3px 1px 10px 10px;
}

img.frame, #gallery img {
  border: 4px solid white;
box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.5);
}

#gallery .gridWrapper {
  padding: 0px;
}

#gallery img {
  margin: 5px;
}

section#gallery {
  overflow: visible;
}

table.table {
  border-collapse: collapse;
  width: 100%;
  margin: 10px auto;
}

table.table th, table.table td {
  padding: 5px;
  border: 1px solid #002855;
}

table.table tr:first-child th, table.table tr:first-child td {
  border-top: 4px solid #002855;
}

table.table th {
  font-weight: bold;
  letter-spacing: 1px;
  white-space: nowrap;
  color: white;
  background: #164272 none repeat scroll 0% 0%;
}

#footer {
  clear: both;
  padding: 20px 0px;
  overflow: hidden;
  background: #164272 none repeat scroll 0% 0%;
  border-top: 1px solid #002855;
}

* html #footer {
  height: 1%;
}

#footer a {
  color: white;
}

#footer a:hover {
  color: #002855;
}

#footer .copyright {
  font-size: 11px;
}

@media only screen and ( min-width : 960px ) {
  #wrapper, .inner, ul#topnav {
    width: 940px;
    padding: 0px;
  }
  #wrapper {
    padding-bottom: 20px;
  }
  #main {
    float: right;
    width: 690px;
  }
  #subpage #sub {
    float: left;
    width: 235px;
    overflow: hidden;
  }
  .grid {
    width: 235px;
  }
  .col2 {
    width: 470px;
  }
  .col3 {
    width: 705px;
  }
  #gallery .grid {
    width: 230px;
  }
  #subpage #sub .grid {
    width: 100%;
    float: none;
    padding-bottom: 30px;
  }
}

@media only screen and ( max-width : 960px ) {
  h1 p.inner {
    padding: 0px 2%;
    width: 96%;
  }
  #header .logo {
    padding-left: 10px;
  }
  #header .info {
    padding-right: 10px;
  }
  ul#topnav {
    clear: both;
    width: 100%;
  }
  ul#topnav li {
    width: 33%;
    border-right: 1px solid #002855;
    border-bottom: 1px solid #002855;
    box-sizing: border-box;
  }
  ul#topnav li:nth-child(3n) {
    border-right: 0px none;
    width: 34%;
  }
  ul#topnav li a {
    width: 100%;
    border: 0px none;
  }
  ul#topnav li:first-child a, ul#topnav li:last-child a {
    width: 100%;
  }
  .grid {
    width: 50%;
    margin: 2px 0px;
  }
  .col2 {
    float: none;
    width: 100%;
    margin: 0px 0px 20px;
  }
  .grid img {
    float: left;
    margin-right: 5px;
  }
  #gallery .grid {
    width: 31%;
    margin: 0px 1%;
    padding: 0px;
  }
  #gallery .grid img {
    float: none;
  }
  section.content {
    padding: 0px 10px;
  }
  section.content img {
    max-width: 90%;
    height: auto;
  }
  #sub .grid {
    padding-bottom: 20px;
  }
  #footer {
    padding: 0px;
  }
  #footer .grid {
    float: none;
    width: 100%;
    margin-bottom: 5px;
    text-align: center;
  }
}

@media only screen and ( max-width : 640px ) {
  .grid {
    width: 100%;
  }
  .grid img {
    float: none;
    margin: 20px auto 10px;
  }
  .grid p {
    text-align: left;
  }
  img.frame, #gallery img {
    border-width: 2px;
  }
  .alignleft, .alignright {
    float: none;
    display: block;
    margin: 0px auto 10px;
  }
  #footer .grid p {
    text-align: center;
  }
}

@media only screen and ( max-width : 480px ) {
  #header .logo {
    padding-top: 10px;
  }
  .info {
    padding: 10px 0px 0px;
  }
  ul#topnav li {
    width: 50%;
  }
  ul#topnav li:nth-child(3n) {
    border-right: 1px solid #002855;
    width: 50%;
  }
  ul#topnav li:nth-child(2n), ul#topnav li:nth-child(6n) {
    border-right: 0px none;
  }
  #mainBanner h2, #mainBanner h3 {
    font-size: 80%;
  }
}

