/* OPESMA — minimal, responsive, dependency-free site */
:root {
  color-scheme: light;
  --navy: #101d36;
  --navy-dark: #0b162b;
  --navy-muted: #34435d;
  --text: #18263c;
  --muted: #647084;
  --border: #e1e6ec;
  --surface: #edf3f9;
  --surface-about: #dfeaf5;
  --surface-pricing: #ffffff;
  --white: #ffffff;
  --accent: #aac5e5;
  --container: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; color: var(--text); background: var(--white); font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Noto Sans", "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { outline-offset: 4px; }
:focus-visible { outline: 3px solid #527ead; }
[hidden] { display: none !important; }
.container { width: min(calc(100% - 72px), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 16px; padding: 12px 20px; background: #fff; z-index: 100; border: 2px solid var(--navy); }
.skip-link:focus { top: 12px; }
.site-header { position: relative; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--border); }
.header-inner { min-height: 88px; display: flex; align-items: center; gap: 40px; }
.brand { font-size: 30px; font-weight: 790; letter-spacing: -2.3px; line-height: 1; color: var(--navy); white-space: nowrap; }
.brand-dot { color: #91b3d9; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: clamp(14px, 2.25vw, 34px); }
.main-nav a { font-size: 12.5px; color: #4c576a; font-weight: 650; transition: color .18s; white-space: nowrap; }
.main-nav a:hover { color: var(--navy); }
.language-switch { border: 1px solid var(--border); padding: 4px; border-radius: 8px; display: flex; flex: 0 0 auto; gap: 2px; background: #f7f9fb; }
.lang-button { color: #7b8595; border: none; background: transparent; padding: 8px 9px; min-width: 36px; border-radius: 5px; font-size: 11px; font-weight: 750; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.lang-button:hover { color: var(--navy); }
.lang-button.is-active { color: var(--navy); background: #fff; box-shadow: 0 1px 5px rgba(13,32,59,.1); }
.hero { position: relative; overflow: hidden; background: linear-gradient(110deg, #fff 52%, #f4f8fc 100%); }
.hero::before { content: ""; position: absolute; width: 700px; height: 700px; border: 1px solid rgba(152,174,204,.12); border-radius: 50%; top: -410px; right: -350px; pointer-events: none; }
.hero-layout { min-height: 690px; padding-block: 116px 125px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: clamp(34px, 6vw, 92px); }
.hero-copy { position: relative; z-index: 1; }
.eyebrow, .section-kicker { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--navy-muted); font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.eyebrow-mark { width: 8px; height: 8px; border-radius: 2px; background: #8daed4; box-shadow: 0 0 0 5px #ebf0f7; margin-right: 8px; }
.hero h1 { margin: 32px 0 23px; max-width: 730px; color: var(--navy); font-size: clamp(39px, 3.8vw, 53px); line-height: 1.36; font-weight: 785; letter-spacing: -.055em; text-wrap: balance; }
/* Prevent Japanese words such as もっと from splitting inside a phrase. */
.heading-line { display: block; white-space: nowrap; }
html[lang="en"] .hero h1 { font-size: clamp(41px, 4.5vw, 65px); line-height: 1.15; letter-spacing: -.065em; }
.hero-lead { font-size: clamp(17px, 1.5vw, 21px); font-weight: 725; color: #25334b; margin: 0 0 20px; line-height: 1.65; }
.hero-description { color: #586579; font-size: 14.5px; line-height: 1.95; margin: 0 0 4px; max-width: 520px; }
.cta-group { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 35px; }
.button { min-height: 53px; display: inline-flex; justify-content: center; align-items: center; gap: 13px; padding: 13px 18px; border: 1px solid transparent; border-radius: 5px; font-size: 12.5px; line-height: 1.35; font-weight: 770; white-space: nowrap; transition: background .2s, color .2s, border-color .2s, transform .2s; }
a.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.button-primary:hover { background: #263c60; }
.button-outline { color: var(--navy); border-color: #cdd5e0; background: #fff; }
.button-outline:hover { background: #f6f8fb; border-color: var(--navy); }
.button.is-disabled { cursor: not-allowed; user-select: none; opacity: .56; }
.button-icon { width: 21px; height: 21px; flex: 0 0 auto; }

.hero-art { min-width: 0; position: relative; }
.workflow-board { position: relative; width: 100%; min-height: 450px; padding: 26px 29px 25px; color: #fff; background: linear-gradient(138deg, #172a4a 2%, #101e36 73%); box-shadow: 0 34px 76px rgba(17,36,65,.16), 0 7px 16px rgba(12,29,52,.07); border: 1px solid #1b3354; border-radius: 10px; overflow: hidden; }
.workflow-board::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(174,196,222,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(174,196,222,.055) 1px, transparent 1px); background-size: 36px 36px; mask-image: linear-gradient(90deg,transparent 4%,black 100%); pointer-events: none; }
.workflow-board::after { content: ""; width: 250px; height: 250px; position: absolute; top: -148px; right: -95px; background: #456892; filter: blur(85px); opacity: .28; pointer-events: none; }
.board-topline { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 12px; align-items: center; font-size: 9px; font-weight: 700; letter-spacing: .11em; color: #b7c8db; }
.board-halo { position: absolute; right: -92px; top: 75px; width: 320px; height: 320px; pointer-events: none; }
.halo-ring { position: absolute; inset: 0; border: 1px solid rgba(191,212,235,.13); border-radius: 50%; }
.halo-ring-2 { inset: 49px; }
.halo-ring-3 { inset: 100px; background: rgba(176,207,235,.025); }
.workflow-steps { position: relative; z-index: 1; display: grid; gap: 12px; margin-top: 58px; }
.workflow-step { width: 100%; min-height: 76px; padding: 13px 17px 13px 16px; border: 1px solid rgba(193,215,237,.16); border-radius: 5px; background: rgba(32,53,82,.72); display: flex; gap: 12px; align-items: center; backdrop-filter: blur(4px); }
.workflow-step.step-featured { border-color: rgba(177,203,230,.43); background: rgba(56,84,120,.61); }
.step-index { flex: 0 0 40px; font-size: 13px; color: #adbfda; font-weight: 600; font-variant-numeric: tabular-nums; }
.index-line { display: block; margin-top: 8px; width: 22px; height: 1px; background: rgba(184,211,238,.5); }
.step-copy { display: grid; gap: 6px; min-width: 0; text-align: left; }
.step-copy strong { font-size: 13px; font-weight: 730; letter-spacing: .035em; }
.step-copy small { color: #b7c8dd; font-size: 10px; line-height: 1.4; }

.board-footer { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 1; margin-top: 44px; font-size: 10px; font-weight: 760; letter-spacing: .15em; color: #b3c6dd; }
.board-footer-divider { flex: 1; height: 1px; margin-inline: 22px; background: rgba(180,205,232,.34); }
/* Distinct, restrained section tones rather than numbered section headings. */
.section { padding: 115px 0; scroll-margin-top: 100px; }
.section-services { background: var(--surface); border-top: 1px solid #dce6f1; border-bottom: 1px solid #d3dfec; }
.pricing-section { background: var(--surface-pricing); }
.section-kicker { color: #677a91; }

.section-heading h2, .about-section h2, .pricing-section h2 { font-size: clamp(29px, 3.2vw, 43px); line-height: 1.46; letter-spacing: -.045em; color: var(--navy); margin: 24px 0 0; font-weight: 760; }
html[lang="en"] .section h2 { letter-spacing: -.045em; line-height: 1.2; }
.section-heading-split { display: flex; justify-content: space-between; align-items: flex-end; gap: 50px; }
.section-intro { max-width: 380px; font-size: 13.5px; line-height: 1.9; color: var(--muted); margin: 0 0 6px; }
.service-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--border); }
.service-card { min-height: 277px; padding: 25px 24px 27px; background: #fff; border-right: 1px solid var(--border); transition: background .2s; }
.service-card:last-child { border-right: 0; }
.service-card:hover { background: #f9fbfd; }
.card-top { display: flex; justify-content: flex-end; align-items: flex-start; gap: 10px; }

.service-icon { width: 43px; height: 43px; color: #547391; }
.service-card h3 { font-size: 17px; letter-spacing: -.025em; margin: 36px 0 13px; color: var(--navy); line-height: 1.4; }
.service-card p { margin: 0; font-size: 12px; line-height: 1.9; color: #677588; }
.service-disclaimer { font-size: 11px; color: #8390a0; line-height: 1.8; margin: 16px 0 0; }
.about-section { background: var(--surface-about); border-bottom: 1px solid #c9d9ea; }
.about-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: 9%; }
.about-graphic { position: relative; margin-top: 64px; width: min(100%, 355px); height: 160px; }
.about-square { position: absolute; display: block; width: 96px; height: 96px; border: 1px solid #c7d3e1; transform: rotate(45deg); border-radius: 4px; }
.about-square-1 { left: 25px; top: 35px; }
.about-square-2 { left: 85px; top: 35px; border-color: #8faac9; background: rgba(149,177,208,.09); }
.about-square-3 { left: 145px; top: 35px; }
.about-graphic-word { position: absolute; right: 0; bottom: 12px; font-weight: 780; font-size: 20px; letter-spacing: -1.7px; color: #b3c3d5; }
.about-paragraphs { padding-top: 6px; }
.about-paragraphs p { font-size: 14px; line-height: 2.1; margin: 0 0 18px; color: #3e4b5e; }
.about-paragraphs p:last-child { margin-bottom: 0; }
.pricing-section { padding-block: 99px; }
.pricing-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 9%; align-items: end; }
.pricing-details { padding: 0 0 6px 32px; border-left: 1px solid #cbd7e4; }
.pricing-details p { color: #59677a; font-size: 13.5px; line-height: 1.95; margin: 0; }
.contact-section { background: var(--navy-dark); scroll-margin-top: 100px; }
.contact-shell { position: relative; overflow: hidden; background: var(--navy-dark); border-radius: 0; color: #fff; padding: 90px 0 88px; }
.contact-content { position: relative; z-index: 2; }
.section-kicker-inverse { color: #a7bed9; }
.contact-section h2 { margin: 26px 0 17px; font-size: clamp(33px, 3.8vw, 51px); line-height: 1.38; letter-spacing: -.045em; font-weight: 750; color: #fff; }
.contact-description { font-size: 14px; line-height: 1.95; color: #c4d1e0; max-width: 550px; margin: 0; }
.contact-cta { margin-top: 31px; }
.button-light { background: #fff; color: var(--navy); }
.button-light:hover { background: #dfeaf6; }
.button-inverse-outline { border-color: #607188; color: #fff; background: transparent; }
.button-inverse-outline:hover { border-color: #a4bad5; background: rgba(255,255,255,.07); }
.contact-number { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin: 34px 0 0; font-size: 14px; color: #eef4fb; }
.contact-number span { font-size: 9px; letter-spacing: .15em; color: #8faac8; font-weight: 750; }
.contact-number a { border-bottom: 1px solid rgba(255,255,255,.25); padding-bottom: 3px; }
.contact-decoration { position: absolute; width: 540px; height: 540px; right: -70px; top: -40px; opacity: .8; }
.contact-decoration span { position: absolute; width: 480px; height: 480px; border: 1px solid rgba(180,205,232,.16); border-radius: 50%; }
.contact-decoration span:nth-child(2) { width: 340px; height: 340px; top: 70px; left: 70px; }
.contact-decoration span:nth-child(3) { width: 180px; height: 180px; top: 150px; left: 150px; background: rgba(135,172,213,.04); }
.site-footer { padding: 57px 0 49px; background: #eff3f8; border-top: 1px solid #dbe5f0; }
.footer-inner { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.footer-brand .brand { font-size: 25px; }
.footer-brand p { font-size: 9px; color: #96a1b0; letter-spacing: .13em; margin: 13px 0 0; }
.footer-right { text-align: right; }
.footer-right p { margin: 0 0 6px; color: #8b96a5; font-size: 11px; }
.footer-right p:first-child { color: #546478; font-weight: 660; font-size: 12px; margin-bottom: 13px; }
.mobile-break { display: none; }
@media (max-width: 1100px) {
  .container { width: min(calc(100% - 56px), var(--container)); }
  .header-inner { gap: 26px; }
  .main-nav { gap: 15px; }
  .hero-layout { min-height: 600px; gap: 35px; padding-block: 84px; }
  .hero h1 { font-size: clamp(37px, 4.1vw, 52px); }
  .workflow-board { min-height: 435px; padding-inline: 21px; }
  .workflow-step { width: 100%; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card { min-height: 242px; }
  .service-card:nth-child(2) { border-right: none; }
  .service-card:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 140px; }
  .container { width: min(calc(100% - 36px), var(--container)); }
  .header-inner { flex-wrap: wrap; justify-content: space-between; padding-top: 18px; gap: 15px 6px; min-height: 116px; }
  .brand { font-size: 29px; }
  .main-nav { order: 3; width: 100%; margin: 0; gap: 0; justify-content: space-between; border-top: 1px solid #eef1f5; padding: 11px 0 13px; }
  .main-nav a { font-size: 11px; white-space: normal; text-align: center; }
  .lang-button { padding: 7px 8px; }
  .hero { background: linear-gradient(170deg, #ffffff, #f4f8fc); }
  .hero-layout { min-height: auto; grid-template-columns: 1fr; gap: 47px; padding-block: 79px 74px; }
  .hero h1 { font-size: clamp(31px, 7.7vw, 43px); margin-top: 26px; }
  html[lang="en"] .hero h1 { font-size: clamp(38px, 8.1vw, 52px); }
  .hero-art { max-width: 530px; width: 100%; margin-inline: auto; }
  .workflow-board { min-height: 429px; }
  .section { padding-block: 82px; }
  .section-heading-split { display: block; }
  .section-intro { max-width: 540px; margin-top: 18px; }
  .service-grid { margin-top: 33px; }
  .about-layout { grid-template-columns: 1fr; gap: 22px; }
  .about-graphic { display: none; }
  .about-paragraphs { padding-top: 8px; }
  .pricing-layout { grid-template-columns: 1fr; gap: 30px; }
  .pricing-details { margin-top: 0; }
  .contact-shell { padding: 68px 0; }
  .contact-decoration { right: -300px; }
}
@media (max-width: 480px) {
  .header-inner { min-height: 112px; }
  .main-nav a { font-size: 10px; }
  .hero-layout { padding-block: 68px 64px; gap: 42px; }
  .hero h1 { font-size: clamp(28px, 7.7vw, 37px); margin-bottom: 19px; }
  html[lang="en"] .hero h1 { font-size: clamp(37px, 9vw, 47px); }

  .hero-lead { font-size: 17px; }
  .hero-description { font-size: 13px; }
  .cta-group { align-items: stretch; flex-direction: column; gap: 10px; margin-top: 27px; }
  .button { width: 100%; font-size: 12px; min-height: 51px; }

  .workflow-board { padding: 20px 17px; min-height: 400px; }
  .board-topline { font-size: 8px; }
  .workflow-steps { margin-top: 51px; }
  .workflow-step { width: 100%; padding: 12px; min-height: 69px; }
  .board-footer { margin-top: 40px; font-size: 9px; }
  .section-heading h2, .about-section h2, .pricing-section h2 { font-size: clamp(24px, 7vw, 29px); }
  .service-grid { display: block; }
  .service-card { border-right: 0; border-bottom: 1px solid var(--border); min-height: 220px; }
  .service-card:last-child { border-bottom: 0; }
  .service-card h3 { margin-top: 29px; }
  .about-paragraphs p { font-size: 13px; line-height: 2.05; }
  .pricing-details { padding-left: 21px; }
  .contact-shell { width: min(calc(100% - 36px), var(--container)); padding: 68px 0 64px; }
  .mobile-break { display: block; }
  .contact-section h2 { font-size: 36px; }
  html[lang="ja"] .contact-section h2 { font-size: clamp(28px, 8.2vw, 36px); }
  .contact-description { font-size: 13px; }
  .contact-number { font-size: 13px; }
  .site-footer { padding: 42px 0 38px; }
  .footer-inner { align-items: start; flex-direction: column; gap: 28px; }
  .footer-right { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
