@charset "utf-8";
h1, h2,h3 {
  font-family: 游明朝, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", HGS明朝E, メイリオ, Meiryo, serif;
}
/* h2,h3,h4をh1,h2.h3のフォントサイズへ見た目調整 */
h2{
 font-size: calc(1.375rem + 1.5vw) !important;;
}
h3{
 font-size:calc(1.325rem + 0.9vw) ;
}

h4 {
    font-family: "ヒラギノ丸ゴ ProN", "Hiragino Maru Gothic ProN", "メイリオ", "Meiryo","Hiragino Sans", "Hiragino Kaku Gothic ProN", "sans-serif";
    font-size: x-large !important;
    font-weight: bold !important;
}

h5{
 font-size:calc(1.275rem + 0.3vw) ;

}
@media (min-width: 1200px) {
 h2{
  font-size: 2.5rem !important;;
 }
 h3{
  font-size: 2rem ;
 }
 h5{
  font-size: 1.5rem ;
 }
}
a {
  /*color: #002255 !important;*/
  color: inherit !important;
  text-decoration: underline;
}
.nolink {
  pointer-events: none;
  text-decoration-line: none;
  color: inherit !important;
  text-decoration: none;
}
.no-deco, .tel a {
  text-decoration-line: none;
}
.header__inner h1{
	float: left;
	padding 6px 0;

}

.header__inner h1 a{
	display: block;
	width: 216px;
	height: 52px;
	font-size: 0;
	z-index:99;
	background: url(../img/logo.svg) left top/216px auto no-repeat;
	background-size:contain;
}

.header-tel {
  max-width: 300px;
  display:none;
  margin: auto 1rem auto auto;

}
@media (min-width: 768px) {
.header-tel {
   display:block;
 }
}
.cursor-pointer {
  cursor: pointer;
}

.president {
  width: 100%;
  height: auto;
  margin-left: auto;
}

#recruit table {
  width: 95%;
  max-width: 700px;
  margin: 0 auto;
}

/*
 * Google Map
 */
.GoogleMap {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 100%;
}
@media (min-width: 768px) {
  .GoogleMap {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 30%;
  }
}
.GoogleMap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*
 * お問い合わせフォーム用 (MailForm01)
 */
#formWrap {
  /*width: 95%;*/
  max-width: 700px;
  margin: 0 auto;
  /* color: #555;
  line-height: 150%;*/
}
table.formTable {
  width: 95%;
  margin: 0 auto;
  border-collapse: inherit;
}
table.formTable td, table.formTable th {
  /*border: 1px solid #ccc;
  padding: 10px;
  padding: 5px 0;*/
}
table.formTable th {
  width: 30%;
  font-weight: normal;
  /*background: #efefef;*/
  text-align: left;
}
.error_messe {
  margin: 5px 0;
  color: red;
}
.bg-error_messe, .bg-success_messe {
  width: 300px;
}
.bg-error_messe {
  background-color: rgba(248, 215, 218, 0.3);
}
.bg-success_messe {
  background-color: rgba(210, 244, 234, 0.3);
}
#formWrap small {
  font-size: 70%;
}
.w-btn {
  width: 170px;
  max-width: 170px;
}
/*　簡易版レスポンシブ用CSS（必要最低限のみとしています。ブレークポイントも含め自由に設定下さい）　*/
@media screen and (max-width:768px) {
  #formWrap {
    /*width: 95%;*/
    margin: 0 auto;
  }
  table.formTable th, table.formTable td {
    width: auto;
    display: block;
  }
  table.formTable th {
    margin-top: 5px;
    border-bottom: 0;
  }
  input[type="text"], textarea {
    /*width: 80%;
    padding: 5px;
    font-size: 110%;*/
    display: block;
  }
  input[type="submit"], input[type="reset"], input[type="button"] {
    display: block;
    width: 100%;
    height: 40px;
    margin: auto;
  }
}
/**
 * tingle modal modified
**/
.tingle-modal {
  padding-top: 40px;
  padding-bottom: 40px;
}
.tingle-modal-box {
  width: 850px;
  max-width: 90%;
  border-radius: 0;
}
.tingle-modal-box__content {
  padding: 0;
}
.tingle-modal__close {
  height: 45px;
  width: 48px;
  outline: none !important;
  background-color: rgba(0, 0, 0, .8);
}
.modal-title {
  font-size: 1.5rem;
}
.modal-body h2, .modal-body h3, .modal-body h4 {
  font-size: 1.2rem;
  padding: 0;
}
.modal-body h4 {
  font-size: 1rem;
  padding: 0;
}
@media(max-width: 768px) {
  .tingle-modal {
    padding: 20px 15px;
  }
  .tingle-modal-box {
    max-width: 100%;
  }
  .tingle-modal__close {
    font-size: 1.6rem;
    left: auto;
    right: 0px;
    line-height: 1.6rem;
  }
  .tingle-modal__closeIcon {
    font-size: 1.2rem;
    margin-right: 0;
  }
  .tingle-modal__closeLabel {
    display: none;
  }
}
@media(min-width: 768px) {
  .tingle-modal__close {
    font-size: 1.2rem;
    top: 20px;
    right: 20px;
  }
  .tingle-modal__closeIcon {
    font-size: 1.2rem;
    margin-right: 0;
  }
}

small.en {
  color: #466bb0;
  font-family: "din-medium", sans-serif;
  letter-spacing: .22em;
  line-height: 1;
  display: inline-block;
  padding: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.album {
  margin: auto;
  background-color: white;
  position: relative;
  z-index: 1;
}
.album img {
  width: 100%;
  height: 500px;
  animation-name: album;
  -webkit-animation-name: album;
  animation-duration: 10s;
  -webkit-animation-duration: 10s;
  animation-iteration-count: infinite;
  -webkit-animation-iteration-count: infinite;
  opacity: 0;
}
.album .img1 {
  display: block;
  margin: 0 auto;
}
.album .img2 {
  animation-delay: 5s;
  -webkit-animation-delay: 5s;
  position: absolute;
  top: 0;
  left: 0;
}
@keyframes album {
  0% {
    opacity: 0;
  }
  12.5% {
    opacity: 1;
  }
  37.5% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
@-webkit-keyframes album {
  0% {
    opacity: 0;
  }
  12.5% {
    opacity: 1;
  }
  37.5% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
.btn-grad {
  background-color:#284089 !important;
}

.btn-send {
  background-color:green !important;

}
#message img {
  border-radius: 6px; 
}

/*トップへ戻るボタン用*/
nav.ScrollTop {
  opacity: 0;
  transition: all 0.65s;
  color: white !important;
}
nav.ScrollTop.isActive {
  position: -webkit-fixed;
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 3000;
  width: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  opacity: 0.7;
  transition: all 0.65s;
  font-size: 0.7rem !important;
}
nav.ScrollTop.isActive a {
  font-size: 0.7rem;
  display: inherit;
}
/*
 * ハンバーガーメニュー（レスポンシブ対応）メニュー折り畳み jQuery依存
 * 参考: https://zero-plus.io/media/jquery-hamburger/
 */
/* ヘッダー */
.header {
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  color: black !important;
}

.header h1 {
    display:none;
}

.header-logo{
 display:block;
 margin-left:-1rem;
 width:216px;
 height:120px;
}

@media screen and (min-width: 768px) {
.header {
  padding: 5px 40px 5px 20px;
  display:block;
  /*background-color: rgba(0,0,0,0.35);*/
  color:black;
  /*background: linear-gradient(rgba(0,0,0,.7),rgba(0,0,0,0));*/
    
}

.header h1 {
    font-family: "ヒラギノ丸ゴ ProN", "Hiragino Maru Gothic ProN", "メイリオ", "Meiryo";
    font-size: 1.1rem;
    display: inherit;
    position: relative;
    top: -2px;
}

.header-logo{
 display:none;
}
}


.header a {
  text-decoration: none;
}
.header__inner {
  padding: 0 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: inherit;
  position: relative;
  top: 8px;
}
@media screen and (max-width: 768px) {
.header {
   width: 100vw;
   height:75px;
  background-image: url(../img/parts/header-bg-sp.svg);
  background-repeat:  no-repeat;

  }

}
ul.nav__items.nav-items {
    list-style: none;
    text-decoration: none;
    line-height: 4em;
    padding: 0;
}
@media screen and (min-width: 1200px) {
  ul.nav__items.nav-items {
    list-style: none;
    text-decoration: none;
    line-height: inherit;
  }
}
ul.nav__items.nav-items a {
  text-decoration: none;
}

.nav-items li {
  margin-left: 50px;
  white-space: nowrap;
}

/* ヘッダーのナビ部分 */
.header__nav {
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  vertical-align:middle
  width: 100vw;
  height: 80vh;
  transform: translateX(100%);
  background-color: rgba(0,0,0,0.8);
  transition: ease .4s;
}
@media screen and (min-width: 1200px) {
  .header__nav {
    position: static;
    transform: initial;
    background-color: inherit;
    height: inherit;
    display: flex;
    justify-content: end;
    width: 50vw;
  }
}
@media screen and (min-width: 1200px) {
  .nav__items {
    width: 100%;
    display: flex;
    align-items: center;
    height: initial;
    /*justify-content: space-between;*/
    justify-content: end;
  }
}
.nav-items {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
@media screen and (min-width: 1200px) {
  .nav-items {
    position: inherit;
    top: 0;
    left: 0;
    transform: translate(0, 0);
  }
}

/* ナビのリンク */
.nav-items__item a {
  color: white;
  width: 100%;
  display: block;
  text-align: center;
  font-size: 25px;
  margin-bottom: 20px;
}
.nav-items__item:last-child a {
  margin-bottom: 0;
}
@media screen and (min-width: 1200px) {
  .nav-items__item a {
    margin-bottom: 0;
  }
}
/* ハンバーガーメニュー */
.header__hamburger {
  width: 48px;
  height: 100%;
}
.hamburger {
  background-color: transparent;
  border-color: transparent;
  z-index: 9999;
  padding: 10px;
 margin-right: 1rem;
}
@media screen and (min-width: 1200px) {
  .hamburger {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .hamburger {
    margin-left:auto;;
  }
}
/* ハンバーガーメニューの線 */
.hamburger span {
  width: 100%;
  height:2px;
  background-color: #fff;
  position: relative;
  transition: ease .4s;
  display: block;
}
.hamburger span:nth-child(1) {
  top: 0;
  background-color:#284089;
}
.hamburger span:nth-child(2) {
  margin: 8px 0;
  background-color:#284089;

}
.hamburger span:nth-child(3) {
  top: 0;
  background-color:#284089;

}
/* ハンバーガーメニュークリック後のスタイル */
.header__nav {
  display: none !important;
  background-color:#fff;
}
@media screen and (min-width: 1200px) {
  .header__nav {
    display: flex !important;
  }
}
.header__nav.active {
  transform: translateX(0);
  display: flex !important;
  background-color:#284089;
  opacity :0.95 !important;
  color:#fff;
  z-index:9000;

}
.hamburger.active span:nth-child(1) {
  top: 5px;
  height:1px;
  transform: rotate(45deg);
  background-color:#fff;
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  top: -13px;
  height:1px;
  transform: rotate(-45deg);
  background-color:#fff;
}
/* エフ・ドライブ固有 */

.sub-title {
  color    : #284089;
  font-size: 32px;
  letter-spacing: 0.1em;
}

.service {
 background-image: url(../img/parts/car.svg);
 background-repeat:  no-repeat;

}

.box {
  position     : relative;
  width        : 100%;
  height       : 60px;
  border: 2px solid #164F94; 

}
.box span {      /* 前面の文字エリア */
  position     : absolute;
  display      : inline-block;
  top          : 50%;
  left         : 0;
  padding      : 3px;
  color        : #164F94;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  font-size    : 1rem;
  width        : 100%;
  text-align:center;
  border-radius: 5px;
}

@media screen and (min-width: 960px) {
.box span {      /* 前面の文字エリア */

  font-size    : 1.2rem;
}
}

.box-col{
   margin-bottom:15px;
   text-align:left;
   letter-spacing: 0.1em;

}

.box-col p{
   font-size    : 1.2rem;
   letter-spacing: 0.1em;

}
.cash-box {
  position     : relative;
  width        : 95%;
  height       : 60px;
  border: 2px solid #164F94;

}
.cash-box span {      /* 前面の文字エリア */
  position     : absolute;
  display      : inline-block;
  top          : 50%;
  left         : 0;
  color        : #164F94;
  white-space: nowrap;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  font-size    : 1.1rem;
  width        : 100%;
  text-align:center;
  border-radius: 5px;
}
@media screen and (max-width: 768px) {
.cash-box  {
  width        : 100%;
  font-size    : 1rem;

  }

}
.cach-box img{
  object-fit: cover;
  height: 50%;
  width :auto;  

}

.blue-box {
  position     : relative;
  width        : 100%;
  height       : 50px;
  background   : #164F94;
}
.blue-box span {      /* 前面の文字エリア */
  position     : absolute;
  display      : inline-block;
  top          : 50%;
  left         : 0;
  padding      : 3px;
  color        : #fff;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  font-size    : 1.6rem;
  width        : 100%;
  text-align:center;
  border-radius: 5px;
}

.blue-box-col{
   font-size    : 1.2rem;
   margin-bottom:10px;
   text-align:left;
   letter-spacing: 0.1em;

}


.blue-box-col p{

  margin-top:0.8rem;
}

.blue-box-col img{
  object-fit: cover;
  width: 100%;  
  height:auto;
}

.any-service {
 background-image: url(../img/parts/screwdriver-wrench-solid.svg);
 background-repeat:  no-repeat;
 background-position: right 3em bottom 10px;
}

.any-service-message{
   padding:3.5rem 0;
   font-size    : 1.2rem;

}

.tool-service-message{
   font-size    : 1.2rem;

}

.tool-service-message img{
 width:90% !important; 
 max-width: 400px;
}
.service-sub-title{
  padding-top:3rem;

}

.oil-change-service{
 background-image: url(../img/parts/oil-drop.svg);
 background-repeat:  no-repeat;
 margin-bottom:-24px;

}
.oil-change-service img{
  object-fit: cover;
  width: 100%;
  height:auto;
}
.oil-sub-title {
  color    : #284089;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
}

.oil-changer-procedure{
   padding:0;
   margin-top:2rem;
   letter-spacing: 0.1em;
   text-align:left;
   font-size: 1.1rem;

}

@media screen and (min-width: 960px) {

.oil-changer-procedure{
   padding:0 2em;
 }
}

.g-scan-service{
 background-image: url(../img/parts/wave-square.svg);
 background-repeat:  no-repeat;
 background-size:320px 224px;
 background-position: right 3em top 5px;

}
.g-scan-service img{
  object-fit: cover;
  width: 100%;
  height:auto;
  margin-left:30px;
  float:right;
}

.g-scan-procedure{
   padding:0;
   margin-top:10px;
   letter-spacing: 0.1em;
   text-align:left;
   font-size: 1.1rem;

}


@media screen and (min-width: 960px) {

.g-scan-procedure{
   padding:0 2em;
 }
}

.payment {
 background-image: url(../img/parts/credit-card-solid.svg);
 background-repeat:  no-repeat;
 background-size:320px 283px;
 background-position: left 3em ;

}

.aboutus {
 background-image: url(../img/parts/car-shop.svg);
 background-repeat:  no-repeat;
 background-size:320px 270px;
 backgound-position:top 1em left 1em;
 background-position: right 3em ;
 background-color:#F1F8F9;
}

.cashless-col{
  margin-bottom:3rem;
  height:65px;
  display: flex;
  justify-content: center;
  align-items: center;

}
.cashless-col img{
  object-fit: cover;
  width:100%;
  height:auto;
}

.company-info{
  object-fit: cover;
  width:100%;
  height:auto;
}

.Instagram{
position: relative; 
width:300px;
height:275px;
margin:0 auto;
border:2px solid #3AB0C9;
border-radius:10px;
z-index:10;
text-align:left;
background: linear-gradient(to bottom, #D6EDF1 0%, #D6EDF1 18%, #fff 18%, #fff 100%);
}

.Instagram-Title{
height:40px;
left:0;
display:table;

}

.Instagram-Title p{
display:table-cell;
vertical-align:middle;
padding-left:0.5rem;
color:#3AB0C9;
font-size:1.5rem;
font-weight:bold;

}

.Instagram-Text{
position: absolute; 
top:55px;
left:0.3rem;
width:90%;
color:#3AB0C9;
}

.Instagram-Check{
 position: absolute; 
 top:53%;
 height:130px;
}

.Instagram-Check img{
  object-fit: cover;
  width:130px;
  height:64px;
  margin-left:1rem;
}

.Instagram-QR{
 position: absolute; 
 left:50%;
 top:50%;
 width:150px;
 height:140px;
 bottom:2rem;

}

.Instagram-QR img{
  object-fit: cover;
  width:100%;
  height:auto;

}

.Instagram-link{
 position: absolute; 
 text-align:center;
 width:90%;
 height:25%;
 bottom:1.5rem;
 left:2rem;;
 color:#fff;
 background:#3AB0C9;
 border-radius:5px;
 letter-spacing:1px;
 font-size:1.2rem;
 font-weight:bold;

}


/*
 * 動画用
 */
.p-header-video {
  position: relative;
  width: 100%;
  padding-bottom: 350px;
  overflow: hidden;
  background-color: #000;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url('../img/background.webp');
}
.p-header-content::before {
  z-index: 1;
  position: absolute;
  width: 100%;
  height: 100%;
  content: "";

}
.banner-logo-bg-img{
  position: absolute;
 z-index: 10;
 width:40%;
 left:0;
 top:0;
 display:none;
}

.banner-logo-img{
  position: absolute;
 z-index: 11;
 width: 10%;
 right: 1em;
 bottom: 1em;

 display:none;
}
@media screen and (min-width:768px) {
.banner-logo-bg-img{
 display: flex;
 }
 
.banner-logo-img{
 display: flex;
} 
}

.banner-logo-bg-img img{
  object-fit: cover;
  width:100%;
  height:auto;
  opacity:0.5;
}
.banner-logo-img img{
  object-fit: cover;
  width:100%;
  height:auto;
}

.p-header-video .scroll{
  position: absolute;
  z-index:100;
  bottom:0.5em;
  left:50%;
  right: 50%;
  transform: translateX(-50%);

}
.p-header-video video {
  position: absolute;
  top: 0;
  right: 50%;
  bottom: 0;
  left: 50%;
  width: auto;
  height: 350px;
  margin: auto;
  transform: translateX(-50%);
  z-index: 2;
}

@media (min-width: 768px){
.p-header-video {
  position: relative;
  width: 100%;
  padding-bottom: 41.67%;
  overflow: hidden;
  background-color: #000;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url('../img/background.webp');
}
.p-header-content::before {
  z-index: 1;
  position: absolute;
  width: 100%;
  height: 100%;
  content: "";
}
.p-header-video video {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  margin: auto;
  transform: none;
  z-index: 2;
}
.video-btn {
    content: "";
    position: absolute;
    top:0;
    left:0;
    right:0;
    bottom: 70px; /*コントローラー分下部に余白をつける場合*/
    cursor: pointer;
	z-index: 3;
}
}
