/* CSS Document */

/* TOP firstview */

.fv-top {
  position: relative;
}

/* fv　↓の列　*/

.feature {
  position: absolute;
  background: rgba(20, 20, 20, 0.9);
  color: #fff;
  bottom: 0;
  z-index: 3;
  width: 100%;
}

.fv-container {
  display: flex;
  justify-content: center;
  padding: 0 50px;
}

.fv-bike {
  width: 25%;
  position: relative;
}

.fv-bike span {
  position: absolute;
  content: "";
  display: block;
  width: 100%;
  bottom: 0;
  left: 0;
  background: url("../img/chief-vintage-light.png") no-repeat center;
  background-size: 100% auto;
  aspect-ratio: 16/9;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.feature-item {
  padding: 30px 15px;
  text-align: center;
}

.feature-item a {
  border: 2px solid #fff;
}

.feature-item p {
  margin-top: 10px;
  font-size: 18px;
  transform: skewX(-20deg);
}

.feature-item p a {
  background: #000;
  font-size: 1.35rem;
}

.feature-item:last-child p a {
  background: #e0a020;
}

@media (max-width: 1360px) {
  .fv-container {
    padding: 0 20px;
  }

  .feature-item {
    padding: 20px 10px;
  }

  .fv-bike {
    width: 30%;
  }
}

@media (max-width: 1200px) {
  .feature-item p a {
    font-size: 1.1rem;
  }

  .feature-item p {
    font-style: italic;
    transform: inherit;
  }
}

@media (max-width: 1000px) {
  #fv-top .feature {
    display: none;
  }
}

/* fv　↓の列　*/

/*サービス*/

.service {
  background: #efefef;
  padding: 80px 30px 0;
  overflow: hidden;
}

/* =====================
TITLE
===================== */

.service-title {
  width: min(1360px, 100%);
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.service .btn-box .btn.btn::after {
  border-right: 2px solid rgba(161, 0, 0, 1);
  border-top: 2px solid rgba(161, 0, 0, 1);
}

.service .btn-box .btn.btn:hover::after {
  border-right: 2px solid rgba(255, 255, 255, 1);
  border-top: 2px solid rgba(255, 255, 255, 1);
}

.title-bike {
  width: 300px;
}

.title-bike div {
  width: 100%;
  display: block;
  aspect-ratio: 765/400;
}

.title-bike div span {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  background: url("../img/chief-vintage.png") no-repeat center;
  background-size: 100% auto;
  /*  transform: scaleX(-1);*/
}

/* =====================
LIST
===================== */

.service-list {
  width: min(1360px, 100%);
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 20px;
}

/* =====================
CARD
===================== */

.service-card {
  width: 34%;
  margin-left: -2.2%;
  position: relative;
  overflow: hidden;
  clip-path: polygon(15% 0, 100% 0, 85% 100%, 0% 100%);
}

.service-card img {
  width: 100%;
  aspect-ratio: 5/3;
  object-fit: cover;
  display: block;
  transition: 0.7s;
}

.service-card:hover img {
  transform: scale(1.08);
}

.service-card:nth-child(1),
.service-card:nth-child(4) {
  margin-left: 0;
}

/* 第二排 */

.service-card-bottom {
  width: 34%;
}

/* =====================
BOTTOM CARD
===================== */

.service-card-bottom {
  width: 34%;
}

/* =====================
NAME
===================== */

.service-name {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 10px 40px;
  color: #fff;
  font-size: 34px;
  font-weight: bold;
  background: rgba(161, 0, 0, 0.82);
  backdrop-filter: blur(2px);
}

/* arrow */

.service-name::after {
  right: 5rem;
  transition: transform ease 0.3s;
}

.service-name:hover::after {
  right: 4.5rem;
}

.service .btn-box .btn {
  background: #fff;
}

/* =====================
RESPONSIVE
===================== */

@media (max-width: 1460px) {
  .service-name {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 10px 40px;
    color: #fff;
    font-size: 1.75rem;
  }

  .service-name::after {
    right: 4rem;
    width: 7px;
  }

  .service-name:hover::after {
    right: 3.75rem;
  }
}

@media (max-width: 1200px) {
  .service-list {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card {
    gap: 0;
    clip-path: inherit;
    margin: 0;
    width: 100%;
  }

  .service-name::after {
    right: 40px;
  }
}

@media (max-width: 1100px) {
  .title-left h2 {
    font-size: 64px;
  }

  .service-name {
    font-size: 24px;
    padding: 10px 26px;
  }

  .service-name::after {
    right: 26px;
  }
}

@media (max-width: 800px) {
  .title-left h2 {
    font-size: 48px;
  }

  .title-sub p {
    font-size: 20px;
  }

  .title-bike {
    width: 180px;
    margin-left: auto;
  }

  .service-list {
    gap: 14px;
  }

  .service-name {
    font-size: 1.25rem;
    padding: 10px 15px;
  }

  .service .btn-box {
    width: 100%;
    margin: 20px auto 50px;
    transform: skewX(0deg);
  }

  .service {
    padding-top: 50px;
  }
}

@media (max-width: 600px) {
  .service-list {
    grid-template-columns: repeat(1, 1fr);
  }

  .service-title {
    margin-bottom: 20px;
    align-items: flex-start;
    flex-direction: column-reverse;
  }

  .title-bike {
    display: none;
  }
}

/*サービス///*/

/* bikers */

.bikers {
  display: block;
  width: 100%;
}

.bikers-box {
  display: block;
  width: 100%;
  aspect-ratio: 1920 / 776;
  background: url("../img/top/bikers.jpg") center no-repeat;
  background-size: cover;
}

.bikers-text {
  margin-left: 50%;
  display: flex;
  align-items: center;
  height: 100%;
  color: #fff;
}

.bikers-text .btn-box {
  margin: 50px 0;
}

.bikers-text .btn-box a {
  border: 2px solid rgba(255, 255, 255, 1);
  background: rgba(255, 255, 255, 0.25);
}

.bikers-text .btn-box a p {
  color: #fff;
}

.bikers .title-sub span {
  background: #fff;
}

/* bikers ///*/

/* link-bnr */

.link-bnr {
  width: min(1360px, 100%);
  margin: auto;
  padding: 100px 30px;
  display: flex;
  gap: 18px;
}

/* =====================
CARD
===================== */

.link-card {
  width: 50%;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.link-card img {
  width: 100%;
  aspect-ratio: 16/8;
  object-fit: cover;
  display: block;
  transition: 1s;
}

.link-card:hover img {
  transform: scale(1.08);
}

/* 黑色遮罩 */

.link-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

/* =====================
CONTENT
===================== */

.link-card-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 26px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* 英文 */

.link-card-content h2 {
  font-size: 72px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 1px;
}

/* =====================
RED BUTTON
===================== */

.link-btn {
  position: relative;
  width: 68%;
  margin-left: auto;
  padding: 20px 36px;
  background: rgba(161, 0, 0, 0.82);
  font-size: 34px;
  font-weight: bold;
  clip-path: polygon(5% 0, 100% 0, 95% 100%, 0% 100%);

  backdrop-filter: blur(3px);

  transition: 0.3s;
}

.link-btn::after {
  content: "";
  width: 10px;
  aspect-ratio: 1 / 1;
  position: absolute;
  top: 50%;
  right: 2rem;
}

.link-btn:hover::after {
  right: 2.5rem;
}

/* =====================
RESPONSIVE
===================== */

@media (max-width: 1260px) {
  .link-btn {
    padding: 10px 20px;
    font-size: 1.5rem;
  }
}

@media (max-width: 1200px) {
  .link-bnr {
    padding: 50px 20px;
    gap: 10px;
  }
}

@media (max-width: 1000px) {
  .link-bnr {
    flex-direction: column;
    padding: 60px 20px;
  }

  .link-card {
    width: 100%;
  }

  .link-card-content h2 {
    font-size: 48px;
  }

  .link-btn {
    width: 88%;
    font-size: 22px;
    padding: 16px 24px;
  }

  .link-btn {
    clip-path: inherit;
    font-style: italic;
  }

  .bikers-text .btn-box {
    margin: 20px 0;
  }

  .title-sub p {
    font-size: 20px;
  }

  .title-sub {
    gap: 10px;
  }

  .bikers-box {
    aspect-ratio: 5 / 3;
  }

  .bikers-text {
    margin-left: 45%;
  }
}

@media (max-width: 600px) {
  .bikers .title-left {
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
  }

  .bikers-box {
    aspect-ratio: 5 / 3;
    min-height: 280px;
    background-position: left;
  }

  .bikers-text {
    margin: auto;
    justify-content: center;
    text-align: center;
  }

  .bikers-text .btn-box {
    margin: 20px auto;
    transform: skewX(0deg);
  }

  .bikers-text .btn-box a {
    border: 2px solid rgba(255, 255, 255, 1);
    background: rgba(0, 0, 0, 0.5);
  }

  .link-card-content {
    padding: 20px;
  }

  .link-btn {
    clip-path: inherit;
    font-style: inherit;
    padding: 10px;
  }
}

/* link-bnr ///*/

.for-sale-iframe {
  background: #f5f8fc;
}

.for-sale-iframe .main-area {
  padding: 100px 5vw;
}

.for-sale-iframe iframe {
  width: 100%;
  height: calc(100vh - 100px);
  min-height: 350px;
}

@media (max-width: 1200px) {
  .for-sale-iframe .main-area {
    padding: 50px 20px;
  }
}

@media (max-width: 1000px) {
  .for-sale-iframe iframe {
    height: calc(100vh - 160px);
  }
}
