
/*----------------------------
 共通CSS
-----------------------------*/


/*===== ■ レイアウト設定 =====*/

#wrapper {
  width: 100%;
  margin: 0 auto;
  position: relative;
  text-align: left;
  overflow: hidden;
}

.section-inner {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}


/*===== ■ 強調文字 =====*/

.red {
  color:#ff0000;
}


/*===== ■ ヘッダー =====*/

header {
  width: 1000px;
  margin: 0 auto;
  padding: 30px 0 40px;
}

header h1,
header #logo {
  float: left;
  width: auto;
}

header ul {
  float: right;
  width: auto;
}

header ul li {
  float: left;
  margin-right: 15px;
}

header ul li:last-child {
  margin-right: 0;
}

header ul li a {
  width: 100%;
  position: relative;
  display: block;
  font-size: 12px;
  padding: 4px 12px;
  border: 1px solid #fff;
  background: #0065BA;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

header ul li:last-child a {
  background: #004D8C;
}

header ul li a:before {
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

header ul li:nth-child(2) a:before {
  content: "";
  display: inline-block;
  background: url(../img/common/icon_qa.png) no-repeat left center;
  width: 11px;
  height: 9px;
  margin-right: 8px;
}

header ul li:nth-child(3) a:before {
  content: "";
  display: inline-block;
  background: url(../img/common/icon_mail.png) no-repeat left center;
  width: 12px;
  height: 8px;
  margin-right: 8px;
}

header ul li:last-child a:before {
  content: "";
  display: inline-block;
  background: url(../img/common/icon_en.png) no-repeat left center;
  width: 12px;
  height: 12px;
  margin-right: 8px;
}

header ul li a:hover {
  border: 1px solid #0065BA;
  background: #fff;
  color: #0065BA;
}

header ul li:last-child a:hover {
  border: 1px solid #004D8C;
  color: #004D8C;
}

header ul li:nth-child(2) a:hover:before {
  background: url(../img/common/icon_qa_over.png) no-repeat left center;
}

header ul li:nth-child(3) a:hover:before {
  background: url(../img/common/icon_mail_over.png) no-repeat left center;
}

header ul li:last-child a:hover:before {
  background: url(../img/common/icon_en_over.png) no-repeat left center;
}




/*===== ■ ナビ =====*/

nav {
  width: 1000px;
  margin: 0 auto 30px;
}

nav ul {
  width: 100%;
}

nav ul li {
  float: left;
  width: auto;
}

nav ul li:first-child {
  width: 12.4%;
}

nav ul li:nth-child(2) {
  width: 13.8%;
}

nav ul li:nth-child(3) {
  width: 16.6%;
}

nav ul li:nth-child(4) {
  width: 16.4%;
}

nav ul li:nth-child(5) {
  width: 25.6%;
}

nav ul li:last-child {
  width: 15.2%;
}

nav ul li a {
  position: relative;
  display: block;
  width: 100%;
  padding: 0 25px;
  font-size: 14px;
  text-align: center;
  border-right: 1px solid #518DBD;
  line-height: 1.3;
}

nav ul li:first-child a {
  border-left: 1px solid #518DBD;
}

nav ul li a:hover:before {
  visibility: visible;
  transform: scaleX(1);
  -webkit-transform: scaleX(1);
}

nav ul li a:before {
  background-color: #B3D1EA;
  bottom: -5px;
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  left: 10%;
  width: 80%;
  visibility: hidden;
  transform: scaleX(0);
  -webkit-transform: scaleX(0);
  transition: all .2s ease-in-out 0s;
  -webkit-transition: all .2s ease-in-out 0s;
}

nav ul .current a {
  color: #c9c9c9 !important;
}




/*===== ■ コンテンツ =====*/

#contents {
  width: 1000px;
  margin: 0 auto;
  padding-bottom: 50px;
}



/*===== ■ フッター =====*/

footer {
  width: 100%;
  background: url(../img/common/bg_footer.gif);
}

#footer-inner {
  width: 1000px;
  margin: 0 auto;
  padding: 20px 0;
}

#footer-inner #footer-sns {
  width: 100%;
  position: relative;
}

#footer-inner #footer-sns h2 {
  font-size: 13px;
  float: left;
  position: absolute;
  top: 10px;
}

#footer-inner #footer-sns ul {
  float: right;
  display: table;
  width: auto;
}

#footer-inner #footer-sns ul li {
  display: table-cell;
  vertical-align: middle;
  text-align: left;
  padding-left: 10px;
}

#footer-inner #footer-sns ul li:last-child {
  padding-top: 9px;
}

#footer-menu {
  width: 100%;
  display: table;
  border-bottom: 1px solid #1A65A0;
  border-top: 1px solid #1A65A0;
  padding: 25px 0 15px;
  margin: 20px 0;
}

#footer-menu div {
  display: table-cell;
  text-align: left;
  vertical-align: top;
  padding: 0 25px;
}

#footer-menu div a:hover {
  text-decoration: underline;
}

#footer-menu div h3 {
  margin-bottom: 10px;
}

#footer-menu div h3 a {
  position: relative;
  display: block;
  font-size: 12px;
  line-height: 1.4;
  color: #feffff;
}

#footer-menu div h3 a:after {
  display: inline-block;
  content: "";
  position: absolute;
  top: 50%;
  width: 3px;
  height: 3px;
  margin: -2px 0 0 5px;
  border-top: solid 1px #feffff;
  border-right: solid 1px #feffff;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

#footer-menu div ul {
  margin-bottom: 20px;
}

#footer-menu div ul li {
  margin-bottom: 5px;
}

#footer-menu div ul li a {
  display: block;
  font-size: 10px;
  line-height: 1.4;
  color: #ccc;
}

#footer-menu + p {
  text-align: center;
  color: #ccc;
  font-size: 10px;
}




/*===== ■ ページトップ =====*/

#pagetop {
  position: fixed;
  bottom: 2.34%;
  right: 2.34%;
  z-index: 1000;
}

#pagetop a {
  display: block;
  background: #004C8C;
}

#pagetop a img {
  width: 60px;
  height: auto;
}


/*facebookのコメントが切れるので対処*/
.fb_iframe_widget_lift {
    right:0;
}