
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Noto+Sans+JP:wght@400;500;700&display=swap");

:root {
  --font-ja: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-en: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bg: #ffffff;
  --bg-soft: #f8fbff;
  --text: #17283b;
  --muted: #526579;
  --muted-2: #7c8ea2;
  --navy: #10283f;
  --gold: #b3925e;
  --line: rgba(16,40,63,0.10);
  --max: 1180px;
  --section-space: clamp(68px, 7vw, 112px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ja);
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.en,
body.vi {
  font-family: var(--font-en);
  font-weight: 400;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(16,40,63,0.06);
}

.header-inner {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--navy);
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: .14em;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border: 1.8px solid #2f66c5;
  border-radius: 999px;
  position: relative;
  flex: none;
}

.brand-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44px;
  height: 1px;
  transform: translate(-50%, -50%);
  background: linear-gradient(90deg, transparent, #2f66c5, transparent);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.desktop-nav nav {
  display: flex;
  gap: 22px;
}

.desktop-nav nav a,
.lang-switch a {
  font-size: 14px;
  color: var(--muted);
}

.desktop-nav nav a:hover,
.desktop-nav nav a.active,
.lang-switch a:hover,
.lang-switch a.current {
  color: var(--navy);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: .08em;
}

/* Mobile menu: pure HTML/CSS details element so it works in local Chrome without build/deploy. */
.mobile-menu {
  display: none;
  position: relative;
}

.mobile-menu > summary {
  list-style: none;
  cursor: pointer;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
}

.mobile-menu > summary::-webkit-details-marker { display: none; }

.mobile-bars,
.mobile-bars::before,
.mobile-bars::after {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  position: relative;
}

.mobile-bars::before,
.mobile-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.mobile-bars::before { top: -8px; }
.mobile-bars::after { top: 8px; }

.mobile-panel {
  position: fixed;
  inset: 82px 0 auto auto;
  width: min(92vw, 360px);
  min-height: calc(100vh - 82px);
  background: #ffffff;
  padding: 28px 24px 36px;
  box-shadow: -12px 18px 42px rgba(16,40,63,0.16);
  z-index: 110;
}

.mobile-panel::before {
  content: "";
  position: fixed;
  inset: 82px 0 0 0;
  background: rgba(13,26,40,0.28);
  z-index: -1;
}

.mobile-nav {
  display: grid;
  gap: 18px;
}

.mobile-nav a {
  color: var(--navy);
  font-size: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.mobile-lang {
  display: flex;
  gap: 16px;
  margin-top: 30px;
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: .08em;
}

.mobile-lang a {
  color: var(--muted);
}

.hero {
  padding: 0;
}

.hero-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.hero-frame {
  position: relative;
  width: 100%;
  min-height: 620px;
  aspect-ratio: 16 / 8.2;
  overflow: hidden;
  background: #eaf2fb;
}

.hero-frame picture,
.hero-frame img {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-frame img {
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,24,40,0.68) 0%, rgba(8,24,40,0.55) 32%, rgba(8,24,40,0.24) 60%, rgba(8,24,40,0.04) 100%),
    linear-gradient(0deg, rgba(8,24,40,0.20) 0%, rgba(8,24,40,0.03) 55%, rgba(8,24,40,0.10) 100%);
}

.hero-copy-wrap {
  position: absolute;
  left: clamp(24px, 5.5vw, 86px);
  bottom: clamp(36px, 7vw, 82px);
  width: min(calc(100% - 48px), 690px);
  color: #ffffff;
}

.eyebrow,
.kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: rgba(255,255,255,0.88);
}

.hero-title {
  margin: 0;
  font-size: clamp(31px, 4vw, 46px);
  line-height: 1.42;
  font-weight: 700;
  letter-spacing: -0.005em;
  text-shadow: 0 2px 18px rgba(0,0,0,0.28);
  text-wrap: balance;
}

.hero-subtitle {
  margin: 16px 0 0;
  font-family: var(--font-en);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.62;
  color: rgba(255,255,255,0.98);
  text-shadow: 0 2px 14px rgba(0,0,0,0.22);
  text-wrap: pretty;
}

.hero-copy {
  margin: 20px 0 0;
  color: rgba(255,255,255,0.96);
  font-size: 15px;
  line-height: 1.9;
  max-width: 650px;
  font-weight: 500;
  text-shadow: 0 2px 14px rgba(0,0,0,0.18);
  text-wrap: pretty;
}

.hero-copy-mobile {
  display: none;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 24px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,0.72);
  color: #ffffff;
  font-size: 15px;
}

.section {
  padding: var(--section-space) 0;
}

.section.tight {
  padding-top: 72px;
}

.split {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 68px;
  align-items: center;
}

.section-title {
  margin: 0;
  color: var(--navy);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.58;
  font-weight: 700;
  text-wrap: balance;
}

.section-copy {
  margin-top: 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.88;
  text-wrap: pretty;
  word-break: normal;
  overflow-wrap: normal;
}

.minor {
  margin-top: 18px;
  color: var(--muted-2);
  font-size: 15px;
  line-height: 1.82;
  text-wrap: pretty;
}

.visual {
  overflow: hidden;
  background: #f8fbff;
}

.visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
  margin-top: 40px;
}

.service-item h3 {
  margin: 18px 0 12px;
  color: var(--navy);
  font-size: 23px;
  line-height: 1.56;
  font-weight: 700;
  text-wrap: balance;
}

.service-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.86;
  text-wrap: pretty;
  word-break: normal;
  overflow-wrap: normal;
}

.cta-simple {
  margin-top: 28px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 600;
}

.cta-simple a {
  font-family: var(--font-en);
}

.list-simple {
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.list-simple li {
  list-style: none;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  text-wrap: pretty;
}

.page-hero {
  padding: 88px 0 0;
}

.page-hero .section-title {
  max-width: 860px;
}

.info-list {
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.info-list li {
  list-style: none;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
}

.info-list strong {
  color: var(--navy);
  font-weight: 700;
}

.news-list {
  display: grid;
  gap: 24px;
  margin-top: 28px;
}

.news-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
}

.news-date {
  color: var(--gold);
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: .08em;
}

.news-item h3 {
  margin: 0;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 700;
  text-wrap: balance;
}

.news-item p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.82;
  text-wrap: pretty;
}

.notice-copy {
  max-width: 820px;
}

.contact-copy {
  max-width: 880px;
}

.site-footer {
  padding: 34px 0 40px;
}

.footer-inner {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  color: var(--muted-2);
  font-size: 12px;
  font-family: var(--font-en);
  display: flex;
  justify-content: flex-end;
  text-align: right;
}

.hero-break,
.pc-phrase {
  display: inline;
}

@media (max-width: 980px) {
  .pc-break {
    display: none;
  }

  .split,
  .service-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 760px) {
  :root {
    --section-space: clamp(56px, 12vw, 84px);
  }
  .container,
  .header-inner,
  .footer-inner {
    width: min(calc(100% - 32px), var(--max));
  }

  .desktop-nav {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .hero-frame {
    aspect-ratio: 4 / 5;
    min-height: calc(100svh - 74px);
    max-height: calc(100svh - 74px);
  }

  .hero-overlay {
    background: linear-gradient(0deg, rgba(8,24,40,0.84) 0%, rgba(8,24,40,0.56) 54%, rgba(8,24,40,0.12) 100%);
  }

  .hero-copy-wrap {
    width: calc(100% - 32px);
    left: 16px;
    right: 16px;
    bottom: clamp(58px, 13svh, 112px);
  }

  .hero-title {
    font-size: clamp(29px, 8vw, 38px);
    line-height: 1.34;
  }

  .hero-subtitle {
    font-size: 16px;
    line-height: 1.55;
  }

  .hero-copy {
    font-size: 14px;
    line-height: 1.75;
    max-width: none;
  }

  .hero-copy-desktop {
    display: none;
  }

  .hero-copy-mobile {
    display: block;
    font-size: 14px;
    line-height: 1.55;
    max-width: 100%;
  }

  .hero-actions {
    margin-top: 18px;
  }

  .btn-outline {
    padding: 12px 15px;
    font-size: 14px;
  }

  .page-hero {
    padding-top: 72px;
  }

  .info-list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .hero-break,
  .pc-phrase {
    display: inline;
  }
}


.desktop-nav.lang-only nav {
  display: none;
}

.language-note {
  margin-top: 36px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.86;
}

.language-contact {
  margin-top: 28px;
}


.pc-break {
  display: block;
}

.copy-justified {
  text-align: justify;
  text-align-last: left;
}


/* v3.11 responsive break override */
@media (max-width: 980px) {
  .pc-break {
    display: none;
  }
}


.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border-radius: 999px;
  background: #f1f7fc;
  color: var(--navy);
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
}

.service-tag::before {
  content: "#";
  margin-right: 6px;
  color: #2f66c5;
  font-family: var(--font-en);
  font-weight: 700;
}

.view-more {
  display: inline-flex;
  align-items: center;
  margin-top: 22px;
  color: var(--navy);
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
}

@media (max-width: 760px) {
  .service-tags {
    gap: 8px;
  }

  .service-tag {
    font-size: 12px;
    padding: 7px 11px;
  }
}


.phrase {
  display: inline-block;
}

.contact-nowrap {
  white-space: nowrap;
}

.service-item h3 {
  word-break: keep-all;
  overflow-wrap: normal;
}

@media (max-width: 980px) {
  .contact-nowrap {
    white-space: normal;
  }
}

@media (max-width: 760px) {
  .service-item h3 {
    font-size: clamp(26px, 6.5vw, 32px);
    line-height: 1.44;
  }
}


.about-title-break {
  display: block;
}

.service-item .service-tags + p {
  margin-top: 28px;
}

@media (max-width: 760px) {
  .service-item .service-tags + p {
    margin-top: 30px;
  }
}




/* v3.17 header logo refinement */
.brand-logo {
  display: block;
  width: clamp(170px, 15.5vw, 230px);
  height: auto;
  max-height: 62px;
  object-fit: contain;
  image-rendering: auto;
}

/* Use an invisible second line to align one-line service headings with two-line headings. */
.heading-spacer {
  visibility: hidden;
}

@media (max-width: 980px) {
  .heading-spacer {
    display: none;
  }
}

@media (max-width: 760px) {
  .brand-logo {
    width: clamp(150px, 46vw, 194px);
    max-height: 58px;
  }
}


.footer-inner-with-link {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 22px;
}

.footer-public-notice {
  color: inherit;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: .02em;
  opacity: .72;
}

.footer-public-notice:hover {
  opacity: 1;
  text-decoration: underline;
}

@media (max-width: 760px) {
  .footer-inner-with-link {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    text-align: center;
  }
}


.footer-structured {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  grid-template-areas:
    "company links"
    "copy copy";
  align-items: center;
  gap: 18px 34px;
  width: 100%;
}

.footer-company {
  grid-area: company;
}

.footer-company-name {
  color: inherit;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: .04em;
  font-weight: 600;
}

.footer-links {
  grid-area: links;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 14px 22px;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: .02em;
  opacity: .76;
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-copy {
  grid-area: copy;
  text-align: right;
  font-size: 12px;
  opacity: .72;
}

.policy-content {
  margin-top: 48px;
  max-width: 920px;
}

.policy-content h2 {
  margin: 34px 0 12px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--navy);
}

.policy-content p {
  margin: 0 0 18px;
  color: var(--body);
  font-size: 16px;
  line-height: 1.9;
  text-wrap: pretty;
}

.policy-content a {
  color: var(--navy);
}

.policy-date {
  margin-top: 40px !important;
  color: var(--muted) !important;
  font-size: 14px !important;
}

@media (max-width: 760px) {
  .footer-structured {
    grid-template-columns: 1fr;
    grid-template-areas:
      "company"
      "links"
      "copy";
    justify-items: center;
    text-align: center;
    gap: 18px;
  }

  .footer-links {
    justify-content: center;
    gap: 12px 18px;
  }

  .footer-copy {
    text-align: center;
  }

  .policy-content {
    margin-top: 36px;
  }

  .policy-content h2 {
    font-size: 17px;
  }

  .policy-content p {
    font-size: 15px;
    line-height: 1.82;
  }
}


/* v3.26 footer spacing refinement */
.site-footer {
  padding-right: max(32px, env(safe-area-inset-right));
  padding-left: max(32px, env(safe-area-inset-left));
  box-sizing: border-box;
}

.footer-structured {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-right: 8px;
  box-sizing: border-box;
}

.policy-content ul {
  margin: 0 0 22px 1.2em;
  padding: 0;
  color: var(--body);
  font-size: 16px;
  line-height: 1.9;
}

.policy-content li {
  margin: 0 0 6px;
}

.policy-company {
  margin-top: 8px !important;
  color: var(--body) !important;
  font-size: 15px !important;
}

@media (max-width: 760px) {
  .site-footer {
    padding-right: max(22px, env(safe-area-inset-right));
    padding-left: max(22px, env(safe-area-inset-left));
  }

  .footer-structured {
    padding-right: 0;
  }

  .policy-content ul {
    font-size: 15px;
    line-height: 1.82;
  }
}


/* v3.27 404 absolute asset fix */
.not-found-page {
  min-height: 58vh;
  display: flex;
  align-items: center;
}

.not-found-actions {
  margin-top: 34px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.not-found-actions .text-link {
  font-size: 15px;
}

@media (max-width: 760px) {
  .not-found-page {
    min-height: 54vh;
  }

  .not-found-actions {
    gap: 18px;
  }
}


/* v3.29 footer legibility refinement */
.footer-company-name {
  opacity: 1;
  color: var(--navy);
}

.footer-links a {
  opacity: .92;
  color: var(--navy);
}

.footer-copy {
  opacity: .88;
  color: var(--navy);
}

.footer-links a:hover {
  opacity: 1;
}


/* v3.30 privacy policy line-break refinement */
.policy-content {
  max-width: min(100%, 1240px);
}

.policy-content p,
.policy-content li {
  word-break: normal;
  overflow-wrap: normal;
  line-break: strict;
  text-wrap: auto;
}

@media (min-width: 1180px) {
  .policy-content {
    max-width: 1240px;
  }

  .policy-content p {
    max-width: 1180px;
  }
}

@media (max-width: 760px) {
  .policy-content p,
  .policy-content li {
    overflow-wrap: anywhere;
    line-break: auto;
  }
}


/* v3.31 404 header and mobile footer fix */
.not-found-page {
  min-height: 58vh;
  display: flex;
  align-items: center;
}

.not-found-actions {
  margin-top: 34px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.not-found-actions .text-link {
  font-size: 15px;
}

@media (max-width: 900px) {
  .site-footer {
    padding: 34px max(22px, env(safe-area-inset-right)) 40px max(22px, env(safe-area-inset-left)) !important;
  }

  .footer-inner.footer-structured {
    width: 100% !important;
    max-width: 420px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-right: 0 !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  .footer-company,
  .footer-links,
  .footer-copy {
    width: 100% !important;
    text-align: center !important;
  }

  .footer-company-name {
    display: inline-block;
    font-size: 13px;
    line-height: 1.6;
  }

  .footer-links {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px 15px !important;
    line-height: 1.8;
  }

  .footer-links a {
    display: inline-block;
    font-size: 12px;
    line-height: 1.65;
    white-space: nowrap;
  }

  .footer-copy {
    max-width: 330px;
    margin-top: 2px;
    font-size: 11px;
    line-height: 1.65;
    overflow-wrap: normal;
    word-break: normal;
  }

  .not-found-page {
    min-height: 54vh;
  }

  .not-found-actions {
    gap: 18px;
  }
}

@media (max-width: 420px) {
  .footer-inner.footer-structured {
    max-width: 340px !important;
  }

  .footer-links {
    gap: 6px 12px !important;
  }

  .footer-copy {
    max-width: 300px;
  }
}
