@charset "UTF-8";

/* ==========================================================================
   Home Hero
   ========================================================================== */
.p-home-hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.p-home-hero__bg-strip {
  position: absolute;
  top: 0;
  right: 0;
  width: 54%;
  height: 100%;
  background-color: #222;
  z-index: -1;
}

.p-home-hero__content {
  position: relative;
  height: 87%;
  width: 76.4%;
}

.p-home-hero__image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}

.p-home-hero__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3);
}

.p-home-hero__text-area {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(25%, -50%);
  color: #fff;
  text-align: right;
  z-index: 10;
  white-space: nowrap;
}

@media screen and (min-width: 768px) {
  .p-home-hero__text-area {
    transform: translate(50%, -50%);
    text-align: left;
  }
}

.p-home-hero__sub-copy {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

@media screen and (min-width: 768px) {
  .p-home-hero__sub-copy {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }
}

.p-home-hero__company {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

@media screen and (min-width: 768px) {
  .p-home-hero__company {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
  }
}

.p-home-hero__main-copy {
  font-family: var(--font-en);
  font-size: 3.375rem;
  /* 54px */
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

@media screen and (min-width: 768px) {
  .p-home-hero__main-copy {
    font-size: 4.5rem;
    /* 72px */
  }
}

/* ==========================================================================
   Home About
   ========================================================================== */
.p-home-about {
  position: relative;
  padding: 4rem 1rem;
}

@media screen and (min-width: 768px) {
  .p-home-about {
    padding: 6rem 1rem;
  }
}

.p-home-about__inner {
  background-size: cover;
  background-position: center;
  padding: 5rem 1rem;
}

@media screen and (min-width: 768px) {
  .p-home-about__inner {
    padding: 7rem 0 7rem 3rem;
  }
}

.p-home-about__card {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  max-width: 37rem;
}

@media screen and (min-width: 768px) {
  .p-home-about__card {
    padding: 3rem;
  }
}

.p-home-about__text {
  font-size: 0.875rem;
  line-height: 2;
  margin-bottom: 1.5rem;
}

@media screen and (min-width: 768px) {
  .p-home-about__text {
    font-size: 1rem;
  }
}

/* ==========================================================================
   Home Links (Works & Culture)
   ========================================================================== */
.p-home-links {
  background-color: var(--color-bg-gray);
  padding: 2.5rem 0;
  position: relative;
}

@media screen and (min-width: 768px) {
  .p-home-links {
    padding: 4rem 0;
  }
}

@media screen and (min-width: 768px) {
  .p-home-links::after {
    content: "";
    display: block;
    width: 100%;
    height: 15rem;
    position: absolute;
    top: -15rem;
    left: 0;
    right: 0;
    background-color: var(--color-bg-gray);
    z-index: -5;
  }
}

.p-home-links__container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media screen and (min-width: 768px) {
  .p-home-links__container {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.p-home-links__item {
  width: 100%;
}

@media screen and (min-width: 768px) {
  .p-home-links__item {
    width: 47%;
  }
}

.p-home-links__item--culture {
  margin-top: 2rem;
}

@media screen and (min-width: 768px) {
  .p-home-links__item--culture {
    margin-top: 6rem;
  }
}

.p-home-links__image-wrapper {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.p-home-links__image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.p-home-links__item:hover .p-home-links__image-wrapper img {
  transform: scale(1.05);
}

.p-home-links__text {
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

@media screen and (min-width: 768px) {
  .p-home-links__text {
    font-size: 1rem;
  }
}

/* ==========================================================================
   Home Topics
   ========================================================================== */
.p-home-topics {
  padding: 4rem 1rem;
}

@media screen and (min-width: 768px) {
  .p-home-topics {
    padding: 6rem 1rem;
  }
}

.p-home-topics__header {
  text-align: left;
  margin-bottom: 2rem;
}

@media screen and (min-width: 768px) {
  .p-home-topics__header {
    text-align: right;
    max-width: 1100px;
    margin: 0 auto 2rem;
  }

  .p-home-topics__header .c-section-title {
    display: inline-block;
    text-align: left;
  }
}

.p-home-topics__list {
  max-width: 40rem;
  margin: 0 0 2rem auto;
}

@media screen and (max-width: 767px) {
  .p-home-topics__list {
    margin-left: 0;
  }
}

.p-home-topics__item {
  border-bottom: 1px solid #ddd;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
}

.p-home-topics__item a {
  display: block;
}

.p-home-topics__date {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #999;
  margin-bottom: 0.5rem;
}

.p-home-topics__title {
  font-size: 0.875rem;
  font-weight: 700;
}

@media screen and (min-width: 768px) {
  .p-home-topics__title {
    font-size: 1rem;
  }
}

.p-home-topics__footer {
  text-align: right;
  max-width: 1100px;
  margin: 0 auto;
}

@media screen and (max-width: 767px) {
  .p-home-topics__footer {
    text-align: left;
  }
}


/* ==========================================================================
   Home Contact
   ========================================================================== */
.p-home-contact {
  background-color: var(--color-bg-gray);
  padding: 4rem 0;
}

@media screen and (min-width: 768px) {
  .p-home-contact {
    padding: 6rem 0;
  }
}

.p-home-contact__container {
  display: flex;
  flex-direction: column-reverse;
  gap: 2rem;
}

@media screen and (min-width: 768px) {
  .p-home-contact__container {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.p-home-contact__content {
  width: 100%;
}

@media screen and (min-width: 768px) {
  .p-home-contact__content {
    width: 40%;
    margin-top: 2rem;
  }
}

.p-home-contact__text {
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  line-height: 2;
}

@media screen and (min-width: 768px) {
  .p-home-contact__text {
    font-size: 1rem;
  }
}

.p-home-contact__image {
  width: 100%;
}

@media screen and (min-width: 768px) {
  .p-home-contact__image {
    width: 52%;
  }
}

.p-home-contact__image img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}