@charset "utf-8";

/*==================================================
リセット（旧 reset.css を統合）
==================================================*/
html,
body,
div,
span,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
q,
s,
samp,
small,
strong,
sub,
b,
u,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
main,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video,
input,
textarea,
select {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
  word-wrap: break-word;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
  display: block;
}

ol,
ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption,
th,
td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}

a {
  text-decoration: none;
}

/*==================================================
ベース（旧 base.css を統合）
==================================================*/
html {
  font-size: 62.5%;
  line-height: 1;
  font-weight: 400;
  overflow: auto;
}

html * {
  font-weight: inherit;
  box-sizing: border-box;
}

a:focus,
*:focus {
  outline: none;
}

.flex-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

@media screen and (max-width: 1500px) {
  html {
    font-size: 0.66667vw;
  }
}

/*==================================================
フォント
==================================================*/
@font-face {
  font-family: AstonMartinFlare;
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/AstonMartinFlare_W_Rg.woff2') format('woff2');
}

@font-face {
  font-family: AstonMartinFlare;
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/AstonMartinFlare_W_Md.woff2') format('woff2');
}

@font-face {
  font-family: AstonMartinFlare;
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/AstonMartinFlare_W_Bd.woff2') format('woff2');
}

/*==================================================
cmn
==================================================*/
body {
  background: #fff;
  font-family: AstonMartinFlare, "Arial", sans-serif;
  color: #000;
  font-size: 1.8rem;
  line-height: 2em;
  letter-spacing: 0.2rem;
  position: relative;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-feature-settings: "palt" 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
}

p {
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}

a,
input[type="submit"] {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
  outline: none;
}

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

  a:hover,
  input[type="submit"]:hover {
    opacity: 0.7;
  }

  a[href^="tel:"] {
    pointer-events: none;
  }
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.wrap-f {
  padding: 0 10rem;
}

.wrap {
  margin: 0 auto;
  max-width: 120rem;
  width: 100%;
}

.wrap-s {
  margin: 0 auto;
  max-width: 100rem;
  width: 100%;
}

.sp {
  display: none !important;
}

/*==================================================
head
==================================================*/
.site-header {
  width: 100%;
  z-index: 10;
  text-align: center;
  padding: 5rem;
}

.site-header.fixed {
  position: absolute;
  top: 0;
  left: 0;
}

.site-header h1 img {
  width: 16rem;
}

/*==================================================
foot
==================================================*/
.site-footer {
  color: #fff;
  background: #121212;
  text-align: center;
  position: relative;
  z-index: 10;
}

.site-footer h2 {
  margin-top: 3rem;
  margin-bottom: 5rem;
}

.site-footer .fnavi {
  justify-content: center;
  margin-bottom: 5rem;
}

.site-footer .fnavi li {
  margin: 0 2rem;
}

.site-footer h2 img {
  width: 12rem;
}

.site-footer .copyright {
  font-size: 80%;
}

/*==================================================
content
==================================================*/
section {
  padding: 15rem 0;
  position: relative;
}

/*カラー*/
.bg-green {
  background: #006b5a;
  color: #fff;
}

.bg-black {
  background: #121212;
  color: #fff;
}

/*ボタン*/
.detail-link {
  margin-top: 10rem;
  text-align: center;
}

.detail-link li {
  width: 49%;
  font-size: 2.4rem;
}

.detail-link a {
  width: 100%;
  display: table;
  height: 10rem;
  padding: 0 2rem;
  color: #fff;
  background: #747c88;
  line-height: 1em;
  background-repeat: no-repeat;
  background-position: left 3rem center;
  background-size: 5rem;
}

.detail-link .txt {
  display: table-cell;
  vertical-align: middle;
}

.detail-link .mail a {
  background-image: url("../img/icon_mail_white.svg");
}

.detail-link .tel a {
  color: #747c88;
  background-color: #fff;
  border-color: #fff;
  background-image: url("../img/icon_tel.svg");
}

.detail-link .num {
  font-size: 130%;
  display: block;
  vertical-align: middle;
  line-height: 1.4em;
}

.detail-link .s {
  font-size: 1.4rem;
  display: block;
  line-height: 1.4em;
}

.contact-note {
  margin-top: 3rem;
  font-size: 87.5%;
}

.txt-center {
  text-align: center;
}

/*google map*/
.gmap {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 100%;
}

.gmap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/*==================================================
index
==================================================*/
.main-sec {
  padding: 0;
  height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.main-sec video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  min-width: 100%;
  min-height: 100%;
}

.img-box li {
  width: 50%;
}

.about-sec {
  text-align: center;
}

.about-sec h2 {
  text-align: center;
  font-size: 4.8rem;
  margin-bottom: 3rem;
}

.about-sec h2 span {
  display: block;
  line-height: 1.5em;
}

.about-sec h2 .s {
  font-size: 50%;
  margin-bottom: 1rem;
}

.about-sec .day {
  font-size: 4rem;
  margin-bottom: 5rem;
  line-height: 1.8em;
}

.about-sec .day .s {
  font-size: 80%;
}

.about-sec dl {
  margin: 10rem 0 15rem;
}

.about-sec dl .txt-b {
  font-size: 2.8rem;
  line-height: 2em;
}

.about-sec dl .txt-s {
  font-size: 87.5%;
  line-height: 1.8em;
  display: block;
  margin-top: 1rem;
}

.about-sec dl dt {
  margin-bottom: 1rem;
}

.about-sec dl dd {
  margin-bottom: 5rem;
}

.about-sec .link {
  max-width: 40rem;
  width: 100%;
  margin: 5rem auto 0;
}

.about-sec .link a {
  background: #747c88;
  color: #fff;
  display: block;
  padding: 1rem;
}

.about-sec .img-box {
  margin-bottom: 8rem;
}

.about-sec .img-box img {
  width: 100%;
}

.car-sec {
  padding-top: 0;
}

.car-main-img img {
  width: 100%;
}

.car-sec .car-img-list li {
  width: 25%;
  overflow: hidden;
}

.car-sec .car-img-list li img {
  width: 102%;
}

.car-sec .tit-box {
  text-align: center;
  margin: 10rem 0;
}

.car-sec .tit-box h3 {
  font-size: 7rem;
  line-height: 1em;
}

.car-sec .tit-box p {
  font-size: 3rem;
  line-height: 1.5em;
  margin-top: 3rem;
}

.car-sec .txt-box {
  text-align: center;
  margin-top: 5rem;
  font-size: 87.5%;
  line-height: 2em;
}

.car-sec .spec-list li {
  width: 25%;
  text-align: center;
  border-right: 1px solid #fff;
  padding: 1rem;
}

.car-sec .spec-list li:first-child {
  border-left: 1px solid #fff;
}

.car-sec .spec-list li span {
  display: block;
  line-height: 1em;
}

.car-sec .spec-list li .s {
  font-size: 80%;
}

.car-sec .spec-list li .b {
  font-size: 4.8rem;
  margin-top: 1rem;
}

.car-sec .model-info {
  text-align: center;
  margin-top: 5rem;
}

.car-sec .model-info .engine {
  font-size: 2.6rem;
  line-height: 1.5em;
}

.car-sec .model-info .price-label {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 500;
}

.car-sec .model-info .price {
  font-size: 4rem;
  font-weight: 500;
  line-height: 1.5em;
  margin-bottom: 1rem;
}

.car-sec .model-info .price .s {
  font-size: 60%;
}

.car-sec .model-info .size-list {
  font-size: 1.4rem;
}

.car-sec .model-info .size-list span {
  display: inline-block;
  margin: 0 1rem;
}

.map-box {
  max-width: 55rem;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.map-box h2 {
  font-size: 2.6rem;
  margin-bottom: 5rem;
}

.map-box h2 .logo img {
  width: 16rem;
}

.map-box h2 .logo {
  display: block;
  margin-bottom: 5rem;
}

.map-box .address {
  margin-top: 2rem;
}

/*==================================================
お問い合わせモーダル
==================================================*/
.contact-modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100%;
  height: 100%;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s;
}

.contact-modal.open {
  visibility: visible;
  opacity: 1;
}

.contact-modal .bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
}

.contact-modal .contact-box {
  position: absolute;
  top: 0;
  right: -100%;
  height: 100vh;
  overflow-y: auto;
  background: #fff;
  max-width: 85%;
  width: 100%;
  padding: 5rem 5rem 10rem;
  transition: all 0.5s;
}

.contact-modal.open .contact-box {
  right: 0;
}

.contact-modal .close {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  width: 6rem;
  height: 6rem;
  line-height: 6rem;
  border-radius: 100%;
  background: #ccc;
  text-align: center;
  font-size: 4rem;
  font-weight: normal;
  cursor: pointer;
  opacity: 0;
  transition: all 0.5s;
}

.contact-modal.open .close {
  opacity: 1;
}

/*==================================================
お問い合わせ（mwform / WP埋め込み用）
==================================================*/
.mw_wp_form .txt-box {
  text-align: center;
  margin-bottom: 5rem;
}

.mw_wp_form .txt-box a {
  text-decoration: underline;
}

.mw_wp_form .txt-box.s {
  font-size: 1.3rem;
  line-height: 2em;
}

.hide {
  display: none;
}

.table-style01 {
  border-top: 1px solid #000;
  border-left: 1px solid #000;
}

.table-style01 th {
  width: 35%;
  padding: 1.5em 2em;
  border-bottom: 1px solid #848484;
  border-right: 1px solid #848484;
  font-weight: normal;
  white-space: nowrap;
  text-align: left;
  line-height: 1.6em;
  text-align: center;
}

.table-style01 .txt-s {
  font-size: 1.3rem;
}

.mw_wp_form .error {
  color: #db171d !important;
  font-size: 100%;
  font-weight: bold;
}

.table-style01 td {
  padding: 1.5em 2em;
  border-bottom: 1px solid #848484;
  border-right: 1px solid #848484;
  text-align: left;
}

.mw_wp_form_preview td span,
.mw_wp_form_preview td p.no {
  display: none;
}

.table-style01 td p {
  margin: 10px 0 0;
  text-align: left;
  line-height: 1.8em;
}

.form-box input[type=text].mini {
  width: 20%;
}

.form-box input[type=text].short {
  width: 25%;
}

.form-box textarea,
.form-box input[type=text],
.form-box input[type=email],
.form-box select {
  width: 100%;
  height: 60px;
  border-radius: 0;
  border: 1px solid #848484;
  padding: 1rem 2rem;
  font-size: 100%;
  color: #121212;
}

.form-box textarea {
  vertical-align: bottom;
  height: 150px;
}

.form-box select {
  overflow: hidden;
  background: url("../img/arrow_select.svg") right 1rem center no-repeat;
  background-size: 1.8rem;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
}

.form-box select.short {
  width: 25%;
}

.form-box table .checkbox {
  display: none;
  padding: 10px;
}

.form-box table .check-list label {
  padding-left: 40px;
}

.form-box table label {
  position: relative;
  padding: 12px 10px 10px 0;
}

.form-box table .mwform-checkbox-field label {
  padding-left: 40px !important;
}

.form-box table .mwform-checkbox-field label:after {
  content: "";
  position: absolute;
  display: block;
  width: 24px;
  height: 24px;
  top: 50%;
  left: 0;
  margin-top: -11px;
  border: 1px solid #848484;
}

.form-box table .mwform-checkbox-field.checked label:before {
  content: "";
  position: absolute;
  display: block;
  top: 55%;
  left: 5px;
  width: 16px;
  height: 8px;
  margin-top: -6px;
  border: none;
  border-left: 3px solid #000;
  border-bottom: 3px solid #000;
  box-sizing: border-box;
  transform: rotate(-45deg);
}

.must {
  background: #036461;
  color: #fff;
  padding: 0.6rem 0.5rem 0.5rem;
  font-size: 1rem;
  font-weight: bold;
  line-height: 1em;
  margin: -0.5rem 0 0 1rem;
  display: inline-block;
  vertical-align: middle;
}

.form-box h3:first-child {
  margin-top: 0;
}

.form-box h3 {
  margin-bottom: 5rem;
  text-align: center;
  font-size: 3rem;
}

.form-box table {
  margin: 0 0 5rem;
  width: 100%;
}

.form-box .btn-submit {
  text-align: center;
}

.form-box .btn-submit li {
  display: inline-block;
  margin: 0 5px;
}

.form-box input[type="submit"],
.form-box button {
  display: block;
  background: #006b5a;
  color: #fff;
  padding: 3rem 15rem;
  border: none;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  font-weight: normal;
}

.btn-submit li:last-child input[type="submit"] {
  background: #ccc;
}

.btn-submit li .back {
  background: #ccc;
  display: none;
}

.mw_wp_form_preview .btn-submit li .back {
  display: block;
}

.page-thanks .thanks-sec {
  padding: 30vh 0;
  text-align: center;
}

.page-thanks .thanks-sec h2 {
  font-size: 2.4rem;
  line-height: 2em;
}

/*==================================================
SP
==================================================*/
@media screen and (max-width: 767px) {
  html {
    font-size: 1.8vw;
  }

  body {
    font-size: 1.8rem;
    letter-spacing: 0.1rem;
  }

  .sp {
    display: block !important;
  }

  .pc {
    display: none !important;
  }

  .wrap,
  .wrap-m,
  .wrap-s,
  .wrap-f {
    padding: 0 8vw;
  }

  section {
    padding: 10rem 0;
    overflow: hidden;
  }

  .detail-link {
    margin-top: 5rem;
  }

  .detail-link li {
    width: 100%;
    font-size: 2.2rem;
    margin-bottom: 2rem;
  }

  .detail-link li:last-child {
    margin-bottom: 0;
  }

  .detail-link a {
    background-position: left 2rem center;
  }

  /*index*/
  .main-sec {
    height: auto;
  }

  .main-sec video {
    position: static;
    transform: none;
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    vertical-align: bottom;
  }

  .about-sec h2 {
    font-size: 3.2rem;
  }

  .about-sec .day {
    font-size: 3.2rem;
  }

  .about-sec .txt-box {
    text-align: left;
  }

  .about-sec dl dd:last-child {
    margin-bottom: 0;
  }

  .about-sec dl {
    margin-bottom: 5rem;
  }

  .about-sec dl .txt-b {
    font-size: 3rem;
  }

  .img-box li {
    width: 100%;
  }

  .car-sec .txt-box {
    text-align: left;
    font-size: 94%;
  }

  .car-sec .car-img-list li {
    width: 50%;
  }

  .car-sec .tit-box {
    margin: 6rem 0;
  }

  .car-sec .tit-box h3 {
    font-size: 5rem;
  }

  .car-sec .tit-box p {
    line-height: 1.2em;
    margin-top: 2rem;
    font-size: 2.2rem;
  }

  .car-sec .spec-list li {
    width: 50%;
    margin-bottom: 2rem;
  }

  .car-sec .spec-list li:nth-child(3) {
    border-left: 1px solid #fff;
  }

  .car-sec .spec-list li .s {
    font-size: 90%;
  }

  .car-sec .model-info .engine {
    font-size: 2.2rem;
  }

  .car-sec .model-info .price {
    font-size: 3.4rem;
  }

  /*お問い合わせ*/
  .mw_wp_form .txt-box {
    text-align: left;
  }

  .must {
    font-size: 10px;
  }

  .table-style01 th {
    display: block;
    width: 100%;
    padding: 3rem;
    padding-bottom: 0;
    text-align: left;
    font-size: 2.2rem;
    border-bottom: none;

  }

  .table-style01 .txt-s {
    font-size: 10px;
  }

  .table-style01 td {
    display: block;
    width: 100%;
    padding: 1.5rem 3rem 3rem;
  }

  .form-box textarea,
  .form-box input[type=text],
  .form-box input[type=email] {
    width: 100%;
    height: 45px;
    padding: 10px;
    font-size: 16px;
  }

  .form-box textarea {
    height: 100px;
  }

  .form-box table label {
    padding: 5px 10px 5px 0;
  }

  .form-box table .mwform-checkbox-field label:after {
    margin-top: -12px;
  }

  .form-box table .mwform-checkbox-field.checked label:before {
    margin-top: -7px;
  }

  .form-box select {
    width: 100%;
    height: 45px;
  }

  .form-box .btn-submit li {
    display: block;
    margin: 0 0 10px;
  }

  .form-box input[type="submit"],
  .form-box button {
    padding: 20px;
    width: 100%;
    letter-spacing: 0;
    font-size: 2rem;
  }

  .mwform-checkbox-field label,
  .mwform-radio-field label {
    display: block;
    padding: 0 0 5px;
  }

  .mw_wp_form .horizontal-item+.horizontal-item {
    margin-left: 0 !important;
  }

  .contact-modal .contact-box {
    max-width: 100%;
    padding: 15% 0 30%;
  }

  .contact-modal .close {
    left: initial;
    top: 2.5%;
    right: 2.5%;
    transform: translateY(0);
    z-index: 999;
    width: 40px;
    height: 40px;
    line-height: 40px;
  }
}