@charset "utf-8";

/* =========================================================
  Front Page / Portfolio
========================================================= */

.top-page {
  overflow: hidden;
  padding-top: var(--header-height);
}

.top-page .section {
  padding: clamp(84px, 9vw, 150px) 0;
}

.top-section-heading {
  margin-bottom: clamp(36px, 5vw, 70px);
}

.top-section-heading--row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.top-section-heading__en,
.top-hero__eyebrow,
.top-contact__en {
  margin-bottom: 14px;
  color: var(--color02);
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.3em;
}

.top-section-heading__title {
  color: var(--color02);
  letter-spacing: 0.08em;
}

.top-section-heading__description {
  max-width: 520px;
  color: var(--color02);
  font-size: 15px;
  line-height: 1.9;
}

/* Hero */
.top-hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: calc(100svh - var(--header-height));
  padding: clamp(70px, 9vw, 130px) 0;
}

.top-hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -12%;
  width: min(62vw, 920px);
  aspect-ratio: 1;
  border: 1px solid rgba(198, 155, 103, 0.17);
  border-radius: 50%;
  pointer-events: none;
}

.top-hero::after {
  content: "";
  position: absolute;
  top: 25%;
  right: 8%;
  width: min(36vw, 520px);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(198, 155, 103, 0.7),
    transparent
  );
  transform: rotate(-28deg);
  pointer-events: none;
}

.top-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}

.top-hero__title {
  max-width: 980px;
  color: var(--color02);
  font-size: clamp(2.7rem, 1.718rem + 4vw, 3rem);
  font-weight: var(--fw-medium);
  line-height: 1.25;
  letter-spacing: 0.05em;
}

.top-hero__lead {
  max-width: 760px;
  margin-top: 30px;
  color: var(--color02);
  line-height: 2;
}

.top-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.top-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-width: 250px;
  padding: 18px 22px;
  border: 1px solid var(--color02);
  font-size: 15px;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.top-button:hover {
  transform: translateY(-2px);
}

.top-button--primary {
  color: var(--color05);
  background: var(--color02);
}

.top-button--primary:hover {
  color: var(--color02);
  background: transparent;
}

.top-button--outline {
  color: var(--color02);
  background: transparent;
}

.top-button--outline:hover {
  color: var(--color05);
  background: var(--color02);
}

.top-hero__profile {
  padding: 30px;
  border: 1px solid rgba(198, 155, 103, 0.25);
  background: rgba(255, 255, 255, 0.025);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
}

.top-hero__profile-label {
  color: var(--color04);
  font-size: 12px;
  letter-spacing: 0.24em;
}

.top-hero__profile-name {
  margin-top: 18px;
  color: var(--color02);
  font-size: 24px;
  font-weight: var(--fw-medium);
}

.top-hero__profile-name span {
  display: block;
  margin-top: 7px;
  font-size: 11px;
  letter-spacing: 0.2em;
}

.top-hero__profile-text {
  margin-top: 22px;
  color: var(--color02);
  font-size: 14px;
  line-height: 1.9;
}

.top-hero__contact-list {
  margin-top: 26px;
  border-top: 1px solid rgba(198, 155, 103, 0.18);
}

.top-hero__contact-list > div {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(198, 155, 103, 0.18);
}

.top-hero__contact-list dt,
.top-hero__contact-list dd,
.top-hero__contact-list a {
  font-size: 13px;
  line-height: 1.6;
}

.top-hero__contact-list dt {
  color: var(--color04);
}

.top-hero__contact-list dd {
  color: var(--color02);
  overflow-wrap: anywhere;
}

/* Message */
.top-message {
  border-top: 1px solid rgba(198, 155, 103, 0.14);
}

.top-message__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(48px, 9vw, 140px);
}

.top-message__body {
  max-width: 740px;
}

.top-message__body p {
  color: var(--color02);
  line-height: 2.1;
}

.top-message__body p + p {
  margin-top: 1.3em;
}

.top-text-link {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  margin-top: 30px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(198, 155, 103, 0.7);
  color: var(--color02);
}

/* Services */
.top-services {
  position: relative;
  background: rgba(198, 155, 103, 0.025);
}

.top-services__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(198, 155, 103, 0.22);
  border-left: 1px solid rgba(198, 155, 103, 0.22);
}

.top-service-card {
  min-height: 320px;
  padding: clamp(28px, 4vw, 52px);
  border-right: 1px solid rgba(198, 155, 103, 0.22);
  border-bottom: 1px solid rgba(198, 155, 103, 0.22);
  transition: background-color 0.3s ease;
}

.top-service-card:hover {
  background: rgba(198, 155, 103, 0.06);
}

.top-service-card__number {
  color: rgba(198, 155, 103, 0.4);
  font-size: 13px;
  letter-spacing: 0.2em;
}

.top-service-card__en {
  margin-top: 46px;
  color: rgba(198, 155, 103, 0.65);
  font-size: 11px;
  letter-spacing: 0.18em;
}

.top-service-card__title {
  margin-top: 12px;
  color: var(--color02);
  font-size: clamp(1.4rem, 1.2rem + 0.7vw, 2rem);
}

.top-service-card__text {
  max-width: 560px;
  margin-top: 20px;
  color: var(--color02);
  font-size: 15px;
  line-height: 1.9;
}

.top-services__more {
  text-align: right;
}

/* Strengths */
.top-strengths__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.top-strength-card {
  padding: 34px 28px;
  border-top: 1px solid rgba(198, 155, 103, 0.5);
}

.top-strength-card__number {
  color: rgba(198, 155, 103, 0.45);
  font-size: 13px;
}

.top-strength-card__title {
  margin-top: 30px;
  color: var(--color02);
  font-size: 22px;
}

.top-strength-card__text {
  margin-top: 18px;
  color: var(--color02);
  font-size: 14px;
  line-height: 1.9;
}

/* Process */
.top-process {
  background: rgba(255, 255, 255, 0.018);
}

.top-process__list {
  border-top: 1px solid rgba(198, 155, 103, 0.22);
}

.top-process__item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 30px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(198, 155, 103, 0.22);
}

.top-process__number {
  color: rgba(198, 155, 103, 0.45);
  font-size: 13px;
}

.top-process__title {
  color: var(--color02);
  font-size: 21px;
}

.top-process__text {
  margin-top: 10px;
  color: var(--color02);
  font-size: 14px;
  line-height: 1.85;
}

/* News */
.top-news__list {
  border-top: 1px solid rgba(198, 155, 103, 0.22);
}

.top-news__item {
  border-bottom: 1px solid rgba(198, 155, 103, 0.22);
}

.top-news__item a {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 26px;
  align-items: center;
  padding: 24px 0;
  transition: opacity 0.3s ease;
}

.top-news__item a:hover {
  opacity: 0.7;
}

.top-news__item time {
  color: var(--color04);
  font-size: 13px;
}

.top-news__item h3 {
  color: var(--color02);
  font-size: 17px;
  line-height: 1.6;
}

/* Contact */
.top-contact {
  border-top: 1px solid rgba(198, 155, 103, 0.2);
}

.top-contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(48px, 9vw, 140px);
  align-items: end;
}

.top-contact__title {
  color: var(--color02);
  font-size: clamp(2.4rem, 1.7rem + 3vw, 3rem);
  line-height: 1.3;
  letter-spacing: 0.06em;
}

.top-contact__text {
  margin-top: 24px;
  color: var(--color02);
  line-height: 2;
}

.top-contact__details {
  display: grid;
  gap: 16px;
}

.top-contact__detail {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(198, 155, 103, 0.22);
}

.top-contact__detail-label {
  color: rgba(198, 155, 103, 0.6);
  font-size: 12px;
}

.top-contact__detail span:last-child {
  overflow-wrap: anywhere;
}

.top-contact__social {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 42px;
}

.top-contact__social a {
  color: rgba(198, 155, 103, 0.75);
  font-size: 13px;
}

@media screen and (max-width: 1024px) {
  .top-hero__inner,
  .top-message__grid,
  .top-contact__inner {
    grid-template-columns: 1fr;
  }

  .top-hero__profile {
    max-width: 680px;
  }

  .top-strengths__grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 830px) {
  .top-section-heading--row {
    display: block;
  }

  .top-section-heading__description {
    margin-top: 20px;
  }

  .top-services__grid {
    grid-template-columns: 1fr;
  }

  .top-service-card {
    min-height: auto;
  }
}

@media screen and (max-width: 630px) {
  .top-hero {
    min-height: auto;
  }

  .top-hero__title {
    font-size: clamp(2.3rem, 1.8rem + 2.5vw, 3.1rem);
  }

  .top-hero__actions,
  .top-button {
    width: 100%;
  }

  .top-hero__profile {
    padding: 22px;
  }

  .top-process__item {
    grid-template-columns: 52px 1fr;
    gap: 16px;
  }

  .top-news__item a {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .top-news__item time {
    grid-column: 1 / -1;
  }

  .top-contact__detail {
    grid-template-columns: 1fr;
    gap: 7px;
  }
}
