/* 本体テーマ（FLEX Automotive）の style.css から、ヘッダー・フッター・グローバルメニュー関連の規則だけを抜き出したもの。
   common.css より後に読み込み、同じセレクタは本体の値で上書きする。 */
header {
  height: 82px;
  background: #2254B2;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
}
header.scroll {
  background: #2254B2 !important;
  transition: .3s;
}
header.top_header {
  background: none;
}
.header_inner_pc {
  height: 82px;
  padding: 0 50px;
  display: flex;
  align-items: center;
  position: relative;
  font-weight: 700;
}
header .header_logo img {
  width: 115px;
}
.header_contents {
  display: flex;
  position: absolute;
  right: 50px
}
header .header_inner_pc nav {
  display: flex;
}
header .header_inner_pc nav ul {
  display: flex;
  align-items: center;
  font-size: 16px;
  color: #FFF;
  letter-spacing: 0.07em;
}
header .header_inner_pc nav ul li {
  margin: 0 25px 0 0;
  position: relative;
  cursor: pointer
}
header .header_inner_pc nav ul li:hover::before {
  content: "";
  width: 80%;
  height: 3px;
  background: #FFF;
  display: inline-block;
  position: absolute;
  left: 10%;
  bottom: -5px;
}
header .header_inner_pc nav ul li.has_children ul.sub_menu li {
  margin: 0
}
header .header_inner_pc ul li a:visited {
  color: #FFF;
}
header .header_inner_pc nav ul li.has_children ul.sub_menu li a:visited {
  color: #000;
}
header .header_inner_pc nav ul li.has_children {
  position: relative
}
header .header_inner_pc nav ul li.has_children ul.sub_menu {
  display: flex;
  flex-wrap: wrap;
  background: #FFF;
  box-sizing: content-box;
  margin: auto;
  text-align: center;
  font-size: 12px;
  color: #000 !important;
  position: absolute;
  right: -440px;
  top: 54px;
  width: 960px;
  visibility: hidden;
  opacity: 0;
  transition: visibility .3s, opacity .3s;
  padding: 20px 0;
}
header .header_inner_pc nav ul li.has_children:hover ul.sub_menu {
  visibility: visible;
  opacity: 1;
  transition: .3s;
}
header .header_inner_pc nav ul li.has_children ul.sub_menu li {
  width: calc(100% / 6);
  position: relative
}
header .header_inner_pc nav ul li.has_children ul.sub_menu li:hover::before {
  content: none;
}
header .header_inner_pcr nav ul li.has_children ul.sub_menu li::after {
  content: "";
  width: 1px;
  height: 80%;
  background-color: rgba(0, 0, 0, .25);
  display: inline-block;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto
}
header .header_inner_pc nav ul li.has_children ul.sub_menu li:nth-child(6) a::after, header .header_inner_pc nav ul li.has_children ul.sub_menu li:nth-child(12) a::after, header .header_inner_pc nav ul li.has_children ul.sub_menu li:last-child::after {
  content: none;
}
header .header_inner_pc nav ul li.has_children ul.sub_menu li a span {
  display: block;
  margin: -5px 0 10px;
}
header .header_inner_pc nav ul li.has_children ul.sub_menu li a {
  margin: 0;
  display: block;
  padding: 0 20px;
  position: relative
}
header .header_inner_pc nav ul li.has_children ul.sub_menu li a::after {
  content: "";
  width: 1px;
  height: calc(100% - 15px);
  display: inline-block;
  background-color: rgba(0, 0, 0, .25);
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
}
header .header_inner_pc nav ul li.has_children ul.sub_menu li:last-child a::after, header .header_inner_pc nav ul li.has_children_txt ul.sub_menu li:last-child a::after {
  content: none;
}
header .header_inner_pc nav ul li.has_children ul.sub_menu li:hover::before, header .header_inner_pc nav ul li.has_children_txt ul.sub_menu li:hover::before {
  content: none;
}
header .header_inner_pc nav ul li.has_children_txt ul.sub_menu li {
  margin: 0;
}
header .header_inner_pc nav ul li.has_children_txt ul.sub_menu li a:visited {
  color: #000;
}
header .header_inner_pc nav ul li.has_children_txt {
  position: relative
}
header .header_inner_pc nav ul li.has_children_txt ul.sub_menu {
  display: block;
  background: #FFF;
  box-sizing: content-box;
  margin: auto;
  text-align: center;
  font-size: 13px;
  color: #000 !important;
  position: absolute;
  right: -36px;
  top: 54px;
  width: 120px;
  visibility: hidden;
  opacity: 0;
  transition: visibility .3s, opacity .3s;
}
header .header_inner_pc nav ul li.has_children_txt:hover ul.sub_menu {
  visibility: visible;
  opacity: 1;
  transition: .3s;
}
header .header_inner_pc nav ul li.has_children_txt ul.sub_menu li a {
  margin: 0;
  display: block;
  padding: 10px;
  position: relative
}
header .header_inner_pc nav ul li.has_children_txt ul.sub_menu li a::after {
  content: "";
  width: 80%;
  height: 1px;
  background-color: rgba(0, 0, 0, .25);
  display: inline-block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}
.configure_btn a {
  display: block;
  background: #FFF;
  color: black;
  padding: 0 12px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  margin: 0 20px 0 0;
  font-weight: bold;
  font-size: 15px;
}
header.top_header .configure_btn a {
  background: #2254B2;
  color: #FFF;
}
header.scroll .configure_btn a {
  background: #FFF;
  color: #000;
  transition: .5s;
}
header.top_header .contact_btn a {
  background: #2254B2;
  color: #FFF;
}
header.scroll .contact_btn a {
  background: #FFF;
  color: #000;
  transition: .5s;
}
.inventory_btn a {
  display: block;
  background-color: rgba(255, 255, 255, .65);
  color: #000;
  height: 50px;
  line-height: 50px;
  text-align: center;
  position: relative;
  font-weight: bold;
  width: 120px;
  margin: 0 25px 0 0;
}
header.top_header .inventory_btn a {
  background: #FFF;
  color: #000;
}
header.scroll .inventory_btn a {
  background-color: rgba(255, 255, 255, .65) !important;
  transition: .5s;
}
.contact_btn a:hover, .inventory_btn a:hover {
  opacity: .8;
  transition: .3s;
}
@media screen and (min-width: 1024.1px) {
.header_inner_sp, .sp_menu, .top_btn a {
    display: none !important;
}
}
@media screen and (max-width: 1024px) {
.header_inner_pc {
    display: none !important
}
header, header.scroll {
    height: 60px;
    background: #FFF !important;
    position: relative;
}
.header_inner_sp {
    height: 60px;
    position: relative;
    font-weight: 700;
    overflow: hidden;
}
header .header_logo {
    display: inline-block;
    height: 60px;
    width: 140.58px;
    overflow: hidden;
}
header .header_logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
}
header #menu_btn {
    display: block;
    position: absolute;
    right: 25px;
    top: 20px;
    width: 32px;
    height: 32px;
    cursor: pointer;
}
header #menu_btn.active {
    right: 20px;
    top: 15px;
}
#menu_btn, #menu_btn span {
    display: inline-block;
    transition: all .4s;
    box-sizing: border-box;
}
#menu_btn span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #000;
    z-index: 999999
}
#menu_btn span:nth-of-type(1) {
    top: 0;
}
#menu_btn span:nth-of-type(2) {
    top: 9px;
}
#menu_btn span:nth-of-type(3) {
    top: 18px;
}
#menu_btn.active span:nth-of-type(1) {
    top: -7px;
}
#menu_btn.active span:nth-of-type(2) {
    top: 2px;
}
#menu_btn.active span:nth-of-type(3) {
    display: none
}
#menu_btn::after {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    content: '';
    width: 45px;
    height: 45px;
    margin: -17px 0 0 -22px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: all .75s;
}
#menu_btn.active span:nth-of-type(1) {
    -webkit-transform: translateY(20px) rotate(-45deg);
    transform: translateY(20px) rotate(-45deg);
}
#menu_btn.active span:nth-of-type(2) {
    -webkit-transform: translateY(11px) rotate(45deg);
    transform: translateY(11px) rotate(45deg);
}
#menu_btn.active::after {
    -webkit-animation: active-menu .4s .25s forwards;
    animation: active-menu .4s .25s forwards;
}
.contact_header {
    background: #2254B2 !important;
}
.sp_menu {
    width: 100%;
    height: 100vh !important;
    background: #FFF;
    z-index: 99999;
    position: absolute;
    top: 60px;
    left: 0;
    transition: .5s;
    border-top: 1px solid #000;
    opacity: 0;
    pointer-events: none;
}
.sp_menu nav {
    height: 100vh !important;
    background: #FFF;
}
.sp_menu.on {
    transition: .5s;
    opacity: 1;
    pointer-events: auto
}
.sp_menu nav ul li {
    text-align: center
}
.sp_menu nav ul li a {
    color: #000;
    font-size: 18px;
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .25);
    position: relative;
    background: #FFF;
}
.sp_menu nav ul li a::after {
    content: "";
    position: absolute;
    top: 18px;
    margin: auto;
    right: 40px;
    width: 12px;
    height: 12px;
    border-top: 2px solid #000;
    border-right: 2px solid #000;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
.sp_menu nav ul li:last-child a {
    border: none;
    margin: 0;
    padding: 20px 0 25px;
}
.sp_menu nav ul li.has_children ul li:last-child a {
    border-bottom: 1px solid rgba(0, 0, 0, .25);
}
.sp_menu nav ul li.has_children {
    position: relative;
    transition: all .5s ease;
}
.sp_menu nav ul li.has_children a::after {
    content: "";
    position: absolute;
    top: 18px;
    margin: auto;
    right: 36px;
    width: 12px;
    height: 12px;
    border-top: 2px solid #000;
    border-right: 2px solid #000;
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
}
.sp_menu nav ul li.has_children.active a::after {
    transform: rotate(-45deg);
    top: 25px;
}
.sp_menu nav ul li.has_children ul {
    opacity: 0;
    display: none
}
.sp_menu nav ul li.has_children ul.on {
    opacity: 1;
    display: block;
    transition: all .5s ease;
}
.sp_menu nav ul li.has_children ul.on li a {
    color: #666;
}
.sp_menu nav ul li.has_children ul.on li a::after {
    transform: rotate(45deg);
    top: 24px;
}
.header_inner_sp .contact_btn a, header.scroll .header_inner_sp .contact_btn a {
    background-color: #2254B2;
    color: #FFF;
    height: 55px;
    line-height: 55px;
    padding: 0;
    margin: 0;
    letter-spacing: 0;
}
.header_inner_sp .inventory_btn a, header.scroll .header_inner_sp .inventory_btn a {
    background-color: #EFEFEF !important;
    padding: 0;
    height: 55px;
    line-height: 55px;
    position: relative;
    letter-spacing: 0
}
.sp_menu .configure_btn a {
    width: 90%;
    margin: 0 5%;
    text-align: center;
    background: #2254B2;
    color: #FFF
}
}
@media screen and (max-width: 375px) {
.sp_menu nav ul li a {
    padding: 15px 0;
}
}
footer {
  background-color: #2254B2;
  padding: 25px 12.5%;
  color: #FFF;
  font-size: 14px;
  line-height: 21px;
}
footer a:visited {
  color: #FFF;
}
footer .footer_inner_pc {
  display: flex;
  justify-content: space-between;
  margin: 35px 0 50px
}
footer .footer_left img {
  width: 140px;
  margin: 0 0 25px;
}
footer .footer_left p {
  margin: 0 0 32px;
}
footer .insta_lst li img {
  width: 20px;
  height: 20px;
  margin: 0;
  vertical-align: middle;
}
footer .insta_lst li {
  margin: 0 0 10px;
}
footer .insta_lst li:last-child {
  margin: 0;
}
footer .insta_lst li span {
  font-size: 16px;
  margin: 0 0 0 10px;
  vertical-align: middle;
}
footer .footer_right {
  display: flex;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.07em;
}
footer .footer_right h3 {
  font-size: 18px;
  margin: 40px 0 20px;
}
footer .footer_right h3:first-of-type {
  margin: 0 0 20px;
}
footer .footer_right_child {
  width: auto;
  min-width: 150px;
  margin: 0 30px 0 0;
  position: relative;
}
footer .footer_right_child:last-of-type {
  margin: 0;
}
footer .footer_right_child ul li a {
  margin: 0 0 15px;
  padding: 0 0 3px;
  border-bottom: 1px solid #FFF;
  display: block;
}
footer .footer_right_child ul li:last-child a {
  margin: 0;
}
footer .footer_right_child .inventory_btn a {
  width: 100%;
  color: #000;
  background: #FFF;
  position: absolute;
  bottom: 0;
}
footer .footer_right_child .configure_btn a {
  display: block;
  width: 100%;
  height: 50px;
  line-height: 50px;
  text-align: center;
  background-color: #000;
  position: absolute;
  bottom: 65px;
  color: white;
}
footer p.copyright {
  margin: 0;
  font-size: 12px;
  text-align: center;
  color: rgba(255, 255, 255, .6);
}
@media screen and (min-width: 981px) and (max-width: 1024px) {
footer {
    padding: 25px 50px;
}
}
@media screen and (min-width: 981px) {
.footer_inner_sp {
    display: none !important
}
}
@media screen and (max-width: 980px) {
.footer_inner_pc {
    display: none !important
}
.top_btn {
    display: inline-block;
    width: 40px;
    height: 40px;
    right: 20px;
    bottom: 60px;
    z-index: 99;
    position: fixed
}
.top_btn a {
    background-color: #000;
    width: 40px;
    height: 40px;
    display: block;
}
.top_btn a::after {
    content: "";
    background-image: url("../FLEX_Automotive/assets/images/icon_arrow.png");
    display: inline-block;
    width: 14px;
    height: 19px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}
footer {
    padding: 20px 25px;
    position: relative
}
footer .footer_inner_sp h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 40px 0 20px;
    text-align: center
}
footer .footer_inner_sp ul {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
footer .footer_inner_sp ul li {
    width: 48%;
}
footer .footer_inner_sp ul li a {
    display: inline-block;
    width: 100%;
    padding: 0 0 9px;
    margin: 0 0 20px;
    border-bottom: 1px solid #FFF;
}
footer .footer_inner_sp ul li:last-child a {
    margin: 0;
}
footer .footer_inner_sp .footer_top {
    padding: 0 0 30px;
    margin: 0 0 30px;
    border-bottom: 3px solid #FFF;
}
footer .footer_inner_sp .configure_btn a {
    display: block;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background-color: #000;
    font-weight: bold;
    padding: 0;
    margin: 0;
    border: none;
    color: #FFF;
}
footer .footer_inner_sp .inventory_btn a {
    background-color: #FFF;
    color: #000;
    font-weight: bold;
    padding: 0;
    margin: 0;
    border: none;
}
footer .insta_lst {
    width: 60% !important;
    margin: 30px 20% 0;
    display: block
}
footer .footer_inner_sp ul.insta_lst li {
    width: 100%;
}
footer .insta_lst li a {
    border-bottom: none !important;
    padding: 0 !important;
    margin: 0 0 10px !important;
}
footer .insta_lst li span {
    font-size: 14px;
}
footer .insta_lst li {
    margin: 0;
}
footer .footer_inner_sp .footer_bottom {
    padding: 30px 0 0;
    margin: 30px 0 25px;
    border-top: 3px solid #FFF;
}
footer .footer_inner_sp .footer_bottom a img {
    width: 110px;
    margin: 0 auto 40px;
    display: block
}
footer .footer_inner_sp .footer_bottom p {
    text-align: center
}
footer .footer_inner_sp .footer_bottom p:first-of-type {
    margin: 0 0 15px;
}
footer {
    padding: 20px 25px;
    position: relative;
}
footer .inventory_btn {
    width: 100% !important;
    margin: 29px 0 10px;
}
}

/* configurator は SP でもヘッダーを固定表示にする（body.top の padding-top: 100vh と重なり、ヘッダーが下がるのを防ぐ） */
@media screen and (max-width: 1024px) {
header, header.scroll {
  position: fixed;
}
}
