/* @font-face {
    font-family: 'Noto Sans JP';
    src: url('./css/font/NotoSansJP-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Noto Sans JP';
    src: url('./css/font/NotoSansJP-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Noto Sans JP';
    src: url('./css/font/NotoSansJP-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Noto Sans JP';
    src: url('./css/font/NotoSansJP-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Awesome';
    src: url('./css/font/fa-brands-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

*, */
::after,
::before {
  box-sizing: border-box;
}
a {
  text-decoration: none;
}
body {
  font-family: serif, sans-serif;
  margin: 0;
  padding: 0;
}
.sp-block {
  display: none;
}
.sp-none {
  display: block;
}
.breadcrumbs {
  color: #000;
}
/* パーツ */
.mt30 {
  margin-top: 30px;
}

.mt50 {
  margin-top: 50px;
}
.-flex{
  display: flex;
}

button {
  cursor: pointer;
}

h2 {
  font-family: "Zen Old Mincho", serif;
  font-weight: bold !important;
}
.body__type {
  background: linear-gradient(135deg, #1d262e 0%, #183d5c 100%);
  color: #fff;
  text-align: center;
  padding: 10px;
  width: 50%;
  border-radius: 50px;
  font-size: 12px;
  margin: 0 auto 10px auto;
}
header {
  background-color: #000;
  padding-right: 20px;
  position: fixed;
  width: 100%;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  text-wrap: nowrap;
  box-shadow: 0 3px 5px;
  z-index: 9;
  padding: 0;
}

header a {
  text-decoration: none;
}

header h1 {
  font-size: 15px;
  line-height: 1;
  font-weight: 400;
  margin: 10px 0 10px 30px;
}

header h1 span {
  font-family: "Noto Sans JP", sans-serif;
}

header h1 span:first-child {
  font-size: 50px;
  margin-right: 0.5rem;
}

header h1 span:nth-child(2) {
  font-size: 30px;
}

header h1 a {
  color: #fff;
  font-family: serif;
  font-weight: 700;
}

header nav {
  display: flex;
  justify-content: right;
}

header menu {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

header menu li {
  list-style: none;
}

header menu:first-child li {
  margin: 0 1.5em;
}

header menu:nth-child(2) li {
  margin: 0 0.5dvw;
}

header menu a {
  font-weight: 400;
  color: #fff;
}

header menu:nth-child(2) a {
  border-radius: 5px;
  font-weight: 400;
  font-size: 90%;
  padding: 0.5rem 1rem;
  text-align: center;
}

header menu:nth-child(2) li:first-child a {
  background: linear-gradient(
    150deg,
    rgba(189, 0, 40, 1),
    rgba(230, 20, 20, 1) 42%,
    rgba(204, 41, 70, 1) 67%,
    rgba(238, 39, 53, 1) 78%,
    rgba(255, 6, 44, 1) 89%,
    rgba(215, 5, 20, 1)
  );
}

header menu:nth-child(2) li:nth-child(2) a {
  background-color: #faff02;
  color: #000;
}

.nav-wrapper {
  display: none;
}

#ip_firstview {
  background-image: url(../img/fv_bg.png);
  background-size: cover;
  width: 100%;
  aspect-ratio: 1/0.42619;
  height: fit-content;
  position: relative;
  margin-bottom: 12dvw;
}
#ip_firstview.car {
  background-image: url(../img/car-list_bg.png);
}

#ip_firstview > div {
  display: flex;
  flex-direction: column;
  position: relative;
  top: 24%;
}

#ip_firstview hgroup {
  display: flex;
  flex-direction: column;
  margin-bottom: 2dvw;
}

#ip_firstview hgroup span {
  font-size: 3.4dvw;
}

#ip_firstview hgroup h1,
#ip_firstview hgroup p {
  font-size: 2.3dvw;
  font-weight: 400;
  background-color: rgba(0, 0, 0, 0.7);
  display: inline-block;
  width: auto;
  margin: 0 auto 15px 0;
  color: #fff;
  padding: 0.2rem 1rem 0.6rem 1rem;
  line-height: 1;
}

#ip_firstview form {
  width: 75%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
  min-width: 700px;
}

#ip_firstview h2 {
  grid-column-start: 1;
  grid-column-end: 1;
  margin: 0 0 0 10px;
  background-color: #faff02;
  width: 12dvw;
  font-size: 1.5dvw;
  text-align: center;
  line-height: 2;
  font-weight: 400;
  border: 1px solid #000;
}

#ip_firstview form p {
  grid-column-start: 2;
  grid-column-end: 4;
  text-align: right;
  margin: 0;
  color: #fff;
  font-weight: 400;
  font-size: 2.5dvw;
  line-height: 1.2;
}

#ip_firstview form p span {
  font-size: 2.8dvw;
}

#ip_firstview button {
  grid-row-start: 2;
  grid-column-start: 3;
  background-color: #dc0d0d;
  color: #fff;
  width: 12dvw;
  height: 100%;
  font-size: 2dvw;
  border: 1px solid #000;
  border-radius: 0 5px 5px 0;
}

#ip_firstview dl {
  grid-column-start: 1;
  grid-column-end: 3;
  grid-row-start: 2;
  margin: 0;
  border: 1px solid #000;
  box-shadow: 0 2px 3px;
  background-color: hsla(0, 0%, 100%, 0.8);
  backdrop-filter: blur(5px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 5px 0 0 5px;
  /*height: 8dvw;*/
}

#ip_firstview dl dt,
#ip_firstview dl dd {
  margin: 0 0 0 1rem;
}

#ip_firstview dl dt {
  padding-top: 0.2rem;
}

#ip_firstview dl dd {
  padding-bottom: 0.5rem;
}

#ip_firstview dl dd input {
  line-height: 2;
  padding: 0.2rem 0.5rem;
  width: 47%;
}

#ip_firstview dl dt:first-child,
#ip_firstview dl dd:nth-child(2) {
  border-right: 1px solid #000;
}

#ip_firstview dl dt:first-child {
  grid-area: 1/1;
}

#ip_firstview dl dd:nth-child(2) {
  grid-area: 2/1;
}

#ip_firstview > div {
  height: 100%;
}

#ip_firstview > div > .swiper {
  position: absolute;
  bottom: -3%;
  right: 0;
  width: 75%;
}

#ip_firstview > div > div > ul {
  display: flex;
  gap: 0.7dvw;
  margin: 0;
  padding: 1.5dvw 0 1.5dvw 1.5dvw;
  background-color: #fff;
}

#ip_firstview > div li {
  list-style: none;
  width: auto;
}

#ip_firstview > div li img {
  width: 100%;
  height: auto;
}

section.content h2 {
  font-family: serif;
  text-align: center;
  font-size: 2.5dvw;
}

#lp_contract {
  background-color: #fff;
  text-align: center;
}

#lp_contract button {
  background: linear-gradient(to left bottom, #0d37dc, rgb(13 66 220 / 61%));
  color: #fff;
  line-height: 1.8;
  font-size: 2.3dvw;
  width: 30%;
  border-radius: 2.5dvw;
  position: relative;
  margin: 4.5dvw 0 4.5dvw 0;
}

#lp_contract a.telbtn {
  display: block;
  padding: 1.5dvw;
  border: 5px solid #000;
  color: #000;
  width: 40%;
  margin: 0 auto 0 auto;
  text-decoration: none;
}

#lp_contract h3 {
  margin: 0 0 0.5dvw 0;
  font-size: 2.5dvw;
  font-weight: 400;
}

#lp_contract p {
  margin: 0;
  font-size: 3.5dvw;
}

footer {
  background-color: #000;
  padding-bottom: 2dvw;
}

footer section {
  background-color: #5f7a94;
  padding: 2dvw 2.5dvw;
}

footer a {
  color: #fff;
  text-decoration: none;
}

footer h2 {
  font-size: 15px;
  line-height: 1;
  font-weight: 400;
  margin: 0;
}

footer h2 span {
  font-family: "Noto Sans JP", sans-serif;
}

footer h2 span:first-child {
  font-size: 50px;
  margin-right: 0.5rem;
}

footer h2 span:nth-child(2) {
  font-size: 30px;
}

header > button {
  display: none;
}

.top-firstview {
  margin-top: -40px;
}

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

.c-white {
  color: #fff;
}

#lp_info dt:nth-of-type(2) {
  width: 26.5%;
}

section.content {
  max-width: 1140px;
  margin: 20px auto 20px auto;
}
section.content.car-item {
  margin: 0% auto 4dvw auto;
}

/* お問い合わせフォーム */

input[type="submit"],
input[type="text"],
select,
textarea,
button {
  -moz-appearance: none;
  -webkit-appearance: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  outline: none;
  border: none;
}

input[type="text"],
textarea,
input[type="email"],
.wpcf7 input[type="tel"] {
  background: #f8f8f8;
  display: block;
  font-size: 16px;
  padding: 12px 15px;
  width: 480px;
  transition: 0.8s;
  border-radius: 0;
  border: none;
}

input[type="text"]:focus,
textarea:focus {
  background: #e9f5fb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

textarea[name="content"] {
  display: inline-block;
  width: 100%;
  height: 200px;
}

input::placeholder,
textarea::placeholder {
  color: #ccc;
}

::-webkit-input-placeholder {
  color: #ccc;
  opacity: 1;
}

::-moz-placeholder {
  color: #ccc;
  opacity: 1;
}

:-ms-input-placeholder {
  color: #ccc;
  opacity: 1;
}

.form-table {
  width: 100%;
}

.form-table th,
.form-table td {
  border-top: 1px solid #d7d7d7;
  border-bottom: 1px solid #d7d7d7;
  padding: 20px;
}

.form-table th {
  background: #5f7a94;
  color: #fff;
  padding-left: 50px;
  position: relative;
  text-align: left;
  width: 300px;
}

#contact h2 {
  margin-bottom: 20px;
}
#contact {
  max-width: 1020px;
}
.contact-submit {
  width: 300px;
  border: none;
  background: #5f7a94;
  color: #fff;
  text-align: center;
  padding: 20px;
  margin: 20px auto 60px auto;
  cursor: pointer;
  display: block;
}
.copyright {
  margin-top: 23px;
}

.swiper_cv {
  color: #fff;
}
.slick-arrow {
  display: none !important;
}
.wpcf7-date {
  background-color: #fff;
}
.form-table th p {
  color: #fff;
}
.cv-slick-list.first {
  background-image: url(../img/cv_bg1.png);
}
.cv-slick-list.second {
  background-image: url(../img/cv_bg2.png);
}
.cv-slick-list.third {
  background-image: url(../img/cv_bg3.png);
}

.accordion {
  background-color: white;
  color: #183d5c;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-weight: bold;
  font-size: 18px;
  transition: background-color 0.6s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid black;
}


.panel {
  padding: 0 18px;
  background-color: white;
  overflow: hidden;
  font-size: 18px;
  max-height: 0;
  transition: max-height 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.panel p {
  margin: 0; /* 追加 */
  padding: 18px 0; /* 上下のパディングを追加 */
}

.icon {
  font-size: 18px;
}

@media (max-width: 749px) {
  .sp-block {
    display: block;
  }
  .sp-none {
    display: none;
  }

  .swiper_cv h3 {
    color: #fff;
  }
  #lp_cv p {
    color: #fff;
  }
  .form-table th,
  .form-table td {
    display: block;
    width: 100%;
    border-bottom: none;
    padding: 10px 5px;
    box-sizing: border-box;
  }

  .hamburger {
    position: absolute;
    right: 20px;
    top: 13px;
    width: 50px;
    height: 40px;
    cursor: pointer;
    z-index: 300;
  }

  .hamburger__line {
    position: absolute;
    width: 30px;
    height: 3px;
    right: 0;
    background-color: #ccc;
    transition: all 0.5s;
  }

  .hamburger__line--1 {
    top: 1px;
  }

  .hamburger__line--2 {
    top: 9px;
  }

  .hamburger__line--3 {
    top: 18px;
  }
  header a {
    color: #fff;
  }
  .sp-nav ul {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
  }

  .sp-nav ul li {
    font-size: 20px;
  }
  .sp-nav ul li.logo {
    font-size: 16px;
    text-align: center;
  }
  .sp-nav ul li.logo img {
    display: block;
    margin: 0 auto;
  }
  .sp-nav ul li.logo a {
    display: block;
    margin: 0 auto 30px auto;
    font-family: serif;
  }
  .sp-nav .contact {
    background-color: #dc0d0d;
    color: #fff;
    text-align: center;
    padding: 8px 15px;
    width: 100%;
    margin-top: 20px;
    border-radius: 10px;
  }
  .sp-nav a {
    color: #fff;
  }

  /*ハンバーガーがクリックされたら*/
  .open .hamburger__line--1 {
    transform: rotate(-45deg);
    top: 11px;
  }

  .open .hamburger__line--2 {
    opacity: 0;
  }

  .open .hamburger__line--3 {
    transform: rotate(45deg);
    top: 11px;
  }

  /* 
    sp-nav(ナビ)
    =================================== */
  .sp-nav {
    position: fixed;
    right: -100%;
    /*ハンバーガーがクリックされる前はWindow右側に隠す*/
    top: 0;
    width: 70%;
    /* 出てくるスライドメニューの幅 */
    height: 100vh;
    background-color: #333;
    transition: all 0.5s;
    z-index: 200;
    overflow-y: auto;
    /* メニューが多くなったらスクロールできるように */
  }

  /*ハンバーガーがクリックされたら右からスライド*/
  .open .sp-nav {
    right: 0;
  }

  /* 
    black-bg(ハンバーガーメニュー解除用bg)
    =================================== */
  .black-bg {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 5;
    background-color: #000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s;
    cursor: pointer;
    z-index: 100;
  }

  /*ハンバーガーメニューが開いたら表示*/
  .open .black-bg {
    opacity: 0.3;
    visibility: visible;
  }

  header {
    grid-template-columns: 42dvw auto;
    justify-content: left;
  }

  header h1 {
    margin: 0 0 0 1dvw;
    font-size: 3dvw;
  }

  header h1 span:first-child {
    font-size: 9dvw;
    margin-right: 0.8dvw;
  }

  header h1 span:nth-child(2) {
    font-size: 5dvw;
  }

  header menu:nth-child(1) {
    display: none;
  }

  header menu:nth-child(2) a {
    font-size: 3.5dvw;
    padding: 1.5dvw 1dvw;
  }

  header > button {
    display: block;
    position: absolute;
    right: 2dvw;
    top: 3dvw;
    height: 6dvw;
    width: 6dvw;
    background-color: transparent;
    border: none;
    z-index: 2;
  }

  header > button::before {
    font-family: "Font Awesome";
    position: absolute;
    right: 1dvw;
    top: 0;
    content: "\f0c9";
    display: block;
    font-size: 6dvw;
    color: #fff;
  }

  header menu:nth-child(1).active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 8dvw;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1;
  }

  header > button.active::before {
    content: "\f410";
    font-size: 8dvw;
  }

  header menu:nth-child(1) li {
    width: 100%;
    text-align: center;
    line-height: 3;
  }

  #ip_firstview {
    margin-bottom: 61dvw;
    height: 300px;
  }

  #ip_firstview hgroup h1,
  #ip_firstview hgroup p {
    font-size: 4dvw;
  }

  #ip_firstview hgroup span {
    font-size: 6dvw;
  }

  #ip_firstview > div {
    display: block;
  }

  #ip_firstview > div > .swiper {
    bottom: auto;
    top: 78%;
    width: 100%;
  }

  #ip_firstview > div > div > ul {
    gap: 0;
    padding: 0;
  }

  #line_up menu a {
    font-size: 17px;
  }

  #ip_firstview h2 {
    font-size: 6dvw;
    width: 30%;
    margin: 0;
    display: inline-block;
  }

  #ip_firstview form p {
    font-size: 6dvw;
    color: #000;
    display: inline-block;
  }

  #ip_firstview form p span {
    font-size: 8dvw;
  }

  #ip_firstview form {
    top: 63dvw;
    position: relative;
    display: inline;
  }

  /*#ip_firstview dl {
      display: block;
    }*/
  #ip_firstview dl {
    border: none;
    border-radius: 0;
    box-shadow: none;
  }

  #ip_firstview dl dt,
  #ip_firstview dl dd {
    margin: 0;
  }

  #ip_firstview dl dt:first-child,
  #ip_firstview dl dd:nth-child(2) {
    border: none;
  }

  #ip_firstview dl dd input {
    width: 48%;
    font-size: 3.3dvw;
    padding: 0;
  }

  #ip_firstview button {
    height: auto;
    width: 60%;
    font-size: 6dvw;
    display: block;
    margin: 6dvw auto;
    border-radius: 6dvw;
    line-height: 2;
    box-shadow: 0px 2px #666;
  }

  #lp_cv {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
  section.content {
    margin-top: 10%;
  }
  section.content h2 {
    font-size: 6dvw;
  }

  section.content,
  #news_topic {
    width: 95%;
    margin: 0 auto 0 auto;
  }

  #news_topic h2 {
    font-size: 7dvw;
  }

  #news_topic ul {
    padding: 0;
  }

  #news_topic article {
    margin: 0;
  }

  #news_topic article::before {
    font-size: 3.5dvw;
    left: 0;
  }

  #news_topic h3 {
    font-size: 3dvw;
    margin: 0 2% 0 8%;
  }

  #news_topic p {
    font-size: 3.45dvw;
  }

  #line_up {
    margin-top: 8dvw;
  }

  #line_up h2 {
    font-size: 6dvw;
    top: -4dvw;
  }

  #line_up menu li {
    width: 48.5%;
    font-size: 5dvw;
  }

  #line_up menu img {
    max-width: 8dvw;
    max-height: 6dvw;
    margin-right: 0.2dvw;
  }

  #line_up .car-list nav ul {
    gap: 1.5dvw;
    margin-bottom: 1.8dvw;
  }

  #line_up .car-list nav li {
    width: 3.9dvw;
    height: 3.9dvw;
  }

  #line_up .car-list > ul {
    margin-bottom: 5dvw;
  }

  #line_up .car-list > ul li {
    width: 48.8%;
  }

  #line_up .car-list > ul h3 {
    font-size: 4dvw;
  }

  #line_up .car-list > ul button {
    font-size: 4dvw;
  }

  #line_up .car-list > ul .price span {
    font-size: 6dvw;
  }

  #line_up > section > button {
    font-size: 5dvw;
    width: 40dvw;
    margin-bottom: 8dvw;
  }

  #lp_guide {
    margin-bottom: 9dvw;
  }

  #lp_guide h2 {
    font-size: 6.5dvw;
    line-height: 1;
    margin: 0;
  }

  #lp_guide hgroup {
    margin: 0 auto;
  }

  #lp_guide hgroup p {
    font-size: 5dvw;
    line-height: 1;
    margin: 0;
  }

  #lp_guide > p {
    margin-top: 0.5dvw;
    margin-right: 3%;
  }

  #lp_guide > p a {
    font-size: 3dvw;
    width: 20dvw;
  }

  #lp_forte {
    overflow: hidden;
  }

  #lp_forte ol {
    flex-wrap: nowrap;
    flex-direction: column;
    /*width: 200%;*/
    margin: 0 auto;
    width: 90%;
    gap: 5dvw;
    padding: 5dvw 0 7dvw 0;
  }

  #lp_forte ol li {
    /*width: 80%;*/
    width: 100%;
  }

  #lp_forte ol h3 {
    font-size: 4dvw;
    margin: 0;
  }

  #lp_forte ol li::marker {
    font-size: 8dvw;
  }

  #lp_forte ol h3 span:first-child {
    font-size: 7dvw;
  }

  #lp_forte ol h3 span:nth-child(2) {
    font-size: 5.4dvw;
  }

  #lp_forte p {
    font-size: 4dvw;
  }

  #lp_forte {
    aspect-ratio: 1/1.5;
  }

  .swiper_cv {
    overflow: hidden;
  }

  #lp_cv ul {
    gap: 0;
  }

  #lp_cv li {
    width: 100%;
    padding: 3dvw;
  }

  #lp_cv h3 {
    font-size: 9dvw;
  }

  #lp_cv p {
    font-size: 7dvw;
  }

  #lp_faq {
    margin-bottom: 8dvw;
    margin-top: 5rem;
  }

  #lp_faq h2 {
    font-size: 6dvw;
  }
  #lp_faq p {
    font-size: 1rem;
  }

  #lp_info h2 {
    font-size: 6dvw;
    top: 1.5%;
    width: 55%;
  }

  #lp_info::before {
    top: 5.5%;
    left: 2.5%;
    right: 2.5%;
  }

  #lp_info dl {
    width: 95%;
    margin-top: 10dvw;
    padding: 1dvw 2dvw 1dvw 2dvw;
  }

  #lp_info dt {
    width: 22%;
  }

  #lp_info dd {
    width: 77%;
  }

  #lp_info dt,
  #lp_info dd {
    font-size: 3.5dvw;
  }

  #lp_contract button {
    font-size: 8dvw;
    width: 70%;
    border-radius: 8dvw;
    margin: 10dvw 0 10dvw 0;
  }

  #lp_contract a {
    display: block;
    padding: 1.5dvw;
    width: 80%;
    margin: 0 auto 10dvw auto;
  }

  #lp_contract h3 {
    margin: 0 0 0.5dvw 0;
    font-size: 6dvw;
  }

  #lp_contract p {
    font-size: 8dvw;
  }
  #line_up h2 {
    position: initial;
    transform: none;
    display: block;
  }
  .h2_strongpoint.top {
    margin-top: 50px;
  }
  input[type="text"],
  textarea,
  input[type="email"],
  .wpcf7 input[type="tel"] {
    width: 100%;
  }
  .body__type {
    padding: 4px 8px;
    width: 100%;
  }
  .wpcf7-date {
    width: 100%;
  }
  #contact {
    padding-top: 70px;
  }
}

@media (max-width: 400px) {
  #line_up menu li {
    width: 47.5%;
  }

  #line_up .car-list > ul li {
    width: 47.8%;
  }
}
