@charset "UTF-8";

/*============================
	common
============================*/
.common__ttl {
  font-size: max(12px, 1.8rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem 2.5rem;
}

.common__ttl--wt {
  color: var(--white);
}

.common__ttl--row {
  flex-direction: row;
  align-items: baseline;
}

.common__ttl span {
  display: block;
  font-family: var(--font-sans);
  font-size: max(24px, 4rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.common__btn {
  width: max(150px, 20.3rem);
  height: max(40px, 5.2rem);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.common__btn a {
  width: 100%;
  height: 100%;
  border: solid 1px var(--black);
  text-transform: uppercase;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.common__btn--wt a {
  border: solid 1px var(--white);
}

/*============================
	hero
============================*/
.hero {
  width: 100%;
  height: max(82rem, 100vh);
  padding: max(60px, 10rem) 44rem 0 0;
  position: relative;
}

@media (max-width: 767px) {
  .hero {
    height: max(300px, 44rem);
    padding: max(60px, 8rem) 25% 0 0;
  }
}

.hero__ttl {
  font-family: var(--font-kanit);
  font-size: 9.2rem;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.05em;
  line-height: 1;
  position: absolute;
  top: 22rem;
  right: 22.5rem;
}

@media (min-width: 768px) {
  .hero__ttl {
    z-index: 1001;
  }
}

@media (max-width: 767px) {
  .hero__ttl {
    font-size: 6.3rem;
    top: max(80px, 10rem);
    right: 5%;
    z-index: 2;
  }
}

.hero__ttl h2::before {
  content: "Car Life \A Fac tory";
  white-space: pre;
  color: var(--white);
  clip-path: polygon(0 0, 45% 0, 45% 100%, 0% 100%);
  position: absolute;
  top: 0;
  left: 0;
}

.hero__slider {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero__slider {
    position: relative;
    z-index: 1000;
  }
}

@keyframes zoomOut {
  0% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}

.hero__slider .swiper-slide-active img,
.hero__slider .swiper-slide-duplicate-active img,
.hero__slider .swiper-slide-prev img {
  animation: zoomOut 7s linear both;
}

@keyframes scroll {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }

  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }

  50.1% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }

  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}

.hero__scroll {
  font-size: max(14px, 2.2rem);
  line-height: 1;
  text-transform: capitalize;
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: absolute;
  right: 39rem;
  bottom: 0;
  z-index: 10;
}

@media (max-width: 767px) {
  .hero__scroll {
    display: none;
  }
}

.hero__scroll::after {
  content: "";
  display: block;
  background-color: #000;
  width: 1px;
  height: max(50px, 9rem);
  animation: scroll 2.5s infinite;
}

/*============================
	about
============================*/
.about {
  padding: 20rem 0;
}

.about__contents {
  width: 127rem;
  display: flex;
  gap: 5rem;
  margin-left: auto;
}

@media (max-width: 767px) {
  .about__contents {
    width: 95%;
    flex-direction: column-reverse;
  }
}

.about__txt-wrapper {
  width: 100%;
}

.about__txt-wrapper h3 {
  font-size: max(18px, 3rem);
  font-weight: 500;
  letter-spacing: 0.05em;
  margin: 2.5rem 0 4rem;
}

@media (max-width: 767px) {
  .about__txt-wrapper h3 {
    padding-right: 5%;
  }
}

.about__bg {
  background-color: var(--black);
  color: var(--white);
  padding: 5.5rem 76rem 6.5rem 6rem;
  margin-right: -76rem;
}

@media (max-width: 767px) {
  .about__bg {
    padding: 5.5rem 6rem 6.5rem;
    margin: 0;
  }
}

.about__txt-wrapper p {
  font-size: max(12px, 1.8rem);
  letter-spacing: 0.05em;
  line-height: 2.5;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .about .common__btn {
    margin: 0;
  }
}

.about__img {
  width: 71rem;
  height: 100%;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .about__img {
    width: 100%;
  }
}

/*============================
	service
============================*/
.service {
  background: var(--bg-2);
  padding: 8rem 0 13.5rem;
  position: relative;
}

.service::before {
  content: "";
  background-color: #474747;
  width: 100%;
  height: 32rem;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}

.service__list {
  width: 110rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6rem 2.8rem;
  margin: 4.5rem auto 7rem;
}

@media (max-width: 767px) {
  .service__list {
    width: 90%;
    grid-template-columns: 1fr;
  }
}

.service__img {
  width: 100%;
  margin-bottom: 3rem;
}

.service__list h3 {
  background-color: var(--black);
  font-size: max(12px, 1.8rem);
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.1em;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 767px) {
  .service__list h3 {
    padding: 2rem;
  }
}

.service__list p {
  letter-spacing: 0.05em;
  line-height: 1.8;
}

/*============================
	price
============================*/
.price {
  background-color: var(--black);
  color: var(--white);
  padding: 11rem 0 12rem;
}

.price__contents {
  width: 110rem;
  border: solid 2px var(--white);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8rem 19rem;
  padding: 8.5rem 8.5rem 9rem;
  margin: 7rem auto 8.5rem;
}

@media (max-width: 767px) {
  .price__contents {
    width: 90%;
    grid-template-columns: 1fr;
    padding: 6rem 6% 7rem;
  }
}

.price__list {
  width: 100%;
  display: flex;
  flex-direction: column;
  row-gap: 2.4rem;
  padding: 0.8rem 0;
  position: relative;
}

@media (max-width: 767px) {
  .price__list {
    padding: 0 1rem;
  }
}

.price__list:first-of-type::before {
  content: "";
  background-color: var(--white);
  width: 1px;
  height: 100%;
  position: absolute;
  transform: translateX(-50%);
  top: 0;
  right: -9.5rem;
  pointer-events: none;
}

@media (max-width: 767px) {
  .price__list:first-of-type::before {
    width: 100%;
    height: 1px;
    transform: translateY(-50%);
    top: auto;
    right: auto;
    left: 0;
    bottom: -4rem;
  }
}

.price__item {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.price__item dt,
.price__item dd {
  font-weight: 400;
  letter-spacing: 0.1em;
}

.price__item dd {
  flex-shrink: 0;
}

/*============================
	blog
============================*/
.blog {
  background: url("../img/blog_bg.jpg") repeat center / 100% auto;
  padding: 8rem 0;
}

.blog__list {
  width: 101.2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6rem 2.6rem;
  margin: 4.5rem auto 8rem;
}

/* @media (min-width: 768px) {
  .blog__list {
    min-height: 37.2rem;
  }
} */

@media (max-width: 767px) {
  .blog__list {
    width: 90%;
    grid-template-columns: 1fr;
  }
}

.news_link {
  display: block;
}

.topNews_image {
  width: 100%;
  height: 20rem;
  margin-bottom: 3rem;
}

@media (max-width: 767px) {
  .topNews_image {
    height: 36rem;
  }
}

.topNews_image video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.topNews_caption,
.topNews_date {
  margin-right: 1.2rem;
}

.topNews_caption {
  border-top: solid 1px var(--black);
  padding-top: 1rem;
  margin-top: 1rem;
}

/*============================
	voice
============================*/
.voice {
  background-color: #e1e1e1;
  padding: 13rem 0 11rem;
}

.voice__list {
  width: 100rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6rem 4rem;
  margin: 4rem auto 9.5rem;
}

/* @media (min-width: 768px) {
  .voice__list {
    min-height: 46rem;
  }
} */

@media (max-width: 767px) {
  .voice__list {
    width: 90%;
    grid-template-columns: 1fr;
  }
}

.voice-item {
  background-color: var(--white);
  border: solid max(3px, 0.5rem) var(--black);
  border-radius: 2rem;
  padding: 3rem 1.5rem 3.5rem;
}

@media (max-width: 767px) {
  .voice-item {
    padding: 3rem 3rem 3.5rem;
  }
}

.voice-image-name {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2.4rem;
}

.voice-image {
  display: block;
  width: 11rem;
  border: solid max(2px, 0.4rem) var(--black);
  border-radius: 50%;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .voice-image {
    width: 20rem;
  }
}

.voice-rating {
  color: var(--black);
  display: flex;
  gap: 5px;
  margin-bottom: 2.5rem;
}

.fa-star:before {
  display: block;
  content: "\f005";
  font-size: 3.2rem;
}

.read-more-container {
  margin-bottom: 5rem;
}

.voice-date {
  font-size: max(12px, 1.4rem);
}

/*============================
	contact
============================*/
.contact {
  background-color: var(--black);
  color: var(--white);
  padding: 10rem 0;
}

@media screen and (min-width: 768px) {
  form {
    padding: 70px 0 0 0;
    width: 110rem;
    margin: 0 auto;
  }

  form div {
    margin-bottom: 20px;
  }

  form div label {
    display: block;
    font-weight: 300;
    margin-bottom: 10px;
    font-size: 18px;
  }

  form div label span {
    font-size: 16px;
    color: #d62f37;
    margin-left: 10px;
  }

  form select {
    padding: 20px;
    background: var(--white);
    border: #bbb solid 1px;
    border-radius: 3px;
  }

  form input,
  form textarea {
    width: calc(100% - 40px);
    padding: 10px 20px;
    background: var(--white);
    color: var(--black);
    border: #bbbbbb solid 1px;
    border-radius: 4px;
    font-size: 1.5em;
  }

  form input[type="submit"] {
    border: 0px;
    width: 50%;
    background: var(--white);
    border: 2px solid #444;
    color: var(--black);
    font-size: 26px;
    font-weight: 300;
    text-align: center;
    padding: 20px 0;
    margin: 0 25%;
  }
}

@media screen and (max-width: 767px) {
  form {
    width: 90%;
    font-size: max(14px, 1.6rem);
    padding: 30px 0 0;
    margin: 0 auto;
  }

  form div {
    margin-bottom: 50px;
  }

  form div label {
    display: block;
    font-weight: 300;
    margin-bottom: 10px;
    font-size: 14px;
  }

  form div label span {
    font-size: 12px;
    color: #d62f37;
    margin-left: 10px;
  }

  form select {
    width: 100%;
    padding: 20px;
    background: var(--white);
    border: #bbb solid 1px;
    border-radius: 3px;
  }

  form input,
  form textarea {
    width: 100%;
    padding: 10px 10px;
    background: var(--white);
    color: var(--black);
    border: #bbbbbb solid 1px;
    border-radius: 4px;
    font-size: 1.4em;
  }

  form input[type="submit"] {
    border: 0px;
    width: 90%;
    background: var(--white);
    border: 2px solid #333;
    font-size: 22px;
    font-weight: 300;
    text-align: center;
    padding: 16px 0;
    margin: 0 5%;
  }
}

form input[type="radio"] {
  width: 2rem;
  vertical-align: -0.18rem;
  margin-right: 1rem;
}

.CMS-FORM-RADIO label {
  display: inline-block;
  width: calc(100% - 3rem);
}

/*-------------------------
  privacy
---------------------------*/
.privacy_notes {
  width: 110rem;
  font-size: max(14px, 1.6rem);
  padding: 30px 0;
  margin: 0 auto;
}

@media screen and (max-width: 767px) {
  .privacy_notes {
    width: 90%;
  }
}

.privacy {
  font-size: max(14px, 1.6rem);
  font-weight: 300;
  background-color: #f0f0f0;
  width: 110rem;
  color: var(--black);
  margin: 0 auto;
  padding: 20px;
  height: 500px;
  overflow: auto;
}

@media screen and (max-width: 767px) {
  .privacy {
    width: 90%;
  }
}

.privacy span {
  font-weight: bold;
}

.privacy p {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.second-nrw p.privacy_notes {
  padding: 30px 0;
}

/*============================
	access
============================*/
.access {
  padding: 13rem 0 14rem;
}

.access__contents {
  width: 110rem;
  display: flex;
  flex-direction: row-reverse;
  gap: 2rem 4rem;
  margin: 8rem auto 0;
}

@media (max-width: 767px) {
  .access__contents {
    width: 90%;
    flex-direction: column;
  }
}

.access__map {
  width: 56rem;
  height: 58rem;
  flex-shrink: 0;
  margin-right: -7rem;
}

@media (max-width: 767px) {
  .access__map {
    width: 100%;
    margin: 0;
  }
}

.access__list {
  display: flex;
  flex-wrap: wrap;
  margin: -2.5rem 0 6rem;
}

@media (max-width: 767px) {
  .access__list {
    margin: 0 0 6rem;
  }
}

.access__list dt,
.access__list dd {
  letter-spacing: 0.05em;
  padding: 2.7rem 1.6rem;
}

.access__list dt {
  width: max(75px, 13rem);
  font-size: max(12px, 1.8rem);
  font-weight: 500;
}

.access__list dd {
  width: calc(100% - max(75px, 13rem));
}

.access__list dd:not(:last-of-type) {
  border-bottom: solid 1px var(--black);
}

@media (min-width: 768px) {
  .access__list dt:not(:last-of-type) {
    border-bottom: solid 1px var(--black);
  }
}

@media (max-width: 767px) {
  .access__list dt,
  .access__list dd {
    width: 100%;
  }

  .access__list dt {
    padding: 2rem 1.6rem 1rem;
  }

  .access__list dd {
    padding: 0 1.6rem 2rem;
  }
}

@media (min-width: 768px) {
  .access .common__btn {
    margin: 0;
  }
}

.top__map {
  height: 37.2rem;
}
