/* CSS Document */

@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");
#wpadminbar { top:unset;bottom:0;position: fixed !important; }
html { margin-top: 0 !important; }
:root {
  --font_title: "Noto Sans JP", Sans-serif !important;
  --font_eng: "Poppins", sans-serif;
  --color_navy: #002760;
  --color_sky: #F0F4FC;
  --color_ai: #3F659E;
  --color_yellow: #FFFF4B;
  --color_dark : #000917;
  --maxWidth_1400: 1320px;
}
html {
  font-size: 100%;
}
html[lang="ja"] * {
  letter-spacing: 0.05rem !important;
}
body {
  font-family: "Noto Sans JP",sans-serif !important;
  color: var(--color_dark);
}
*,*:before,*:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
body,
body:not(.single-post) h1,
body:not(.single-post) h2,
body:not(.single-post) h3,
body:not(.single-post) h4,
body:not(.single-post) p,
body:not(.single-post) figure,
body:not(.single-post) blockquote,
body:not(.single-post) dd,
body:not(.single-post) ul,
body:not(.single-post) li {
  margin: 0;
}
body:not(.single-post) h1,
body:not(.single-post) h2,
body:not(.single-post) h3,
body:not(.single-post) h4,
body:not(.single-post) h5,
body:not(.single-post) h6 {
  margin: 0;
  padding: 0;
}
ul,ol {
  list-style: none;
  padding: 0;
}
html:focus-within {
  scroll-behavior: smooth
}
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}
a:not([class]) {
  text-decoration-skip-ink: auto;
}  
a {
  text-decoration: none;
  color: inherit;
}
a.hover-translate {
  transition: all .3s ease;
}
a.hover-translate:hover {
  transform: translate(1px, 1px);
}
img,picture {
  max-width: 100%;
  display: block;
}
input,button,textarea,select {
  font: inherit;
}
button {
  border: none;
  padding: 0;
  background-color: transparent;
  background-color: initial;
}
@media (prefers-reduced-motion:reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,*:before,*:after {
    -webkit-animation-duration: .01ms !important;
    animation-duration: .01ms !important;
    -webkit-animation-iteration-count: 1 !important;
    animation-iteration-count: 1 !important;
    -webkit-transition-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
.bg-navy { background-color: var(--color_navy); }
.bg-dark { background-color: var(--color_dark) !important; }
.bg-sky {background-color: var(--color_sky);}
.text-navy { color: var(--color_navy); }
.text-yellow { color: var(--color_yellow); }
.font-eng { font-family: var(--font_eng); }
.border-navy { border-color: var(--color_navy) !important; }
.underline {
  text-decoration-color: var(--color_yellow);
  text-decoration-line: underline;
  text-decoration-thickness: 12px;
  text-underline-offset: -5px;
}

main {
width: 100%;
background-color: darkgray;
}

header {
    width: 100%;
    height: var(--header_height);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9;
  }
header.scrolled {
  background-color: white;
}
header:not(.scrolled) .icon-wt {
  display: inline-block;
}
header:not(.scrolled) .icon-nv {
  display: none;
}
header.scrolled .icon-nv {
  display: inline-block;
}
header.scrolled .icon-wt {
  display: none;
}
/*
  header::before {
    content:'';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: rgba(255,255,255,0.50);
    opacity: 0;
    transition: all .3s ease;
  }
  header.scrolled::before {
    opacity: 1;
    z-index: 0;
  }
*/
.Gnavi {
  display: flex;
  align-items: start;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}
.Gnavi .header_logo {
  width: auto;
  height: var(--header_height);
  aspect-ratio: 229 / 106;
  background-color: rgba(220,200,0,0.3);
}
.Gnavi .header_menu {
  margin-left: auto;
}
.Gnavi .header_tel {
  display: flex;
  gap: 1.5rem;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: .5rem;
}
.Gnavi .header_tel-num {
  display: flex;
  flex-wrap: wrap;
  gap: .2rem;
  justify-content: start;
  align-items: center;
  margin: 0;
}
.Gnavi .header_tel-num img {
  width: 1.875rem;
}
.Gnavi .header_tel-num span {
  color: white;
  font-family: var(--font_eng);
  font-size: 2.125rem; /* 34px */
  font-weight: 700;
}
.Gnavi .header_tel-time {
  line-height: 1;
  font-size: 0.75rem;
  color: white;
  padding: .5rem;
  border: 1px solid white;
}
.Gnavi ul {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.Gnavi ul li {
  display: none;
}
.Gnavi ul li a {
  color: white;
  padding: .5rem 1rem;
  position: relative;
  transition: all .3s ease;
  font-weight: bold;
}
.Gnavi ul li a:hover {
  opacity: 0.6;
}
.Gnavi .contact_btn {
  width: 4.375rem;/*70px*/
  height: 4.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.Gnavi .contact_btn img {
  width: 2.25rem;
  height: auto;
}
.Gnavi .contact_btn span {
  display: none;
}
.navBar {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 4.375rem; /*70px*/
  height: 4.375rem;
  cursor: pointer;
  top: 0;
  right: 0;
}
.closeBar {
  z-index: 999;
  position: absolute;
  right: 0;
}
.navBar span {
  position: relative;
  display: inline-block;
  width: 1.875rem;
  height: 0.1875rem;
  background-color: white;
  -webkit-transition: all .3s ease-out;
  transition: all .3s ease-out;
  margin: .2rem 0; 
}
header.scrolled .header_tel-num span, 
header.scrolled .header_tel-time, 
header.scrolled ul li a {
  color: var(--color_navy);
}
header.scrolled .header_tel-time {
  border-color: var(--color_navy);
}
header.scrolled .navBar:not(.closeBar) span {
background-color: var(--color_navy);
}

.closeBar span:nth-of-type(1) {
  -webkit-transform: rotate(45deg) translateY(200%);
  transform: rotate(45deg) translateY(200%);
}
.closeBar span:nth-of-type(2) {
    -webkit-transform: rotate(-45deg) translateY(-200%);
    transform: rotate(-45deg) translateY(-200%);
  }

.content_header {
  position: relative;
  background-image: url("/wp-content/themes/diesel-meister/assets/images/top-main-bg.webp");
  background-position: center center;
}
.content_header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(29, 33, 40, 0.3), rgba(29, 33, 40, 0.3)), linear-gradient(180deg, rgba(5, 13, 26, 0.1) 0%, rgba(5, 13, 26, 0.5) 32.53%);
  z-index: 1;
}
.content_header .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  margin: 0 auto;
  padding-top: calc(var(--header_height) * 1.5);
  padding-bottom: calc(var(--header_height) / 2);
}
.content_header--title {
  font-size: min(6vw, 1.5rem);
  font-weight: 900;
  color: white;
  border-bottom: 3px solid white;
  padding-bottom: 1rem;
  text-transform: uppercase;
}
.content_header--title .font-eng {
  font-size: min(12vw, 8rem);
  display: block;
  line-height: 1;
}

.breadcrumb {
  padding: 1.5rem;
  text-align: left;
  margin-bottom: 0;
}
.breadcrumb .breadcrumb_last {
  color: var(--color_navy);
  font-weight: bold;
}
body:not(#front-page) #content {
  padding-top: min(15vw, 5.5rem);
  padding-bottom: min(15vw, 7.5rem);
}
.archive .item {
  padding-bottom: min(3vw, 1.5rem);
  margin-bottom: min(5vw, 3rem);
  border-bottom: 1px solid gainsboro;
}
.archive .more-link {
  padding: .25rem 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  font-size: 1rem;
  position: relative;
  max-width: 150px;
  box-shadow: unset;
  background-color: whitesmoke;
}
.archive .more-link:hover {
  opacity: 0.6;
  box-shadow: unset;
}
.archive .more-link::before {
  display: none;
}
.archive .more-link::after {
  display: inline-block;
  content:'\F285';
  font-family: bootstrap-icons;
  position: relative;
}
.single-post .entry-title, 
body.single .entry-title {
  font-size: 2.5rem;
}
body.single .entry-header {
  margin-bottom: min(5vw, 1.5rem);
}
body.single .entry-content {
  border-top: 1px solid gainsboro;
  border-bottom: 1px solid gainsboro;
  padding: min(10vw, 3rem) 0;
}
.twentyseventeen-front-page article:not(.has-post-thumbnail):not(:first-child) {
  border-top: none;
}
@media screen and (min-width: 48em) {
  .wrap {
    box-sizing: content-box;
  }
}

  
.footer_contact {
  position: relative;
}
.footer_contact::after {
content:'';
position: absolute;
bottom: 0;
right: 0;
width: 30%;
height: 100%;
  max-width: 280px;
background-image: url("/wp-content/themes/diesel-meister/assets/images/footer_img.png");
background-size: 100%;
background-position: left bottom;
background-repeat: no-repeat;
z-index: 0;
}
.footer_contact .container {
  position: relative;
  text-align: center;
  max-width: 1000px;
  z-index: 1;
}
.footer_contact-head {
  font-weight: 600;
  font-size: min(4vw, 1.5rem);
}
.footer_contact-wrapper {
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  gap: 2.5rem; /*40px*/
}
.footer_contact p {
  margin-bottom: 1.25rem; /*20px*/
}
.footer_contact .btn-tel {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.3rem;
  line-height: 1;
  margin-bottom: .25rem;
}
.footer_contact .btn-tel:hover {
  color: var(--color_yellow);
}
.footer_contact .icon-tel {
  display: inline-block;
  width: auto;
  height: 2.3rem;
  margin-right: .5rem; 
  line-height: 1;
  font-family: var(--font_eng);
}
.footer_contact .btn-mail {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  padding: 2rem 1rem;
  color: var(--color_navy);
  font-weight: bold;
}
.footer_contact .icon-mail {
  width: auto;
  height: 2.5rem;
  margin-right: .5rem;
}
.footer_contact .btn.bg-gold:hover {
  color: var(--color_dark) !important;
}
.footer_contact-inner small {
  font-size: 12px;
  display: block;
}
.footer_info {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 1.25rem; /*20px*/
  margin: 2.5rem auto; /*40px*/
}
.footer_info-name {
  width: 100%;
  margin-bottom: 15px;
}
footer .tel {
  pointer-events: none;
}
.footer_copyright {
  padding: 1rem 0;
  text-align: center;
}
footer .widget_nav_menu li {
  border: none;
}
footer .widget_nav_menu li a {
  box-shadow: none;
}
footer .widget_nav_menu li a:hover {
  color: white;
  opacity: 0.6;
}

.btn {
  padding: 1rem 2rem;
  text-align: center;
  line-height: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all .3s ease-out;
}
.btn i {
  margin-left: 1rem;
  font-size: 10px;
  line-height: 1;
  padding: 5px;
  color: white;
  background-color: black;
  border-radius: 20px;
  display: inline-block;
  -webkit-text-stroke: 0.5px white;
}

#contact label {
  display: block;
}
#contact .wpcf7-spinner {
  position: absolute;
}
#contact .contact-tel {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  line-height: 1;
  width: fit-content;
  max-width: 480px;
  box-shadow: unset;
  border: 1px solid var(--color_navy);
  margin-top: .5rem;
}

@media (max-width: 375px) {
  html {
    font-size:4.2666666667vw;
  }
}

@media screen and (min-width: 376px) and (max-width: 767px) {
  footer .tel {
    pointer-events: auto;
  }
}

@media screen and  (max-width:767px) {
  :root {
    --header_height: 70px;
  }
  .Gnavi .header_tel { display:none; }
  .navWin {
    position: fixed;
    top: 0;
    width: 0;
    height: 100vh;
    transition: all .3s ease;
    right: -90vw;
    opacity: 0;
    z-index: 99;
    background-color: #000000E5;
;
  }
  .navWin.active {
    right: 0;
    width: 90vw;
    opacity: 1;
  }
  .navWin.active ul {
    padding: 3.75rem 2rem 1rem;
    flex-direction: column;
  }
  .navWin.active ul li {
    width: 100%;
    display: block;
  }
  .navWin.active ul li a {
    color: white;
    width: 100%;
    padding: 1.25rem 0.625rem;
    border-bottom: 1px solid #FFFFFF4D;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }
  .navWin.active ul li a::after {
    content:'';
    position: relative;
    background-image: url(/wp-content/themes/diesel-meister/assets/images/icon-ar.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 24px;
    width: 24px;
    height: 24px;
  }
}

@media screen and (min-width: 768px) {
  :root {
    --header_height: 106px;
  }
  html {
    font-size:1.28vw
  }
  a,button {
    -webkit-transition:.3s;
    transition: .3s
  }
  a:hover,button:hover {
    opacity: .9;
    cursor: pointer;
  }
  .Gnavi {
    align-items: center;
  }
  .Gnavi nav {
    margin-left: auto;
  }
  .Gnavi ul li {
    display: block;
  }
  .Gnavi .contact_btn {
    margin-left: 2rem;
    width: 11.25rem;
    height: var(--header_height);
    flex-direction: column;
  }
  .Gnavi .contact_btn img {
    width: 2.25rem;
    height: auto;
    margin-bottom: .5rem;
  }
  .Gnavi .contact_btn span {
    display: block;
    font-size: 1.25rem;
    color: white;
  }

  .footer_contact-head {
    margin-bottom: 2.5rem; /*40px*/
  }
  .footer_contact-wrapper {
    flex-direction: row;
  }
  .footer_contact-inner {
    width: calc(50% - 1.25rem);
  }
  .footer_contact .btn-tel {
    pointer-events: none;
  }
}

@media (min-width: 1200px) {
  html {
    font-size:100%
  }
}
@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
      max-width: var(--maxWidth_1400);
    }
  }