@charset "UTF-8";

/* ==================================
== kv
================================== */
#kv {
  background: transparent;
  height: calc(60vh + 80px);
  position: relative;
  overflow: hidden;
}

#kv::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url(../images/home/kv-sp.jpg) no-repeat bottom right / 75vw;
  opacity: 0;
  transition: opacity 1.5s ease;
}

#kv.kv-bg-visible::before {
  opacity: 1;
}

.kv__copy {
  font-family: var(--base-font-family);
  font-size: 3.2rem;
  letter-spacing: -0.02em;
  top: 20vh;
  left: 40px;
  position: absolute;
  z-index: 9;
}

.kv__copy-ja .char,
.kv__copy-en {
  opacity: 0;
}

.kv__copy-ja {
  font-size: 9vw;
  line-height: 1.4;
  margin-bottom: 20px;
}

.kv__copy-en {
  font-size: 4vw;
}

@media screen and (max-width: 768px) {
  .kv-logo {
    width: 100px;
    top: 25vh;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
  }
}

@media screen and (min-width: 769px) {
  #kv::before {
    background: url(../images/home/kv.jpg) no-repeat bottom right / 83vw;
  }

  .kv__copy {
    top: 30px;
    left: 90px;
  }

  .kv__copy-ja {
    font-size: 7rem;
    line-height: 1.4;
    margin-bottom: 40px;
  }

  .kv__copy-en {
    font-size: 2.8rem;
  }
}

/* ==================================
== entry
================================== */
#entry {
  gap: 0 100px;
  padding: 55px 0 100px;
}

#entry p {
  font-size: min(4vw, 1.5rem);
  line-height: 2;
  margin-bottom: 36px;
}

.entry__link a {
  margin-left: 15px;
  padding-left: 60px;
  position: relative;
}


@media screen and (max-width: 768px) {
  .entry__text {
    width: var(--page-width);
    margin: auto;
  }

  .entry__link a {
    font-size: 1.3rem;
  }

  .entry__link a::before {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 6px;
    border: 1px solid var(--black-color);
    top: 50%;
    left: 34px;
    transform: translate(0, -50%);
    position: absolute;
  }

  .entry__link a::after {
    content: "";
    width: 40px;
    height: 1px;
    background: var(--black-color);
    top: 50%;
    left: 0;
    transform: translate(0, -50%);
    position: absolute;
    transition: var(--anime-transition);
  }

  .entry__link a:hover::after {
    width: 30px;
    left: 22px;
  }
}

@media screen and (min-width: 769px) {
  #entry {
    gap: 0 100px;
    padding: 70px 0 145px;
  }

  #entry p {
    font-size: 1.8rem;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    line-height: 2.1;
    letter-spacing: 0.08em;
  }

  .entry__link a {
    margin: 0;
    padding-top: 70px;
    padding-left: 0;
  }

  .entry__link a::before {
    content: "";
    width: 16px;
    height: 16px;
    border-radius: 8px;
    border: 1px solid var(--black-color);
    top: 44.5px;
    left: 50%;
    transform: translate(-50%, 0);
    position: absolute;
  }

  .entry__link a::after {
    content: "";
    width: 1px;
    height: 52px;
    background: var(--black-color);
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
    position: absolute;
    transition: var(--anime-transition);
  }

  .entry__link a:hover::after {
    height: 30px;
    top: 22px;
  }
}

/* ==================================
== motto
================================== */
#motto {
  padding-bottom: 80px;
}


#motto .motto__text {
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
  width: var(--page-width);
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

#motto .motto__text h2 {
  font-size: min(2rem, 5vw);
  margin-top: 40px;
}

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

@media screen and (min-width: 769px) {
  #motto {
    padding-bottom: 160px;
  }

  #motto .motto__photo,
  #motto .motto__text {
    width: 50%;
  }

  #motto .motto__text h2 {
    font-size: 3rem;
    margin-top: 0;
  }
}

/* ==================================
== content
================================== */
#content {
  padding: 60px 0 75px;
}

.content__list__item {
  width: 100%;
}

.content__list__item a {
  color: var(--white-color);
  font-family: var(--sub-font-family);
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  width: 100%;
  aspect-ratio: 1.7075;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.content__list__item a::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  transition: var(--anime-transition);
}

.content__list__item.content__list__item--export a::after {
  background: url(../images/home/content-export.jpg) no-repeat center / cover;
}

.content__list__item.content__list__item--domestic a::after {
  background: url(../images/home/content-domestic.jpg) no-repeat center / cover;
}

.content__list__item a:hover::after {
  transform: translate(-50%, -50%) scale(1.05);
}

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

  #content .content__kv {
    width: 100vw;
    margin-left: -15px;
  }
}

@media screen and (min-width: 769px) {
  .content__list__item {
    width: 50%;
  }
}

/* ==================================
== company
================================== */
#company {
  padding: 85px 0 0px;
}

.company__kv {
  margin-bottom: 20px;
}

.company__btn-list {
  gap: 0 40px;
}

.company__btn-list__item a {
  font-size: 1.7rem;
  font-family: var(--sub-font-family);
  height: 43px;
  width: 100%;
  border: 1px solid var(--black-color);
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--beige-color);
}


@media screen and (max-width: 768px) {
  .company__kv {
    width: 100vw;
    margin-left: -15px;
  }

  .company__btn-list__item:first-child {
    margin-bottom: 15px;
  }
}

@media screen and (min-width: 769px) {
  #company {
    padding: 100px 0 130px;
  }

  .company__btn-list__item {
    width: 50%;
  }

  .company__btn-list__item a {
    font-size: 2.0rem;
    height: 53px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--white-color);
    transition: var(--anime-transition);
  }

  .company__btn-list__item a:hover {
    color: var(--white-color);
    background: var(--black-color);
  }

}