@charset "UTF-8";

/*
  header
*/
#header {
  width: 100%;
  margin: 0 auto;
  font-size: 14px;
  position: relative;
  border-top: 3px solid #b61018;
  z-index: 10;
  display: none;
}
@media (min-width: 768px) {
  #header {
    display: block;
  }
}



#header img {
  width: 100%;
  vertical-align: middle;
}
.f-inner {
  display: block;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0;
  /* border-bottom: 1px solid #d5d5d5; */
  padding: 0 20px;
}
@media screen and (min-width: 751px) {
  .f-inner {
    padding-top: 4px;
  }
}
#header_logo {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
#site_titleMufg {
  width: 150px;
}
@media screen and (min-width: 751px) {
  #site_titleMufg {
    width: 300px;
  }
}




/* ==========================================================================
 Footer
========================================================================== */
.l-footer {
  width: auto;
  -webkit-box-flex: 0;
  box-flex: 0;
  -webkit-flex: 0 0 auto;
  flex: 0 0 auto;
}

.l-footer__head {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 0 0 0;
  border-top: 1px solid #c9c9c9;
}

.l-footer__head__wrap {
  width: 100%;
  max-width: 1000px;
  padding: 15px 15px 30px;
  margin: 0 auto;
}

.l-footer__head__in {
  margin: 40px auto 155px;
}

.l-footer__head__in__item--annotation {
  padding-left: 8px;
}

.l-footer__bottom__in {
  background: #fff;
}

.l-footer__bottom__in--line {
  display: flex;
  background: #535353;
}

.l-footer__bottom__in--line .-left {
  margin: 0;
  padding: 0;
}

.l-footer__bottom__in--line .-right {
  margin: 0;
  padding: 0;
}

.l-footer__bottom__in--line .-wrap {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 25px 15px;
  display: flex;
}

.l-footer__bottom__in__item {
  max-width: 1000px;
  margin: 0 auto;
  padding: 25px 15px;
}

.l-footer__bottom__in__item:nth-child(2) {
  margin-left: 30px;
}

.l-footer__bottom__in__item a {
  padding-left: 18px;
  padding-right: 20px;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 300;
  position: relative;
  background: url(../images/icon_arrowSmall.svg) center left/8px 10px no-repeat, url(../images/icon_externalLink.svg) center right/13px 12px no-repeat;
}

.l-footer__bottom__in__item__img {
  width: auto;
}

@media screen and (min-width: 767px) and (max-width: 1024px) and (orientation: landscape) {
  .l-footer__head {
    max-width: 880px;
  }
}

@media screen and (max-width: 767px) {
  .l-footer {
    margin-top: 30px;
  }
  .l-footer__head {
    padding: 30px 0 0 0;
  }
  .l-footer__head__wrap {
    width: 100%;
    max-width: 1000px;
    padding: 15px 15px 30px;
    margin: 0 auto;
  }
  .l-footer__head__in {
    margin: 0px auto 40px;
  }
  .l-footer__head__in__item--annotation {
    padding-left: 8px;
  }
  .l-footer__bottom__in {
    padding: 20px 15px;
  }
  .l-footer__bottom__in--line {
    display: block;
  }
  .l-footer__bottom__in__item {
    padding-top: 0px;
    padding-bottom: 0px;
  }
  .l-footer__bottom__in__item:nth-child(2) {
    margin-top: 10px;
    margin-left: 0px;
  }
  .l-footer__bottom__in__item a {
    font-size: 1.2rem;
  }
}

#footer {
  background-color: #eee;
  border-top: 10px solid #b61018;
  width: 100%;
  padding: 0;
  font-size: 1.4rem;
}

#footer * {
  font-family: "ＭＳ Ｐゴシック", "メイリオ", "ヒラギノ角ゴ Pro W3", Osaka, Arial, Helvetica, sans-serif;
  box-sizing: content-box;
  line-height: 1;
}

#footer a {
  color: #005699;
  text-decoration: underline;
}

#footer .contents_inner {
  max-width: 1000px;
  margin: 0 auto;
}

#footer .line3 {
  position: relative;
  background: url(/lp/msgp/images/common/line.png) repeat-x top;
  height: 21px;
}

#footer .line3 .lineend {
  position: absolute;
  background: url(/lp/msgp/images/common/line_right.png) no-repeat top;
  width: 193px;
  height: 66px;
  bottom: 0px;
  right: 0px;
}

#footer .line3 .lineendtop {
  position: absolute;
  background: url(/lp/msgp/images/common/line_right_top.png) no-repeat top;
  width: 193px;
  height: 66px;
  bottom: 0px;
  right: 0px;
}

#footer .cover2 {
  background: #505050;
}

#footer_bg {
  background: #DDDDDD;
  padding: 15px 0 5px;
  height: 40px;
}

#footer_bg dl {
  max-width: 960px;
  margin: 0 auto;
  padding-left: 20px;
  background: url(../images/footer_txt.gif) no-repeat 0 0;
  height: 29px;
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
}

span.blank {
  display: inline-block;
  background: url(../images/icon_blank.png) no-repeat left 0px;
  padding: 0px 0px 0px 18px;
  margin: 3px 0px -5px 3px;
  min-height: 16px;
  height: auto !important;
}

span.pdf {
  background: transparent url(../images/icon_pdf_s.gif) no-repeat left center;
  display: inline-block;
  height: auto !important;
  margin: 0 0 0 3px;
  min-height: 16px;
  padding: 0 0 0 30px;
}

#pagetop_btn a {
  display: block;
  float: right;
  background: url(../images/btn_pagetop.png) no-repeat left top;
  width: 130px;
  height: 40px;
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  margin-top: -33px;
  position: relative;
}

#pagetop_btn {
  margin-bottom: 0 !important;
}

#footer_bana {
  clear: both;
  padding: 15px 0 0 10px;
  overflow: hidden;
  margin: 0 auto 20px;
}

#footer_bana li {
  float: left;
  margin-right: 30px;
}

#footer_bana li.btn04 {
  margin-right: 0;
}

#footer_bana li a {
  display: block;
  height: 54px;
  width: 217px;
  text-indent: -9999px;
  background-image: url(../images/footer_bana.png);
}

#footer_bana li.btn01 a {
  background-position: 0 0;
}

#footer_bana li.btn01 a:hover {
  background-position: 217px 0;
}

#footer_bana li.btn02 a {
  background-position: 0 164px;
}

#footer_bana li.btn02 a:hover {
  background-position: 217px 164px;
}

#footer_bana li.btn03 a {
  background-position: 0 109px;
}

#footer_bana li.btn03 a:hover {
  background-position: 217px 109px;
}

#footer_bana li.btn04 a {
  background-position: 0 54px;
}

#footer_bana li.btn04 a:hover {
  background-position: 217px 54px;
}

#footer_textlink {
  font-size: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding-top: 15px;
}

#footer_textlink ul {
  padding: 0 0 10px 0;
  text-align: center;
}

#footer_textlink ul:first-child {
  margin-top: 20px;
}

#footer_textlink li {
  display: inline-block;
  padding: 0 5px 0 5px;
  overflow: hidden;
  line-height: 2;
}

#footer_textlink li a {
  padding-left: 15px;
  background: url(../images/arrow_footer.png) no-repeat left center;
}

#footer_textlink li img {
  vertical-align: middle;
  margin-left: 5px;
  margin-bottom: 5px;
}

#footer_textlink hr {
  max-width: 980px;
  border-top: 1px #c5c2c2 solid;
  border-bottom: 1px #fff solid;
  height: 0;
}

#footer_inner2 {
  padding: 20px 0 20px 0;
  text-align: center;
  font-size: 108%;
  border-top: 10px solid #eee;
  background: #eee;
}

#footer_inner2 li {
  display: inline;
  padding-right: 20px;
  margin-right: 20px;
  border-right: 1px solid #222;
}

#footer_inner2 li.last {
  display: inline;
  border-right: none;
  padding-right: 0;
  margin-right: 0;
}

#footer_inner2 li a {
  background: url(../images/arrow_news.png) no-repeat left center;
  padding-left: 20px;
}

#footer_inner3 {
  background: #505050;
  color: #fff;
  font-size: 86%;
  padding: 20px 0;
  max-width: 980px;
  margin: 0 auto;
}

#footer_inner3 img {
  width: auto;
}

#footer_inner3 img:last-child,
#copyright {
  display: none;
}

#page-top {
  display: none;
  width: 50px;
  height: 50px;
  background: rgba(80, 80, 80, 0.6);
  border-radius: 100px;
  position: fixed;
  bottom: 7%;
  right: 100px;
  z-index: 100;
  transition: all 0s;
  text-decoration: none;
  color: #fff;
  text-align: center;
  padding-top: 5px;
  font-size: 2rem;
}

@media screen and (max-width: 767px) {
  #footer {
    border-top: 1px solid #cecece;
    margin-top: 0;
    padding-bottom: 62px;
    position: relative;
  }
  #footer_bg {
    background: none;
    height: auto;
  }
  #footer_bg dl {
    background: none;
    padding: 20px 10px;
    height: auto;
    overflow: visible;
    text-indent: 0;
    white-space: normal;
  }
  footer .inquiryBox {
    border-top: 1px solid #cecece;
  }
  footer .inquiry {
    padding: 20px 10px;
    text-align: center;
  }
  .inquiry_inner {
    background: #fff;
    margin-top: 15px;
    padding: 20px 10px;
  }
  .inquiry_tel {
    color: #e60000;
    font-weight: bold;
  }
  .inquiry_telnum {
    font-size: 32px;
    font-weight: bold;
    margin-top: 10px;
  }
  .inquiry_telnum a {
    color: #e60000 !important;
    text-decoration: none !important;
  }
  .inquiry_telnum a::before {
    content: "";
    display: inline-block;
    background: url(../images/icon_inquiry_tel.png) no-repeat 0 0;
    background-size: 24px;
    width: 24px;
    height: 24px;
    margin-right: 5px;
  }
  .inquiry_time {
    margin-top: 15px;
    line-height: 1.4;
  }
  .inquiry_time > span {
    font-weight: bold;
    display: block;
  }
  #footer_textlink {
    width: auto;
  }
  #footer_textlink li {
    display: block;
    overflow: visible;
    padding: 0;
  }
  #footer_inner2 li {
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    border-right: none !important;
  }
  #footer_textlink ul, #footer .contents_inner {
    background-color: #fff;
    margin: 0 !important;
    padding: 0 !important;
  }
  #footer_inner2 {
    padding: 0;
    border-top: none;
    background: none;
  }
  #footer_textlink li a, #footer_inner2 li a {
    background: none;
    color: #595857;
    border-bottom: 1px solid #eeeeee;
    display: block;
    font-size: 1.2rem;
    line-height: 1.7;
    padding: 11px 35px 11px 9px;
    position: relative;
    text-align: left;
    text-decoration: none;
  }
  #footer_textlink li a:after, #footer_inner2 li a:after {
    background-image: url(../images/bg_nav_fnavi_01.png);
    background-size: 6px 12px;
    content: "";
    width: 6px;
    height: 12px;
    display: block;
    position: absolute;
    top: 50%;
    right: 15px;
    margin-top: -6px;
  }
  #footer_textlink li a[href$=".pdf"]:after, #footer_inner2 li a[href$=".pdf"]:after {
    background-image: url(../images/icon_footer_pdf.png);
    background-size: 28px 15px;
    width: 28px;
    height: 15px;
    right: 6px;
    margin-top: -8px;
  }
  span.pdf {
    background: none;
    min-height: 0;
    padding: 0;
  }
  #copyright {
    background-color: #fff;
    display: block;
    text-align: center;
    padding: 20px 0 5px;
  }
  #copyright img {
    width: 280px;
  }
  #footer_inner3 {
    border-bottom: 2px #E60000 solid;
    padding: 15px 5px 15px 15px;
  }
  #footer_inner3 img:last-child {
    display: block;
    width: 260px;
  }
  #pagetop_btn {
    background: #f0f0f0 url(../images/btn_scroll_top.png) no-repeat center center;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 42px;
  }
  #pagetop_btn a {
    background: none;
    float: none;
    margin-top: 0;
    position: static;
    width: 100%;
    height: 42px;
  }
  #page-top {
    width: 40px;
    height: 40px;
    bottom: 3%;
    right: 25px;
    font-size: 1.6rem;
  }
  #footer_bana,
  #footer_textlink hr,
  #footer_textlink li span:not(.pdf),
  #footer_inner2 li span:not(.pdf),
  #footer_textlink li.spNone:not(.pdf),
  #footer_inner3 img:first-child {
    display: none;
  }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  #pagetop_btn a {
    left: -10vw;
  }
  #footer_bana {
    max-width: 60%;
    display: flex;
    flex-wrap: wrap;
  }
  #footer_bana li {
    margin-top: 20px;
    margin-right: 0;
    flex: 1 1 auto;
  }
}

.l-contents {
  position: relative;
  z-index: 1;
}

@media screen and (max-width: 1030px) {
  .l-contents {
    padding-right: 15px;
    padding-left: 15px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1200px) {
  .l-contents {
    padding-right: 100px;
    padding-left: 15px;
  }
}
