﻿:root {
  --deep-navy: #021126;
  --ink: #0B1F3A;
  --muted: #4B5F77;
  --line: #D8E2EC;
  --soft: #F6F9FC;
  --white: #ffffff;
  --navy: #061A33;
  --navy-2: #0B1F3A;
  --blue-gray: #4DB3E6;
  --container: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Times New Roman", "Yu Mincho", "Hiragino Mincho ProN", "Yu Gothic", Meiryo, serif;
  line-height: 1.85;
  letter-spacing: 0;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
.skip-link { position: absolute; left: 16px; top: -80px; z-index: 100; padding: 10px 14px; color: var(--white); background: var(--navy); }
.skip-link:focus { top: 16px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--blue-gray); outline-offset: 4px; }
.container { width: min(100% - 48px, var(--container)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.94); border-bottom: 1px solid rgba(228,231,236,0.9); backdrop-filter: blur(18px); }
.header-inner { width: min(100% - 40px, 1240px); min-height: 86px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand-lockup { display: inline-flex; align-items: center; gap: 12px; color: var(--deep-navy); }
.brand-lockup img { width: 42px; height: 50px; object-fit: contain; }
.brand-lockup span { font-family: Arial, "Helvetica Neue", sans-serif; font-size: clamp(30px, 2.7vw, 36px); font-weight: 800; line-height: 1; letter-spacing: 0; }
.header-actions { display: flex; align-items: center; gap: 22px; }
.global-nav { display: flex; align-items: center; gap: 24px; font-family: Arial, "Helvetica Neue", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.global-nav a { position: relative; padding: 8px 0; color: var(--ink); }
.global-nav a::after { position: absolute; left: 0; bottom: 0; width: 0; height: 1px; content: ""; background: var(--navy); transition: width 0.22s ease; }
.global-nav a:hover::after, .global-nav a:focus-visible::after, .global-nav a.is-active::after { width: 100%; }
.global-nav a.is-active { color: var(--deep-navy); }
.header-contact { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; padding: 9px 16px; color: var(--white); background: var(--navy); border: 1px solid var(--navy); font-family: Arial, "Helvetica Neue", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.header-contact.is-active, .header-contact:hover { color: var(--navy); background: var(--white); }
.section-dark .card-grid { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.16); }
.section-dark .card { background: linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.02)); border-color: rgba(255,255,255,0.16); }
.section-dark .card h3 { color: var(--white); }
.section-dark .card p { color: rgba(255,255,255,0.72); }
.section-dark .card span { color: var(--blue-gray); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); background: var(--white); }
.nav-toggle span { display: block; width: 20px; height: 1px; margin: 6px auto; background: var(--deep-navy); transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.section-label { margin: 0 0 18px; color: var(--navy-2); font-family: Arial, "Helvetica Neue", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; line-height: 1.4; }
h1, h2, h3, p, dd { overflow-wrap: anywhere; }
h1 { margin: 0; color: var(--deep-navy); font-size: clamp(46px, 7vw, 86px); line-height: 1.08; font-weight: 500; letter-spacing: 0; }
h2 { margin: 0; color: var(--deep-navy); font-size: clamp(30px, 4.6vw, 52px); line-height: 1.22; font-weight: 500; }
h3 { margin: 0; font-size: 22px; line-height: 1.45; font-weight: 500; }
p { margin-top: 0; }
.hero { position: relative; min-height: calc(100vh - 86px); display: flex; align-items: center; overflow: hidden; background: linear-gradient(120deg, rgba(255,255,255,1) 0%, rgba(247,248,250,0.95) 54%, rgba(6,26,51,0.13) 100%), radial-gradient(circle at 80% 20%, rgba(11,31,58,0.14), transparent 34%); }
.hero::before, .hero::after, .page-hero::before { position: absolute; content: ""; pointer-events: none; }
.hero::before { width: 56vw; height: 1px; right: -8vw; top: 30%; background: var(--navy); transform: rotate(-22deg); opacity: 0.28; }
.hero::after { width: 44vw; height: 220px; right: -10vw; bottom: 12%; border-top: 1px solid rgba(6,26,51,0.22); border-bottom: 1px solid rgba(6,26,51,0.16); transform: skewX(-18deg); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.75fr); align-items: center; gap: 64px; padding: 92px 0 112px; }
.hero-lead { margin: 32px 0 0; color: var(--navy); font-size: clamp(20px, 3vw, 30px); line-height: 1.5; }
.hero-text { max-width: 620px; margin: 14px 0 0; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 13px 24px; border: 1px solid var(--navy); font-family: Arial, "Helvetica Neue", sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: var(--white); background: var(--navy); }
.button-secondary { color: var(--navy); background: transparent; }
.button-secondary:hover { color: var(--white); background: var(--navy); }
.hero-art { display: flex; justify-content: center; align-items: center; }
.hero-art-frame { position: relative; width: min(100%, 380px); aspect-ratio: 1 / 1.15; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(6,26,51,0.18); background: rgba(255,255,255,0.62); clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%); }
.hero-art-frame img { position: relative; z-index: 2; width: min(38%, 138px); filter: drop-shadow(0 22px 30px rgba(6,26,51,0.18)); }
.line { position: absolute; display: block; height: 1px; background: rgba(6,26,51,0.36); transform: rotate(-22deg); }
.line-a { width: 86%; top: 26%; left: 6%; }
.line-b { width: 68%; top: 50%; right: 4%; }
.line-c { width: 92%; bottom: 22%; left: 0; background: rgba(6,26,51,0.18); }
.page-hero { position: relative; overflow: hidden; padding: 96px 0 78px; background: linear-gradient(120deg, var(--white), var(--soft)); border-bottom: 1px solid var(--line); }
.page-hero::before { width: 44vw; height: 1px; right: -8vw; top: 44%; background: rgba(6,26,51,0.26); transform: rotate(-22deg); }
.page-hero p:not(.section-label) { max-width: 720px; margin: 24px 0 0; color: var(--muted); font-size: 17px; }
.section { padding: 104px 0; }
.section-compact { padding: 76px 0; }
.section-dark { color: var(--white); background: var(--deep-navy); }
.section-dark h2, .section-dark h3, .section-dark .section-label { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.72); }
.section-head { max-width: 780px; margin-bottom: 46px; }
.two-col { display: grid; grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1fr); gap: 70px; align-items: start; }
.lead-copy { color: var(--muted); font-size: 17px; }
.lead-copy p { margin: 0 0 22px; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card { min-height: 230px; padding: 30px; background: var(--white); }
.card span { display: block; margin-bottom: 34px; color: var(--muted); font-family: Arial, "Helvetica Neue", sans-serif; font-size: 12px; letter-spacing: 0.12em; }
.card p { margin: 16px 0 0; color: var(--muted); }
.service-detail-list { display: grid; gap: 28px; }
.service-detail { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 42px; padding: 38px 0; border-top: 1px solid var(--line); }
.service-detail:last-child { border-bottom: 1px solid var(--line); }
.service-detail .num { color: var(--muted); font-family: Arial, "Helvetica Neue", sans-serif; font-size: 12px; letter-spacing: 0.12em; }
.service-detail p { margin: 14px 0 0; color: var(--muted); }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pill-list li { padding: 8px 12px; color: var(--navy); border: 1px solid var(--line); background: var(--soft); font-size: 14px; }
.flow { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.flow li { position: relative; min-height: 145px; padding: 26px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 20px; }
.flow li:not(:last-child)::after { position: absolute; right: -10px; top: 50%; z-index: 2; width: 20px; height: 20px; content: ""; border-top: 1px solid var(--navy); border-right: 1px solid var(--navy); background: var(--white); transform: translateY(-50%) rotate(45deg); }
.flow span { display: block; margin-bottom: 34px; color: var(--muted); font-family: Arial, "Helvetica Neue", sans-serif; font-size: 12px; letter-spacing: 0.12em; }
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.case-card { min-height: 210px; padding: 30px; background: var(--white); }
.case-card p { margin: 16px 0 0; color: var(--muted); }
.profile-panel { padding: 42px; background: var(--soft); border: 1px solid var(--line); }
.profile-name { margin: 0 0 24px; color: var(--navy); font-size: 32px; }
.company-list { margin: 0; border-top: 1px solid var(--line); }
.company-list div { display: grid; grid-template-columns: 190px minmax(0,1fr); gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.company-list dt { color: var(--muted); font-family: Arial, "Helvetica Neue", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.company-list dd { margin: 0; font-size: 17px; }
.contact-panel { background: var(--deep-navy); color: var(--white); }
.contact-panel h2, .contact-panel .section-label { color: var(--white); }
.contact-panel p { color: rgba(255,255,255,0.72); }
.contact-form { display: grid; gap: 18px; }
.contact-form label { display: grid; gap: 8px; color: rgba(255,255,255,0.78); font-size: 14px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 14px 16px; color: var(--white); border: 1px solid rgba(255,255,255,0.24); background: rgba(255,255,255,0.06); border-radius: 0; }
.contact-form textarea { resize: vertical; }
.contact-form .button { width: fit-content; border-color: var(--white); }
.cta-band { padding: 74px 0; color: var(--white); background: var(--navy); }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-band h2 { color: var(--white); font-size: clamp(28px, 4vw, 42px); }
.cta-band p { margin: 14px 0 0; color: rgba(255,255,255,0.74); }
.cta-band .button { border-color: var(--white); color: var(--navy); background: var(--white); }
.site-footer { padding: 34px 0; color: var(--white); background: var(--deep-navy); border-top: 1px solid rgba(255,255,255,0.16); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-inner p, .footer-inner small { margin: 0; color: rgba(255,255,255,0.82); }
.section-observe { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.section-observe.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .section-observe { opacity: 1; transform: none; transition: none; } .button, .global-nav a::after { transition: none; } }
@media (max-width: 1120px) { .header-contact { display: none; } .global-nav { gap: 18px; } .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); } .flow li:nth-child(3)::after { display: none; } }
@media (max-width: 860px) {
  html { scroll-padding-top: 76px; }
  .container { width: min(100% - 30px, var(--container)); }
  .header-inner { min-height: 74px; width: min(100% - 28px, 1240px); }
  .brand-lockup { gap: 9px; }
  .brand-lockup img { width: 34px; height: 40px; }
  .brand-lockup span { font-size: clamp(25px, 7vw, 30px); }
  .nav-toggle { display: inline-block; }
  .global-nav { position: fixed; top: 74px; right: 14px; left: 14px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 14px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(2,17,38,0.16); }
  .global-nav.is-open { display: flex; }
  .global-nav a { padding: 14px 8px; }
  .global-nav a::after { display: none; }
  .hero { min-height: auto; }
  .hero-grid, .two-col { grid-template-columns: 1fr; gap: 42px; }
  .hero-grid { padding: 72px 0 84px; }
  .hero-art { justify-content: flex-start; }
  .hero-art-frame { width: min(84vw, 330px); }
  .section { padding: 82px 0; }
  .page-hero { padding: 74px 0 58px; }
  .service-detail { grid-template-columns: 1fr; gap: 14px; }
  .case-grid { grid-template-columns: 1fr; }
  .cta-band .container { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 620px) {
  h1 { font-size: clamp(42px, 14vw, 62px); }
  h2 { font-size: 32px; }
  .hero-actions, .button, .cta-band .button { width: 100%; }
  .card-grid, .flow { grid-template-columns: 1fr; }
  .flow li:not(:last-child)::after { right: auto; left: 32px; top: auto; bottom: -10px; transform: rotate(135deg); }
  .company-list div { grid-template-columns: 1fr; gap: 8px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}


/* Targeted readability fixes */
.service-detail { grid-template-columns: minmax(300px, 0.45fr) minmax(0, 1fr); }
.service-detail h2,
.case-card h3 {
  word-break: keep-all;
  overflow-wrap: normal;
  line-break: strict;
}
.section-dark .profile-panel {
  color: var(--ink);
  background: var(--white);
}
.section-dark .profile-panel .profile-name {
  color: var(--navy);
}
.section-dark .profile-panel .lead-copy,
.section-dark .profile-panel p {
  color: var(--muted);
}
.case-grid {
  grid-auto-rows: 1fr;
}
.case-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
}
.case-card h3 {
  line-height: 1.45;
}
.case-card p {
  line-height: 1.85;
}
.case-subtitle {
  display: inline-block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}
@media (max-width: 860px) {
  .service-detail { grid-template-columns: 1fr; }
  .service-detail h2 { font-size: clamp(28px, 8vw, 38px); line-height: 1.32; }
  .case-grid { grid-auto-rows: auto; }
  .case-card { min-height: auto; }
}
@media (max-width: 420px) {
  .service-detail h2 { font-size: 27px; }
  .service-detail { padding: 34px 0; }
  .case-card { padding: 26px; }
  .case-card h3 { font-size: 21px; }
}

/* SERVICES: allow natural wrapping and prevent column overlap */
.service-detail {
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
}
.service-detail > div {
  min-width: 0;
}
.service-detail h2 {
  word-break: normal;
  overflow-wrap: anywhere;
  line-break: auto;
}
@media (max-width: 1024px) {
  .service-detail {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
@media (max-width: 420px) {
  .service-detail h2 {
    font-size: 27px;
    line-height: 1.38;
  }
}

/* ABOUT representative profile readability */
.section-dark .profile-panel {
  padding: clamp(32px, 4vw, 48px);
}
.section-dark .profile-panel .profile-name {
  margin-bottom: 30px;
  color: var(--navy);
  font-size: clamp(34px, 4vw, 44px);
  line-height: 1.25;
  letter-spacing: 0;
}
.section-dark .profile-panel .lead-copy {
  max-width: 620px;
  color: var(--ink);
  font-size: 18px;
  line-height: 2;
}
.section-dark .profile-panel .lead-copy p {
  margin-bottom: 22px;
  color: var(--ink);
}
.section-dark .profile-panel .lead-copy p:last-child {
  margin-bottom: 0;
}
@media (max-width: 860px) {
  .section-dark .profile-panel .lead-copy {
    max-width: none;
    font-size: 17px;
    line-height: 1.95;
  }
}
@media (max-width: 420px) {
  .section-dark .profile-panel {
    padding: 28px;
  }
  .section-dark .profile-panel .profile-name {
    font-size: 32px;
  }
}



.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

