@charset "utf-8";
@import url("theme-light.css");
@import url("main.css");

@font-face {
    font-family: "LandRoverWeb-Bold";
    src: url("https://modules.jaguarlandrover.com/modules/jlr-fonts/latest/Landrover/LandRoverWeb-Bold.woff2") format("woff2"), url("https://modules.jaguarlandrover.com/modules/jlr-fonts/latest/Landrover/LandRoverWeb-Bold.woff") format("woff");
    font-display: swap;
}

@font-face {
    font-family: AvenirNext;
    src: url("https://modules.jaguarlandrover.com/modules/jlr-fonts/latest/AvenirNextW1G/AvenirNextW1G-Light.woff2") format("woff2"), url("https://modules.jaguarlandrover.com/modules/jlr-fonts/latest/AvenirNextW1G/AvenirNextW1G-Light.woff") format("woff"), url("https://modules.jaguarlandrover.com/modules/jlr-fonts/latest/AvenirNextW1G/AvenirNextW1G-Light.ttf") format("truetype");
    font-style: normal;
    font-weight: 300;
    font-display: swap;
}

:root {
    --font-base: "Noto Sans JP", arial, helvetica, sans-serif;
    --font-LandRoverWeb: LandRoverWeb-Bold, Arial, Helvetica, sans-serif;
    --font-AvenirNext: AvenirNext, arial, helvetica, sans-serif;
}

* {
    box-sizing: border-box;
}

* html body {
    overflow: hidden;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin:0;
    padding:0;
    font-family: var(--font-base);
    color: var(--body-text);
    background-color: var(--body-bg);
}

a {
    color: var(--primary-color);
}
a:hover {
    transition: all .5s;
    color: var(--primary-hover);
}
a:hover img {
    opacity: 0.8;
}

b {
    font-weight: 500;
}

h1,h2,h3,h4,h5,h6 {
    color: var(--heading-color);
}

h1 {
    /*26-34/*/
    font-size: clamp(1.625rem, 1.502rem + 0.52vw, 2.125rem);
}
h2 {
    /*18-28*/
    font-size: clamp(1.125rem, 0.971rem + 0.65vw, 1.75rem);
}
h3 {
    /*18-26*/
    font-size: clamp(1.125rem, 1.002rem + 0.52vw, 1.625rem);
}
h4 {
    /*18-22*/
    font-size: clamp(1.125rem, 1.063rem + 0.26vw, 1.375rem);
}
h5 {
    /*18-20*/
    font-size: clamp(1.125rem, 1.094rem + 0.13vw, 1.25rem);
}
h6 {
    /*16-17*/
    font-size: clamp(1rem, 0.985rem + 0.06vw, 1.063rem);
}

img {
    border-width:0;
    max-width: 100%;
    height: auto;
}

p {
    line-height: 160%;
    color: var(--text-color);
}

li {
    line-height: 160%;
}

table {
    border-collapse: collapse;
}


/*-----------------------------*/
/*フォーム部品*/
/*-----------------------------*/
form {
    margin:0;
    padding: 0;
}

input,
button,
select,
textarea {
    font: inherit;
}

label {
    display: block;
    letter-spacing: 0.18em;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--label-color);
}

input[type="text"],
input[type="email"],
input[type="tel"],
select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--input-border);
    color: var(--input-text);
    cursor: pointer;
}


/*必須項目*/
.required-note {
    /*12-16*/
    font-size: clamp(0.75rem, 0.688rem + 0.26vw, 1rem);
}
.required-note span {
    color: var(--error-color);
    margin-right: 5px;
}
.required::after {
    content: "*";
    color: var(--error-color);
    margin-left: 5px;
    font-size: 18px;
}

/*エラー*/
.error-msg {
    color: var(--error-color);
}



/*---------------------------*/
/*部品*/
/*---------------------------*/
/*注釈*/
.note {
    /*10-14*/
    font-size: clamp(0.625rem, 0.563rem + 0.26vw, 0.875rem);
}


/*---------------------------*/
/*ヘッダー*/
/*---------------------------*/
header {
    height: 50px;
    background-color: var(--surface-color);
    display: flex;
    align-items: center;
    justify-content: center;
}


/*ブランドロゴ*/
.logos {
    display: flex;
    flex-wrap: wrap;
}
.logos div {
    min-width: 340px;
}
.logos img {
  display: block;
  margin: 0 auto;
}
#range-rover img {
    height: 13px;
}
#defender img {
    height: 13px;
}
#discovery img {
    height: 12px;
}



/*---------------------------*/
/*フッター*/
/*---------------------------*/
footer {
    width: 100%;
    margin: 50px auto 30px;
    padding: 0px 20px;
    color: var(--text-muted);
    text-align: center;
}
.copyright {
    /*10-12*/
    font-size: clamp(0.625rem, 0.594rem + 0.13vw, 0.75rem);
}

.symbole {
    max-height: 40px;
    display: block;
    margin: 0 auto 20px;
}

/*---------------------------*/
/*コンテンツ*/
/*---------------------------*/
section~section {
    margin-top: 80px;
}

.contents {
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 20px;
}



/*-----------------------------*/
/* ポップアップ*/
/*-----------------------------*/
.popup-overlay {
  display: flex;
  align-items: center;
  justify-content: center;

  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, 0);

  /* 非表示状態 */
  visibility: hidden;
  opacity: 0;

  transition:
    opacity 0.3s ease,
    background-color 0.3s ease,
    visibility 0.3s;
}

/*ポップアップ本体*/
.popup {
  width: 90%;
  max-width: 1200px;
  height: 85vh;

  background-color: var(--surface-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);

  opacity: 0;
  transform: scale(0.95) translateY(20px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

/*表示状態 */
.popup-overlay.is-open {
  visibility: visible;
  opacity: 1;
  background: rgba(0, 0, 0, 0.7);
}
.popup-overlay.is-open .popup {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.popup-head {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 25px;
  height: 50px;
  border-bottom: 1px solid var(--border-color);
}

.popup-close {
  border: none;
  background-color: transparent;

  /*14-16*/
  font-size: clamp(0.875rem, 0.844rem + 0.13vw, 1rem);
  line-height: 100%;

  cursor: pointer;
  transition: background-color 0.2s ease;
}

/*コンテンツ*/
.popup-content {
  width: 100%;
  height: 100%;
  padding: 20px 20px 40px;
  overflow: hidden;
}

/*iframe*/
.popup-content iframe {
  display: block;
  width: 100%;
  height: calc(100% - 20px);
  border: none;
}


/*---------------------------*/
/*完了画面*/
/*---------------------------*/
.screen {
    margin: 100px auto 80px;
    padding: 0 20px;
    text-align: center;
}
.screen h1 {
    margin: 40px 0;
    letter-spacing: 1px;
}
.screen .screen-links {
    margin-top: 60px;
    text-align: center;
}
.screen .screen-links a {
    padding: 8px 20px;
    font-weight: 500;
    letter-spacing: 1px;
    background: var(--button-bg);
    color: var(--button-text);
    text-decoration: none;
}
.screen .screen-links a:hover {
    background-color: var(--primary-hover);
}


/*申込完了アイコン*/
.icon-thanks {
    width: 64px;
    height: 64px;
    line-height: 64px;
    background: var(--success-color, #4CAF50);
    color: #fff;
    font-size: 32px;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*準備中アイコン*/
.icon-prep {
    font-size: 48px;
}







/****************************/
/*レスポンシブ*/
/****************************/
@media screen and (max-width: 1280px) {
    .logos div {
        min-width: 320px;
    }
}

@media screen and (max-width: 980px) {
    section~section {
        margin-top: 60px;
    }

    .logos {
        justify-content: center;
    }
    .logos div {
        min-width: auto;
    }

    #range-rover img {
        height: 10px;
    }
    #defender {
        margin-left: 110px;
        margin-right: 110px;
    }
    #defender img {
        height: 10px;
    }
    #discovery img {
        height: 9px;
    }
}


@media screen and (max-width: 780px) {
    header {
        height: 40px;
    }

    #range-rover img {
        height: 8px;
    }
    #defender {
        margin-left: 60px;
        margin-right: 60px;
    }
    #defender img {
        height: 8px;
    }
    #discovery img {
        height: 7px;
    }
}

@media screen and (max-width: 580px) {
    section~section {
        margin-top: 40px;
    }

    header {
        height: 40px;
    }
    #defender {
        margin-left: 50px;
        margin-right: 50px;
    }

    #range-rover img {
        height: 7px;
    }
    #defender img {
        height: 7px;
    }
    #discovery img {
        height: 6px;
    }

    .popup {
        height: 70vh;
    }
    .popup-content {
        padding: 20px 10px 40px;
    }
    .popup-head {
        padding: 0 10px;
    }
    .screen h1 {
        letter-spacing: 0;
    }
}

@media screen and (max-width: 480px) {
    header {
        height: 40px;
    }
    #range-rover img {
        height: 6px;
    }
    #defender {
        margin-left: 40px;
        margin-right: 40px;
    }
    #defender img {
        height: 7px;
    }
    #discovery img {
        height: 6px;
    }
}

@media screen and (max-width: 380px) {
    section~section {
        margin-top: 30px;
    }

    #range-rover img {
        height: 6px;
    }
    #defender {
        margin-left: 40px;
        margin-right: 40px;
    }
    #defender img {
        height: 6px;
    }
    #discovery img {
        height: 5px;
    }
}
