:root {
  --navy: #0b1f3b;
  --navy-2: #122a4a;
  --navy-hover: #0b2341;
  --navy-btn: #0b2341;
  --navy-btn-hover: #17365d;
  --nav-default: #3f4a5a;
  --text: #0b1f3b;
  --muted: rgba(11, 31, 59, 0.72);
  --line: rgba(11, 31, 59, 0.14);
  --soft: rgba(11, 31, 59, 0.06);
  --white: #ffffff;
  --radius: 18px;
  --container: 1240px;
  --font: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-title: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Back to top */
.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(11, 35, 65, 0.12);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  color: #0b2341;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
  z-index: 60;
}
.back-to-top svg {
  width: 18px;
  height: 18px;
}
.back-to-top:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.98);
}
.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* Mailto links (keep typography, avoid default blue) */
.footer a[href^="mailto:"],
.contact a[href^="mailto:"] {
  color: inherit;
  text-decoration: none;
}
.footer a[href^="mailto:"]:hover,
.contact a[href^="mailto:"]:hover {
  text-decoration: underline;
}

/* Mobile menu (dropdown) */
.mobile-menu-toggle {
  display: none;
}
.mobile-menu {
  display: none;
}
.mobile-menu.is-open {
  display: block;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #000;
  color: #fff;
  z-index: 50;
}
.skip-link:focus {
  left: 10px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
  padding: 20px 0;
}

.logo {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  min-width: 280px;
}
.logo__title {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 24px;
  line-height: 1.1;
}
.logo__sub {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.1;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  flex-wrap: wrap;
}
.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--nav-default);
  position: relative;
  padding: 6px 12px;
  border-radius: 6px;
  background-color: transparent;
  transition: background-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
}
.nav__link:hover {
  color: var(--navy-hover);
  background-color: rgba(11, 35, 65, 0.06);
}
.nav__divider {
  width: 1px;
  height: 20px;
  background: var(--line);
}
.nav__lang {
  font-size: 14px;
  font-weight: 500;
  color: var(--nav-default);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease;
  cursor: pointer;
}
.nav__lang:hover {
  color: var(--navy-hover);
}
.nav__lang.is-active {
  border-bottom-color: var(--text);
}
.nav__btn {
  margin-left: 6px;
  font-size: 14px;
  background: var(--navy-btn);
  color: #fff;
  height: 40px;
  padding: 0 20px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.2s ease;
  cursor: pointer;
}
.nav__btn-ico {
  width: 16px;
  height: 16px;
  display: inline-block;
}
.nav__btn-ico svg {
  width: 16px;
  height: 16px;
}
.nav__btn:hover {
  background: var(--navy-btn-hover);
}

/* Hero */
.hero {
  position: relative;
  min-height: 540px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(
      90deg,
      rgba(248, 248, 248, 0.96) 0%,
      rgba(248, 248, 248, 0.9) 28%,
      rgba(248, 248, 248, 0.72) 48%,
      rgba(248, 248, 248, 0.32) 68%,
      rgba(248, 248, 248, 0) 100%
    ),
    url("./assets/01_city_skyline.png");
  background-size: cover;
  background-position: center right;
  transform: scale(1.02);
}
.hero__inner {
  position: relative;
  padding: 104px 0;
}
.hero__copy {
  max-width: 640px;
  margin-left: -8px;
}
.hero__title {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--navy);
  font-size: clamp(46px, 3.7vw, 48px);
  line-height: 1.45;
}
.hero__rule {
  width: 58px;
  height: 2px;
  background: var(--navy);
  margin: 18px 0 18px;
}
.hero__lead {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: #1e2a3b;
  letter-spacing: 0.01em;
  max-width: 44ch;
  line-height: 1.7;
}

/* Sections */
.section {
  padding: 60px 0;
}
.section--tight {
  padding: 52px 0;
}
.section__header {
  margin-bottom: 28px;
}
.section__header--center {
  text-align: center;
}
.section__title {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-title);
  font-weight: 600;
  letter-spacing: 0.01em;
  font-size: 28px;
  line-height: 1.25;
}
.section__lead {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 70ch;
  font-size: 14px;
}

/* Services */
.services .section__title {
  font-family: var(--font);
  font-weight: 600;
  font-size: 24px;
}
.services__grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
}
.services__vline {
  width: 1px;
  background: var(--line);
  margin: 10px 0;
}
.service {
  padding: 0 26px;
  text-align: center;
}
.service__icon {
  width: 48px;
  height: 48px;
  color: var(--navy);
  margin: 0 auto;
}
.service__icon svg {
  width: 48px;
  height: 48px;
}
.service__title {
  margin: 14px 0 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
}
.service__text {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14.5px;
}

/* Business areas */
.areas {
  display: grid;
  grid-template-columns: repeat(2, minmax(600px, 610px));
  gap: 20px;
  justify-content: center;
  margin: 0 auto;
}
.area-card {
  display: grid;
  grid-template-columns: 0.5fr 0.5fr;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 306px;
  box-shadow: 0 18px 40px rgba(11, 31, 59, 0.12);
  border: 1px solid rgba(11, 31, 59, 0.08);
}
.area-card__media {
  position: relative;
  overflow: hidden;
}
.area-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
}

@media (min-width: 769px) {
  .area-card {
    grid-template-columns: 45% 55%;
  }
}
.area-card__content {
  padding: 26px 26px 22px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.area-card--navy .area-card__content {
  background: linear-gradient(180deg, rgba(7, 29, 59, 0.98), rgba(10, 35, 70, 0.98));
}
.area-card--green .area-card__content {
  background: linear-gradient(180deg, rgba(41, 61, 50, 0.96), rgba(44, 66, 55, 0.96));
}
.area-card__title {
  margin: 0;
  font-size: 26px;
  white-space: nowrap;
  letter-spacing: 0.01em;
  font-weight: 600;
}
.area-card__title .title-short {
  display: none;
}
.area-card__sub {
  margin: 6px 0 0;
  opacity: 0.92;
  font-size: 14.5px;
}
.area-card__rule {
  height: 1px;
  width: 100%;
  margin: 14px 0 14px;
  background: rgba(255, 255, 255, 0.26);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
  font-size: 16px;
}
.checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.checklist li::before {
  content: "";
  width: 16px;
  height: 16px;
  margin-top: 3px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='7.2' fill='rgba(255,255,255,0.16)' stroke='rgba(255,255,255,0.36)' stroke-width='1.2'/%3E%3Cpath d='M12.3 5.5 7.1 10.7 4.1 7.7' fill='none' stroke='rgba(255,255,255,0.95)' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 16px 16px no-repeat;
}

/* Strengths */
.strengths .section__title {
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}
.strengths .section__title::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 2px;
  width: 48px;
  height: 2px;
  background: var(--navy);
}
.strengths__grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr 1px 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
}
.strengths__vline {
  width: 1px;
  background: var(--line);
  margin: 10px 0;
}
.strength {
  padding: 0 22px;
  text-align: left;
}
.strength__icon {
  width: 44px;
  height: 44px;
  color: var(--navy);
}
.strength__icon svg {
  width: 44px;
  height: 44px;
}
.strength__title {
  margin: 14px 0 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
}
.strength__text {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14.5px;
}

/* About */
.about {
  display: grid;
  grid-template-columns: 1fr 580px;
  gap: 26px;
  align-items: center;
}
.about .section__title {
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}
.about .section__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 44px;
  height: 2px;
  background: var(--navy);
}
.about__text {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  max-width: 34ch;
}
.about__img {
  width: 100%;
  height: 220px;
  display: block;
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(11, 31, 59, 0.14);
  object-fit: cover;
}

/* Footer */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.94);
  padding: 56px 0 46px;
}
.footer__inner {
  display: block;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.9fr;
  gap: 40px;
  align-items: start;
}
.footer-col__title {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 17px;
}
.footer-col__text {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.85;
  opacity: 0.92;
}
.footer__bottom {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 12.5px;
  opacity: 0.85;
}

@media (max-width: 980px) {
  .hero__copy {
    margin-left: 0;
  }
  .logo {
    min-width: 0;
  }
  .hero {
    min-height: 460px;
  }
  .services__grid {
    grid-template-columns: 1fr;
    border: 0;
    padding: 0;
    gap: 14px;
  }
  .services__vline {
    display: none;
  }
  .service {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
  }
  .service:last-child {
    border-bottom: 0;
  }
  .areas {
    grid-template-columns: 1fr;
  }
  .area-card {
    grid-template-columns: 1fr;
  }
  .area-card__media {
    height: 200px;
  }
  .strengths__grid {
    grid-template-columns: 1fr;
    border: 0;
    padding: 0;
    gap: 14px;
  }
  .strengths__vline {
    display: none;
  }
  .strength {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
  }
  .strength:last-child {
    border-bottom: 0;
  }
  .about {
    grid-template-columns: 1fr;
  }
  .about__text {
    max-width: 100%;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .footer__bottom {
    margin-top: 18px;
  }
}

@media (max-width: 768px) {
  .nav,
  .header__nav,
  .nav__links,
  .nav__lang,
  .nav__btn {
    display: none !important;
  }

  .container {
    width: min(var(--container), calc(100% - 64px));
  }

  /* Header (logo + hamburger only) */
  .header__inner {
    position: relative;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-height: auto;
    padding: 14px 0;
    gap: 16px;
  }
  .logo__title {
    font-size: 28px;
  }
  .logo__sub {
    font-size: 12px;
  }
  .nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex !important;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid rgba(11, 35, 65, 0.14);
    border-radius: 10px;
    background: #fff;
    padding: 0;
    cursor: pointer;
  }
  .mobile-menu-toggle span {
    display: block !important;
    width: 22px;
    height: 2px;
    background: #0b2341 !important;
    border-radius: 999px;
  }

  .mobile-menu {
    background: #fff;
    border-top: 1px solid rgba(11, 35, 65, 0.08);
    border-bottom: 1px solid rgba(11, 35, 65, 0.08);
    padding: 8px 0;
  }
  .mobile-menu a {
    display: block;
    padding: 14px 24px;
    border-bottom: 1px solid rgba(11, 35, 65, 0.06);
    color: #0b2341;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
  }
  .mobile-menu a:last-child {
    border-bottom: 0;
  }

  /* Hero */
  .hero {
    min-height: 560px;
  }
  .hero__inner {
    padding: 92px 0 82px;
  }
  .hero__copy {
    max-width: 32ch;
  }
  .hero__title {
    font-size: clamp(32px, 7vw, 38px);
    line-height: 1.32;
  }
  .hero__lead {
    font-size: 15px;
    line-height: 1.65;
    opacity: 0.92;
    max-width: 80%;
  }

  .hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.6);
    pointer-events: none;
  }

  /* Services */
  .services__grid {
    gap: 0;
  }
  .service {
    padding: 16px 0;
  }
  .service__icon {
    width: 52px;
    height: 52px;
  }
  .service__icon svg {
    width: 52px;
    height: 52px;
  }
  .service__title {
    font-size: 26px;
  }
  .service__text {
    font-size: 18px;
  }

  /* Business areas */
  .areas {
    gap: 18px;
  }
  .area-card__media {
    height: 300px;
  }
  .area-card__content {
    padding: 30px;
  }
  .area-card__title {
    font-size: 36px;
  }
  .area-card__title .title-full {
    display: none;
  }
  .area-card__title .title-short {
    display: inline;
  }
  .checklist {
    font-size: 22px;
  }

  /* Strengths */
  .strengths__grid {
    gap: 0;
  }
  .strength {
    padding: 16px 0;
  }
  .strength__icon {
    width: 48px;
    height: 48px;
  }
  .strength__icon svg {
    width: 48px;
    height: 48px;
  }
  .strength__title {
    font-size: 24px;
  }
  .strength__text {
    font-size: 18px;
  }

  /* About */
  .about {
    gap: 18px;
  }
  .about__img {
    height: 200px;
  }

  /* Footer */
  .footer__grid {
    gap: 28px;
  }
  .footer-col__title {
    font-size: 22px;
  }
  .footer-col__text {
    font-size: 15px;
    line-height: 1.6;
  }
  .footer__bottom {
    font-size: 11.5px;
  }

  .back-to-top {
    right: 18px;
    bottom: 18px;
  }
}

/* Typography override for Chinese page only (do not affect JP) */
html[lang="zh-CN"] body {
  font-family: "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", "PingFang SC",
    "Helvetica Neue", Arial, sans-serif;
}

html[lang="zh-CN"] .logo__title,
html[lang="zh-CN"] .logo__sub,
html[lang="zh-CN"] .nav__link,
html[lang="zh-CN"] .nav__lang,
html[lang="zh-CN"] .nav__btn,
html[lang="zh-CN"] .hero__title,
html[lang="zh-CN"] .hero__lead,
html[lang="zh-CN"] .section__title,
html[lang="zh-CN"] .section__lead,
html[lang="zh-CN"] .service__title,
html[lang="zh-CN"] .service__text,
html[lang="zh-CN"] .area-card__title,
html[lang="zh-CN"] .area-card__sub,
html[lang="zh-CN"] .checklist,
html[lang="zh-CN"] .strength__title,
html[lang="zh-CN"] .strength__text,
html[lang="zh-CN"] .about__text,
html[lang="zh-CN"] .footer-col__title,
html[lang="zh-CN"] .footer-col__text,
html[lang="zh-CN"] .footer__bottom {
  font-family: "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", "PingFang SC",
    "Helvetica Neue", Arial, sans-serif;
}

html[lang="zh-CN"] .hero__title,
html[lang="zh-CN"] .section__title,
html[lang="zh-CN"] .service__title,
html[lang="zh-CN"] .area-card__title,
html[lang="zh-CN"] .footer-col__title {
  font-weight: 700;
}

html[lang="zh-CN"] .strength__title {
  font-weight: 600;
}

html[lang="zh-CN"] .hero__title {
  word-break: keep-all;
  line-break: strict;
}

@media (max-width: 768px) {
html[lang="zh-CN"] .hero__copy {
    max-width: 36ch;
  }
}

/* FAQ (append-only) */
.faq__list {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.faq__item {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.faq__item:first-child {
  border-top: 0;
}
.faq__q {
  color: var(--navy);
  font-weight: 600;
  font-size: 16px;
}
.faq__a {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .faq__item {
    padding: 14px 0;
  }
  .faq__q {
    font-size: 15px;
  }
  .faq__a {
    font-size: 14px;
  }
}
