/* TOP ページ */
.hero {
  position: relative;
  height: 799px;
}
.hero__inner {
  position: relative;
  z-index: 1;
  width: 820px;
  margin: 0 auto;
  padding-top: 276px;
  text-align: center;
}
.hero__lead {
  padding-left: 3px;
  text-align: left;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
.hero__title {
  margin-top: -7px;
  font-size: 180px;
  font-weight: 740;
  margin-left: -9px; /* 字形の左の余白を打ち消し、左端をリード文と揃える */
  text-align: left;
  line-height: 1;
  letter-spacing: 0;
}
.hero__catch {
  margin-top: 21px;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
}
.hero__catch-sub {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
}

.top-body {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: var(--yellow);
  padding: 74px 0 185px;
}
/* JS が動くときはイエローを固定のベール（.veil--yellow）で出す */
.js .top-body { background: none; }
.js .top-body .sec-head { transition: border-color 0.8s; }
.js .veil:not(.is-on) ~ .top-body .sec-head { border-color: transparent; } /* 白い罫線もイエローと一緒に出す */
.top-sec { position: relative; }
.top-sec + .top-sec { margin-top: 72px; }

/* PHILOSOPHY / COMPANY: 左にテキストカード、右に画像 */
.split { display: grid; grid-template-columns: 775px 460px; gap: 9px; height: 320px; }
.split__text { position: relative; padding: 73px 62px 0; }
.split__media { border-radius: 10px; overflow: hidden; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split .btn-more { position: absolute; right: 28px; bottom: 26px; }

.philo__title { font-size: 28px; font-weight: 700; line-height: 1; letter-spacing: 0.07em; }
.philo__body { margin-top: 26px; font-size: 16px; font-weight: 500; line-height: 32px; letter-spacing: 0.02em; }

/* SERVICE カード */
.svc-cards { display: grid; grid-template-columns: repeat(4, 304px); gap: 9.33px; }
.svc-card {
  position: relative;
  height: 393px;
  border-radius: 10px;
  overflow: hidden;
  color: var(--white);
  text-align: center;
}
.svc-card img { width: 100%; height: 100%; object-fit: cover; }
.svc-card__name {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
}
.svc-card__lead {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 34px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
}

/* NEWS */
.news-box { position: relative; height: 248px; padding: 66px 60px 0; }
.news-box li { display: flex; align-items: center; height: 48px; font-size: 16px; }
.news-box time { width: 106px; font-size: 18px; font-weight: 500; letter-spacing: 0.02em; }
.news-box li::before { content: none; }
.news-box .sep { width: 24px; color: #888; }
.news-box .ttl { font-weight: 700; }
.news-box .btn-more { position: absolute; right: 28px; bottom: 26px; }
.news-box ul { margin-top: -14px; }

/* WORK&CULTURE */
.wc-cards { display: grid; grid-template-columns: repeat(2, 618px); gap: 8px; }
.wc-card { position: relative; height: 387px; border-radius: 10px; overflow: hidden; color: var(--white); text-align: center; }
.wc-card img { width: 100%; height: 100%; object-fit: cover; }
.wc-card__name {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 600;
  line-height: 1;
}
.wc-card__lead { position: absolute; left: 0; right: 0; bottom: 34px; font-size: 12px; font-weight: 500; line-height: 1; }

/* COMPANY */
.company__name { display: flex; align-items: baseline; gap: 12px; font-size: 34px; font-weight: 700; line-height: 1; }
.company__name small { font-size: 14px; font-weight: 500; }
.company__info { margin-top: 26px; display: grid; grid-template-columns: 107px 1fr; row-gap: 0; font-size: 15px; font-weight: 500; line-height: 30px; }
.company__info dt { width: 88px; text-align-last: justify; }
.split--company .split__text { padding: 56px 58px 0; }
.split__media iframe { width: 100%; height: 100%; border: 0; display: block; }

/* MEDIA */
.media-list { display: flex; gap: 5px; }
.media-list a { border-radius: 8px; overflow: hidden; height: 131px; }
.media-list img { height: 131px; width: auto; }

/* カードはホバーでモノクロからカラーへ */
.svc-card .is-color,
.wc-card .is-color { position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s; }
.svc-card:hover .is-color,
.wc-card:hover .is-color { opacity: 1; }
.svc-card__name, .svc-card__lead, .wc-card__name, .wc-card__lead { z-index: 1; }
