﻿/* PC */
@media screen and (min-width: 769px) {
  .pc {
    display: block;
  }
  .sp {
    display: none;
  }
  /*-------------
base
-------------*/
  body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, form, input, p, blockquote, th, td {
    margin: 0;
    padding: 0;
  }
  img {
    border: 0;
    vertical-align: top;
  }
  body {
    background-color: #fff;
  }
  a {
    color: #4c4c4c;
    outline: none;
    text-decoration: none;
    font-size: 12px;
  }
  a:hover {
    text-decoration: none;
  }
  ul, ol {
    list-style: none;
  }
  .fLeft {
    float: left;
  }
  .clearfix:after {
    content: "";
    clear: both;
    display: block;
  }
  /*-------------
firefox fade対策
-------------*/
  img {
    box-shadow: #000 0 0 0;
  }
  img, x:-moz-any-link, x:default {
    box-shadow: #000 0 0 0;
  }
  /*-------------
fontstyle
-------------*/
  body {
    font-family: "メイリオ", -webkit-body, sans-serif, "Hiragino Kaku Gothic ProN", "游ゴシック", YuGothic, Meiryo;
    font-size: 12px;
    line-height: 2.2;
    color: #000;
    letter-spacing: 0;
    font-weight: 500;
    -webkit-text-size-adjust: 100%;
  }
  /*-------------
container
-------------*/
  #container {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }
  .topmain_over {
    width: 100%;
    background-color: #00479d;
    color: #fff;
  }
  .topmain {
    background: url(../images/top/topmain.png) no-repeat;
    width: 1200px;
    height: 511px;
    margin: 0 auto;
  }
  img.main_text {
    margin: 165px 0 0 215px;
  }
  /*-------------
memu
-------------*/
  /*nav*/
  div#menu {
    width: 1000px;
    margin: 0 auto;
    padding: 0;
  }
  div#menu h1 {
    float: left;
    margin: 5px 0 0 0;
    font-size: 12px;
    font-weight: 200;
  }
  div#menu h1 span {
    display: inline-block;
    margin: 10px 0 0 10px;
    opacity: 0.9;
  }
  div#menu-nav {
    float: right;
    width: 508px;
    margin: 10px 0 0 0;
  }
  #menu-nav li {
    float: left;
    padding: 5px 0 0 0;
    letter-spacing: 1px;
    line-height: 30px;
  }
  #menu-nav ul a {
    display: block;
    padding: 0 7px;
    height: 27px;
    text-align: center;
    font-size: 15px;
    color: #fff;
  }
  #menu-nav li a:hover {
    border-bottom: solid 5px #fff;
  }
  li#menu_last {
    margin: -3px 0 0 10px;
  }
  li#menu_last a {
    height: 30px;
    padding: 0;
  }
  li#menu_last a:hover {
    border: none;
  }
  /*-------------
main
-------------*/
  #main {
    width: 100%;
    padding: 0;
    margin: 0 0 25px 0;
    overflow: hidden;
  }
  .topbox1_over.clearfix {
    width: 100%;
    background: linear-gradient(180deg, #00479d 0%, #00479d 50%, #fff 50%, #fff 100%);
  }
  .topbox1.clearfix {
    width: 1200px;
    margin: 0 auto;
    color: #fff;
    text-align: center;
  }
  .topbox1.clearfix p {
    padding: 60px 0 0 0;
    margin: 0 0 15px 0;
    font-size: 15px;
    line-height: 26px;
  }
  .topbox1.clearfix ul {
    width: 1036px;
    margin: 30px 82px 15px 82px;
    overflow: hidden;
  }
  .topbox1.clearfix ul li {
    float: left;
    margin: 0 0 0 9px;
    background-color: #000;
  }
  .topbox1.clearfix ul li:first-child {
    margin: 0 0 0 0;
  }
  .topbox1.clearfix ul li a:hover {
    opacity: 0.7;
  }
  .topbox3_over.clearfix {
    background-color: #00479d;
  }
  .topbox3.clearfix {
    width: 1000px;
    height: 250px;
    margin: 15px auto 0 auto;
    z-index: 99;
    position: relative;
  }
  .topbox3.clearfix p {
    position: absolute;
    top: 70px;
    left: 45%;
    z-index: 100;
  }
  .topbox3.clearfix p:hover {
    opacity: 0.8;
  }
  .topbox4.clearfix {
    width: 1000px;
    margin: 20px auto 0 auto;
  }
  ul.topbox4_list1.clearfix {
    width: 100%;
  }
  ul.topbox4_list1.clearfix li {
    float: left;
    line-height: 67px;
    font-weight: 600;
  }
  ul.topbox4_list1.clearfix li:nth-child(1) {
    margin: 115px 0 0 0;
  }
  ul.topbox4_list1.clearfix li:nth-child(2) {
    margin: 115px 0 0 0;
  }
  ul.topbox4_list1.clearfix li:nth-child(2) a {
    font-size: 14px;
  }
  ul.topbox4_list1.clearfix li:nth-child(3) {
    margin: 117px 57px 0 0;
  }
  ul.topbox4_list1.clearfix li:nth-child(3) a {
    font-size: 20px;
  }
  ul.topbox4_list1.clearfix li a:hover {
    color: #205ea9;
  }
  ul.topbox4_list2.clearfix {
    background: url(../images/top/topimg2.png) no-repeat;
    width: 920px;
    height: 300px;
    margin: -35px 0 0 0;
  }
  ul.topbox4_list2.clearfix li {
    float: left;
    line-height: 67px;
    font-weight: 600;
    padding: 196px 0 0 0;
  }
  ul.topbox4_list2.clearfix li:nth-child(1) {
    margin: 0 0 0 525px;
  }
  ul.topbox4_list2.clearfix li:nth-child(2) {
    margin: 25px 0 0 10px;
  }
  ul.topbox4_list2.clearfix li:nth-child(2) a {
    font-size: 14px;
  }
  ul.topbox4_list2.clearfix li:nth-child(3) {
    margin: 25px 0 0 0;
  }
  ul.topbox4_list2.clearfix li:nth-child(3) a {
    font-size: 20px;
  }
  ul.topbox4_list2.clearfix li a:hover {
    color: #205ea9;
  }
  .pagetop {
    display: none;
    position: fixed;
    bottom: 220px;
    right: 25px;
    z-index: 100;
  }
  .sales_web {
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 100;
  }
  /*-------------
footer
-------------*/
  #footer {
    clear: both;
    margin: 0 auto;
    width: 100%;
    background-color: #8f8f8f;
    color: #fff;
  }
  footer .ft_middle {
    width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
    overflow: hidden;
  }
  .footer_box.clearfix {
    float: left;
    width: 430px;
    margin: 20px 25px 0 0;
  }
  p.footertext1 {
    font-size: 12px;
    line-height: 23px;
  }
  p.footertext2 {
    font-size: 20px;
    line-height: 28px;
    font-weight: 600;
    letter-spacing: -1px;
  }
  ul.footer_boxlist.clearfix {
    width: 300px;
    margin: 10px 0 0 0;
  }
  ul.footer_boxlist li {
    line-height: 22px;
    float: left;
    width: 120px;
  }
  ul.footer_boxlist li a {
    font-size: 12px;
    color: #fff;
  }
  ul.footer_boxlist a:hover {
    text-decoration: underline;
  }
  .footer_box2.clearfix {
    float: left;
  }
  .footermail.clearfix {
    margin: 60px 0 0 0;
  }
  .ft_bottom {
    font-size: 10px;
    opacity: 0.9;
    margin: 25px 0 0 0;
  }
}
/* Tablet */
@media screen and (min-width: 481px) and (max-width: 768px) {
  .pc {
    display: block;
  }
  .sp {
    display: none;
  }
}
/* SP */
@media screen and (max-width: 480px) {
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
  * {
    margin: 0;
    padding: 0;
  }
  *::after, * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  body {
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    list-style: none;
    color: #000;
  }
  a {
    color: #3c8ae1;
  }
  img {
    width: 100%;
  }
  ul, ol {
    list-style: none;
  }
  /* inner */
  .inner {
    width: 980px;
    margin: 0 auto;
  }
  .inner:after {
    content: "";
    clear: both;
    display: block;
  }
  /* header */
  #top-head {
    font-size: 12px;
    top: -100px;
    position: absolute;
    width: 100%;
    margin: 100px auto 0;
    padding: 30px 0 0;
    line-height: 1;
    z-index: 999;
  }
  #top-head a, #top-head {
    color: #fff;
    text-decoration: none;
  }
  #top-head .inner {
    position: relative;
  }
  #top-head .logo {
    float: left;
    font-size: 36px;
  }
  #top-head .logo img {
    width: 80%;
  }
  #global-nav ul {
    list-style: none;
    position: absolute;
    right: 0;
    bottom: 0;
    font-size: 14px;
  }
  #global-nav ul li {
    float: left;
    position: relative;
  }
  #global-nav ul li a {
    padding: 0 30px;
  }
  /* Btn Hover */
  #global-nav ul li:after {
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    bottom: -20px;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
  }
  #global-nav ul li:hover:after {
    background: #fff;
    bottom: -30px;
  }
  /* Fixed */
  #top-head.fixed {
    margin-top: 0;
    top: 0;
    position: fixed;
    padding-top: 10px;
    height: 55px;
    background: #fff;
    background: rgba(255, 255, 255, .7);
    transition: top 0.65s ease-in;
    -webkit-transition: top 0.65s ease-in;
    -moz-transition: top 0.65s ease-in;
  }
  #top-head.fixed .logo {
    font-size: 24px;
    color: #333;
  }
  #top-head.fixed #global-nav ul li a {
    color: #333;
    padding: 0 20px;
  }
  /* Fixed Btn Hover */
  #top-head.fixed #global-nav ul li:after {
    bottom: -10px;
  }
  #top-head.fixed #global-nav ul li:hover:after {
    background: #0062B8;
    bottom: -20px;
  }
  /* Transition */
  /*
#top-head,
#top-head .logo,
#global-nav ul li,
#global-nav ul li a {
	transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
}
*/
  /* Toggle Button */
  #nav-toggle {
    display: none;
    position: absolute;
    right: 12px;
    top: 10px;
    width: 35px;
    height: 36px;
    cursor: pointer;
    z-index: 101;
  }
  #nav-toggle div {
    position: relative;
  }
  #nav-toggle span {
    display: block;
    position: absolute;
    height: 5px;
    width: 100%;
    background: #fff;
    left: 0;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
  }
  #nav-toggle span:nth-child(1) {
    top: 0;
  }
  #nav-toggle span:nth-child(2) {
    top: 11px;
  }
  #nav-toggle span:nth-child(3) {
    top: 22px;
  }
  #top-head, .inner {
    width: 100%;
    padding: 0;
  }
  /*#top-head {
	top: 0;
	position: fixed;
	margin-top: 0;
}*/
  /* Fixed reset */
  #top-head.fixed {
    padding-top: 0;
    background: transparent;
  }
  #mobile-head {
    background: #fff;
    width: 100%;
    height: 56px;
    z-index: 999;
    position: relative;
  }
  #top-head.fixed .logo, #top-head .logo {
    position: absolute;
    left: 10px;
    top: 5px;
  }
  h1.logo span {
    font-size: 11px;
    font-weight: 500;
    line-height: 21px;
  }
  #global-nav {
    position: absolute;
    top: -501px;
    background: #00479d;
    width: 100%;
    text-align: center;
    padding: 15px 0 10px 0;
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
  }
  #global-nav ul {
    list-style: none;
    position: static;
    right: 0;
    bottom: 0;
    font-size: 11px;
  }
  #global-nav ul li {
    float: none;
    position: static;
  }
  #global-nav ul li:after {
    display: none;
  }
  #top-head #global-nav ul li a, #top-head.fixed #global-nav ul li a {
    width: 100%;
    display: block;
    color: #fff;
    padding: 11px 0;
  }
  span#menu_tel {
    font-size: 17px;
    font-weight: 600;
    line-height: 7px;
  }
  #nav-toggle {
    display: block;
  }
  /* #nav-toggle */
  .open #nav-toggle span:nth-child(1) {
    top: 11px;
    -webkit-transform: rotate(315deg);
    -moz-transform: rotate(315deg);
    transform: rotate(315deg);
  }
  .open #nav-toggle span:nth-child(2) {
    width: 0;
    left: 50%;
  }
  .open #nav-toggle span:nth-child(3) {
    top: 11px;
    -webkit-transform: rotate(-315deg);
    -moz-transform: rotate(-315deg);
    transform: rotate(-315deg);
  }
  /* #global-nav */
  .open #global-nav {
    /* #global-nav top + #mobile-head height */
    -moz-transform: translateY(556px);
    -webkit-transform: translateY(556px);
    transform: translateY(556px);
  }
  #container {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #00479d;
  }
  /*-------------
main
-------------*/
  #main {
    width: 100%;
    padding: 0 10px;
    margin: 55px 0 25px 0;
    overflow: hidden;
  }
  .topbox1.clearfix {
    width: 100%;
    margin: 0 auto;
    color: #fff;
    text-align: center;
  }
  .topbox1.clearfix p {
    margin: 5px 0 15px 0;
    font-size: 14px;
    line-height: 20px;
  }
  .topbox1.clearfix p br {
    display: none;
  }
  .topbox1.clearfix ul {
    margin: 15px 0 0 0;
    overflow: hidden;
  }
  .topbox1.clearfix ul li {
    float: left;
    margin: 0 0 5px 10px;
    width: 46%;
  }
  .topbox1.clearfix ul li:last-child {
    margin: 0 27% 5px 27%;
    width: 46%;
  }
  .topbox3.clearfix {
    width: 100%;
    height: 0;
    z-index: 99;
    position: relative;
    padding: calc(250 / 1000 * 100%) 0 0;
  }
  .topbox3.clearfix iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  .topbox3.clearfix p {
    position: absolute;
    top: 5px;
    left: 40%;
    z-index: 100;
    width: 20%;
  }
  .topbox4.clearfix {
    width: 100%;
    background-color: #fff;
    overflow: hidden;
    margin: 7px 0 0 0;
    padding: 5px;
  }
  ul.topbox4_list1.clearfix {
    width: 100%;
  }
  ul.topbox4_list1.clearfix li {
    float: left;
  }
  .sales_web {
    margin: 10px auto;
    display: block;
    z-index: 100;
  }
  .sales_web img {
    max-width: 100%;
  }
  /*-------------
footer
-------------*/
  #footer {
    clear: both;
    margin: 0 auto;
    width: 100%;
    background-color: #8f8f8f;
    color: #fff;
  }
  footer .ft_middle {
    width: 100%;
    margin: 0 auto 25px auto;
    padding: 20px 10px 0 10px;
    overflow: hidden;
  }
  .footer_box.clearfix {
    margin: 35px 25px 0 0;
  }
  .footer_logo.clearfix {
    width: 65%;
    margin: 0 auto;
  }
  p.footertext2 {
    text-align: center;
    margin: 10px 0 0 0;
  }
  p.footertext3 {
    font-size: 16px;
    font-weight: 600;
    line-height: 23px;
    margin: 0 0 10px 0;
    letter-spacing: -2px;
    text-align: center;
  }
  p.footertext3 a {
    color: #fff;
    text-decoration: none;
  }
  .footer_mali.clearfix {
    width: 70%;
    margin: 0 auto;
  }
  .ft_bottom {
    line-height: 25px;
    height: 25px;
    font-size: 11px;
    opacity: 0.9;
    margin: 15px 0 0 0;
    text-align: center;
  }
}