/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */
/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
html,
button,
input,
select,
textarea {
  color: #222;
}

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

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */
::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

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

/*
 * A better looking default horizontal rule
 */
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */
img {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */
textarea {
  resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */
.chromeframe {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
a:link {
  color: #8e1d54;
  text-decoration: none;
}

a:visited {
  color: #8e1d54;
  text-decoration: none;
}

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

a:active {
  color: #ab487f;
}

#bg {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -999;
  overflow: hidden;
}

.container {
  z-index: 1;
  overflow: hidden;
  height: 100%;
  min-width: 1024px;
  background-position: right top;
  background-repeat: no-repeat;
  background-image: url(../img/index/bg.jpg);
  min-height: 600px;
}

.js .container {
  visibility: hidden;
}

#header {
  z-index: 100;
}

#header ul.gnavi {
  margin: 0;
  padding: 0;
}

#header ul.gnavi li {
  list-style: none;
  text-indent: -999em;
  display: inline-block;
  background: url(../../img/index/pic_gnavi_line.png) no-repeat right top;
  background-color: rgba(255, 255, 255, 0.75);
  padding-right: 1px;
}

.lt-ie9 #header ul.gnavi {
  letter-spacing: -1em;
}

.lt-ie9 #header ul.gnavi li {
  letter-spacing: normal;
}

#header ul.gnavi li a {
  display: block;
  background-image: url('../../img/index/sprite-s12f7b37ab7_v2.png');
}

#header ul.gnavi li a:hover ul {
  visibility: visible;
}

#header ul.gnavi li a.home {
  height: 55px;
  width: 62px;
  background-position: 0 -1067px;
}

#header ul.gnavi li a.home:hover {
  background-position: 0 -55px;
}

#header ul.gnavi li a.g01 {
  height: 55px;
  width: 154px;
  background-position: 0 -391px;
}

#header ul.gnavi li a.g01:hover {
  background-position: 0 -902px;
}

#header ul.gnavi li a.g02 {
  height: 55px;
  width: 176px;
  background-position: 0 -136px;
}

#header ul.gnavi li a.g02:hover {
  background-position: 0 -737px;
}

#header ul.gnavi li a.g03 {
  height: 55px;
  width: 135px;
  background-position: 0 -217px;
}

#header ul.gnavi li a.g03:hover {
  background-position: 0 -847px;
}

#header ul.gnavi li a.g04 {
  height: 55px;
  width: 147px;
  background-position: 0 -477px;
}

#header ul.gnavi li a.g04:hover {
  background-position: 0 -957px;
}

#header ul.gnavi li a.g05 {
  height: 55px;
  width: 124px;
  background-position: 0 -589px;
}

#header ul.gnavi li a.g05:hover {
  background-position: 0 0;
}

#header ul.gnavi li ul {
  padding: 0;
  margin: 0;
  position: absolute;
  z-index: 100;
  background-color: #fff;
  visibility: hidden;
}

#header ul.gnavi li ul li {
  text-indent: 0;
  display: block;
  background-color: transparent;
  background: url(../../img/common/bullet/dotline03.gif) left top repeat-x;
  font-size: 14px;
}

#header ul.gnavi li ul li a {
  background: url(../../img/common/bullet/blt_arr01.gif) 10px 1.2em no-repeat;
  padding: 16px 16px 16px 34px;
  color: black;
  font-weight: bold;
}

#header ul.gnavi li ul li a:hover {
  color: #8e1d54;
  background-color: #f6ecf2;
  text-decoration: none;
}

#header ul.gnavi li:hover ul {
  visibility: visible;
}

#header .aside {
  position: absolute;
  top: 0;
  right: 0;
}

#header .aside ul {
  margin: 0;
  padding: 0;
}

#header .aside ul li {
  list-style: none;
  text-indent: -999em;
  display: inline-block;
  padding-left: 1px;
}

#header .aside ul li a {
  z-index: 100;
  display: block;
  background-image: url('../../img/index/sprite-s12f7b37ab7_v2.png');
}

#header .aside ul li a.contact {
  height: 55px;
  width: 78px;
  background-position: 0 -792px;
}

#header .aside ul li a.contact:hover {
  background-position: 0 -1122px;
}

#header .aside ul li a.access {
  height: 55px;
  width: 78px;
  background-position: 0 -1012px;
}

#header .aside ul li a.access:hover {
  background-position: 0 -1177px;
}

.lt-ie9 #header ul.gnavi {
  background: url(../../img/index/bg_white75.png);
  display: inline-block;
}

#contents {
  position: relative;
  padding: 20px;
}

#contents .read01 {
  position: absolute;
  top: 28px;
  left: 328px;
  background: url(../../img/index/txt_read01.png) no-repeat left top;
  width: 272px;
  height: 294px;
  text-indent: -999em;
}

#contents .infomation {
  background-color: #960f55;
  padding: 0 10px 10px 10px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
  width: 260px;
}

#contents .infomation h2 {
  text-indent: -999em;
  background: url(../../img/index/txt_information.png) no-repeat left top;
  width: 260px;
  height: 40px;
  margin: 0;
}

#contents .infomation ul {
  margin: 0;
  padding: 5px 10px;
  max-height: 304px;
  overflow: auto;
  overflow-y: scroll;
  background-color: #fff;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
}

#contents .infomation ul li {
  list-style: none;
  font-size: 14px;
  color: #333;
  padding: 10px 0;
  border-bottom: 1px dashed #bbb;
}

#contents .infomation ul li p {
  margin: 0;
  padding-top: 6px;
}

#contents .infomation ul li .cat em {
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
  background-color: #47c292;
  color: #fff;
  padding: 2px 3px 0px 3px;
  display: inline-block;
  text-align: center;
  width: 46px;
  font-size: 10px;
  font-style: normal;
  margin-left: 4px;
}

#contents .infomation ul li .cat em.news {
  background-color: #d6b5d5;
}

#contents .infomation ul li .cat em.others {
  background-color: #3889c8;
}

#contents .infomation ul li:last-child {
  border-bottom: none;
}

#contents .nav ul {
  margin: 0;
  padding: 11px 0;
  width: 300px;
}

#contents .nav ul li {
  list-style: none;
  text-indent: -999em;
  display: inline-block;
  padding: 0 11px 11px 0;
}

#contents .nav ul li a {
  background-image: url('../../img/index/sprite-s12f7b37ab7_v2.png');
  display: block;
}

#contents .nav ul li a.intro {
  height: 31px;
  width: 134px;
  background-position: 0 -446px;
}

#contents .nav ul li a.intro:hover {
  background-position: 0 -303px;
}

#contents .nav ul li a.study {
  height: 31px;
  width: 134px;
  background-position: 0 -644px;
}

#contents .nav ul li a.study:hover {
  background-position: 0 -558px;
}

#contents .nav ul li a.info {
  height: 31px;
  width: 134px;
  background-position: 0 -706px;
}

#contents .nav ul li a.info:hover {
  background-position: 0 -675px;
}

#contents .nav ul li a.visit {
  height: 31px;
  width: 134px;
  background-position: 0 -334px;
}

#contents .nav ul li a.visit:hover {
  background-position: 0 -272px;
}

.read02 {
  position: absolute;
  right: 20px;
  bottom: 153px;
  background: url(../../img/index/txt_read02.png) no-repeat right bottom;
  width: 394px;
  height: 66px;
  text-indent: -999em;
  z-index: 10;
}

#footer {
  background: rgba(255, 255, 255, 0.85);
  height: 118px;
  position: fixed;
  bottom: 0;
  width: 100%;
}

#footer img {
  margin-left: 20px;
  margin-top: 16px;
}

#footer ul {
  margin: 0;
  padding: 0;
}

#footer ul li {
  list-style: none;
  display: inline-block;
}

#footer ul.related01 {
  line-height: 11px;
  height: 11px;
  padding-top: 24px;
  margin-left: 20px;
}

#footer ul.related01 li {
  padding-right: 16px;
}

#footer ul.related01 li a {
  font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'ＭＳ Ｐゴシック', sans-serif;
  font-size: 11px;
  font-weight: bold;
  color: #000;
  background-image: url('../../img/index/sprite-s12f7b37ab7_v2.png');
  height: 11px;
  width: 11px;
  background-position: 0 -1288px;
  padding-left: 14px;
}

#footer ul.related01 li a:hover {
  color: #ab487f;
}

#footer ul.related02 {
  padding-top: 15px;
  position: absolute;
  top: 20px;
  right: 20px;
}

#footer ul.related02 li {
  text-indent: -999em;
  padding-left: 10px;
}

#footer ul.related02 li a {
  background-image: url('../../img/index/sprite-s12f7b37ab7_v2.png');
  display: block;
}

#footer ul.related02 li a.link05 {
  height: 26px;
  width: 141px;
  background-position: 0 -532px;
}

#footer ul.related02 li a.link05:hover {
  background-position: 0 -365px;
}

#footer ul.related02 li a.link06 {
  height: 26px;
  width: 164px;
  background-position: 0 -191px;
}

#footer ul.related02 li a.link06:hover {
  background-position: 0 -110px;
}

#footer address {
  position: absolute;
  bottom: 13px;
  right: 20px;
  font-family: Helvetica, Arial, sans-serif;
  font-style: normal;
  font-size: 10px;
  color: #666;
}

.lt-ie9 #footer {
  background: url(../../img/index/bg_white75.png);
}

/* ==========================================================================
   Helper classes
   ========================================================================== */
/*
 * Image replacement
 */
.ir {
  background-color: transparent;
  border: 0;
  overflow: hidden;
  /* IE 6/7 fallback */
  *text-indent: -9999px;
}

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

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */
.hidden {
  display: none !important;
  visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */
.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */
.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * 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 receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
.clearfix:before,
.clearfix:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}

.clearfix:after {
  clear: both;
}

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

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (min-resolution: 144dpi) {
  /* Style adjustments for high resolution devices */
}

@media only screen and (min-width: 1025px) {
  .container {
    background-image: url(../../img/index/bg_large.jpg);
    background-size: cover;
  }

  #contents .read01 {
    background-image: url(../../img/index/txt_read01_large.png);
    width: 22%;
    height: 150%;
    background-size: 100%;
  }

  .read02 {
    background-image: url(../../img/index/txt_read02_large.png);
    width: 32%;
    height: 50%;
    background-size: 100%;
  }
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */
@media print {
  * {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster: h5bp.com/s */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  abbr[title]:after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links for images, or javascript/internal links
   */
  .ir a:after,
  a[href^="javascript:"]:after,
  a[href^="#"]:after {
    content: "";
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group;
    /* h5bp.com/t */
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  @page {
    margin: 0.5cm;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}