/*!
header, footer, top module
 ______________________________*/

br.sp {
  display: none;
}

/* 
html and body
_______________________________*/
html {
  image-rendering: -webkit-optimize-contrast; //Chrome
  image-rendering: optimizequality; //Safari・Firefox  
}

/* 
header
_______________________________*/

.header {
  background-color: #fff;
  width: 100%;

}

.header_in {
  position: relative;
  display: flex;
  justify-content: flex-start;
  padding: 0 0 0;
}


.header h1 {
  position: absolute;
  top: 10px;
  left: 0;
  font-size: 0;
  line-height: 0;
  margin: 0;
  padding: 0;
}

.header h1 a {
  display: block;
  width:240px;
  height: 120px;
  z-index: 1000;
}

.header h1 a img {
  width: 240px;
  height: auto;
  margin-right: auto;
}

@media screen and (min-width: 769px) and (max-width: 1160px) {
.header h1 a,
  .header h1 a img {
  width: 159px;
  height: 80px;
}
}


.header_tel img {
  width: 203px;
  height: auto;
}

.contact {
  display: flex;
  margin-left: auto;
}

.contact a {
  display: block;
}

.contact img {
  width: 249px;
  height: auto;
}

/* ----------------------------------------------
 pagetop
 ---------------------------------------------- */
.pagetop {
  width: 50px;
  height: 50px;
  position: fixed;
  right: 20px;
  bottom: -50px;
}

.header_contact {
  display: block;
  padding: 0;
  margin: 0 0 0 10px;
  height: 40px;
}

/*

menu
___________________*/

ul.menu,
ul.menu>li {
  position: relative;
}

ul.menu::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 100%;
  /* 下に5pxはみ出す */
  border-left: 1px solid #000;
  /* お好きな太さと色に */
}

ul.menu>li::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  /*左に配置*/
  width: 0;
  height: calc(100% + 10px);
  /* 下に5pxはみ出す */
  border-left: 1px solid #000;
  /* お好きな太さと色に */
}

ul.menu>li.current a,
ul.menu>li a:hover {
  border-bottom: 3px transparent;
}

ul.menu>li {
  position: relative;
  height: 22px;
}

ul.menu>li::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  display: block;
  background-color: #0079f8;
  width: 0;
  height: 0.2rem;
  opacity: 0;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

ul.menu>li:hover::before,
ul.menu>li.current::before {
  width: 100%;
  opacity: 1;
  bottom: -18px;
}

.header input {
  display: none;
}

ul.menu {
  display: flex;
  width: auto;
  justify-content: flex-end;
  align-items: center;
  margin: 0 0 32px;
  padding: 0;
}
ul.menu li:nth-child(7){
  display: none;
}

ul.menu li {
  list-style-type: none;
  position: relative;
}

ul.menu li img {
  width: auto;
  height: 31px;
}

/*
menu added
____________*/


ul.menu li a,
.toggle_label a {
  color: #333;
  text-align: left;
  display: block;
  font-size: 1.3rem;
  font-weight: 600;
  padding: 0;
  vertical-align: bottom;
}

ul.menu li a span,
.toggle_label span {
  display: block;
  color: #aaa;
  font-family: Arial, Helvetica, "sans-serif";
  font-size: 70%;
}

ul.toggle-inner {
  position: absolute;
  width: 190px;
  margin: 0;
  padding: 0;
  right: 0;
}

ul.toggle-inner li {
  width: 100%;
  margin: 0;
  padding: 0;
}

ul.toggle-inner li a {
  padding: 0;
  text-decoration: none;
}

@media screen and (min-width: 600px) {

  /*--/*PCのみ----*/
  ul.toggle-inner {
    background-color: #fff;
    /* for animate */
    opacity: 0;
    line-height: 0;
    display: block;
  }

  ul.menu li.has-child:hover ul.toggle-inner {
    /* for animate */
    opacity: 1;
    line-height: 1.8;
    transition: line-height .2s;
    z-index: 70;
  }

  ul.menu li.has-child:hover ul.toggle-inner a {
    padding: 10px;
  }

  .toggle_label {
    cursor: pointer;
  }

  /*___________________________________*/
}

.mv {
  position: relative;
}

.mv img {
  position: relative;
}


/*
footer
______________________*/
footer {
  width: 100%;
}

footer nav {
  background-color: #eeeeee;
  padding: 10px 0;
}

footer nav ul {
  display: flex;
  justify-content: center;
  list-style-type: none;
  padding: 0;
  margin: 0;
}

footer nav ul li {
  border-left: 1px solid #333;
  margin: 0;
  padding: 0;
}

footer nav ul li:last-child {
  border-right: 1px solid #333;

}

footer nav ul li a {
  color: #333;
  padding: 5px 8px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  text-decoration: none;
}

.footer__contents {
  padding: 5.0rem 0;
}

.footer__description {
  margin-bottom: 6.0rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

.st-container {
  padding: 0 2.0rem;
  margin-right: auto;
  margin-left: auto;
}

.st-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  /* overflow: hidden; */
}

.footer__banners {
  margin: 0;
  padding: 0;
  list-style: none;
  margin: 0 auto 20px auto;
}

.footer__banners a {
  display: block;
  width: 280px;
  margin: 0 auto;
  border: solid 1px #999;
}

@media screen and (min-width: 1024px) {
  .footer__banners li.st-unit-md-6 {
    max-width: 165px;
  }

  .footer__banners li:first-child {
    margin-right: 20px;
  }

  .footer__banners a {
    width: 165px;
    margin: 0;
  }
}

/*
copy
_________________*/
.copy {
  background-color: #014190;
  padding: 1.0rem;
  text-align: center;
  color: #fff;
}

/*
#breadcrumb
________________________*/
#breadcrumb {
  display: block;
  margin: 20px 0;
  text-align: left;
  font-size: 1.3rem;
}

#breadcrumb ul {
  margin: 0;
  padding: 0;
}

#breadcrumb ul li {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: inline;
  text-align: left;
}

#breadcrumb ul li:before {
  content: " / ";
}

#breadcrumb ul li:first-child:before {
  content: none;
}

#breadcrumb ul li,
#breadcrumb ul li a {
  font-family: Arial, Helvetica, "sans-serif";
  font-size: 97%;
  color: #000;
}