@charset "utf-8";

main {
  background-image: url(../image/top/top-bgi.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

/* fv */
.fv-content {
  position: absolute;
  top: 190px;
  left: 130px;
  display: grid;
  gap: 16px;
  z-index: 2;
}

@media screen and (max-width: 1200px) {
  .fv-content {
    gap: 12px;
    top: 150px;
    left: 70px;
  }
}

@media screen and (max-width: 400px) {
  .fv-content {
    left: 35px;
  }
}

@media screen and (max-width: 768px) {
  .fv-content {
    gap: 5px;
    top: 100px;
    left: 8px;
  }
}

.fv-title {
  font-size: 80px;
  font-weight: bolder;
  color: white;
}

@media screen and (max-width: 1200px) {
  .fv-title {
    font-size: 60px;
  }
}

@media screen and (max-width: 768px) {
  .fv-title {
    font-size: 32px;
  }
}

.fv-lead {
  font-size: 20px;
  letter-spacing: 0.02em;
  line-height: 1.8rem;
  color: white;
  font-weight: 500;
}

@media screen and (max-width: 1200px) {
  .fv-lead {
    font-size: 16px;
  }
}

@media screen and (max-width: 768px) {
  .fv-lead {
    font-size: 13px;
    line-height: 1.1rem;
  }
}

/* maincontent */
.maicontent {
  padding: 80px 0;
}

@media screen and (max-width: 768px) {
  .maicontent {
    padding: 0px 0;
  }
}

/* lineup */
.lineup {
  padding: 120px 0;
}

@media screen and (max-width: 768px) {
  .lineup {
    padding: 56px 0;
  }
}

.title_lineup {
  text-align: center;
}

/* 車 */
h3 {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  display: grid;
  gap: 12px;
}

@media screen and (max-width: 768px) {
  h3 {
    font-size: 15px;
    gap: 3px;
    padding: 0 8px;
  }
}

.car {
  position: relative;
  padding: 80px 0 0;
}

@media screen and (max-width: 768px) {
  .car {
    padding: 40px 0;
  }
}

.word {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20%;
  z-index: 9999;
}

@media screen and (max-width: 1200px) {
  .word {
    top: 53%;
  }
}

@media screen and (max-width: 768px) {
  .word {
    display: none;
  }
}

.car-kinds {
  display: flex;
  margin: 40px 0 0;
  padding-bottom: 80px;
}

@media screen and (max-width: 768px) {
  .car-kinds {
    display: grid;
    gap: 40px;
    margin: 20px 0 0;
    padding-bottom: 40px;
  }
}

.car-box {
  width: 50%;
}

@media screen and (max-width: 768px) {
  .car-box {
    width: 100%;
  }
}

.promax {
  background-color: rgba(191, 75, 46, 0.7);
  padding: 120px 0;
  margin-bottom: 50px;
}

@media screen and (max-width: 768px) {
  .promax {
    padding: 56px 0;
    margin-bottom: 16px;
    border-bottom-left-radius: 50px;
  }
}

.jimny {
  background-color: #707e5199;
  padding: 120px 0;
  margin-bottom: 50px;
}

@media screen and (max-width: 768px) {
  .jimny {
    padding: 56px 0;
    margin-bottom: 16px;
    border-top-right-radius: 50px;
  }
}

.car-title {
  text-align: center;
  display: grid;
  gap: 6px;
  margin-bottom: 40px;
}

.promax-logo,
.jimny-logo {
  font-size: 100px;
  font-weight: bolder;
}

@media screen and (max-width: 1200px) {

  .promax-logo,
  .jimny-logo {
    font-size: 80px;
    font-weight: bolder;
  }
}

@media screen and (max-width: 768px) {

  .promax-logo,
  .jimny-logo {
    font-size: 50px;
  }
}

.promax-explanation,
.jimny-explanation {
  font-weight: bold;
  font-size: 18px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: bold;
  color: white;
}

@media screen and (max-width: 1200px) {

  .promax-explanation,
  .jimny-explanation {
    font-size: 16px;
  }
}

@media screen and (max-width: 768px) {

  .promax-explanation,
  .jimny-explanation {
    font-size: 14px;
  }
}

.promax-image,
.jimny-image {
  text-align: center;
  margin: 40px 0 60px;
}

@media screen and (max-width: 1200px) {

  .promax-image,
  .jimny-image {
    margin: 20px 0 30px;
  }
}

.promax-image img,
.jimny-image img {
  width: 550px;
  height: 450px;
}

@media screen and (max-width: 1400px) {

  .promax-image img,
  .jimny-image img {
    width: 400px;
    height: 320px;
  }
}

@media screen and (max-width: 1000px) {

  .promax-image img,
  .jimny-image img {
    width: 330px;
    height: 260px;
  }
}

@media screen and (max-width: 400px) {

  .promax-image img,
  .jimny-image img {
    width: 250px;
    height: 200px;
  }
}

.promax-parts img,
.jimny-parts img {
  width: 100%;
}

/* ボタン */
.car-button {
  text-align: center;
}

.promax_button {
  color: white;
  background-color: #a44a2a;
  padding: 24px 40px;
  display: inline-flex;
  justify-content: center;
  border-radius: 9999px;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  .promax_button {
    padding: 14px 20px;
    font-size: 14px;
  }
}

.promax_button:hover {
  background-color: #944326;
}

.jimny_button {
  color: white;
  background-color: #4f5a35;
  padding: 24px 40px;
  display: inline-flex;
  justify-content: center;
  border-radius: 9999px;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  .jimny_button {
    padding: 14px 20px;
    font-size: 14px;
  }
}

.jimny_button:hover {
  background-color: #454f2f;
}

/* 造形制作 */
.molding {
  max-width: 1500px;
  margin: 120px auto 0;
  padding: 0 32px;
}

@media screen and (max-width: 768px) {
  .molding {
    padding: 0 24px;
    max-width: 500px;
    margin: 60px auto 0;
  }
}

.molding-title {
  background-image: url(../image/top/molding-bgi.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  padding: 60px 120px;
  border-top-right-radius: 30px;
  border-top-left-radius: 30px;
  display: grid;
  gap: 8px;
}

@media screen and (max-width: 1200px) {
  .molding-title {
    padding: 40px 60px;
  }
}

@media screen and (max-width: 768px) {
  .molding-title {
    padding: 30px 40px;
    gap: 4px;
  }
}

h4 {
  font-size: 28px;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  h4 {
    font-size: 18px;
  }
}

@media screen and (max-width: 768px) {
  .molding-title p {
    font-size: 14px;
  }
}

.molding-image {
  display: flex;
  justify-content: center;
}

@media screen and (max-width: 768px) {
  .molding-image {
    display: block;
  }
}

@media screen and (max-width: 768px) {
  .molding-image img {
    width: 100%;
  }
}

.molding-button {
  text-align: center;
}

.molding-button a {
  color: white;
  background-color: #942818;
  padding: 24px 40px;
  display: inline-flex;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  font-weight: bold;
  margin-top: 50px;
}

@media screen and (max-width: 768px) {
  .molding-button a {
    padding: 14px 20px;
    font-size: 14px;
    margin-top: 16px;
  }
}

.molding-button a:hover {
  background-color: #822315;
}

/* お知らせ */
.news-link {
  color: white;
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-link {
  display: flex;
  gap: 20px;
  text-decoration: none;
  color: black;
  padding: 10px 0;
  border-bottom: 1px solid black;
  font-size: 14px;
}

@media screen and (max-width: 768px) {
  .news-link {
    gap: 10px;
    font-size: 13px;
  }
}

.news-date {
  width: 100px;
}

@media screen and (max-width: 768px) {
  .news-date {
    width: 80px;
  }
}

.news-text {
  flex: 1;
}

.news-box {
  max-width: 800px;
  margin: 0 auto 120px;
}

@media screen and (max-width: 768px) {
  .news-box {
    margin: 0 auto 60px;
  }
}

.news-box span:hover {
  color: #944326 !important;
}

h2 a {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/*
@media screen and (max-width: 768px) {
  .news-box {
    max-width: 300px;
  }
} */

/* クロージング */
.closing {
  position: relative;
  height: calc(100svh - var(--header-h));
  background-image: url(../image/top/closing-bgi.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

@media screen and (max-width: 768px) {
  .closing {
    position: relative;
    height: calc(100svh - var(--header-h));
    background-image: url(../image/top/closing-bgi-sp.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }
}


@media screen and (max-width: 768px) {
  .closing-title {
    white-space: nowrap;
    font-size: 28px;
  }
}

.closing-text {
  display: grid;
  gap: 12px;
}

@media screen and (max-width: 768px) {
  .closing-text {
    gap: 6px;
  }
}
