:root {
  --navy: #082b5f;
  --navy-2: #0c3e82;
  --blue: #2f7cff;
  --text: #1f344d;
  --muted: #5d6d80;
  --line: #dfe6ee;
  --pale: #f7f9fc;
  --white: #ffffff;
  --content: 1180px;
  --content-narrow: 920px;
  --shadow: 0 18px 44px rgba(15, 48, 88, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { width: 100%; max-width: 100%; overflow-x: clip; }
body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
body.menu-open,
body.modal-open { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
main, section, .site-header, .site-footer { max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 78px;
  padding: 0 clamp(22px, 4vw, 58px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid rgba(223, 230, 238, .85);
  backdrop-filter: blur(8px);
}
.site-logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.site-logo img { width: 188px; display: block; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 32px); font-size: 13px; font-weight: 700; }
.site-nav > a:not(.header-cta) { white-space: nowrap; }
.site-nav > a:not(.header-cta):hover { color: var(--blue); }
.header-cta {
  min-height: 46px;
  padding: 10px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--navy);
  border-radius: 999px;
  white-space: nowrap;
}
.header-cta:hover { background: var(--navy-2); }
.menu-button { display: none; }

.hero {
  padding: clamp(72px, 6vw, 94px) clamp(24px, 4.8vw, 72px) clamp(76px, 6.2vw, 98px);
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  width: min(100%, 1400px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 360px);
  align-items: center;
  gap: clamp(46px, 5vw, 72px);
}
.hero-copy, .hero-actions, .hero-card { min-width: 0; }
.hero-kicker {
  margin: 0 0 20px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .18em;
}
.hero h1 {
  max-width: 900px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(48px, 4.1vw, 64px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.045em;
}
.hero-title-mobile, .about-title-mobile { display: none; }
.hero-title-desktop > span, .hero-title-mobile > span { display: block; }
.hero-title-desktop > span { white-space: nowrap; }
.hero-lead {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--text);
  font-size: clamp(16px, 1.2vw, 18px);
  font-weight: 600;
  line-height: 1.9;
}
.hero-sublead {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.85;
}
.hero-actions {
  width: 360px;
  justify-self: end;
  display: grid;
  gap: 16px;
}
.hero-card {
  position: relative;
  min-height: 158px;
  padding: 25px 28px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: 24px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.hero-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.hero-card small {
  position: absolute;
  top: 22px;
  left: 28px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .22em;
}
.hero-card span {
  position: relative;
  z-index: 1;
  padding-right: 58px;
  font-size: clamp(27px, 2.2vw, 35px);
  font-weight: 800;
  line-height: 1.28;
}
.hero-card em {
  position: absolute;
  right: 22px;
  bottom: 21px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 19px;
  font-style: normal;
}
.hero-card-primary {
  color: #fff;
  background: linear-gradient(135deg, #073477 0%, #0d58c7 60%, #287ce8 100%);
}
.hero-card-primary::after {
  content: "";
  position: absolute;
  top: -52px;
  right: -42px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
}
.hero-card-primary small { color: rgba(255,255,255,.8); }
.hero-card-primary em { background: rgba(255,255,255,.16); }
.hero-card-secondary { color: var(--navy); background: #fff; border: 1px solid var(--line); }
.hero-card-secondary small { color: var(--blue); }
.hero-card-secondary em { color: #fff; background: var(--blue); }

.section { padding: clamp(82px, 8vw, 124px) clamp(24px, 5vw, 72px); }
.section-heading {
  width: min(100%, var(--content-narrow));
  margin: 0 auto clamp(46px, 5vw, 70px);
  text-align: center;
}
.section-en {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .22em;
}
.section-heading h2,
.contact-intro h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -.035em;
}

.about { background: #fff; }
.about .section-heading { width: min(100%, 1050px); }
.about-copy { width: min(100%, 790px); margin: 0 auto; }
.about-copy > p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 2;
}
.about-approach {
  width: min(100%, 980px);
  margin: clamp(62px, 7vw, 92px) auto 0;
  padding: 0 12px;
  text-align: center;
}
.approach-label {
  margin: 0 0 24px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .28em;
}
.approach-main {
  margin: 0 0 20px;
  color: var(--navy);
  font-size: clamp(28px, 3.25vw, 44px);
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: -.035em;
}
.approach-main span { color: var(--blue); }
.approach-note { margin: 0 0 30px; color: var(--muted); font-size: 15px; }
.approach-line { display: block; width: 76px; height: 3px; margin: 0 auto; background: var(--blue); }

.service { background: var(--pale); }
.coming-soon-card {
  width: min(100%, var(--content-narrow));
  margin: 0 auto;
  padding: clamp(46px, 6vw, 74px) clamp(28px, 6vw, 72px);
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 18px 46px rgba(22, 58, 100, .06);
}
.coming-soon-label {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .28em;
}
.coming-soon-card h3 {
  margin: 0 0 20px;
  color: var(--navy);
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.45;
}
.coming-soon-card p:not(.coming-soon-label) { margin: 6px 0; color: var(--muted); font-size: 15px; }

.company { background: #fff; }
.company-table { width: min(100%, var(--content-narrow)); margin: 0 auto; border-top: 1px solid var(--line); }
.company-table div {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.company-table dt { color: var(--navy); font-weight: 700; }
.company-table dd { margin: 0; color: var(--muted); }

.contact { background: var(--pale); }
.contact-intro { width: min(100%, var(--content-narrow)); margin: 0 auto 46px; text-align: center; }
.contact-intro p { margin: 8px 0 0; color: var(--muted); }
.contact-form-card {
  width: min(100%, var(--content-narrow));
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.contact-form-card p { margin: 0 0 22px; }
.contact-form-card label { display: block; margin-bottom: 8px; color: var(--navy); font-size: 14px; font-weight: 700; }
.required { color: #c73e3e; font-size: 12px; font-weight: 700; }
.optional { color: var(--muted); font-size: 12px; font-weight: 600; }
.contact-form-card input[type="text"],
.contact-form-card input[type="email"],
.contact-form-card input[type="tel"],
.contact-form-card textarea {
  width: 100%;
  padding: 14px 15px;
  color: var(--text);
  background: #fff;
  border: 1px solid #cbd6e3;
  border-radius: 8px;
  outline: none;
}
.contact-form-card input:focus,
.contact-form-card textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47, 124, 255, .10); }
.contact-form-card textarea { min-height: 170px; resize: vertical; }
.form-notice {
  margin: 30px 0 22px;
  padding: 20px 22px;
  color: var(--muted);
  background: var(--pale);
  border: 1px solid var(--line);
  font-size: 13px;
}
.form-notice p { margin: 0; }
.form-notice p + p { margin-top: 10px; }
.privacy-consent-block { margin-top: 26px; }
.privacy-review-link { display: inline-block; margin-bottom: 28px; font-weight: 700; }
.privacy-check { display: flex !important; align-items: flex-start; gap: 12px; margin: 0; font-weight: 700 !important; line-height: 1.75; }
.privacy-check input { width: 18px; height: 18px; margin-top: 5px; flex: 0 0 auto; accent-color: var(--navy); }
.text-button { padding: 0; color: var(--blue); background: none; border: 0; text-decoration: underline; }
.submit-button {
  min-width: 250px;
  min-height: 56px;
  margin: 38px auto 0;
  padding: 13px 26px;
  display: block;
  color: #fff;
  background: var(--navy);
  border: 0;
  border-radius: 999px;
  font-weight: 700;
}
.submit-button:disabled { background: #88a0bf; cursor: not-allowed; }
.submit-button:not(:disabled):hover { background: var(--navy-2); }
.preview-note { margin: 12px 0 0 !important; color: var(--muted); font-size: 12px; text-align: center; }

.site-footer { padding: 58px clamp(24px, 5vw, 72px) 28px; color: #fff; background: var(--navy); }
.footer-top {
  width: min(100%, var(--content));
  margin: 0 auto;
  padding-bottom: 32px;
  display: flex;
  justify-content: space-between;
  gap: 44px;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.footer-brand img { width: 190px; display: block; margin-bottom: 16px; }
.footer-message { margin: 0; color: #fff; font-size: 13px; font-weight: 700; }
.footer-nav { max-width: 620px; display: flex; justify-content: flex-end; align-content: flex-start; gap: 16px 26px; flex-wrap: wrap; font-size: 13px; }
.footer-nav a,
.footer-nav button { color: rgba(255,255,255,.82); background: none; border: 0; padding: 0; }
.footer-nav a:hover,
.footer-nav button:hover { color: #fff; }
.footer-bottom { width: min(100%, var(--content)); margin: 0 auto; padding-top: 22px; color: rgba(255,255,255,.56); font-size: 12px; }

.privacy-modal { position: fixed; inset: 0; z-index: 200; display: none; }
.privacy-modal.is-open { display: block; }
.privacy-modal-backdrop { position: absolute; inset: 0; background: rgba(5, 22, 47, .62); }
.privacy-modal-panel {
  position: relative;
  width: min(calc(100% - 32px), 920px);
  max-height: calc(100vh - 48px);
  margin: 24px auto;
  overflow: hidden;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 28px 90px rgba(0,0,0,.24);
}
.privacy-modal-header { padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.privacy-modal-header h2 { margin: 0; color: var(--navy); font-size: 24px; }
.privacy-close { width: 42px; height: 42px; display: grid; place-items: center; color: var(--navy); background: var(--pale); border: 0; border-radius: 50%; font-size: 26px; line-height: 1; }
.privacy-modal-body { max-height: calc(100vh - 142px); padding: 28px 30px 38px; overflow-y: auto; color: var(--muted); font-size: 14px; }
.privacy-modal-body h3 { margin: 28px 0 8px; color: var(--navy); font-size: 17px; }
.privacy-modal-body h4 { margin: 20px 0 8px; color: var(--navy); font-size: 15px; }
.privacy-modal-body p { margin: 0 0 12px; }
.privacy-modal-body ul,
.privacy-modal-body ol { margin: 0 0 16px; padding-left: 1.6em; }
.privacy-modal-body li { margin: 4px 0; }
.privacy-policy-date { margin-top: 30px !important; }

.sp-only { display: none; }

@media (max-width: 1180px) {
  .hero-inner { grid-template-columns: 1fr; gap: 38px; }
  .hero-copy { max-width: 920px; }
  .hero-actions { width: 100%; max-width: 760px; justify-self: start; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-card { min-height: 136px; }
}

@media (max-width: 1040px) {
  body { padding-top: 78px; }
  .site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 300;
    width: 100%;
    backdrop-filter: none;
  }
  .site-logo { position: relative; z-index: 302; }
  .menu-button {
    position: relative;
    z-index: 303;
    width: 44px;
    height: 44px;
    display: grid;
    place-content: center;
    gap: 5px;
    padding: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 50%;
  }
  .menu-button span {
    width: 20px;
    height: 2px;
    background: var(--navy);
    transition: transform .2s ease, opacity .2s ease;
  }
  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav {
    position: fixed;
    top: 78px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 301;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 24px 24px 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    color: var(--navy);
    background: #fff;
    border-top: 1px solid var(--line);
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  }
  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .site-nav > a {
    width: min(100%, 420px);
    min-height: 58px;
    margin: 0 auto;
    padding: 15px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--line);
    text-align: center;
  }
  .site-nav .header-cta {
    width: min(100%, 360px);
    min-width: 0;
    min-height: 52px;
    margin-top: 24px;
    padding: 12px 20px;
    border: 0;
  }
  body.menu-open .site-header { box-shadow: 0 8px 24px rgba(15, 48, 88, .06); }
  .hero-inner { grid-template-columns: 1fr; gap: 38px; }
  .hero-copy { max-width: 900px; }
  .hero-actions { width: 100%; max-width: 820px; justify-self: start; grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero-card { min-height: 138px; }
}

@media (max-width: 720px) {
  body { padding-top: 68px; }
  .site-header { height: 68px; padding-inline: 16px; }
  .site-logo img { width: 170px; max-width: 52vw; }
  .menu-button { width: 42px; height: 42px; flex: 0 0 auto; }
  .site-nav { top: 68px; padding: 18px 18px 28px; }
  .site-nav > a { font-size: 16px; }
  .hero { padding: 42px 16px 54px; }
  .hero-inner { width: 100%; gap: 26px; }
  .hero-title-desktop, .about-title-desktop { display: none; }
  .hero-title-mobile, .about-title-mobile { display: block; }
  .hero-kicker { margin-bottom: 12px; font-size: 10px; line-height: 1.6; letter-spacing: .08em; }
  .hero h1 { max-width: none; font-size: clamp(29px, 8.4vw, 34px); line-height: 1.34; letter-spacing: -.055em; word-break: keep-all; }
  .hero-lead { max-width: none; margin-top: 20px; font-size: 14px; line-height: 1.85; }
  .hero-sublead { max-width: none; margin-top: 8px; font-size: 13px; line-height: 1.75; }
  .hero-actions { width: 100%; max-width: none; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .hero-card { min-width: 0; min-height: 108px; padding: 15px 12px; border-radius: 15px; }
  .hero-card small { top: 13px; left: 12px; font-size: 8px; letter-spacing: .14em; }
  .hero-card span { max-width: calc(100% - 27px); padding-right: 0; font-size: clamp(15px, 4.4vw, 18px); line-height: 1.3; }
  .hero-card em { right: 9px; bottom: 10px; width: 29px; height: 29px; font-size: 14px; }
  .hero-card-primary::after { top: -34px; right: -42px; width: 112px; height: 112px; }
  .section { padding: 62px 18px; }
  .section-heading { margin-bottom: 30px; }
  .section-heading h2, .contact-intro h2 { font-size: clamp(25px, 7.2vw, 30px); line-height: 1.48; letter-spacing: -.04em; word-break: keep-all; }
  .about-copy { width: 100%; }
  .about-copy > p { margin-bottom: 18px; font-size: 14px; line-height: 1.95; }
  .about-approach { margin-top: 50px; padding: 0; }
  .approach-label { margin-bottom: 20px; font-size: 10px; }
  .approach-main { margin-bottom: 18px; font-size: clamp(22px, 6.5vw, 27px); line-height: 1.65; }
  .approach-note { font-size: 13px; }
  .approach-line { width: 58px; }
  .coming-soon-card { padding: 38px 20px; border-radius: 16px; }
  .coming-soon-card h3 { font-size: 24px; }
  .coming-soon-card p:not(.coming-soon-label) { font-size: 14px; line-height: 1.8; }
  .company-table div { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
  .company-table dt { font-size: 13px; }
  .contact-intro { width: 100%; margin-bottom: 34px; text-align: left; }
  .contact-intro p { font-size: 14px; line-height: 1.8; }
  .contact-form-card { width: 100%; padding: 26px 18px; border-radius: 10px; }
  .contact-form-card input[type="text"], .contact-form-card input[type="email"], .contact-form-card input[type="tel"], .contact-form-card textarea { max-width: 100%; font-size: 16px; }
  .submit-button { width: 100%; min-width: 0; }
  .footer-top { flex-direction: column; }
  .footer-brand img { width: 172px; }
  .footer-nav { justify-content: flex-start; }
  .privacy-modal-panel { width: calc(100% - 20px); max-height: calc(100vh - 20px); margin: 10px auto; }
  .privacy-modal-body { max-height: calc(100vh - 104px); padding: 22px 20px 30px; }
  .sp-only { display: inline; }
  .pc-only { display: none; }
}

@media (max-width: 390px) {
  .site-header { padding-inline: 14px; }
  .site-logo img { width: 158px; }
  .hero { padding-inline: 14px; }
  .hero h1 { font-size: clamp(28px, 8.2vw, 31px); }
  .hero-actions { gap: 8px; }
  .hero-card { min-height: 104px; padding: 14px 10px; }
  .hero-card small { left: 10px; }
  .hero-card span { font-size: clamp(14px, 4.2vw, 16px); }
  .hero-card em { right: 8px; bottom: 9px; width: 27px; height: 27px; }
  .section { padding-inline: 16px; }
  .section-heading h2, .contact-intro h2 { font-size: 25px; }
}

/* WordPress integration */
section[id] { scroll-margin-top: 92px; }
body.admin-bar .site-header { top: var(--wp-admin-visible-offset, 32px); }
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.screen-reader-text:focus {
  position: fixed !important;
  z-index: 9999;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 10px 14px;
  clip: auto;
  color: var(--navy);
  background: #fff;
  border: 2px solid var(--blue);
  border-radius: 6px;
}
.honeypot-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.contact-status {
  margin: 0 0 28px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}
.contact-status.is-success {
  color: #185b3a;
  background: #f1faf5;
  border-color: #bfe2cd;
}
.contact-status.is-error {
  color: #8a3030;
  background: #fff5f5;
  border-color: #e8c2c2;
}
.simple-page {
  min-height: 60vh;
  padding: clamp(72px, 8vw, 116px) clamp(24px, 5vw, 72px);
  background: #fff;
}
.simple-page-inner {
  width: min(100%, var(--content-narrow));
  margin: 0 auto;
}
.simple-page h1 {
  margin: 0 0 36px;
  color: var(--navy);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.35;
}
.simple-page h2 { color: var(--navy); }
.simple-page .entry-content,
.simple-page p,
.privacy-page-body { color: var(--muted); }
.simple-page .entry-content a,
.privacy-page-body a { color: var(--blue); text-decoration: underline; }
.privacy-page-body h3 { margin: 34px 0 10px; color: var(--navy); font-size: 20px; }
.privacy-page-body h4 { margin: 22px 0 8px; color: var(--navy); font-size: 16px; }
.privacy-page-body ul,
.privacy-page-body ol { padding-left: 1.6em; }
.archive-list { display: grid; gap: 24px; margin-top: 34px; }
.archive-item { padding: 24px 0; border-top: 1px solid var(--line); }
.archive-item h2 { margin: 0 0 8px; font-size: 24px; }
.archive-item p { margin: 0; }
.simple-button {
  min-height: 48px;
  padding: 11px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  background: var(--navy);
  border-radius: 999px;
  text-decoration: none !important;
  font-weight: 700;
}
@media (max-width: 1040px) {
  body.admin-bar .site-header {
    top: var(--wp-admin-visible-offset, 0px);
  }
  body.admin-bar .site-nav {
    top: calc(var(--wp-admin-visible-offset, 0px) + 78px);
  }
}
@media (max-width: 720px) {
  body.admin-bar .site-nav {
    top: calc(var(--wp-admin-visible-offset, 0px) + 68px);
  }
}
@media (max-width: 720px) {
  section[id] { scroll-margin-top: 80px; }
  .simple-page { padding: 56px 18px; }
  .simple-page h1 { margin-bottom: 28px; font-size: 30px; }
}
