
:root {
  --blue: #3b4199;
  --cyan: #c9effa;
  --light-cyan: #f4fbfd;
  --green: #d8e7a6;
  --light-green: #fbfff0;
  --text: #111111;
  --border: #d9d9d9;
  --shadow: 0 3px 14px rgba(0,0,0,.08);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.5;
}
.topline {
  height: 5px;
  background: var(--blue);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.header-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 14px 20px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.site-logo {
  display: block;
  width: 254px;
  height: auto;
  max-width: 100%;
}
.lang-switch {
  font-size: 14px;
  white-space: nowrap;
}
a {
  color: #3959a2;
}
.main-nav {
  max-width: 1040px;
  margin: 0 auto;
  padding: 10px 20px 12px;
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  border-top: 4px solid var(--blue);
  background: #fff;
}
.main-nav a {
  flex: 0 0 auto;
  text-decoration: none;
  color: #111;
  background: #f1f1f1;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 15px;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  color: #fff;
  background: var(--blue);
}
.page {
  max-width: 1040px;
  margin: 0 auto;
  padding: 28px 20px 42px;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0,1.3fr) minmax(260px,.7fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 32px;
}
.hero-card,
.info-card,
.mme-card {
  border: 1px solid #d7edf3;
  background: var(--light-cyan);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
}
.kicker {
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--blue);
  font-weight: bold;
  font-size: 13px;
}
h1, h2, h3 {
  line-height: 1.14;
  margin: .15em 0 .5em;
}
h1 {
  font-size: clamp(30px, 4vw, 48px);
}
h2 {
  font-size: clamp(24px, 3vw, 34px);
}
h3 {
  font-size: 20px;
}
.section {
  padding: 28px 0;
  border-top: 5px solid var(--blue);
}
.section-head {
  max-width: 820px;
  margin-bottom: 18px;
}
.card-grid {
  display: grid;
  gap: 18px;
}
.card-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.offer-card {
  display: block;
  text-decoration: none;
  color: #111;
  border-radius: 18px;
  padding: 18px;
  min-height: 164px;
  box-shadow: var(--shadow);
  border: 1px solid #d7edf3;
}
.offer-card span {
  display: block;
  color: var(--blue);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .06em;
  font-weight: bold;
  margin-bottom: 8px;
}
.offer-card strong {
  display: block;
  font-size: 20px;
  margin-bottom: 10px;
}
.offer-card em {
  display: block;
  font-style: normal;
  color: #555;
  font-size: 14px;
}
.blue {
  background: #f5fbfd;
  border-color: #dff4fb;
}
.cyan {
  background: #f1fbfe;
  border-color: var(--cyan);
}
.green {
  background: var(--light-green);
  border-color: var(--green);
}
.split {
  display: grid;
  grid-template-columns: minmax(260px,.8fr) minmax(0,1.2fr);
  gap: 28px;
  align-items: start;
}
.split.reverse {
  grid-template-columns: minmax(0,1.2fr) minmax(260px,.8fr);
}
.split.reverse > figure {
  order: 2;
}
figure {
  margin: 0;
}
figcaption {
  font-size: 12px;
  color: #555;
  margin-top: 7px;
}
.rounded-img {
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.feedback-section {
  background: linear-gradient(90deg, var(--light-green), #fff);
  padding-left: 18px;
  padding-right: 18px;
  border-radius: 18px;
  border: 1px solid var(--green);
}
.quote-list blockquote {
  margin: 0 0 16px;
  padding: 0 0 0 14px;
  border-left: 4px solid var(--green);
}
.quote-list p {
  font-style: italic;
  margin: 0 0 6px;
}
.quote-list footer {
  font-size: 13px;
  color: #333;
}
.award-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: center;
}
.award-images figcaption {
  grid-column: 1 / -1;
}
.award-images img {
  max-width: 100%;
  height: auto;
}
.icon-card {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  background: var(--light-cyan);
  border: 1px solid #d7edf3;
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.icon-card img {
  width: auto;
  height: auto;
}
.service-visual {
  padding: 0;
  overflow: hidden;
  align-items: stretch;
}
.service-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  max-height: 360px;
  object-fit: cover;
}
.info-card {
  background: #fff;
  border-color: #e1e8ef;
}
.info-card ul,
.hero-card ul {
  padding-left: 20px;
}
.offer-detail {
  display: grid;
  grid-template-columns: 250px minmax(0,1fr);
  gap: 24px;
  align-items: start;
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid #ddd;
}
.folder-img {
  display: block;
  width: 250px;
  max-width: 100%;
  height: auto;
  border: 1px solid #ddd;
  box-shadow: var(--shadow);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}
.chips span {
  background: rgba(255,255,255,.75);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
}
.button {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: bold;
}
.hero-figure img {
  max-width: 100%;
  height: auto;
}
.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px,1fr));
  gap: 14px;
  align-items: center;
}
.logo-grid div {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 12px;
  background: #fff;
}
.logo-grid img {
  max-width: 100%;
  max-height: 56px;
  width: auto;
  height: auto;
}
.project-list {
  columns: 1;
  list-style: none;
  padding: 0;
  margin: 0;
}
.project-list li {
  border-bottom: 1px solid #eee;
  padding: 7px 0;
}
.staff-extra {
  display: block;
  margin-top: 16px;
}
.legal-text {
  max-width: 900px;
}
.site-footer {
  max-width: 1040px;
  margin: 0 auto 30px;
  padding: 16px 20px 0;
  border-top: 5px solid var(--blue);
  color: #333;
  font-size: 14px;
}
@media (max-width: 760px) {
  .header-inner {
    padding: 8px 14px 10px;
  }
  .site-logo {
    width: 112px;
  }
  .lang-switch {
    font-size: 13px;
  }
  .main-nav {
    padding: 10px 14px 12px;
  }
  .main-nav a {
    font-size: 14px;
  }
  .page {
    padding: 22px 14px 34px;
  }
  .hero,
  .split,
  .split.reverse,
  .card-grid.two,
  .card-grid.three,
  .offer-detail {
    grid-template-columns: 1fr;
  }
  .split.reverse > figure {
    order: 0;
  }
  .hero-card,
  .info-card {
    padding: 16px;
  }
  .award-images {
    grid-template-columns: 1fr 1fr;
  }
  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .offer-detail {
    padding: 18px;
  }
  .folder-img {
    width: 250px;
  }
  .icon-card {
    justify-content: flex-start;
    padding: 16px;
  }
}
@media (min-width: 761px) and (max-width: 1024px) {
  .logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .card-grid.three {
    grid-template-columns: 1fr;
  }
}


/* Home feedback + award refinements v2 */
.feedback-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  gap: 30px;
  align-items: start;
  overflow: hidden;
}
.feedback-section figure {
  min-width: 0;
}
.feedback-section .rounded-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.feedback-section > div {
  min-width: 0;
  overflow-wrap: break-word;
}
.quote-list blockquote {
  break-inside: avoid;
}
.award-images {
  align-items: start;
}
.award-images > div {
  min-width: 0;
}
.award-images figcaption {
  margin-top: 7px;
  grid-column: auto;
}
@media (max-width: 760px) {
  .feedback-section {
    grid-template-columns: 1fr;
    padding: 16px;
  }
  .award-images {
    grid-template-columns: 1fr;
  }
}

.project-list-detailed {
  display: grid;
  gap: 0;
}
.project-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}
.project-meta {
  min-width: 0;
}
.project-meta strong {
  display: block;
  margin-bottom: 2px;
  font-size: 16px;
}
.project-meta span {
  display: block;
  color: #5a5a5a;
  font-size: 14px;
}
.project-download {
  flex: 0 0 auto;
  padding: 8px 12px;
  font-size: 14px;
  white-space: nowrap;
}
@media (max-width: 760px) {
  .project-entry {
    flex-direction: column;
    align-items: flex-start;
  }
  .project-download {
    white-space: normal;
  }
  .service-visual img {
    max-height: none;
  }
}


.hero-icon {
  width: min(320px, 100%);
  height: auto;
}
.contact-overview {
  min-width: 0;
}
.contact-card {
  max-width: 560px;
}
.contact-card p {
  margin-top: 0;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-list li {
  padding: 6px 0;
  border-bottom: 1px solid #e8eef4;
}
.contact-list li:last-child {
  border-bottom: 0;
}
.legal-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.legal-card {
  background: #fff;
}
.legal-card h2 {
  margin-top: 0;
  margin-bottom: 12px;
}
.legal-card h3 {
  font-size: 17px;
  margin-top: 18px;
  margin-bottom: 8px;
  color: var(--blue);
}
.compact-list li {
  padding: 7px 0;
}
.legal-note {
  margin-top: 14px;
  color: #444;
  font-size: 14px;
}
@media (max-width: 760px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }
}

.award-images-single {
  grid-template-columns: 1fr;
}
.award-images-single > div {
  max-width: 760px;
}
.award-images-single img {
  display: block;
  width: 100%;
  height: auto;
}


.contact-building-figure {
  display: flex;
  justify-content: center;
  align-items: center;
}
.contact-building-img {
  width: min(420px, 100%);
  height: auto;
  display: block;
}


.legal-card-wide {
  grid-column: 1 / -1;
}
.legal-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 12px;
}
@media (max-width: 760px) {
  .legal-columns {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}


.staff-section {
  align-items: center;
}
.staff-name {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.14;
  margin-top: 0;
  margin-bottom: 16px;
  color: var(--text);
  font-weight: 700;
}
.staff-portrait {
  width: min(360px, 100%);
  height: auto;
  display: block;
}

/* Staff page alignment refinement */
.staff-section {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  align-items: center;
}
.staff-section .hero-figure {
  display: flex;
  justify-content: center;
  align-items: center;
}
.staff-portrait {
  width: min(360px, 100%);
  height: auto;
  display: block;
  object-fit: cover;
}
@media (max-width: 760px) {
  .staff-section {
    grid-template-columns: 1fr;
  }
  .staff-section .hero-figure {
    justify-content: flex-start;
  }
}


.staff-name .staff-title,
.staff-name .staff-person-name {
  display: block;
}
