@charset "utf-8";
@import url('reset.css');

/* Layout
---------------------------------------------------- */

html,body {
  width: 100%;
  height: 100%;
  color: #555;
  background-color: #fff;
  font-family:'Lucida Grande', 'Hiragino Kaku Gothic ProN', Meiryo, メイリオ, 'ヒラギノ角ゴ ProN W3', sans-serif;
  font-size: 12px;
}

img {
  vertical-align: bottom;
}

#container {
  width: 100%;
  min-height: 100%;
  position: relative;
}

#container * {
  max-height: 100%;
}

#header {
  margin: 0 auto;
  padding: 20px 0;
  width: 950px;
  position: relative;
  text-align: left;
}

#navigation,
#footer {
  width: 100%;
}

#wrapper {
  margin: 0 auto;
  padding-bottom: 500px;
}

#container #content {
  margin: 0 auto;
  width: 950px;
  overflow: hidden;
  text-align: left;
}

#content .left-navi,
#content .main {
  float: left;
}

#container #footer {
  position: absolute;
  bottom: 0;
  text-align: center;
}


/* Common Style
------------------------------------------ */

ul,li {
  list-style-type: none;
}

a {
  color: #448aca;
  text-decoration: none;
  outline: none;
}

a:hover {
  text-decoration: underline;
}

input {
  font-family: "Lucida Grande", "Verdana", "Osaka", "MS UI Gothic", serif;
  outline: none;
}

/* button */
a.button-m {
  width: 350px;
}

a.button-l {
  width: 500px;
}

a.button-orange,
a.button-blue {
  margin: 0 auto;
  padding: 20px 0;
  border-radius: 2px;
  display: block;
  color: #fff!important;
  font-size: 24px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(80, 80, 80, .9);
  transition: 0.3s ease-in-out;
}

a.button-orange {
  background-color: #f79256;
}

a.button-blue {
  background-color: #448aca;
}

a.button-orange:hover,
a.button-blue:hover {
  box-shadow: 0 4px 8px rgba(80, 80, 80, .9);
  text-decoration: none;
}

a.button-orange:hover {
  background-color: #ffa666;
}

a.button-blue:hover {
  background-color: #4d9be3;
}

a.button-orange:active,
a.button-blue:active {
  box-shadow: 0 2px 2px rgba(80, 80, 80, .9);
  text-decoration: none;
}

/* BreadCrumb */
#container #breadCrumb {
  margin: -5px auto 5px;
  width: 950px;
}

#container #breadCrumb li {
  display: inline;
  font-weight: bold;
}

#container #breadCrumb li span.part {
  margin: 0 2px 0 5px;
  color: #999;
  font-family: monospace;
}

#container #breadCrumb li a,
#container #breadCrumb li span {
  font-weight: normal;
}

/* header */
#header {
  margin: 0 auto;
  padding: 20px 0;
  width: 950px;
  min-height: 58px;
  position: relative;
  text-align: left;
}

#header a,
#footer a {
  color: #555;
}

#header h1 {
  padding: 10px 0 0 190px;
  font-weight: normal;
}

#header h1 a {
  position: absolute;
  top: 20px;
  left: 0;
}

#header h1 span {
  margin-top: 8px;
  display: block;
  color: #448aca;
  font-weight: bold;
  font-size: 1.35em;
}

#header ul.utilities {
  position: absolute;
  top: 40px;
  right: 150px;
  font-size: 16px;
}

#header ul.utilities li {
  margin-left: 30px;
  display: inline-block;
}

#header a#login {
  width: 120px;
  position: absolute;
  top: 20px;
  right: 0;
  font-size: 16px;
}

/* navigation */
#navigation {
  margin-bottom: 15px;
  background-color: #f7f6f5;
  text-align: center;
}

#navigation ul {
  margin: 0 auto;
  width: 950px;
  background-color: #000;
}

#navigation ul li {
  padding: 15px;
  display: inline-block;
}

#navigation ul li a {
  color: #fff;
  font-size: 1.2em;
}

#navigation ul li a:hover {
  text-decoration: underline;
}

/* footer */
#footer {
  background-color: #fff;
  z-index: 20;
}

#footer-copy {
  color: #fff;
  background-color: #bde7f6;
}

.footer-inner {
  margin: 0 auto;
  padding: 20px 0;
  width: 950px;
  position: relative;
  text-align: left;
}

#footer-copy .footer-inner p {
  padding: 10px 0 0 190px;
  min-height: 48px;
}

#footer-copy .footer-inner p img {
  position: absolute;
  top: 20px;
  left: 0;
}

#footer-copy .footer-inner p span {
  margin-top: 8px;
  display: block;
  font-weight: bold;
  font-size: 1.35em;
}

#footer-copy a#totop {
  padding: 18px 0 17px;
  border-radius: 50px;
  display: block;
  width: 50px;
  position: absolute;
  top: -25px;
  right: 0;
  background-color: #448aca;
  text-align: center;
  box-shadow: 0 2px 4px rgba(80, 80, 80, .9);
  transition: 0.3s ease-in-out;
}

#footer-copy a#totop:hover {
  background-color: #4d9be3;
  box-shadow: 0 4px 8px rgba(80, 80, 80, .9);
  text-decoration: none;
}

#footer-copy a#totop:active {
  box-shadow: 0 2px 2px rgba(80, 80, 80, .9);
  text-decoration: none;
}

#footer-contents {
  background-color: #f7f6f5;
}

#footer-contents .footer-inner {
  padding: 30px 0;
  overflow: hidden;
}

#footer-contents div.footer-menu {
  margin-right: 10px;
  width: 310px;
  float: left;
}

#footer-contents div.footer-menu dl dt {
  font-weight: bold;
  font-size: 1.35em;
}

#footer-contents div.footer-menu dl dd {
  margin-top: 15px;
  font-size: 1.2em;
}

#footer-contents div.footer-menu dl:first-child dd:last-child {
  margin-bottom: 15px;
}

#facebook {
  width: 310px;
  float: right;
}

#facebook > div {
  margin: 0 auto;
}

#footer-psc .footer-inner {
  min-height: 42px;
}

#footer-psc .footer-inner p.jadma {
  position: absolute;
  top: 20px;
  right: 0;
}

/*clearfix */
.clearfix:after {
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
  content: ".";
}

*:first-child+html .clearfix {
  display: inline-block;
  min-height: 1%;
}

/* Hides from IE6/IE Mac \*/
* html .clearfix {
  height: 1%;
}

.clearfix {
  display: block;
}
/* End hide from IE6/IE Mac */


/* for SmartPhone
--------------------------------------------------------- */

@-ms-viewport {
  width: device-width;
}
@viewport {
  width: device-width;
}

/* iPads (portrait) */
@media screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {

  html,body,div#container {
    min-height: auto;
    height: auto;
  }

    html {
      -webkit-text-size-adjust: 100%
    }

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

  #header,
  #footer .footer-inner,
  #container #content,
  body .section {
    margin: 0 auto;
    width: 100%;
  }

  #header {
    padding-right: 12px;
    padding-left: 12px;
    box-sizing: border-box;
  }

  #header h1 a,
  #footer-copy .footer-inner p img {
    left: 12px;
  }

  #header a#login,
  #footer-copy span#totop {
    right: 12px;
  }

  #footer-contents dl {
    width: 25%;
  }

  #footer-contents dl:first-child {
    margin-left: 10px;
    width: 40%;
  }

}



