/* ==========================================================================
   top.css — トップページ
   ========================================================================== */

/* --- Cover --- */
.top-cover {
  position: relative;
  margin: 89px 60px 0;
  aspect-ratio: 1800 / 790;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.top-cover__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.top-cover__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-cover__inner {
  position: relative;
  padding: 0 0 0 8.33%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.top-cover__heading,
.top-cover__sub,
.top-cover__buttons {
  position: relative;
  z-index: 2;
}

.top-cover__heading {
  font-family: "Arimo", "Noto Sans JP", sans-serif;
  font-size: clamp(36px, 3.63vw, 65.33px);
  font-weight: 700;
  line-height: 1.65;
  color: var(--color-base);
}

.top-cover__sub {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(20px, 2.24vw, 40.288px);
  font-weight: 600;
  margin-top: 6px;
  color: var(--color-navy);
}

.top-cover__sub-x {
  font-size: 2.13em;
  font-weight: 100;
  vertical-align: middle;
  line-height: 0;
  margin: 0 -4px;
}

.top-cover__buttons {
  display: flex;
  gap: 20px;
  margin-top: clamp(24px, 4.44vw, 80px);
}

.top-cover__btn {
  width: clamp(160px, 11.67vw, 210px);
  height: clamp(44px, 3.11vw, 56px);
  font-size: clamp(14px, 1vw, 18px);
  font-weight: 700;
}

/* Cover illustration */
.top-cover__illust {
  position: absolute;
  right: 7.2%;
  top: 6.8%;
  width: 51.7%;
  z-index: 1;
}

.top-cover__illust img {
  width: 100%;
  height: auto;
}

/* --- News --- */
.top-news > .container,
.top-company > .container,
.top-locations > .container {
  max-width: 1320px; /* 1200 + 60×2 */
}

.top-news {
  position: relative;
  z-index: 1;
  padding: clamp(60px, 5.56vw, 100px) 0;
}

.top-news__body {
  display: flex;
  align-items: flex-start;
  gap: 48px;
}

.top-news__header {
  flex-shrink: 0;
  width: clamp(180px, 18.33%, 220px);
}

.top-news__heading {
  font-family: "Caveat", cursive;
  font-size: clamp(48px, 7.5vw, 90px);
  font-weight: 400;
  line-height: 0.67;
  color: var(--color-base);
  margin-bottom: 32px;
}

.top-news__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.8px;
  font-feature-settings: "palt";
  transition: opacity 0.2s ease;
}

.top-news__more:hover {
  opacity: 0.7;
}

.top-news__list {
  flex: 1;
  min-width: 0;
}

.top-news__item {
  border-bottom: 2px solid var(--color-white);
}

.top-news__link {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 50px;
  transition: opacity 0.2s ease;
}

.top-news__link:hover {
  opacity: 0.7;
}

.top-news__date {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.8px;
  font-feature-settings: "palt";
  color: var(--color-base);
  flex-shrink: 0;
}

.top-news__title {
  flex: 1;
  min-width: 0;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.8px;
  font-feature-settings: "palt";
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-news__arrow {
  flex-shrink: 0;
  margin-left: auto;
}

/* --- Company Deck --- */
.top-company {
  position: relative;
  z-index: 1;
  padding: clamp(60px, 5.56vw, 100px) 0;
}

.top-company__body {
  display: flex;
  align-items: flex-start;
  gap: clamp(56px, calc(-200px + 25vw), 130px);
}

.top-company__image-wrap {
  position: relative;
  flex-shrink: 0;
  width: 50%;
  max-width: 600px;
}

.top-company__image {
  overflow: hidden;
}

.top-company__image img {
  width: 100%;
  height: auto;
  display: block;
}

/* PDF Embedder: コンテナ内に収まるように */
.top-company__image .pdfemb-viewer {
  width: 100% !important;
  max-width: 100% !important;
}

.top-company__image canvas {
  max-width: 100%;
  height: auto !important;
}

.top-company__dl-btn {
  display: flex;
  margin: 24px auto 0;
  width: clamp(180px, 80%, 245px);
  height: 47px;
  font-size: clamp(15px, 1.67vw, 20px);
  white-space: nowrap;
}

.top-company__content {
  flex: 1;
  min-width: 0;
  padding-top: 11px;
}

.top-company__content .section-heading {
  margin-bottom: clamp(32px, 3.56vw, 64px);
}

.top-company__text {
  font-size: 16px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: 0.8px;
  font-feature-settings: "palt";
}

/* --- CEO Message --- */
.top-ceo {
  position: relative;
  padding: clamp(60px, 5.56vw, 100px) 0;
  text-align: center;
}

.top-ceo__deco {
  position: absolute;
  width: clamp(200px, 41.4vw, 746px);
  aspect-ratio: 746 / 779;
  pointer-events: none;
  z-index: 0;
}

.top-ceo .container {
  position: relative;
  z-index: 1;
}

.top-ceo__deco--upper {
  left: clamp(-60px, -6.6vw, -119px);
  top: clamp(-120px, -15.7vw, -283px);
}

.top-ceo__deco--lower {
  right: clamp(-40px, -4.6vw, -83px);
  top: clamp(180px, 18.3vw, 330px);
}

.top-ceo .section-heading {
  margin-bottom: clamp(32px, 3.33vw, 60px);
}

.top-ceo__catch {
  text-align: center;
  margin-bottom: clamp(24px, 2.22vw, 40px);
  font-family: "vdl-penletter", sans-serif;
  font-weight: 500;
  font-size: clamp(24px, 2.22vw, 40px);
  line-height: 1.73;
  letter-spacing: 0.05em;
  font-feature-settings: "palt";
  color: var(--color-base);
}

.top-ceo__text {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.top-ceo__text p {
  font-size: clamp(14px, 0.89vw, 16px);
  font-weight: 500;
  line-height: 2.5;
  letter-spacing: 0.8px;
  font-feature-settings: "palt";
}

.top-ceo__text p + p {
  margin-top: 0;
}

.top-ceo__signature {
  max-width: 800px;
  margin: clamp(32px, 3.33vw, 60px) auto 0;
  text-align: right;
  font-family: "vdl-penletter", sans-serif;
  font-weight: 500;
  font-size: clamp(22px, 1.67vw, 30px);
  line-height: 69px;
  letter-spacing: 0.05em;
  font-feature-settings: "palt";
  color: var(--color-base);
}

/* --- ネイビー背景ゾーン（Interviews + Numbers） ---
   Figma: 6:108 背景レイヤー。
   斜めブラシストローク（bg-strokes.svg）でベージュ→ネイビー遷移。
   ::before で対角線クリップのネイビー矩形、SVGでストローク装飾を重ねる。
   --navy-top-left / --navy-top-right: ネイビー開始Y座標（左端/右端） */
.top-navy-zone {
  --strokes-top: calc(103.1px + 18.97vw);
  --strokes-height: calc(100vw * 468 / 1920);
  --navy-top-left: calc(var(--strokes-top) + var(--strokes-height) * 0.75);
  --navy-top-right: calc(var(--strokes-top) + var(--strokes-height) * 0.15);
  position: relative;
  z-index: 1;
}

/* 対角線ネイビー背景（ストローク下部から下を塗りつぶし） */
.top-navy-zone::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--color-navy);
  clip-path: polygon(
    0 var(--navy-top-left),
    100% var(--navy-top-right),
    100% 100%,
    0 100%
  );
  z-index: 0;
}

/* ブラシストロークSVG（対角線境界の装飾） */
.top-navy-zone__strokes {
  position: absolute;
  top: var(--strokes-top);
  left: 0;
  width: 100%;
  height: auto;
  z-index: 0;
  pointer-events: none;
}

/* --- Member Interviews --- */
.top-interviews {
  position: relative;
  z-index: 1;
  padding: clamp(60px, 5.56vw, 100px) 0;
}

.top-interviews__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 120px;
}

.top-interviews .section-heading {
  margin-bottom: 0;
}

.top-interviews__btn {
  display: inline-flex;
  flex-shrink: 0;
  width: 284px;
  height: 64px;
  font-size: 20px;
  gap: 12px;
}

.top-interviews__btn--sp {
  display: none;
}

.top-interviews__btn-sp-wrap {
  display: none;
}

.top-interviews__cards-wrap {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--site-padding);
}

.top-interviews__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4.44vw, 80px);
}

/* --- Interview Card（トップページ用） --- */
.top-interviews__cards .interview-card {
  display: block;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.top-interviews__cards .interview-card:hover {
  opacity: 0.85;
  transform: scale(1.03);
}

.top-interviews__cards .interview-card__visual {
  position: relative;
}

.top-interviews__cards .interview-card__photo {
  aspect-ratio: 440 / 600;
  overflow: hidden;
}

.top-interviews__cards .interview-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.top-interviews__cards .interview-card__title-area {
  position: absolute;
  bottom: 24px;
  left: -12px;
  right: 24px;
  z-index: 1;
}

.top-interviews__cards .interview-card__title {
  font-family: "Arimo", "Noto Sans JP", sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 56px;
  letter-spacing: 0;
  font-feature-settings: "palt";
  color: var(--color-navy);
  background-color: var(--color-white);
  display: inline;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding: 12px 16px;
}

.top-interviews__cards .interview-card__meta {
  margin-top: 30px;
}

.top-interviews__cards .interview-card__role {
  display: block;
  font-family: "Arimo", "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  font-feature-settings: "palt";
  color: var(--color-white);
  margin-bottom: 8px;
}

.top-interviews__cards .interview-card__name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.top-interviews__cards .interview-card__name {
  font-family: "Montserrat", sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-white);
}

.top-interviews__cards .interview-card__tags {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-interviews__cards .interview-card .tag-pill {
  font-size: 14px;
  line-height: 1;
  padding: 8px 12px;
  background-color: transparent;
}

/* --- Numbers --- */
.top-numbers {
  position: relative;
  z-index: 1;
  padding: clamp(60px, 5.56vw, 100px) 0 0;
  color: var(--color-white);
}

.top-numbers .section-heading {
  margin-bottom: clamp(40px, 4.44vw, 80px);
}

.top-numbers .section-heading__en {
  color: var(--color-orange);
}

.top-numbers .section-heading__ja {
  color: var(--color-white);
}

.top-numbers__row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 2.67vw, 48px);
  margin-bottom: clamp(24px, 2.67vw, 48px);
}

.top-numbers__row:last-child {
  margin-bottom: 0;
}

.top-numbers__divider {
  width: 2px;
  height: clamp(60px, 6.28vw, 113px);
  flex-shrink: 0;
}

.top-numbers__item {
  text-align: left;
}

.top-numbers__item-main {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-numbers__icon {
  width: auto;
  height: clamp(40px, 4.44vw, 80px);
  max-width: 120px;
  flex-shrink: 0;
  object-fit: contain;
  opacity: 0.8;
}

.top-numbers__value {
  font-family: "Oswald", sans-serif;
  font-size: clamp(40px, 4.33vw, 78px);
  font-weight: 500;
  line-height: 1;
  background-image: linear-gradient(87.5deg, #ea8b0f 16.6%, #bf5804 93.9%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

.top-numbers__value small {
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(24px, 2.33vw, 42px);
  font-weight: 700;
}

.top-numbers__label {
  display: block;
  font-family: "Noto Sans", "Noto Sans JP", sans-serif;
  font-size: 17px;
  font-weight: 400;
  margin-top: 12px;
}

/* 円グラフ行 */
.top-numbers__charts {
  display: flex;
  justify-content: center;
  gap: clamp(32px, 4.44vw, 80px);
  margin-top: clamp(40px, 4.44vw, 80px);
}

.top-numbers__chart {
  text-align: center;
}

.top-numbers__chart-label {
  font-family: "Noto Sans", "Noto Sans JP", sans-serif;
  font-size: 17px;
  font-weight: 400;
  margin-bottom: 16px;
}

.top-numbers__chart-svg {
  width: clamp(180px, 14.44vw, 260px);
  height: clamp(180px, 14.44vw, 260px);
}

/* --- 2つの拠点 --- */
/* --- Diagonal Transition (Navy → Cream) --- */
.top-diagonal-transition {
  --diag-strokes-top: calc(10px + 2vw);
  --diag-strokes-height: calc(100vw * 468 / 1920);
  --diag-left: calc(var(--diag-strokes-top) + var(--diag-strokes-height) * 0.75);
  --diag-right: calc(var(--diag-strokes-top) + var(--diag-strokes-height) * 0.15);
  position: relative;
  background-color: #FEF6EC;
}

/* 斜めネイビー背景: ストロークSVGの角度に合わせた対角線 */
.top-diagonal-transition::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: calc(var(--diag-left) + 50px);
  background-color: var(--color-navy);
  clip-path: polygon(0 0, 100% 0, 100% var(--diag-right), 0 var(--diag-left));
  z-index: 0;
}

/* ブラシストロークSVG（対角線境界の装飾） */
.top-diagonal-transition__strokes {
  position: absolute;
  top: var(--diag-strokes-top);
  left: 0;
  width: 100%;
  height: auto;
  z-index: 1;
  pointer-events: none;
}

.top-locations {
  position: relative;
  z-index: 2;
  margin-top: -1px;
  padding: clamp(200px, 19.44vw, 350px) 0 clamp(60px, 5.56vw, 100px);
}

.top-locations__visual {
  position: relative;
  width: calc(475px + 24.74vw);
  aspect-ratio: 1005 / 855;
  margin: 0 auto clamp(32px, 3.56vw, 64px);
}

/* 円+透かし文字の一体型SVG背景 */
.top-locations__bg {
  position: absolute;
  top: clamp(40px, 4.17vw, 80px);
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: auto;
  pointer-events: none;
}

/* 見出し: 円の中心付近（bgのtopオフセット分を加算） */
.top-locations__heading-area {
  position: absolute;
  top: calc(50% + clamp(40px, 4.17vw, 80px));
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  white-space: nowrap;
}


/* 東京本社: 円の左上(10時方向)、画面幅に連動して内側に寄る */
.top-locations__tokyo {
  position: absolute;
  top: 2%;
  left: calc(-3% + (1920px - 100vw) * 0.05);
  text-align: center;
  z-index: 2;
}

.top-locations__tokyo .top-locations__illust {
  width: clamp(140px, 16.67vw, 300px);
  height: auto;
}

/* 松山オフィス: 円の右下(4時方向)、画面幅に連動して内側に寄る */
.top-locations__matsuyama {
  position: absolute;
  bottom: -2%;
  right: calc(-6% + (1920px - 100vw) * 0.05);
  text-align: center;
  z-index: 2;
}

.top-locations__matsuyama .top-locations__illust {
  width: clamp(170px, 19.44vw, 350px);
  height: auto;
}

.top-locations__card-name {
  font-family: "Arimo", "Noto Sans JP", sans-serif;
  font-size: clamp(16px, 1.44vw, 27.577px);
  font-weight: 700;
  line-height: 2.27;
  color: var(--color-base);
  font-feature-settings: "palt";
  margin: 10px 0 0;
}

.top-locations__matsuyama .top-locations__card-name {
  margin: 0 0 10px;
}

/* 下部: テキスト左 + ボタン右 */
.top-locations__bottom {
  display: flex;
  align-items: flex-end;
  margin-top: clamp(60px, 8.33vw, 160px);
  justify-content: space-between;
  gap: clamp(24px, 2.22vw, 40px);
}

.top-locations__text {
  flex: 1;
  min-width: 0;
}

.top-locations__sub-heading {
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(20px, 1.67vw, 30px);
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 8px;
}

.top-locations__desc {
  font-size: 16px;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.05em;
  font-feature-settings: "palt";
}

.top-locations__btn {
  flex-shrink: 0;
  width: clamp(220px, 15.78vw, 284px);
  height: clamp(48px, 3.56vw, 64px);
  font-size: clamp(14px, 0.89vw, 16px);
  gap: 12px;
}

/* --- Now Hiring --- */
.top-hiring {
  padding: clamp(60px, 5.56vw, 100px) 0;
}

.top-hiring .section-heading {
  margin-bottom: clamp(40px, 5vw, 96px);
}

.top-hiring__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 3.13vw, 60px);
  margin-bottom: clamp(40px, 4.17vw, 80px);
}

.top-hiring__card {
  display: block;
  background-color: var(--color-navy);
  color: var(--color-white);
  border-radius: var(--radius-card);
  padding: clamp(16px, 1.56vw, 30px);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease;
}

.top-hiring__card.is-visible:hover,
.top-hiring__card:hover {
  transform: translateY(-4px);
}

.top-hiring__card-photo {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 14px;
}

.top-hiring__card-photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.top-hiring__card-title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(15px, 0.94vw, 18px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.05em;
  font-feature-settings: "palt";
  margin-bottom: 12px;
}

.top-hiring__card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* インターンカード用: 白背景+ネイビーテキスト */
.tag-pill--outline-white-filled {
  background-color: var(--color-white);
  color: var(--color-navy);
  border-radius: 100px;
}

.top-hiring__buttons {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 2.6vw, 50px);
}

.top-hiring__btn {
  width: clamp(220px, 14.79vw, 284px);
  height: clamp(48px, 3.33vw, 64px);
  font-size: clamp(15px, 0.94vw, 18px);
  gap: 12px;
}

.top-hiring__btn .link-arrow__icon {
  stroke: currentColor;
}

/* --- レスポンシブ --- */
@media (max-width: 1200px) {
  .top-cover {
    margin: 89px 24px 0;
  }
}

@media (max-width: 1024px) {


  .top-cover {
    border-radius: var(--radius-card);
    margin: 78px 24px 0;
  }

  .top-cover__inner {
    padding: 0 0 0 5%;
  }

  .top-cover__illust {
    width: 50%;
    right: 5%;
    top: 11%;
  }

  .top-company__image-wrap {
    width: 45%;
  }



  .top-interviews__header {
    margin-bottom: 60px;
  }

  .top-interviews__cards-wrap {
    padding: 0 60px;
  }

  .top-interviews__cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .top-numbers__row {
    flex-wrap: wrap;
    gap: 24px;
  }

  .top-numbers__divider {
    display: none;
  }

  .top-numbers__icon {
    height: 60px;
  }

  .top-numbers__value {
    font-size: 56px;
  }

  .top-numbers__value small {
    font-size: 32px;
  }

  .top-numbers__charts {
    flex-wrap: wrap;
    gap: 40px;
  }

  .top-numbers__chart-svg {
    width: 200px;
    height: 200px;
  }

  .top-hiring__cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .top-company__body {
    flex-direction: column;
    gap: 40px;
  }

  .top-company__image-wrap {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .top-navy-zone {
    --strokes-top: clamp(250px, 58.9vw, 452px);
    --navy-top-left: calc(var(--strokes-top) + var(--strokes-height) * 0.75);
    --navy-top-right: calc(var(--strokes-top) + var(--strokes-height) * 0.15);
  }

  .top-cover {
    border-radius: var(--radius-card);
    margin: 72px 24px 0;
    aspect-ratio: auto;
  }

  .top-cover__inner {
    padding: 40px 8px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: auto;
    flex-wrap: nowrap;
  }

  .top-cover__heading {
    font-size: clamp(24px, 7.5vw, 36px);
  }

  .top-cover__illust {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    max-width: 360px;
    margin: 24px 0;
    transform: none;
  }

  .top-cover__buttons {
    flex-direction: column;
    gap: 12px;
    margin-top: 0;
    width: 100%;
    max-width: 280px;
  }

  .top-cover__btn {
    text-align: center;
    width: 90%;
    height: 48px;
    font-size: 15px;
    margin: auto;
  }

  .top-news__body {
    flex-direction: column;
    gap: 24px;
  }

  .top-news__header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .top-news__heading {
    margin-bottom: 0;
  }

  .top-locations__visual {
    width: calc(-5px + 86vw);
  }

  .top-locations__bottom {
    flex-direction: column;
    align-items: center;
  }

  .top-locations__btn {
    width: 90%;
    max-width: 280px;
    height: 48px;
    font-size: 15px;
    justify-content: center;
  }

  .top-interviews__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 40px;
  }


  .top-interviews__cards-wrap {
    padding: 0 24px;
  }

  .top-interviews__cards {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: auto;
  }

  .top-interviews__cards .interview-card__name {
    font-size: 28px;
    margin-right: 20px;
  }

  .top-interviews__btn--pc {
    display: none;
  }

  .top-interviews__btn-sp-wrap {
    display: flex;
    justify-content: center;
    margin-top: 40px;
  }

  .top-interviews__btn--sp {
    display: inline-flex;
    width: 90%;
    max-width: 280px;
    height: 48px;
    font-size: 15px;
    background-color: var(--color-white);
    color: var(--color-navy);
    border-color: var(--color-white);
  }

  .top-numbers__row {
    gap: 24px;
  }

  .top-numbers__icon {
    height: 40px;
  }

  .top-numbers__value {
    font-size: 40px;
  }

  .top-numbers__value small {
    font-size: 24px;
  }

  .top-numbers__charts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .top-numbers__chart-svg {
    width: 180px;
    height: 180px;
  }

  .top-hiring__cards {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .top-hiring__buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .top-hiring__btn {
    width: 90%;
    max-width: 280px;
    height: 48px;
    font-size: 15px;
  }

}

@media (max-width: 480px) {
  .top-ceo__catch {
    text-align: left;
  }

  .top-ceo__catch br {
    display: none;
  }

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

  .top-locations__tokyo .top-locations__illust,
  .top-locations__matsuyama .top-locations__illust {
    width: 35vw;
    max-width: 170px;
  }

  .top-locations__card-name {
    font-size: 13px;
  }
}

@media (max-width: 600px) {
  .top-locations__visual {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    aspect-ratio: auto;
  }

  .top-locations__bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
    width: 160%;
    z-index: 0;
  }

  .top-locations__heading-area {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    z-index: 2;
    width: 100%;
    order: -1;
    margin-bottom: 24px;
    text-align: center;
  }

  .top-locations__tokyo {
    position: relative;
    top: auto;
    left: auto;
    z-index: 2;
    text-align: center;
  }

  .top-locations__matsuyama {
    position: relative;
    bottom: auto;
    right: auto;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column-reverse;
  }

  .top-locations__matsuyama .top-locations__card-name {
    margin: 10px 0 0;
  }

  .top-locations {
    padding-top: clamp(120px, 22vw, 220px);
  }

  .top-locations__bottom {
    position: relative;
    z-index: 3;
  }
}
