@charset "utf-8";

:root {
  --kpmg-blue: #00338d;
  --kpmg-blue-bright: #005eb8;
  --kpmg-purple: #7213ea;
  --kpmg-rule: #d9e2f1;
  --kpmg-footer: #0c233c;
}

html,
body.kpmg-subpage-2026 {
  overflow-x: hidden;
}

@supports (overflow: clip) {
  html,
  body.kpmg-subpage-2026 {
    overflow-x: clip;
  }
}

body.kpmg-subpage-2026 {
  margin: 0;
  color: #333;
  background: #fff;
  font-family: "noto-sans-cjk-jp", "Noto Sans JP", Arial, sans-serif;
}

.kpmg-subpage-2026 *,
.kpmg-subpage-2026 *::before,
.kpmg-subpage-2026 *::after {
  box-sizing: border-box;
}

/* Header: same renewed treatment as index.html */
.kpmg-site-header-2026 {
  position: relative;
  z-index: 20;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #e5eaf2;
}

.kpmg-site-header-2026__inner {
  width: min(1200px, 100%);
  min-height: 50px;
  margin: 0 auto;
  padding: 0 10px;
  display: flex;
  align-items: center;
}

.kpmg-site-header-2026__brand {
  display: inline-flex;
  align-items: center;
  color: var(--kpmg-blue);
  text-decoration: none;
}

.kpmg-site-header-2026__brand:hover {
  color: var(--kpmg-blue);
  text-decoration: none;
  opacity: .82;
}

.kpmg-site-header-2026__logo {
  display: block;
  width: 82px;
  object-fit: contain;
}

/* Page frame */
.kpmg-subpage-2026 .main {
  width: 100%;
  margin: 0;
}

/* Hero: same asset and structure as index.html Global Opportunities, no arrow */
.kpmg-subpage-2026 .kpmg-global {
  position: relative;
  width: 100%;
  min-height: 230px;
  margin: 0;
  overflow: hidden;
  background: #0b3264 url('../img/2026/global-city.jpg') center center / cover no-repeat;
}

.kpmg-subpage-2026 .kpmg-global::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(2,32,76,.95) 0%,
    rgba(2,32,76,.76) 32%,
    rgba(2,32,76,.22) 70%,
    rgba(2,32,76,.05) 100%
  );
}

.kpmg-subpage-2026 .kpmg-global__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  min-height: 230px;
  margin: 0 auto;
  padding: 34px;
  display: flex;
  align-items: center;
}

.kpmg-subpage-2026 .kpmg-global__title {
  display: block;
  width: min(430px, 43vw);
  height: auto;
}

/* Main content */
.overseas-content {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 26px 0 36px;
}

.overseas-section {
  padding: 0;
  margin: 0 0 26px;
}

.overseas-section:last-child {
  margin-bottom: 0;
}

.overseas-section__heading {
  margin: 0 0 14px;
  padding: 8px 14px 9px;
  background: linear-gradient(90deg, #7213ea 0%, #1e49e2 50%, #005eb8 100%);
  color: #fff;
  font-size: 21px;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: .015em;
  border-radius: 0;
}

/* Existing schedule artwork is kept exactly as supplied. */
.overseas-schedule__picture,
.overseas-schedule__image {
  display: block;
  width: 100%;
}

.overseas-schedule__image {
  height: auto;
  border: 0;
  border-radius: 0;
}

/* Campus recruiting */
.overseas-campus__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.overseas-cr-card {
  min-height: 126px;
  padding: 20px 18px 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  text-decoration: none;
  background-color: #2c46c7;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  border: 0;
  border-radius: 0;
  transition: opacity .2s ease;
}

.overseas-cr-card {
  position: relative;
  overflow: hidden;
}

.overseas-cr-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(114,19,234,.80) 0%, rgba(63,45,232,.50) 48%, rgba(0,94,184,.20) 100%);
}

.overseas-cr-card > * {
  position: relative;
  z-index: 1;
}

.overseas-campus__grid .overseas-cr-card:nth-child(1) {
  background-image: url('../img/2026/campus_north-america.png');
}

.overseas-campus__grid .overseas-cr-card:nth-child(2) {
  background-image: url('../img/2026/campus_europe.png');
}

.overseas-campus__grid .overseas-cr-card:nth-child(3) {
  background-image: url('../img/2026/campus_australia.png');
}

.overseas-campus__grid .overseas-cr-card:nth-child(4) {
  background-image: url('../img/2026/campus_asia.png');
}

.overseas-cr-card:hover {
  color: #fff;
  text-decoration: none;
  opacity: .82;
}

.overseas-cr-card__body {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.overseas-cr-card__title {
  font-size: 17px;
  line-height: 1.25;
  font-weight: 700;
}

.overseas-updated {
  flex: 0 0 auto;
  padding: 2px 4px;
  color: #00338d;
  background: #fff;
  font-size: 8px;
  line-height: 1.2;
  font-weight: 700;
  border-radius: 0;
}

.overseas-cr-card__details {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1;
  color: rgba(255,255,255,.95);
}

@media (max-width: 767.98px) {
  .overseas-cr-card__details {
    text-shadow: 0 1px 5px rgba(0, 0, 0, 1);
  font-size: 13px;
  }
  .overseas-cr-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(114,19,234,.80) 0%, rgba(63,45,232,.40) 48%, rgba(0,94,184,.80) 100%);
}
}


/* Firm links */
.overseas-firms__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.overseas-firm {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: var(--kpmg-blue);
  text-decoration: none;
  border: 1px solid #e0e6ef;
  border-radius: 0;
  background: #fff;
  transition: opacity .2s ease;
}

.overseas-firm:hover {
  color: var(--kpmg-blue);
  text-decoration: none;
  opacity: .78;
}

.overseas-firm__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center top;
  border: 0;
  border-radius: 0;
  margin-bottom: 1px solid #eee;
}

.overseas-firm__footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px;
  gap: 8px;
  align-items: center;
  min-height: 58px;
  padding: 10px 12px;
}

.overseas-firm__name {
  min-width: 0;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 500;
  color: #1e49e2;
}

.overseas-firm__external {
  align-self: center;
  font-size: 17px;
  line-height: 1;
  color: #005eb8;
}

/* Footer: keep the same structure/treatment as index.html. */
.kpmg-subpage-2026 .site-social-footer {
  background: #7213ea;
  padding: 24px 20px;
}

.kpmg-subpage-2026 .site-social-footer .footer-links {
  margin-top: 16px;
}

.kpmg-subpage-2026 .site-social-footer .footer-links a {
  color: #fff;
  text-decoration: none;
  margin-right: 18px;
  white-space: nowrap;
}

.kpmg-subpage-2026 .site-social-footer .footer-links a:hover {
  text-decoration: underline;
}

.kpmg-subpage-2026 .bg-darkblue {
  background: var(--kpmg-footer) !important;
}

@media (max-width: 991.98px) {
  .overseas-content {
    width: min(100% - 36px, 1200px);
  }

  .overseas-campus__grid,
  .overseas-firms__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .kpmg-site-header-2026__inner {
    min-height: 64px;
    padding: 8px 16px;
  }

  .kpmg-site-header-2026__logo {
    width: 68px;
    height: 40px;
  }

  .kpmg-subpage-2026 .kpmg-global,
  .kpmg-subpage-2026 .kpmg-global__inner {
    min-height: 150px;
  }

  .kpmg-subpage-2026 .kpmg-global {
    background-position: 61% center;
  }

  .kpmg-subpage-2026 .kpmg-global__inner {
    padding: 18px;
  }

  .kpmg-subpage-2026 .kpmg-global__title {
    width: 250px;
    max-width: 76vw;
  }

  .overseas-content {
    width: calc(100% - 24px);
    padding: 14px 0 24px;
  }

  .overseas-section {
    margin-bottom: 18px;
  }

  .overseas-section__heading {
    margin-bottom: 10px;
    padding: 7px 9px 8px;
    font-size: 15px;
    line-height: 1.35;
  }

  .overseas-campus__grid {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .overseas-cr-card {
    min-height: 66px;
    padding: 10px 12px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 10px;
  }

  .overseas-cr-card__body {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .overseas-cr-card__title {
    font-size: 16px;
  }

  .overseas-cr-card__details {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin-top: 0;
    white-space: nowrap;
  }

  .overseas-firms__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .overseas-firm__footer {
    min-height: 56px;
    padding: 8px;
  }

  .overseas-firm__name {
    font-size: 12px;
    line-height: 1.35;
  }

  .overseas-firm__external {
    font-size: 14px;
  }

  .kpmg-subpage-2026 .site-social-footer {
    padding: 20px 16px;
  }

  .kpmg-subpage-2026 .site-social-footer .footer-links a {
    display: inline-block;
    margin: 0 10px 8px 0;
  }
}
