/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Nov 26 2026 | 11:04:24 */
/* =====================================================
 AKITA MITSUBISHI / 2027 NEW YEAR
 BASE CSS & HERO & FIXED BACKGROUND
 PAGE ID : 6464
 SLUG : lp-2701
 VERSION 1.5 / COMPLETE
===================================================== */


/* =====================================================
   01. BASE
===================================================== */

body.page-id-6464 {
  --ak27-red: #d50000;
  --ak27-gold: #c9a34e;
  --ak27-navy: #003b50;
  --ak27-cream: #fff8e6;
  --ak27-black: #151515;

  --ak27-max-width: 1200px;

  position: relative;
  isolation: isolate;

  margin: 0;
  background-color: #ed0012;
}

body.page-id-6464
[class^="ak27-"],
body.page-id-6464
[class*=" ak27-"] {
  box-sizing: border-box;
}

body.page-id-6464 .ak27-inner {
  width: 100%;
  max-width: var(--ak27-max-width);

  margin: 0 auto;
  padding: 0 24px;
}


/* =====================================================
   02. FIXED BACKGROUND
   iPhone Safari対応
===================================================== */

body.page-id-6464 .ak27-fixed-bg {
  position: fixed;
  inset: 0;
  z-index: -1;

  width: 100%;
  height: 100vh;
  height: 100lvh;

  background-color: #ed0012;

  background-image: url("https://akita-mitsubishi.co.jp/wordpress/wp-content/uploads/2026/11/ak27-bg.jpg");

  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;

  pointer-events: none;
}


/* =====================================================
   03. HERO / FULL WIDTH
===================================================== */

body.page-id-6464 .ak27-hero {
  position: relative;

  width: 100vw;
  max-width: none !important;

  margin: 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  padding: 0;

  background: transparent;
}

body.page-id-6464 .ak27-hero__inner {
  width: 100%;
  max-width: 1600px !important;

  margin: 0 auto;
  padding: 0 20px 30px;
}


/* =====================================================
   04. HERO TITLE
===================================================== */

body.page-id-6464 .ak27-hero__title {
  position: relative;

  margin: 0 !important;
  margin-top: -180px !important;

  padding: 0 !important;

  border: none !important;
  background: transparent !important;

  line-height: 0;
}

body.page-id-6464 .ak27-hero__title::before,
body.page-id-6464 .ak27-hero__title::after {
  display: none !important;
}


/* =====================================================
   05. HERO IMAGE
===================================================== */

body.page-id-6464 .ak27-hero picture {
  display: block;

  width: 100%;
  max-width: none !important;
}

body.page-id-6464 .ak27-hero img {
  display: block;

  width: 100% !important;
  max-width: none !important;
  height: auto;

  margin: 0 auto;
}


/* =====================================================
   06. PC
   BACKGROUND ASPECT RATIO FIX
===================================================== */

@media (min-width: 768px) {

  body.page-id-6464 .ak27-fixed-bg {
    top: 150px;
    bottom: 0;

    height: calc(100vh - 150px);
    height: calc(100lvh - 150px);

    background-position: center top;
    background-size: cover;
  }

}


/* =====================================================
   07. SMARTPHONE
===================================================== */

@media (max-width: 767px) {

  body.page-id-6464 .ak27-inner {
    padding: 0 16px;
  }


  /* FIXED BACKGROUND */

  body.page-id-6464 .ak27-fixed-bg {
    top: 0;
    bottom: 0;

    height: 100vh;
    height: 100lvh;

    background-size: cover;
    background-position: center center;
  }


  /* HERO */

  body.page-id-6464 .ak27-hero__inner {
    width: 100%;
    max-width: none !important;

    padding: 0 0 20px;
  }


  /* HERO POSITION */

  body.page-id-6464 .ak27-hero__title {
    margin-top: -120px !important;
  }


  /* HERO IMAGE */

  body.page-id-6464 .ak27-hero picture,
  body.page-id-6464 .ak27-hero img {
    width: 100% !important;
    max-width: none !important;
  }

}